--- libvirt-0.7.0.orig/debian/libvirt-bin.dirs +++ libvirt-0.7.0/debian/libvirt-bin.dirs @@ -0,0 +1,8 @@ +/etc/apparmor.d/abstractions +/etc/apparmor.d/force-complain +/etc/apparmor.d/libvirt +/usr/share/apport/package-hooks +/var/lib/libvirt/images +/var/lib/libvirt/boot +/var/cache/libvirt +/var/log/libvirt/qemu --- libvirt-0.7.0.orig/debian/libvirt-bin.preinst +++ libvirt-0.7.0/debian/libvirt-bin.preinst @@ -0,0 +1,38 @@ +#!/bin/sh +# postinst script for libvirt-bin +# +# see: dh_installdeb(1) + +set -e + +APP_PROFILE="usr.sbin.libvirtd" +APP_CONFFILE="/etc/apparmor.d/$APP_PROFILE" +APP_COMPLAIN="/etc/apparmor.d/force-complain/$APP_PROFILE" +if [ "$1" = "upgrade" ]; then + mkdir -p `dirname $APP_COMPLAIN` 2>/dev/null || true + if dpkg --compare-versions $2 lt "0.1.8-0ubuntu2" ; then + # force-complain for pre-apparmor upgrades + ln -sf $APP_CONFFILE $APP_COMPLAIN + elif dpkg --compare-versions $2 lt "0.6.1-0ubuntu6" ; then + if [ -e "$APP_CONFFILE" ]; then + md5sum="`md5sum \"$APP_CONFFILE\" | sed -e \"s/ .*//\"`" + pkg_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $APP_CONFFILE'{s/.* //;p}}\" /var/lib/dpkg/status`" + if [ "$md5sum" = "$pkg_md5sum" ]; then + # force-complain on upgrade from pre-shipped profile and + # existing profile is same as in conffiles + ln -sf $APP_CONFFILE $APP_COMPLAIN + fi + else + # force-complain on upgrade from pre-shipped profile and + # there is no existing profile + ln -sf $APP_CONFFILE $APP_COMPLAIN + fi + fi +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- libvirt-0.7.0.orig/debian/libvirt-bin.init +++ libvirt-0.7.0/debian/libvirt-bin.init @@ -0,0 +1,170 @@ +#! /bin/sh +# +# Init skript for libvirtd +# +# (c) 2007 Guido Guenther +# based on the skeletons that comes with dh_make +# +### BEGIN INIT INFO +# Provides: libvirtd +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: hal avahi +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: libvirt management daemon +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/libvirtd +NAME=libvirtd +DESC="libvirt management daemon" + +test -x $DAEMON || exit 0 +. /lib/lsb/init-functions + +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + +# Include libvirtd defaults if available +if [ -f /etc/default/libvirt-bin ] ; then + . /etc/default/libvirt-bin +fi + +check_start_libvirtd_option() { + if [ ! "$start_libvirtd" = "yes" ]; then + log_warning_msg "Not starting libvirt management daemon libvirtd, disabled via /etc/default/libvirt-bin" + return 1 + else + return 0 + fi +} + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +mkdir -p /var/run/libvirt +case "$1" in + start) + if check_start_libvirtd_option; then + log_daemon_msg "Starting $DESC" "$NAME" + if running ; then + log_progress_msg "already running" + log_end_msg 0 + exit 0 + fi + rm -f /var/run/libvirtd.pid + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $libvirtd_opts + if running; then + log_end_msg 0 + else + log_end_msg 1 + fi + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if ! running ; then + log_progress_msg "not running" + log_end_msg 0 + exit 0 + fi + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + log_end_msg 0 + ;; + force-stop) + log_daemon_msg "Forcefully stopping $DESC" "$NAME" + force_stop + if ! running; then + log_end_msg 0 + else + log_end_msg 1 + fi + ;; + restart) + if check_start_libvirtd_option; then + log_daemon_msg "Restarting $DESC" "$DAEMON" + start-stop-daemon --oknodo --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $libvirtd_opts + if running; then + log_end_msg 0 + else + log_end_msg 1 + fi + fi + ;; + reload|force-reload) + if running; then + log_daemon_msg "Reloading configuration of $DESC" "$NAME" + start-stop-daemon --stop --signal 1 --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + log_end_msg 0 + else + log_warning_msg "libvirtd not running, doing nothing." + fi + ;; + status) + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "not running" + log_end_msg 1 + fi + ;; + *) + N=/etc/init.d/libvirt-bin + echo "Usage: $N {start|stop|restart|reload|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 --- libvirt-0.7.0.orig/debian/compat +++ libvirt-0.7.0/debian/compat @@ -0,0 +1 @@ +5 --- libvirt-0.7.0.orig/debian/libvirt-bin.examples +++ libvirt-0.7.0/debian/libvirt-bin.examples @@ -0,0 +1,5 @@ +qemud/libvirtd.policy +qemud/libvirtd.sasl +qemud/libvirtd.conf +debian/libvirt-suspendonreboot + --- libvirt-0.7.0.orig/debian/libvirt0.symbols +++ libvirt-0.7.0/debian/libvirt0.symbols @@ -0,0 +1,26 @@ +libvirt.so.0 libvirt0 #MINVER# + *@LIBVIRT_0.0.3 0.0.3 + *@LIBVIRT_0.0.5 0.0.5 + *@LIBVIRT_0.1.0 0.1.0 + *@LIBVIRT_0.1.1 0.1.1 + *@LIBVIRT_0.1.4 0.1.4 + *@LIBVIRT_0.1.5 0.1.5 + *@LIBVIRT_0.1.9 0.1.9 + *@LIBVIRT_0.2.0 0.2.0 + *@LIBVIRT_0.2.1 0.2.1 + *@LIBVIRT_0.2.3 0.2.3 + *@LIBVIRT_0.3.0 0.3.0 + *@LIBVIRT_0.3.2 0.3.2 + *@LIBVIRT_0.3.3 0.3.3 + *@LIBVIRT_0.4.0 0.4.0 + *@LIBVIRT_0.4.1 0.4.1 + *@LIBVIRT_0.4.2 0.4.2 + *@LIBVIRT_0.4.5 0.4.5 + *@LIBVIRT_0.5.0 0.5.0 + *@LIBVIRT_0.6.0 0.6.0 + *@LIBVIRT_0.6.1 0.6.1 + *@LIBVIRT_0.6.3 0.6.3 + *@LIBVIRT_0.6.4 0.6.4 + *@LIBVIRT_0.6.5 0.6.5 + *@LIBVIRT_0.7.0 0.7.0 + *@LIBVIRT_PRIVATE_0.7.0 0.7.0 --- libvirt-0.7.0.orig/debian/libvirt-bin.manpages +++ libvirt-0.7.0/debian/libvirt-bin.manpages @@ -0,0 +1 @@ +virsh.1 --- libvirt-0.7.0.orig/debian/libvirt-doc.doc-base.libvirt-doc +++ libvirt-0.7.0/debian/libvirt-doc.doc-base.libvirt-doc @@ -0,0 +1,8 @@ +Document: libvirt-doc +Title: Libvirt the virtualization API +Abstract: Local copy of the web site of libvirt +Section: System/Administration + +Format: HTML +Index: /usr/share/doc/libvirt-doc/intro.html +Files: /usr/share/doc/libvirt-doc/*.html --- libvirt-0.7.0.orig/debian/libvirt0.install +++ libvirt-0.7.0/debian/libvirt0.install @@ -0,0 +1,2 @@ +usr/lib/libvirt.so.* + --- libvirt-0.7.0.orig/debian/libvirt-bin.libvirtd.logrotate +++ libvirt-0.7.0/debian/libvirt-bin.libvirtd.logrotate @@ -0,0 +1,9 @@ +/var/log/libvirt/qemu/*.log { + daily + missingok + rotate 7 + compress + delaycompress + notifempty + copytruncate +} --- libvirt-0.7.0.orig/debian/control +++ libvirt-0.7.0/debian/control @@ -0,0 +1,95 @@ +Source: libvirt +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Libvirt Maintainers +Uploaders: Guido Günther +Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.38), libxml2-dev, libncurses5-dev, libreadline5-dev, zlib1g-dev, libgnutls-dev, python-dev (>= 2.3.5-11), python-central (>= 0.5.6), quilt, libavahi-client-dev, libsasl2-dev, libxen3-dev [i386 amd64], lvm2, libpolkit-dbus-dev, open-iscsi-utils, libparted1.8-dev, libselinux1-dev, libdevmapper-dev, uuid-dev, libhal-dev, module-init-tools, policykit, dpkg-dev (>> 1.15.3), libapparmor-dev +XS-Python-Version: current +Build-Conflicts: dpkg-dev (= 1.15.3) +Vcs-Git: git://git.debian.org/git/pkg-libvirt/libvirt.git +Vcs-Browser: http://git.debian.org/?p=pkg-libvirt/libvirt.git +Homepage: http://libvirt.org +Standards-Version: 3.8.3 + +Package: libvirt-bin +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libvirt0 (= ${binary:Version}), logrotate, bridge-utils, dnsmasq-base, netcat-openbsd, iptables +Enhances: qemu, kvm, xen +Section: admin +Recommends: kvm +Suggests: policykit, apparmor (>= 2.3+1289-0ubuntu14) +Description: the programs for the libvirt library + Libvirt is a C toolkit to interact with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox. + . + This package contains the supporting binaries to use with libvirt + +Package: libvirt0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: libvirt0-dbg (<< 0.4.2-6ubuntu1) +Replaces: libvirt0-dbg (<< 0.4.2-6ubuntu1) +Recommends: lvm2 +Description: library for interfacing with different virtualization systems + Libvirt is a C toolkit to interact with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU, KVM, and XEN. + +Package: libvirt0-dbg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libvirt0 (= ${binary:Version}) +Priority: extra +Section: debug +Description: library for interfacing with different virtualization systems + Libvirt is a C toolkit to interact with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox. + . + This package contains the debugging symbols. + +Package: libvirt-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Suggests: devhelp +Description: documentation for the libvirt library + Libvirt is a C toolkit to interact with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox. + . + This package contains the documentation. + +Package: libvirt-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen3-dev [i386 amd64] +Recommends: pkg-config +Description: development files for the libvirt library + Libvirt is a C toolkit to interact with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox. + . + This package contains the header files and static libraries which are + needed for developing the applications with libvirt. + +Package: python-libvirt +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libvirt0 (>= ${binary:Version}) +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: libvirt Python bindings + Libvirt is a C toolkit to interact with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox. + . + This package contains Python bindings for the libvirt library + --- libvirt-0.7.0.orig/debian/libvirt-suspendonreboot +++ libvirt-0.7.0/debian/libvirt-suspendonreboot @@ -0,0 +1,48 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: libvirt-suspendonreboot +# Required-Start: libvirtd +# Required-Stop: libvirtd $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: suspend/resmum vms on reboot +### END INIT INFO +# (c) Andi Barth 2008 +# Distributable under the terms of the GNU GPL version 2. +# +# copy to /etc/init.d/libvirt-suspendonreboot and use +# update-rc.d libvirt-suspendonreboot defaults 29 71 +# to enable + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +suspenddir=/var/lib/libvirt/autosuspend + +case "$1" in + start) + for domain in ${suspenddir}/*dump; do + if [ -f $domain ]; then + domain=$(basename $domain .dump) + echo "resuming $domain ..." + virsh restore ${suspenddir}/${domain}.dump && rm ${suspenddir}/${domain}.dump + fi + done + ;; + stop) + for domain in /etc/libvirt/qemu/*xml; do + domain=$(basename $domain .xml) + state=$(virsh domstate $domain) + if [ "$state" = "running" ]; then + echo "suspending $domain ..." + virsh save ${domain} ${suspenddir}/${domain}.dump + fi + done + ;; + reload|force-reload|restart) + # No action, nothing to reload + ;; + *) + echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2 + exit 1 +esac + --- libvirt-0.7.0.orig/debian/libvirt-bin.apport +++ libvirt-0.7.0/debian/libvirt-bin.apport @@ -0,0 +1,59 @@ +'''apport package hook for libvirt-bin + +(c) 2009 Canonical Ltd. +Author: +Jamie Strandboge + +''' + +from apport.hookutils import * +from os import path +import re + +def recent_kernlog(pattern): + '''Extract recent messages from kern.log or message which match a regex. + pattern should be a "re" object. ''' + lines = '' + if os.path.exists('/var/log/kern.log'): + file = '/var/log/kern.log' + elif os.path.exists('/var/log/messages'): + file = '/var/log/messages' + else: + return lines + + for line in open(file): + if pattern.search(line): + lines += line + return lines + +def recent_auditlog(pattern): + '''Extract recent messages from kern.log or message which match a regex. + pattern should be a "re" object. ''' + lines = '' + if os.path.exists('/var/log/audit/audit.log'): + file = '/var/log/audit/audit.log' + else: + return lines + + for line in open(file): + if pattern.search(line): + lines += line + return lines + +def add_info(report): + attach_conffiles(report, 'libvirt-bin') + attach_related_packages(report, ['apparmor', 'libapparmor1', + 'libapparmor-perl', 'apparmor-utils', 'auditd', 'libaudit0']) + + # get apparmor stuff. copied from source_apparmor.py until apport runs + # runs hooks via attach_related_packages + attach_file(report, '/proc/version_signature', 'ProcVersionSignature') + attach_file(report, '/proc/cmdline', 'ProcCmdline') + + sec_re = re.compile('audit\(|apparmor|selinux|security', re.IGNORECASE) + report['KernLog'] = recent_kernlog(sec_re) + + if os.path.exists("/var/log/audit"): + # this needs to be run as root + report['AuditLog'] = recent_auditlog(sec_re) + --- libvirt-0.7.0.orig/debian/libvirt-bin.default +++ libvirt-0.7.0/debian/libvirt-bin.default @@ -0,0 +1,11 @@ +# Defaults for libvirt-bin initscript (/etc/init.d/libvirt-bin) +# This is a POSIX shell fragment + +# Start libvirtd to handle qemu/kvm: +start_libvirtd="yes" + +# options passed to libvirtd, add "-l" to listen on tcp +libvirtd_opts="-d" + +# pass in location of kerberos keytab +#export KRB5_KTNAME=/etc/libvirt/libvirt.keytab --- libvirt-0.7.0.orig/debian/pycompat +++ libvirt-0.7.0/debian/pycompat @@ -0,0 +1 @@ +2 --- libvirt-0.7.0.orig/debian/libvirt-doc.docs +++ libvirt-0.7.0/debian/libvirt-doc.docs @@ -0,0 +1,8 @@ +docs/*.rng +docs/*.png +docs/*.xml +docs/*.html +docs/*.gif +docs/examples/ +docs/html/ +docs/devhelp/ --- libvirt-0.7.0.orig/debian/copyright +++ libvirt-0.7.0/debian/copyright @@ -0,0 +1,44 @@ +libvirt was initially debianized by Andrew Mitchell + +It was downloaded from http://libvirt.org/sources/ + +Upstream Author: + + Daniel Veillard or + +Copyright: + + 2005,2006 Red Hat, Inc + +Licenses: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + src/hash.c: + + Copyright (C) 2000 Bjorn Reese and Daniel Veillard. + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND + CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. + + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- libvirt-0.7.0.orig/debian/libvirt-dev.install +++ libvirt-0.7.0/debian/libvirt-dev.install @@ -0,0 +1,4 @@ +usr/lib/libvirt.so +usr/lib/libvirt.a +usr/include/* +usr/lib/pkgconfig/* --- libvirt-0.7.0.orig/debian/libvirt-bin.install +++ libvirt-0.7.0/debian/libvirt-bin.install @@ -0,0 +1,13 @@ +usr/bin/* +usr/sbin/* +etc/apparmor.d/abstractions/libvirt-qemu +etc/apparmor.d/libvirt/TEMPLATE +etc/apparmor.d/usr.bin.virt-aa-helper +etc/apparmor.d/usr.sbin.libvirtd +etc/libvirt/* +etc/sasl2/* +usr/share/apport/package-hooks/source_libvirt-bin.py +usr/share/PolicyKit/* +usr/lib/libvirt/* +usr/share/augeas/* +usr/share/libvirt/* --- libvirt-0.7.0.orig/debian/libvirt-bin.postrm +++ libvirt-0.7.0/debian/libvirt-bin.postrm @@ -0,0 +1,46 @@ +#!/bin/sh +# postrm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + if getent group libvirtd >/dev/null; then + delgroup libvirtd || true + fi + + rm -f /etc/apparmor.d/force-complain/usr.sbin.libvirtd >/dev/null 2>&1 || true + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- libvirt-0.7.0.orig/debian/libvirt-doc.links +++ libvirt-0.7.0/debian/libvirt-doc.links @@ -0,0 +1 @@ +usr/share/doc/libvirt-doc/devhelp/ /usr/share/gtk-doc/html/libvirt --- libvirt-0.7.0.orig/debian/python-libvirt.install +++ libvirt-0.7.0/debian/python-libvirt.install @@ -0,0 +1,2 @@ +usr/lib/python*/*/*.so +usr/lib/python*/*/*.py --- libvirt-0.7.0.orig/debian/changelog +++ libvirt-0.7.0/debian/changelog @@ -0,0 +1,1221 @@ +libvirt (0.7.0-1ubuntu9+foobar) karmic; urgency=low + + * Pretending to patch libvirt-bin + + -- Leann Ogasawara Tue, 29 Sep 2009 14:29:46 -0400 + +libvirt (0.7.0-1ubuntu8) karmic; urgency=low + + * debian/patches/9091-apparmor.patch: sync with upstream for maintenance, + licensing compliance with upstream and bug fixes: + - handle files with spaces in the name (LP: #432810) + - add serial, console, kernel and initrd support (LP: #432581) + - allow read only access to /boot, /vmlinuz and /initrd.img + - allow access to character devices (eg USB devices) + - have virt-aa-helper accept XML on stdin, which allows for adding + other devices in the future and helps ensure we always have the most + up to date definition + - update profile on attach and detach of devices (LP: #435527) + - add --dryrun option to virt-aa-helper, and greatly improve the + virt-aa-helper-test script + * revert workaround for LP: #431090 now that kernel, initrd, et al is + properly supported + * debian/apparmor/usr.sbin.libvirtd: add various capabilities + recommended by upstream to prevent potential regressions + + -- Jamie Strandboge Tue, 22 Sep 2009 20:04:58 -0500 + +libvirt (0.7.0-1ubuntu7) karmic; urgency=low + + * debian/apparmor/libvirt-qemu: add chown capability (LP: #434417) + + -- Jamie Strandboge Tue, 22 Sep 2009 08:03:21 -0500 + +libvirt (0.7.0-1ubuntu6) karmic; urgency=low + + * debian/apparmor/libvirt-qemu: workaround eucalyptus serial console, + kernel and initrd location. This should be removed after virt-aa-helper is + able to get these from XML. (LP: #431090) + + -- Jamie Strandboge Thu, 17 Sep 2009 11:35:42 -0500 + +libvirt (0.7.0-1ubuntu5) karmic; urgency=low + + * debian/apparmor/usr.sbin.libvirtd: switch to enforcing by default. Please + note that this was only in complain mode temporarily to work around kernel + bugs in the 2.6.31-9 kernel. Confinement of virtual machines (controlled + by /etc/apparmor.d/libvirt/TEMPLATE) was already in enforcing mode. + (LP: #427338) + * debian/README.Debian: update AppArmor section based on the upstream + documentation + + -- Jamie Strandboge Thu, 10 Sep 2009 08:05:45 -0500 + +libvirt (0.7.0-1ubuntu4) karmic; urgency=low + + * debian/libvirt-bin.postinst: add each admin user to libvirtd, + LP: #410226; note that this is only a partial fix, as admin users + added after libvirt's install will need to be individually added + to libvirtd; however, this should fix a huge number of + single-admin-user-in-default-Ubuntu-system annoyances + * debian/control: bump standards version + + -- Dustin Kirkland Tue, 08 Sep 2009 17:56:52 -0500 + +libvirt (0.7.0-1ubuntu3) karmic; urgency=low + + * debian/apparmor/libvirt-qemu: allow access to /dev/kqemu + * debian/apparmor/usr.bin.virt-aa-helper: use @{PROC} instead of /proc + + -- Jamie Strandboge Wed, 26 Aug 2009 12:19:24 -0500 + +libvirt (0.7.0-1ubuntu2) karmic; urgency=low + + * Add AppArmor support (LP: #388422): + - debian/patches/9090-reenable-nonfile-labels.patch: add back in + virDomainObjPtr argument to RestoreSecurityImageLabel since AppArmor + labels are not stored on disk + - debian/patches/9091-apparmor.patch: add AppArmor security driver + - debian/patches/9092-apparmor-autoreconf.patch: after installing libtool + and the build dependencies, run autoreconf to pull in changes to + Makefile.am and configure.in in 9091-apparmor.patch + - debian/rules: use --with-apparmor and copy debian/apparmor/* to + debian/tmp + - debian/control: Build-Depends on libapparmor-dev and Suggests apparmor + >= 2.3+1289-0ubuntu14 + - add profiles and abstractions to debian/apparmor. usr.sbin.libvirtd will + default to complain mode until LP: #401931 is sorted out + - debian/libvirt-bin.dirs: add /etc/apparmor.d/libvirt, + /etc/apparmor.d/abstractions, and /etc/apparmor.d/force-complain + - debian/libvirt-bin.install: install profiles and abstractions + - debian/libvirt-bin.preinst: newly added to force complain on certian + upgrades + - debian/libvirt-bin.postinst: (re)load profile + - debian/libvirt-bin.postrm: remove force-complain profile on purge + * 9006-increase-unix-socket-timeout.patch: + increase timeout waiting for unix socket in src/qemu_driver.c, set to 30 + seconds, which 10x longer than before, and matches the logoutput timeout + adjustment in 9003-increase-logoutput-timeout.patch. This is needed with + the new qemudOpenMonitorUnix() function introduced in 0.7.0. + * add apport hook: + - add debian/libvirt-bin.apport + - debian/libvirt-bin.dirs: add /usr/share/apport/package-hooks + - debian/libvirt-bin.install: add source_libvirt-bin.py + - debian/rules: install libvirt-bin.apport + + -- Jamie Strandboge Tue, 25 Aug 2009 11:51:42 -0500 + +libvirt (0.7.0-1ubuntu1) karmic; urgency=low + + * Merge from debian experimental, remaining changes: + - debian/control: + + Don't build-depend on QEmu. + + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables + to Depends of libvirt-bin. + + Add versioned Conflicts/Replaces to libvirt0 for libvirt0-dbg, + since we used to ship them as such. + + We call libxen-dev libxen3-dev, so change all references. + + Build-Depends on open-iscsi-utils instead of open-iscsi due to + LP: #414986 + - 9000-delayed_iff_up_bridge.patch: + Don't try to bring up the bridge before at least one interface has been + added to it. + - 9001-dont_clobber_existing_bridges.patch: + Assign the name of the virtual bridge dynamically to avoid interfering + with existing bridges. + - 9002-better_default_uri_virsh.patch: + Default to qemu:///system if the user has write access to the libvirt + socket, otherwise qemu:///session. + - 9003-increase-logoutput-timeout.patch: + increase timeout waiting for log output in src/qemu_driver.c, set to 30 + seconds, which 10x longer than before, and matches the disk-wait in + mdadm. (LP #344400) + - 9004-better-default-arch.patch: + If a domain does not specify its architecture, attempt to match the host. + (LP #344913) + - 9005-libvirtd-group-name.patch: + Rename libvirt group to libvirtd. + - rename the libvirt group to libvirtd in postinst/postrm + * Dropped the following patches from debian/patches (they don't apply any + more were not applied in 0.6.4-1ubuntu2): + - dynamic_bridge_names.patch + - event-loop-hang.diff + - more-flexible-emulator-on-x86.patch + - xen-events-handling-fix.diff + + -- Jamie Strandboge Thu, 13 Aug 2009 20:24:24 -0500 + +libvirt (0.7.0-1) experimental; urgency=low + + [ Laurent Léonard ] + * [4fb1a38] Imported Upstream version 0.7.0 + * [5578fd3] Drop 0005-Fix-PCI-device-hotplug-unplug-with-newer- + QEMU.patch. Fixed upstream. + * [9a8afd0] Redo patches. + * [937ab63] Update symbols. + * [b4bd1ea] Update section in doc-base control file. + + -- Guido Günther Sun, 09 Aug 2009 13:35:42 +0200 + +libvirt (0.6.5-3) unstable; urgency=low + + * [72a8eb6] Add a versioned dependency on dpkg-dev (Closes: #537316) + * [ae20998] fix Debian Xen path patch to also cover the testsuite + * [b2a1c47] New patch 0001-Fix-PCI-device-hotplug-unplug-with-newer- + QEMU.patch pulled from upstream 326ecb7. Fixes PCI hotplug with + newer kvm. + + -- Guido Günther Wed, 29 Jul 2009 12:17:52 +0200 + +libvirt (0.6.5-2) unstable; urgency=low + + * [45b9fdf] build-conflict on dpkg-dev (= 1.15.3) (Closes: #536673) + + -- Guido Günther Sun, 12 Jul 2009 15:03:08 +0200 + +libvirt (0.6.5-1) unstable; urgency=low + + [ Guido Günther ] + * [05e9a39] build-depend on policykit so polkit auth works with virsh + as well + + [ C.J. Adams-Collier ] + * [a161c5f] allow to qemu to emulate arm + + [ Guido Günther ] + * [b1e4c4b] Imported Upstream version 0.6.5 + * [e764583] change private symbols to 0.6.5 + * [f94fb48] drop 0005-allow-to-qemu-to-emulate-arm.patch fixed upstream. + * [7ad7896] bump standards version + * [e2c5867] tighten libvirt-bin's dependency on libvirt0 since libvirtd uses + private symbols + + -- Guido Günther Sun, 05 Jul 2009 13:07:53 +0200 + +libvirt (0.6.4-1ubuntu2) karmic; urgency=low + + * Also rename the libvirt group to libvirtd in postinst/postrm. + (LP: #392696) + + -- Soren Hansen Fri, 26 Jun 2009 22:49:45 +0200 + +libvirt (0.6.4-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/control: + + Don't build-depend on QEmu. + + Add "XS-Debian-" prefix to Debian's Vcs headers. + + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables + to Depends of libvirt-bin. + + s/interract/interact/g + + Add versioned Conflicts/Replaces to libvirt0 for libvirt0-dbg, + since we used to ship them as such. + - 9000-delayed_iff_up_bridge.patch: + Don't try to bring up the bridge before at least one interface has been + added to it. + - 9001-dont_clobber_existing_bridges.patch + Assign the name of the virtual bridge dynamically to avoid interfering + with existing bridges. + - 9002-better_default_uri_virsh.patch: + Default to qemu:///system if the user has write access to the libvirt + socket, otherwise qemu:///session. + - 9003-increase-logoutput-timeout.patch: + increase timeout waiting for log output in src/qemu_driver.c, set to 30 + seconds, which 10x longer than before, and matches the disk-wait in + mdadm. (LP #344400) + - 9004-better-default-arch.patch: + If a domain does not specify its architecture, attempt to match the host. + (LP #344913) + - 9005-libvirtd-group-name.patch: + Rename libvirt group to libvirtd. + - We call libxen-dev libxen3-dev, so change all references. + + -- Soren Hansen Mon, 22 Jun 2009 11:14:57 +0200 + +libvirt (0.6.4-1) unstable; urgency=low + + * [dd3adb2] Imported Upstream version 0.6.4 + * [2320162] update symbols file + * [89c9720] remove bashism (Closes: #530122) + * [30d86c1] drop patches fixed upstream: + 0005-don-t-crash-with-def-NULL.patch + 0006-Fix-QEMU-ARGV-detection-with-kvm-85.patch + 0007-Declare-support-for-QEMU-migration-in-capabilities.patch + + -- Guido Günther Thu, 04 Jun 2009 12:50:01 +0200 + +libvirt (0.6.3-4) unstable; urgency=low + + * [3607f2f] Install libvirt_lxc that got list somewhere between our + testbuilds. (Closes: #529578) + * [070ddd5] install augeas lense + * [c9b034d] install schema files + + -- Guido Günther Wed, 20 May 2009 14:33:18 +0200 + +libvirt (0.6.3-3) unstable; urgency=low + + * [4087b7d] disable lxc on ia64 to work around FTBFS until we have + access to a test machine + * [df5f5a0] pull some kvm/qemu related patches from upstream + (Closes: #529324) + + -- Guido Günther Tue, 19 May 2009 19:14:57 +0200 + +libvirt (0.6.3-2) unstable; urgency=low + + * [35898d3] fix crash when libvirt_lxc is called without arguments + * [449ca60] enable lxc support (Closes: #526718) - thanks to Daniel + Pittman for testing this + * [335a4e6] update description with supported virtualization solutions + * [92eba47] delay libvirt-bin start until after avahi + * [8ebd17d] update startup priorities due to changed libvirt-bin + startup priority. Also add an LSB header. (Closes: #526944) + + -- Guido Günther Thu, 07 May 2009 13:28:40 +0200 + +libvirt (0.6.3-1) unstable; urgency=low + + * [0cb2f83] Imported Upstream version 0.6.3 + * virtual box support + * [06fe518] 0001-remove-RHism.diff.patch: use invoke-rc.d + * [ec2fd52] drop patches merged upstream: + * 0003-allow-libvirt-group-to-access-the-socket.patch series + * 0004-fix-Debian-specific-path-to-hvm-loader.patch + * [6977bde] enable vbox support + * [93c4423] add symbols file + + -- Guido Günther Sun, 03 May 2009 23:33:28 +0200 + +libvirt (0.6.2-2) unstable; urgency=low + + * [031b9c1] Don't hardcode buffer size for getgrnam_r. Works around + #520744 and fixes possible problems with implementations having + _SC_GETGR_R_SIZE_MAX != 1024. + * [bbe7743] respect log priority for qemu domain logs (Closes: #524145) + * [a2e4cb0] don't rely on log_end_msg returning 0 this isn't the case + with splashy. (Closes: #523712) + * [ddfafda] move debug package into section debug + + -- Guido Günther Thu, 16 Apr 2009 15:28:31 +0200 + +libvirt (0.6.2-1) unstable; urgency=low + + * [99fd06c] Imported Upstream version 0.6.2 (Closes: #521785) + * [78cd5c8] drop /var/run/libvirt created by init script + * [2a7cb3b] move startup of libvirtd after hal (Closes: #522310) + * [b8707ed] bump standards version 0.8.1 (no changes necessary) + + -- Guido Günther Thu, 09 Apr 2009 22:48:57 +0200 + +libvirt (0.6.1-1) unstable; urgency=low + + * [3be7341] Imported Upstream version 0.6.1 + * [38fde15] rediff Debian specific patches + * [9b59a19] drop patches applied upstream: + * 0004-Don-t-hardcode-ssh-port.patch + * 0005-minimal-workaround-for-qemu-startup-race.patch + * [95d4b7f] drop patches backported from upstream + * 0009-libvirt_proxy-Fix-use-of-uninitalized-memory.patch + * [8171d83] build-dep on module-init-tools so configure can figure out + the path to modprobe + + -- Guido Günther Thu, 05 Mar 2009 13:58:41 +0100 + +libvirt (0.6.1-0ubuntu5) jaunty; urgency=low + + * Fix logic error when applying %d bridge name rewriting. (LP: #350780) + + -- Soren Hansen Thu, 16 Apr 2009 20:48:49 +0200 + +libvirt (0.6.1-0ubuntu4) jaunty; urgency=low + + [ Marc Deslauriers ] + * 0008-increase-logoutput-timeout.patch: increase timeout waiting + for log output in src/qemu_driver.c, set to 30 seconds, which 10x + longer than before, and matches the disk-wait in mdadm, LP: #344400 + + -- Dustin Kirkland Fri, 27 Mar 2009 10:57:53 -0500 + +libvirt (0.6.1-0ubuntu3) jaunty; urgency=low + + * Fix "libvirt's defaults are slightly less than sane" (LP: #344913) + - more-flexible-emulator-on-x86.patch (from upstream) + - default-arch.patch + + -- Soren Hansen Thu, 19 Mar 2009 00:23:14 +0100 + +libvirt (0.6.1-0ubuntu2) jaunty; urgency=low + + * Add fix for event loop hang (LP: #344195) + http://article.gmane.org/gmane.comp.emulators.libvirt/12437 + * Add fix for Xen events handling. + http://git.et.redhat.com/?p=libvirt.git;a=commit;h=124cfcbc2bcd1b71b51e720b9bfc7d8e69e8af89 + + -- Soren Hansen Fri, 13 Mar 2009 16:51:33 +0100 + +libvirt (0.6.1-0ubuntu1) jaunty; urgency=low + + * New upstream release. (FFe: LP: #339868) + * Dropped 0004-Don-t-hardcode-ssh-port.patch: Included upstream. + * Rewrote dynamic_bridge_names.patch to work with refactored upstream + bridging code. + + -- Soren Hansen Mon, 09 Mar 2009 11:18:01 +0100 + +libvirt (0.6.0-1ubuntu3) jaunty; urgency=low + + * No change rebuild for python2.6. + + -- Matthias Klose Wed, 25 Feb 2009 12:17:13 +0000 + +libvirt (0.6.0-1ubuntu2) jaunty; urgency=low + + * Accidentally dropped our changes to + 0003-allow-libvirt-group-to-access-the-socket.patch, causing the + group as which libvirtd expected to run to be wrong. Change it back + to "libvirtd" rather than "libvirt". (LP: #328093) + + -- Soren Hansen Wed, 11 Feb 2009 16:10:28 +0100 + +libvirt (0.6.0-1ubuntu1) jaunty; urgency=low + + * Merge with Debian experimental. Remaining changes: + - debian/control: + + Don't build-depend on QEmu. + + Add "XS-Debian-" prefix to Debian's Vcs headers. + + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables + to Depends of libvirt-bin. + + s/interract/interact/g + + Add versioned Conflicts/Replaces to libvirt0 for libvirt0-dbg, + since we used to ship them as such. + - Rename libvirt group to libvirtd. + - 0005-delayed_iff_up_bridge.patch: Don't try to bring up the bridge + before at least one interface has been added to it. + - dont_clobber_existing_bridges.patch: Assign the name of the virtual + bridge dynamically to avoid interfering with existing bridges. + - better_default_uri_virsh.patch: Default to qemu:///system if the + user has write access to the libvirt socket, otherwise + qemu:///session. + - We call libxen-dev libxen3-dev, so change all references. + - Included (but did not enable) opennebula patch (since it's not in + main yet). + + -- Soren Hansen Wed, 11 Feb 2009 01:01:42 +0100 + +libvirt (0.6.0-1) experimental; urgency=low + + * [30be86d] Imported Upstream version 0.6.0 + * [179781c] drop patches + * fixed upstream: + 0006-Fix-missing-read-only-access-checks-CVE-2008-5086.patch + * applied upstream: + 0004-Open-qemu-monitor-log-O_APPEND-instead-of-O_TRUNC.patch + 0005-qemu-fix-parallel-serial-mode-tcp-and-unix.patch + 0007-don-t-fail-on-missing-locales.patch + * [d80a176] adjust remaining patches to new upstream version + * [208c924] add minimal workaround for qemu startup race + * [6e8caa0] restart libvirt daemon on upgrades if possible + (Closes: #492694, #499008) + + -- Guido Günther Thu, 05 Feb 2009 18:40:10 +0100 + +libvirt (0.5.1-7) unstable; urgency=low + + * [1238706] Recommend dnsmasq-base instead of dnsmasq this keeps us + out of all the dnsmasq already running troubles. (Closes: #516443) - + thanks to Bin Zhang for the suggestion and the doc update + * [5c9dfd7] don't rotate empty logfiles (Closes: #517040) + * [1c9a023] libvirt_proxy: Fix use of uninitalized memory We currently + don't build this code (CVE-2009-0036). + * [4ea1ea9] fix path to hvmloader (Closes: #517059) + * [879b632] suggest devhelp + * [f22f1ef] add ${misc:Depends} + * [c6f579e] README.Debian: fix typo + + -- Guido Günther Thu, 26 Feb 2009 14:45:32 +0100 + +libvirt (0.5.1-6) unstable; urgency=low + + * upload to unstable + + -- Guido Günther Mon, 16 Feb 2009 21:27:21 +0100 + +libvirt (0.5.1-5) experimental; urgency=low + + * [d4a69d1] don't fail on missing locales (Closes: #512721) + * [cecac4c] don't hardcode ssh port - based on a patch by Adrian + Bridgett. (Closes: #513605) + * [4565a65] drop superflous headers and footers from remaining patches + + -- Guido Günther Fri, 30 Jan 2009 23:06:29 +0100 + +libvirt (0.5.1-4ubuntu1) jaunty; urgency=low + + * Merge with Debian experimental. + - debian/control: + + Don't build-depend on QEmu. + + Add "XS-Debian-" prefix to Debian's Vcs headers. + + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables + to Depends of libvirt-bin. + + s/interract/interact/g + + Add versioned Conflicts/Replaces to libvirt0 for libvirt0-dbg, + since we used to ship them as such. + - Rename libvirt group to libvirtd. + - 0005-delayed_iff_up_bridge.patch: Don't try to bring up the bridge + before at least one interface has been added to it. + - dont_clobber_existing_bridges.patch: Assign the name of the virtual + bridge dynamically to avoid interfering with existing bridges. + - better_default_uri_virsh.patch: Default to qemu:///system if the + user has write access to the libvirt socket, otherwise + qemu:///session. + - We call libxen-dev libxen3-dev, so change all references. + * Included (but did not enable) opennebula patch (since it's not in + the archive yet). + + -- Soren Hansen Thu, 08 Jan 2009 23:01:16 +0100 + +libvirt (0.5.1-4) experimental; urgency=low + + * [2fd5224] apply upstream patch for CVE-2008-5086 (Closes: #509106) + + -- Guido Günther Thu, 18 Dec 2008 16:12:00 +0100 + +libvirt (0.5.1-3) experimental; urgency=low + + * [d30438c] create libvirt log directory (Closes: #508129) + * [417a23c] qemu: fix parallel/serial mode "tcp" and "unix" + (Closes: #507608) + + -- Guido Günther Thu, 11 Dec 2008 12:38:01 +0100 + +libvirt (0.5.1-2) experimental; urgency=low + + * [4cd547b] create /var/run/libvirt (Closes: #507578) + * [fe96870] merge back master + * [d46313f] drop patches for issues fixed upstream + - 0007-also-look-for-usr-bin-kvm.patch + - 0008-Increase-initial-qemu-monitor-read-timeout.patch + - 0009-Open-qemu-monitor-log-O_APPEND-instead-of-O_TRUNC.patch + - 0010-raise-error-on-invalid-volume-format.patch + + -- Guido Günther Sat, 06 Dec 2008 10:37:12 +0100 + +libvirt (0.5.1-1) experimental; urgency=low + + * [d76b3a1] Imported Upstream version 0.5.1 (Closes: #507677, #507547) + * [2e550ae] enable hal for device enumeration + * [0d9116a] rotate qemu monitor logs (Closes: #507553) - thanks to + Harald Staub + * [5f85e66] depend on logrotate + * [6e955a3] open qemu monitor O_APPEND instead of O_TRUNC for logrotate + * [7dbea84] drop 0004-xen-prefer-xenstoraged-driver-for- + listDomains.patch - applied upstream + + -- Guido Günther Fri, 05 Dec 2008 09:36:54 +0100 + +libvirt (0.5.0-1) experimental; urgency=low + + * [717ef21] Imported Upstream version 0.5.0 + * [b7a1fbd] enable OpenVZ support (Closes: #504597) - thanks to Pierre + Chifflier for the patch + * [ee3590a] drop patches, fixed upstream: + * 0004-support-virtio-and-scsi-disks-in-qemudDomainBlockSta.patch + * 0005-fix-define-vs.-defined-typos.patch + * [f4f601f] bump shlibs to 0.5.0 + + -- Guido Günther Fri, 28 Nov 2008 16:40:38 +0100 + +libvirt (0.4.6-10) unstable; urgency=low + + * [5878698] cherry-pick patch for CVE-2008-5086 from experimental + + -- Guido Günther Thu, 18 Dec 2008 16:59:45 +0100 + +libvirt (0.4.6-9) unstable; urgency=low + + * [d30438c] create libvirt log directory (Closes: #508129) + + -- Guido Günther Mon, 08 Dec 2008 10:12:28 +0100 + +libvirt (0.4.6-8) unstable; urgency=low + + * [e771da9] drop superflous 0011-Fix-segfault-on-missing-volume- + format.patch - not needed. + + -- Guido Günther Fri, 05 Dec 2008 10:17:01 +0100 + +libvirt (0.4.6-7) unstable; urgency=low + + * [ea12bd9] create /var/run/libvirt fixes /var/run on tmpfs + (Closes: #507578) + * [97e5706] also look for /usr/bin/kvm (Closes: #507547) + * [311b4c1] increase initial qemu monitor read timeout + (Closes: #499720) + * [fbe4e00] open qemu monitor log O_APPEND instead of O_TRUNC + * [f8ce017] raise error on invalid volume format + * [40edcf8] rotate qemu monitor logs (Closes: #507553) - thanks to + Harald Staub + * [46ea43a] fix segfault on missing volume format (Closes: #507677) - + thanks to Daniel Veillard + * [ee377f3] bump shlibs version to 0.4.6 + * [504d55d] depend on logrotate + + -- Guido Günther Thu, 04 Dec 2008 17:50:45 +0100 + +libvirt (0.4.6-6) unstable; urgency=low + + * [ff8e9ae] README.Debian: clarify xen configuration + * [c07c68f] prefer xenstoraged driver for listDomains - avoids seeing "ghost + domains" due to bugs in several versions of the xen HV + + -- Guido Günther Thu, 27 Nov 2008 18:06:48 +0100 + +libvirt (0.4.6-5ubuntu2) jaunty; urgency=low + + * SECURITY UPDATE: fix privilege escalation due to missing read only + connection checks + - debian/patches/0009-CVE-2008-5086.patch: update functions in + src/libvirt.c to check against VIR_CONNECT_RO and return with operation + denied error + - CVE-2008-5086 + + -- Jamie Strandboge Tue, 16 Dec 2008 10:47:09 -0600 + +libvirt (0.4.6-5ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/control: + + Don't build-depend on QEmu. + + Add "XS-Debian-" prefix to Debian's Vcs headers. + + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables to Depends + of libvirt-bin. + + s/interract/interact/g + + Add versioned Conflicts/Replaces to libvirt0 for libvirt0-dbg, since + we used to ship them as such. + - Create /var/run/libvirt in libvirt-bin's init script. + - Rename libvirt group to libvirtd. + - 0005-delayed_iff_up_bridge.patch: Don't try to bring up the bridge before at + least one interface has been added to it. + - dont_clobber_existing_bridges.patch: Assign the name of the virtual + bridge dynamically to avoid interfering with existing bridges. + - better_default_uri_virsh.patch: Default to qemu:///system if the user + has write access to the libvirt socket, otherwise qemu:///session. + - We call libxen-dev libxen3-dev, so change all references. + * Add qemu migration patch (from upstream git (adjusted for 0.4.6)). + * Add dynamic_bridge_names.patch to again support dynamic bridge names. + + -- Soren Hansen Tue, 18 Nov 2008 18:04:40 +0100 + +libvirt (0.4.6-5) unstable; urgency=low + + * [411ada3] add more details about dnsmasq vs. libvirtd (Closes: #504605) + * [2f8f07d] add default image dir virt-manager assumes they exist and + they're used in the SELinux policies too. (Closes: #505577) + * [9eb3a83] fix #define vs. #defined typos - affects non Linux architectures + and fixes the build with gcc 4.4 (Closes: #505607) - thanks to Martin + Michlmayr + * [0e21634] fix uploader + + -- Guido Günther Fri, 14 Nov 2008 14:54:48 +0100 + +libvirt (0.4.6-4) unstable; urgency=low + + * upload to unstable + * [50b27f5] add libvirt-suspendonreboot script (Closes: #501155) - + thanks to Andreas Barth + + -- Guido Günther Sat, 01 Nov 2008 19:33:36 +0100 + +libvirt (0.4.6-3) experimental; urgency=low + + * [8fa5a3c] add a versioned recommends on qemu (Closes: #501692) + * [d1539bc] recommend pkg-config + * [f08bb18] explain libvirt group (Closes: #501824) + + -- Guido Günther Sun, 12 Oct 2008 20:27:25 +0200 + +libvirt (0.4.6-2) experimental; urgency=low + + * [2039095] tighten libvirt dependency + * [06dbe8a] qemu/kvm: fix domain block stats for virtio and scsi devices + + -- Guido Günther Thu, 02 Oct 2008 22:03:05 +0200 + +libvirt (0.4.6-1) experimental; urgency=low + + * [e20d3d4] Imported Upstream version 0.4.6 + * [0c840ab] disable numactl + * [ca2c5cb] cleanup doc installation (Closes: #492075) + * [714ab94] drop 0004-for-kvm-determine-maxVCPUs-at-runtime.patch - applied + upstream + * [e7563a8] drop 0005-fix-crash-when-no-emulator-is-defined-for-kvm- + qemu.patch - fixed upstream + + -- Guido Guenther Thu, 25 Sep 2008 12:31:45 +0200 + +libvirt (0.4.5-2) experimental; urgency=low + + * [17647cd] libvirt-bin.default: add keytab default + * [0ef01e7] fix runtime vcpu detection (0004-for-kvm-determine- + maxVCPUs-at-runtime.patch) (Closes: #495950) + * [b91e1eb] don't crash when no emulator is defined (0005-fix-crash- + when-no-emulator-is-defined-for-kvm-qemu.patch) + + -- Guido Guenther Mon, 22 Sep 2008 20:11:04 +0200 + +libvirt (0.4.5-1) experimental; urgency=low + + * [ab8b4e6] Imported Upstream version 0.4.5 + * [4aaef27] tighten dependency on libvirt + * [fa253be] drop 0002-qemu-path.diff.patch - fixed upstream + * [87fc2db] drop 0005-check-for-the-existence-of-the-migrate- + command.patch applied upstream + * [bc311aa] drop 0006-wrong-open-failure-detection.patch applied + upstream + * [38e615d] rebase the remaining patches + * [9a04bb7] bump shlibs version to 0.4.5 + * [9fadd6f] disable LXC + * [179c869] build-dep on libselinux1-dev for selinux support + + -- Guido Guenther Thu, 18 Sep 2008 19:02:55 +0200 + +libvirt (0.4.4-3ubuntu3) intrepid; urgency=low + + * debian/patches/0008-lp287533.patch: allow 16 VCPUs when using kvm + (LP: #287533) + + -- Jamie Strandboge Wed, 22 Oct 2008 10:13:12 -0500 + +libvirt (0.4.4-3ubuntu2) intrepid; urgency=low + + * Make QEmu a suggested package of libvirt0 rather than a recommended one. + * Make kvm a recommended package of libvirt0. + + -- Soren Hansen Mon, 11 Aug 2008 16:18:03 +0200 + +libvirt (0.4.4-3ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/control: + + DebianMaintainerField + + Don't build-depend on QEmu. + + Add "XS-Original-" prefix to Debian's Vcs headers. + + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables to Depends + of libvirt-bin. + + s/interract/interact/g + + Add versioned Conflicts/Replaces to libvirt0 for libvirt0-dbg, since + we used to ship them as such. + - Create /var/run/libvirt in libvirt-bin's init script. + - Rename libvirt group to libvirtd. + - 0005-delayed_iff_up_bridge.patch: Don't try to bring up the bridge before at + least one interface has been added to it. + - dont_clobber_existing_bridges.patch: Assign the name of the virtual + bridge dynamically to avoid interfering with existing bridges. + - better_default_uri_virsh.patch: Default to qemu:///system if the user + has write access to the libvirt socket, otherwise qemu:///session. + - We call libxen-dev libxen3-dev, so change all references. + + -- Soren Hansen Mon, 11 Aug 2008 15:36:54 +0200 + +libvirt (0.4.4-3) unstable; urgency=low + + * upload to unstable + * [96c6727] add /var/cache/libvirt needed by qemuDriver for temporary + storage + * [794f95c] bump standards version to 3.8.0 + * [05184af] add README.source + + -- Guido Guenther Wed, 23 Jul 2008 11:30:31 -0400 + +libvirt (0.4.4-2) experimental; urgency=low + + * [facb983] README.Debian explain "default" network startup + * [395a510] add /var/lib/libvirt needed for the dnsmasq lease file + * [9c588ac] promote bridge-utils & dnsmasq to Recommends: since + they're needed for the default NAT network + * [9ed2cd4] recommend iptables - needed for the default NAT network + + -- Guido Guenther Wed, 23 Jul 2008 00:23:58 -0400 + +libvirt (0.4.4-1) experimental; urgency=low + + * [0ff1e68] new upstream version + * [2098f96] rebase patches for 0.4.4 + * [abbd15e] enable with-storage-disk now that we have parted1.8 + * [3942b25] start libvirtd by default + + -- Guido Guenther Fri, 27 Jun 2008 10:06:00 +0200 + +libvirt (0.4.4-0ubuntu1) intrepid; urgency=low + + * New upstream release + - Drop nic-model, disk-bus, and ancient_parted.patch. They're all + upstream now (in some form). + - Add new libdevmapper-dev build-dependency. + + -- Soren Hansen Wed, 25 Jun 2008 18:51:21 +0200 + +libvirt (0.4.2-6ubuntu1) UNRELEASED; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/control: + + DebianMaintainerField + + Don't build-depend on QEmu. + + Add "XS-Original-" prefix to Debian's Vcs headers. + + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables to Depends + of libvirt-bin. + + s/interract/interact/g + - debian/libvirt-bin.default + + Make libvirtd start by default + - Add /var/lib/libvirt to libvirt-bin package. (dnsmasq needs it to store + its state info. + - Create /var/run/libvirt in libvirt-bin's init script. + - Rename libvirt group to libvirtd. + - Build iscsi and disk storage support. + - delayed_iff_up_bridge.patch: Don't try to bring up the bridge before at + least one interface has been added to it. + - dont_clobber_existing_bridges.patch: Assign the name of the virtual + bridge dynamically to avoid interfering with existing bridges. + - nic-model.patch: Add support for NIC configuration. + - disk-bus.patch: Add support for bus='foo' attributes for disk targets. + - better_default_uri_virsh.patch: Default to qemu:///system if the user + has write access to the libvirt socket, otherwise qemu:///session. + - ancient_parted.patch: Fix builds against libparted1.7 + - We call libxen-dev libxen3-dev, so change all references. + + -- Soren Hansen Wed, 25 Jun 2008 16:40:46 +0200 + +libvirt (0.4.2-6) unstable; urgency=low + + * reenable open-iscsi support - thanks to to the open-iscsi + maintainers for fixing this up + * build a libvirt0-dbg package + * register documentation with doc-base (Closes: #480294) - thanks to + Tzafrir Cohen for the patch + * control: fix typo + * README.Debian: explain debugging + + -- Guido Guenther Thu, 15 May 2008 18:04:20 +0200 + +libvirt (0.4.2-5ubuntu2) intrepid; urgency=low + + * We call libxen-dev libxen3-dev. + * Make libvirt-dev installable alongside libvirt0-dbg. + + -- Soren Hansen Fri, 02 May 2008 10:59:50 +0200 + +libvirt (0.4.2-5ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/control: + + DebianMaintainerField + + Don't build-depend on QEmu. + + Add "XS-Original-" prefix to Debian's Vcs headers. + + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables to Depends + of libvirt-bin. + + s/interract/interact/g + - Add libvirt0-dbg package + - debian/libvirt-bin.default + + Make libvirtd start by default + - Add /var/lib/libvirt to libvirt-bin package. (dnsmasq needs it to store + its state info. + - Create /var/run/libvirt in libvirt-bin's init script. + - Install PolicyKit and sasl stuff in libvirt-bin. + - Rename libvirt group to libvirtd. + - Build iscsi and disk storage support. + - delayed_iff_up_bridge.patch: Don't try to bring up the bridge before at + least one interface has been added to it. + - dont_clobber_existing_bridges.patch: Assign the name of the virtual + bridge dynamically to avoid interfering with existing bridges. + - nic-model.patch: Add support for NIC configuration. + - disk-bus.patch: Add support for bus='foo' attributes for disk targets. + - better_default_uri_virsh.patch: Default to qemu:///system if the user + has write access to the libvirt socket, otherwise qemu:///session. + - ancient_parted.patch: Fix builds against libparted1.7 + + -- Soren Hansen Fri, 02 May 2008 01:50:32 +0200 + +libvirt (0.4.2-5) unstable; urgency=low + + * no need to depend on python-all-dev we only build an extension for + the current python version + + -- Guido Guenther Tue, 22 Apr 2008 11:26:13 +0200 + +libvirt (0.4.2-4) unstable; urgency=low + + * only build-dep on qemu on architectures that have it + (Closes: #476290) + * the packages containing the daemon should suggest polkit + + -- Guido Guenther Fri, 18 Apr 2008 10:41:38 +0200 + +libvirt (0.4.2-3) unstable; urgency=low + + * drop the {build-,}dependency on open-iscsi too + * suggest policykit + + -- Guido Guenther Mon, 14 Apr 2008 15:27:20 +0200 + +libvirt (0.4.2-2) unstable; urgency=low + + * disable the iscsi storage backend until #423368 is fixed in unstable + * disable polkit authentication by default so the libvirt stays accessible + for members of the libvirt group + + -- Guido Guenther Mon, 14 Apr 2008 14:20:23 +0200 + +libvirt (0.4.2-1) unstable; urgency=low + + * drop no-mac.diff - applied upstream + * no need to explicitly link against libpthread + * always enable debugging + * add Homepage URL + * add Vcs-{Git,Browser} fields + * symlink devhelp docs + * enable policy kit + + -- Guido Guenther Fri, 11 Apr 2008 17:54:06 +0200 + +libvirt (0.4.1-1) experimental; urgency=low + + * new upstream version + * Xen 3.2 fixes + * storage pool support + * partition based storage pools are disabled, since this needs parted 1.8 + which is only in experimental + * update patches for new upstream release + * boot-dev-error.diff - applied upstream + * qemu-parse-error.diff - applied upstream + * qemu-path.diff - adjust to new hypervisor detection code + * rediff the rest + * new patches: + * no-mac.diff: don't set mac address on tun device since it breaks kvm + * bump shlibs version + + -- Guido Guenther Fri, 07 Mar 2008 10:17:21 +0100 + +libvirt (0.4.0-6) unstable; urgency=low + + * depend on libxen-dev (Closes:#467598) + * allow members of the libvirt group to manage virtual machines + + -- Guido Guenther Sun, 02 Mar 2008 16:11:49 +0100 + +libvirt (0.4.0-5) unstable; urgency=low + + * thanks to the xen maintainers Debian now has a working libxen-dev, so + enable xen support in the default build (Closes: #453826) + * recommend netcat-openbsd for unix domain socket support (Closes: #453627) + * README.Debian: document necessary xend options + * fix spelling of Python + + -- Guido Guenther Wed, 20 Feb 2008 11:14:22 +0100 + +libvirt (0.4.0-4) unstable; urgency=low + + * don't segfault on broken boot device configuration (Closes: #463686) + * don't segfault due to missing errorhandling in the XML parsing code + + -- Guido Guenther Tue, 05 Feb 2008 13:12:54 +0100 + +libvirt (0.4.0-3) unstable; urgency=low + + * add and remove the libvirt group for the socket + * be a bit more verbose on libvirtd reload + * depend on adduser since we add the libvirt user + * don't restart libvirtd on upgrades since it kills running qemus + * enable debugging via DEB_BUILD_OPTS + + -- Guido Guenther Sun, 03 Feb 2008 14:21:46 +0100 + +libvirt (0.4.0-2ubuntu8) hardy; urgency=low + + * disk-bus.patch: + - Add bus attribute to disk/target tags. Allows you to create virtio disks. + (LP: #213991) + * nic-model.patch: + - Add support to network interfaces. (LP: #213991) + * graceful_shutdown.patch: + - Rather than pulling the power from virtual machines, send an ACPI power + button event and let the OS handle it. + * better_default_uri_virsh.patch: + - Updated patch: Output connection URI to stderr instead of stdout to avoid + breaking scripts that use virsh. + + -- Soren Hansen Wed, 16 Apr 2008 10:35:03 +0200 + +libvirt (0.4.0-2ubuntu7) hardy; urgency=low + + * better_default_uri_virsh.patch: + - Make virsh connect to qemu:///system by default if the user has write + access to /var/run/libvirt/libvirt-sock and qemu:///session if not. + + -- Soren Hansen Tue, 01 Apr 2008 10:32:59 +0200 + +libvirt (0.4.0-2ubuntu6) hardy; urgency=low + + * *Actually* apply our patches to the -dbg version. + + -- Soren Hansen Tue, 11 Mar 2008 14:49:03 +0100 + +libvirt (0.4.0-2ubuntu5) hardy; urgency=low + + * Create /var/lib/libvirt in libvirt-bin. (LP: #191636) + + -- Soren Hansen Wed, 13 Feb 2008 22:17:33 +0100 + +libvirt (0.4.0-2ubuntu4) hardy; urgency=low + + * dont_clobber_existing_bridges.patch: + - Change bridge name from virbr0 to virbr%d, to ensure we never clobber + existing bridges. + * Add iptables dependency + + -- Soren Hansen Wed, 13 Feb 2008 00:53:20 +0100 + +libvirt (0.4.0-2ubuntu3) hardy; urgency=low + + * Build against libxen3-dev instead of libxen3.2-dev. + * libvirt-bin: + + Replace "Suggests: dnsmasq" with "Depends: dnsmasq-base". + + Add dependency on netcat-openbsd (to enable qemu+ssh:// style remote + management) + + -- Soren Hansen Fri, 08 Feb 2008 17:24:48 +0100 + +libvirt (0.4.0-2ubuntu2) hardy; urgency=low + + * Build against libxen-3.2 instead of 3.1. + * Bump bridge-utils from Suggests: to Depends:. + + -- Soren Hansen Tue, 05 Feb 2008 10:34:31 +0100 + +libvirt (0.4.0-2ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - DebianMaintainerField. + - Add libxen3.1-dev to enable Xen management. + - Add libpolkit-dbus-dev to enable polkit integration. + - Build libvirt0-dbg flavour. + - Start libvirtd by default. + - Install polkit policy. + - Install sasl config. + - Install sample qemu and libvirtd config. + - Create libvirtd group in postinst. + - libvirt-remote-ssh.patch: Fix foo+ssh:// urls. + - delayed_iff_up_bridge.patch: Don't try to IFF_UP the bridge interface + until an interface gets added to it. + * Create /var/run if it doesn't exist (LP: #178106). + + -- Soren Hansen Wed, 30 Jan 2008 16:43:11 +0100 + +libvirt (0.4.0-2) unstable; urgency=low + + * libvirt-bin.init: fix the reload target + * add configuration examples + + -- Guido Guenther Sat, 15 Dec 2007 18:59:11 +0100 + +libvirt (0.4.0-1) unstable; urgency=low + + * new upstream version + * enable sasl support + * leave policykit support disabled since it's not in unstable yet + * bump shlibs version + * remove CVS metadata + * rediff patches + * libvirtd-bin.init: libvirtd supports reload + + -- Guido Guenther Fri, 21 Dec 2007 16:49:13 +0100 + +libvirt (0.4.0-0ubuntu3) hardy; urgency=low + + * Clean up debian/rules (should reenable concurrent builds). + * Don't restart libvirt on upgrades (if there's a good reason, we'll + add it to postinst/prerm with checks for specific versions). + + -- Soren Hansen Fri, 18 Jan 2008 19:07:19 +0100 + +libvirt (0.4.0-0ubuntu2) hardy; urgency=low + + * IFF_UP'ing a bridge interface doesn't work until the first interface has + been added to it. + * Fix remote ssh connections. + + -- Soren Hansen Tue, 15 Jan 2008 10:53:25 +0100 + +libvirt (0.4.0-0ubuntu1) hardy; urgency=low + + * New upstream release. + * Don't change the default URI. It appears that too many applications + still depend on this broken behaviour. + * Change maintainer to ubuntu-core-dev. + + -- Soren Hansen Fri, 21 Dec 2007 11:24:02 +0100 + +libvirt (0.3.3-6ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Add libvirt0-dbg package. + - Start libvirtd by default. + - Create libvirtd group, and have libvirtd's sockets have group ownership + "libvirtd". + - Add libxen as a build-dependency to enable libvirt's Xen features. + + -- Soren Hansen Thu, 20 Dec 2007 11:28:00 +0100 + +libvirt (0.3.3-6) unstable; urgency=low + + * don't include precompiled examples in the doc package (Closes: #456825) + * remove RHism from manpage (Closes: #455859) + * bump standards version + + -- Guido Guenther Wed, 19 Dec 2007 13:45:58 +0100 + +libvirt (0.3.3-5.xen0) unstable; urgency=low + + * rebuild with xen support + + -- Guido Guenther Tue, 08 Jan 2008 11:00:24 +0100 + +libvirt (0.3.3-5) unstable; urgency=low + + * make libs match overrides + * move to team maintenance + * suggest dnsmasq and bridge-utils for qemu networking + * remove stale PID files + + -- Guido Guenther Thu, 13 Dec 2007 21:34:16 +0100 + +libvirt (0.3.3-4.xen0) unstable; urgency=low + + * UNRELEASED + * build with xen support + * debian/control: we also support xen + + -- Guido Guenther Thu, 06 Dec 2007 15:43:03 +0100 + +libvirt (0.3.3-4ubuntu5) hardy; urgency=low + + * Made default_uri a configurable. + + -- Soren Hansen Wed, 19 Dec 2007 00:56:31 +0100 + +libvirt (0.3.3-4ubuntu4) hardy; urgency=low + + * Add "Provides: libvirt0" to libvirt0-dbg. + * Make virsh understand that the default URI is not xen:///. + + -- Soren Hansen Wed, 19 Dec 2007 00:13:10 +0100 + +libvirt (0.3.3-4ubuntu3) hardy; urgency=low + + * Change default URI to qemu:///session + * Add libvirt0-dbg package, which is just like libvirt0, but built + with --enable-debug=yes. + + -- Soren Hansen Thu, 13 Dec 2007 21:37:39 +0100 + +libvirt (0.3.3-4ubuntu2) hardy; urgency=low + + * Start libvirtd by default. + * Create libvirtd group, and have libvirtd's sockets have group ownership + "libvirtd". + + -- Soren Hansen Thu, 13 Dec 2007 15:08:29 +0100 + +libvirt (0.3.3-4ubuntu1) hardy; urgency=low + + * Fakesync with Debian. + * Reenable Xen. + + -- Soren Hansen Thu, 06 Dec 2007 13:33:13 +0100 + +libvirt (0.3.3-4) unstable; urgency=low + + * put packages into the proper sections + * fix messed up Standards-Version (Closes: #453900) + + -- Guido Guenther Sun, 02 Dec 2007 14:50:11 +0100 + +libvirt (0.3.3-3.xen0) unstable; urgency=low + + * build with xen support - depend on our hacked up xen-utils for that + + -- Guido Guenther Sat, 01 Dec 2007 16:27:32 +0000 + +libvirt (0.3.3-3) unstable; urgency=low + + * add initscript to start libvirtd + + -- Guido Guenther Wed, 28 Nov 2007 10:30:29 +0100 + +libvirt (0.3.3-2) unstable; urgency=low + + * debian/copyright: + * update FSF address + * update upstream author and copyright information + * install the virsh manpage + * use binary:Version instead of Source-Version + + -- Guido Guenther Fri, 23 Nov 2007 22:31:26 +0100 + +libvirt (0.3.3-1) unstable; urgency=low + + * repackage for Debian (Closes: #384300) + * enable avahi + * build with qemu/kvm support + * disable xen support until #402249 is fixed + * disable qemu autonetwork for now, causes libvirtd to seqfault + * fix path to kvm + * switch off DH_VERBOSE + * thanks to the Ubuntu maintainers for their work! + + -- Guido Guenther Fri, 23 Nov 2007 01:58:56 +0100 + +libvirt (0.3.3-0ubuntu1) hardy; urgency=low + + * New upstream release. + * Update maintainer. + + -- Soren Hansen Wed, 14 Nov 2007 23:09:33 +0100 + +libvirt (0.3.0-0ubuntu2) gutsy; urgency=low + + * Add lingnutls-dev Build-Dep. + + -- Fabio M. Di Nitto Mon, 16 Jul 2007 12:10:41 +0200 + +libvirt (0.3.0-0ubuntu1) gutsy; urgency=low + + * Import new upstram release that can actually build on xen-3.1. + + -- Fabio M. Di Nitto Mon, 16 Jul 2007 10:23:04 +0200 + +libvirt (0.2.2-0ubuntu1) gutsy; urgency=low + + * Depends on libxen3.1-dev. + + -- Chuck Short Fri, 13 Jul 2007 11:04:00 -0400 + +libvirt (0.2.2-0ubuntu0) gutsy; urgency=low + + * New upstream version. + * Updated libvirt-bin.install, thanks to Marcelo Boveto Shima. + + -- Chuck Short Sun, 24 Jun 2007 09:54:54 -0400 + +libvirt (0.1.8-0ubuntu2) feisty; urgency=low + + * Rebuild for python2.5 as the default python version. + + -- Matthias Klose Fri, 12 Jan 2007 13:21:55 +0000 + +libvirt (0.1.8-0ubuntu1) feisty; urgency=low + + * Initial release + + -- Andrew Mitchell Mon, 23 Oct 2006 20:00:28 +1300 + --- libvirt-0.7.0.orig/debian/watch +++ libvirt-0.7.0/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://libvirt.org/sources/libvirt-([\d\.]*)\.tar\.gz --- libvirt-0.7.0.orig/debian/libvirt-bin.postinst +++ libvirt-0.7.0/debian/libvirt-bin.postinst @@ -0,0 +1,80 @@ +#!/bin/sh +# postinst script for libvirt-bin +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + if ! getent group libvirtd >/dev/null; then + addgroup --system libvirtd + fi + + # Add each admin user to the libvirtd group + for u in $(grep "^admin:" /etc/group | sed -e "s/^.*://" -e "s/,/ /g"); do + adduser "$u" libvirtd >/dev/null + done + + # libvirt from 0.6.0 on is safe to restart with running vms: + if [ -n "$2" ] && dpkg --compare-versions "$2" ge 0.6.0; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d libvirt-bin stop + else + /etc/init.d/libvirt-bin stop + fi + sleep 1 + fi + + if dpkg --compare-versions "$2" lt "0.6.1-2"; then + if [ -e /etc/rc2.d/S20libvirt-bin ] && \ + [ -e /etc/rc3.d/S20libvirt-bin ] && \ + [ -e /etc/rc4.d/S20libvirt-bin ] && \ + [ -e /etc/rc5.d/S20libvirt-bin ] && \ + [ -e /etc/rc0.d/K20libvirt-bin ] && \ + [ -e /etc/rc1.d/K20libvirt-bin ] && \ + [ -e /etc/rc6.d/K20libvirt-bin ]; then + update-rc.d -f libvirt-bin remove >/dev/null + fi + fi + + profile="/etc/apparmor.d/usr.sbin.libvirtd" + if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then + apparmor_parser -r "$profile" || true + fi + profile="/etc/apparmor.d/usr.bin.virt-aa-helper" + if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then + apparmor_parser -r "$profile" || true + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- libvirt-0.7.0.orig/debian/rules +++ libvirt-0.7.0/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral +DEB_DH_INSTALL_SOURCEDIR = debian/tmp + +ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64)) + BUILD_XEN=--with-xen + BUILD_VBOX=--with-vbox +else + BUILD_XEN=--without-xen + BUILD_VBOX=--without-vbox +endif + +ifneq (,$(findstring $(DEB_HOST_ARCH), ia64)) + BUILD_LXC=--without-lxc +else + BUILD_LXC=--with-lxc +endif + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --disable-rpath \ + --with-qemu \ + --with-openvz \ + --with-avahi \ + --with-sasl \ + --with-polkit \ + --with-hal \ + --with-storage-fs \ + --with-storage-lvm \ + --with-storage-iscsi \ + --with-storage-disk \ + --with-init-scripts=none \ + --with-apparmor \ + --without-numactl \ + --enable-debug \ + $(BUILD_XEN) \ + $(BUILD_VBOX) \ + $(BUILD_LXC) + +DEB_DBG_PACKAGES = libvirt0-dbg +DEB_DBG_PACKAGE_libvirt0 = libvirt0-dbg +DEB_PYTHON_SETUP_CMD := /dev/null +DEB_DH_MAKESHLIBS_ARGS_libvirt0 += -V 'libvirt0 (>= 0.5.0)' +DEB_DH_INSTALLINIT_ARGS := --no-restart-on-upgrade -- defaults 28 72 +DEB_DH_INSTALLLOGROTATE_ARGS := --name=libvirtd + +EXAMPLES=debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/ + + +build/libvirt-bin:: + mkdir -p debian/tmp/etc/apparmor.d/abstractions debian/tmp/etc/apparmor.d/libvirt + cp -f debian/apparmor/libvirt-qemu debian/tmp/etc/apparmor.d/abstractions + cp -f debian/apparmor/usr.bin.virt-aa-helper debian/tmp/etc/apparmor.d + cp -f debian/apparmor/usr.sbin.libvirtd debian/tmp/etc/apparmor.d + cp -f debian/apparmor/TEMPLATE debian/tmp/etc/apparmor.d/libvirt + mkdir -p debian/tmp/usr/share/apport/package-hooks + cp -f debian/libvirt-bin.apport debian/tmp/usr/share/apport/package-hooks/source_libvirt-bin.py +binary-install/libvirt-doc:: + cd $(EXAMPLES) && rm -rf .libs *.o info1 suspend ../html/CVS --- libvirt-0.7.0.orig/debian/README.source +++ libvirt-0.7.0/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- libvirt-0.7.0.orig/debian/README.Debian +++ libvirt-0.7.0/debian/README.Debian @@ -0,0 +1,118 @@ +Xen +=== +To manage xen domains with libvirt you have to set: + +(xend-unix-server yes) + +in /etc/xen/xend-config.sxp. + +For xend HTTP access (not recommended) you also have to set: + +(xend-http-server yes) +# only allow access from localhost: +(xend-address localhost) + +Note that *every* user on the system has access to xend then. Better use +libvirtd to access xen with unprivileged users and add the users to the +"libvirt" group (see "Access Control" below). + +Debugging +========= +Use LIBVIRT_DEBUG=1 to enable libvirt's debugging output, e.g.: + +LIBVIRT_DEBUG=1 +export LIBVIRT_DEBUG +virt-manager + +The default NAT network +======================= +To ease network configuration libvirt defines a NATed network named "default". +VMs using this network end up in 192.168.122.1/24 and DHCP is provided to them +via dnsmasq. This network is not automatically started. To start it use: + + virsh net-start default + +To make the default network start automatically use: + + virsh net-autostart default + +In order for things to work this way you need to have the recommended packages +dnsmasq-base, bridge-utils and iptables installed. + +You don't need the package dnsmasq. However, if you install it, Debian's +default dnsmasq needs to be adjusted slightly to interoperate with libvirtd: + +cat </etc/dnsmasq.d/00_libvirtd.conf +# only bind to loopback by default +interface=lo +bind-interfaces +EOF + +This makes dnsmasq only bind to the loopback interface by default so libvirtd +can handle the virtual bridges. + +Access Control +============== +Access to the libvirt socket is controlled by membership in the "libvirt" group. +If you want to manage VMs as non root you need to add a user to that group. + + -- Guido Guenther Thu, 15 May 2008 14:13:03 +0100 + + +AppArmor Profile +---------------- +Libvirt now contains AppArmor integration when using KVM or QEMU using +libvirt's sVirt infrastructure. Libvirtd can be configured to launch virtual +machines that are confined by uniquely restrictive AppArmor profiles. This +feature significantly improves virtualization in Ubuntu by providing user-space +host protection as well as guest isolation. + +In the sVirt model, if a profile is loaded for the libvirtd daemon, then each +qemu:///system QEMU virtual machine will have a profile created for it when +the virtual machine is started if one does not already exist. This generated +profile is based on a template file and uses a profile name based on the UUID +of the QEMU virtual machine and contains rules allowing access to only the +files it needs to run, such as its disks, pid file and log files. Just before +the QEMU virtual machine is started, the libvirtd daemon will change into this +unique profile, preventing the QEMU process from accessing any file resources +that are present in another QEMU process or the host machine. + +The AppArmor sVirt implementation is flexible in that it allows a user to +customize the template file in /etc/apparmor.d/libvirt/TEMPLATE for +site-specific access for all newly created QEMU virtual machines. When a +new profile is generated, two files are created: + + /etc/apparmor.d/libvirt/libvirt- + /etc/apparmor.d/libvirt/libvirt-.files + +The former can be fine-tuned by the administrator to allow custom access for +this particular QEMU virtual machine, and the latter will be updated +appropriately when required file access changes, such as when a disk is added. +This flexibility allows for situations such as having one virtual machine in +complain mode with all others in enforce mode. + +Profiles for /usr/sbin/libvirtd, /usr/bin/virt-aa-helper (a helper program +which the libvirtd daemon uses instead of manipulating AppArmor directly), and +/etc/apparmor.d/abstractions/libvirt-qemu are used to configure AppArmor +confinement with sVirt. + +If the sVirt security model is active, then the node capabilities XML will +include its details. If a virtual machine is currently protected by the +security model, then the guest XML will include its assigned profile name. If +enabled at compile time, the sVirt security model will be activated if AppArmor +is available on the host OS and a profile for the libvirtd daemon is loaded +when libvirtd is started. To disable sVirt, and revert to the basic level of +AppArmor protection (host protection only), the /etc/libvirt/qemu.conf file can +be used to change the setting to security_driver="none". Users may also +disable AppArmor integration through AppArmor itself by performing: + +$ sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd +$ sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/usr.sbin.libvirtd + +If your system uses AppArmor, please note that the shipped profile works with +the default installation, and changes in your configuration may require changes +to the installed apparmor profile. Before filing a bug against this software, +please see https://wiki.ubuntu.com/DebuggingApparmor before filing a bug +against this software. + + -- Jamie Strandboge Thu, 10 Sep 2009 08:29:04 -0500 --- libvirt-0.7.0.orig/debian/patches/9090-reenable-nonfile-labels.patch +++ libvirt-0.7.0/debian/patches/9090-reenable-nonfile-labels.patch @@ -0,0 +1,53 @@ +# +# Ubuntu: https://launchpad.net/bugs/388422 +# Description: add back in virDomainObjPtr argument to +# RestoreSecurityImageLabel since AppArmor labels are not stored +# on disk +# +Index: libvirt-0.7.0/src/qemu_driver.c +=================================================================== +--- libvirt-0.7.0.orig/src/qemu_driver.c 2009-09-22 23:30:16.000000000 -0500 ++++ libvirt-0.7.0/src/qemu_driver.c 2009-09-22 23:30:17.000000000 -0500 +@@ -5552,7 +5552,7 @@ + dev->data.disk->bus == VIR_DOMAIN_DISK_BUS_VIRTIO)) { + ret = qemudDomainDetachPciDiskDevice(dom->conn, vm, dev); + if (driver->securityDriver) +- driver->securityDriver->domainRestoreSecurityImageLabel(dom->conn, dev->data.disk); ++ driver->securityDriver->domainRestoreSecurityImageLabel(dom->conn, vm, dev->data.disk); + if (qemuDomainSetDeviceOwnership(dom->conn, driver, dev, 1) < 0) + VIR_WARN0("Fail to restore disk device ownership"); + } else if (dev->type == VIR_DOMAIN_DEVICE_NET) { +Index: libvirt-0.7.0/src/security.h +=================================================================== +--- libvirt-0.7.0.orig/src/security.h 2009-07-23 11:33:02.000000000 -0500 ++++ libvirt-0.7.0/src/security.h 2009-09-22 23:30:17.000000000 -0500 +@@ -32,6 +32,7 @@ + typedef int (*virSecurityDriverOpen) (virConnectPtr conn, + virSecurityDriverPtr drv); + typedef int (*virSecurityDomainRestoreImageLabel) (virConnectPtr conn, ++ virDomainObjPtr vm, + virDomainDiskDefPtr disk); + typedef int (*virSecurityDomainSetImageLabel) (virConnectPtr conn, + virDomainObjPtr vm, +Index: libvirt-0.7.0/src/security_selinux.c +=================================================================== +--- libvirt-0.7.0.orig/src/security_selinux.c 2009-07-23 11:33:02.000000000 -0500 ++++ libvirt-0.7.0/src/security_selinux.c 2009-09-22 23:31:20.000000000 -0500 +@@ -345,6 +345,7 @@ + + static int + SELinuxRestoreSecurityImageLabel(virConnectPtr conn, ++ virDomainObjPtr vm ATTRIBUTE_UNUSED, + virDomainDiskDefPtr disk) + { + struct stat buf; +@@ -414,7 +415,8 @@ + int rc = 0; + if (secdef->imagelabel) { + for (i = 0 ; i < vm->def->ndisks ; i++) { +- if (SELinuxRestoreSecurityImageLabel(conn, vm->def->disks[i]) < 0) ++ if (SELinuxRestoreSecurityImageLabel(conn, vm, ++ vm->def->disks[i]) < 0) + rc = -1; + } + VIR_FREE(secdef->model); --- libvirt-0.7.0.orig/debian/patches/9000-delayed_iff_up_bridge.patch +++ libvirt-0.7.0/debian/patches/9000-delayed_iff_up_bridge.patch @@ -0,0 +1,26 @@ +Index: libvirt-0.7.0/src/bridge.c +=================================================================== +--- libvirt-0.7.0.orig/src/bridge.c 2009-08-05 07:50:00.000000000 -0500 ++++ libvirt-0.7.0/src/bridge.c 2009-08-13 20:35:06.000000000 -0500 +@@ -252,7 +252,10 @@ + const char *bridge, + const char *iface) + { +- return brAddDelInterface(ctl, SIOCBRADDIF, bridge, iface); ++ int ret; ++ if (ret = brAddDelInterface(ctl, SIOCBRADDIF, bridge, iface)) ++ return ret; ++ return brSetInterfaceUp(ctl, bridge, 1); + } + #else + int +@@ -599,7 +602,8 @@ + ifr.ifr_flags = flags; + + if (ioctl(ctl->fd, SIOCSIFFLAGS, &ifr) < 0) +- return errno; ++ /* Just smile and wave, boys... */ ++ return 0; + } + + return 0; --- libvirt-0.7.0.orig/debian/patches/9006-increase-unix-socket-timeout.patch +++ libvirt-0.7.0/debian/patches/9006-increase-unix-socket-timeout.patch @@ -0,0 +1,18 @@ +# +# Description: increase timeout for waiting on a Unix socket to avoid +# 'monitor socket did not show up.: No such file or directory' +# errors +# +Index: libvirt-0.7.0/src/qemu_driver.c +=================================================================== +--- libvirt-0.7.0.orig/src/qemu_driver.c 2009-08-17 11:29:03.000000000 -0500 ++++ libvirt-0.7.0/src/qemu_driver.c 2009-08-17 11:30:34.000000000 -0500 +@@ -898,7 +898,7 @@ + { + struct sockaddr_un addr; + int monfd; +- int timeout = 3; /* In seconds */ ++ int timeout = 30; /* In seconds */ + int ret, i = 0; + + if ((monfd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { --- libvirt-0.7.0.orig/debian/patches/0003-allow-libvirt-group-to-access-the-socket.patch +++ libvirt-0.7.0/debian/patches/0003-allow-libvirt-group-to-access-the-socket.patch @@ -0,0 +1,49 @@ +From: Guido Guenther +Date: Thu, 26 Jun 2008 20:01:38 +0200 +Subject: [PATCH] allow libvirt group to access the socket + +--- + qemud/libvirtd.conf | 8 ++++---- + 1 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/qemud/libvirtd.conf b/qemud/libvirtd.conf +index 49de466..cc5f056 100644 +--- a/qemud/libvirtd.conf ++++ b/qemud/libvirtd.conf +@@ -78,7 +78,7 @@ + # without becoming root. + # + # This is restricted to 'root' by default. +-#unix_sock_group = "libvirt" ++unix_sock_group = "libvirt" + + # Set the UNIX socket permissions for the R/O socket. This is used + # for monitoring VM status only +@@ -95,7 +95,7 @@ + # + # If not using PolicyKit and setting group ownership for access + # control then you may want to relax this to: +-#unix_sock_rw_perms = "0770" ++unix_sock_rw_perms = "0770" + + # Set the name of the directory in which sockets will be found/created. + #unix_sock_dir = "/var/run/libvirt" +@@ -126,7 +126,7 @@ + # + # To restrict monitoring of domains you may wish to enable + # an authentication mechanism here +-#auth_unix_ro = "none" ++auth_unix_ro = "none" + + # Set an authentication scheme for UNIX read-write sockets + # By default socket permissions only allow root. If PolicyKit +@@ -135,7 +135,7 @@ + # + # If the unix_sock_rw_perms are changed you may wish to enable + # an authentication mechanism here +-#auth_unix_rw = "none" ++auth_unix_rw = "none" + + # Change the authentication scheme for TCP sockets. + # +-- --- libvirt-0.7.0.orig/debian/patches/9004-better-default-arch.patch +++ libvirt-0.7.0/debian/patches/9004-better-default-arch.patch @@ -0,0 +1,18 @@ +Index: libvirt-0.7.0/src/capabilities.c +=================================================================== +--- libvirt-0.7.0.orig/src/capabilities.c 2009-08-05 07:50:00.000000000 -0500 ++++ libvirt-0.7.0/src/capabilities.c 2009-08-13 20:37:30.000000000 -0500 +@@ -478,6 +478,13 @@ + const char *ostype) + { + int i; ++ /* Let's first see if we can match the host arch */ ++ for (i = 0 ; i < caps->nguests ; i++) { ++ if (STREQ(caps->guests[i]->ostype, ostype) ++ && STREQ(caps->guests[i]->arch.name, caps->host.arch)) ++ return caps->guests[i]->arch.name; ++ } ++ /* If we couldn't we just grab the first match */ + for (i = 0 ; i < caps->nguests ; i++) { + if (STREQ(caps->guests[i]->ostype, ostype)) + return 1; --- libvirt-0.7.0.orig/debian/patches/0004-fix-Debian-specific-path-to-hvm-loader.patch +++ libvirt-0.7.0/debian/patches/0004-fix-Debian-specific-path-to-hvm-loader.patch @@ -0,0 +1,88 @@ +From: =?utf-8?q?Guido=20G=C3=BCnther?= +Date: Thu, 26 Feb 2009 14:29:58 +0100 +Subject: [PATCH] fix Debian specific path to hvm loader + +Closes: #517059 +--- + src/xen_internal.c | 2 +- + tests/xencapsdata/xen-i686-pae-hvm.xml | 2 +- + tests/xencapsdata/xen-ia64-be-hvm.xml | 2 +- + tests/xencapsdata/xen-ia64-hvm.xml | 2 +- + tests/xencapsdata/xen-x86_64-hvm.xml | 4 ++-- + 5 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/xen_internal.c b/src/xen_internal.c +index b6bf10d..6168120 100644 +--- a/src/xen_internal.c ++++ b/src/xen_internal.c +@@ -2216,7 +2216,7 @@ xenHypervisorBuildCapabilities(virConnectPtr conn, + "/usr/lib64/xen/bin/qemu-dm" : + "/usr/lib/xen/bin/qemu-dm"), + (guest_archs[i].hvm ? +- "/usr/lib/xen/boot/hvmloader" : ++ "/usr/lib/xen-default/boot/hvmloader" : + NULL), + 1, + machines)) == NULL) { +diff --git a/tests/xencapsdata/xen-i686-pae-hvm.xml b/tests/xencapsdata/xen-i686-pae-hvm.xml +index 42b099c..2886c09 100644 +--- a/tests/xencapsdata/xen-i686-pae-hvm.xml ++++ b/tests/xencapsdata/xen-i686-pae-hvm.xml +@@ -34,7 +34,7 @@ + + 32 + /usr/lib/xen/bin/qemu-dm +- /usr/lib/xen/boot/hvmloader ++ /usr/lib/xen-default/boot/hvmloader + xenfv + + +diff --git a/tests/xencapsdata/xen-ia64-be-hvm.xml b/tests/xencapsdata/xen-ia64-be-hvm.xml +index 732b693..cf3dfc1 100644 +--- a/tests/xencapsdata/xen-ia64-be-hvm.xml ++++ b/tests/xencapsdata/xen-ia64-be-hvm.xml +@@ -31,7 +31,7 @@ + + 64 + /usr/lib/xen/bin/qemu-dm +- /usr/lib/xen/boot/hvmloader ++ /usr/lib/xen-default/boot/hvmloader + xenfv + + +diff --git a/tests/xencapsdata/xen-ia64-hvm.xml b/tests/xencapsdata/xen-ia64-hvm.xml +index ef48a95..871cd65 100644 +--- a/tests/xencapsdata/xen-ia64-hvm.xml ++++ b/tests/xencapsdata/xen-ia64-hvm.xml +@@ -28,7 +28,7 @@ + + 64 + /usr/lib/xen/bin/qemu-dm +- /usr/lib/xen/boot/hvmloader ++ /usr/lib/xen-default/boot/hvmloader + xenfv + + +diff --git a/tests/xencapsdata/xen-x86_64-hvm.xml b/tests/xencapsdata/xen-x86_64-hvm.xml +index 52c12c6..83dac3e 100644 +--- a/tests/xencapsdata/xen-x86_64-hvm.xml ++++ b/tests/xencapsdata/xen-x86_64-hvm.xml +@@ -31,7 +31,7 @@ + + 32 + /usr/lib64/xen/bin/qemu-dm +- /usr/lib/xen/boot/hvmloader ++ /usr/lib/xen-default/boot/hvmloader + xenfv + + +@@ -49,7 +49,7 @@ + + 64 + /usr/lib64/xen/bin/qemu-dm +- /usr/lib/xen/boot/hvmloader ++ /usr/lib/xen-default/boot/hvmloader + xenfv + + +-- --- libvirt-0.7.0.orig/debian/patches/9001-dont_clobber_existing_bridges.patch +++ libvirt-0.7.0/debian/patches/9001-dont_clobber_existing_bridges.patch @@ -0,0 +1,12 @@ +Index: ubuntu/qemud/default-network.xml +=================================================================== +--- ubuntu.orig/qemud/default-network.xml 2008-02-12 01:20:09.818288028 +0100 ++++ ubuntu/qemud/default-network.xml 2008-02-12 01:20:17.518258142 +0100 +@@ -1,6 +1,6 @@ + + default +- ++ + + + --- libvirt-0.7.0.orig/debian/patches/9002-better_default_uri_virsh.patch +++ libvirt-0.7.0/debian/patches/9002-better_default_uri_virsh.patch @@ -0,0 +1,34 @@ +Index: libvirt-0.7.0/src/virsh.c +=================================================================== +--- libvirt-0.7.0.orig/src/virsh.c 2009-07-24 11:38:23.000000000 -0500 ++++ libvirt-0.7.0/src/virsh.c 2009-08-13 20:36:29.000000000 -0500 +@@ -57,6 +57,8 @@ + #define VSH_PROMPT_RW "virsh # " + #define VSH_PROMPT_RO "virsh > " + ++#include "remote_internal.h" ++ + #define GETTIMEOFDAY(T) gettimeofday(T, NULL) + #define DIFF_MSEC(T, U) \ + ((((int) ((T)->tv_sec - (U)->tv_sec)) * 1000000.0 + \ +@@ -8434,6 +8436,10 @@ + + if ((defaultConn = getenv("VIRSH_DEFAULT_CONNECT_URI"))) { + ctl->name = strdup(defaultConn); ++ } else if (!access(LIBVIRTD_PRIV_UNIX_SOCKET, W_OK)) { ++ ctl->name = strdup("qemu:///system"); ++ } else { ++ ctl->name = strdup("qemu:///session"); + } + + if (!vshParseArgv(ctl, argc, argv)) { +@@ -8441,6 +8447,9 @@ + exit(EXIT_FAILURE); + } + ++ if (!ctl->quiet) ++ fprintf(stderr, _("Connecting to uri: %s\n"), ctl->name); ++ + if (!vshInit(ctl)) { + vshDeinit(ctl); + exit(EXIT_FAILURE); --- libvirt-0.7.0.orig/debian/patches/series +++ libvirt-0.7.0/debian/patches/series @@ -0,0 +1,15 @@ +0001-remove-RHism.diff.patch +#0002-qemu-disable-network.diff.patch +0003-allow-libvirt-group-to-access-the-socket.patch +0004-fix-Debian-specific-path-to-hvm-loader.patch +# Ubuntu specific patches: +9000-delayed_iff_up_bridge.patch +9001-dont_clobber_existing_bridges.patch +9002-better_default_uri_virsh.patch +9003-increase-logoutput-timeout.patch +9004-better-default-arch.patch +9005-libvirtd-group-name.patch +9006-increase-unix-socket-timeout.patch +9090-reenable-nonfile-labels.patch +9091-apparmor.patch +9092-apparmor-autoreconf.patch --- libvirt-0.7.0.orig/debian/patches/9091-apparmor.patch +++ libvirt-0.7.0/debian/patches/9091-apparmor.patch @@ -0,0 +1,2047 @@ +# +# Ubuntu: https://launchpad.net/bugs/388422 +# Description: implement AppArmor security driver for libvirt +# +Index: libvirt-0.7.0/configure.in +=================================================================== +--- libvirt-0.7.0.orig/configure.in 2009-09-23 11:43:44.000000000 -0500 ++++ libvirt-0.7.0/configure.in 2009-09-23 16:40:10.000000000 -0500 +@@ -778,6 +778,84 @@ + AM_CONDITIONAL([WITH_SECDRIVER_SELINUX], [test "$with_secdriver_selinux" != "no"]) + + ++dnl AppArmor ++AC_ARG_WITH([apparmor], ++ [ --with-apparmor use AppArmor to manage security], ++ [], ++ [with_apparmor=check]) ++ ++APPARMOR_CFLAGS= ++APPARMOR_LIBS= ++if test "$with_apparmor" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_apparmor" = "check"; then ++ AC_CHECK_HEADER([sys/apparmor.h],[],[with_apparmor=no]) ++ AC_CHECK_LIB([apparmor], [aa_change_profile],[],[with_apparmor=no]) ++ AC_CHECK_LIB([apparmor], [aa_change_hat],[],[with_apparmor=no]) ++ if test "$with_apparmor" != "no"; then ++ with_apparmor="yes" ++ fi ++ else ++ fail=0 ++ AC_CHECK_HEADER([sys/apparmor.h],[],[fail=1]) ++ AC_CHECK_LIB([apparmor], [aa_change_profile],[],[fail=1]) ++ AC_CHECK_LIB([apparmor], [aa_change_hat],[],[fail=1]) ++ test $fail = 1 && ++ AC_MSG_ERROR([You must install the AppArmor development package in order to compile libvirt]) ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_apparmor" = "yes"; then ++ APPARMOR_LIBS="-lapparmor" ++ AC_DEFINE_UNQUOTED([HAVE_APPARMOR], 1, [whether AppArmor is available for security]) ++ AC_DEFINE_UNQUOTED([APPARMOR_DIR], "/etc/apparmor.d", [path to apparmor directory]) ++ AC_DEFINE_UNQUOTED([APPARMOR_PROFILES_PATH], "/sys/kernel/security/apparmor/profiles", [path to kernel profiles]) ++ AC_DEFINE_UNQUOTED([VIRT_AA_HELPER_PATH], "$prefix/bin/virt-aa-helper", [path to virt-aa-helper]) ++fi ++AM_CONDITIONAL([HAVE_APPARMOR], [test "$with_apparmor" != "no"]) ++AC_SUBST([APPARMOR_CFLAGS]) ++AC_SUBST([APPARMOR_LIBS]) ++ ++ ++AC_ARG_WITH([secdriver-apparmor], ++ [ --with-secdriver-apparmor use AppArmor security driver], ++ [], ++ [with_secdriver_apparmor=check]) ++ ++if test "$with_apparmor" != "yes" ; then ++ if test "$with_secdriver_apparmor" = "check" ; then ++ with_secdriver_apparmor=no ++ else ++ AC_MSG_ERROR([You must install the AppArmor development package in order to compile libvirt]) ++ fi ++else ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ CFLAGS="$CFLAGS $APPARMOR_CFLAGS" ++ LIBS="$CFLAGS $APPARMOR_LIBS" ++ ++ fail=0 ++ AC_CHECK_FUNC([change_hat], [], [fail=1]) ++ AC_CHECK_FUNC([aa_change_profile], [], [fail=1]) ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++ ++ if test "$fail" = "1" ; then ++ if test "$with_secdriver_apparmor" = "check" ; then ++ with_secdriver_apparmor=no ++ else ++ AC_MSG_ERROR([You must install the AppArmor development package in order to compile libvirt]) ++ fi ++ else ++ with_secdriver_apparmor=yes ++ AC_DEFINE_UNQUOTED([WITH_SECDRIVER_APPARMOR], 1, [whether AppArmor security driver is available]) ++ fi ++fi ++AM_CONDITIONAL([WITH_SECDRIVER_APPARMOR], [test "$with_secdriver_apparmor" != "no"]) ++ ++ + + dnl NUMA lib + AC_ARG_WITH([numactl], +@@ -1661,6 +1739,7 @@ + AC_MSG_NOTICE([Security Drivers]) + AC_MSG_NOTICE([]) + AC_MSG_NOTICE([ SELinux: $with_secdriver_selinux]) ++AC_MSG_NOTICE([ AppArmor: $with_secdriver_apparmor]) + AC_MSG_NOTICE([]) + AC_MSG_NOTICE([Driver Loadable Modules]) + AC_MSG_NOTICE([]) +@@ -1704,6 +1783,11 @@ + else + AC_MSG_NOTICE([ selinux: no]) + fi ++if test "$with_apparmor" = "yes" ; then ++AC_MSG_NOTICE([ apparmor: $APPARMOR_CFLAGS $APPARMOR_LIBS]) ++else ++AC_MSG_NOTICE([ apparmor: no]) ++fi + if test "$with_numactl" = "yes" ; then + AC_MSG_NOTICE([ numactl: $NUMACTL_CFLAGS $NUMACTL_LIBS]) + else +Index: libvirt-0.7.0/src/Makefile.am +=================================================================== +--- libvirt-0.7.0.orig/src/Makefile.am 2009-09-23 11:43:44.000000000 -0500 ++++ libvirt-0.7.0/src/Makefile.am 2009-09-23 16:40:10.000000000 -0500 +@@ -9,6 +9,7 @@ + $(LIBSSH_CFLAGS) \ + $(XEN_CFLAGS) \ + $(SELINUX_CFLAGS) \ ++ $(APPARMOR_CFLAGS) \ + $(DRIVER_MODULE_CFLAGS) \ + -DLIBDIR=\""$(libdir)"\" \ + -DBINDIR=\""$(libexecdir)"\" \ +@@ -212,6 +213,8 @@ + SECURITY_DRIVER_SELINUX_SOURCES = \ + security_selinux.h security_selinux.c + ++SECURITY_DRIVER_APPARMOR_SOURCES = \ ++ security_apparmor.h security_apparmor.c + + NODE_DEVICE_DRIVER_SOURCES = \ + node_device.c node_device.h +@@ -517,6 +520,9 @@ + if WITH_SECDRIVER_SELINUX + libvirt_driver_security_la_SOURCES += $(SECURITY_DRIVER_SELINUX_SOURCES) + endif ++if WITH_SECDRIVER_APPARMOR ++libvirt_driver_security_la_SOURCES += $(SECURITY_DRIVER_APPARMOR_SOURCES) ++endif + + # Add all conditional sources just in case... + EXTRA_DIST += \ +@@ -604,7 +610,7 @@ + libvirt_la_LDFLAGS = $(VERSION_SCRIPT_FLAGS)libvirt.syms \ + -version-info @LIBVIRT_VERSION_INFO@ \ + $(COVERAGE_CFLAGS:-f%=-Wc,-f%) \ +- $(LIBXML_LIBS) $(SELINUX_LIBS) \ ++ $(LIBXML_LIBS) $(SELINUX_LIBS) $(APPARMOR_LIBS) \ + $(XEN_LIBS) $(DRIVER_MODULE_LIBS) \ + @CYGWIN_EXTRA_LDFLAGS@ @MINGW_EXTRA_LDFLAGS@ + libvirt_la_CFLAGS = $(COVERAGE_CFLAGS) -DIN_LIBVIRT +@@ -642,6 +648,23 @@ + ../gnulib/lib/libgnu.la \ + $(VIRSH_LIBS) + virsh_CFLAGS = $(COVERAGE_CFLAGS) $(READLINE_CFLAGS) $(NUMACTL_CFLAGS) ++ ++if WITH_SECDRIVER_APPARMOR ++bin_PROGRAMS += virt-aa-helper ++ ++virt_aa_helper_SOURCES = \ ++ virt-aa-helper.c ++ ++virt_aa_helper_LDFLAGS = $(WARN_CFLAGS) $(COVERAGE_LDFLAGS) ++virt_aa_helper_LDADD = \ ++ $(STATIC_BINARIES) \ ++ $(WARN_CFLAGS) \ ++ libvirt.la \ ++ ../gnulib/lib/libgnu.la \ ++ $(VIRSH_LIBS) ++virt_aa_helper_CFLAGS = $(COVERAGE_CFLAGS) ++endif ++ + BUILT_SOURCES = virsh-net-edit.c virsh-pool-edit.c libvirt.syms + + virsh-net-edit.c: virsh.c Makefile.am +Index: libvirt-0.7.0/src/security_apparmor.c +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ libvirt-0.7.0/src/security_apparmor.c 2009-09-23 16:44:27.000000000 -0500 +@@ -0,0 +1,593 @@ ++ ++/* ++ * AppArmor security driver for libvirt ++ * Copyright (C) 2009 Canonical Ltd. ++ * ++ * This library is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU Lesser General Public ++ * License as published by the Free Software Foundation; either ++ * version 2.1 of the License, or (at your option) any later version. ++ * ++ * Author: ++ * Jamie Strandboge ++ * Based on security_selinux.c by James Morris ++ * ++ * AppArmor security driver. ++ */ ++ ++#include ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#include "internal.h" ++ ++#include "security.h" ++#include "security_apparmor.h" ++#include "util.h" ++#include "memory.h" ++#include "virterror_internal.h" ++#include "datatypes.h" ++ ++#define VIR_FROM_THIS VIR_FROM_SECURITY ++#define SECURITY_APPARMOR_VOID_DOI "0" ++#define SECURITY_APPARMOR_NAME "apparmor" ++ ++/* ++ * profile_status returns '-1' on error, '0' if loaded ++ * ++ * If check_enforcing is set to '1', then returns '-1' on error, '0' if ++ * loaded in complain mode, and '1' if loaded in enforcing mode. ++ */ ++static int ++profile_status(const char *str, const int check_enforcing) ++{ ++ char *content = NULL; ++ char *tmp = NULL; ++ char *etmp = NULL; ++ int rc = -1; ++ ++ /* create string that is ' \0' for accurate matching */ ++ if (virAsprintf(&tmp, "%s ", str) == -1) ++ return rc; ++ ++ if (check_enforcing != 0) { ++ /* create string that is ' (enforce)\0' for accurate matching */ ++ if (virAsprintf(&etmp, "%s (enforce)", str) == -1) { ++ VIR_FREE(tmp); ++ return rc; ++ } ++ } ++ ++ if (virFileReadAll(APPARMOR_PROFILES_PATH, MAX_FILE_LEN, &content) < 0) { ++ virReportSystemError(NULL, errno, ++ _("Failed to read AppArmor profiles list " ++ "\'%s\'"), APPARMOR_PROFILES_PATH); ++ if (check_enforcing != 0) ++ VIR_FREE(etmp); ++ VIR_FREE(tmp); ++ return rc; ++ } ++ ++ if (strstr(content, tmp) != NULL) ++ rc = 0; ++ if (check_enforcing != 0) { ++ if (rc == 0 && strstr(content, etmp) != NULL) ++ rc = 1; /* return '1' if loaded and enforcing */ ++ VIR_FREE(etmp); ++ } ++ ++ VIR_FREE(tmp); ++ VIR_FREE(content); ++ ++ return rc; ++} ++ ++static int ++profile_loaded(const char *str) ++{ ++ return profile_status(str, 0); ++} ++ ++/* ++ * profile_status_file returns '-1' on error, '0' if file on disk is in ++ * complain mode and '1' if file on disk is in enforcing mode ++ */ ++static int ++profile_status_file(const char *str) ++{ ++ char profile[PATH_MAX]; ++ char *content = NULL; ++ char *tmp = NULL; ++ int rc = -1; ++ int len; ++ ++ if (snprintf(profile, PATH_MAX, "%s/%s", APPARMOR_DIR "/libvirt", str) ++ > PATH_MAX - 1) { ++ virSecurityReportError(NULL, VIR_ERR_ERROR, ++ "%s", _("profile name exceeds maximum length")); ++ } ++ ++ if (!virFileExists(profile)) { ++ return rc; ++ } ++ ++ if ((len = virFileReadAll(profile, MAX_FILE_LEN, &content)) < 0) { ++ virReportSystemError(NULL, errno, ++ _("Failed to read \'%s\'"), profile); ++ return rc; ++ } ++ ++ /* create string that is ' flags=(complain)\0' */ ++ if (virAsprintf(&tmp, " %s flags=(complain)", str) == -1) { ++ virSecurityReportError(NULL, VIR_ERR_ERROR, ++ "%s", _("could not allocate memory")); ++ VIR_FREE(content); ++ return rc; ++ } ++ ++ if (strstr(content, tmp) != NULL) ++ rc = 0; ++ else ++ rc = 1; ++ ++ VIR_FREE(tmp); ++ VIR_FREE(content); ++ ++ return rc; ++} ++ ++/* ++ * load (add) a profile. Will create one if necessary ++ */ ++static int ++load_profile(virConnectPtr conn, const char *profile, virDomainObjPtr vm, ++ virDomainDiskDefPtr disk) ++{ ++ const char *argv[7]; ++ int rc = -1, status; ++ bool create = true; ++ char *xml = NULL; ++ int pipefd[2]; ++ pid_t child; ++ ++ if (pipe(pipefd) < -1) { ++ virReportSystemError(conn, errno, "%s", _("unable to create pipe")); ++ return rc; ++ } ++ ++ xml = virDomainDefFormat(conn, vm->def, VIR_DOMAIN_XML_SECURE); ++ if (!xml) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ "%s", _("could not format XML")); ++ goto failed; ++ } ++ ++ if (profile_status_file(profile) >= 0) ++ create = false; ++ ++ argv[0] = VIRT_AA_HELPER_PATH; ++ argv[2] = (char *) "-u"; ++ argv[3] = profile; ++ argv[4] = NULL; ++ if (create) ++ argv[1] = (char *) "-c"; ++ else { ++ argv[1] = (char *) "-r"; ++ if (disk && disk->src) { ++ argv[4] = "-f"; ++ argv[5] = disk->src; ++ argv[6] = NULL; ++ } ++ } ++ ++ if (virExec(conn, argv, NULL, NULL, &child, ++ pipefd[0], NULL, NULL, VIR_EXEC_CLEAR_CAPS) < 0) ++ goto clean; ++ ++ /* parent continues here */ ++ if (safewrite(pipefd[1], xml, strlen(xml)) < 0) { ++ virReportSystemError(conn, errno, "%s", _("unable to write to pipe")); ++ goto clean; ++ } ++ close(pipefd[1]); ++ rc = 0; ++ ++ rewait: ++ if (waitpid(child, &status, 0) != child) { ++ if (errno == EINTR) ++ goto rewait; ++ ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ _("Unexpected exit status from virt-aa-helper " ++ "%d pid %lu"), ++ WEXITSTATUS(status), (unsigned long)child); ++ rc = -1; ++ } ++ ++ clean: ++ VIR_FREE(xml); ++ ++ failed: ++ if (pipefd[0] > 0) ++ close(pipefd[0]); ++ if (pipefd[1] > 0) ++ close(pipefd[1]); ++ ++ return rc; ++} ++ ++static int ++remove_profile(const char *profile) ++{ ++ const char *argv[5]; ++ int rc = -1; ++ ++ argv[0] = VIRT_AA_HELPER_PATH; ++ argv[1] = (char *) "-R"; ++ argv[2] = (char *) "-u"; ++ argv[3] = profile; ++ argv[4] = NULL; ++ ++ if (virRun(NULL, argv, NULL) == 0) ++ rc = 0; ++ ++ return rc; ++} ++ ++/* ++ * profile_name is buffer to hold name and len is how many bytes in the ++ * buffer ++ */ ++static int ++get_profile_name(virConnectPtr conn, virDomainObjPtr vm, ++ char *profile_name, const size_t len) ++{ ++ virDomainPtr dom = NULL; ++ int rc = -1; ++ ++ if (len < PROFILE_NAME_SIZE) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ "%s", _("profile_name has wrong size")); ++ return rc; ++ } ++ profile_name[0] = '\0'; ++ strcat(profile_name, AA_PREFIX); ++ ++ /* generate the profile name */ ++ dom = virGetDomain(conn, vm->def->name, vm->def->uuid); ++ dom->id = vm->def->id; ++ ++ if (virDomainGetUUIDString(dom, ++ &profile_name[strlen(profile_name)]) != 0) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ "%s", _("could not find uuid for VM")); ++ return rc; ++ } ++ ++ return 0; ++} ++ ++/* returns -1 on error or profile for libvirtd is unconfined, 0 if complain ++ * mode and 1 if enforcing ++ */ ++static int ++use_apparmor(void) ++{ ++ char libvirt_daemon[PATH_MAX]; ++ int rc = -1; ++ ssize_t len = 0; ++ ++ if ((len = readlink("/proc/self/exe", libvirt_daemon, ++ PATH_MAX - 1)) < 0) { ++ virSecurityReportError(NULL, VIR_ERR_ERROR, ++ "%s", _("could not find libvirtd")); ++ return rc; ++ } ++ libvirt_daemon[len] = '\0'; ++ ++ if (access(APPARMOR_PROFILES_PATH, R_OK) != 0) ++ return rc; ++ ++ return profile_status(libvirt_daemon, 1); ++} ++ ++/* Called on libvirtd startup to see if AppArmor is available */ ++static int ++AppArmorSecurityDriverProbe(void) ++{ ++ char template[PATH_MAX]; ++ ++ if (use_apparmor() < 0) ++ return SECURITY_DRIVER_DISABLE; ++ ++ /* see if template file exists */ ++ if (snprintf(template, PATH_MAX, "%s/TEMPLATE", ++ APPARMOR_DIR "/libvirt") > PATH_MAX - 1) { ++ virSecurityReportError(NULL, VIR_ERR_ERROR, ++ "%s", _("template too large")); ++ return SECURITY_DRIVER_DISABLE; ++ } ++ ++ if (!virFileExists(template)) { ++ virSecurityReportError(NULL, VIR_ERR_ERROR, ++ _("template \'%s\' does not exist"), template); ++ return SECURITY_DRIVER_DISABLE; ++ } ++ ++ return SECURITY_DRIVER_ENABLE; ++} ++ ++/* Security driver initialization. DOI is for 'Domain of Interpretation' and is ++ * currently not used. ++ */ ++static int ++AppArmorSecurityDriverOpen(virConnectPtr conn, virSecurityDriverPtr drv) ++{ ++ virSecurityDriverSetDOI(conn, drv, SECURITY_APPARMOR_VOID_DOI); ++ return 0; ++} ++ ++/* Currently called in qemudStartVMDaemon to setup a 'label'. We look for and ++ * use a profile based on the UUID, otherwise create one based on a template. ++ * Keep in mind that this is called on 'start' with RestoreSecurityLabel being ++ * called on shutdown. ++*/ ++static int ++AppArmorGenSecurityLabel(virConnectPtr conn, virDomainObjPtr vm) ++{ ++ int rc = -1; ++ char profile_name[PROFILE_NAME_SIZE]; ++ ++ profile_name[0] = '\0'; ++ ++ if ((vm->def->seclabel.label) || ++ (vm->def->seclabel.model) || (vm->def->seclabel.imagelabel)) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ "%s", ++ _("security label already defined for VM")); ++ return rc; ++ } ++ ++ if (get_profile_name(conn, vm, profile_name, sizeof(profile_name)) < 0) ++ return rc; ++ ++ /* if the profile is not already loaded, then load one */ ++ if (profile_loaded(profile_name) < 0) { ++ if (load_profile(conn, profile_name, vm, NULL) < 0) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ _("cannot generate AppArmor profile " ++ "\'%s\'"), profile_name); ++ return rc; ++ } ++ } ++ ++ vm->def->seclabel.label = strndup(profile_name, strlen(profile_name)); ++ if (!vm->def->seclabel.label) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ "%s", _("cannot generate AppArmor profile " ++ "name (label)")); ++ goto err; ++ } ++ ++ /* set imagelabel the same as label (but we won't use it) */ ++ vm->def->seclabel.imagelabel = strndup(profile_name, ++ strlen(profile_name)); ++ if (!vm->def->seclabel.imagelabel) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ "%s", ++ _("cannot generate AppArmor profile name " ++ "(imagelabel)")); ++ goto err; ++ } ++ ++ vm->def->seclabel.model = strdup(SECURITY_APPARMOR_NAME); ++ if (!vm->def->seclabel.model) { ++ virReportOOMError(conn); ++ goto err; ++ } ++ ++ rc = 0; ++ goto done; ++ ++ err: ++ remove_profile(profile_name); ++ VIR_FREE(vm->def->seclabel.label); ++ VIR_FREE(vm->def->seclabel.imagelabel); ++ VIR_FREE(vm->def->seclabel.model); ++ done: ++ return rc; ++} ++ ++/* Seen with 'virsh dominfo '. This function only called if the VM is ++ * running. ++ */ ++static int ++AppArmorGetSecurityLabel(virConnectPtr conn, ++ virDomainObjPtr vm, virSecurityLabelPtr sec) ++{ ++ int rc = -1; ++ char profile_name[PROFILE_NAME_SIZE]; ++ ++ profile_name[0] = '\0'; ++ ++ if (get_profile_name(conn, vm, profile_name, sizeof(profile_name)) < 0) ++ return rc; ++ ++ strncpy(sec->label, profile_name, VIR_SECURITY_LABEL_BUFLEN); ++ sec->label[VIR_SECURITY_LABEL_BUFLEN - 1] = '\0'; ++ ++ if ((sec->enforcing = profile_status(profile_name, 1)) < 0) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ "%s", _("error calling profile_status()")); ++ return rc; ++ } ++ ++ return 0; ++} ++ ++/* Called on VM shutdown and destroy. See AppArmorGenSecurityLabel (above) for ++ * more details. Currently called via qemudShutdownVMDaemon. ++ */ ++static int ++AppArmorRestoreSecurityLabel(virConnectPtr conn, virDomainObjPtr vm) ++{ ++ const virSecurityLabelDefPtr secdef = &vm->def->seclabel; ++ int rc = 0; ++ ++ if (secdef->imagelabel) { ++ if ((rc = remove_profile(secdef->label)) != 0) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ _("could not remove profile for \'%s\'"), ++ secdef->label); ++ } ++ VIR_FREE(secdef->model); ++ VIR_FREE(secdef->label); ++ VIR_FREE(secdef->imagelabel); ++ } ++ return rc; ++} ++ ++/* Called via virExecWithHook. Output goes to ++ * LOCAL_STATE_DIR/log/libvirt/qemu/.log ++ */ ++static int ++AppArmorSetSecurityLabel(virConnectPtr conn, ++ virSecurityDriverPtr drv, virDomainObjPtr vm) ++{ ++ const virSecurityLabelDefPtr secdef = &vm->def->seclabel; ++ int rc = -1; ++ char profile_name[PROFILE_NAME_SIZE]; ++ ++ profile_name[0] = '\0'; ++ ++ if (get_profile_name(conn, vm, profile_name, sizeof(profile_name)) < 0) ++ return rc; ++ ++ if (STRNEQ(drv->name, secdef->model)) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ _("security label driver mismatch: " ++ "\'%s\' model configured for domain, but " ++ "hypervisor driver is \'%s\'."), ++ secdef->model, drv->name); ++ if (use_apparmor() > 0) ++ return rc; ++ } ++ ++ if (aa_change_profile(profile_name) < 0) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ _("error calling aa_change_profile()")); ++ return rc; ++ } ++ ++ return 0; ++} ++ ++ ++/* Called when hotplugging */ ++static int ++AppArmorRestoreSecurityImageLabel(virConnectPtr conn, ++ virDomainObjPtr vm, ++ virDomainDiskDefPtr disk) ++{ ++ const virSecurityLabelDefPtr secdef = &vm->def->seclabel; ++ int rc = -1; ++ char profile_name[PROFILE_NAME_SIZE]; ++ ++ profile_name[0] = '\0'; ++ ++ if (secdef->imagelabel) { ++ if (get_profile_name(conn, vm, profile_name, ++ sizeof(profile_name)) < 0) ++ return rc; ++ ++ /* Update the profile only if it is loaded */ ++ if (profile_loaded(secdef->imagelabel) >= 0) { ++ if (load_profile(conn, secdef->imagelabel, vm, NULL) < 0) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ _("cannot update AppArmor profile " ++ "\'%s\'"), ++ secdef->imagelabel); ++ return rc; ++ } ++ } ++ } ++ ++ return 0; ++} ++ ++/* Called when hotplugging */ ++static int ++AppArmorSetSecurityImageLabel(virConnectPtr conn, ++ virDomainObjPtr vm, virDomainDiskDefPtr disk) ++{ ++ const virSecurityLabelDefPtr secdef = &vm->def->seclabel; ++ int rc = -1; ++ char profile_name[PROFILE_NAME_SIZE]; ++ ++ profile_name[0] = '\0'; ++ ++ if (!disk->src) ++ return 0; ++ ++ if (secdef->imagelabel) { ++ /* if the device doesn't exist, error out */ ++ if (!virFileExists(disk->src)) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ _("\'%s\' does not exist"), disk->src); ++ return rc; ++ } ++ ++ if (get_profile_name(conn, vm, profile_name, ++ sizeof(profile_name)) < 0) ++ return rc; ++ ++ /* update the profile only if it is loaded */ ++ if (profile_loaded(secdef->imagelabel) >= 0) { ++ if (load_profile(conn, secdef->imagelabel, vm, disk) < 0) { ++ virSecurityReportError(conn, VIR_ERR_ERROR, ++ _("cannot update AppArmor profile " ++ "\'%s\'"), ++ secdef->imagelabel); ++ return rc; ++ } ++ } ++ } ++ ++ return 0; ++} ++ ++static int ++AppArmorSecurityVerify(virConnectPtr conn, virDomainDefPtr def) ++{ ++ const virSecurityLabelDefPtr secdef = &def->seclabel; ++ ++ if (secdef->type == VIR_DOMAIN_SECLABEL_STATIC) { ++ if (use_apparmor() < 0 || profile_status(secdef->label, 0) < 0) { ++ virSecurityReportError(conn, VIR_ERR_XML_ERROR, ++ _("Invalid security label \'%s\'"), ++ secdef->label); ++ return -1; ++ } ++ } ++ return 0; ++} ++ ++virSecurityDriver virAppArmorSecurityDriver = { ++ .name = SECURITY_APPARMOR_NAME, ++ .probe = AppArmorSecurityDriverProbe, ++ .open = AppArmorSecurityDriverOpen, ++ .domainSecurityVerify = AppArmorSecurityVerify, ++ .domainSetSecurityImageLabel = AppArmorSetSecurityImageLabel, ++ .domainRestoreSecurityImageLabel = AppArmorRestoreSecurityImageLabel, ++ .domainGenSecurityLabel = AppArmorGenSecurityLabel, ++ .domainGetSecurityLabel = AppArmorGetSecurityLabel, ++ .domainRestoreSecurityLabel = AppArmorRestoreSecurityLabel, ++ .domainSetSecurityLabel = AppArmorSetSecurityLabel, ++}; +Index: libvirt-0.7.0/src/security_apparmor.h +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ libvirt-0.7.0/src/security_apparmor.h 2009-09-23 16:40:10.000000000 -0500 +@@ -0,0 +1,23 @@ ++ ++/* ++ * Copyright (C) 2009 Canonical Ltd. ++ * ++ * This library is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU Lesser General Public ++ * License as published by the Free Software Foundation; either ++ * version 2.1 of the License, or (at your option) any later version. ++ * ++ * Author: ++ * Jamie Strandboge ++ * ++ */ ++#ifndef __VIR_SECURITY_APPARMOR_H__ ++#define __VIR_SECURITY_APPARMOR_H__ ++ ++extern virSecurityDriver virAppArmorSecurityDriver; ++ ++#define AA_PREFIX "libvirt-" ++#define PROFILE_NAME_SIZE 8 + VIR_UUID_STRING_BUFLEN /* AA_PREFIX + uuid */ ++#define MAX_FILE_LEN (1024*1024*10) /* 10MB limit for sanity check */ ++ ++#endif /* __VIR_SECURITY_APPARMOR_H__ */ +Index: libvirt-0.7.0/src/security.c +=================================================================== +--- libvirt-0.7.0.orig/src/security.c 2009-09-23 11:43:44.000000000 -0500 ++++ libvirt-0.7.0/src/security.c 2009-09-23 16:40:10.000000000 -0500 +@@ -20,10 +20,17 @@ + #include "security_selinux.h" + #endif + ++#ifdef WITH_SECDRIVER_APPARMOR ++#include "security_apparmor.h" ++#endif ++ + static virSecurityDriverPtr security_drivers[] = { + #ifdef WITH_SECDRIVER_SELINUX + &virSELinuxSecurityDriver, + #endif ++#ifdef WITH_SECDRIVER_APPARMOR ++ &virAppArmorSecurityDriver, ++#endif + NULL + }; + +Index: libvirt-0.7.0/src/virt-aa-helper.c +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ libvirt-0.7.0/src/virt-aa-helper.c 2009-09-23 16:41:25.000000000 -0500 +@@ -0,0 +1,962 @@ ++ ++/* ++ * virt-aa-helper: wrapper program used by AppArmor security driver. ++ * Copyright (C) 2009 Canonical Ltd. ++ * ++ * See COPYING.LIB for the License of this software ++ * ++ * Author: ++ * Jamie Strandboge ++ * ++ */ ++ ++#include ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include "c-ctype.h" ++#include ++#include ++#include ++#include ++ ++#include "internal.h" ++#include "buf.h" ++#include "util.h" ++#include "memory.h" ++ ++#include "security.h" ++#include "security_apparmor.h" ++#include "domain_conf.h" ++#include "xml.h" ++#include "uuid.h" ++ ++static char *progname; ++ ++typedef struct { ++ char uuid[PROFILE_NAME_SIZE]; /* UUID of vm */ ++ bool dryrun; /* dry run */ ++ char cmd; /* 'c' create ++ * 'a' add (load) ++ * 'r' replace ++ * 'R' remove */ ++ char *files; /* list of files */ ++ virDomainDefPtr def; /* VM definition */ ++ virCapsPtr caps; /* VM capabilities */ ++ char *hvm; /* type of hypervisor (eg hvm, xen) */ ++ int bits; /* bits in the guest */ ++ char *newdisk; /* newly added disk */ ++} vahControl; ++ ++static int ++vahDeinit(vahControl * ctl) ++{ ++ if (ctl == NULL) ++ return -1; ++ ++ VIR_FREE(ctl->def); ++ if (ctl->caps) ++ virCapabilitiesFree(ctl->caps); ++ free(ctl->files); ++ free(ctl->hvm); ++ free(ctl->newdisk); ++ ++ return 0; ++} ++ ++/* ++ * Print usage ++ */ ++static void ++vah_usage(void) ++{ ++ fprintf(stdout, "\n%s [options] [< def.xml]\n\n" ++ " Options:\n" ++ " -a | --add load profile\n" ++ " -c | --create create profile from template\n" ++ " -D | --delete unload and delete profile\n" ++ " -r | --replace reload profile\n" ++ " -R | --remove unload profile\n" ++ " -h | --help this help\n" ++ " -u | --uuid uuid (profile name)\n" ++ " -H | --hvm hypervisor type\n" ++ " -b | --bits architecture bits\n" ++ "\n", progname); ++ ++ fprintf(stdout, "This command is intended to be used by libvirtd " ++ "and not used directly.\n"); ++ return; ++} ++ ++static void ++vah_error(vahControl * ctl, int doexit, const char *str) ++{ ++ fprintf(stderr, _("%s: error: %s\n"), progname, str); ++ ++ if (doexit) { ++ if (ctl != NULL) ++ vahDeinit(ctl); ++ exit(EXIT_FAILURE); ++ } ++} ++ ++static void ++vah_warning(const char *str) ++{ ++ fprintf(stderr, _("%s: warning: %s\n"), progname, str); ++} ++ ++static void ++vah_info(const char *str) ++{ ++ fprintf(stderr, _("%s:\n%s\n"), progname, str); ++} ++ ++/* ++ * Replace @oldstr in @orig with @repstr ++ * @len is number of bytes allocated for @orig. Assumes @orig, @oldstr and ++ * @repstr are null terminated ++ */ ++static int ++replace_string(char *orig, const size_t len, const char *oldstr, ++ const char *repstr) ++{ ++ int idx; ++ char *pos = NULL; ++ char *tmp = NULL; ++ ++ if ((pos = strstr(orig, oldstr)) == NULL) { ++ vah_error(NULL, 0, "could not find replacement string"); ++ return -1; ++ } ++ ++ if (VIR_ALLOC_N(tmp, len) < 0) { ++ vah_error(NULL, 0, "could not allocate memory for string"); ++ return -1; ++ } ++ tmp[0] = '\0'; ++ ++ idx = abs(pos - orig); ++ ++ /* copy everything up to oldstr */ ++ strncat(tmp, orig, idx); ++ ++ /* add the replacement string */ ++ if (strlen(tmp) + strlen(repstr) > len - 1) { ++ vah_error(NULL, 0, "not enough space in target buffer"); ++ VIR_FREE(tmp); ++ return -1; ++ } ++ strcat(tmp, repstr); ++ ++ /* add everything after oldstr */ ++ if (strlen(tmp) + strlen(orig) - (idx + strlen(oldstr)) > len - 1) { ++ vah_error(NULL, 0, "not enough space in target buffer"); ++ VIR_FREE(tmp); ++ return -1; ++ } ++ strncat(tmp, orig + idx + strlen(oldstr), ++ strlen(orig) - (idx + strlen(oldstr))); ++ ++ strncpy(orig, tmp, len); ++ orig[len - 1] = '\0'; ++ VIR_FREE(tmp); ++ ++ return 0; ++} ++ ++/* ++ * run an apparmor_parser command ++ */ ++static int ++parserCommand(const char *profile_name, const char cmd) ++{ ++ const char *argv[4]; ++ char flag[3]; ++ char profile[PATH_MAX]; ++ ++ if (strchr("arR", cmd) == NULL) { ++ vah_error(NULL, 0, "invalid flag"); ++ return -1; ++ } ++ ++ snprintf(flag, 3, "-%c", cmd); ++ ++ if (snprintf(profile, PATH_MAX, "%s/%s", ++ APPARMOR_DIR "/libvirt", profile_name) > PATH_MAX - 1) { ++ vah_error(NULL, 0, "profile name exceeds maximum length"); ++ return -1; ++ } ++ ++ if (!virFileExists(profile)) { ++ vah_error(NULL, 0, "profile does not exist"); ++ return -1; ++ } ++ ++ argv[0] = (char *) "/sbin/apparmor_parser"; ++ argv[1] = flag; ++ argv[2] = profile; ++ argv[3] = NULL; ++ ++ if (virRun(NULL, argv, NULL) != 0) { ++ vah_error(NULL, 0, "failed to run apparmor_parser"); ++ return -1; ++ } ++ ++ return 0; ++} ++ ++/* ++ * Update the dynamic files ++ */ ++static int ++update_include_file(const char *include_file, const char *included_files) ++{ ++ int rc = -1; ++ int plen; ++ int fd; ++ char *pcontent = NULL; ++ const char *warning = ++ "# DO NOT EDIT THIS FILE DIRECTLY. IT IS MANAGED BY LIBVIRT.\n"; ++ ++ if (virAsprintf(&pcontent, "%s%s", warning, included_files) == -1) { ++ vah_error(NULL, 0, "could not allocate memory for profile"); ++ return rc; ++ } ++ ++ plen = strlen(pcontent); ++ if (plen > MAX_FILE_LEN) { ++ vah_error(NULL, 0, "invalid length for new profile"); ++ goto clean; ++ } ++ ++ /* only update the disk profile if it is different */ ++ if (virFileExists(include_file)) { ++ char *existing = NULL; ++ int flen = virFileReadAll(include_file, MAX_FILE_LEN, &existing); ++ if (flen < 0) ++ goto clean; ++ ++ if (flen == plen) { ++ if (STREQLEN(existing, pcontent, plen)) { ++ rc = 0; ++ VIR_FREE(existing); ++ goto clean; ++ } ++ } ++ VIR_FREE(existing); ++ } ++ ++ /* write the file */ ++ if ((fd = open(include_file, O_CREAT | O_TRUNC | O_WRONLY, 0644)) == -1) { ++ vah_error(NULL, 0, "failed to create include file"); ++ goto clean; ++ } ++ ++ if (safewrite(fd, pcontent, plen) < 0) { /* don't write the '\0' */ ++ close(fd); ++ vah_error(NULL, 0, "failed to write to profile"); ++ goto clean; ++ } ++ ++ if (close(fd) != 0) { ++ vah_error(NULL, 0, "failed to close or write to profile"); ++ goto clean; ++ } ++ rc = 0; ++ ++ clean: ++ VIR_FREE(pcontent); ++ ++ return rc; ++} ++ ++/* ++ * Create a profile based on a template ++ */ ++static int ++create_profile(const char *profile, const char *profile_name, ++ const char *profile_files) ++{ ++ char template[PATH_MAX]; ++ char *tcontent = NULL; ++ char *pcontent = NULL; ++ char *replace_name = NULL; ++ char *replace_files = NULL; ++ const char *template_name = "\nprofile LIBVIRT_TEMPLATE"; ++ const char *template_end = "\n}"; ++ int tlen, plen; ++ int fd; ++ int rc = -1; ++ ++ if (virFileExists(profile)) { ++ vah_error(NULL, 0, "profile exists"); ++ goto end; ++ } ++ ++ if (snprintf(template, PATH_MAX, "%s/TEMPLATE", ++ APPARMOR_DIR "/libvirt") > PATH_MAX - 1) { ++ vah_error(NULL, 0, "template name exceeds maximum length"); ++ goto end; ++ } ++ ++ if (!virFileExists(template)) { ++ vah_error(NULL, 0, "template does not exist"); ++ goto end; ++ } ++ ++ if ((tlen = virFileReadAll(template, MAX_FILE_LEN, &tcontent)) < 0) { ++ vah_error(NULL, 0, "failed to read AppArmor template"); ++ goto end; ++ } ++ ++ if (strstr(tcontent, template_name) == NULL) { ++ vah_error(NULL, 0, "no replacement string in template"); ++ goto clean_tcontent; ++ } ++ ++ if (strstr(tcontent, template_end) == NULL) { ++ vah_error(NULL, 0, "no replacement string in template"); ++ goto clean_tcontent; ++ } ++ ++ /* '\nprofile \0' */ ++ if (virAsprintf(&replace_name, "\nprofile %s", profile_name) == -1) { ++ vah_error(NULL, 0, "could not allocate memory for profile name"); ++ goto clean_tcontent; ++ } ++ ++ /* '\n\n}\0' */ ++ if (virAsprintf(&replace_files, "\n%s\n}", profile_files) == -1) { ++ vah_error(NULL, 0, "could not allocate memory for profile files"); ++ VIR_FREE(replace_name); ++ goto clean_tcontent; ++ } ++ ++ plen = tlen + strlen(replace_name) - strlen(template_name) + ++ strlen(replace_files) - strlen(template_end) + 1; ++ if (plen > MAX_FILE_LEN || plen < tlen) { ++ vah_error(NULL, 0, "invalid length for new profile"); ++ goto clean_replace; ++ } ++ ++ if (VIR_ALLOC_N(pcontent, plen) < 0) { ++ vah_error(NULL, 0, "could not allocate memory for profile"); ++ goto clean_replace; ++ } ++ pcontent[0] = '\0'; ++ strcpy(pcontent, tcontent); ++ ++ if (replace_string(pcontent, plen, template_name, replace_name) < 0) ++ goto clean_all; ++ ++ if (replace_string(pcontent, plen, template_end, replace_files) < 0) ++ goto clean_all; ++ ++ /* write the file */ ++ if ((fd = open(profile, O_CREAT | O_EXCL | O_WRONLY, 0644)) == -1) { ++ vah_error(NULL, 0, "failed to create profile"); ++ goto clean_all; ++ } ++ ++ if (safewrite(fd, pcontent, plen - 1) < 0) { /* don't write the '\0' */ ++ close(fd); ++ vah_error(NULL, 0, "failed to write to profile"); ++ goto clean_all; ++ } ++ ++ if (close(fd) != 0) { ++ vah_error(NULL, 0, "failed to close or write to profile"); ++ goto clean_all; ++ } ++ rc = 0; ++ ++ clean_all: ++ VIR_FREE(pcontent); ++ clean_replace: ++ VIR_FREE(replace_name); ++ VIR_FREE(replace_files); ++ clean_tcontent: ++ VIR_FREE(tcontent); ++ end: ++ return rc; ++} ++ ++/* ++ * Load an existing profile ++ */ ++static int ++parserLoad(const char *profile_name) ++{ ++ return parserCommand(profile_name, 'a'); ++} ++ ++/* ++ * Remove an existing profile ++ */ ++static int ++parserRemove(const char *profile_name) ++{ ++ return parserCommand(profile_name, 'R'); ++} ++ ++/* ++ * Replace an existing profile ++ */ ++static int ++parserReplace(const char *profile_name) ++{ ++ return parserCommand(profile_name, 'r'); ++} ++ ++static int ++valid_uuid(const char *uuid) ++{ ++ int i; ++ ++ if (strlen(uuid) != PROFILE_NAME_SIZE - 1) ++ return -1; ++ ++ if (STRNEQLEN(AA_PREFIX, uuid, strlen(AA_PREFIX))) ++ return -1; ++ ++ for (i = strlen(AA_PREFIX); i < PROFILE_NAME_SIZE - 1; i++) { ++ if (uuid[i] == '-') ++ continue; ++ if (!c_isxdigit(uuid[i])) ++ return -1; ++ } ++ return 0; ++} ++ ++static int ++valid_name(const char *name) ++{ ++ /* just try to filter out any dangerous characters in the name that can be ++ * used to subvert the profile */ ++ char *bad = (char *) " /[]*"; ++ int i; ++ ++ if (strlen(name) == 0 || strlen(name) > PATH_MAX - 1) ++ return -1; ++ ++ for (i = 0; i < strlen(bad); i++) ++ if (strchr(name, bad[i]) != NULL) ++ return -1; ++ ++ return 0; ++} ++ ++/* ++ * Don't allow access to special files or restricted paths such as /bin, /sbin, ++ * /usr/bin, /usr/sbin and /etc. This is in an effort to prevent read/write ++ * access to system files which could be used to elevate privileges. This is a ++ * safety measure in case libvirtd is under a restrictive profile and is ++ * subverted and trying to escape confinement. ++ * ++ * Note that we cannot exclude block devices because they are valid devices. ++ * The TEMPLATE file can be adjusted to explicitly disallow these if needed. ++ * ++ * RETURN: -1 on error, 0 if ok, 1 if blocked ++ */ ++static int ++valid_path(const char *path, const bool readonly) ++{ ++ struct stat sb; ++ int i; ++ int npaths = 20; ++ char **restricted; ++ int rc = -1; ++ ++ if (path == NULL || strlen(path) > PATH_MAX - 1) { ++ vah_error(NULL, 0, "bad pathname"); ++ return rc; ++ } ++ ++ /* Don't allow double quotes, since we use them to quote the filename ++ * and this will confuse the apparmor parser. ++ */ ++ if (strchr(path, '"') != NULL) ++ return 1; ++ ++ if (VIR_ALLOC_N(restricted, npaths) < 0) { ++ vah_error(NULL, 0, "could not allocate memory for paths"); ++ return rc; ++ } ++ ++ restricted[0] = (char *) "/bin/"; ++ restricted[1] = (char *) "/etc/"; ++ restricted[2] = (char *) "/lib"; ++ restricted[3] = (char *) "/lost+found/"; ++ restricted[4] = (char *) "/proc/"; ++ restricted[5] = (char *) "/sbin/"; ++ restricted[6] = (char *) "/selinux/"; ++ restricted[7] = (char *) "/sys/"; ++ restricted[8] = (char *) "/usr/bin/"; ++ restricted[9] = (char *) "/usr/lib"; ++ restricted[10] = (char *) "/usr/sbin/"; ++ restricted[11] = (char *) "/usr/share/"; ++ restricted[12] = (char *) "/usr/local/bin/"; ++ restricted[13] = (char *) "/usr/local/etc/"; ++ restricted[14] = (char *) "/usr/local/lib"; ++ restricted[15] = (char *) "/usr/local/sbin/"; ++ /* these paths are ok for readonly */ ++ restricted[16] = (char *) "/boot/"; ++ restricted[17] = (char *) "/vmlinuz"; ++ restricted[18] = (char *) "/initrd"; ++ restricted[19] = (char *) "/initrd.img"; ++ ++ /* don't check paths ok for readonly */ ++ if (readonly) ++ npaths = 16; ++ ++ if (!virFileExists(path)) ++ vah_warning("path does not exist, skipping file type checks"); ++ else { ++ if (stat(path, &sb) == -1) ++ goto end; ++ ++ rc = 1; ++ switch (sb.st_mode & S_IFMT) { ++ case S_IFDIR: ++ goto end; ++ break; ++ case S_IFIFO: ++ goto end; ++ break; ++ case S_IFSOCK: ++ goto end; ++ break; ++ default: ++ break; ++ } ++ } ++ ++ for (i = 0; i < npaths; i++) { ++ if (strlen(path) < strlen(restricted[i])) ++ continue; ++ ++ if (STREQLEN(path, restricted[i], strlen(restricted[i]))) { ++ rc = 1; ++ goto end; ++ } ++ } ++ rc = 0; ++ ++ end: ++ VIR_FREE(restricted); ++ return rc; ++} ++ ++static int ++get_definition(vahControl * ctl, const char *xmlStr) ++{ ++ int rc = -1; ++ struct utsname utsname; ++ virCapsGuestPtr guest; /* this is freed when caps is freed */ ++ ++ /* ++ * mock up some capabilities. We don't currently use these explicitly, ++ * but need them for virDomainDefParseString(). ++ */ ++ ++ /* Really, this never fails - look at the man-page. */ ++ uname (&utsname); ++ ++ /* set some defaults if not specified */ ++ if (!ctl->bits) ++ ctl->bits = 32; ++ if (!ctl->hvm) ++ ctl->hvm = strdup("hvm"); ++ ++ if ((ctl->caps = virCapabilitiesNew(utsname.machine, 1, 1)) == NULL) { ++ vah_error(ctl, 0, "could not allocate memory"); ++ goto exit; ++ } ++ ++ if ((guest = virCapabilitiesAddGuest(ctl->caps, ++ ctl->hvm, ++ utsname.machine, ++ ctl->bits, ++ NULL, ++ NULL, ++ 0, ++ NULL)) == NULL) { ++ vah_error(ctl, 0, "could not allocate memory"); ++ goto exit; ++ } ++ ++ ctl->def = virDomainDefParseString(NULL, ctl->caps, xmlStr, 0); ++ if (ctl->def == NULL) { ++ vah_error(ctl, 0, "could not parse XML"); ++ goto exit; ++ } ++ ++ if (!ctl->def->name) { ++ vah_error(ctl, 0, "could not find name in XML"); ++ goto exit; ++ } ++ ++ if (valid_name(ctl->def->name) != 0) { ++ vah_error(ctl, 0, "bad name"); ++ goto exit; ++ } ++ ++ rc = 0; ++ ++ exit: ++ return rc; ++} ++ ++static int ++vah_add_file(virBufferPtr buf, const char *path, const char *perms) ++{ ++ char *tmp = NULL; ++ int rc = -1; ++ bool readonly = true; ++ ++ if (path == NULL) ++ return rc; ++ ++ if (virFileExists(path)) { ++ if ((tmp = realpath(path, NULL)) == NULL) { ++ vah_error(NULL, 0, path); ++ vah_error(NULL, 0, " could not find realpath for disk"); ++ return rc; ++ } ++ } else ++ if ((tmp = strdup(path)) == NULL) ++ return rc; ++ ++ if (strchr(perms, 'w') != NULL) ++ readonly = false; ++ ++ rc = valid_path(tmp, readonly); ++ if (rc != 0) { ++ if (rc > 0) { ++ vah_error(NULL, 0, path); ++ vah_error(NULL, 0, " skipped restricted file"); ++ } ++ goto clean; ++ } ++ ++ virBufferVSprintf(buf, " \"%s\" %s,\n", tmp, perms); ++ ++ if (virBufferError(buf)) { ++ vah_error(NULL, 0, "failed to allocate file buffer"); ++ rc = -1; ++ } ++ ++ clean: ++ free(tmp); ++ ++ return rc; ++} ++ ++static int ++get_files(vahControl * ctl) ++{ ++ virBuffer buf = VIR_BUFFER_INITIALIZER; ++ virBuffer uuid_buf = VIR_BUFFER_INITIALIZER; ++ int i; ++ int rc = -1; ++ char *uuid; ++ char uuidstr[VIR_UUID_STRING_BUFLEN]; ++ ++ /* verify uuid is same as what we were given on the command line */ ++ virUUIDFormat(ctl->def->uuid, uuidstr); ++ virBufferVSprintf(&uuid_buf, "%s%s", AA_PREFIX, uuidstr); ++ if (virBufferError(&uuid_buf)) { ++ vah_error(ctl, 0, "failed to allocate file buffer"); ++ return rc; ++ } ++ uuid = virBufferContentAndReset(&uuid_buf); ++ if (STRNEQ(uuid, ctl->uuid)) { ++ vah_error(ctl, 0, "given uuid does not match XML uuid"); ++ goto clean; ++ } ++ ++ for (i = 0; i < ctl->def->ndisks; i++) ++ if (ctl->def->disks[i] && ctl->def->disks[i]->src) ++ if (vah_add_file(&buf, ctl->def->disks[i]->src, "rw") != 0) ++ goto clean; ++ ++ for (i = 0; i < ctl->def->nserials; i++) ++ if (ctl->def->serials[i] && ctl->def->serials[i]->data.file.path) ++ if (vah_add_file(&buf, ++ ctl->def->serials[i]->data.file.path, "w") != 0) ++ goto clean; ++ ++ if (ctl->def->console && ctl->def->console->data.file.path) ++ if (vah_add_file(&buf, ctl->def->console->data.file.path, "w") != 0) ++ goto clean; ++ ++ if (ctl->def->os.kernel && ctl->def->os.kernel) ++ if (vah_add_file(&buf, ctl->def->os.kernel, "r") != 0) ++ goto clean; ++ ++ if (ctl->def->os.initrd && ctl->def->os.initrd) ++ if (vah_add_file(&buf, ctl->def->os.initrd, "r") != 0) ++ goto clean; ++ ++ if (ctl->def->os.loader && ctl->def->os.loader) ++ if (vah_add_file(&buf, ctl->def->os.loader, "r") != 0) ++ goto clean; ++ ++ /* needs patch to hostusb.h to work ++ for (i = 0; i < ctl->def->nhostdevs; i++) ++ if (ctl->def->hostdevs[i]) { ++ virDomainHostdevDefPtr hostdev = ctl->def->hostdevs[i]; ++ if (hostdev->source.subsys.type == ++ VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_USB) { ++ usbDevice *usb = usbGetDevice(NULL, ++ hostdev->source.subsys.u.usb.bus, ++ hostdev->source.subsys.u.usb.device); ++ if (usb == NULL) ++ continue; ++ rc = vah_add_file(&buf, usb->path, "rw"); ++ usbFreeDevice(NULL, usb); ++ if (rc != 0) ++ goto clean; ++ } ++ } ++ */ ++ ++ if (ctl->newdisk) ++ if (vah_add_file(&buf, ctl->newdisk, "rw") != 0) ++ goto clean; ++ ++ rc = 0; ++ ctl->files = virBufferContentAndReset(&buf); ++ clean: ++ VIR_FREE(uuid); ++ return rc; ++} ++ ++static int ++vahParseArgv(vahControl * ctl, int argc, char **argv) ++{ ++ int arg, idx = 0; ++ struct option opt[] = { ++ {"add", 0, 0, 'a'}, ++ {"create", 0, 0, 'c'}, ++ {"dryrun", 0, 0, 'd'}, ++ {"delete", 0, 0, 'D'}, ++ {"add-file", 0, 0, 'f'}, ++ {"help", 0, 0, 'h'}, ++ {"replace", 0, 0, 'r'}, ++ {"remove", 0, 0, 'R'}, ++ {"uuid", 1, 0, 'u'}, ++ {"hvm", 1, 0, 'H'}, ++ {"bits", 1, 0, 'b'}, ++ {0, 0, 0, 0} ++ }; ++ int bits; ++ ++ while ((arg = getopt_long(argc, argv, "acdDhrRH:b:u:f:", opt, ++ &idx)) != -1) { ++ switch (arg) { ++ case 'a': ++ ctl->cmd = 'a'; ++ break; ++ case 'b': ++ bits = atoi(optarg); ++ if (bits == 32 || bits == 64) ++ ctl->bits = bits; ++ else ++ vah_error(ctl, 1, "invalid bits (should be 32 or 64)"); ++ break; ++ case 'c': ++ ctl->cmd = 'c'; ++ break; ++ case 'd': ++ ctl->dryrun = true; ++ break; ++ case 'D': ++ ctl->cmd = 'D'; ++ break; ++ case 'f': ++ if ((ctl->newdisk = strdup(optarg)) == NULL) ++ vah_error(ctl, 1, "could not allocate memory for disk"); ++ break; ++ case 'h': ++ vah_usage(); ++ exit(EXIT_SUCCESS); ++ break; ++ case 'H': ++ if ((ctl->hvm = strdup(optarg)) == NULL) ++ vah_error(ctl, 1, "could not allocate memory for hvm"); ++ break; ++ case 'r': ++ ctl->cmd = 'r'; ++ break; ++ case 'R': ++ ctl->cmd = 'R'; ++ break; ++ case 'u': ++ if (strlen(optarg) > PROFILE_NAME_SIZE - 1) ++ vah_error(ctl, 1, "invalid UUID"); ++ strncpy((char *) ctl->uuid, optarg, PROFILE_NAME_SIZE); ++ ctl->uuid[PROFILE_NAME_SIZE - 1] = '\0'; ++ break; ++ default: ++ vah_error(ctl, 1, "unsupported option"); ++ break; ++ } ++ } ++ if (strchr("acDrR", ctl->cmd) == NULL) ++ vah_error(ctl, 1, "bad command"); ++ ++ if (valid_uuid(ctl->uuid) != 0) ++ vah_error(ctl, 1, "invalid UUID"); ++ ++ if (!ctl->cmd) { ++ vah_usage(); ++ exit(EXIT_FAILURE); ++ } ++ ++ if (ctl->cmd == 'c' || ctl->cmd == 'r') { ++ char *xmlStr = NULL; ++ if (virFileReadLimFD(STDIN_FILENO, MAX_FILE_LEN, &xmlStr) < 0) ++ vah_error(ctl, 1, "could not read xml file"); ++ ++ if (get_definition(ctl, xmlStr) != 0 || ctl->def == NULL) { ++ VIR_FREE(xmlStr); ++ vah_error(ctl, 1, "could not get VM definition"); ++ } ++ VIR_FREE(xmlStr); ++ ++ if (get_files(ctl) != 0) ++ vah_error(ctl, 1, "invalid VM definition"); ++ } ++ return 0; ++} ++ ++ ++/* ++ * virt-aa-helper -c -u UUID < file.xml ++ * virt-aa-helper -r -u UUID [-f ] < file.xml ++ * virt-aa-helper -a -u UUID ++ * virt-aa-helper -R -u UUID ++ * virt-aa-helper -D -u UUID ++ */ ++int ++main(int argc, char **argv) ++{ ++ vahControl _ctl, *ctl = &_ctl; ++ virBuffer buf = VIR_BUFFER_INITIALIZER; ++ int rc = -1; ++ char profile[PATH_MAX]; ++ char include_file[PATH_MAX]; ++ ++ /* clear the environment */ ++ environ = NULL; ++ if (setenv("PATH", "/sbin:/usr/sbin", 1) != 0) { ++ vah_error(ctl, 1, "could not set PATH"); ++ } ++ if (setenv("IFS", " \t\n", 1) != 0) { ++ vah_error(ctl, 1, "could not set IFS"); ++ } ++ ++ if (!(progname = strrchr(argv[0], '/'))) ++ progname = argv[0]; ++ else ++ progname++; ++ ++ memset(ctl, 0, sizeof(vahControl)); ++ ++ if (vahParseArgv(ctl, argc, argv) != 0) ++ vah_error(ctl, 1, "could not parse arguments"); ++ ++ if (snprintf(profile, PATH_MAX, "%s/%s", ++ APPARMOR_DIR "/libvirt", ctl->uuid) > PATH_MAX - 1) ++ vah_error(ctl, 1, "profile name exceeds maximum length"); ++ ++ if (snprintf(include_file, PATH_MAX, "%s/%s.files", ++ APPARMOR_DIR "/libvirt", ctl->uuid) > PATH_MAX - 1) ++ vah_error(ctl, 1, "disk profile name exceeds maximum length"); ++ ++ if (ctl->cmd == 'a') ++ rc = parserLoad(ctl->uuid); ++ else if (ctl->cmd == 'R' || ctl->cmd == 'D') { ++ rc = parserRemove(ctl->uuid); ++ if (ctl->cmd == 'D') { ++ unlink(include_file); ++ unlink(profile); ++ } ++ } else if (ctl->cmd == 'c' || ctl->cmd == 'r') { ++ char *included_files = NULL; ++ ++ if (ctl->cmd == 'c' && virFileExists(profile)) ++ vah_error(ctl, 1, "profile exists"); ++ ++ virBufferVSprintf(&buf, " %s/log/libvirt/**/%s.log w,\n", ++ LOCAL_STATE_DIR, ctl->def->name); ++ virBufferVSprintf(&buf, " %s/run/libvirt/**/%s.monitor rw,\n", ++ LOCAL_STATE_DIR, ctl->def->name); ++ virBufferVSprintf(&buf, " %s/run/libvirt/**/%s.pid rwk,\n", ++ LOCAL_STATE_DIR, ctl->def->name); ++ if (ctl->files) ++ virBufferVSprintf(&buf, "%s", ctl->files); ++ ++ if (virBufferError(&buf)) ++ vah_error(ctl, 1, "failed to allocate buffer"); ++ ++ included_files = virBufferContentAndReset(&buf); ++ ++ /* (re)create the include file using included_files */ ++ if (ctl->dryrun) { ++ vah_info(include_file); ++ vah_info(included_files); ++ rc = 0; ++ } else if ((rc = update_include_file(include_file, ++ included_files)) != 0) ++ goto clean; ++ ++ ++ /* create the profile from TEMPLATE */ ++ if (ctl->cmd == 'c') { ++ char *tmp = NULL; ++ if (virAsprintf(&tmp, " #include \n", ++ ctl->uuid) == -1) { ++ vah_error(ctl, 0, "could not allocate memory"); ++ goto clean; ++ } ++ ++ if (ctl->dryrun) { ++ vah_info(profile); ++ vah_info(ctl->uuid); ++ vah_info(tmp); ++ rc = 0; ++ } else if ((rc = create_profile(profile, ctl->uuid, tmp)) != 0) { ++ vah_error(ctl, 0, "could not create profile"); ++ unlink(include_file); ++ } ++ VIR_FREE(tmp); ++ } ++ ++ if (rc == 0 && !ctl->dryrun) { ++ if (ctl->cmd == 'c') ++ rc = parserLoad(ctl->uuid); ++ else ++ rc = parserReplace(ctl->uuid); ++ ++ /* cleanup */ ++ if (rc != 0) { ++ unlink(include_file); ++ if (ctl->cmd == 'c') ++ unlink(profile); ++ } ++ } ++ clean: ++ VIR_FREE(included_files); ++ } ++ ++ vahDeinit(ctl); ++ exit(rc == 0 ? EXIT_SUCCESS : EXIT_FAILURE); ++} +Index: libvirt-0.7.0/tests/virt-aa-helper-test +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ libvirt-0.7.0/tests/virt-aa-helper-test 2009-09-23 16:45:39.000000000 -0500 +@@ -0,0 +1,250 @@ ++#!/bin/sh ++set -e ++ ++output="/dev/null" ++use_valgrind="" ++ld_library_path="../src/.libs/" ++if [ ! -z "$1" ] && [ "$1" = "-d" ]; then ++ output="/dev/stdout" ++ shift ++fi ++ ++exe="../src/.libs/virt-aa-helper" ++if [ ! -z "$1" ]; then ++ if [ "$1" = "-v" ]; then ++ use_valgrind="yes" ++ shift ++ fi ++ if [ -n "$1" ]; then ++ exe="$1" ++ shift ++ fi ++fi ++ ++if [ ! -x "$exe" ]; then ++ echo "Could not find '$exe'" ++ exit 1 ++fi ++ ++echo "testing `basename $exe`" >$output ++if [ "$use_valgrind" = "yes" ]; then ++ exe="valgrind --error-exitcode=2 --track-origins=yes $exe" ++fi ++ ++extra_args="--dryrun" ++errors=0 ++ ++tmpdir=`mktemp -d` ++trap "rm -rf $tmpdir" EXIT HUP INT QUIT TERM ++ ++template_xml="$tmpdir/template.xml" ++test_xml="$tmpdir/test.xml" ++ ++uuid="00000000-0000-0000-0000-0123456789ab" ++disk1="$tmpdir/1.img" ++disk2="$tmpdir/2.img" ++relative_disk1="$tmpdir/./../`basename $tmpdir`//./1.img" ++nonexistent="$tmpdir/nonexistant.img" ++bad_disk="/etc/passwd" ++valid_uuid="libvirt-$uuid" ++nonexistent_uuid="libvirt-00000000-0000-0000-0000-000000000001" ++ ++cat > "$template_xml" < ++ virt-aa-helper-test ++ ###UUID### ++ 524288 ++ 524288 ++ 1 ++ ++ hvm ++ ++ ++ ++ ++ ++ ++ destroy ++ restart ++ destroy ++ ++ /usr/bin/kvm ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++EOM ++ ++touch "$disk1" "$disk2" ++ ++testme() { ++ expected="$1" ++ outstr="$2" ++ args="$3" ++ input="" ++ ++ if [ -n "$4" ]; then ++ input="$4" ++ if [ ! -e "$input" ]; then ++ echo "FAIL: could not find $input" >$output ++ echo "FAIL: could not find $input" ++ echo " '$extra_args $args': " ++ errors=$(($errors + 1)) ++ fi ++ fi ++ ++ echo -n " $outstr: " >$output ++ echo -n " '$extra_args $args" >$output ++ if [ -n "$input" ]; then ++ echo -n " < $input" >$output ++ fi ++ echo "': " >$output ++ set +e ++ if [ -n "$input" ]; then ++ LD_LIBRARY_PATH="$ld_library_path" $exe $extra_args $args < $input >$output 2>&1 ++ else ++ LD_LIBRARY_PATH="$ld_library_path" $exe $extra_args $args >$output 2>&1 ++ fi ++ rc="$?" ++ set -e ++ if [ "$rc" = "$expected" ]; then ++ echo "pass" >$output ++ else ++ echo "FAIL: exited with '$rc'" >$output ++ echo "FAIL: exited with '$rc'" ++ echo -n " $outstr: " ++ echo " '$extra_args $args': " ++ errors=$(($errors + 1)) ++ #exit $rc ++ fi ++} ++ ++# Expected failures ++echo "Expected failures:" >$output ++testme "1" "invalid arg" "-z" ++testme "1" "invalid case" "-A" ++testme "1" "not enough args" "-c" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" > "$test_xml" ++testme "1" "no -u with -c" "-c" "$test_xml" ++testme "1" "bad uuid (bad digit)" "-c -u libvirt-00000000-0000-0000-0000-00000000000g" "$test_xml" ++testme "1" "bad uuid (too long)" "-c -u ${valid_uuid}abcdef" "$test_xml" ++testme "1" "bad uuid (too short)" "-c -u libvirt-00000000-0000-0000-0000-0123456789a" "$test_xml" ++testme "1" "non-matching uuid" "-c -u libvirt-00000000-0000-0000-0000-00000000000a" "$test_xml" ++testme "1" "missing uuid" "-c -u" "$test_xml" ++testme "1" "no -u with -R" "-R" ++testme "1" "non-existent uuid" "-R -u $nonexistent_uuid" ++testme "1" "no -u with -r" "-r" ++testme "1" "old '-n' option" "-c -n foo -u $valid_uuid" "$test_xml" ++testme "1" "invalid bits" "-c -b 15 -u $valid_uuid" "$test_xml" ++testme "1" "invalid bits2" "-c -b a -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$bad_disk,g" > "$test_xml" ++testme "1" "bad disk" "-c -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$bad_disk,g" | sed "s,,,g" > "$test_xml" ++testme "1" "bad disk2" "-c -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,,g" > "$test_xml" ++testme "1" "malformed xml" "-c -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,/boot/initrd,g" > "$test_xml" ++testme "1" "disk in /boot" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,/boot/initrd,g" > "$test_xml" ++testme "1" "-r with invalid -f" "-r -u $valid_uuid -f $bad_disk" "$test_xml" ++ ++ ++echo "Expected pass:" >$output ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" > "$test_xml" ++testme "0" "create" "-c -u $valid_uuid" "$test_xml" ++testme "0" "create with bits (32)" "-c -b 32 -u $valid_uuid" "$test_xml" ++testme "0" "create with bits (64)" "-c -b 64 -u $valid_uuid" "$test_xml" ++testme "0" "create with hvm" "-c -H hvm -u $valid_uuid" "$test_xml" ++testme "0" "create with hvm and bits" "-c -H hvm --bits 32 -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,,g" > "$test_xml" ++testme "0" "create multiple disks" "-c -u $valid_uuid" "$test_xml" ++ ++# uncomment when hostusb patch goes through ++#cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,
,g" > "$test_xml" ++#testme "0" "create hostdev (USB)" "-c -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$nonexistent,g" > "$test_xml" ++testme "0" "create (non-existent disk)" "-c -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$relative_disk1,g" > "$test_xml" ++testme "0" "create (relative path)" "-c -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk2,g" > "$test_xml" ++testme "0" "replace" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$nonexistent,g" > "$test_xml" ++testme "0" "replace (non-existent disk)" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" > "$test_xml" ++testme "0" "replace (adding disk)" "-r -u $valid_uuid -f $disk2" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" > "$test_xml" ++testme "0" "replace (adding non-existent disk)" "-r -u $valid_uuid -f $nonexistent" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,,g" > "$test_xml" ++testme "0" "disk (empty cdrom)" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,,g" > "$test_xml" ++testme "0" "serial" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,,g" > "$test_xml" ++testme "0" "serial (pty)" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,,g" > "$test_xml" ++touch "$tmpdir/console.log" ++testme "0" "console" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,,g" > "$test_xml" ++testme "0" "console (pty)" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,$tmpdir/kernel,g" > "$test_xml" ++touch "$tmpdir/kernel" ++testme "0" "kernel" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,$tmpdir/initrd,g" > "$test_xml" ++touch "$tmpdir/initrd" ++testme "0" "initrd" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,/boot/kernel,g" > "$test_xml" ++testme "0" "kernel in /boot" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,/boot/initrd,g" > "$test_xml" ++testme "0" "initrd in /boot" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,/vmlinuz,g" > "$test_xml" ++testme "0" "kernel is /vmlinuz" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,/initrd/ramdisk,g" > "$test_xml" ++testme "0" "initrd is /initrd/ramdisk" "-r -u $valid_uuid" "$test_xml" ++ ++cat "$template_xml" | sed "s,###UUID###,$uuid,g" | sed "s,###DISK###,$disk1,g" | sed "s,,/initrd.img,g" > "$test_xml" ++testme "0" "initrd is /initrd.img" "-r -u $valid_uuid" "$test_xml" ++ ++testme "0" "help" "-h" ++ ++echo "" >$output ++if [ "$errors" != "0" ]; then ++ echo "FAIL: $errors error(s)" >$output ++ exit 1 ++fi ++echo PASS >$output --- libvirt-0.7.0.orig/debian/patches/9005-libvirtd-group-name.patch +++ libvirt-0.7.0/debian/patches/9005-libvirtd-group-name.patch @@ -0,0 +1,13 @@ +Index: libvirt-0.6.4/qemud/libvirtd.conf +=================================================================== +--- libvirt-0.6.4.orig/qemud/libvirtd.conf 2009-06-22 11:37:54.420041463 +0200 ++++ libvirt-0.6.4/qemud/libvirtd.conf 2009-06-22 11:38:16.784083328 +0200 +@@ -78,7 +78,7 @@ + # without becoming root. + # + # This is restricted to 'root' by default. +-unix_sock_group = "libvirt" ++unix_sock_group = "libvirtd" + + # Set the UNIX socket permissions for the R/O socket. This is used + # for monitoring VM status only --- libvirt-0.7.0.orig/debian/patches/9003-increase-logoutput-timeout.patch +++ libvirt-0.7.0/debian/patches/9003-increase-logoutput-timeout.patch @@ -0,0 +1,13 @@ +Index: libvirt-0.7.0/src/qemu_driver.c +=================================================================== +--- libvirt-0.7.0.orig/src/qemu_driver.c 2009-08-05 07:50:01.000000000 -0500 ++++ libvirt-0.7.0/src/qemu_driver.c 2009-08-13 20:37:04.000000000 -0500 +@@ -1090,7 +1090,7 @@ + + ret = qemudReadLogOutput(conn, vm, logfd, buf, sizeof(buf), + qemudFindCharDevicePTYs, +- "console", 3); ++ "console", 30); + if (close(logfd) < 0) { + char ebuf[4096]; + VIR_WARN(_("Unable to close logfile: %s\n"), --- libvirt-0.7.0.orig/debian/patches/0001-remove-RHism.diff.patch +++ libvirt-0.7.0/debian/patches/0001-remove-RHism.diff.patch @@ -0,0 +1,22 @@ +From: Guido Guenther +Date: Fri, 7 Mar 2008 09:08:25 +0100 +Subject: [PATCH] remove-RHism.diff + +--- + virsh.1 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/virsh.1 b/virsh.1 +index ca03cc1..ffec62c 100644 +--- a/virsh.1 ++++ b/virsh.1 +@@ -171,7 +171,7 @@ the program. + .IX Header "NOTES" + All \fBvirsh\fR operations rely upon the libvirt library. + For any virsh commands to run xend/qemu, or what ever virtual library that libvirt supports. For this reason you should start xend/qemu as a service when your system first boots using xen/qemu. This can usually be done using the command +-\&\fBservice libvirtd start\fR . ++\&\fBinvoke-rc.d libvirt-bin start\fR . + .PP + Most \fBvirsh\fR commands require root privileges to run due to the + communications channels used to talk to the hypervisor. Running as +-- --- libvirt-0.7.0.orig/debian/patches/0002-qemu-disable-network.diff.patch +++ libvirt-0.7.0/debian/patches/0002-qemu-disable-network.diff.patch @@ -0,0 +1,38 @@ +From: Guido Guenther +Date: Fri, 7 Mar 2008 09:08:26 +0100 +Subject: [PATCH] qemu-disable-network.diff + +--- + qemud/Makefile.am | 3 --- + qemud/Makefile.in | 3 --- + 2 files changed, 0 insertions(+), 6 deletions(-) + +diff --git a/qemud/Makefile.am b/qemud/Makefile.am +index 959ff88..324fb4a 100644 +--- a/qemud/Makefile.am ++++ b/qemud/Makefile.am +@@ -166,9 +166,6 @@ install-data-local: install-init install-data-sasl install-data-polkit \ + test -z "$(UUID)" || \ + sed -i -e "s,,\n $(UUID)," \ + $(DESTDIR)$(sysconfdir)/$(default_xml_dest) +- test -e $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml || \ +- ln -s ../default.xml \ +- $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml + mkdir -p $(DESTDIR)$(localstatedir)/log/libvirt/qemu + mkdir -p $(DESTDIR)$(localstatedir)/run/libvirt + mkdir -p $(DESTDIR)$(localstatedir)/lib/libvirt +diff --git a/qemud/Makefile.in b/qemud/Makefile.in +index 471d356..c2b314f 100644 +--- a/qemud/Makefile.in ++++ b/qemud/Makefile.in +@@ -1462,9 +1462,6 @@ remote_protocol.c: remote_protocol.h + @WITH_LIBVIRTD_TRUE@ test -z "$(UUID)" || \ + @WITH_LIBVIRTD_TRUE@ sed -i -e "s,,\n $(UUID)," \ + @WITH_LIBVIRTD_TRUE@ $(DESTDIR)$(sysconfdir)/$(default_xml_dest) +-@WITH_LIBVIRTD_TRUE@ test -e $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml || \ +-@WITH_LIBVIRTD_TRUE@ ln -s ../default.xml \ +-@WITH_LIBVIRTD_TRUE@ $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml + @WITH_LIBVIRTD_TRUE@ mkdir -p $(DESTDIR)$(localstatedir)/log/libvirt/qemu + @WITH_LIBVIRTD_TRUE@ mkdir -p $(DESTDIR)$(localstatedir)/run/libvirt + @WITH_LIBVIRTD_TRUE@ mkdir -p $(DESTDIR)$(localstatedir)/lib/libvirt +-- --- libvirt-0.7.0.orig/debian/patches/9092-apparmor-autoreconf.patch +++ libvirt-0.7.0/debian/patches/9092-apparmor-autoreconf.patch @@ -0,0 +1,146061 @@ +diff -Nur libvirt-0.7.0/Makefile.in libvirt-0.7.0.new/Makefile.in +--- libvirt-0.7.0/Makefile.in 2009-08-05 08:57:41.000000000 -0500 ++++ libvirt-0.7.0.new/Makefile.in 2009-08-13 22:45:33.206005658 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -135,13 +133,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = config.h + CONFIG_CLEAN_FILES = libvirt.pc libvirt.spec mingw32-libvirt.spec +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +@@ -151,37 +142,20 @@ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive ++man1dir = $(mandir)/man1 ++am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgconfigdir)" ++NROFF = nroff ++MANS = $(man_MANS) + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +-am__install_max = 40 +-am__nobase_strip_setup = \ +- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +-am__nobase_strip = \ +- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +-am__nobase_list = $(am__nobase_strip_setup); \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ +- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ +- if (++n[$$2] == $(am__install_max)) \ +- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ +- END { for (dir in files) print dir, files[dir] }' +-am__base_list = \ +- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ +- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +-man1dir = $(mandir)/man1 +-am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgconfigdir)" +-NROFF = nroff +-MANS = $(man_MANS) ++am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; ++pkgconfigDATA_INSTALL = $(INSTALL_DATA) + DATA = $(pkgconfig_DATA) + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir dist dist-all distcheck + ETAGS = etags + CTAGS = ctags + DIST_SUBDIRS = $(SUBDIRS) +@@ -189,34 +163,9 @@ + distdir = $(PACKAGE)-$(VERSION) + top_distdir = $(distdir) + am__remove_distdir = \ +- { test ! -d "$(distdir)" \ +- || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ +- && rm -fr "$(distdir)"; }; } +-am__relativize = \ +- dir0=`pwd`; \ +- sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +- sed_rest='s,^[^/]*/*,,'; \ +- sed_last='s,^.*/\([^/]*\)$$,\1,'; \ +- sed_butlast='s,/*[^/]*$$,,'; \ +- while test -n "$$dir1"; do \ +- first=`echo "$$dir1" | sed -e "$$sed_first"`; \ +- if test "$$first" != "."; then \ +- if test "$$first" = ".."; then \ +- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ +- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ +- else \ +- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ +- if test "$$first2" = "$$first"; then \ +- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ +- else \ +- dir2="../$$dir2"; \ +- fi; \ +- dir0="$$dir0"/"$$first"; \ +- fi; \ +- fi; \ +- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ +- done; \ +- reldir="$$dir2" ++ { test ! -d $(distdir) \ ++ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ ++ && rm -fr $(distdir); }; } + DIST_ARCHIVES = $(distdir).tar.gz + GZIP_ENV = --best + distuninstallcheck_listfiles = find . -type f -print +@@ -225,7 +174,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -644,6 +594,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -881,15 +832,15 @@ + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ +- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ +- $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ ++ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ ++ cd $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -905,10 +856,9 @@ + $(SHELL) ./config.status --recheck + + $(top_srcdir)/configure: $(am__configure_deps) +- $(am__cd) $(srcdir) && $(AUTOCONF) ++ cd $(srcdir) && $(AUTOCONF) + $(ACLOCAL_M4): $(am__aclocal_m4_deps) +- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +-$(am__aclocal_m4_deps): ++ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + + config.h: stamp-h1 + @if test ! -f $@; then \ +@@ -920,7 +870,7 @@ + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h + $(srcdir)/config.h.in: $(am__configure_deps) +- ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) ++ cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ + +@@ -941,64 +891,68 @@ + + distclean-libtool: + -rm -f libtool config.lt +-install-man1: $(man_MANS) ++install-man1: $(man1_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" +- @list=''; test -n "$(man1dir)" || exit 0; \ +- { for i in $$list; do echo "$$i"; done; \ +- l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ +- sed -n '/\.1[a-z]*$$/p'; \ +- } | while read p; do \ +- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; echo "$$p"; \ +- done | \ +- sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ +- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ +- sed 'N;N;s,\n, ,g' | { \ +- list=; while read file base inst; do \ +- if test "$$base" = "$$inst"; then list="$$list $$file"; else \ +- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ +- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ +- fi; \ ++ @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ ++ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ ++ for i in $$l2; do \ ++ case "$$i" in \ ++ *.1*) list="$$list $$i" ;; \ ++ esac; \ + done; \ +- for i in $$list; do echo "$$i"; done | $(am__base_list) | \ +- while read files; do \ +- test -z "$$files" || { \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ +- done; } +- ++ for i in $$list; do \ ++ if test -f $$i; then file=$$i; \ ++ else file=$(srcdir)/$$i; fi; \ ++ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ++ case "$$ext" in \ ++ 1*) ;; \ ++ *) ext='1' ;; \ ++ esac; \ ++ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ ++ inst=`echo $$inst | sed -e 's/^.*\///'`; \ ++ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ ++ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ ++ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ ++ done + uninstall-man1: + @$(NORMAL_UNINSTALL) +- @list=''; test -n "$(man1dir)" || exit 0; \ +- files=`{ for i in $$list; do echo "$$i"; done; \ +- l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ +- sed -n '/\.1[a-z]*$$/p'; \ +- } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ +- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ +- test -z "$$files" || { \ +- echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } ++ @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ ++ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ ++ for i in $$l2; do \ ++ case "$$i" in \ ++ *.1*) list="$$list $$i" ;; \ ++ esac; \ ++ done; \ ++ for i in $$list; do \ ++ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ++ case "$$ext" in \ ++ 1*) ;; \ ++ *) ext='1' ;; \ ++ esac; \ ++ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ ++ inst=`echo $$inst | sed -e 's/^.*\///'`; \ ++ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ ++ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ ++ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ ++ done + install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" +- @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ +- for p in $$list; do \ ++ @list='$(pkgconfig_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ ++ f=$(am__strip_dir) \ ++ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ ++ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + + uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) +- @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- test -n "$$files" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files ++ @list='$(pkgconfig_DATA)'; for p in $$list; do \ ++ f=$(am__strip_dir) \ ++ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ ++ done + + # This directory's subdirectories are mostly independent; you can cd + # into them and run `make' without going through this Makefile. +@@ -1024,7 +978,7 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ +@@ -1058,16 +1012,16 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" + tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -1082,7 +1036,7 @@ + + TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ +@@ -1094,7 +1048,7 @@ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ +- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ ++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ +@@ -1103,54 +1057,36 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + + distdir: $(DISTFILES) +- @list='$(MANS)'; if test -n "$$list"; then \ +- list=`for p in $$list; do \ +- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ +- if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ +- if test -n "$$list" && \ +- grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ +- echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ +- grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ +- echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ +- echo " typically \`make maintainer-clean' will remove them" >&2; \ +- exit 1; \ +- else :; fi; \ +- else :; fi + $(am__remove_distdir) +- test -d "$(distdir)" || mkdir "$(distdir)" ++ test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ +@@ -1166,44 +1102,29 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ ++ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ +- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ +- $(am__relativize); \ +- new_distdir=$$reldir; \ +- dir1=$$subdir; dir2="$(top_distdir)"; \ +- $(am__relativize); \ +- new_top_distdir=$$reldir; \ +- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ +- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ +- ($(am__cd) $$subdir && \ ++ distdir=`$(am__cd) $(distdir) && pwd`; \ ++ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ ++ (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ +- top_distdir="$$new_top_distdir" \ +- distdir="$$new_distdir" \ ++ top_distdir="$$top_distdir" \ ++ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ +- am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ +@@ -1211,12 +1132,11 @@ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook +- -test -n "$(am__skip_mode_fix)" \ +- || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ++ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ +- || chmod -R a+r "$(distdir)" ++ || chmod -R a+r $(distdir) + dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) +@@ -1229,10 +1149,6 @@ + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +-dist-xz: distdir +- tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz +- $(am__remove_distdir) +- + dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) +@@ -1261,8 +1177,6 @@ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ +- *.tar.xz*) \ +- xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ +@@ -1274,11 +1188,9 @@ + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) +- test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ +- && am__cwd=`pwd` \ +- && $(am__cd) $(distdir)/_build \ ++ && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ +@@ -1300,9 +1212,7 @@ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ +- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ +- && cd "$$am__cwd" \ +- || exit 1 ++ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ +@@ -1345,7 +1255,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1367,8 +1276,6 @@ + + html: html-recursive + +-html-am: +- + info: info-recursive + + info-am: +@@ -1377,28 +1284,18 @@ + + install-dvi: install-dvi-recursive + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-recursive + +-install-html-am: +- + install-info: install-info-recursive + +-install-info-am: +- + install-man: install-man1 + + install-pdf: install-pdf-recursive + +-install-pdf-am: +- + install-ps: install-ps-recursive + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-recursive +@@ -1423,27 +1320,26 @@ + + uninstall-man: uninstall-man1 + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \ +- ctags-recursive install-am install-strip tags-recursive ++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ ++ install-strip + + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am check-local clean \ + clean-generic clean-libtool ctags ctags-recursive dist \ + dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \ +- dist-tarZ dist-xz dist-zip distcheck distclean \ +- distclean-generic distclean-hdr distclean-libtool \ +- distclean-tags distcleancheck distdir distuninstallcheck dvi \ +- dvi-am html html-am info info-am install install-am \ +- install-data install-data-am install-dvi install-dvi-am \ +- install-exec install-exec-am install-html install-html-am \ +- install-info install-info-am install-man install-man1 \ +- install-pdf install-pdf-am install-pkgconfigDATA install-ps \ +- install-ps-am install-strip installcheck installcheck-am \ +- installdirs installdirs-am maintainer-clean \ +- maintainer-clean-generic mostlyclean mostlyclean-generic \ +- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ +- uninstall uninstall-am uninstall-man uninstall-man1 \ +- uninstall-pkgconfigDATA ++ dist-tarZ dist-zip distcheck distclean distclean-generic \ ++ distclean-hdr distclean-libtool distclean-tags distcleancheck \ ++ distdir distuninstallcheck dvi dvi-am html html-am info \ ++ info-am install install-am install-data install-data-am \ ++ install-dvi install-dvi-am install-exec install-exec-am \ ++ install-html install-html-am install-info install-info-am \ ++ install-man install-man1 install-pdf install-pdf-am \ ++ install-pkgconfigDATA install-ps install-ps-am install-strip \ ++ installcheck installcheck-am installdirs installdirs-am \ ++ maintainer-clean maintainer-clean-generic mostlyclean \ ++ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ ++ tags tags-recursive uninstall uninstall-am uninstall-man \ ++ uninstall-man1 uninstall-pkgconfigDATA + + + rpm: clean +@@ -1478,7 +1374,6 @@ + rm -f $(distdir)/ChangeLog; \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + fi +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/aclocal.m4 libvirt-0.7.0.new/aclocal.m4 +--- libvirt-0.7.0/aclocal.m4 2009-08-05 08:57:27.000000000 -0500 ++++ libvirt-0.7.0.new/aclocal.m4 2009-08-13 22:45:10.646005852 -0500 +@@ -1,7 +1,7 @@ +-# generated automatically by aclocal 1.11 -*- Autoconf -*- ++# generated automatically by aclocal 1.10.2 -*- Autoconf -*- + + # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. ++# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -13,8 +13,8 @@ + + m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, +-[m4_warning([this file was generated for autoconf 2.63. ++m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],, ++[m4_warning([this file was generated for autoconf 2.64. + You have another version of autoconf. It may work, but is not guaranteed to. + If you have problems, you may need to regenerate the build system entirely. + To do so, use the procedure documented by the package, typically `autoreconf'.])]) +@@ -87,14 +87,16 @@ + # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) + # --------------------------------------------- + m4_define([_PKG_CONFIG], +-[if test -n "$$1"; then +- pkg_cv_[]$1="$$1" +- elif test -n "$PKG_CONFIG"; then +- PKG_CHECK_EXISTS([$3], +- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], +- [pkg_failed=yes]) +- else +- pkg_failed=untried ++[if test -n "$PKG_CONFIG"; then ++ if test -n "$$1"; then ++ pkg_cv_[]$1="$$1" ++ else ++ PKG_CHECK_EXISTS([$3], ++ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], ++ [pkg_failed=yes]) ++ fi ++else ++ pkg_failed=untried + fi[]dnl + ])# _PKG_CONFIG + +@@ -138,9 +140,9 @@ + if test $pkg_failed = yes; then + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then +- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` + else +- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD +@@ -187,10 +189,10 @@ + # generated from the m4 files accompanying Automake X.Y. + # (This private macro should not be called outside this file.) + AC_DEFUN([AM_AUTOMAKE_VERSION], +-[am__api_version='1.11' ++[am__api_version='1.10' + dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to + dnl require some minimum version. Point them to the right macro. +-m4_if([$1], [1.11], [], ++m4_if([$1], [1.10.2], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl + ]) + +@@ -206,7 +208,7 @@ + # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. + # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. + AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +-[AM_AUTOMAKE_VERSION([1.11])dnl ++[AM_AUTOMAKE_VERSION([1.10.2])dnl + m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl + _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) +@@ -289,14 +291,14 @@ + + # AM_CONDITIONAL -*- Autoconf -*- + +-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 ++# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 + # Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 9 ++# serial 8 + + # AM_CONDITIONAL(NAME, SHELL-CONDITION) + # ------------------------------------- +@@ -309,7 +311,6 @@ + AC_SUBST([$1_FALSE])dnl + _AM_SUBST_NOTMAKE([$1_TRUE])dnl + _AM_SUBST_NOTMAKE([$1_FALSE])dnl +-m4_define([_AM_COND_VALUE_$1], [$2])dnl + if $2; then + $1_TRUE= + $1_FALSE='#' +@@ -323,14 +324,14 @@ + Usually this means the macro was only invoked conditionally.]]) + fi])]) + +-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 ++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + # Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 10 ++# serial 9 + + # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be + # written in clear, in which case automake, when reading aclocal.m4, +@@ -387,16 +388,6 @@ + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi +- am__universal=false +- m4_case([$1], [CC], +- [case " $depcc " in #( +- *\ -arch\ *\ -arch\ *) am__universal=true ;; +- esac], +- [CXX], +- [case " $depcc " in #( +- *\ -arch\ *\ -arch\ *) am__universal=true ;; +- esac]) +- + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and +@@ -414,17 +405,7 @@ + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + +- # We check with `-c' and `-o' for the sake of the "dashmstdout" +- # mode. It turns out that the SunPro C++ compiler does not properly +- # handle `-M -o', and we need to detect this. Also, some Intel +- # versions had trouble with output in subdirs +- am__obj=sub/conftest.${OBJEXT-o} +- am__minus_obj="-o $am__obj" + case $depmode in +- gcc) +- # This depmode causes a compiler race in universal mode. +- test "$am__universal" = false || continue +- ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested +@@ -434,23 +415,19 @@ + break + fi + ;; +- msvisualcpp | msvcmsys) +- # This compiler won't grok `-c -o', but also, the minuso test has +- # not run yet. These depmodes are late enough in the game, and +- # so weak that their functioning should not be impacted. +- am__obj=conftest.${OBJEXT-o} +- am__minus_obj= +- ;; + none) break ;; + esac ++ # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle `-M -o', and we need to detect this. + if depmode=$depmode \ +- source=sub/conftest.c object=$am__obj \ ++ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ +- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ++ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && +- grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message +@@ -600,13 +577,13 @@ + # Do all the work for Automake. -*- Autoconf -*- + + # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. ++# 2005, 2006, 2008 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 16 ++# serial 13 + + # This macro actually does too much. Some checks are only needed if + # your package does certain things. But this isn't really a big deal. +@@ -623,7 +600,7 @@ + # arguments mandatory, and then we can depend on a new Autoconf + # release and drop the old call support. + AC_DEFUN([AM_INIT_AUTOMAKE], +-[AC_PREREQ([2.62])dnl ++[AC_PREREQ([2.60])dnl + dnl Autoconf wants to disallow AM_ names. We explicitly allow + dnl the ones we care about. + m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +@@ -674,8 +651,8 @@ + AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) + AM_MISSING_PROG(AUTOHEADER, autoheader) + AM_MISSING_PROG(MAKEINFO, makeinfo) +-AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +-AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl ++AM_PROG_INSTALL_SH ++AM_PROG_INSTALL_STRIP + AC_REQUIRE([AM_PROG_MKDIR_P])dnl + # We need awk for the "check" target. The system "awk" is bad on + # some platforms. +@@ -683,37 +660,24 @@ + AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AM_SET_LEADING_DOT])dnl + _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], +- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], +- [_AM_PROG_TAR([v7])])]) ++ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], ++ [_AM_PROG_TAR([v7])])]) + _AM_IF_OPTION([no-dependencies],, + [AC_PROVIDE_IFELSE([AC_PROG_CC], +- [_AM_DEPENDENCIES(CC)], +- [define([AC_PROG_CC], +- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl ++ [_AM_DEPENDENCIES(CC)], ++ [define([AC_PROG_CC], ++ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl + AC_PROVIDE_IFELSE([AC_PROG_CXX], +- [_AM_DEPENDENCIES(CXX)], +- [define([AC_PROG_CXX], +- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ++ [_AM_DEPENDENCIES(CXX)], ++ [define([AC_PROG_CXX], ++ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl + AC_PROVIDE_IFELSE([AC_PROG_OBJC], +- [_AM_DEPENDENCIES(OBJC)], +- [define([AC_PROG_OBJC], +- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ++ [_AM_DEPENDENCIES(OBJC)], ++ [define([AC_PROG_OBJC], ++ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl + ]) +-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +-AC_CONFIG_COMMANDS_PRE(dnl +-[m4_provide_if([_AM_COMPILER_EXEEXT], +- [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl + ]) + +-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +-dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +-dnl mangled by Autoconf and run in a shell conditional statement. +-m4_define([_AC_COMPILER_EXEEXT], +-m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) +- + + # When config.status generates a header, we must update the stamp-h file. + # This file resides in the same directory as the config header +@@ -736,7 +700,7 @@ + done + echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +-# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. ++# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, +@@ -747,14 +711,7 @@ + # Define $install_sh. + AC_DEFUN([AM_PROG_INSTALL_SH], + [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +-if test x"${install_sh}" != xset; then +- case $am_aux_dir in +- *\ * | *\ *) +- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; +- *) +- install_sh="\${SHELL} $am_aux_dir/install-sh" +- esac +-fi ++install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} + AC_SUBST(install_sh)]) + + # Copyright (C) 2003, 2005 Free Software Foundation, Inc. +@@ -780,13 +737,13 @@ + + # Check to see how 'make' treats includes. -*- Autoconf -*- + +-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. ++# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 4 ++# serial 3 + + # AM_MAKE_INCLUDE() + # ----------------- +@@ -795,7 +752,7 @@ + [am_make=${MAKE-make} + cat > confinc << 'END' + am__doit: +- @echo this is the am__doit target ++ @echo done + .PHONY: am__doit + END + # If we don't find an include directive, just comment out the code. +@@ -805,24 +762,24 @@ + _am_result=none + # First try GNU make style include. + echo "include confinc" > confmf +-# Ignore all kinds of additional output from `make'. +-case `$am_make -s -f confmf 2> /dev/null` in #( +-*the\ am__doit\ target*) +- am__include=include +- am__quote= +- _am_result=GNU +- ;; +-esac ++# We grep out `Entering directory' and `Leaving directory' ++# messages which can occur if `w' ends up in MAKEFLAGS. ++# In particular we don't look at `^make:' because GNU make might ++# be invoked under some other name (usually "gmake"), in which ++# case it prints its new name instead of `make'. ++if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then ++ am__include=include ++ am__quote= ++ _am_result=GNU ++fi + # Now try BSD make style include. + if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf +- case `$am_make -s -f confmf 2> /dev/null` in #( +- *the\ am__doit\ target*) +- am__include=.include +- am__quote="\"" +- _am_result=BSD +- ;; +- esac ++ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then ++ am__include=.include ++ am__quote="\"" ++ _am_result=BSD ++ fi + fi + AC_SUBST([am__include]) + AC_SUBST([am__quote]) +@@ -867,14 +824,14 @@ + + # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 ++# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 + # Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 6 ++# serial 5 + + # AM_MISSING_PROG(NAME, PROGRAM) + # ------------------------------ +@@ -891,14 +848,7 @@ + AC_DEFUN([AM_MISSING_HAS_RUN], + [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl + AC_REQUIRE_AUX_FILE([missing])dnl +-if test x"${MISSING+set}" != xset; then +- case $am_aux_dir in +- *\ * | *\ *) +- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; +- *) +- MISSING="\${SHELL} $am_aux_dir/missing" ;; +- esac +-fi ++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" + # Use eval to expand $SHELL + if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +@@ -995,14 +945,14 @@ + + # Check to make sure that the build environment is sane. -*- Autoconf -*- + +-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 ++# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 + # Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 5 ++# serial 4 + + # AM_SANITY_CHECK + # --------------- +@@ -1011,29 +961,16 @@ + # Just in case + sleep 1 + echo timestamp > conftest.file +-# Reject unsafe characters in $srcdir or the absolute working directory +-# name. Accept space and tab only in the latter. +-am_lf=' +-' +-case `pwd` in +- *[[\\\"\#\$\&\'\`$am_lf]]*) +- AC_MSG_ERROR([unsafe absolute working directory name]);; +-esac +-case $srcdir in +- *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) +- AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; +-esac +- + # Do `set' in a subshell so we don't clobber the current shell's + # arguments. Must try -L first in case configure is actually a + # symlink; some systems play weird games with the mod time of symlinks + # (eg FreeBSD returns the mod time of the symlink's containing + # directory). + if ( +- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` ++ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. +- set X `ls -t "$srcdir/configure" conftest.file` ++ set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ +@@ -1058,33 +995,6 @@ + fi + AC_MSG_RESULT(yes)]) + +-# Copyright (C) 2009 Free Software Foundation, Inc. +-# +-# This file is free software; the Free Software Foundation +-# gives unlimited permission to copy and/or distribute it, +-# with or without modifications, as long as this notice is preserved. +- +-# serial 1 +- +-# AM_SILENT_RULES([DEFAULT]) +-# -------------------------- +-# Enable less verbose build rules; with the default set to DEFAULT +-# (`yes' being less verbose, `no' or empty being verbose). +-AC_DEFUN([AM_SILENT_RULES], +-[AC_ARG_ENABLE([silent-rules], +-[ --enable-silent-rules less verbose build output (undo: `make V=1') +- --disable-silent-rules verbose build output (undo: `make V=0')]) +-case $enable_silent_rules in +-yes) AM_DEFAULT_VERBOSITY=0;; +-no) AM_DEFAULT_VERBOSITY=1;; +-*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +-esac +-AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +-AM_BACKSLASH='\' +-AC_SUBST([AM_BACKSLASH])dnl +-_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +-]) +- + # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation +@@ -1113,25 +1023,18 @@ + INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +-# Copyright (C) 2006, 2008 Free Software Foundation, Inc. ++# Copyright (C) 2006 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 2 +- + # _AM_SUBST_NOTMAKE(VARIABLE) + # --------------------------- + # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. + # This macro is traced by Automake. + AC_DEFUN([_AM_SUBST_NOTMAKE]) + +-# AM_SUBST_NOTMAKE(VARIABLE) +-# --------------------------- +-# Public sister of _AM_SUBST_NOTMAKE. +-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) +- + # Check how to create a tarball. -*- Autoconf -*- + + # Copyright (C) 2004, 2005 Free Software Foundation, Inc. +diff -Nur libvirt-0.7.0/autom4te.cache/output.0 libvirt-0.7.0.new/autom4te.cache/output.0 +--- libvirt-0.7.0/autom4te.cache/output.0 1969-12-31 18:00:00.000000000 -0600 ++++ libvirt-0.7.0.new/autom4te.cache/output.0 2009-08-13 22:45:10.222507882 -0500 +@@ -0,0 +1,33719 @@ ++@%:@! /bin/sh ++@%:@ Guess values for system-dependent variables and create Makefiles. ++@%:@ Generated by GNU Autoconf 2.64 for libvirt 0.7.0. ++@%:@ ++@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, ++@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software ++@%:@ Foundation, Inc. ++@%:@ ++@%:@ This configure script is free software; the Free Software Foundation ++@%:@ gives unlimited permission to copy, distribute and modify it. ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in @%:@( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++if test "x$CONFIG_SHELL" = x; then ++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '\${1+\"\$@\"}'='\"\$@\"' ++ setopt NO_GLOB_SUBST ++else ++ case \`(set -o) 2>/dev/null\` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++" ++ as_required="as_fn_return () { (exit \$1); } ++as_fn_success () { as_fn_return 0; } ++as_fn_failure () { as_fn_return 1; } ++as_fn_ret_success () { return 0; } ++as_fn_ret_failure () { return 1; } ++ ++exitcode=0 ++as_fn_success || { exitcode=1; echo as_fn_success failed.; } ++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ++ ++else ++ exitcode=1; echo positional parameters were not saved. ++fi ++test x\$exitcode = x0 || exit 1" ++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ++test \$(( 1 + 1 )) = 2 || exit 1" ++ if (eval "$as_required") 2>/dev/null; then : ++ as_have_required=yes ++else ++ as_have_required=no ++fi ++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : ++ ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false ++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ as_found=: ++ case $as_dir in @%:@( ++ /*) ++ for as_base in sh bash ksh sh5; do ++ # Try only shells that exist, to save several forks. ++ as_shell=$as_dir/$as_base ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ CONFIG_SHELL=$as_shell as_have_required=yes ++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ break 2 ++fi ++fi ++ done;; ++ esac ++ as_found=false ++done ++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : ++ CONFIG_SHELL=$SHELL as_have_required=yes ++fi; } ++IFS=$as_save_IFS ++ ++ ++ if test "x$CONFIG_SHELL" != x; then : ++ # We cannot yet assume a decent shell, so we have to provide a ++ # neutralization value for shells without unset; and this also ++ # works around shells that cannot unset nonexistent variables. ++ BASH_ENV=/dev/null ++ ENV=/dev/null ++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++ export CONFIG_SHELL ++ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} ++fi ++ ++ if test x$as_have_required = xno; then : ++ $as_echo "$0: This script requires a shell more modern than all" ++ $as_echo "$0: the shells that I found on your system." ++ if test x${ZSH_VERSION+set} = xset ; then ++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" ++ $as_echo "$0: be upgraded to zsh 4.3.4 or later." ++ else ++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, ++$0: including any error possibly output before this ++$0: message. Then install a modern shell, or manually run ++$0: the script under such a shell if you do have one." ++ fi ++ exit 1 ++fi ++fi ++fi ++SHELL=${CONFIG_SHELL-/bin/sh} ++export SHELL ++# Unset more variables known to interfere with behavior of common tools. ++CLICOLOR_FORCE= GREP_OPTIONS= ++unset CLICOLOR_FORCE GREP_OPTIONS ++ ++## --------------------- ## ++## M4sh Shell Functions. ## ++## --------------------- ## ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++@%:@ as_fn_error ERROR [LINENO LOG_FD] ++@%:@ --------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with status $?, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$?; test $as_status -eq 0 && as_status=1 ++ if test "$3"; then ++ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 ++ fi ++ $as_echo "$as_me: error: $1" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ ++ as_lineno_1=$LINENO as_lineno_1a=$LINENO ++ as_lineno_2=$LINENO as_lineno_2a=$LINENO ++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ++ sed -n ' ++ p ++ /[$]LINENO/= ++ ' <$as_myself | ++ sed ' ++ s/[$]LINENO.*/&-/ ++ t lineno ++ b ++ :lineno ++ N ++ :loop ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ++ t loop ++ s/-\n.*// ++ ' >$as_me.lineno && ++ chmod +x "$as_me.lineno" || ++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ++ ++ # Don't try to exec as it changes $[0], causing all sort of problems ++ # (the dirname of $[0] is not the place where we might find the ++ # original and so on. Autoconf is especially sensitive to this). ++ . "./$as_me.lineno" ++ # Exit status is that of the last command. ++ exit ++} ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -p'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -p' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -p' ++ fi ++else ++ as_ln_s='cp -p' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++if test -x / >/dev/null 2>&1; then ++ as_test_x='test -x' ++else ++ if ls -dL / >/dev/null 2>&1; then ++ as_ls_L_option=L ++ else ++ as_ls_L_option= ++ fi ++ as_test_x=' ++ eval sh -c '\'' ++ if test -d "$1"; then ++ test -d "$1/."; ++ else ++ case $1 in @%:@( ++ -*)set "./$1";; ++ esac; ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( ++ ???[sx]*):;;*)false;;esac;fi ++ '\'' sh ++ ' ++fi ++as_executable_p=$as_test_x ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++ ++# Check that we are running under the correct shell. ++SHELL=${CONFIG_SHELL-/bin/sh} ++ ++case X$lt_ECHO in ++X*--fallback-echo) ++ # Remove one level of quotation (which was required for Make). ++ ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` ++ ;; ++esac ++ ++ECHO=${lt_ECHO-echo} ++if test "X$1" = X--no-reexec; then ++ # Discard the --no-reexec flag, and continue. ++ shift ++elif test "X$1" = X--fallback-echo; then ++ # Avoid inline document here, it may be left over ++ : ++elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then ++ # Yippee, $ECHO works! ++ : ++else ++ # Restart under the correct shell. ++ exec $SHELL "$0" --no-reexec ${1+"$@"} ++fi ++ ++if test "X$1" = X--fallback-echo; then ++ # used as fallback echo ++ shift ++ cat <<_LT_EOF ++$* ++_LT_EOF ++ exit 0 ++fi ++ ++# The HP-UX ksh and POSIX shell print the target directory to stdout ++# if CDPATH is set. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++if test -z "$lt_ECHO"; then ++ if test "X${echo_test_string+set}" != Xset; then ++ # find a string as large as possible, as long as the shell can cope with it ++ for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do ++ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... ++ if { echo_test_string=`eval $cmd`; } 2>/dev/null && ++ { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null ++ then ++ break ++ fi ++ done ++ fi ++ ++ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && ++ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ : ++ else ++ # The Solaris, AIX, and Digital Unix default echo programs unquote ++ # backslashes. This makes it impossible to quote backslashes using ++ # echo "$something" | sed 's/\\/\\\\/g' ++ # ++ # So, first we look for a working echo in the user's PATH. ++ ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for dir in $PATH /usr/ucb; do ++ IFS="$lt_save_ifs" ++ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && ++ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && ++ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ ECHO="$dir/echo" ++ break ++ fi ++ done ++ IFS="$lt_save_ifs" ++ ++ if test "X$ECHO" = Xecho; then ++ # We didn't find a better echo, so look for alternatives. ++ if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && ++ echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ # This shell has a builtin print -r that does the trick. ++ ECHO='print -r' ++ elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && ++ test "X$CONFIG_SHELL" != X/bin/ksh; then ++ # If we have ksh, try running configure again with it. ++ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} ++ export ORIGINAL_CONFIG_SHELL ++ CONFIG_SHELL=/bin/ksh ++ export CONFIG_SHELL ++ exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} ++ else ++ # Try using printf. ++ ECHO='printf %s\n' ++ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && ++ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ # Cool, printf works ++ : ++ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && ++ test "X$echo_testing_string" = 'X\t' && ++ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL ++ export CONFIG_SHELL ++ SHELL="$CONFIG_SHELL" ++ export SHELL ++ ECHO="$CONFIG_SHELL $0 --fallback-echo" ++ elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && ++ test "X$echo_testing_string" = 'X\t' && ++ echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ ECHO="$CONFIG_SHELL $0 --fallback-echo" ++ else ++ # maybe with a smaller string... ++ prev=: ++ ++ for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do ++ if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null ++ then ++ break ++ fi ++ prev="$cmd" ++ done ++ ++ if test "$prev" != 'sed 50q "$0"'; then ++ echo_test_string=`eval $prev` ++ export echo_test_string ++ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} ++ else ++ # Oops. We lost completely, so just stick with echo. ++ ECHO=echo ++ fi ++ fi ++ fi ++ fi ++ fi ++fi ++ ++# Copy echo and quote the copy suitably for passing to libtool from ++# the Makefile, instead of quoting the original, which is used later. ++lt_ECHO=$ECHO ++if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ++ lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" ++fi ++ ++ ++ ++ ++exec 7<&0 &1 ++ ++# Name of the host. ++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, ++# so uname gets run too. ++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ++ ++# ++# Initializations. ++# ++ac_default_prefix=/usr/local ++ac_clean_files= ++ac_config_libobj_dir=. ++LIB@&t@OBJS= ++cross_compiling=no ++subdirs= ++MFLAGS= ++MAKEFLAGS= ++ ++# Identity of this package. ++PACKAGE_NAME='libvirt' ++PACKAGE_TARNAME='libvirt' ++PACKAGE_VERSION='0.7.0' ++PACKAGE_STRING='libvirt 0.7.0' ++PACKAGE_BUGREPORT='' ++PACKAGE_URL='' ++ ++ac_unique_file="src/libvirt.c" ++# Factoring default headers for most tests. ++ac_includes_default="\ ++#include ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_SYS_STAT_H ++# include ++#endif ++#ifdef STDC_HEADERS ++# include ++# include ++#else ++# ifdef HAVE_STDLIB_H ++# include ++# endif ++#endif ++#ifdef HAVE_STRING_H ++# if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++# include ++# endif ++# include ++#endif ++#ifdef HAVE_STRINGS_H ++# include ++#endif ++#ifdef HAVE_INTTYPES_H ++# include ++#endif ++#ifdef HAVE_STDINT_H ++# include ++#endif ++#ifdef HAVE_UNISTD_H ++# include ++#endif" ++ ++gl_header_list= ++gl_func_list= ++ac_subst_vars='gltests_LTLIBOBJS ++gltests_LIBOBJS ++gl_LTLIBOBJS ++gl_LIBOBJS ++LTLIBOBJS ++LIB@&t@OBJS ++WITH_LINUX_FALSE ++WITH_LINUX_TRUE ++WITH_NODE_DEVICES_FALSE ++WITH_NODE_DEVICES_TRUE ++HAVE_DEVKIT_FALSE ++HAVE_DEVKIT_TRUE ++DEVKIT_LIBS ++DEVKIT_CFLAGS ++GLIB2_LIBS ++GLIB2_CFLAGS ++HAVE_HAL_FALSE ++HAVE_HAL_TRUE ++HAL_LIBS ++HAL_CFLAGS ++LV_LIBTOOL_OBJDIR ++DRIVER_MODULES_LIBS ++DRIVER_MODULES_CFLAGS ++WITH_DRIVER_MODULES_FALSE ++WITH_DRIVER_MODULES_TRUE ++WITH_WIN_ICON_FALSE ++WITH_WIN_ICON_TRUE ++WINDRES ++MINGW_EXTRA_LDFLAGS ++CYGWIN_EXTRA_PYTHON_LIBADD ++CYGWIN_EXTRA_LIBADD ++CYGWIN_EXTRA_LDFLAGS ++POSUB ++INTLLIBS ++LTLIBICONV ++LIBICONV ++MSGMERGE ++XGETTEXT ++GMSGFMT ++MSGFMT ++USE_NLS ++MKINSTALLDIRS ++WITH_PROXY_FALSE ++WITH_PROXY_TRUE ++WITH_CIL_FALSE ++WITH_CIL_TRUE ++LOCK_CHECKING_CFLAGS ++COVERAGE_LDFLAGS ++COVERAGE_CFLAGS ++ENABLE_XEN_TESTS_FALSE ++ENABLE_XEN_TESTS_TRUE ++PYTHON_SITE_PACKAGES ++PYTHON_INCLUDES ++PYTHON_VERSION ++pythondir ++WITH_PYTHON_FALSE ++WITH_PYTHON_TRUE ++PYTHON ++WITH_ESX_FALSE ++WITH_ESX_TRUE ++LIBCURL_LIBS ++LIBCURL_CFLAGS ++WITH_STORAGE_DISK_FALSE ++WITH_STORAGE_DISK_TRUE ++LIBPARTED_LIBS ++LIBPARTED_CFLAGS ++PARTED ++WITH_STORAGE_SCSI_FALSE ++WITH_STORAGE_SCSI_TRUE ++WITH_STORAGE_ISCSI_FALSE ++WITH_STORAGE_ISCSI_TRUE ++ISCSIADM ++WITH_STORAGE_LVM_FALSE ++WITH_STORAGE_LVM_TRUE ++LVS ++VGS ++PVS ++VGSCAN ++VGCHANGE ++LVREMOVE ++VGREMOVE ++PVREMOVE ++LVCREATE ++VGCREATE ++PVCREATE ++SHOWMOUNT ++WITH_STORAGE_FS_FALSE ++WITH_STORAGE_FS_TRUE ++UMOUNT ++MOUNT ++WITH_STORAGE_DIR_FALSE ++WITH_STORAGE_DIR_TRUE ++WITH_NETCF_FALSE ++WITH_NETCF_TRUE ++NETCF_LIBS ++NETCF_CFLAGS ++WITH_BRIDGE_FALSE ++WITH_BRIDGE_TRUE ++WITH_NETWORK_FALSE ++WITH_NETWORK_TRUE ++VIRSH_LIBS ++READLINE_CFLAGS ++CAPNG_LIBS ++CAPNG_CFLAGS ++HAVE_CAPNG_FALSE ++HAVE_CAPNG_TRUE ++WITH_PHYP_FALSE ++WITH_PHYP_TRUE ++LIBSSH_CFLAGS ++LIBSSH_LIBS ++WITH_UML_FALSE ++WITH_UML_TRUE ++NUMACTL_LIBS ++NUMACTL_CFLAGS ++HAVE_NUMACTL_FALSE ++HAVE_NUMACTL_TRUE ++WITH_SECDRIVER_APPARMOR_FALSE ++WITH_SECDRIVER_APPARMOR_TRUE ++APPARMOR_LIBS ++APPARMOR_CFLAGS ++HAVE_APPARMOR_FALSE ++HAVE_APPARMOR_TRUE ++WITH_SECDRIVER_SELINUX_FALSE ++WITH_SECDRIVER_SELINUX_TRUE ++SELINUX_LIBS ++SELINUX_CFLAGS ++HAVE_SELINUX_FALSE ++HAVE_SELINUX_TRUE ++HAVE_AVAHI_FALSE ++HAVE_AVAHI_TRUE ++AVAHI_LIBS ++AVAHI_CFLAGS ++HAVE_POLKIT_FALSE ++HAVE_POLKIT_TRUE ++POLKIT_AUTH ++POLKIT_LIBS ++POLKIT_CFLAGS ++SASL_LIBS ++SASL_CFLAGS ++HAVE_SASL_FALSE ++HAVE_SASL_TRUE ++GNUTLS_LIBS ++GNUTLS_CFLAGS ++LIBXML_LIBS ++LIBXML_CFLAGS ++HAVE_XMLRPC_FALSE ++HAVE_XMLRPC_TRUE ++XMLRPC_LIBS ++XMLRPC_CFLAGS ++PKG_CONFIG ++WITH_LXC_FALSE ++WITH_LXC_TRUE ++WITH_XEN_INOTIFY_FALSE ++WITH_XEN_INOTIFY_TRUE ++XEN_LIBS ++XEN_CFLAGS ++WITH_XEN_FALSE ++WITH_XEN_TRUE ++WITH_LIBVIRTD_FALSE ++WITH_LIBVIRTD_TRUE ++WITH_REMOTE_FALSE ++WITH_REMOTE_TRUE ++WITH_TEST_FALSE ++WITH_TEST_TRUE ++WITH_ONE_FALSE ++WITH_ONE_TRUE ++WITH_QEMU_FALSE ++WITH_QEMU_TRUE ++WITH_VBOX_FALSE ++WITH_VBOX_TRUE ++WITH_OPENVZ_FALSE ++WITH_OPENVZ_TRUE ++IPTABLES_PATH ++LOKKIT_PATH ++LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE ++LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE ++REMOTE_PID_FILE ++ENABLE_DEBUG_FALSE ++ENABLE_DEBUG_TRUE ++STATIC_BINARIES ++HTML_DIR ++MODPROBE ++UDEVSETTLE ++UDEVADM ++BRCTL ++DNSMASQ ++AUGPARSE ++XSLTPROC ++XMLCATALOG ++XMLLINT ++TAR ++MV ++RM ++HAVE_GLIBC_RPCGEN_FALSE ++HAVE_GLIBC_RPCGEN_TRUE ++HAVE_RPCGEN_FALSE ++HAVE_RPCGEN_TRUE ++RPCGEN ++WARN_PYTHON_CFLAGS ++WARN_CFLAGS ++COMPILER_FLAGS ++VERSION_SCRIPT_FLAGS ++OTOOL64 ++OTOOL ++LIPO ++NMEDIT ++DSYMUTIL ++lt_ECHO ++AR ++LN_S ++NM ++ac_ct_DUMPBIN ++DUMPBIN ++LD ++FGREP ++SED ++LIBTOOL ++OBJDUMP ++DLLTOOL ++AS ++ANSI2KNR ++U ++LIBTESTS_LIBDEPS ++abs_aux_dir ++LIBSOCKET ++NEXT_AS_FIRST_DIRECTIVE_WCHAR_H ++NEXT_WCHAR_H ++HAVE_WCHAR_H ++HAVE_WINT_T ++WCHAR_H ++REPLACE_WCWIDTH ++REPLACE_WCSNRTOMBS ++REPLACE_WCSRTOMBS ++REPLACE_WCRTOMB ++REPLACE_MBSNRTOWCS ++REPLACE_MBSRTOWCS ++REPLACE_MBRLEN ++REPLACE_MBRTOWC ++REPLACE_MBSINIT ++REPLACE_WCTOB ++REPLACE_BTOWC ++REPLACE_MBSTATE_T ++HAVE_DECL_WCWIDTH ++HAVE_DECL_WCTOB ++HAVE_WCSNRTOMBS ++HAVE_WCSRTOMBS ++HAVE_WCRTOMB ++HAVE_MBSNRTOWCS ++HAVE_MBSRTOWCS ++HAVE_MBRLEN ++HAVE_MBRTOWC ++HAVE_MBSINIT ++HAVE_BTOWC ++GNULIB_WCWIDTH ++GNULIB_WCSNRTOMBS ++GNULIB_WCSRTOMBS ++GNULIB_WCRTOMB ++GNULIB_MBSNRTOWCS ++GNULIB_MBSRTOWCS ++GNULIB_MBRLEN ++GNULIB_MBRTOWC ++GNULIB_MBSINIT ++GNULIB_WCTOB ++GNULIB_BTOWC ++HAVE_UNISTD_H ++NEXT_AS_FIRST_DIRECTIVE_UNISTD_H ++NEXT_UNISTD_H ++SYS_TIME_H_DEFINES_STRUCT_TIMESPEC ++TIME_H_DEFINES_STRUCT_TIMESPEC ++NEXT_AS_FIRST_DIRECTIVE_TIME_H ++NEXT_TIME_H ++REPLACE_TIMEGM ++REPLACE_STRPTIME ++REPLACE_NANOSLEEP ++REPLACE_LOCALTIME_R ++SYS_STAT_H ++NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H ++NEXT_SYS_STAT_H ++HAVE_LSTAT ++NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H ++NEXT_SYS_IOCTL_H ++HAVE_SYS_IOCTL_H ++NEXT_AS_FIRST_DIRECTIVE_STRING_H ++NEXT_STRING_H ++HAVE_RANDOM_H ++NEXT_AS_FIRST_DIRECTIVE_STDLIB_H ++NEXT_STDLIB_H ++NEXT_AS_FIRST_DIRECTIVE_STDIO_H ++NEXT_STDIO_H ++STDINT_H ++WINT_T_SUFFIX ++WCHAR_T_SUFFIX ++SIG_ATOMIC_T_SUFFIX ++SIZE_T_SUFFIX ++PTRDIFF_T_SUFFIX ++HAVE_SIGNED_WINT_T ++HAVE_SIGNED_WCHAR_T ++HAVE_SIGNED_SIG_ATOMIC_T ++BITSIZEOF_WINT_T ++BITSIZEOF_WCHAR_T ++BITSIZEOF_SIG_ATOMIC_T ++BITSIZEOF_SIZE_T ++BITSIZEOF_PTRDIFF_T ++HAVE_SYS_BITYPES_H ++HAVE_SYS_INTTYPES_H ++HAVE_STDINT_H ++NEXT_AS_FIRST_DIRECTIVE_STDINT_H ++NEXT_STDINT_H ++HAVE_SYS_TYPES_H ++HAVE_INTTYPES_H ++HAVE_UNSIGNED_LONG_LONG_INT ++HAVE_LONG_LONG_INT ++HAVE__BOOL ++STDBOOL_H ++SYS_SELECT_H ++HAVE_SYS_SELECT_H ++NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H ++NEXT_SYS_SELECT_H ++REPLACE_SELECT ++GNULIB_SELECT ++PREFERABLY_POSIX_SHELL ++POSIX_SHELL ++POLL_H ++NETINET_IN_H ++HAVE_NETINET_IN_H ++NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H ++NEXT_NETINET_IN_H ++APPLE_UNIVERSAL_BUILD ++REPLACE_STRSIGNAL ++REPLACE_STRERROR ++REPLACE_STRCASESTR ++REPLACE_STRSTR ++REPLACE_STRDUP ++REPLACE_MEMMEM ++REPLACE_MEMCHR ++HAVE_STRVERSCMP ++HAVE_DECL_STRSIGNAL ++HAVE_DECL_STRERROR ++HAVE_DECL_STRTOK_R ++HAVE_STRCASESTR ++HAVE_STRSEP ++HAVE_STRPBRK ++HAVE_DECL_STRNLEN ++HAVE_DECL_STRNDUP ++HAVE_STRNDUP ++HAVE_DECL_STRDUP ++HAVE_STRCHRNUL ++HAVE_STPNCPY ++HAVE_STPCPY ++HAVE_RAWMEMCHR ++HAVE_DECL_MEMRCHR ++HAVE_MEMPCPY ++HAVE_DECL_MEMMEM ++GNULIB_STRVERSCMP ++GNULIB_STRSIGNAL ++GNULIB_STRERROR ++GNULIB_MBSTOK_R ++GNULIB_MBSSEP ++GNULIB_MBSSPN ++GNULIB_MBSPBRK ++GNULIB_MBSCSPN ++GNULIB_MBSCASESTR ++GNULIB_MBSPCASECMP ++GNULIB_MBSNCASECMP ++GNULIB_MBSCASECMP ++GNULIB_MBSSTR ++GNULIB_MBSRCHR ++GNULIB_MBSCHR ++GNULIB_MBSNLEN ++GNULIB_MBSLEN ++GNULIB_STRTOK_R ++GNULIB_STRCASESTR ++GNULIB_STRSTR ++GNULIB_STRSEP ++GNULIB_STRPBRK ++GNULIB_STRNLEN ++GNULIB_STRNDUP ++GNULIB_STRDUP ++GNULIB_STRCHRNUL ++GNULIB_STPNCPY ++GNULIB_STPCPY ++GNULIB_RAWMEMCHR ++GNULIB_MEMRCHR ++GNULIB_MEMPCPY ++GNULIB_MEMMEM ++GNULIB_MEMCHR ++VOID_UNSETENV ++REPLACE_STRTOD ++REPLACE_PUTENV ++REPLACE_MKSTEMP ++HAVE_DECL_GETLOADAVG ++HAVE_UNSETENV ++HAVE_SYS_LOADAVG_H ++HAVE_STRUCT_RANDOM_DATA ++HAVE_STRTOULL ++HAVE_STRTOLL ++HAVE_STRTOD ++HAVE_SETENV ++HAVE_RPMATCH ++HAVE_RANDOM_R ++HAVE_REALLOC_POSIX ++HAVE_MKDTEMP ++HAVE_GETSUBOPT ++HAVE_CALLOC_POSIX ++HAVE_ATOLL ++GNULIB_UNSETENV ++GNULIB_STRTOULL ++GNULIB_STRTOLL ++GNULIB_STRTOD ++GNULIB_SETENV ++GNULIB_RPMATCH ++GNULIB_RANDOM_R ++GNULIB_PUTENV ++GNULIB_MKSTEMP ++GNULIB_MKDTEMP ++GNULIB_GETSUBOPT ++GNULIB_GETLOADAVG ++GNULIB_ATOLL ++GNULIB_CALLOC_POSIX ++GNULIB_REALLOC_POSIX ++GNULIB_MALLOC_POSIX ++HAVE_MALLOC_POSIX ++REPLACE_MKDIR ++REPLACE_LSTAT ++HAVE_LCHMOD ++GNULIB_LSTAT ++GNULIB_LCHMOD ++SYS_TIME_H ++REPLACE_GETTIMEOFDAY ++HAVE_STRUCT_TIMEVAL ++HAVE_SYS_TIME_H ++NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H ++NEXT_SYS_TIME_H ++LTLIBINTL ++LIBINTL ++GETADDRINFO_LIB ++SERVENT_LIB ++HOSTENT_LIB ++NETDB_H ++HAVE_NETDB_H ++NEXT_AS_FIRST_DIRECTIVE_NETDB_H ++NEXT_NETDB_H ++HAVE_DECL_GETNAMEINFO ++HAVE_DECL_GETADDRINFO ++HAVE_DECL_GAI_STRERROR ++HAVE_DECL_FREEADDRINFO ++HAVE_STRUCT_ADDRINFO ++GNULIB_GETADDRINFO ++FLOAT_H ++NEXT_AS_FIRST_DIRECTIVE_FLOAT_H ++NEXT_FLOAT_H ++EOVERFLOW_VALUE ++EOVERFLOW_HIDDEN ++ENOLINK_VALUE ++ENOLINK_HIDDEN ++EMULTIHOP_VALUE ++EMULTIHOP_HIDDEN ++ERRNO_H ++NEXT_AS_FIRST_DIRECTIVE_ERRNO_H ++NEXT_ERRNO_H ++SYS_SOCKET_H ++HAVE_WS2TCPIP_H ++HAVE_SYS_SOCKET_H ++NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H ++NEXT_SYS_SOCKET_H ++HAVE_SA_FAMILY_T ++HAVE_STRUCT_SOCKADDR_STORAGE ++GNULIB_SHUTDOWN ++GNULIB_SETSOCKOPT ++GNULIB_SENDTO ++GNULIB_RECVFROM ++GNULIB_SEND ++GNULIB_RECV ++GNULIB_LISTEN ++GNULIB_GETSOCKOPT ++GNULIB_GETSOCKNAME ++GNULIB_GETPEERNAME ++GNULIB_BIND ++GNULIB_ACCEPT ++GNULIB_CONNECT ++GNULIB_SOCKET ++REPLACE_PERROR ++REPLACE_GETLINE ++HAVE_DECL_GETLINE ++HAVE_DECL_GETDELIM ++REPLACE_FCLOSE ++HAVE_DECL_FPURGE ++REPLACE_FPURGE ++REPLACE_FFLUSH ++REPLACE_FTELL ++REPLACE_FTELLO ++HAVE_FTELLO ++REPLACE_FSEEK ++REPLACE_FSEEKO ++HAVE_FSEEKO ++REPLACE_FREOPEN ++REPLACE_FOPEN ++REPLACE_OBSTACK_PRINTF ++HAVE_DECL_OBSTACK_PRINTF ++REPLACE_VASPRINTF ++HAVE_VASPRINTF ++REPLACE_VDPRINTF ++HAVE_VDPRINTF ++REPLACE_DPRINTF ++HAVE_DPRINTF ++REPLACE_VSPRINTF ++REPLACE_SPRINTF ++HAVE_DECL_VSNPRINTF ++REPLACE_VSNPRINTF ++HAVE_DECL_SNPRINTF ++REPLACE_SNPRINTF ++REPLACE_VPRINTF ++REPLACE_PRINTF ++REPLACE_VFPRINTF ++REPLACE_FPRINTF ++REPLACE_STDIO_WRITE_FUNCS ++GNULIB_STDIO_H_SIGPIPE ++GNULIB_PERROR ++GNULIB_GETLINE ++GNULIB_GETDELIM ++GNULIB_FWRITE ++GNULIB_PUTS ++GNULIB_FPUTS ++GNULIB_PUTCHAR ++GNULIB_PUTC ++GNULIB_FPUTC ++GNULIB_FCLOSE ++GNULIB_FPURGE ++GNULIB_FFLUSH ++GNULIB_FTELLO ++GNULIB_FTELL ++GNULIB_FSEEKO ++GNULIB_FSEEK ++GNULIB_FREOPEN ++GNULIB_FOPEN ++GNULIB_OBSTACK_PRINTF_POSIX ++GNULIB_OBSTACK_PRINTF ++GNULIB_VASPRINTF ++GNULIB_VDPRINTF ++GNULIB_DPRINTF ++GNULIB_VSPRINTF_POSIX ++GNULIB_VSNPRINTF ++GNULIB_VPRINTF_POSIX ++GNULIB_VPRINTF ++GNULIB_VFPRINTF_POSIX ++GNULIB_VFPRINTF ++GNULIB_SPRINTF_POSIX ++GNULIB_SNPRINTF ++GNULIB_PRINTF_POSIX ++GNULIB_PRINTF ++GNULIB_FPRINTF_POSIX ++GNULIB_FPRINTF ++HAVE_WINSOCK2_H ++SYS_IOCTL_H ++SYS_IOCTL_H_HAVE_WINSOCK2_H ++GNULIB_IOCTL ++UNISTD_H_HAVE_WINSOCK2_H ++REPLACE_WRITE ++REPLACE_LSEEK ++REPLACE_LCHOWN ++REPLACE_GETPAGESIZE ++REPLACE_GETCWD ++REPLACE_FCHDIR ++REPLACE_CLOSE ++REPLACE_CHOWN ++HAVE_SYS_PARAM_H ++HAVE_OS_H ++HAVE_DECL_GETLOGIN_R ++HAVE_DECL_ENVIRON ++HAVE_SLEEP ++HAVE_READLINK ++HAVE_LINK ++HAVE_GETUSERSHELL ++HAVE_GETPAGESIZE ++HAVE_GETHOSTNAME ++HAVE_GETDTABLESIZE ++HAVE_GETDOMAINNAME ++HAVE_FTRUNCATE ++HAVE_FSYNC ++HAVE_EUIDACCESS ++HAVE_DUP2 ++GNULIB_WRITE ++GNULIB_UNISTD_H_SIGPIPE ++GNULIB_SLEEP ++GNULIB_READLINK ++GNULIB_LSEEK ++GNULIB_LINK ++GNULIB_LCHOWN ++GNULIB_GETUSERSHELL ++GNULIB_GETPAGESIZE ++GNULIB_GETLOGIN_R ++GNULIB_GETHOSTNAME ++GNULIB_GETDTABLESIZE ++GNULIB_GETDOMAINNAME ++GNULIB_GETCWD ++GNULIB_FTRUNCATE ++GNULIB_FSYNC ++GNULIB_FCHDIR ++GNULIB_EUIDACCESS ++GNULIB_ENVIRON ++GNULIB_DUP2 ++GNULIB_CLOSE ++GNULIB_CHOWN ++NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H ++NEXT_ARPA_INET_H ++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 ++GNULIB_INET_NTOP ++ALLOCA_H ++ALLOCA ++LTALLOCA ++GL_COND_LIBTOOL_FALSE ++GL_COND_LIBTOOL_TRUE ++EGREP ++GREP ++RANLIB ++CPP ++am__fastdepCC_FALSE ++am__fastdepCC_TRUE ++CCDEPMODE ++AMDEPBACKSLASH ++AMDEP_FALSE ++AMDEP_TRUE ++am__quote ++am__include ++DEPDIR ++OBJEXT ++EXEEXT ++ac_ct_CC ++CPPFLAGS ++LDFLAGS ++CFLAGS ++CC ++LIBVIRT_VERSION_NUMBER ++LIBVIRT_VERSION_INFO ++LIBVIRT_VERSION ++LIBVIRT_MICRO_VERSION ++LIBVIRT_MINOR_VERSION ++LIBVIRT_MAJOR_VERSION ++host_os ++host_vendor ++host_cpu ++host ++build_os ++build_vendor ++build_cpu ++build ++am__untar ++am__tar ++AMTAR ++am__leading_dot ++SET_MAKE ++AWK ++mkdir_p ++MKDIR_P ++INSTALL_STRIP_PROGRAM ++STRIP ++install_sh ++MAKEINFO ++AUTOHEADER ++AUTOMAKE ++AUTOCONF ++ACLOCAL ++VERSION ++PACKAGE ++CYGPATH_W ++am__isrc ++INSTALL_DATA ++INSTALL_SCRIPT ++INSTALL_PROGRAM ++target_alias ++host_alias ++build_alias ++LIBS ++ECHO_T ++ECHO_N ++ECHO_C ++DEFS ++mandir ++localedir ++libdir ++psdir ++pdfdir ++dvidir ++htmldir ++infodir ++docdir ++oldincludedir ++includedir ++localstatedir ++sharedstatedir ++sysconfdir ++datadir ++datarootdir ++libexecdir ++sbindir ++bindir ++program_transform_name ++prefix ++exec_prefix ++PACKAGE_URL ++PACKAGE_BUGREPORT ++PACKAGE_STRING ++PACKAGE_VERSION ++PACKAGE_TARNAME ++PACKAGE_NAME ++PATH_SEPARATOR ++SHELL' ++ac_subst_files='' ++ac_user_opts=' ++enable_option_checking ++enable_dependency_tracking ++enable_largefile ++enable_shared ++enable_static ++with_pic ++enable_fast_install ++with_gnu_ld ++enable_libtool_lock ++enable_compile_warnings ++enable_iso_c ++with_html_dir ++with_html_subdir ++with_xen ++with_xen_inotify ++with_qemu ++with_uml ++with_openvz ++with_libssh ++with_phyp ++with_vbox ++with_lxc ++with_one ++with_esx ++with_test ++with_remote ++with_libvirtd ++enable_debug ++with_remote_pid_file ++with_init_script ++with_rhel5_api ++enable_iptables_lokkit ++with_libxml ++with_sasl ++with_polkit ++with_avahi ++with_selinux ++with_secdriver_selinux ++with_apparmor ++with_secdriver_apparmor ++with_numactl ++with_capng ++with_network ++with_netcf ++with_storage_fs ++with_storage_lvm ++with_storage_iscsi ++with_storage_scsi ++with_storage_disk ++enable_test_coverage ++enable_test_oom ++enable_test_locking ++with_xen_proxy ++enable_nls ++enable_rpath ++with_libiconv_prefix ++with_libintl_prefix ++with_driver_modules ++with_hal ++with_devkit ++with_qemu_user ++with_qemu_group ++' ++ ac_precious_vars='build_alias ++host_alias ++target_alias ++CC ++CFLAGS ++LDFLAGS ++LIBS ++CPPFLAGS ++CPP ++PKG_CONFIG ++XMLRPC_CFLAGS ++XMLRPC_LIBS ++LIBXML_CFLAGS ++LIBXML_LIBS ++GNUTLS_CFLAGS ++GNUTLS_LIBS ++POLKIT_CFLAGS ++POLKIT_LIBS ++AVAHI_CFLAGS ++AVAHI_LIBS ++NETCF_CFLAGS ++NETCF_LIBS ++LIBPARTED_CFLAGS ++LIBPARTED_LIBS ++LIBCURL_CFLAGS ++LIBCURL_LIBS ++HAL_CFLAGS ++HAL_LIBS ++GLIB2_CFLAGS ++GLIB2_LIBS ++DEVKIT_CFLAGS ++DEVKIT_LIBS' ++ ++ ++# Initialize some variables set by options. ++ac_init_help= ++ac_init_version=false ++ac_unrecognized_opts= ++ac_unrecognized_sep= ++# The variables have the same names as the options, with ++# dashes changed to underlines. ++cache_file=/dev/null ++exec_prefix=NONE ++no_create= ++no_recursion= ++prefix=NONE ++program_prefix=NONE ++program_suffix=NONE ++program_transform_name=s,x,x, ++silent= ++site= ++srcdir= ++verbose= ++x_includes=NONE ++x_libraries=NONE ++ ++# Installation directory options. ++# These are left unexpanded so users can "make install exec_prefix=/foo" ++# and all the variables that are supposed to be based on exec_prefix ++# by default will actually change. ++# Use braces instead of parens because sh, perl, etc. also accept them. ++# (The list follows the same order as the GNU Coding Standards.) ++bindir='${exec_prefix}/bin' ++sbindir='${exec_prefix}/sbin' ++libexecdir='${exec_prefix}/libexec' ++datarootdir='${prefix}/share' ++datadir='${datarootdir}' ++sysconfdir='${prefix}/etc' ++sharedstatedir='${prefix}/com' ++localstatedir='${prefix}/var' ++includedir='${prefix}/include' ++oldincludedir='/usr/include' ++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ++infodir='${datarootdir}/info' ++htmldir='${docdir}' ++dvidir='${docdir}' ++pdfdir='${docdir}' ++psdir='${docdir}' ++libdir='${exec_prefix}/lib' ++localedir='${datarootdir}/locale' ++mandir='${datarootdir}/man' ++ ++ac_prev= ++ac_dashdash= ++for ac_option ++do ++ # If the previous option needs an argument, assign it. ++ if test -n "$ac_prev"; then ++ eval $ac_prev=\$ac_option ++ ac_prev= ++ continue ++ fi ++ ++ case $ac_option in ++ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ++ *) ac_optarg=yes ;; ++ esac ++ ++ # Accept the important Cygnus configure options, so we can diagnose typos. ++ ++ case $ac_dashdash$ac_option in ++ --) ++ ac_dashdash=yes ;; ++ ++ -bindir | --bindir | --bindi | --bind | --bin | --bi) ++ ac_prev=bindir ;; ++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ++ bindir=$ac_optarg ;; ++ ++ -build | --build | --buil | --bui | --bu) ++ ac_prev=build_alias ;; ++ -build=* | --build=* | --buil=* | --bui=* | --bu=*) ++ build_alias=$ac_optarg ;; ++ ++ -cache-file | --cache-file | --cache-fil | --cache-fi \ ++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ++ ac_prev=cache_file ;; ++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ++ cache_file=$ac_optarg ;; ++ ++ --config-cache | -C) ++ cache_file=config.cache ;; ++ ++ -datadir | --datadir | --datadi | --datad) ++ ac_prev=datadir ;; ++ -datadir=* | --datadir=* | --datadi=* | --datad=*) ++ datadir=$ac_optarg ;; ++ ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ ++ | --dataroo | --dataro | --datar) ++ ac_prev=datarootdir ;; ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) ++ datarootdir=$ac_optarg ;; ++ ++ -disable-* | --disable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=no ;; ++ ++ -docdir | --docdir | --docdi | --doc | --do) ++ ac_prev=docdir ;; ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) ++ docdir=$ac_optarg ;; ++ ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ++ ac_prev=dvidir ;; ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) ++ dvidir=$ac_optarg ;; ++ ++ -enable-* | --enable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=\$ac_optarg ;; ++ ++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ++ | --exec | --exe | --ex) ++ ac_prev=exec_prefix ;; ++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ++ | --exec=* | --exe=* | --ex=*) ++ exec_prefix=$ac_optarg ;; ++ ++ -gas | --gas | --ga | --g) ++ # Obsolete; use --with-gas. ++ with_gas=yes ;; ++ ++ -help | --help | --hel | --he | -h) ++ ac_init_help=long ;; ++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ++ ac_init_help=recursive ;; ++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ++ ac_init_help=short ;; ++ ++ -host | --host | --hos | --ho) ++ ac_prev=host_alias ;; ++ -host=* | --host=* | --hos=* | --ho=*) ++ host_alias=$ac_optarg ;; ++ ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ++ ac_prev=htmldir ;; ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ ++ | --ht=*) ++ htmldir=$ac_optarg ;; ++ ++ -includedir | --includedir | --includedi | --included | --include \ ++ | --includ | --inclu | --incl | --inc) ++ ac_prev=includedir ;; ++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ++ | --includ=* | --inclu=* | --incl=* | --inc=*) ++ includedir=$ac_optarg ;; ++ ++ -infodir | --infodir | --infodi | --infod | --info | --inf) ++ ac_prev=infodir ;; ++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ++ infodir=$ac_optarg ;; ++ ++ -libdir | --libdir | --libdi | --libd) ++ ac_prev=libdir ;; ++ -libdir=* | --libdir=* | --libdi=* | --libd=*) ++ libdir=$ac_optarg ;; ++ ++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ++ | --libexe | --libex | --libe) ++ ac_prev=libexecdir ;; ++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ++ | --libexe=* | --libex=* | --libe=*) ++ libexecdir=$ac_optarg ;; ++ ++ -localedir | --localedir | --localedi | --localed | --locale) ++ ac_prev=localedir ;; ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) ++ localedir=$ac_optarg ;; ++ ++ -localstatedir | --localstatedir | --localstatedi | --localstated \ ++ | --localstate | --localstat | --localsta | --localst | --locals) ++ ac_prev=localstatedir ;; ++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) ++ localstatedir=$ac_optarg ;; ++ ++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ++ ac_prev=mandir ;; ++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ++ mandir=$ac_optarg ;; ++ ++ -nfp | --nfp | --nf) ++ # Obsolete; use --without-fp. ++ with_fp=no ;; ++ ++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ ++ | --no-cr | --no-c | -n) ++ no_create=yes ;; ++ ++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ ++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ++ no_recursion=yes ;; ++ ++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ ++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ ++ | --oldin | --oldi | --old | --ol | --o) ++ ac_prev=oldincludedir ;; ++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ ++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ ++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) ++ oldincludedir=$ac_optarg ;; ++ ++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ++ ac_prev=prefix ;; ++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ++ prefix=$ac_optarg ;; ++ ++ -program-prefix | --program-prefix | --program-prefi | --program-pref \ ++ | --program-pre | --program-pr | --program-p) ++ ac_prev=program_prefix ;; ++ -program-prefix=* | --program-prefix=* | --program-prefi=* \ ++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) ++ program_prefix=$ac_optarg ;; ++ ++ -program-suffix | --program-suffix | --program-suffi | --program-suff \ ++ | --program-suf | --program-su | --program-s) ++ ac_prev=program_suffix ;; ++ -program-suffix=* | --program-suffix=* | --program-suffi=* \ ++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) ++ program_suffix=$ac_optarg ;; ++ ++ -program-transform-name | --program-transform-name \ ++ | --program-transform-nam | --program-transform-na \ ++ | --program-transform-n | --program-transform- \ ++ | --program-transform | --program-transfor \ ++ | --program-transfo | --program-transf \ ++ | --program-trans | --program-tran \ ++ | --progr-tra | --program-tr | --program-t) ++ ac_prev=program_transform_name ;; ++ -program-transform-name=* | --program-transform-name=* \ ++ | --program-transform-nam=* | --program-transform-na=* \ ++ | --program-transform-n=* | --program-transform-=* \ ++ | --program-transform=* | --program-transfor=* \ ++ | --program-transfo=* | --program-transf=* \ ++ | --program-trans=* | --program-tran=* \ ++ | --progr-tra=* | --program-tr=* | --program-t=*) ++ program_transform_name=$ac_optarg ;; ++ ++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ++ ac_prev=pdfdir ;; ++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) ++ pdfdir=$ac_optarg ;; ++ ++ -psdir | --psdir | --psdi | --psd | --ps) ++ ac_prev=psdir ;; ++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) ++ psdir=$ac_optarg ;; ++ ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ silent=yes ;; ++ ++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ++ ac_prev=sbindir ;; ++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ++ | --sbi=* | --sb=*) ++ sbindir=$ac_optarg ;; ++ ++ -sharedstatedir | --sharedstatedir | --sharedstatedi \ ++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ ++ | --sharedst | --shareds | --shared | --share | --shar \ ++ | --sha | --sh) ++ ac_prev=sharedstatedir ;; ++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ ++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ ++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ ++ | --sha=* | --sh=*) ++ sharedstatedir=$ac_optarg ;; ++ ++ -site | --site | --sit) ++ ac_prev=site ;; ++ -site=* | --site=* | --sit=*) ++ site=$ac_optarg ;; ++ ++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ++ ac_prev=srcdir ;; ++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ++ srcdir=$ac_optarg ;; ++ ++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ ++ | --syscon | --sysco | --sysc | --sys | --sy) ++ ac_prev=sysconfdir ;; ++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ ++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) ++ sysconfdir=$ac_optarg ;; ++ ++ -target | --target | --targe | --targ | --tar | --ta | --t) ++ ac_prev=target_alias ;; ++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) ++ target_alias=$ac_optarg ;; ++ ++ -v | -verbose | --verbose | --verbos | --verbo | --verb) ++ verbose=yes ;; ++ ++ -version | --version | --versio | --versi | --vers | -V) ++ ac_init_version=: ;; ++ ++ -with-* | --with-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=\$ac_optarg ;; ++ ++ -without-* | --without-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=no ;; ++ ++ --x) ++ # Obsolete; use --with-x. ++ with_x=yes ;; ++ ++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ ++ | --x-incl | --x-inc | --x-in | --x-i) ++ ac_prev=x_includes ;; ++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ ++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) ++ x_includes=$ac_optarg ;; ++ ++ -x-libraries | --x-libraries | --x-librarie | --x-librari \ ++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ++ ac_prev=x_libraries ;; ++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ ++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) ++ x_libraries=$ac_optarg ;; ++ ++ -*) as_fn_error "unrecognized option: \`$ac_option' ++Try \`$0 --help' for more information." ++ ;; ++ ++ *=*) ++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ++ # Reject names that are not valid shell variable names. ++ case $ac_envvar in #( ++ '' | [0-9]* | *[!_$as_cr_alnum]* ) ++ as_fn_error "invalid variable name: \`$ac_envvar'" ;; ++ esac ++ eval $ac_envvar=\$ac_optarg ++ export $ac_envvar ;; ++ ++ *) ++ # FIXME: should be removed in autoconf 3.0. ++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 ++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && ++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 ++ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ++ ;; ++ ++ esac ++done ++ ++if test -n "$ac_prev"; then ++ ac_option=--`echo $ac_prev | sed 's/_/-/g'` ++ as_fn_error "missing argument to $ac_option" ++fi ++ ++if test -n "$ac_unrecognized_opts"; then ++ case $enable_option_checking in ++ no) ;; ++ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; ++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; ++ esac ++fi ++ ++# Check all directory arguments for consistency. ++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ ++ datadir sysconfdir sharedstatedir localstatedir includedir \ ++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ ++ libdir localedir mandir ++do ++ eval ac_val=\$$ac_var ++ # Remove trailing slashes. ++ case $ac_val in ++ */ ) ++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` ++ eval $ac_var=\$ac_val;; ++ esac ++ # Be sure to have absolute directory names. ++ case $ac_val in ++ [\\/$]* | ?:[\\/]* ) continue;; ++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; ++ esac ++ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" ++done ++ ++# There might be people who depend on the old broken behavior: `$host' ++# used to hold the argument of --host etc. ++# FIXME: To remove some day. ++build=$build_alias ++host=$host_alias ++target=$target_alias ++ ++# FIXME: To remove some day. ++if test "x$host_alias" != x; then ++ if test "x$build_alias" = x; then ++ cross_compiling=maybe ++ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. ++ If a cross compiler is detected then cross compile mode will be used." >&2 ++ elif test "x$build_alias" != "x$host_alias"; then ++ cross_compiling=yes ++ fi ++fi ++ ++ac_tool_prefix= ++test -n "$host_alias" && ac_tool_prefix=$host_alias- ++ ++test "$silent" = yes && exec 6>/dev/null ++ ++ ++ac_pwd=`pwd` && test -n "$ac_pwd" && ++ac_ls_di=`ls -di .` && ++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ++ as_fn_error "working directory cannot be determined" ++test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ++ as_fn_error "pwd does not report name of working directory" ++ ++ ++# Find the source files, if location was not specified. ++if test -z "$srcdir"; then ++ ac_srcdir_defaulted=yes ++ # Try the directory containing this script, then the parent directory. ++ ac_confdir=`$as_dirname -- "$as_myself" || ++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_myself" : 'X\(//\)[^/]' \| \ ++ X"$as_myself" : 'X\(//\)$' \| \ ++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_myself" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ srcdir=$ac_confdir ++ if test ! -r "$srcdir/$ac_unique_file"; then ++ srcdir=.. ++ fi ++else ++ ac_srcdir_defaulted=no ++fi ++if test ! -r "$srcdir/$ac_unique_file"; then ++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ++ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" ++fi ++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ++ac_abs_confdir=`( ++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" ++ pwd)` ++# When building in place, set srcdir=. ++if test "$ac_abs_confdir" = "$ac_pwd"; then ++ srcdir=. ++fi ++# Remove unnecessary trailing slashes from srcdir. ++# Double slashes in file names in object file debugging info ++# mess up M-x gdb in Emacs. ++case $srcdir in ++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; ++esac ++for ac_var in $ac_precious_vars; do ++ eval ac_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_env_${ac_var}_value=\$${ac_var} ++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_cv_env_${ac_var}_value=\$${ac_var} ++done ++ ++# ++# Report the --help message. ++# ++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.0 to adapt to many kinds of systems. ++ ++Usage: $0 [OPTION]... [VAR=VALUE]... ++ ++To assign environment variables (e.g., CC, CFLAGS...), specify them as ++VAR=VALUE. See below for descriptions of some of the useful variables. ++ ++Defaults for the options are specified in brackets. ++ ++Configuration: ++ -h, --help display this help and exit ++ --help=short display options specific to this package ++ --help=recursive display the short help of all the included packages ++ -V, --version display version information and exit ++ -q, --quiet, --silent do not print \`checking...' messages ++ --cache-file=FILE cache test results in FILE [disabled] ++ -C, --config-cache alias for \`--cache-file=config.cache' ++ -n, --no-create do not create output files ++ --srcdir=DIR find the sources in DIR [configure dir or \`..'] ++ ++Installation directories: ++ --prefix=PREFIX install architecture-independent files in PREFIX ++ [$ac_default_prefix] ++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX ++ [PREFIX] ++ ++By default, \`make install' will install all the files in ++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ++an installation prefix other than \`$ac_default_prefix' using \`--prefix', ++for instance \`--prefix=\$HOME'. ++ ++For better control, use the options below. ++ ++Fine tuning of the installation directories: ++ --bindir=DIR user executables [EPREFIX/bin] ++ --sbindir=DIR system admin executables [EPREFIX/sbin] ++ --libexecdir=DIR program executables [EPREFIX/libexec] ++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] ++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] ++ --localstatedir=DIR modifiable single-machine data [PREFIX/var] ++ --libdir=DIR object code libraries [EPREFIX/lib] ++ --includedir=DIR C header files [PREFIX/include] ++ --oldincludedir=DIR C header files for non-gcc [/usr/include] ++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] ++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] ++ --infodir=DIR info documentation [DATAROOTDIR/info] ++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] ++ --mandir=DIR man documentation [DATAROOTDIR/man] ++ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libvirt@:>@ ++ --htmldir=DIR html documentation [DOCDIR] ++ --dvidir=DIR dvi documentation [DOCDIR] ++ --pdfdir=DIR pdf documentation [DOCDIR] ++ --psdir=DIR ps documentation [DOCDIR] ++_ACEOF ++ ++ cat <<\_ACEOF ++ ++Program names: ++ --program-prefix=PREFIX prepend PREFIX to installed program names ++ --program-suffix=SUFFIX append SUFFIX to installed program names ++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names ++ ++System types: ++ --build=BUILD configure for building on BUILD [guessed] ++ --host=HOST cross-compile to build programs to run on HOST [BUILD] ++_ACEOF ++fi ++ ++if test -n "$ac_init_help"; then ++ case $ac_init_help in ++ short | recursive ) echo "Configuration of libvirt 0.7.0:";; ++ esac ++ cat <<\_ACEOF ++ ++Optional Features: ++ --disable-option-checking ignore unrecognized --enable/--with options ++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) ++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] ++ --disable-dependency-tracking speeds up one-time build ++ --enable-dependency-tracking do not reject slow dependency extractors ++ --disable-largefile omit support for large files ++ --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ ++ --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ ++ --enable-fast-install@<:@=PKGS@:>@ ++ optimize for fast installation @<:@default=yes@:>@ ++ --disable-libtool-lock avoid locking (might break parallel builds) ++ --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-iptables-lokkit=no/yes/check ++ enable registering libvirt's iptables rules with ++ Fedora's lokkit ++ --enable-test-coverage turn on code coverage instrumentation ++ --enable-test-oom memory allocation failure checking ++ --enable-test-locking thread locking tests using CIL ++ --disable-nls do not use Native Language Support ++ --disable-rpath do not hardcode runtime library paths ++ ++Optional Packages: ++ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ++ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) ++ --with-pic try to use only PIC/non-PIC objects @<:@default=use ++ both@:>@ ++ --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ ++ --with-html-dir=path path to base html directory, default ++ $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-libssh=PFX libssh 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 ++ PID file for libvirtd ++ --with-init-scripts=redhat|auto|none ++ Style of init scripts 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-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-disk with GPartd Disk backend for the storage driver (on) ++ --with-xen-proxy add XEN setuid proxy support (on) ++ --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-devkit use DeviceKit for host device enumeration ++ --with-qemu-user username to run QEMU system instance as ++ --with-qemu-group groupname to run QEMU system instance as ++ ++Some influential environment variables: ++ CC C compiler command ++ CFLAGS C compiler flags ++ LDFLAGS linker flags, e.g. -L if you have libraries in a ++ nonstandard directory ++ LIBS libraries to pass to the linker, e.g. -l ++ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if ++ you have headers in a nonstandard directory ++ CPP C preprocessor ++ PKG_CONFIG path to pkg-config utility ++ XMLRPC_CFLAGS ++ C compiler flags for XMLRPC, overriding pkg-config ++ XMLRPC_LIBS linker flags for XMLRPC, overriding pkg-config ++ LIBXML_CFLAGS ++ C compiler flags for LIBXML, overriding pkg-config ++ LIBXML_LIBS linker flags for LIBXML, overriding pkg-config ++ GNUTLS_CFLAGS ++ C compiler flags for GNUTLS, overriding pkg-config ++ GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config ++ POLKIT_CFLAGS ++ C compiler flags for POLKIT, overriding pkg-config ++ POLKIT_LIBS linker flags for POLKIT, overriding pkg-config ++ AVAHI_CFLAGS ++ C compiler flags for AVAHI, overriding pkg-config ++ AVAHI_LIBS linker flags for AVAHI, overriding pkg-config ++ NETCF_CFLAGS ++ C compiler flags for NETCF, overriding pkg-config ++ NETCF_LIBS linker flags for NETCF, overriding pkg-config ++ LIBPARTED_CFLAGS ++ C compiler flags for LIBPARTED, overriding pkg-config ++ LIBPARTED_LIBS ++ linker flags for LIBPARTED, overriding pkg-config ++ LIBCURL_CFLAGS ++ C compiler flags for LIBCURL, overriding pkg-config ++ LIBCURL_LIBS ++ linker flags for LIBCURL, overriding pkg-config ++ HAL_CFLAGS C compiler flags for HAL, overriding pkg-config ++ HAL_LIBS linker flags for HAL, overriding pkg-config ++ GLIB2_CFLAGS ++ C compiler flags for GLIB2, overriding pkg-config ++ GLIB2_LIBS linker flags for GLIB2, overriding pkg-config ++ DEVKIT_CFLAGS ++ C compiler flags for DEVKIT, overriding pkg-config ++ DEVKIT_LIBS linker flags for DEVKIT, overriding pkg-config ++ ++Use these variables to override the choices made by `configure' or to help ++it to find libraries and programs with nonstandard names/locations. ++ ++Report bugs to the package provider. ++_ACEOF ++ac_status=$? ++fi ++ ++if test "$ac_init_help" = "recursive"; then ++ # If there are subdirs, report their specific --help. ++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue ++ test -d "$ac_dir" || ++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || ++ continue ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ cd "$ac_dir" || { ac_status=$?; continue; } ++ # Check for guested configure. ++ if test -f "$ac_srcdir/configure.gnu"; then ++ echo && ++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive ++ elif test -f "$ac_srcdir/configure"; then ++ echo && ++ $SHELL "$ac_srcdir/configure" --help=recursive ++ else ++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ++ fi || ac_status=$? ++ cd "$ac_pwd" || { ac_status=$?; break; } ++ done ++fi ++ ++test -n "$ac_init_help" && exit $ac_status ++if $ac_init_version; then ++ cat <<\_ACEOF ++libvirt configure 0.7.0 ++generated by GNU Autoconf 2.64 ++ ++Copyright (C) 2009 Free Software Foundation, Inc. ++This configure script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it. ++_ACEOF ++ exit ++fi ++ ++## ------------------------ ## ++## Autoconf initialization. ## ++## ------------------------ ## ++ ++@%:@ ac_fn_c_try_compile LINENO ++@%:@ -------------------------- ++@%:@ Try to compile conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ 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:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval ++ ++} @%:@ ac_fn_c_try_compile ++ ++@%:@ ac_fn_c_try_cpp LINENO ++@%:@ ---------------------- ++@%:@ Try to preprocess conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_cpp () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval ++ ++} @%:@ ac_fn_c_try_cpp ++ ++@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using ++@%:@ the include files in INCLUDES and setting the cache variable VAR ++@%:@ accordingly. ++ac_fn_c_check_header_mongrel () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ++$as_echo_n "checking $2 usability... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_header_compiler=yes ++else ++ ac_header_compiler=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 ++$as_echo_n "checking $2 presence... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ac_header_preproc=yes ++else ++ ac_header_preproc=no ++fi ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( ++ yes:no: ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=\$ac_header_compiler" ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_header_mongrel ++ ++@%:@ ac_fn_c_try_run LINENO ++@%:@ ---------------------- ++@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. Assumes ++@%:@ that executables *can* be run. ++ac_fn_c_try_run () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=$ac_status ++fi ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval ++ ++} @%:@ ac_fn_c_try_run ++ ++@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists and can be compiled using the include files in ++@%:@ INCLUDES, setting the cache variable VAR accordingly. ++ac_fn_c_check_header_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_header_compile ++ ++@%:@ ac_fn_c_try_link LINENO ++@%:@ ----------------------- ++@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_link () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest$ac_exeext ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ++ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ++ # interfere with the next link command; also delete a directory that is ++ # left behind by Apple's compiler. We do this before executing the actions. ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval ++ ++} @%:@ ac_fn_c_try_link ++ ++@%:@ ac_fn_c_check_func LINENO FUNC VAR ++@%:@ ---------------------------------- ++@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly ++ac_fn_c_check_func () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Define $2 to an innocuous variant, in case declares $2. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $2 innocuous_$2 ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $2 (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef $2 ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char $2 (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$2 || defined __stub___$2 ++choke me ++#endif ++ ++int ++main () ++{ ++return $2 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_func ++ ++@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++@%:@ ------------------------------------------- ++@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache ++@%:@ variable VAR accordingly. ++ac_fn_c_check_type () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ eval "$3=yes" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_type ++ ++@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES ++@%:@ -------------------------------------------- ++@%:@ Tries to find the compile-time value of EXPR in a program that includes ++@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be ++@%:@ computed ++ac_fn_c_compute_int () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid; break ++else ++ as_fn_arith $ac_mid + 1 && ac_lo=$as_val ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) < 0)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=$ac_mid; break ++else ++ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ ac_lo= ac_hi= ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid ++else ++ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in @%:@(( ++?*) eval "$3=\$ac_lo"; ac_retval=0 ;; ++'') ac_retval=1 ;; ++esac ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++static long int longval () { return $2; } ++static unsigned long int ulongval () { return $2; } ++@%:@include ++@%:@include ++int ++main () ++{ ++ ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (($2) < 0) ++ { ++ long int i = longval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ echo >>conftest.val; read $3 &5 ++$as_echo_n "checking for $2.$3... " >&6; } ++if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (sizeof ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ eval "$4=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$4 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_member ++ ++@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR ++@%:@ ------------------------------------ ++@%:@ Tests whether SYMBOL is declared, setting cache variable VAR accordingly. ++ac_fn_c_check_decl () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 ++$as_echo_n "checking whether $2 is declared... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++@%:@ifndef $2 ++ (void) $2; ++@%:@endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_decl ++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.0, which was ++generated by GNU Autoconf 2.64. Invocation command line was ++ ++ $ $0 $@ ++ ++_ACEOF ++exec 5>>config.log ++{ ++cat <<_ASUNAME ++## --------- ## ++## Platform. ## ++## --------- ## ++ ++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ++uname -m = `(uname -m) 2>/dev/null || echo unknown` ++uname -r = `(uname -r) 2>/dev/null || echo unknown` ++uname -s = `(uname -s) 2>/dev/null || echo unknown` ++uname -v = `(uname -v) 2>/dev/null || echo unknown` ++ ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ++ ++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ++ ++_ASUNAME ++ ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ $as_echo "PATH: $as_dir" ++ done ++IFS=$as_save_IFS ++ ++} >&5 ++ ++cat >&5 <<_ACEOF ++ ++ ++## ----------- ## ++## Core tests. ## ++## ----------- ## ++ ++_ACEOF ++ ++ ++# Keep a trace of the command line. ++# Strip out --no-create and --no-recursion so they do not pile up. ++# Strip out --silent because we don't want to record it for future runs. ++# Also quote any args containing shell meta-characters. ++# Make two passes to allow for proper duplicate-argument suppression. ++ac_configure_args= ++ac_configure_args0= ++ac_configure_args1= ++ac_must_keep_next=false ++for ac_pass in 1 2 ++do ++ for ac_arg ++ do ++ case $ac_arg in ++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ continue ;; ++ *\'*) ++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ case $ac_pass in ++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ++ 2) ++ as_fn_append ac_configure_args1 " '$ac_arg'" ++ if test $ac_must_keep_next = true; then ++ ac_must_keep_next=false # Got value, back to normal. ++ else ++ case $ac_arg in ++ *=* | --config-cache | -C | -disable-* | --disable-* \ ++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ++ | -with-* | --with-* | -without-* | --without-* | --x) ++ case "$ac_configure_args0 " in ++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ++ esac ++ ;; ++ -* ) ac_must_keep_next=true ;; ++ esac ++ fi ++ as_fn_append ac_configure_args " '$ac_arg'" ++ ;; ++ esac ++ done ++done ++{ ac_configure_args0=; unset ac_configure_args0;} ++{ ac_configure_args1=; unset ac_configure_args1;} ++ ++# When interrupted or exit'd, cleanup temporary files, and complete ++# config.log. We remove comments because anyway the quotes in there ++# would cause problems or look ugly. ++# WARNING: Use '\'' to represent an apostrophe within the trap. ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ++trap 'exit_status=$? ++ # Save into config.log some information that might help in debugging. ++ { ++ echo ++ ++ cat <<\_ASBOX ++## ---------------- ## ++## Cache variables. ## ++## ---------------- ## ++_ASBOX ++ echo ++ # The following way of writing the cache mishandles newlines in values, ++( ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ (set) 2>&1 | ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ sed -n \ ++ "s/'\''/'\''\\\\'\'''\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ++ ;; #( ++ *) ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) ++ echo ++ ++ cat <<\_ASBOX ++## ----------------- ## ++## Output variables. ## ++## ----------------- ## ++_ASBOX ++ echo ++ for ac_var in $ac_subst_vars ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ ++ if test -n "$ac_subst_files"; then ++ cat <<\_ASBOX ++## ------------------- ## ++## File substitutions. ## ++## ------------------- ## ++_ASBOX ++ echo ++ for ac_var in $ac_subst_files ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ fi ++ ++ if test -s confdefs.h; then ++ cat <<\_ASBOX ++## ----------- ## ++## confdefs.h. ## ++## ----------- ## ++_ASBOX ++ echo ++ cat confdefs.h ++ echo ++ fi ++ test "$ac_signal" != 0 && ++ $as_echo "$as_me: caught signal $ac_signal" ++ $as_echo "$as_me: exit $exit_status" ++ } >&5 ++ rm -f core *.core core.conftest.* && ++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ++ exit $exit_status ++' 0 ++for ac_signal in 1 2 13 15; do ++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal ++done ++ac_signal=0 ++ ++# confdefs.h avoids OS command line length limits that DEFS can exceed. ++rm -f -r conftest* confdefs.h ++ ++$as_echo "/* confdefs.h */" > confdefs.h ++ ++# Predefined preprocessor variables. ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_NAME "$PACKAGE_NAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_STRING "$PACKAGE_STRING" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_URL "$PACKAGE_URL" ++_ACEOF ++ ++ ++# Let the site file select an alternate cache file if it wants to. ++# Prefer an explicitly selected file to automatically selected ones. ++ac_site_file1=NONE ++ac_site_file2=NONE ++if test -n "$CONFIG_SITE"; then ++ ac_site_file1=$CONFIG_SITE ++elif test "x$prefix" != xNONE; then ++ ac_site_file1=$prefix/share/config.site ++ ac_site_file2=$prefix/etc/config.site ++else ++ ac_site_file1=$ac_default_prefix/share/config.site ++ ac_site_file2=$ac_default_prefix/etc/config.site ++fi ++for ac_site_file in "$ac_site_file1" "$ac_site_file2" ++do ++ test "x$ac_site_file" = xNONE && continue ++ if test -r "$ac_site_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ++$as_echo "$as_me: loading site script $ac_site_file" >&6;} ++ sed 's/^/| /' "$ac_site_file" >&5 ++ . "$ac_site_file" ++ fi ++done ++ ++if test -r "$cache_file"; then ++ # Some versions of bash will fail to source /dev/null (special ++ # files actually), so we avoid doing that. ++ if test -f "$cache_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ++$as_echo "$as_me: loading cache $cache_file" >&6;} ++ case $cache_file in ++ [\\/]* | ?:[\\/]* ) . "$cache_file";; ++ *) . "./$cache_file";; ++ esac ++ fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ++$as_echo "$as_me: creating cache $cache_file" >&6;} ++ >$cache_file ++fi ++ ++gl_header_list="$gl_header_list arpa/inet.h" ++gl_header_list="$gl_header_list sys/socket.h" ++gl_header_list="$gl_header_list errno.h" ++gl_header_list="$gl_header_list float.h" ++gl_header_list="$gl_header_list netdb.h" ++gl_header_list="$gl_header_list netinet/in.h" ++gl_header_list="$gl_header_list stdio_ext.h" ++gl_header_list="$gl_header_list termios.h" ++gl_func_list="$gl_func_list __fsetlocking" ++gl_func_list="$gl_func_list tcgetattr" ++gl_func_list="$gl_func_list tcsetattr" ++gl_header_list="$gl_header_list sys/time.h" ++gl_func_list="$gl_func_list gettimeofday" ++gl_func_list="$gl_func_list lstat" ++gl_header_list="$gl_header_list sys/mman.h" ++gl_func_list="$gl_func_list mprotect" ++gl_header_list="$gl_header_list sys/ioctl.h" ++gl_header_list="$gl_header_list sys/filio.h" ++gl_header_list="$gl_header_list sys/select.h" ++gl_header_list="$gl_header_list stdint.h" ++gl_header_list="$gl_header_list wchar.h" ++gl_header_list="$gl_header_list stdio.h" ++gl_header_list="$gl_header_list stdlib.h" ++gl_header_list="$gl_header_list string.h" ++gl_header_list="$gl_header_list sys/stat.h" ++gl_header_list="$gl_header_list time.h" ++gl_header_list="$gl_header_list unistd.h" ++gl_func_list="$gl_func_list vasnprintf" ++gl_header_list="$gl_header_list sys/wait.h" ++# Check that the precious variables saved in the cache have kept the same ++# value. ++ac_cache_corrupted=false ++for ac_var in $ac_precious_vars; do ++ eval ac_old_set=\$ac_cv_env_${ac_var}_set ++ eval ac_new_set=\$ac_env_${ac_var}_set ++ eval ac_old_val=\$ac_cv_env_${ac_var}_value ++ eval ac_new_val=\$ac_env_${ac_var}_value ++ case $ac_old_set,$ac_new_set in ++ set,) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,set) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,);; ++ *) ++ if test "x$ac_old_val" != "x$ac_new_val"; then ++ # differences in whitespace do not lead to failure. ++ ac_old_val_w=`echo x $ac_old_val` ++ ac_new_val_w=`echo x $ac_new_val` ++ if test "$ac_old_val_w" != "$ac_new_val_w"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ++ ac_cache_corrupted=: ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} ++ eval $ac_var=\$ac_old_val ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} ++ fi;; ++ esac ++ # Pass precious variables to config.status. ++ if test "$ac_new_set" = set; then ++ case $ac_new_val in ++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *) ac_arg=$ac_var=$ac_new_val ;; ++ esac ++ case " $ac_configure_args " in ++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ++ *) as_fn_append ac_configure_args " '$ac_arg'" ;; ++ esac ++ fi ++done ++if $ac_cache_corrupted; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} ++ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 ++fi ++## -------------------- ## ++## Main body of script. ## ++## -------------------- ## ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++ ++ac_aux_dir= ++for ac_dir in build-aux "$srcdir"/build-aux; do ++ for ac_t in install-sh install.sh shtool; do ++ if test -f "$ac_dir/$ac_t"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/$ac_t -c" ++ break 2 ++ fi ++ done ++done ++if test -z "$ac_aux_dir"; then ++ as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 ++fi ++ ++# These three variables are undocumented and unsupported, ++# and are intended to be withdrawn in a future Autoconf release. ++# They can cause serious problems if a builder's source tree is in a directory ++# whose full name contains unusual characters. ++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. ++ ++ ++ac_config_headers="$ac_config_headers config.h" ++ ++am__api_version='1.10' ++ ++# Find a good install program. We prefer a C program (faster), ++# so one script is as good as another. But avoid the broken or ++# incompatible versions: ++# SysV /etc/install, /usr/sbin/install ++# SunOS /usr/etc/install ++# IRIX /sbin/install ++# AIX /bin/install ++# AmigaOS /C/install, which installs bootblocks on floppy discs ++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag ++# AFS /usr/afsws/bin/install, which mishandles nonexistent args ++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" ++# OS/2's system install, which has a completely different semantic ++# ./install, which can be erroneously created by make from ./install.sh. ++# Reject install programs that cannot install multiple files. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 ++$as_echo_n "checking for a BSD-compatible install... " >&6; } ++if test -z "$INSTALL"; then ++if test "${ac_cv_path_install+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ # Account for people who put trailing slashes in PATH elements. ++case $as_dir/ in @%:@(( ++ ./ | .// | /[cC]/* | \ ++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ ++ /usr/ucb/* ) ;; ++ *) ++ # OSF1 and SCO ODT 3.0 have their own names for install. ++ # Don't use installbsd from OSF since it installs stuff as root ++ # by default. ++ for ac_prog in ginstall scoinst install; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then ++ if test $ac_prog = install && ++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ++ # AIX install. It has an incompatible calling convention. ++ : ++ elif test $ac_prog = install && ++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ++ # program-specific install script used by HP pwplus--don't use. ++ : ++ else ++ rm -rf conftest.one conftest.two conftest.dir ++ echo one > conftest.one ++ echo two > conftest.two ++ mkdir conftest.dir ++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && ++ test -s conftest.one && test -s conftest.two && ++ test -s conftest.dir/conftest.one && ++ test -s conftest.dir/conftest.two ++ then ++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" ++ break 3 ++ fi ++ fi ++ fi ++ done ++ done ++ ;; ++esac ++ ++ done ++IFS=$as_save_IFS ++ ++rm -rf conftest.one conftest.two conftest.dir ++ ++fi ++ if test "${ac_cv_path_install+set}" = set; then ++ INSTALL=$ac_cv_path_install ++ else ++ # As a last resort, use the slow shell script. Don't cache a ++ # value for INSTALL within a source directory, because that will ++ # break other packages using the cache if that directory is ++ # removed, or if the value is a relative name. ++ INSTALL=$ac_install_sh ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 ++$as_echo "$INSTALL" >&6; } ++ ++# Use test -z because SunOS4 sh mishandles braces in ${var-val}. ++# It thinks the first close brace ends the variable substitution. ++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' ++ ++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' ++ ++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 ++$as_echo_n "checking whether build environment is sane... " >&6; } ++# Just in case ++sleep 1 ++echo timestamp > conftest.file ++# Do `set' in a subshell so we don't clobber the current shell's ++# arguments. Must try -L first in case configure is actually a ++# symlink; some systems play weird games with the mod time of symlinks ++# (eg FreeBSD returns the mod time of the symlink's containing ++# directory). ++if ( ++ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` ++ if test "$*" = "X"; then ++ # -L didn't work. ++ set X `ls -t $srcdir/configure conftest.file` ++ fi ++ rm -f conftest.file ++ if test "$*" != "X $srcdir/configure conftest.file" \ ++ && test "$*" != "X conftest.file $srcdir/configure"; then ++ ++ # If neither matched, then we have a broken ls. This can happen ++ # if, for instance, CONFIG_SHELL is bash and it inherits a ++ # broken ls alias from the environment. This has actually ++ # happened. Such a system could not be considered "sane". ++ as_fn_error "ls -t appears to fail. Make sure there is not a broken ++alias in your environment" "$LINENO" 5 ++ fi ++ ++ test "$2" = conftest.file ++ ) ++then ++ # Ok. ++ : ++else ++ as_fn_error "newly created file is older than distributed files! ++Check your system clock" "$LINENO" 5 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++test "$program_prefix" != NONE && ++ program_transform_name="s&^&$program_prefix&;$program_transform_name" ++# Use a double $ so make ignores it. ++test "$program_suffix" != NONE && ++ program_transform_name="s&\$&$program_suffix&;$program_transform_name" ++# Double any \ or $. ++# By default was `s,x,x', remove it if useless. ++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' ++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` ++ ++# expand $ac_aux_dir to an absolute path ++am_aux_dir=`cd $ac_aux_dir && pwd` ++ ++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" ++# Use eval to expand $SHELL ++if eval "$MISSING --run true"; then ++ am_missing_run="$MISSING --run " ++else ++ am_missing_run= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 ++$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$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 ++ if test "${ac_cv_path_mkdir+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in mkdir gmkdir; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue ++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( ++ 'mkdir (GNU coreutils) '* | \ ++ 'mkdir (coreutils) '* | \ ++ 'mkdir (fileutils) '4.1*) ++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext ++ break 3;; ++ esac ++ done ++ done ++ done ++IFS=$as_save_IFS ++ ++fi ++ ++ if test "${ac_cv_path_mkdir+set}" = set; then ++ MKDIR_P="$ac_cv_path_mkdir -p" ++ else ++ # As a last resort, use the slow shell script. Don't cache a ++ # value for MKDIR_P within a source directory, because that will ++ # break other packages using the cache if that directory is ++ # removed, or if the value is a relative name. ++ test -d ./--version && rmdir ./--version ++ MKDIR_P="$ac_install_sh -d" ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 ++$as_echo "$MKDIR_P" >&6; } ++ ++mkdir_p="$MKDIR_P" ++case $mkdir_p in ++ [\\/$]* | ?:[\\/]*) ;; ++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; ++esac ++ ++for ac_prog in gawk mawk nawk awk ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; 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_prog_AWK+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$AWK"; then ++ ac_cv_prog_AWK="$AWK" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_AWK="$ac_prog" ++ $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 ++ ++fi ++fi ++AWK=$ac_cv_prog_AWK ++if test -n "$AWK"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 ++$as_echo "$AWK" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$AWK" && break ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 ++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } ++set x ${MAKE-make} ++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` ++if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.make <<\_ACEOF ++SHELL = /bin/sh ++all: ++ @echo '@@@%%%=$(MAKE)=@@@%%%' ++_ACEOF ++# GNU make sometimes prints "make[1]: Entering...", which would confuse us. ++case `${MAKE-make} -f conftest.make 2>/dev/null` in ++ *@@@%%%=?*=@@@%%%*) ++ eval ac_cv_prog_make_${ac_make}_set=yes;; ++ *) ++ eval ac_cv_prog_make_${ac_make}_set=no;; ++esac ++rm -f conftest.make ++fi ++if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ SET_MAKE= ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ SET_MAKE="MAKE=${MAKE-make}" ++fi ++ ++rm -rf .tst 2>/dev/null ++mkdir .tst 2>/dev/null ++if test -d .tst; then ++ am__leading_dot=. ++else ++ am__leading_dot=_ ++fi ++rmdir .tst 2>/dev/null ++ ++if test "`cd $srcdir && pwd`" != "`pwd`"; then ++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output ++ # is not polluted with repeated "-I." ++ am__isrc=' -I$(srcdir)' ++ # test to see if srcdir already configured ++ if test -f $srcdir/config.status; then ++ as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 ++ fi ++fi ++ ++# test whether we have cygpath ++if test -z "$CYGPATH_W"; then ++ if (cygpath --version) >/dev/null 2>/dev/null; then ++ CYGPATH_W='cygpath -w' ++ else ++ CYGPATH_W=echo ++ fi ++fi ++ ++ ++# Define the identity of the package. ++ PACKAGE='libvirt' ++ VERSION='0.7.0' ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE "$PACKAGE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VERSION "$VERSION" ++_ACEOF ++ ++# Some tools Automake needs. ++ ++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} ++ ++ ++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} ++ ++ ++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} ++ ++ ++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} ++ ++ ++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} ++ ++install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} ++ ++# Installed binaries are usually stripped using `strip' when the user ++# run `make install-strip'. However `strip' might not be the right ++# tool to use in cross-compilation environments, therefore Automake ++# will honor the `STRIP' environment variable to overrule this program. ++if test "$cross_compiling" != no; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. ++set dummy ${ac_tool_prefix}strip; 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_prog_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$STRIP"; then ++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_STRIP="${ac_tool_prefix}strip" ++ $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 ++ ++fi ++fi ++STRIP=$ac_cv_prog_STRIP ++if test -n "$STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++$as_echo "$STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_STRIP"; then ++ ac_ct_STRIP=$STRIP ++ # Extract the first word of "strip", so it can be a program name with args. ++set dummy strip; 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_prog_ac_ct_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_STRIP"; then ++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_STRIP="strip" ++ $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 ++ ++fi ++fi ++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP ++if test -n "$ac_ct_STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++$as_echo "$ac_ct_STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_STRIP" = x; then ++ STRIP=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ STRIP=$ac_ct_STRIP ++ fi ++else ++ STRIP="$ac_cv_prog_STRIP" ++fi ++ ++fi ++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ++ ++# We need awk for the "check" target. The system "awk" is bad on ++# some platforms. ++# Always define AMTAR for backward compatibility. ++ ++AMTAR=${AMTAR-"${am_missing_run}tar"} ++ ++am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' ++ ++ ++ ++ ++ ++ ++# Use the silent-rules feature when possible. ++ ++ ++ ++# Make sure we can run config.sub. ++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || ++ as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 ++$as_echo_n "checking build system type... " >&6; } ++if test "${ac_cv_build+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_build_alias=$build_alias ++test "x$ac_build_alias" = x && ++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` ++test "x$ac_build_alias" = x && ++ as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 ++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || ++ as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 ++$as_echo "$ac_cv_build" >&6; } ++case $ac_cv_build in ++*-*-*) ;; ++*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; ++esac ++build=$ac_cv_build ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_build ++shift ++build_cpu=$1 ++build_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++build_os=$* ++IFS=$ac_save_IFS ++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 ++$as_echo_n "checking host system type... " >&6; } ++if test "${ac_cv_host+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "x$host_alias" = x; then ++ ac_cv_host=$ac_cv_build ++else ++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || ++ as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 ++$as_echo "$ac_cv_host" >&6; } ++case $ac_cv_host in ++*-*-*) ;; ++*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; ++esac ++host=$ac_cv_host ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_host ++shift ++host_cpu=$1 ++host_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++host_os=$* ++IFS=$ac_save_IFS ++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac ++ ++ ++ ++LIBVIRT_MAJOR_VERSION=`echo $VERSION | awk -F. '{print $1}'` ++LIBVIRT_MINOR_VERSION=`echo $VERSION | awk -F. '{print $2}'` ++LIBVIRT_MICRO_VERSION=`echo $VERSION | awk -F. '{print $3}'` ++LIBVIRT_VERSION=$LIBVIRT_MAJOR_VERSION.$LIBVIRT_MINOR_VERSION.$LIBVIRT_MICRO_VERSION$LIBVIRT_MICRO_VERSION_SUFFIX ++LIBVIRT_VERSION_INFO=`expr $LIBVIRT_MAJOR_VERSION + $LIBVIRT_MINOR_VERSION`:$LIBVIRT_MICRO_VERSION:$LIBVIRT_MINOR_VERSION ++LIBVIRT_VERSION_NUMBER=`expr $LIBVIRT_MAJOR_VERSION \* 1000000 + $LIBVIRT_MINOR_VERSION \* 1000 + $LIBVIRT_MICRO_VERSION` ++ ++ ++ ++ ++ ++ ++ ++ ++LIBXML_REQUIRED="2.6.0" ++GNUTLS_REQUIRED="1.0.25" ++AVAHI_REQUIRED="0.6.0" ++POLKIT_REQUIRED="0.6" ++PARTED_REQUIRED="1.8.0" ++NETCF_REQUIRED="0.0.1" ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}gcc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="${ac_tool_prefix}gcc" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_CC"; then ++ ac_ct_CC=$CC ++ # Extract the first word of "gcc", so it can be a program name with args. ++set dummy gcc; 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_prog_ac_ct_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_CC="gcc" ++ $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 ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++else ++ CC="$ac_cv_prog_CC" ++fi ++ ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}cc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="${ac_tool_prefix}cc" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ fi ++fi ++if test -z "$CC"; then ++ # Extract the first word of "cc", so it can be a program name with args. ++set dummy cc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++ ac_prog_rejected=no ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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 ++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ++ ac_prog_rejected=yes ++ continue ++ fi ++ ac_cv_prog_CC="cc" ++ $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 ++ ++if test $ac_prog_rejected = yes; then ++ # We found a bogon in the path, so make sure we never use it. ++ set dummy $ac_cv_prog_CC ++ shift ++ if test $@%:@ != 0; then ++ # We chose a different compiler from the bogus one. ++ # However, it has the same basename, so the bogon will be chosen ++ # first if we set CC to just the basename; use the full file name. ++ shift ++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ++ fi ++fi ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in cl.exe ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="$ac_tool_prefix$ac_prog" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CC" && break ++ done ++fi ++if test -z "$CC"; then ++ ac_ct_CC=$CC ++ for ac_prog in cl.exe ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; 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_prog_ac_ct_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_CC="$ac_prog" ++ $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 ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CC" && break ++done ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++fi ++ ++fi ++ ++ ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "no acceptable C compiler found in \$PATH ++See \`config.log' for more details." "$LINENO" 5; } ++ ++# Provide some information about the compiler. ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ rm -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++FILE *f = fopen ("conftest.out", "w"); ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" ++# Try to create an executable without -o first, disregard a.out. ++# It will help us diagnose broken compilers, and finding out an intuition ++# of exeext. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 ++$as_echo_n "checking for C compiler default output file name... " >&6; } ++ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ++ ++# The possible output files: ++ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ++ ++ac_rmfiles= ++for ac_file in $ac_files ++do ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ * ) ac_rmfiles="$ac_rmfiles $ac_file";; ++ esac ++done ++rm -f $ac_rmfiles ++ ++if { { ac_try="$ac_link_default" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link_default") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. ++# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' ++# in a Makefile. We should not override ac_cv_exeext if it was cached, ++# so that the user can short-circuit this test for compilers unknown to ++# Autoconf. ++for ac_file in $ac_files '' ++do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ++ ;; ++ [ab].out ) ++ # We found the default executable, but exeext='' is most ++ # certainly right. ++ break;; ++ *.* ) ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ++ then :; else ++ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ fi ++ # We set ac_cv_exeext here because the later test for it is not ++ # safe: cross compilers may not add the suffix if given an `-o' ++ # argument, so we may need to know it at that point already. ++ # Even if this section looks crufty: it has the advantage of ++ # actually working. ++ break;; ++ * ) ++ break;; ++ esac ++done ++test "$ac_cv_exeext" = no && ac_cv_exeext= ++ ++else ++ ac_file='' ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ++$as_echo "$ac_file" >&6; } ++if test -z "$ac_file"; then : ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ as_fn_set_status 77 ++as_fn_error "C compiler cannot create executables ++See \`config.log' for more details." "$LINENO" 5; }; } ++fi ++ac_exeext=$ac_cv_exeext ++ ++# Check that the compiler produces executables we can run. If not, either ++# the compiler is broken, or we cross compile. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 ++$as_echo_n "checking whether the C compiler works... " >&6; } ++# If not cross compiling, check that we can run a simple program. ++if test "$cross_compiling" != yes; then ++ if { ac_try='./$ac_file' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ cross_compiling=no ++ else ++ if test "$cross_compiling" = maybe; then ++ cross_compiling=yes ++ else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "cannot run C compiled programs. ++If you meant to cross compile, use \`--host'. ++See \`config.log' for more details." "$LINENO" 5; } ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out ++ac_clean_files=$ac_clean_files_save ++# Check that the compiler produces executables we can run. If not, either ++# the compiler is broken, or we cross compile. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ++$as_echo_n "checking whether we are cross compiling... " >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ++$as_echo "$cross_compiling" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ++$as_echo_n "checking for suffix of executables... " >&6; } ++if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # If both `conftest.exe' and `conftest' are `present' (well, observable) ++# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ++# work properly (i.e., refer to `conftest.exe'), while it won't with ++# `rm'. ++for ac_file in conftest.exe conftest conftest.*; do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ break;; ++ * ) break;; ++ esac ++done ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details." "$LINENO" 5; } ++fi ++rm -f conftest$ac_cv_exeext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ++$as_echo "$ac_cv_exeext" >&6; } ++ ++rm -f conftest.$ac_ext ++EXEEXT=$ac_cv_exeext ++ac_exeext=$EXEEXT ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ++$as_echo_n "checking for suffix of object files... " >&6; } ++if test "${ac_cv_objext+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.o conftest.obj ++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:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ for ac_file in conftest.o conftest.obj conftest.*; do ++ test -f "$ac_file" || continue; ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; ++ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` ++ break;; ++ esac ++done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "cannot compute suffix of object files: cannot compile ++See \`config.log' for more details." "$LINENO" 5; } ++fi ++rm -f conftest.$ac_cv_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ++$as_echo "$ac_cv_objext" >&6; } ++OBJEXT=$ac_cv_objext ++ac_objext=$OBJEXT ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ++if test "${ac_cv_c_compiler_gnu+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_compiler_gnu=yes ++else ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_cv_c_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++$as_echo "$ac_cv_c_compiler_gnu" >&6; } ++if test $ac_compiler_gnu = yes; then ++ GCC=yes ++else ++ GCC= ++fi ++ac_test_CFLAGS=${CFLAGS+set} ++ac_save_CFLAGS=$CFLAGS ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++$as_echo_n "checking whether $CC accepts -g... " >&6; } ++if test "${ac_cv_prog_cc_g+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_save_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ ac_cv_prog_cc_g=no ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++else ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_c_werror_flag=$ac_save_c_werror_flag ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++$as_echo "$ac_cv_prog_cc_g" >&6; } ++if test "$ac_test_CFLAGS" = set; then ++ CFLAGS=$ac_save_CFLAGS ++elif test $ac_cv_prog_cc_g = yes; then ++ if test "$GCC" = yes; then ++ CFLAGS="-g -O2" ++ else ++ CFLAGS="-g" ++ fi ++else ++ if test "$GCC" = yes; then ++ CFLAGS="-O2" ++ else ++ CFLAGS= ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if test "${ac_cv_prog_cc_c89+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++DEPDIR="${am__leading_dot}deps" ++ ++ac_config_commands="$ac_config_commands depfiles" ++ ++ ++am_make=${MAKE-make} ++cat > confinc << 'END' ++am__doit: ++ @echo done ++.PHONY: am__doit ++END ++# If we don't find an include directive, just comment out the code. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 ++$as_echo_n "checking for style of include used by $am_make... " >&6; } ++am__include="#" ++am__quote= ++_am_result=none ++# First try GNU make style include. ++echo "include confinc" > confmf ++# We grep out `Entering directory' and `Leaving directory' ++# messages which can occur if `w' ends up in MAKEFLAGS. ++# In particular we don't look at `^make:' because GNU make might ++# be invoked under some other name (usually "gmake"), in which ++# case it prints its new name instead of `make'. ++if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then ++ am__include=include ++ am__quote= ++ _am_result=GNU ++fi ++# Now try BSD make style include. ++if test "$am__include" = "#"; then ++ echo '.include "confinc"' > confmf ++ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then ++ am__include=.include ++ am__quote="\"" ++ _am_result=BSD ++ fi ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 ++$as_echo "$_am_result" >&6; } ++rm -f confinc confmf ++ ++@%:@ Check whether --enable-dependency-tracking was given. ++if test "${enable_dependency_tracking+set}" = set; then : ++ enableval=$enable_dependency_tracking; ++fi ++ ++if test "x$enable_dependency_tracking" != xno; then ++ am_depcomp="$ac_aux_dir/depcomp" ++ AMDEPBACKSLASH='\' ++fi ++ if test "x$enable_dependency_tracking" != xno; then ++ AMDEP_TRUE= ++ AMDEP_FALSE='#' ++else ++ AMDEP_TRUE='#' ++ AMDEP_FALSE= ++fi ++ ++ ++ ++depcc="$CC" am_compiler_list= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++$as_echo_n "checking dependency style of $depcc... " >&6; } ++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named `D' -- because `-MD' means `put the output ++ # in D'. ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_CC_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ++ fi ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with ++ # Solaris 8's {/usr,}/bin/sh. ++ touch sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ case $depmode in ++ nosideeffect) ++ # after this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ none) break ;; ++ esac ++ # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle `-M -o', and we need to detect this. ++ if depmode=$depmode \ ++ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_CC_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_CC_dependencies_compiler_type=none ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 ++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } ++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type ++ ++ if ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then ++ am__fastdepCC_TRUE= ++ am__fastdepCC_FALSE='#' ++else ++ am__fastdepCC_TRUE='#' ++ am__fastdepCC_FALSE= ++fi ++ ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++$as_echo_n "checking how to run the C preprocessor... " >&6; } ++# On Suns, sometimes $CPP names a directory. ++if test -n "$CPP" && test -d "$CPP"; then ++ CPP= ++fi ++if test -z "$CPP"; then ++ if test "${ac_cv_prog_CPP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Double quotes because CPP needs to be expanded ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ++ do ++ ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@ifdef __STDC__ ++@%:@ include ++@%:@else ++@%:@ include ++@%:@endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ break ++fi ++ ++ done ++ ac_cv_prog_CPP=$CPP ++ ++fi ++ CPP=$ac_cv_prog_CPP ++else ++ ac_cv_prog_CPP=$CPP ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++$as_echo "$CPP" >&6; } ++ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@ifdef __STDC__ ++@%:@ include ++@%:@else ++@%:@ include ++@%:@endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details." "$LINENO" 5; } ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. ++set dummy ${ac_tool_prefix}ranlib; 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_prog_RANLIB+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$RANLIB"; then ++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_RANLIB="${ac_tool_prefix}ranlib" ++ $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 ++ ++fi ++fi ++RANLIB=$ac_cv_prog_RANLIB ++if test -n "$RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 ++$as_echo "$RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_RANLIB"; then ++ ac_ct_RANLIB=$RANLIB ++ # Extract the first word of "ranlib", so it can be a program name with args. ++set dummy ranlib; 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_prog_ac_ct_RANLIB+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_RANLIB"; then ++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_RANLIB="ranlib" ++ $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 ++ ++fi ++fi ++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB ++if test -n "$ac_ct_RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 ++$as_echo "$ac_ct_RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_RANLIB" = x; then ++ RANLIB=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ RANLIB=$ac_ct_RANLIB ++ fi ++else ++ RANLIB="$ac_cv_prog_RANLIB" ++fi ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ++$as_echo_n "checking for grep that handles long lines and -e... " >&6; } ++if test "${ac_cv_path_GREP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$GREP"; then ++ ac_path_GREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in grep ggrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" ++ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue ++# Check for GNU ac_path_GREP and select it if it is found. ++ # Check for GNU $ac_path_GREP ++case `"$ac_path_GREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'GREP' >> "conftest.nl" ++ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_GREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_GREP="$ac_path_GREP" ++ ac_path_GREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_GREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_GREP"; then ++ as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_GREP=$GREP ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ++$as_echo "$ac_cv_path_GREP" >&6; } ++ GREP="$ac_cv_path_GREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++$as_echo_n "checking for egrep... " >&6; } ++if test "${ac_cv_path_EGREP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ++ then ac_cv_path_EGREP="$GREP -E" ++ else ++ if test -z "$EGREP"; then ++ ac_path_EGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in egrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" ++ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue ++# Check for GNU ac_path_EGREP and select it if it is found. ++ # Check for GNU $ac_path_EGREP ++case `"$ac_path_EGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'EGREP' >> "conftest.nl" ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_EGREP="$ac_path_EGREP" ++ ac_path_EGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_EGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_EGREP"; then ++ as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_EGREP=$EGREP ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++$as_echo "$ac_cv_path_EGREP" >&6; } ++ EGREP="$ac_cv_path_EGREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 ++$as_echo_n "checking for ANSI C header files... " >&6; } ++if test "${ac_cv_header_stdc+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdc=yes ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++if test $ac_cv_header_stdc = yes; then ++ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "memchr" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "free" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#if ((' ' & 0x0FF) == 0x020) ++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') ++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) ++#else ++# define ISLOWER(c) \ ++ (('a' <= (c) && (c) <= 'i') \ ++ || ('j' <= (c) && (c) <= 'r') \ ++ || ('s' <= (c) && (c) <= 'z')) ++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) ++#endif ++ ++#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) ++int ++main () ++{ ++ int i; ++ for (i = 0; i < 256; i++) ++ if (XOR (islower (i), ISLOWER (i)) ++ || toupper (i) != TOUPPER (i)) ++ return 2; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 ++$as_echo "$ac_cv_header_stdc" >&6; } ++if test $ac_cv_header_stdc = yes; then ++ ++$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h ++ ++fi ++ ++# On IRIX 5.3, sys/types and inttypes.h are conflicting. ++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ++ inttypes.h stdint.h unistd.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" ++if test "x$ac_cv_header_minix_config_h" = x""yes; then : ++ MINIX=yes ++else ++ MINIX= ++fi ++ ++ ++ if test "$MINIX" = yes; then ++ ++$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h ++ ++ ++$as_echo "@%:@define _MINIX 1" >>confdefs.h ++ ++ fi ++ ++ case "$host_os" in ++ hpux*) ++ ++$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 ++$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } ++if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# define __EXTENSIONS__ 1 ++ $ac_includes_default ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_safe_to_define___extensions__=yes ++else ++ ac_cv_safe_to_define___extensions__=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 ++$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } ++ test $ac_cv_safe_to_define___extensions__ = yes && ++ $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h ++ ++ $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h ++ ++ $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h ++ ++ $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h ++ ++ $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } ++if test "${ac_cv_sys_largefile_source+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include /* for off_t */ ++ #include ++int ++main () ++{ ++int (*fp) (FILE *, off_t, int) = fseeko; ++ return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_sys_largefile_source=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGEFILE_SOURCE 1 ++#include /* for off_t */ ++ #include ++int ++main () ++{ ++int (*fp) (FILE *, off_t, int) = fseeko; ++ return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_sys_largefile_source=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ac_cv_sys_largefile_source=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 ++$as_echo "$ac_cv_sys_largefile_source" >&6; } ++case $ac_cv_sys_largefile_source in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ ++# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug ++# in glibc 2.1.3, but that breaks too many other things. ++# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. ++if test $ac_cv_sys_largefile_source != unknown; then ++ ++$as_echo "@%:@define HAVE_FSEEKO 1" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works ++# for constant arguments. Useless! ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 ++$as_echo_n "checking for working alloca.h... " >&6; } ++if test "${ac_cv_working_alloca_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++char *p = (char *) alloca (2 * sizeof (int)); ++ if (p) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_working_alloca_h=yes ++else ++ ac_cv_working_alloca_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 ++$as_echo "$ac_cv_working_alloca_h" >&6; } ++if test $ac_cv_working_alloca_h = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 ++$as_echo_n "checking for alloca... " >&6; } ++if test "${ac_cv_func_alloca_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __GNUC__ ++# define alloca __builtin_alloca ++#else ++# ifdef _MSC_VER ++# include ++# define alloca _alloca ++# else ++# ifdef HAVE_ALLOCA_H ++# include ++# else ++# ifdef _AIX ++ #pragma alloca ++# else ++# ifndef alloca /* predefined by HP cc +Olibcalls */ ++char *alloca (); ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++int ++main () ++{ ++char *p = (char *) alloca (1); ++ if (p) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_func_alloca_works=yes ++else ++ ac_cv_func_alloca_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 ++$as_echo "$ac_cv_func_alloca_works" >&6; } ++ ++if test $ac_cv_func_alloca_works = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h ++ ++else ++ # The SVR3 libPW and SVR4 libucb both contain incompatible functions ++# that cause trouble. Some versions do not even contain alloca or ++# contain a buggy version. If you still want to use their alloca, ++# use ar to extract alloca.o from them instead of compiling alloca.c. ++ ++ ++ ++ ++ ++ALLOCA=\${LIBOBJDIR}alloca.$ac_objext ++ ++$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 ++$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } ++if test "${ac_cv_os_cray+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined CRAY && ! defined CRAY2 ++webecray ++#else ++wenotbecray ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "webecray" >/dev/null 2>&1; then : ++ ac_cv_os_cray=yes ++else ++ ac_cv_os_cray=no ++fi ++rm -f conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 ++$as_echo "$ac_cv_os_cray" >&6; } ++if test $ac_cv_os_cray = yes; then ++ for ac_func in _getb67 GETB67 getb67; do ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define CRAY_STACKSEG_END $ac_func ++_ACEOF ++ ++ break ++fi ++ ++ done ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 ++$as_echo_n "checking stack direction for C alloca... " >&6; } ++if test "${ac_cv_c_stack_direction+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_c_stack_direction=0 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++find_stack_direction () ++{ ++ static char *addr = 0; ++ auto char dummy; ++ if (addr == 0) ++ { ++ addr = &dummy; ++ return find_stack_direction (); ++ } ++ else ++ return (&dummy > addr) ? 1 : -1; ++} ++ ++int ++main () ++{ ++ return find_stack_direction () < 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_stack_direction=1 ++else ++ ac_cv_c_stack_direction=-1 ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 ++$as_echo "$ac_cv_c_stack_direction" >&6; } ++cat >>confdefs.h <<_ACEOF ++@%:@define STACK_DIRECTION $ac_cv_c_stack_direction ++_ACEOF ++ ++ ++fi ++ ++ ++ GNULIB_INET_NTOP=0; ++ GNULIB_INET_PTON=0; ++ HAVE_DECL_INET_NTOP=1; ++ HAVE_DECL_INET_PTON=1; ++ ARPA_INET_H=''; ++ ++ ++ ++ ++ ++ for ac_header in $gl_header_list ++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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 ++$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } ++if test "${gl_cv_have_include_next+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftestd1a conftestd1b conftestd2 ++ mkdir conftestd1a conftestd1b conftestd2 ++ cat < conftestd1a/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd1b/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd2/conftest.h ++#ifndef DEFINED_IN_CONFTESTD1 ++#error "include_next test doesn't work" ++#endif ++#define DEFINED_IN_CONFTESTD2 ++EOF ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_have_include_next=yes ++else ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_have_include_next=buggy ++else ++ gl_cv_have_include_next=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ rm -rf conftestd1a conftestd1b conftestd2 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 ++$as_echo "$gl_cv_have_include_next" >&6; } ++ PRAGMA_SYSTEM_HEADER= ++ if test $gl_cv_have_include_next = yes; then ++ INCLUDE_NEXT=include_next ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ if test -n "$GCC"; then ++ PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' ++ fi ++ else ++ if test $gl_cv_have_include_next = buggy; then ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ else ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include ++ fi ++ fi ++ ++ ++ ++ ++ ++ GNULIB_CHOWN=0; ++ GNULIB_CLOSE=0; ++ GNULIB_DUP2=0; ++ GNULIB_ENVIRON=0; ++ GNULIB_EUIDACCESS=0; ++ GNULIB_FCHDIR=0; ++ GNULIB_FSYNC=0; ++ GNULIB_FTRUNCATE=0; ++ GNULIB_GETCWD=0; ++ GNULIB_GETDOMAINNAME=0; ++ GNULIB_GETDTABLESIZE=0; ++ GNULIB_GETHOSTNAME=0; ++ GNULIB_GETLOGIN_R=0; ++ GNULIB_GETPAGESIZE=0; ++ GNULIB_GETUSERSHELL=0; ++ GNULIB_LCHOWN=0; ++ GNULIB_LINK=0; ++ GNULIB_LSEEK=0; ++ GNULIB_READLINK=0; ++ GNULIB_SLEEP=0; ++ GNULIB_UNISTD_H_SIGPIPE=0; ++ GNULIB_WRITE=0; ++ HAVE_DUP2=1; ++ HAVE_EUIDACCESS=1; ++ HAVE_FSYNC=1; ++ HAVE_FTRUNCATE=1; ++ HAVE_GETDOMAINNAME=1; ++ HAVE_GETDTABLESIZE=1; ++ HAVE_GETHOSTNAME=1; ++ HAVE_GETPAGESIZE=1; ++ HAVE_GETUSERSHELL=1; ++ HAVE_LINK=1; ++ HAVE_READLINK=1; ++ HAVE_SLEEP=1; ++ HAVE_DECL_ENVIRON=1; ++ HAVE_DECL_GETLOGIN_R=1; ++ HAVE_OS_H=0; ++ HAVE_SYS_PARAM_H=0; ++ REPLACE_CHOWN=0; ++ REPLACE_CLOSE=0; ++ REPLACE_FCHDIR=0; ++ REPLACE_GETCWD=0; ++ REPLACE_GETPAGESIZE=0; ++ REPLACE_LCHOWN=0; ++ REPLACE_LSEEK=0; ++ REPLACE_WRITE=0; ++ UNISTD_H_HAVE_WINSOCK2_H=0; ++ ++ ++ GNULIB_IOCTL=0; ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=0; ++ SYS_IOCTL_H=''; ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_FPRINTF=0; ++ GNULIB_FPRINTF_POSIX=0; ++ GNULIB_PRINTF=0; ++ GNULIB_PRINTF_POSIX=0; ++ GNULIB_SNPRINTF=0; ++ GNULIB_SPRINTF_POSIX=0; ++ GNULIB_VFPRINTF=0; ++ GNULIB_VFPRINTF_POSIX=0; ++ GNULIB_VPRINTF=0; ++ GNULIB_VPRINTF_POSIX=0; ++ GNULIB_VSNPRINTF=0; ++ GNULIB_VSPRINTF_POSIX=0; ++ GNULIB_DPRINTF=0; ++ GNULIB_VDPRINTF=0; ++ GNULIB_VASPRINTF=0; ++ GNULIB_OBSTACK_PRINTF=0; ++ GNULIB_OBSTACK_PRINTF_POSIX=0; ++ GNULIB_FOPEN=0; ++ GNULIB_FREOPEN=0; ++ GNULIB_FSEEK=0; ++ GNULIB_FSEEKO=0; ++ GNULIB_FTELL=0; ++ GNULIB_FTELLO=0; ++ GNULIB_FFLUSH=0; ++ GNULIB_FPURGE=0; ++ GNULIB_FCLOSE=0; ++ GNULIB_FPUTC=0; ++ GNULIB_PUTC=0; ++ GNULIB_PUTCHAR=0; ++ GNULIB_FPUTS=0; ++ GNULIB_PUTS=0; ++ GNULIB_FWRITE=0; ++ GNULIB_GETDELIM=0; ++ GNULIB_GETLINE=0; ++ GNULIB_PERROR=0; ++ GNULIB_STDIO_H_SIGPIPE=0; ++ REPLACE_STDIO_WRITE_FUNCS=0; ++ REPLACE_FPRINTF=0; ++ REPLACE_VFPRINTF=0; ++ REPLACE_PRINTF=0; ++ REPLACE_VPRINTF=0; ++ REPLACE_SNPRINTF=0; ++ HAVE_DECL_SNPRINTF=1; ++ REPLACE_VSNPRINTF=0; ++ HAVE_DECL_VSNPRINTF=1; ++ REPLACE_SPRINTF=0; ++ REPLACE_VSPRINTF=0; ++ HAVE_DPRINTF=1; ++ REPLACE_DPRINTF=0; ++ HAVE_VDPRINTF=1; ++ REPLACE_VDPRINTF=0; ++ HAVE_VASPRINTF=1; ++ REPLACE_VASPRINTF=0; ++ HAVE_DECL_OBSTACK_PRINTF=1; ++ REPLACE_OBSTACK_PRINTF=0; ++ REPLACE_FOPEN=0; ++ REPLACE_FREOPEN=0; ++ HAVE_FSEEKO=1; ++ REPLACE_FSEEKO=0; ++ REPLACE_FSEEK=0; ++ HAVE_FTELLO=1; ++ REPLACE_FTELLO=0; ++ REPLACE_FTELL=0; ++ REPLACE_FFLUSH=0; ++ REPLACE_FPURGE=0; ++ HAVE_DECL_FPURGE=1; ++ REPLACE_FCLOSE=0; ++ HAVE_DECL_GETDELIM=1; ++ HAVE_DECL_GETLINE=1; ++ REPLACE_GETLINE=0; ++ REPLACE_PERROR=0; ++ ++ ++ GNULIB_SOCKET=0; ++ GNULIB_CONNECT=0; ++ GNULIB_ACCEPT=0; ++ GNULIB_BIND=0; ++ GNULIB_GETPEERNAME=0; ++ GNULIB_GETSOCKNAME=0; ++ GNULIB_GETSOCKOPT=0; ++ GNULIB_LISTEN=0; ++ GNULIB_RECV=0; ++ GNULIB_SEND=0; ++ GNULIB_RECVFROM=0; ++ GNULIB_SENDTO=0; ++ GNULIB_SETSOCKOPT=0; ++ GNULIB_SHUTDOWN=0; ++ HAVE_STRUCT_SOCKADDR_STORAGE=1; ++ HAVE_SA_FAMILY_T=1; ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 ++$as_echo_n "checking for inline... " >&6; } ++if test "${ac_cv_c_inline+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_inline=no ++for ac_kw in inline __inline__ __inline; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __cplusplus ++typedef int foo_t; ++static $ac_kw foo_t static_foo () {return 0; } ++$ac_kw foo_t foo () {return 0; } ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_inline=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_inline" != no && break ++done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 ++$as_echo "$ac_cv_c_inline" >&6; } ++ ++case $ac_cv_c_inline in ++ inline | yes) ;; ++ *) ++ case $ac_cv_c_inline in ++ no) ac_val=;; ++ *) ac_val=$ac_cv_c_inline;; ++ esac ++ cat >>confdefs.h <<_ACEOF ++#ifndef __cplusplus ++#define inline $ac_val ++#endif ++_ACEOF ++ ;; ++esac ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_socket_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_selfcontained=yes ++else ++ gl_cv_header_sys_socket_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } ++ if test $gl_cv_header_sys_socket_h_selfcontained = yes; then ++ SYS_SOCKET_H='' ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SHUTDOWN 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_shutdown = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 ++$as_echo_n "checking whether defines the SHUT_* macros... " >&6; } ++if test "${gl_cv_header_sys_socket_h_shut+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_shut=yes ++else ++ gl_cv_header_sys_socket_h_shut=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } ++ if test $gl_cv_header_sys_socket_h_shut = no; then ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ fi ++ else ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ # We need to check for ws2tcpip.h now. ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_socket_h='<'sys/socket.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_socket_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_socket_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/socket.h#{ ++ s#.*"\(.*/sys/socket.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_socket_h='<'sys/socket.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 ++$as_echo "$gl_cv_next_sys_socket_h" >&6; } ++ fi ++ NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/socket.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_socket_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h = yes; then ++ HAVE_SYS_SOCKET_H=1 ++ HAVE_WS2TCPIP_H=0 ++ else ++ HAVE_SYS_SOCKET_H=0 ++ for ac_header in ws2tcpip.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ++if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WS2TCPIP_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_ws2tcpip_h = yes; then ++ HAVE_WS2TCPIP_H=1 ++ else ++ HAVE_WS2TCPIP_H=0 ++ fi ++ fi ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1 ++_ACEOF ++ ++ ++fi ++ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_sa_family_t" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SA_FAMILY_T 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_type_struct_sockaddr_storage = no; then ++ HAVE_STRUCT_SOCKADDR_STORAGE=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test $ac_cv_type_sa_family_t = no; then ++ HAVE_SA_FAMILY_T=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test -n "$SYS_SOCKET_H"; then ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 ++$as_echo_n "checking for complete errno.h... " >&6; } ++if test "${gl_cv_header_errno_h_complete+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if !defined ENOMSG ++booboo ++#endif ++#if !defined EIDRM ++booboo ++#endif ++#if !defined ENOLINK ++booboo ++#endif ++#if !defined EPROTO ++booboo ++#endif ++#if !defined EMULTIHOP ++booboo ++#endif ++#if !defined EBADMSG ++booboo ++#endif ++#if !defined EOVERFLOW ++booboo ++#endif ++#if !defined ENOTSUP ++booboo ++#endif ++#if !defined ESTALE ++booboo ++#endif ++#if !defined ECANCELED ++booboo ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "booboo" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_complete=no ++else ++ gl_cv_header_errno_h_complete=yes ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 ++$as_echo "$gl_cv_header_errno_h_complete" >&6; } ++ if test $gl_cv_header_errno_h_complete = yes; then ++ ERRNO_H='' ++ else ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_errno_h='<'errno.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_errno_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_errno_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/errno.h#{ ++ s#.*"\(.*/errno.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_errno_h='<'errno.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 ++$as_echo "$gl_cv_next_errno_h" >&6; } ++ fi ++ NEXT_ERRNO_H=$gl_cv_next_errno_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'errno.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_errno_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive ++ ++ ++ ++ ERRNO_H='errno.h' ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 ++$as_echo_n "checking for EMULTIHOP value... " >&6; } ++if test "${gl_cv_header_errno_h_EMULTIHOP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef EMULTIHOP ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EMULTIHOP=yes ++else ++ gl_cv_header_errno_h_EMULTIHOP=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EMULTIHOP = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef EMULTIHOP ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EMULTIHOP=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 ++$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } ++ case $gl_cv_header_errno_h_EMULTIHOP in ++ yes | no) ++ EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ++ ;; ++ *) ++ EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 ++$as_echo_n "checking for ENOLINK value... " >&6; } ++if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef ENOLINK ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=yes ++else ++ gl_cv_header_errno_h_ENOLINK=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_ENOLINK = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef ENOLINK ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_ENOLINK = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 ++$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } ++ case $gl_cv_header_errno_h_ENOLINK in ++ yes | no) ++ ENOLINK_HIDDEN=0; ENOLINK_VALUE= ++ ;; ++ *) ++ ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 ++$as_echo_n "checking for EOVERFLOW value... " >&6; } ++if test "${gl_cv_header_errno_h_EOVERFLOW+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef EOVERFLOW ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=yes ++else ++ gl_cv_header_errno_h_EOVERFLOW=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EOVERFLOW = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef EOVERFLOW ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 ++$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } ++ case $gl_cv_header_errno_h_EOVERFLOW in ++ yes | no) ++ EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= ++ ;; ++ *) ++ EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 ++$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } ++if test "${gl_cv_var_stdin_large_offset+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++#if defined __SL64 && defined __SCLE /* cygwin */ ++ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making ++ fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and ++ it is easier to do a version check than building a runtime test. */ ++# include ++# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) ++ choke me ++# endif ++#endif ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_var_stdin_large_offset=yes ++else ++ gl_cv_var_stdin_large_offset=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5 ++$as_echo "$gl_cv_var_stdin_large_offset" >&6; } ++ ++ ++ GNULIB_GETADDRINFO=0; ++ HAVE_STRUCT_ADDRINFO=1; ++ HAVE_DECL_FREEADDRINFO=1; ++ HAVE_DECL_GAI_STRERROR=1; ++ HAVE_DECL_GETADDRINFO=1; ++ HAVE_DECL_GETNAMEINFO=1; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netdb_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netdb.h#{ ++ s#.*"\(.*/netdb.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 ++$as_echo "$gl_cv_next_netdb_h" >&6; } ++ fi ++ NEXT_NETDB_H=$gl_cv_next_netdb_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'netdb.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_netdb_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ struct addrinfo a; ++ int b = EAI_OVERFLOW; ++ int c = AI_NUMERICSERV; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ NETDB_H='' ++else ++ NETDB_H='netdb.h' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ HAVE_NETDB_H=1 ++ else ++ NETDB_H='netdb.h' ++ HAVE_NETDB_H=0 ++ fi ++ ++ ++ ++ ++ HOSTENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 ++$as_echo_n "checking for library containing gethostbyname... " >&6; } ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gethostbyname (); ++int ++main () ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' nsl network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_gethostbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ ++else ++ ac_cv_search_gethostbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 ++$as_echo "$ac_cv_search_gethostbyname" >&6; } ++ac_res=$ac_cv_search_gethostbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_gethostbyname" != "none required"; then ++ HOSTENT_LIB="$ac_cv_search_gethostbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$HOSTENT_LIB"; then ++ for ac_func in gethostbyname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" ++if test "x$ac_cv_func_gethostbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETHOSTBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_gethostbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++gethostbyname(NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_gethostbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 ++$as_echo "$gl_cv_w32_gethostbyname" >&6; } ++ if test "$gl_cv_w32_gethostbyname" = "yes"; then ++ HOSTENT_LIB="-lws2_32" ++ fi ++ ++fi ++done ++ ++ fi ++ ++ ++ ++ SERVENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 ++$as_echo_n "checking for library containing getservbyname... " >&6; } ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getservbyname (); ++int ++main () ++{ ++return getservbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getservbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getservbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ ++else ++ ac_cv_search_getservbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 ++$as_echo "$ac_cv_search_getservbyname" >&6; } ++ac_res=$ac_cv_search_getservbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getservbyname" != "none required"; then ++ SERVENT_LIB="$ac_cv_search_getservbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$SERVENT_LIB"; then ++ for ac_func in getservbyname ++do : ++ ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" ++if test "x$ac_cv_func_getservbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETSERVBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_getservbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++getservbyname(NULL,NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getservbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 ++$as_echo "$gl_cv_w32_getservbyname" >&6; } ++ if test "$gl_cv_w32_getservbyname" = "yes"; then ++ SERVENT_LIB="-lws2_32" ++ fi ++ ++fi ++done ++ ++ fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 ++$as_echo_n "checking for C/C++ restrict keyword... " >&6; } ++if test "${ac_cv_c_restrict+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_restrict=no ++ # The order here caters to the fact that C++ does not require restrict. ++ for ac_kw in __restrict __restrict__ _Restrict restrict; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++typedef int * int_ptr; ++ int foo (int_ptr $ac_kw ip) { ++ return ip[0]; ++ } ++int ++main () ++{ ++int s[1]; ++ int * $ac_kw t = s; ++ t[0] = 0; ++ return foo(t) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_restrict=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_restrict" != no && break ++ done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 ++$as_echo "$ac_cv_c_restrict" >&6; } ++ ++ case $ac_cv_c_restrict in ++ restrict) ;; ++ no) $as_echo "@%:@define restrict /**/" >>confdefs.h ++ ;; ++ *) cat >>confdefs.h <<_ACEOF ++@%:@define restrict $ac_cv_c_restrict ++_ACEOF ++ ;; ++ esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 ++$as_echo_n "checking for IPv4 sockets... " >&6; } ++ if test "${gl_cv_socket_ipv4+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include ++#endif ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++int ++main () ++{ ++int x = AF_INET; struct in_addr y; struct sockaddr_in z; ++ if (&x && &y && &z) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_socket_ipv4=yes ++else ++ gl_cv_socket_ipv4=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 ++$as_echo "$gl_cv_socket_ipv4" >&6; } ++ if test $gl_cv_socket_ipv4 = yes; then ++ ++$as_echo "@%:@define HAVE_IPV4 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 ++$as_echo_n "checking for IPv6 sockets... " >&6; } ++ if test "${gl_cv_socket_ipv6+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include ++#endif ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++int ++main () ++{ ++int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; ++ if (&x && &y && &z) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_socket_ipv6=yes ++else ++ gl_cv_socket_ipv6=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 ++$as_echo "$gl_cv_socket_ipv6" >&6; } ++ if test $gl_cv_socket_ipv6 = yes; then ++ ++$as_echo "@%:@define HAVE_IPV6 1" >>confdefs.h ++ ++ fi ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getdelim" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETDELIM $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getline" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETLINE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getpass" "ac_cv_have_decl_getpass" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getpass" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETPASS $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in $gl_func_list ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "flockfile" "ac_cv_have_decl_flockfile" "$ac_includes_default" ++if test "x$ac_cv_have_decl_flockfile" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FLOCKFILE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "funlockfile" "ac_cv_have_decl_funlockfile" "$ac_includes_default" ++if test "x$ac_cv_have_decl_funlockfile" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FUNLOCKFILE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_time_h='<'sys/time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_time_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/time.h#{ ++ s#.*"\(.*/sys/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_time_h='<'sys/time.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5 ++$as_echo "$gl_cv_next_sys_time_h" >&6; } ++ fi ++ NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_sys_time_h = yes; then ++ HAVE_SYS_TIME_H=1 ++ else ++ HAVE_SYS_TIME_H=0 ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 ++$as_echo_n "checking for struct timeval... " >&6; } ++if test "${gl_cv_sys_struct_timeval+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if HAVE_SYS_TIME_H ++ #include ++ #endif ++ #include ++ ++int ++main () ++{ ++static struct timeval x; x.tv_sec = x.tv_usec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timeval=yes ++else ++ gl_cv_sys_struct_timeval=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5 ++$as_echo "$gl_cv_sys_struct_timeval" >&6; } ++ if test $gl_cv_sys_struct_timeval = yes; then ++ HAVE_STRUCT_TIMEVAL=1 ++ else ++ HAVE_STRUCT_TIMEVAL=0 ++ fi ++ ++ ++ REPLACE_GETTIMEOFDAY=0 ++ ++ if test $HAVE_SYS_TIME_H = 0 || test $HAVE_STRUCT_TIMEVAL = 0; then ++ SYS_TIME_H=sys/time.h ++ else ++ SYS_TIME_H= ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_LCHMOD=0; ++ GNULIB_LSTAT=0; ++ HAVE_LCHMOD=1; ++ REPLACE_LSTAT=0; ++ REPLACE_MKDIR=0; ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 ++$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } ++if test "${gl_cv_func_malloc_posix+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++ choke me ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_malloc_posix=yes ++else ++ gl_cv_func_malloc_posix=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 ++$as_echo "$gl_cv_func_malloc_posix" >&6; } ++ ++ ++ GNULIB_MALLOC_POSIX=0; ++ GNULIB_REALLOC_POSIX=0; ++ GNULIB_CALLOC_POSIX=0; ++ GNULIB_ATOLL=0; ++ GNULIB_GETLOADAVG=0; ++ GNULIB_GETSUBOPT=0; ++ GNULIB_MKDTEMP=0; ++ GNULIB_MKSTEMP=0; ++ GNULIB_PUTENV=0; ++ GNULIB_RANDOM_R=0; ++ GNULIB_RPMATCH=0; ++ GNULIB_SETENV=0; ++ GNULIB_STRTOD=0; ++ GNULIB_STRTOLL=0; ++ GNULIB_STRTOULL=0; ++ GNULIB_UNSETENV=0; ++ HAVE_ATOLL=1; ++ HAVE_CALLOC_POSIX=1; ++ HAVE_GETSUBOPT=1; ++ HAVE_MALLOC_POSIX=1; ++ HAVE_MKDTEMP=1; ++ HAVE_REALLOC_POSIX=1; ++ HAVE_RANDOM_R=1; ++ HAVE_RPMATCH=1; ++ HAVE_SETENV=1; ++ HAVE_STRTOD=1; ++ HAVE_STRTOLL=1; ++ HAVE_STRTOULL=1; ++ HAVE_STRUCT_RANDOM_DATA=1; ++ HAVE_SYS_LOADAVG_H=0; ++ HAVE_UNSETENV=1; ++ HAVE_DECL_GETLOADAVG=1; ++ REPLACE_MKSTEMP=0; ++ REPLACE_PUTENV=0; ++ REPLACE_STRTOD=0; ++ VOID_UNSETENV=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_MEMCHR=0; ++ GNULIB_MEMMEM=0; ++ GNULIB_MEMPCPY=0; ++ GNULIB_MEMRCHR=0; ++ GNULIB_RAWMEMCHR=0; ++ GNULIB_STPCPY=0; ++ GNULIB_STPNCPY=0; ++ GNULIB_STRCHRNUL=0; ++ GNULIB_STRDUP=0; ++ GNULIB_STRNDUP=0; ++ GNULIB_STRNLEN=0; ++ GNULIB_STRPBRK=0; ++ GNULIB_STRSEP=0; ++ GNULIB_STRSTR=0; ++ GNULIB_STRCASESTR=0; ++ GNULIB_STRTOK_R=0; ++ GNULIB_MBSLEN=0; ++ GNULIB_MBSNLEN=0; ++ GNULIB_MBSCHR=0; ++ GNULIB_MBSRCHR=0; ++ GNULIB_MBSSTR=0; ++ GNULIB_MBSCASECMP=0; ++ GNULIB_MBSNCASECMP=0; ++ GNULIB_MBSPCASECMP=0; ++ GNULIB_MBSCASESTR=0; ++ GNULIB_MBSCSPN=0; ++ GNULIB_MBSPBRK=0; ++ GNULIB_MBSSPN=0; ++ GNULIB_MBSSEP=0; ++ GNULIB_MBSTOK_R=0; ++ GNULIB_STRERROR=0; ++ GNULIB_STRSIGNAL=0; ++ GNULIB_STRVERSCMP=0; ++ HAVE_DECL_MEMMEM=1; ++ HAVE_MEMPCPY=1; ++ HAVE_DECL_MEMRCHR=1; ++ HAVE_RAWMEMCHR=1; ++ HAVE_STPCPY=1; ++ HAVE_STPNCPY=1; ++ HAVE_STRCHRNUL=1; ++ HAVE_DECL_STRDUP=1; ++ HAVE_STRNDUP=1; ++ HAVE_DECL_STRNDUP=1; ++ HAVE_DECL_STRNLEN=1; ++ HAVE_STRPBRK=1; ++ HAVE_STRSEP=1; ++ HAVE_STRCASESTR=1; ++ HAVE_DECL_STRTOK_R=1; ++ HAVE_DECL_STRERROR=1; ++ HAVE_DECL_STRSIGNAL=1; ++ HAVE_STRVERSCMP=1; ++ REPLACE_MEMCHR=0; ++ REPLACE_MEMMEM=0; ++ REPLACE_STRDUP=0; ++ REPLACE_STRSTR=0; ++ REPLACE_STRCASESTR=0; ++ REPLACE_STRERROR=0; ++ REPLACE_STRSIGNAL=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = x""yes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in memchr ++do : ++ ac_fn_c_check_func "$LINENO" "memchr" "ac_cv_func_memchr" ++if test "x$ac_cv_func_memchr" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_MEMCHR 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_memchr = no; then ++ ++ for ac_header in bp-sym.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" ++if test "x$ac_cv_header_bp_sym_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_BP_SYM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ REPLACE_MEMCHR=1 ++ fi ++ ++ if test $ac_cv_func_memchr = yes; then ++ # Detect platform-specific bugs in some versions of glibc: ++ # memchr should not dereference anything with length 0 ++ # http://bugzilla.redhat.com/499689 ++ # memchr should not dereference overestimated length after a match ++ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 ++ # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 ++ # Assume that memchr works on platforms that lack mprotect. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 ++$as_echo_n "checking whether memchr works... " >&6; } ++if test "${gl_cv_func_memchr_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_memchr_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_SYS_MMAN_H ++# include ++# include ++# include ++# include ++# ifndef MAP_FILE ++# define MAP_FILE 0 ++# endif ++#endif ++ ++int ++main () ++{ ++ ++ char *fence = NULL; ++#if HAVE_SYS_MMAN_H && HAVE_MPROTECT ++# if HAVE_MAP_ANONYMOUS ++ const int flags = MAP_ANONYMOUS | MAP_PRIVATE; ++ const int fd = -1; ++# else /* !HAVE_MAP_ANONYMOUS */ ++ const int flags = MAP_FILE | MAP_PRIVATE; ++ int fd = open ("/dev/zero", O_RDONLY, 0666); ++ if (fd >= 0) ++# endif ++ { ++ int pagesize = getpagesize (); ++ char *two_pages = ++ (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, ++ flags, fd, 0); ++ if (two_pages != (char *)(-1) ++ && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) ++ fence = two_pages + pagesize; ++ } ++#endif ++ if (fence) ++ { ++ if (memchr (fence, 0, 0)) ++ return 1; ++ strcpy (fence - 9, "12345678"); ++ if (memchr (fence - 9, 0, 79) != fence - 1) ++ return 2; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_memchr_works=yes ++else ++ gl_cv_func_memchr_works=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 ++$as_echo "$gl_cv_func_memchr_works" >&6; } ++ if test "$gl_cv_func_memchr_works" != yes; then ++ ++ for ac_header in bp-sym.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" ++if test "x$ac_cv_header_bp_sym_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_BP_SYM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ REPLACE_MEMCHR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" ++ ++ fi ++ fi ++ ++@%:@ Check whether --enable-largefile was given. ++if test "${enable_largefile+set}" = set; then : ++ enableval=$enable_largefile; ++fi ++ ++if test "$enable_largefile" != no; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 ++$as_echo_n "checking for special C compiler options needed for large files... " >&6; } ++if test "${ac_cv_sys_largefile_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_sys_largefile_CC=no ++ if test "$GCC" != yes; then ++ ac_save_CC=$CC ++ while :; do ++ # IRIX 6.2 and later do not support large files by default, ++ # so use the C compiler's -n32 option if that helps. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ if ac_fn_c_try_compile "$LINENO"; then : ++ break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ CC="$CC -n32" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_largefile_CC=' -n32'; break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ break ++ done ++ CC=$ac_save_CC ++ rm -f conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 ++$as_echo "$ac_cv_sys_largefile_CC" >&6; } ++ if test "$ac_cv_sys_largefile_CC" != no; then ++ CC=$CC$ac_cv_sys_largefile_CC ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ++if test "${ac_cv_sys_file_offset_bits+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _FILE_OFFSET_BITS 64 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=64; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_file_offset_bits=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 ++$as_echo "$ac_cv_sys_file_offset_bits" >&6; } ++case $ac_cv_sys_file_offset_bits in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ if test $ac_cv_sys_file_offset_bits = unknown; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 ++$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ++if test "${ac_cv_sys_large_files+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGE_FILES 1 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_large_files=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 ++$as_echo "$ac_cv_sys_large_files" >&6; } ++case $ac_cv_sys_large_files in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGE_FILES $ac_cv_sys_large_files ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ fi ++fi ++ ++ ++ gl_cv_c_multiarch=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ arch= ++ prev= ++ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do ++ if test -n "$prev"; then ++ case $word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$arch" || test "$arch" = "$word"; then ++ arch="$word" ++ else ++ gl_cv_c_multiarch=yes ++ fi ++ ;; ++ esac ++ prev= ++ else ++ if test "x$word" = "x-arch"; then ++ prev=arch ++ fi ++ fi ++ done ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $gl_cv_c_multiarch = yes; then ++ ++$as_echo "@%:@define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++ ++ APPLE_UNIVERSAL_BUILD=1 ++ else ++ APPLE_UNIVERSAL_BUILD=0 ++ fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for external symbol _system_configuration" >&5 ++$as_echo_n "checking for external symbol _system_configuration... " >&6; } ++if test "${gl_cv_var__system_configuration+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++double x = _system_configuration.physmem; ++ if (x > 0.0) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_var__system_configuration=yes ++else ++ gl_cv_var__system_configuration=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var__system_configuration" >&5 ++$as_echo "$gl_cv_var__system_configuration" >&6; } ++ ++ if test $gl_cv_var__system_configuration = yes; then ++ ++$as_echo "@%:@define HAVE__SYSTEM_CONFIGURATION 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_SELECT=0; ++ REPLACE_SELECT=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_select_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++struct timeval b; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_select_h_selfcontained=yes ++else ++ gl_cv_header_sys_select_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$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' ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_select_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_select_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/select.h#{ ++ s#.*"\(.*/sys/select.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5 ++$as_echo "$gl_cv_next_sys_select_h" >&6; } ++ fi ++ NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/select.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_select_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive ++ ++ ++ ++ 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_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" ++if test "x$ac_cv_have_decl_snprintf" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SNPRINTF $ac_have_decl ++_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 ++$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } ++if test "${ac_cv_header_stdbool_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifndef bool ++ "error: bool is not defined" ++ #endif ++ #ifndef false ++ "error: false is not defined" ++ #endif ++ #if false ++ "error: false is not 0" ++ #endif ++ #ifndef true ++ "error: true is not defined" ++ #endif ++ #if true != 1 ++ "error: true is not 1" ++ #endif ++ #ifndef __bool_true_false_are_defined ++ "error: __bool_true_false_are_defined is not defined" ++ #endif ++ ++ struct s { _Bool s: 1; _Bool t; } s; ++ ++ char a[true == 1 ? 1 : -1]; ++ char b[false == 0 ? 1 : -1]; ++ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; ++ char d[(bool) 0.5 == true ? 1 : -1]; ++ bool e = &s; ++ char f[(_Bool) 0.0 == false ? 1 : -1]; ++ char g[true]; ++ char h[sizeof (_Bool)]; ++ char i[sizeof s.t]; ++ enum { j = false, k = true, l = false * true, m = true * 256 }; ++ _Bool n[m]; ++ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; ++ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; ++ #if defined __xlc__ || defined __GNUC__ ++ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 ++ reported by James Lemley on 2005-10-05; see ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html ++ This test is not quite right, since xlc is allowed to ++ reject this program, as the initializer for xlcbug is ++ not one of the forms that C requires support for. ++ However, doing the test right would require a run-time ++ test, and that would make cross-compilation harder. ++ Let us hope that IBM fixes the xlc bug, and also adds ++ support for this kind of constant expression. In the ++ meantime, this test will reject xlc, which is OK, since ++ our stdbool.h substitute should suffice. We also test ++ this with GCC, where it should work, to detect more ++ quickly whether someone messes up the test in the ++ future. */ ++ char digs[] = "0123456789"; ++ int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); ++ #endif ++ /* Catch a bug in an HP-UX C compiler. See ++ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html ++ */ ++ _Bool q = true; ++ _Bool *pq = &q; ++ ++int ++main () ++{ ++ ++ *pq |= q; ++ *pq |= ! q; ++ /* Refer to every declared value, to avoid compiler optimizations. */ ++ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ++ + !m + !n + !o + !p + !q + !pq); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdbool_h=yes ++else ++ ac_cv_header_stdbool_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 ++$as_echo "$ac_cv_header_stdbool_h" >&6; } ++ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" ++if test "x$ac_cv_type__Bool" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__BOOL 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_header_stdbool_h = yes; then ++ ++$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 ++$as_echo_n "checking for long long int... " >&6; } ++if test "${ac_cv_type_long_long_int+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test "$cross_compiling" = yes; then : ++ ac_cv_type_long_long_int=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ @%:@ifndef LLONG_MAX ++ @%:@ define HALF \ ++ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) ++ @%:@ define LLONG_MAX (HALF - 1 + HALF) ++ @%:@endif ++int ++main () ++{ ++long long int n = 1; ++ int i; ++ for (i = 0; ; i++) ++ { ++ long long int m = n << i; ++ if (m >> i != n) ++ return 1; ++ if (LLONG_MAX / 2 < m) ++ break; ++ } ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_type_long_long_int=yes ++else ++ ac_cv_type_long_long_int=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++else ++ ac_cv_type_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 ++$as_echo "$ac_cv_type_long_long_int" >&6; } ++ if test $ac_cv_type_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 ++$as_echo_n "checking for unsigned long long int... " >&6; } ++if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_type_unsigned_long_long_int=yes ++else ++ ac_cv_type_unsigned_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 ++$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strdup" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRDUP $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ if test -z "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 ++$as_echo_n "checking for working strerror function... " >&6; } ++if test "${gl_cv_func_working_strerror+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 ++$as_echo "$gl_cv_func_working_strerror" >&6; } ++ if test $gl_cv_func_working_strerror = no; then ++ REPLACE_STRERROR=1 ++ fi ++ else ++ REPLACE_STRERROR=1 ++ fi ++ if test $REPLACE_STRERROR = 1; then ++ ++ ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strerror" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRERROR $ac_have_decl ++_ACEOF ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_string_h='<'string.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_string_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_string_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/string.h#{ ++ s#.*"\(.*/string.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_string_h='<'string.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 ++$as_echo "$gl_cv_next_string_h" >&6; } ++ fi ++ NEXT_STRING_H=$gl_cv_next_string_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'string.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_string_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strndup" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRNDUP $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strnlen" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRNLEN $ac_have_decl ++_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 ++$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } ++if test "${ac_cv_header_stat_broken+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++ ++#if defined S_ISBLK && defined S_IFDIR ++extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISBLK && defined S_IFCHR ++extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISLNK && defined S_IFREG ++extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; ++#endif ++ ++#if defined S_ISSOCK && defined S_IFREG ++extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stat_broken=no ++else ++ ac_cv_header_stat_broken=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 ++$as_echo "$ac_cv_header_stat_broken" >&6; } ++if test $ac_cv_header_stat_broken = yes; then ++ ++$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; ++ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; ++ REPLACE_STRPTIME=GNULIB_PORTCHECK; ++ REPLACE_TIMEGM=GNULIB_PORTCHECK; ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_time_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } ++ ++ TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then ++ TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_sys_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_sys_time_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } ++ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_time_h='<'time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_time_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/time.h#{ ++ s#.*"\(.*/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_time_h='<'time.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 ++$as_echo "$gl_cv_next_time_h" >&6; } ++ fi ++ NEXT_TIME_H=$gl_cv_next_time_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if test "${gt_cv_c_wchar_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then ++ ++$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if test "${gt_cv_c_wint_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wint_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes ++else ++ gt_cv_c_wint_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then ++ ++$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h ++ ++ fi ++ ++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ++if test "x$ac_cv_type_size_t" = x""yes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define size_t unsigned int ++_ACEOF ++ ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 ++$as_echo_n "checking for inttypes.h... " >&6; } ++if test "${gl_cv_header_inttypes_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_inttypes_h=yes ++else ++ gl_cv_header_inttypes_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 ++$as_echo "$gl_cv_header_inttypes_h" >&6; } ++ if test $gl_cv_header_inttypes_h = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1 ++_ACEOF ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 ++$as_echo_n "checking for stdint.h... " >&6; } ++if test "${gl_cv_header_stdint_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_stdint_h=yes ++else ++ gl_cv_header_stdint_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 ++$as_echo "$gl_cv_header_stdint_h" >&6; } ++ if test $gl_cv_header_stdint_h = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H_WITH_UINTMAX 1 ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 ++$as_echo_n "checking for intmax_t... " >&6; } ++if test "${gt_cv_c_intmax_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif ++ ++int ++main () ++{ ++intmax_t x = -1; return !x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_intmax_t=yes ++else ++ gt_cv_c_intmax_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 ++$as_echo "$gt_cv_c_intmax_t" >&6; } ++ if test $gt_cv_c_intmax_t = yes; then ++ ++$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h ++ ++ else ++ ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define intmax_t $ac_type ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ ++ ++ for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include ++" ++if test "x$ac_cv_have_decl__snprintf" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL__SNPRINTF $ac_have_decl ++_ACEOF ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS= ++ ++ ++ GNULIB_BTOWC=0; ++ GNULIB_WCTOB=0; ++ GNULIB_MBSINIT=0; ++ GNULIB_MBRTOWC=0; ++ GNULIB_MBRLEN=0; ++ GNULIB_MBSRTOWCS=0; ++ GNULIB_MBSNRTOWCS=0; ++ GNULIB_WCRTOMB=0; ++ GNULIB_WCSRTOMBS=0; ++ GNULIB_WCSNRTOMBS=0; ++ GNULIB_WCWIDTH=0; ++ HAVE_BTOWC=1; ++ HAVE_MBSINIT=1; ++ HAVE_MBRTOWC=1; ++ HAVE_MBRLEN=1; ++ HAVE_MBSRTOWCS=1; ++ HAVE_MBSNRTOWCS=1; ++ HAVE_WCRTOMB=1; ++ HAVE_WCSRTOMBS=1; ++ HAVE_WCSNRTOMBS=1; ++ HAVE_DECL_WCTOB=1; ++ HAVE_DECL_WCWIDTH=1; ++ REPLACE_MBSTATE_T=0; ++ REPLACE_BTOWC=0; ++ REPLACE_WCTOB=0; ++ REPLACE_MBSINIT=0; ++ REPLACE_MBRTOWC=0; ++ REPLACE_MBRLEN=0; ++ REPLACE_MBSRTOWCS=0; ++ REPLACE_MBSNRTOWCS=0; ++ REPLACE_WCRTOMB=0; ++ REPLACE_WCSRTOMBS=0; ++ REPLACE_WCSNRTOMBS=0; ++ REPLACE_WCWIDTH=0; ++ WCHAR_H=''; ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 ++$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } ++if test "${gl_cv_func_ungetc_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_ungetc_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++ ++int ++main () ++{ ++FILE *f; long l; ++ if (!(f = fopen ("conftest.tmp", "w+"))) return 1; ++ if (fputs ("abc", f) < 0) return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != 'b') return 4; ++ if (ungetc ('d', f) != 'd') return 5; ++ if (ftell (f) != 1) return 6; ++ if (fgetc (f) != 'd') return 7; ++ if (ftell (f) != 2) return 8; ++ if (fseek (f, 0, SEEK_CUR) != 0) return 9; ++ if (ftell (f) != 2) return 10; ++ if (fgetc (f) != 'c') return 11; ++ fclose (f); remove ("conftest.tmp"); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ungetc_works=yes ++else ++ gl_cv_func_ungetc_works=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5 ++$as_echo "$gl_cv_func_ungetc_works" >&6; } ++ if test "$gl_cv_func_ungetc_works" != yes; then ++ ++$as_echo "@%:@define FUNC_UNGETC_BROKEN 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ if true; then ++ GL_COND_LIBTOOL_TRUE= ++ GL_COND_LIBTOOL_FALSE='#' ++else ++ GL_COND_LIBTOOL_TRUE='#' ++ GL_COND_LIBTOOL_FALSE= ++fi ++ ++ gl_cond_libtool=true ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_source_base='gnulib/lib' ++LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'` ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_alloca_works = no; then ++ : ++ fi ++ ++ # Define an additional variable used in the Makefile substitution. ++ if test $ac_cv_working_alloca_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 ++$as_echo_n "checking for alloca as a compiler built-in... " >&6; } ++if test "${gl_cv_rpl_alloca+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if defined __GNUC__ || defined _AIX || defined _MSC_VER ++ Need own alloca ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Need own alloca" >/dev/null 2>&1; then : ++ gl_cv_rpl_alloca=yes ++else ++ gl_cv_rpl_alloca=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 ++$as_echo "$gl_cv_rpl_alloca" >&6; } ++ if test $gl_cv_rpl_alloca = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h ++ ++ ALLOCA_H=alloca.h ++ else ++ ALLOCA_H= ++ fi ++ else ++ ALLOCA_H=alloca.h ++ fi ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ 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 ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_arpa_inet_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_arpa_inet_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_arpa_inet_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/arpa/inet.h#{ ++ s#.*"\(.*/arpa/inet.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5 ++$as_echo "$gl_cv_next_arpa_inet_h" >&6; } ++ fi ++ NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'arpa/inet.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_arpa_inet_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then ++ ++ ++ if test $REPLACE_CLOSE != 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext" ++ ++ fi ++ REPLACE_CLOSE=1 ++ ++ ++ if test $REPLACE_FCLOSE != 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext" ++ ++ fi ++ REPLACE_FCLOSE=1 ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_CLOSE=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS connect.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_CONNECT=1 ++ ++ ++ ++ ++ ++ ++ GNULIB_FCLOSE=1 ++ ++ ++ ++ ++ FLOAT_H= ++ case "$host_os" in ++ beos* | openbsd*) ++ FLOAT_H=float.h ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_float_h='<'float.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_float_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_float_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/float.h#{ ++ s#.*"\(.*/float.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_float_h='<'float.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 ++$as_echo "$gl_cv_next_float_h" >&6; } ++ fi ++ NEXT_FLOAT_H=$gl_cv_next_float_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'float.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_float_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive ++ ++ ++ ++ ;; ++ esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 ++$as_echo_n "checking for fseeko... " >&6; } ++if test "${gl_cv_func_fseeko+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++fseeko (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_fseeko=yes ++else ++ gl_cv_func_fseeko=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$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 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext" ++ ++ ++ REPLACE_FSEEKO=1 ++ ++ fi ++ ++ ++ ++ GNULIB_FSEEKO=1 ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5 ++$as_echo "$as_me: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&6;} ++ GETADDRINFO_LIB= ++ gai_saved_LIBS="$LIBS" ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 ++$as_echo_n "checking for library containing getaddrinfo... " >&6; } ++if test "${ac_cv_search_getaddrinfo+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getaddrinfo (); ++int ++main () ++{ ++return getaddrinfo (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getaddrinfo=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getaddrinfo+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_getaddrinfo+set}" = set; then : ++ ++else ++ ac_cv_search_getaddrinfo=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 ++$as_echo "$ac_cv_search_getaddrinfo" >&6; } ++ac_res=$ac_cv_search_getaddrinfo ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getaddrinfo" != "none required"; then ++ GETADDRINFO_LIB="$ac_cv_search_getaddrinfo" ++ fi ++fi ++ ++ LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5 ++$as_echo_n "checking for getaddrinfo... " >&6; } ++if test "${gl_cv_func_getaddrinfo+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++getaddrinfo("", "", NULL, NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_getaddrinfo=yes ++else ++ gl_cv_func_getaddrinfo=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getaddrinfo" >&5 ++$as_echo "$gl_cv_func_getaddrinfo" >&6; } ++ if test $gl_cv_func_getaddrinfo = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5 ++$as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getaddrinfo+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_cv_w32_getaddrinfo=no ++ am_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++getaddrinfo(NULL, NULL, NULL, NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getaddrinfo=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$am_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getaddrinfo" >&5 ++$as_echo "$gl_cv_w32_getaddrinfo" >&6; } ++ if test "$gl_cv_w32_getaddrinfo" = "yes"; then ++ GETADDRINFO_LIB="-lws2_32" ++ LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS getaddrinfo.$ac_objext" ++ ++ fi ++ fi ++ ++ # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an ++ # inline function declared in ws2tcpip.h, so we need to get that ++ # header included somehow. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gai_strerror (possibly via ws2tcpip.h)" >&5 ++$as_echo_n "checking for gai_strerror (possibly via ws2tcpip.h)... " >&6; } ++if test "${gl_cv_func_gai_strerror+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++gai_strerror (NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_gai_strerror=yes ++else ++ gl_cv_func_gai_strerror=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gai_strerror" >&5 ++$as_echo "$gl_cv_func_gai_strerror" >&6; } ++ if test $gl_cv_func_gai_strerror = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS gai_strerror.$ac_objext" ++ ++ fi ++ ++ LIBS="$gai_saved_LIBS" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include ++" ++if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1 ++_ACEOF ++ ++ ++fi ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getaddrinfo" "ac_cv_have_decl_getaddrinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_getaddrinfo" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETADDRINFO $ac_have_decl ++_ACEOF ++ac_fn_c_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_freeaddrinfo" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FREEADDRINFO $ac_have_decl ++_ACEOF ++ac_fn_c_check_decl "$LINENO" "gai_strerror" "ac_cv_have_decl_gai_strerror" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_gai_strerror" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GAI_STRERROR $ac_have_decl ++_ACEOF ++ac_fn_c_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_getnameinfo" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETNAMEINFO $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_getaddrinfo = no; then ++ HAVE_DECL_GETADDRINFO=0 ++ fi ++ if test $ac_cv_have_decl_freeaddrinfo = no; then ++ HAVE_DECL_FREEADDRINFO=0 ++ fi ++ if test $ac_cv_have_decl_gai_strerror = no; then ++ HAVE_DECL_GAI_STRERROR=0 ++ fi ++ if test $ac_cv_have_decl_getnameinfo = no; then ++ HAVE_DECL_GETNAMEINFO=0 ++ fi ++ ++ ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" " ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_ADDRINFO 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_type_struct_addrinfo = no; then ++ HAVE_STRUCT_ADDRINFO=0 ++ fi ++ ++ case " $GETADDRINFO_LIB " in ++ *" $HOSTENT_LIB "*) ;; ++ *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;; ++ esac ++ ++ case " $GETADDRINFO_LIB " in ++ *" $SERVENT_LIB "*) ;; ++ *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;; ++ esac ++ ++ ++ ++ ++ ++ ++ GNULIB_GETADDRINFO=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in getdelim ++do : ++ ac_fn_c_check_func "$LINENO" "getdelim" "ac_cv_func_getdelim" ++if test "x$ac_cv_func_getdelim" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETDELIM 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_getdelim = no; then ++ ++ for ac_func in flockfile funlockfile ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ if test $ac_cv_have_decl_getdelim = no; then ++ HAVE_DECL_GETDELIM=0 ++ fi ++ ++ ++ ++ GNULIB_GETDELIM=1 ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in gethostname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" ++if test "x$ac_cv_func_gethostname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETHOSTNAME 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_gethostname = no; then ++ HAVE_GETHOSTNAME=0 ++ ++ for ac_func in uname ++do : ++ ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" ++if test "x$ac_cv_func_uname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_UNAME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ fi ++ ++ ++ ++ GNULIB_GETHOSTNAME=1 ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ gl_getline_needs_run_time_check=no ++ ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" ++if test "x$ac_cv_func_getline" = x""yes; then : ++ gl_getline_needs_run_time_check=yes ++else ++ am_cv_func_working_getline=no ++fi ++ ++ if test $gl_getline_needs_run_time_check = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5 ++$as_echo_n "checking for working getline function... " >&6; } ++if test "${am_cv_func_working_getline+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ echo fooN |tr -d '\012'|tr N '\012' > conftest.data ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ >= 2) ++ Lucky GNU user ++ #endif ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky GNU user" >/dev/null 2>&1; then : ++ am_cv_func_working_getline=yes ++else ++ am_cv_func_working_getline=no ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++# include ++ int main () ++ { /* Based on a test program from Karl Heuer. */ ++ char *line = NULL; ++ size_t siz = 0; ++ int len; ++ FILE *in = fopen ("./conftest.data", "r"); ++ if (!in) ++ return 1; ++ len = getline (&line, &siz, in); ++ exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); ++ } ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ am_cv_func_working_getline=yes ++else ++ am_cv_func_working_getline=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5 ++$as_echo "$am_cv_func_working_getline" >&6; } ++ fi ++ ++ if test $ac_cv_have_decl_getline = no; then ++ HAVE_DECL_GETLINE=0 ++ fi ++ ++ if test $am_cv_func_working_getline = no; then ++ REPLACE_GETLINE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in getdelim ++do : ++ ac_fn_c_check_func "$LINENO" "getdelim" "ac_cv_func_getdelim" ++if test "x$ac_cv_func_getdelim" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETDELIM 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_getdelim = no; then ++ ++ for ac_func in flockfile funlockfile ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ if test $ac_cv_have_decl_getdelim = no; then ++ HAVE_DECL_GETDELIM=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ GNULIB_GETLINE=1 ++ ++ ++ ++ ++ for ac_func in getpagesize ++do : ++ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" ++if test "x$ac_cv_func_getpagesize" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETPAGESIZE 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_getpagesize = no; then ++ HAVE_GETPAGESIZE=0 ++ for ac_header in OS.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" ++if test "x$ac_cv_header_OS_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_OS_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_OS_h = yes; then ++ HAVE_OS_H=1 ++ fi ++ for ac_header in sys/param.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_param_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_PARAM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_sys_param_h = yes; then ++ HAVE_SYS_PARAM_H=1 ++ fi ++ fi ++ case "$host_os" in ++ mingw*) ++ REPLACE_GETPAGESIZE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS getpagesize.$ac_objext" ++ ++ ;; ++ esac ++ ++ ++ ++ GNULIB_GETPAGESIZE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in getpass ++do : ++ ac_fn_c_check_func "$LINENO" "getpass" "ac_cv_func_getpass" ++if test "x$ac_cv_func_getpass" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETPASS 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_getpass = no; then ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "__fsetlocking" "ac_cv_have_decl___fsetlocking" "#include ++ #if HAVE_STDIO_EXT_H ++ #include ++ #endif ++" ++if test "x$ac_cv_have_decl___fsetlocking" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL___FSETLOCKING $ac_have_decl ++_ACEOF ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5 ++$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; } ++if test "${gl_cv_func_gettimeofday_posix_signature+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ struct timeval c; ++ ++int ++main () ++{ ++ ++ int (*f) (struct timeval *restrict, void *restrict) = gettimeofday; ++ int x = f (&c, 0); ++ return !(x | c.tv_sec | c.tv_usec); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_gettimeofday_posix_signature=yes ++else ++ gl_cv_func_gettimeofday_posix_signature=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5 ++$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5 ++$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; } ++if test "${gl_cv_func_gettimeofday_clobber+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_gettimeofday_clobber=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ time_t t = 0; ++ struct tm *lt; ++ struct tm saved_lt; ++ struct timeval tv; ++ lt = localtime (&t); ++ saved_lt = *lt; ++ gettimeofday (&tv, NULL); ++ return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_gettimeofday_clobber=no ++else ++ gl_cv_func_gettimeofday_clobber=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5 ++$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; } ++ ++ if test $gl_cv_func_gettimeofday_clobber = yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ SYS_TIME_H=sys/time.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h ++ ++ ++$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h ++ ++ ++ ++$as_echo "@%:@define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h ++ ++ fi ++ ++ ++ if test $gl_cv_func_gettimeofday_posix_signature != yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ SYS_TIME_H=sys/time.h ++ if test $gl_cv_func_gettimeofday_clobber != yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ fi ++ fi ++ ++ # Autoconf 2.61a.99 and earlier don't support linking a file only ++ # in VPATH builds. But since GNUmakefile is for maintainer use ++ # only, it does not matter if we skip the link with older autoconf. ++ # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH ++ # builds, so use a shell variable to bypass this. ++ GNUmakefile=GNUmakefile ++ ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" ++ ++ ++ HOSTENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 ++$as_echo_n "checking for library containing gethostbyname... " >&6; } ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gethostbyname (); ++int ++main () ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' nsl network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_gethostbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ ++else ++ ac_cv_search_gethostbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 ++$as_echo "$ac_cv_search_gethostbyname" >&6; } ++ac_res=$ac_cv_search_gethostbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_gethostbyname" != "none required"; then ++ HOSTENT_LIB="$ac_cv_search_gethostbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$HOSTENT_LIB"; then ++ for ac_func in gethostbyname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" ++if test "x$ac_cv_func_gethostbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETHOSTBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_gethostbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++gethostbyname(NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_gethostbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 ++$as_echo "$gl_cv_w32_gethostbyname" >&6; } ++ if test "$gl_cv_w32_gethostbyname" = "yes"; then ++ HOSTENT_LIB="-lws2_32" ++ fi ++ ++fi ++done ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ARPA_INET_H='arpa/inet.h' ++ ++ ++ gl_save_LIBS=$LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 ++$as_echo_n "checking for library containing inet_ntop... " >&6; } ++if test "${ac_cv_search_inet_ntop+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char inet_ntop (); ++int ++main () ++{ ++return inet_ntop (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' nsl; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_inet_ntop=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_inet_ntop+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_inet_ntop+set}" = set; then : ++ ++else ++ ac_cv_search_inet_ntop=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 ++$as_echo "$ac_cv_search_inet_ntop" >&6; } ++ac_res=$ac_cv_search_inet_ntop ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++else ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in inet_ntop ++do : ++ ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" ++if test "x$ac_cv_func_inet_ntop" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_INET_NTOP 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++fi ++ ++ LIBS=$gl_save_LIBS ++ ++ ++ ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include ++" ++if test "x$ac_cv_have_decl_inet_ntop" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_INET_NTOP $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_inet_ntop = no; then ++ HAVE_DECL_INET_NTOP=0 ++ fi ++ ++ ++ ++ ++ ++ ++ GNULIB_INET_NTOP=1 ++ ++ ++ ++ ++ ++ ++ ARPA_INET_H='arpa/inet.h' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in inet_pton ++do : ++ ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" ++if test "x$ac_cv_func_inet_pton" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_INET_PTON 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include ++" ++if test "x$ac_cv_have_decl_inet_pton" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_INET_PTON $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_inet_pton = no; then ++ HAVE_DECL_INET_PTON=0 ++ fi ++ ++ ++ ++ ++ ++ ++ GNULIB_INET_PTON=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS ioctl.$ac_objext" ++ ++ ++ ++ SYS_IOCTL_H='sys/ioctl.h' ++ ++ fi ++ ++ ++ GNULIB_IOCTL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_IOCTL 1" >>confdefs.h ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 ++$as_echo_n "checking whether lseek detects pipes... " >&6; } ++if test "${gl_cv_func_lseek_pipe+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test $cross_compiling = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for off_t */ ++#include /* for SEEK_CUR */ ++#include ++int main () ++{ ++ /* Exit with success only if stdin is seekable. */ ++ return lseek (0, (off_t)0, SEEK_CUR) < 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext < conftest.$ac_ext \ ++ && { echo hi | ./conftest$ac_exeext; test $? = 1; }; then ++ gl_cv_func_lseek_pipe=yes ++ else ++ gl_cv_func_lseek_pipe=no ++ fi ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__ ++/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */ ++ Choke me. ++#endif ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_lseek_pipe=yes ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5 ++$as_echo "$gl_cv_func_lseek_pipe" >&6; } ++ if test $gl_cv_func_lseek_pipe = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext" ++ ++ ++ REPLACE_LSEEK=1 ++ ++$as_echo "@%:@define LSEEK_PIPE_BROKEN 1" >>confdefs.h ++ ++ ++ fi ++ ++ ++ ++ GNULIB_LSEEK=1 ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_lstat = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 ++$as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; } ++if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -f conftest.sym conftest.file ++echo >conftest.file ++if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++struct stat sbuf; ++ /* Linux will dereference the symlink and fail. ++ That is better in the sense that it means we will not ++ have to compile and use the lstat wrapper. */ ++ return lstat ("conftest.sym/", &sbuf) == 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_lstat_dereferences_slashed_symlink=yes ++else ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++else ++ # If the `ln -s' command failed, then we probably don't even ++ # have an lstat function. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++fi ++rm -f conftest.sym conftest.file ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 ++$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } ++ ++test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 ++_ACEOF ++ ++ ++if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext" ++ ++fi ++ ++ if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ REPLACE_LSTAT=1 ++ fi ++ # Prerequisites of lib/lstat.c. ++ ++ fi ++ ++ ++ ++ GNULIB_LSTAT=1 ++ ++ ++ ++ if test $gl_cv_func_malloc_posix = yes; then ++ HAVE_MALLOC_POSIX=1 ++ ++$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" ++ ++ HAVE_MALLOC_POSIX=0 ++ fi ++ ++ ++ ++ ++ GNULIB_MALLOC_POSIX=1 ++ ++ ++ ++ ++ GNULIB_MEMCHR=1 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5 ++$as_echo_n "checking for working mkstemp... " >&6; } ++if test "${gl_cv_func_working_mkstemp+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ mkdir conftest.mkstemp ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_working_mkstemp=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++int i; ++ off_t large = (off_t) 4294967295u; ++ if (large < 0) ++ large = 2147483647; ++ for (i = 0; i < 70; i++) ++ { ++ char templ[] = "conftest.mkstemp/coXXXXXX"; ++ int (*mkstemp_function) (char *) = mkstemp; ++ int fd = mkstemp_function (templ); ++ if (fd < 0 || lseek (fd, large, SEEK_SET) != large) ++ return 1; ++ close (fd); ++ } ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_mkstemp=yes ++else ++ gl_cv_func_working_mkstemp=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -rf conftest.mkstemp ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5 ++$as_echo "$gl_cv_func_working_mkstemp" >&6; } ++ ++ if test $gl_cv_func_working_mkstemp != yes; then ++ REPLACE_MKSTEMP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS mkstemp.$ac_objext" ++ ++ ++ ++ fi ++ ++ ++ ++ GNULIB_MKSTEMP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netdb_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netdb.h#{ ++ s#.*"\(.*/netdb.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 ++$as_echo "$gl_cv_next_netdb_h" >&6; } ++ fi ++ NEXT_NETDB_H=$gl_cv_next_netdb_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'netdb.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_netdb_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ struct addrinfo a; ++ int b = EAI_OVERFLOW; ++ int c = AI_NUMERICSERV; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ NETDB_H='' ++else ++ NETDB_H='netdb.h' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ HAVE_NETDB_H=1 ++ else ++ NETDB_H='netdb.h' ++ HAVE_NETDB_H=0 ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_netinet_in_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_netinet_in_h_selfcontained=yes ++else ++ gl_cv_header_netinet_in_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 ++$as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; } ++ if test $gl_cv_header_netinet_in_h_selfcontained = yes; then ++ NETINET_IN_H='' ++ else ++ NETINET_IN_H='netinet/in.h' ++ for ac_header in netinet/in.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" ++if test "x$ac_cv_header_netinet_in_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_NETINET_IN_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_netinet_in_h='<'netinet/in.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netinet_in_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_netinet_in_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_netinet_in_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netinet/in.h#{ ++ s#.*"\(.*/netinet/in.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_netinet_in_h='<'netinet/in.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5 ++$as_echo "$gl_cv_next_netinet_in_h" >&6; } ++ fi ++ NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'netinet/in.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_netinet_in_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_netinet_in_h = yes; then ++ HAVE_NETINET_IN_H=1 ++ else ++ HAVE_NETINET_IN_H=0 ++ fi ++ ++ fi ++ ++ ++ ++ ++ ++ ++ if test -n "$ERRNO_H"; then ++ REPLACE_PERROR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS perror.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_PERROR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS physmem.$ac_objext" ++ ++ ++ # Prerequisites of lib/physmem.c. ++ for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h \ ++ machine/hal_sysinfo.h sys/table.h sys/param.h sys/sysctl.h \ ++ sys/systemcfg.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ for ac_header in poll.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" ++if test "x$ac_cv_header_poll_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POLL_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test "$ac_cv_header_poll_h" = no; then ++ gl_cv_func_poll=no ++ else ++ ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" ++if test "x$ac_cv_func_poll" = x""yes; then : ++ # Check whether poll() works on special files (like /dev/null) and ++ # and ttys (like /dev/tty). On MacOS X 10.4.0 and AIX 5.3, it doesn't. ++ if test "$cross_compiling" = yes; then : ++ # When cross-compiling, assume that poll() works everywhere except on ++ # MacOS X or AIX, regardless of its version. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if (defined(__APPLE__) && defined(__MACH__)) || defined(_AIX) ++This is MacOSX or AIX ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "MacOSX" >/dev/null 2>&1; then : ++ gl_cv_func_poll=no ++else ++ gl_cv_func_poll=yes ++fi ++rm -f conftest* ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ int main() ++ { ++ struct pollfd ufd; ++ /* Try /dev/null for reading. */ ++ ufd.fd = open ("/dev/null", O_RDONLY); ++ if (ufd.fd < 0) ++ /* If /dev/null does not exist, it's not MacOS X nor AIX. */ ++ return 0; ++ ufd.events = POLLIN; ++ ufd.revents = 0; ++ if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLIN)) ++ return 1; ++ /* Try /dev/null for writing. */ ++ ufd.fd = open ("/dev/null", O_WRONLY); ++ if (ufd.fd < 0) ++ /* If /dev/null does not exist, it's not MacOS X nor AIX. */ ++ return 0; ++ ufd.events = POLLOUT; ++ ufd.revents = 0; ++ if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLOUT)) ++ return 1; ++ /* Trying /dev/tty may be too environment dependent. */ ++ return 0; ++ } ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_poll=yes ++else ++ gl_cv_func_poll=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++ ++ fi ++ if test $gl_cv_func_poll = yes; then ++ ++$as_echo "@%:@define HAVE_POLL 1" >>confdefs.h ++ ++ POLL_H= ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS poll.$ac_objext" ++ ++ ++$as_echo "@%:@define poll rpl_poll" >>confdefs.h ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ POLL_H=poll.h ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a shell that conforms to POSIX" >&5 ++$as_echo_n "checking for a shell that conforms to POSIX... " >&6; } ++if test "${gl_cv_posix_shell+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_test_posix_shell_script=' ++ func_return () { ++ (exit $1) ++ } ++ func_success () { ++ func_return 0 ++ } ++ func_failure () { ++ func_return 1 ++ } ++ func_ret_success () { ++ return 0 ++ } ++ func_ret_failure () { ++ return 1 ++ } ++ subshell_umask_sanity () { ++ (umask 22; (umask 0); test $(umask) -eq 22) ++ } ++ test "$(echo foo)" = foo && ++ func_success && ++ ! func_failure && ++ func_ret_success && ++ ! func_ret_failure && ++ (set x && func_ret_success y && test x = "$1") && ++ subshell_umask_sanity ++ ' ++ for gl_cv_posix_shell in \ ++ "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do ++ case $gl_cv_posix_shell in ++ /*) ++ "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \ ++ && break;; ++ esac ++ done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_posix_shell" >&5 ++$as_echo "$gl_cv_posix_shell" >&6; } ++ ++ if test "$gl_cv_posix_shell" != no; then ++ POSIX_SHELL=$gl_cv_posix_shell ++ PREFERABLY_POSIX_SHELL=$POSIX_SHELL ++ else ++ POSIX_SHELL= ++ PREFERABLY_POSIX_SHELL=/bin/sh ++ fi ++ ++ ++ ++ ++ ++ for ac_func in random_r ++do : ++ ac_fn_c_check_func "$LINENO" "random_r" "ac_cv_func_random_r" ++if test "x$ac_cv_func_random_r" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_RANDOM_R 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_random_r = no; then ++ HAVE_RANDOM_R=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS random_r.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ GNULIB_RANDOM_R=1 ++ ++ ++ ++ if test $gl_cv_func_malloc_posix = yes; then ++ HAVE_REALLOC_POSIX=1 ++ ++$as_echo "@%:@define HAVE_REALLOC_POSIX 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" ++ ++ HAVE_REALLOC_POSIX=0 ++ fi ++ ++ ++ ++ ++ GNULIB_REALLOC_POSIX=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS recv.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_RECV=1 ++ ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" ++ ++ else ++ ++ : ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5 ++$as_echo_n "checking whether select supports a 0 argument... " >&6; } ++if test "${gl_cv_func_select_supports0+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess no on Interix. ++ interix*) gl_cv_func_select_supports0="guessing no";; ++ # Guess yes otherwise. ++ *) gl_cv_func_select_supports0="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_SYS_SELECT_H ++#include ++#endif ++int main () ++{ ++ struct timeval timeout; ++ timeout.tv_sec = 0; ++ timeout.tv_usec = 5; ++ return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_select_supports0=yes ++else ++ gl_cv_func_select_supports0=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5 ++$as_echo "$gl_cv_func_select_supports0" >&6; } ++ case "$gl_cv_func_select_supports0" in ++ *yes) ;; ++ *) ++ REPLACE_SELECT=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" ++ ++ ;; ++ esac ++ fi ++ ++ ++ ++ GNULIB_SELECT=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS send.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_SEND=1 ++ ++ ++ SERVENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 ++$as_echo_n "checking for library containing getservbyname... " >&6; } ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getservbyname (); ++int ++main () ++{ ++return getservbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getservbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getservbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ ++else ++ ac_cv_search_getservbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 ++$as_echo "$ac_cv_search_getservbyname" >&6; } ++ac_res=$ac_cv_search_getservbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getservbyname" != "none required"; then ++ SERVENT_LIB="$ac_cv_search_getservbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$SERVENT_LIB"; then ++ for ac_func in getservbyname ++do : ++ ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" ++if test "x$ac_cv_func_getservbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETSERVBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_getservbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++getservbyname(NULL,NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getservbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 ++$as_echo "$gl_cv_w32_getservbyname" >&6; } ++ if test "$gl_cv_w32_getservbyname" = "yes"; then ++ SERVENT_LIB="-lws2_32" ++ fi ++ ++fi ++done ++ ++ fi ++ ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS setsockopt.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_SETSOCKOPT=1 ++ ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 ++$as_echo_n "checking for SIZE_MAX... " >&6; } ++ result= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_STDINT_H ++#include ++#endif ++#ifdef SIZE_MAX ++Found it ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Found it" >/dev/null 2>&1; then : ++ result=yes ++fi ++rm -f conftest* ++ ++ if test -z "$result"; then ++ if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi" "#include "; then : ++ ++else ++ result=? ++fi ++ ++ ++ if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo" "#include "; then : ++ ++else ++ result=? ++fi ++ ++ ++ if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : ++ ++else ++ result=? ++fi ++ ++ ++ if test "$fits_in_uint" = 1; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ extern size_t foo; ++ extern unsigned long foo; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ fits_in_uint=0 ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test -z "$result"; then ++ if test "$fits_in_uint" = 1; then ++ result="$res_hi$res_lo"U ++ else ++ result="$res_hi$res_lo"UL ++ fi ++ else ++ result='~(size_t)0' ++ fi ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5 ++$as_echo "$result" >&6; } ++ if test "$result" != yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define SIZE_MAX $result ++_ACEOF ++ ++ fi ++ ++ ++ ++ gl_cv_func_snprintf_usable=no ++ for ac_func in snprintf ++do : ++ ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" ++if test "x$ac_cv_func_snprintf" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SNPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_snprintf = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 ++$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } ++if test "${gl_cv_func_snprintf_size1+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_snprintf_size1="guessing yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++int main() ++{ ++ static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ++ snprintf (buf, 1, "%d", 12345); ++ return buf[1] != 'E'; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_snprintf_size1=yes ++else ++ gl_cv_func_snprintf_size1=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 ++$as_echo "$gl_cv_func_snprintf_size1" >&6; } ++ ++ case "$gl_cv_func_snprintf_size1" in ++ *yes) ++ gl_cv_func_snprintf_usable=yes ++ ;; ++ esac ++ fi ++ if test $gl_cv_func_snprintf_usable = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS snprintf.$ac_objext" ++ ++ if test $ac_cv_func_snprintf = yes; then ++ REPLACE_SNPRINTF=1 ++ fi ++ : ++ ++ fi ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_snprintf = no; then ++ HAVE_DECL_SNPRINTF=0 ++ fi ++ ++ ++ ++ GNULIB_SNPRINTF=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS socket.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_SOCKET=1 ++ ++ ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include ++ #if HAVE_SYS_SOCKET_H ++ # include ++ #elif HAVE_WS2TCPIP_H ++ # include ++ #endif ++" ++if test "x$ac_cv_type_socklen_t" = x""yes; then : ++ ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 ++$as_echo_n "checking for socklen_t equivalent... " >&6; } ++ if test "${gl_cv_socklen_t_equiv+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Systems have either "struct sockaddr *" or ++ # "void *" as the second argument to getpeername ++ gl_cv_socklen_t_equiv= ++ for arg2 in "struct sockaddr" void; do ++ for t in int size_t "unsigned int" "long int" "unsigned long int"; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++ int getpeername (int, $arg2 *, $t *); ++int ++main () ++{ ++$t len; ++ getpeername (0, 0, &len); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_socklen_t_equiv="$t" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$gl_cv_socklen_t_equiv" != "" && break ++ done ++ test "$gl_cv_socklen_t_equiv" != "" && break ++ done ++ ++fi ++ ++ if test "$gl_cv_socklen_t_equiv" = ""; then ++ as_fn_error "Cannot find a type to use in place of socklen_t" "$LINENO" 5 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 ++$as_echo "$gl_cv_socklen_t_equiv" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define socklen_t $gl_cv_socklen_t_equiv ++_ACEOF ++ ++fi ++ ++ ++ ++ ++ # Define two additional variables used in the Makefile substitution. ++ ++ if test "$ac_cv_header_stdbool_h" = yes; then ++ STDBOOL_H='' ++ else ++ STDBOOL_H='stdbool.h' ++ fi ++ ++ ++ if test "$ac_cv_type__Bool" = yes; then ++ HAVE__BOOL=1 ++ else ++ HAVE__BOOL=0 ++ fi ++ ++ ++ ++ ++ ++ if test $ac_cv_type_long_long_int = yes; then ++ HAVE_LONG_LONG_INT=1 ++ else ++ HAVE_LONG_LONG_INT=0 ++ fi ++ ++ ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ HAVE_UNSIGNED_LONG_LONG_INT=1 ++ else ++ HAVE_UNSIGNED_LONG_LONG_INT=0 ++ fi ++ ++ ++ if test $ac_cv_header_inttypes_h = yes; then ++ HAVE_INTTYPES_H=1 ++ else ++ HAVE_INTTYPES_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_sys_types_h = yes; then ++ HAVE_SYS_TYPES_H=1 ++ else ++ HAVE_SYS_TYPES_H=0 ++ fi ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdint_h='<'stdint.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_stdint_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdint.h#{ ++ s#.*"\(.*/stdint.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_stdint_h='<'stdint.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 ++$as_echo "$gl_cv_next_stdint_h" >&6; } ++ fi ++ NEXT_STDINT_H=$gl_cv_next_stdint_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdint.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdint_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ HAVE_STDINT_H=1 ++ else ++ HAVE_STDINT_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 ++$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } ++if test "${gl_cv_header_working_stdint_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_header_working_stdint_h=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ ++#if !(defined WCHAR_MIN && defined WCHAR_MAX) ++#error "WCHAR_MIN, WCHAR_MAX not defined in " ++#endif ++ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ ++#ifdef INT8_MAX ++int8_t a1 = INT8_MAX; ++int8_t a1min = INT8_MIN; ++#endif ++#ifdef INT16_MAX ++int16_t a2 = INT16_MAX; ++int16_t a2min = INT16_MIN; ++#endif ++#ifdef INT32_MAX ++int32_t a3 = INT32_MAX; ++int32_t a3min = INT32_MIN; ++#endif ++#ifdef INT64_MAX ++int64_t a4 = INT64_MAX; ++int64_t a4min = INT64_MIN; ++#endif ++#ifdef UINT8_MAX ++uint8_t b1 = UINT8_MAX; ++#else ++typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; ++#endif ++#ifdef UINT16_MAX ++uint16_t b2 = UINT16_MAX; ++#endif ++#ifdef UINT32_MAX ++uint32_t b3 = UINT32_MAX; ++#endif ++#ifdef UINT64_MAX ++uint64_t b4 = UINT64_MAX; ++#endif ++int_least8_t c1 = INT8_C (0x7f); ++int_least8_t c1max = INT_LEAST8_MAX; ++int_least8_t c1min = INT_LEAST8_MIN; ++int_least16_t c2 = INT16_C (0x7fff); ++int_least16_t c2max = INT_LEAST16_MAX; ++int_least16_t c2min = INT_LEAST16_MIN; ++int_least32_t c3 = INT32_C (0x7fffffff); ++int_least32_t c3max = INT_LEAST32_MAX; ++int_least32_t c3min = INT_LEAST32_MIN; ++int_least64_t c4 = INT64_C (0x7fffffffffffffff); ++int_least64_t c4max = INT_LEAST64_MAX; ++int_least64_t c4min = INT_LEAST64_MIN; ++uint_least8_t d1 = UINT8_C (0xff); ++uint_least8_t d1max = UINT_LEAST8_MAX; ++uint_least16_t d2 = UINT16_C (0xffff); ++uint_least16_t d2max = UINT_LEAST16_MAX; ++uint_least32_t d3 = UINT32_C (0xffffffff); ++uint_least32_t d3max = UINT_LEAST32_MAX; ++uint_least64_t d4 = UINT64_C (0xffffffffffffffff); ++uint_least64_t d4max = UINT_LEAST64_MAX; ++int_fast8_t e1 = INT_FAST8_MAX; ++int_fast8_t e1min = INT_FAST8_MIN; ++int_fast16_t e2 = INT_FAST16_MAX; ++int_fast16_t e2min = INT_FAST16_MIN; ++int_fast32_t e3 = INT_FAST32_MAX; ++int_fast32_t e3min = INT_FAST32_MIN; ++int_fast64_t e4 = INT_FAST64_MAX; ++int_fast64_t e4min = INT_FAST64_MIN; ++uint_fast8_t f1 = UINT_FAST8_MAX; ++uint_fast16_t f2 = UINT_FAST16_MAX; ++uint_fast32_t f3 = UINT_FAST32_MAX; ++uint_fast64_t f4 = UINT_FAST64_MAX; ++#ifdef INTPTR_MAX ++intptr_t g = INTPTR_MAX; ++intptr_t gmin = INTPTR_MIN; ++#endif ++#ifdef UINTPTR_MAX ++uintptr_t h = UINTPTR_MAX; ++#endif ++intmax_t i = INTMAX_MAX; ++uintmax_t j = UINTMAX_MAX; ++ ++#include /* for CHAR_BIT */ ++#define TYPE_MINIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) ++#define TYPE_MAXIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) ++struct s { ++ int check_PTRDIFF: ++ PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) ++ && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ++ ? 1 : -1; ++ /* Detect bug in FreeBSD 6.0 / ia64. */ ++ int check_SIG_ATOMIC: ++ SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) ++ && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ++ ? 1 : -1; ++ int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; ++ int check_WCHAR: ++ WCHAR_MIN == TYPE_MINIMUM (wchar_t) ++ && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ++ ? 1 : -1; ++ /* Detect bug in mingw. */ ++ int check_WINT: ++ WINT_MIN == TYPE_MINIMUM (wint_t) ++ && WINT_MAX == TYPE_MAXIMUM (wint_t) ++ ? 1 : -1; ++ ++ /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ ++ int check_UINT8_C: ++ (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; ++ int check_UINT16_C: ++ (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; ++ ++ /* Detect bugs in OpenBSD 3.9 stdint.h. */ ++#ifdef UINT8_MAX ++ int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; ++#endif ++#ifdef UINT16_MAX ++ int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; ++#endif ++#ifdef UINT32_MAX ++ int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; ++#endif ++#ifdef UINT64_MAX ++ int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; ++#endif ++ int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; ++ int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; ++ int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; ++ int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; ++ int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; ++ int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; ++ int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; ++ int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; ++ int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; ++ int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; ++ int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; ++}; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if test "$cross_compiling" = yes; then : ++ gl_cv_header_working_stdint_h=yes ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ ++#include ++#include ++#define MVAL(macro) MVAL1(macro) ++#define MVAL1(expression) #expression ++static const char *macro_values[] = ++ { ++#ifdef INT8_MAX ++ MVAL (INT8_MAX), ++#endif ++#ifdef INT16_MAX ++ MVAL (INT16_MAX), ++#endif ++#ifdef INT32_MAX ++ MVAL (INT32_MAX), ++#endif ++#ifdef INT64_MAX ++ MVAL (INT64_MAX), ++#endif ++#ifdef UINT8_MAX ++ MVAL (UINT8_MAX), ++#endif ++#ifdef UINT16_MAX ++ MVAL (UINT16_MAX), ++#endif ++#ifdef UINT32_MAX ++ MVAL (UINT32_MAX), ++#endif ++#ifdef UINT64_MAX ++ MVAL (UINT64_MAX), ++#endif ++ NULL ++ }; ++ ++int ++main () ++{ ++ ++ const char **mv; ++ for (mv = macro_values; *mv != NULL; mv++) ++ { ++ const char *value = *mv; ++ /* Test whether it looks like a cast expression. */ ++ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 ++ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 ++ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 ++ || strncmp (value, "((int)"/*)*/, 6) == 0 ++ || strncmp (value, "((signed short)"/*)*/, 15) == 0 ++ || strncmp (value, "((signed char)"/*)*/, 14) == 0) ++ return 1; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_header_working_stdint_h=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 ++$as_echo "$gl_cv_header_working_stdint_h" >&6; } ++ fi ++ if test "$gl_cv_header_working_stdint_h" = yes; then ++ STDINT_H= ++ else ++ for ac_header in sys/inttypes.h sys/bitypes.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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_sys_inttypes_h = yes; then ++ HAVE_SYS_INTTYPES_H=1 ++ else ++ HAVE_SYS_INTTYPES_H=0 ++ fi ++ ++ if test $ac_cv_header_sys_bitypes_h = yes; then ++ HAVE_SYS_BITYPES_H=1 ++ else ++ HAVE_SYS_BITYPES_H=0 ++ fi ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ ++ ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++#include "; then : ++ ++else ++ result=unknown ++fi ++ ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ++fi ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++@%:@define BITSIZEOF_${GLTYPE} $result ++_ACEOF ++ ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ ++ ++ fi ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++#include "; then : ++ ++else ++ result=unknown ++fi ++ ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ++fi ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++@%:@define BITSIZEOF_${GLTYPE} $result ++_ACEOF ++ ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ ++ ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 ++$as_echo_n "checking whether $gltype is signed... " >&6; } ++if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ result=yes ++else ++ result=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval gl_cv_type_${gltype}_signed=\$result ++ ++fi ++eval ac_res=\$gl_cv_type_${gltype}_signed ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_type_${gltype}_signed ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ if test "$result" = yes; then ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIGNED_${GLTYPE} 1 ++_ACEOF ++ ++ eval HAVE_SIGNED_${GLTYPE}=1 ++ else ++ eval HAVE_SIGNED_${GLTYPE}=0 ++ fi ++ done ++ ++ ++ gl_cv_type_ptrdiff_t_signed=yes ++ gl_cv_type_size_t_signed=no ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ ++ ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 ++$as_echo_n "checking for $gltype integer literal suffix... " >&6; } ++if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ extern $gltype foo; ++ extern $gltype1 foo; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval gl_cv_type_${gltype}_suffix=\$glsuf ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done ++fi ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ cat >>confdefs.h <<_ACEOF ++@%:@define ${GLTYPE}_SUFFIX $result ++_ACEOF ++ ++ done ++ ++ ++ fi ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 ++$as_echo_n "checking for $gltype integer literal suffix... " >&6; } ++if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ extern $gltype foo; ++ extern $gltype1 foo; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval gl_cv_type_${gltype}_suffix=\$glsuf ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done ++fi ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ cat >>confdefs.h <<_ACEOF ++@%:@define ${GLTYPE}_SUFFIX $result ++_ACEOF ++ ++ done ++ ++ ++ ++ STDINT_H=stdint.h ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdio_h='<'stdio.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_stdio_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_stdio_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdio.h#{ ++ s#.*"\(.*/stdio.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_stdio_h='<'stdio.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 ++$as_echo "$gl_cv_next_stdio_h" >&6; } ++ fi ++ NEXT_STDIO_H=$gl_cv_next_stdio_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdio.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdio_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive ++ ++ ++ ++ GNULIB_FPRINTF=1 ++ GNULIB_PRINTF=1 ++ GNULIB_VFPRINTF=1 ++ GNULIB_VPRINTF=1 ++ GNULIB_FPUTC=1 ++ GNULIB_PUTC=1 ++ GNULIB_PUTCHAR=1 ++ GNULIB_FPUTS=1 ++ GNULIB_PUTS=1 ++ GNULIB_FWRITE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdlib_h='<'stdlib.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_stdlib_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_stdlib_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdlib.h#{ ++ s#.*"\(.*/stdlib.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_stdlib_h='<'stdlib.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 ++$as_echo "$gl_cv_next_stdlib_h" >&6; } ++ fi ++ NEXT_STDLIB_H=$gl_cv_next_stdlib_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdlib.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdlib_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive ++ ++ ++ ++ for ac_header in random.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default ++" ++if test "x$ac_cv_header_random_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_RANDOM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_random_h = yes; then ++ HAVE_RANDOM_H=1 ++ else ++ HAVE_RANDOM_H=0 ++ fi ++ ++ ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include ++ #if HAVE_RANDOM_H ++ # include ++ #endif ++ ++" ++if test "x$ac_cv_type_struct_random_data" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_RANDOM_DATA 1 ++_ACEOF ++ ++ ++else ++ HAVE_STRUCT_RANDOM_DATA=0 ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in stpcpy ++do : ++ ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy" ++if test "x$ac_cv_func_stpcpy" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STPCPY 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_stpcpy = no; then ++ HAVE_STPCPY=0 ++ ++ : ++ ++ fi ++ ++ ++ ++ GNULIB_STPCPY=1 ++ ++ ++ ++ ++ if test $gl_cv_func_malloc_posix != yes; then ++ REPLACE_STRDUP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS strdup.$ac_objext" ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in strdup ++do : ++ ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" ++if test "x$ac_cv_func_strdup" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRDUP 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ fi ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strdup = no; then ++ HAVE_DECL_STRDUP=0 ++ fi ++ : ++ ++ ++ ++ GNULIB_STRDUP=1 ++ ++ ++ ++ if test $REPLACE_STRERROR = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext" ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define REPLACE_STRERROR $REPLACE_STRERROR ++_ACEOF ++ ++ fi ++ ++ ++ ++ GNULIB_STRERROR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strndup = no; then ++ HAVE_DECL_STRNDUP=0 ++ fi ++ ++ # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 ++$as_echo_n "checking for working strndup... " >&6; } ++if test "${gl_cv_func_strndup+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" ++if test "x$ac_cv_func_strndup" = x""yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef _AIX ++ too risky ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "too risky" >/dev/null 2>&1; then : ++ gl_cv_func_strndup=no ++else ++ gl_cv_func_strndup=yes ++fi ++rm -f conftest* ++ ++else ++ gl_cv_func_strndup=no ++fi ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++int ++main () ++{ ++ ++#ifndef HAVE_DECL_STRNDUP ++ extern char *strndup (const char *, size_t); ++#endif ++ char *s; ++ s = strndup ("some longer string", 15); ++ free (s); ++ s = strndup ("shorter string", 13); ++ return s[13] != '\0'; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strndup=yes ++else ++ gl_cv_func_strndup=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup" >&5 ++$as_echo "$gl_cv_func_strndup" >&6; } ++ if test $gl_cv_func_strndup = yes; then ++ ++$as_echo "@%:@define HAVE_STRNDUP 1" >>confdefs.h ++ ++ else ++ HAVE_STRNDUP=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" ++ ++ : ++ fi ++ ++ ++ ++ GNULIB_STRNDUP=1 ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strnlen = no; then ++ HAVE_DECL_STRNLEN=0 ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 ++$as_echo_n "checking for working strnlen... " >&6; } ++if test "${ac_cv_func_strnlen_working+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_strnlen_working=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++#define S "foobar" ++#define S_LEN (sizeof S - 1) ++ ++ /* At least one implementation is buggy: that of AIX 4.3 would ++ give strnlen (S, 1) == 3. */ ++ ++ int i; ++ for (i = 0; i < S_LEN + 1; ++i) ++ { ++ int expected = i <= S_LEN ? i : S_LEN; ++ if (strnlen (S, i) != expected) ++ return 1; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_strnlen_working=yes ++else ++ ac_cv_func_strnlen_working=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 ++$as_echo "$ac_cv_func_strnlen_working" >&6; } ++test $ac_cv_func_strnlen_working = no && ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" ++ ++ ++ if test $ac_cv_func_strnlen_working = no; then ++ # This is necessary because automake-1.6.1 doesn't understand ++ # that the above use of AC_FUNC_STRNLEN means we may have to use ++ # lib/strnlen.c. ++ #AC_LIBOBJ([strnlen]) ++ ++$as_echo "@%:@define strnlen rpl_strnlen" >>confdefs.h ++ ++ : ++ fi ++ ++ ++ ++ GNULIB_STRNLEN=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in strsep ++do : ++ ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" ++if test "x$ac_cv_func_strsep" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRSEP 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_strsep = no; then ++ HAVE_STRSEP=0 ++ : ++ fi ++ ++ ++ ++ GNULIB_STRSEP=1 ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_ioctl_h = yes; then ++ HAVE_SYS_IOCTL_H=1 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declares ioctl" >&5 ++$as_echo_n "checking whether declares ioctl... " >&6; } ++if test "${gl_cv_decl_ioctl_in_sys_ioctl_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++(void) ioctl; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_decl_ioctl_in_sys_ioctl_h=yes ++else ++ gl_cv_decl_ioctl_in_sys_ioctl_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$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 ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_ioctl_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_ioctl_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_ioctl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/ioctl.h#{ ++ s#.*"\(.*/sys/ioctl.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_ioctl_h" >&5 ++$as_echo "$gl_cv_next_sys_ioctl_h" >&6; } ++ fi ++ NEXT_SYS_IOCTL_H=$gl_cv_next_sys_ioctl_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/ioctl.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_ioctl_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_select_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++struct timeval b; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_select_h_selfcontained=yes ++else ++ gl_cv_header_sys_select_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$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' ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_select_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_select_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/select.h#{ ++ s#.*"\(.*/sys/select.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5 ++$as_echo "$gl_cv_next_sys_select_h" >&6; } ++ fi ++ NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/select.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_select_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive ++ ++ ++ ++ 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_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_socket_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_selfcontained=yes ++else ++ gl_cv_header_sys_socket_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } ++ if test $gl_cv_header_sys_socket_h_selfcontained = yes; then ++ SYS_SOCKET_H='' ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SHUTDOWN 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_shutdown = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 ++$as_echo_n "checking whether defines the SHUT_* macros... " >&6; } ++if test "${gl_cv_header_sys_socket_h_shut+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_shut=yes ++else ++ gl_cv_header_sys_socket_h_shut=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } ++ if test $gl_cv_header_sys_socket_h_shut = no; then ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ fi ++ else ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ # We need to check for ws2tcpip.h now. ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_socket_h='<'sys/socket.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_socket_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_socket_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/socket.h#{ ++ s#.*"\(.*/sys/socket.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_socket_h='<'sys/socket.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 ++$as_echo "$gl_cv_next_sys_socket_h" >&6; } ++ fi ++ NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/socket.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_socket_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h = yes; then ++ HAVE_SYS_SOCKET_H=1 ++ HAVE_WS2TCPIP_H=0 ++ else ++ HAVE_SYS_SOCKET_H=0 ++ for ac_header in ws2tcpip.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ++if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WS2TCPIP_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_ws2tcpip_h = yes; then ++ HAVE_WS2TCPIP_H=1 ++ else ++ HAVE_WS2TCPIP_H=0 ++ fi ++ fi ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1 ++_ACEOF ++ ++ ++fi ++ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_sa_family_t" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SA_FAMILY_T 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_type_struct_sockaddr_storage = no; then ++ HAVE_STRUCT_SOCKADDR_STORAGE=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test $ac_cv_type_sa_family_t = no; then ++ HAVE_SA_FAMILY_T=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test -n "$SYS_SOCKET_H"; then ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_lstat = yes; then ++ HAVE_LSTAT=1 ++ else ++ HAVE_LSTAT=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_stat_h='<'sys/stat.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_stat_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_stat_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/stat.h#{ ++ s#.*"\(.*/sys/stat.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_stat_h='<'sys/stat.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 ++$as_echo "$gl_cv_next_sys_stat_h" >&6; } ++ fi ++ NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/stat.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_stat_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive ++ ++ ++ ++ SYS_STAT_H='sys/stat.h' ++ ++ ++ ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include ++ #include ++" ++if test "x$ac_cv_type_nlink_t" = x""yes; then : ++ ++else ++ ++$as_echo "@%:@define nlink_t int" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS tempname.$ac_objext" ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5 ++$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; } ++if test "${gl_cv_time_r_posix+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++/* We don't need to append 'restrict's to the argument types, ++ even though the POSIX signature has the 'restrict's, ++ since C99 says they can't affect type compatibility. */ ++ struct tm * (*ptr) (time_t const *, struct tm *) = localtime_r; ++ if (ptr) return 0; ++ /* Check the return type is a pointer. On HP-UX 10 it is 'int'. */ ++ *localtime_r (0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_time_r_posix=yes ++else ++ gl_cv_time_r_posix=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_r_posix" >&5 ++$as_echo "$gl_cv_time_r_posix" >&6; } ++ if test $gl_cv_time_r_posix = yes; then ++ REPLACE_LOCALTIME_R=0 ++ else ++ REPLACE_LOCALTIME_R=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS time_r.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_unistd_h='<'unistd.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_unistd_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_unistd_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/unistd.h#{ ++ s#.*"\(.*/unistd.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_unistd_h='<'unistd.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 ++$as_echo "$gl_cv_next_unistd_h" >&6; } ++ fi ++ NEXT_UNISTD_H=$gl_cv_next_unistd_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'unistd.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_unistd_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_unistd_h = yes; then ++ HAVE_UNISTD_H=1 ++ else ++ HAVE_UNISTD_H=0 ++ fi ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_vasnprintf = no; then ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext" ++ ++ if test $ac_cv_func_vasnprintf = yes; then ++ ++$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" ++if test "x$ac_cv_type_ptrdiff_t" = x""yes; then : ++ ++else ++ ++$as_echo "@%:@define ptrdiff_t long" >>confdefs.h ++ ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ ++ for ac_func in vasprintf ++do : ++ ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" ++if test "x$ac_cv_func_vasprintf" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_VASPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_vasprintf = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext" ++ ++ ++ if test $ac_cv_func_vasprintf = yes; then ++ REPLACE_VASPRINTF=1 ++ else ++ HAVE_VASPRINTF=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ ++ ++ GNULIB_VASPRINTF=1 ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format" ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is standalone" >&5 ++$as_echo_n "checking whether is standalone... " >&6; } ++if test "${gl_cv_header_wchar_h_standalone+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++wchar_t w; ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_wchar_h_standalone=yes ++else ++ gl_cv_header_wchar_h_standalone=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$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; then ++ WCHAR_H=wchar.h ++ fi ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_wchar_h='<'wchar.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_wchar_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/wchar.h#{ ++ s#.*"\(.*/wchar.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_wchar_h='<'wchar.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 ++$as_echo "$gl_cv_next_wchar_h" >&6; } ++ fi ++ NEXT_WCHAR_H=$gl_cv_next_wchar_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'wchar.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_wchar_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_libdeps= ++ gltests_ltlibdeps= ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_source_base='gnulib/tests' ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_LIBOBJS="$gltests_LIBOBJS accept.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_ACCEPT=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_LIBOBJS="$gltests_LIBOBJS bind.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_BIND=1 ++ ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_LIBOBJS="$gltests_LIBOBJS listen.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_LISTEN=1 ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ LIBSOCKET= ++ if test $HAVE_WINSOCK2_H = 1; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_func_wsastartup+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++# include ++#endif ++int ++main () ++{ ++ ++ WORD wVersionRequested = MAKEWORD(1, 1); ++ WSADATA wsaData; ++ int err = WSAStartup(wVersionRequested, &wsaData); ++ WSACleanup (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_wsastartup=yes ++else ++ gl_cv_func_wsastartup=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 ++$as_echo "$gl_cv_func_wsastartup" >&6; } ++ if test "$gl_cv_func_wsastartup" = "yes"; then ++ ++$as_echo "@%:@define WINDOWS_SOCKETS 1" >>confdefs.h ++ ++ LIBSOCKET='-lws2_32' ++ fi ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 ++$as_echo_n "checking for library containing setsockopt... " >&6; } ++if test "${gl_cv_lib_socket+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_cv_lib_socket= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt(); ++int ++main () ++{ ++setsockopt(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++else ++ gl_save_LIBS="$LIBS" ++ LIBS="$gl_save_LIBS -lsocket" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt(); ++int ++main () ++{ ++setsockopt(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_lib_socket="-lsocket" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test -z "$gl_cv_lib_socket"; then ++ LIBS="$gl_save_LIBS -lnetwork" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt(); ++int ++main () ++{ ++setsockopt(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_lib_socket="-lnetwork" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test -z "$gl_cv_lib_socket"; then ++ LIBS="$gl_save_LIBS -lnet" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt(); ++int ++main () ++{ ++setsockopt(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_lib_socket="-lnet" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ fi ++ fi ++ LIBS="$gl_save_LIBS" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test -z "$gl_cv_lib_socket"; then ++ gl_cv_lib_socket="none needed" ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 ++$as_echo "$gl_cv_lib_socket" >&6; } ++ if test "$gl_cv_lib_socket" != "none needed"; then ++ LIBSOCKET="$gl_cv_lib_socket" ++ fi ++ fi ++ ++ ++ : ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if test "${gt_cv_c_wchar_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then ++ ++$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if test "${gt_cv_c_wint_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wint_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes ++else ++ gt_cv_c_wint_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then ++ ++$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h ++ ++ fi ++ ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SHUTDOWN 1 ++_ACEOF ++ ++fi ++done ++ ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ LIBTESTS_LIBDEPS="$gltests_libdeps" ++ ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}gcc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="${ac_tool_prefix}gcc" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_CC"; then ++ ac_ct_CC=$CC ++ # Extract the first word of "gcc", so it can be a program name with args. ++set dummy gcc; 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_prog_ac_ct_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_CC="gcc" ++ $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 ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++else ++ CC="$ac_cv_prog_CC" ++fi ++ ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}cc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="${ac_tool_prefix}cc" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ fi ++fi ++if test -z "$CC"; then ++ # Extract the first word of "cc", so it can be a program name with args. ++set dummy cc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++ ac_prog_rejected=no ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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 ++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ++ ac_prog_rejected=yes ++ continue ++ fi ++ ac_cv_prog_CC="cc" ++ $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 ++ ++if test $ac_prog_rejected = yes; then ++ # We found a bogon in the path, so make sure we never use it. ++ set dummy $ac_cv_prog_CC ++ shift ++ if test $@%:@ != 0; then ++ # We chose a different compiler from the bogus one. ++ # However, it has the same basename, so the bogon will be chosen ++ # first if we set CC to just the basename; use the full file name. ++ shift ++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ++ fi ++fi ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in cl.exe ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="$ac_tool_prefix$ac_prog" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CC" && break ++ done ++fi ++if test -z "$CC"; then ++ ac_ct_CC=$CC ++ for ac_prog in cl.exe ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; 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_prog_ac_ct_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_CC="$ac_prog" ++ $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 ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CC" && break ++done ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++fi ++ ++fi ++ ++ ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "no acceptable C compiler found in \$PATH ++See \`config.log' for more details." "$LINENO" 5; } ++ ++# Provide some information about the compiler. ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ rm -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ++if test "${ac_cv_c_compiler_gnu+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_compiler_gnu=yes ++else ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_cv_c_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++$as_echo "$ac_cv_c_compiler_gnu" >&6; } ++if test $ac_compiler_gnu = yes; then ++ GCC=yes ++else ++ GCC= ++fi ++ac_test_CFLAGS=${CFLAGS+set} ++ac_save_CFLAGS=$CFLAGS ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++$as_echo_n "checking whether $CC accepts -g... " >&6; } ++if test "${ac_cv_prog_cc_g+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_save_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ ac_cv_prog_cc_g=no ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++else ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_c_werror_flag=$ac_save_c_werror_flag ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++$as_echo "$ac_cv_prog_cc_g" >&6; } ++if test "$ac_test_CFLAGS" = set; then ++ CFLAGS=$ac_save_CFLAGS ++elif test $ac_cv_prog_cc_g = yes; then ++ if test "$GCC" = yes; then ++ CFLAGS="-g -O2" ++ else ++ CFLAGS="-g" ++ fi ++else ++ if test "$GCC" = yes; then ++ CFLAGS="-O2" ++ else ++ CFLAGS= ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if test "${ac_cv_prog_cc_c89+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++depcc="$CC" am_compiler_list= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++$as_echo_n "checking dependency style of $depcc... " >&6; } ++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named `D' -- because `-MD' means `put the output ++ # in D'. ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_CC_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ++ fi ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with ++ # Solaris 8's {/usr,}/bin/sh. ++ touch sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ case $depmode in ++ nosideeffect) ++ # after this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ none) break ;; ++ esac ++ # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle `-M -o', and we need to detect this. ++ if depmode=$depmode \ ++ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_CC_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_CC_dependencies_compiler_type=none ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 ++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } ++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type ++ ++ if ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then ++ am__fastdepCC_TRUE= ++ am__fastdepCC_FALSE='#' ++else ++ am__fastdepCC_TRUE='#' ++ am__fastdepCC_FALSE= ++fi ++ ++ ++ ++am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 ++$as_echo_n "checking for an ANSI C-conforming const... " >&6; } ++if test "${ac_cv_c_const+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++/* FIXME: Include the comments suggested by Paul. */ ++#ifndef __cplusplus ++ /* Ultrix mips cc rejects this. */ ++ typedef int charset[2]; ++ const charset cs; ++ /* SunOS 4.1.1 cc rejects this. */ ++ char const *const *pcpcc; ++ char **ppc; ++ /* NEC SVR4.0.2 mips cc rejects this. */ ++ struct point {int x, y;}; ++ static struct point const zero = {0,0}; ++ /* AIX XL C 1.02.0.0 rejects this. ++ It does not let you subtract one const X* pointer from another in ++ an arm of an if-expression whose if-part is not a constant ++ expression */ ++ const char *g = "string"; ++ pcpcc = &g + (g ? g-g : 0); ++ /* HPUX 7.0 cc rejects these. */ ++ ++pcpcc; ++ ppc = (char**) pcpcc; ++ pcpcc = (char const *const *) ppc; ++ { /* SCO 3.2v4 cc rejects this. */ ++ char *t; ++ char const *s = 0 ? (char *) 0 : (char const *) 0; ++ ++ *t++ = 0; ++ if (s) return 0; ++ } ++ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ ++ int x[] = {25, 17}; ++ const int *foo = &x[0]; ++ ++foo; ++ } ++ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ ++ typedef const int *iptr; ++ iptr p = 0; ++ ++p; ++ } ++ { /* AIX XL C 1.02.0.0 rejects this saying ++ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ ++ struct s { int j; const int *ap[3]; }; ++ struct s *b; b->j = 5; ++ } ++ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ ++ const int foo = 10; ++ if (!foo) return 0; ++ } ++ return !cs[0] && !zero.x; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_const=yes ++else ++ ac_cv_c_const=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 ++$as_echo "$ac_cv_c_const" >&6; } ++if test $ac_cv_c_const = no; then ++ ++$as_echo "@%:@define const /**/" >>confdefs.h ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 ++$as_echo_n "checking for function prototypes... " >&6; } ++if test "$ac_cv_prog_cc_c89" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++$as_echo "@%:@define PROTOTYPES 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define __PROTOTYPES 1" >>confdefs.h ++ ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++if test "$ac_cv_prog_cc_stdc" != no; then ++ U= ANSI2KNR= ++else ++ U=_ ANSI2KNR=./ansi2knr ++fi ++# Ensure some checks needed by ansi2knr itself. ++ ++for ac_header in string.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" ++if test "x$ac_cv_header_string_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRING_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++test "x$U" != "x" && as_fn_error "Compiler not ANSI compliant" "$LINENO" 5 ++ ++enable_win32_dll=yes ++ ++case $host in ++*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. ++set dummy ${ac_tool_prefix}as; 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_prog_AS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$AS"; then ++ ac_cv_prog_AS="$AS" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_AS="${ac_tool_prefix}as" ++ $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 ++ ++fi ++fi ++AS=$ac_cv_prog_AS ++if test -n "$AS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 ++$as_echo "$AS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_AS"; then ++ ac_ct_AS=$AS ++ # Extract the first word of "as", so it can be a program name with args. ++set dummy as; 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_prog_ac_ct_AS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_AS"; then ++ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_AS="as" ++ $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 ++ ++fi ++fi ++ac_ct_AS=$ac_cv_prog_ac_ct_AS ++if test -n "$ac_ct_AS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 ++$as_echo "$ac_ct_AS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_AS" = x; then ++ AS="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ AS=$ac_ct_AS ++ fi ++else ++ AS="$ac_cv_prog_AS" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. ++set dummy ${ac_tool_prefix}dlltool; 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_prog_DLLTOOL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$DLLTOOL"; then ++ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_DLLTOOL="${ac_tool_prefix}dlltool" ++ $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 ++ ++fi ++fi ++DLLTOOL=$ac_cv_prog_DLLTOOL ++if test -n "$DLLTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 ++$as_echo "$DLLTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_DLLTOOL"; then ++ ac_ct_DLLTOOL=$DLLTOOL ++ # Extract the first word of "dlltool", so it can be a program name with args. ++set dummy dlltool; 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_prog_ac_ct_DLLTOOL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_DLLTOOL"; then ++ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_DLLTOOL="dlltool" ++ $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 ++ ++fi ++fi ++ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL ++if test -n "$ac_ct_DLLTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 ++$as_echo "$ac_ct_DLLTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_DLLTOOL" = x; then ++ DLLTOOL="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ DLLTOOL=$ac_ct_DLLTOOL ++ fi ++else ++ DLLTOOL="$ac_cv_prog_DLLTOOL" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. ++set dummy ${ac_tool_prefix}objdump; 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_prog_OBJDUMP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$OBJDUMP"; then ++ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_OBJDUMP="${ac_tool_prefix}objdump" ++ $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 ++ ++fi ++fi ++OBJDUMP=$ac_cv_prog_OBJDUMP ++if test -n "$OBJDUMP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 ++$as_echo "$OBJDUMP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_OBJDUMP"; then ++ ac_ct_OBJDUMP=$OBJDUMP ++ # Extract the first word of "objdump", so it can be a program name with args. ++set dummy objdump; 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_prog_ac_ct_OBJDUMP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_OBJDUMP"; then ++ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_OBJDUMP="objdump" ++ $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 ++ ++fi ++fi ++ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP ++if test -n "$ac_ct_OBJDUMP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 ++$as_echo "$ac_ct_OBJDUMP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_OBJDUMP" = x; then ++ OBJDUMP="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ OBJDUMP=$ac_ct_OBJDUMP ++ fi ++else ++ OBJDUMP="$ac_cv_prog_OBJDUMP" ++fi ++ ++ ;; ++esac ++ ++test -z "$AS" && AS=as ++ ++ ++ ++ ++ ++test -z "$DLLTOOL" && DLLTOOL=dlltool ++ ++ ++ ++ ++ ++test -z "$OBJDUMP" && OBJDUMP=objdump ++ ++ ++ ++ ++ ++ ++ ++ ++case `pwd` in ++ *\ * | *\ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 ++$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; ++esac ++ ++ ++ ++macro_version='2.2.6' ++macro_revision='1.3012' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ltmain="$ac_aux_dir/ltmain.sh" ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 ++$as_echo_n "checking for a sed that does not truncate output... " >&6; } ++if test "${ac_cv_path_SED+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ ++ for ac_i in 1 2 3 4 5 6 7; do ++ ac_script="$ac_script$as_nl$ac_script" ++ done ++ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed ++ { ac_script=; unset ac_script;} ++ if test -z "$SED"; then ++ ac_path_SED_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in sed gsed; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" ++ { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue ++# Check for GNU ac_path_SED and select it if it is found. ++ # Check for GNU $ac_path_SED ++case `"$ac_path_SED" --version 2>&1` in ++*GNU*) ++ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo '' >> "conftest.nl" ++ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_SED_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_SED="$ac_path_SED" ++ ac_path_SED_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_SED_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_SED"; then ++ as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_SED=$SED ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 ++$as_echo "$ac_cv_path_SED" >&6; } ++ SED="$ac_cv_path_SED" ++ rm -f conftest.sed ++ ++test -z "$SED" && SED=sed ++Xsed="$SED -e 1s/^X//" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 ++$as_echo_n "checking for fgrep... " >&6; } ++if test "${ac_cv_path_FGREP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 ++ then ac_cv_path_FGREP="$GREP -F" ++ else ++ if test -z "$FGREP"; then ++ ac_path_FGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in fgrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" ++ { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue ++# Check for GNU ac_path_FGREP and select it if it is found. ++ # Check for GNU $ac_path_FGREP ++case `"$ac_path_FGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'FGREP' >> "conftest.nl" ++ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_FGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_FGREP="$ac_path_FGREP" ++ ac_path_FGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_FGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_FGREP"; then ++ as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_FGREP=$FGREP ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 ++$as_echo "$ac_cv_path_FGREP" >&6; } ++ FGREP="$ac_cv_path_FGREP" ++ ++ ++test -z "$GREP" && GREP=grep ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --with-gnu-ld was given. ++if test "${with_gnu_ld+set}" = set; then : ++ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes ++else ++ with_gnu_ld=no ++fi ++ ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 ++$as_echo_n "checking for ld used by $CC... " >&6; } ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [\\/]* | ?:[\\/]*) ++ re_direlt='/[^/][^/]*/\.\./' ++ # Canonicalize the pathname of ld ++ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` ++ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++$as_echo_n "checking for GNU ld... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++$as_echo_n "checking for non-GNU ld... " >&6; } ++fi ++if test "${lt_cv_path_LD+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$LD"; then ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ lt_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some variants of GNU ld only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$lt_cv_path_LD" -v 2>&1 &5 ++$as_echo "$LD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ++if test "${lt_cv_prog_gnu_ld+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # I'd rather use --version here, but apparently some GNU lds only accept -v. ++case `$LD -v 2>&1 &5 ++$as_echo "$lt_cv_prog_gnu_ld" >&6; } ++with_gnu_ld=$lt_cv_prog_gnu_ld ++ ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 ++$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } ++if test "${lt_cv_path_NM+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$NM"; then ++ # Let the user override the test. ++ lt_cv_path_NM="$NM" ++else ++ lt_nm_to_check="${ac_tool_prefix}nm" ++ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then ++ lt_nm_to_check="$lt_nm_to_check nm" ++ fi ++ for lt_tmp_nm in $lt_nm_to_check; do ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ tmp_nm="$ac_dir/$lt_tmp_nm" ++ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then ++ # Check to see if the nm accepts a BSD-compat flag. ++ # Adding the `sed 1q' prevents false positives on HP-UX, which says: ++ # nm: unknown option "B" ignored ++ # Tru64's nm complains that /dev/null is an invalid object file ++ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in ++ */dev/null* | *'Invalid file or object type'*) ++ lt_cv_path_NM="$tmp_nm -B" ++ break ++ ;; ++ *) ++ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in ++ */dev/null*) ++ lt_cv_path_NM="$tmp_nm -p" ++ break ++ ;; ++ *) ++ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but ++ continue # so that we can try to find one that supports BSD flags ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ done ++ IFS="$lt_save_ifs" ++ done ++ : ${lt_cv_path_NM=no} ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 ++$as_echo "$lt_cv_path_NM" >&6; } ++if test "$lt_cv_path_NM" != "no"; then ++ NM="$lt_cv_path_NM" ++else ++ # Didn't find any BSD compatible name lister, look for dumpbin. ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in "dumpbin -symbols" "link -dump -symbols" ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; 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_prog_DUMPBIN+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$DUMPBIN"; then ++ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_DUMPBIN="$ac_tool_prefix$ac_prog" ++ $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 ++ ++fi ++fi ++DUMPBIN=$ac_cv_prog_DUMPBIN ++if test -n "$DUMPBIN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 ++$as_echo "$DUMPBIN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$DUMPBIN" && break ++ done ++fi ++if test -z "$DUMPBIN"; then ++ ac_ct_DUMPBIN=$DUMPBIN ++ for ac_prog in "dumpbin -symbols" "link -dump -symbols" ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; 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_prog_ac_ct_DUMPBIN+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_DUMPBIN"; then ++ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_DUMPBIN="$ac_prog" ++ $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 ++ ++fi ++fi ++ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN ++if test -n "$ac_ct_DUMPBIN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 ++$as_echo "$ac_ct_DUMPBIN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_DUMPBIN" && break ++done ++ ++ if test "x$ac_ct_DUMPBIN" = x; then ++ DUMPBIN=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ DUMPBIN=$ac_ct_DUMPBIN ++ fi ++fi ++ ++ ++ if test "$DUMPBIN" != ":"; then ++ NM="$DUMPBIN" ++ fi ++fi ++test -z "$NM" && NM=nm ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 ++$as_echo_n "checking the name lister ($NM) interface... " >&6; } ++if test "${lt_cv_nm_interface+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_nm_interface="BSD nm" ++ echo "int some_variable = 0;" > conftest.$ac_ext ++ (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5) ++ (eval "$ac_compile" 2>conftest.err) ++ cat conftest.err >&5 ++ (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5) ++ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) ++ cat conftest.err >&5 ++ (eval echo "\"\$as_me:__oline__: output\"" >&5) ++ cat conftest.out >&5 ++ if $GREP 'External.*some_variable' conftest.out > /dev/null; then ++ lt_cv_nm_interface="MS dumpbin" ++ fi ++ rm -f conftest* ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 ++$as_echo "$lt_cv_nm_interface" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 ++$as_echo_n "checking whether ln -s works... " >&6; } ++LN_S=$as_ln_s ++if test "$LN_S" = "ln -s"; 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, using $LN_S" >&5 ++$as_echo "no, using $LN_S" >&6; } ++fi ++ ++# find the maximum length of command line arguments ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 ++$as_echo_n "checking the maximum length of command line arguments... " >&6; } ++if test "${lt_cv_sys_max_cmd_len+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ i=0 ++ teststring="ABCD" ++ ++ case $build_os in ++ msdosdjgpp*) ++ # On DJGPP, this test can blow up pretty badly due to problems in libc ++ # (any single argument exceeding 2000 bytes causes a buffer overrun ++ # during glob expansion). Even if it were fixed, the result of this ++ # check would be larger than it should be. ++ lt_cv_sys_max_cmd_len=12288; # 12K is about right ++ ;; ++ ++ gnu*) ++ # Under GNU Hurd, this test is not required because there is ++ # no limit to the length of command line arguments. ++ # Libtool will interpret -1 as no limit whatsoever ++ lt_cv_sys_max_cmd_len=-1; ++ ;; ++ ++ cygwin* | mingw* | cegcc*) ++ # On Win9x/ME, this test blows up -- it succeeds, but takes ++ # about 5 minutes as the teststring grows exponentially. ++ # Worse, since 9x/ME are not pre-emptively multitasking, ++ # you end up with a "frozen" computer, even though with patience ++ # the test eventually succeeds (with a max line length of 256k). ++ # Instead, let's just punt: use the minimum linelength reported by ++ # all of the supported platforms: 8192 (on NT/2K/XP). ++ lt_cv_sys_max_cmd_len=8192; ++ ;; ++ ++ amigaos*) ++ # On AmigaOS with pdksh, this test takes hours, literally. ++ # So we just punt and use a minimum line length of 8192. ++ lt_cv_sys_max_cmd_len=8192; ++ ;; ++ ++ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) ++ # This has been around since 386BSD, at least. Likely further. ++ if test -x /sbin/sysctl; then ++ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` ++ elif test -x /usr/sbin/sysctl; then ++ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` ++ else ++ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs ++ fi ++ # And add a safety zone ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ++ ;; ++ ++ interix*) ++ # We know the value 262144 and hardcode it with a safety zone (like BSD) ++ lt_cv_sys_max_cmd_len=196608 ++ ;; ++ ++ osf*) ++ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure ++ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not ++ # nice to cause kernel panics so lets avoid the loop below. ++ # First set a reasonable default. ++ lt_cv_sys_max_cmd_len=16384 ++ # ++ if test -x /sbin/sysconfig; then ++ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in ++ *1*) lt_cv_sys_max_cmd_len=-1 ;; ++ esac ++ fi ++ ;; ++ sco3.2v5*) ++ lt_cv_sys_max_cmd_len=102400 ++ ;; ++ sysv5* | sco5v6* | sysv4.2uw2*) ++ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` ++ if test -n "$kargmax"; then ++ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` ++ else ++ lt_cv_sys_max_cmd_len=32768 ++ fi ++ ;; ++ *) ++ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` ++ if test -n "$lt_cv_sys_max_cmd_len"; then ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ++ else ++ # Make teststring a little bigger before we do anything with it. ++ # a 1K string should be a reasonable start. ++ for i in 1 2 3 4 5 6 7 8 ; do ++ teststring=$teststring$teststring ++ done ++ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} ++ # If test is not a shell built-in, we'll probably end up computing a ++ # maximum length that is only half of the actual maximum length, but ++ # we can't tell. ++ while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ ++ = "XX$teststring$teststring"; } >/dev/null 2>&1 && ++ test $i != 17 # 1/2 MB should be enough ++ do ++ i=`expr $i + 1` ++ teststring=$teststring$teststring ++ done ++ # Only check the string length outside the loop. ++ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` ++ teststring= ++ # Add a significant safety factor because C++ compilers can tack on ++ # massive amounts of additional arguments before passing them to the ++ # linker. It appears as though 1/2 is a usable value. ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ++ fi ++ ;; ++ esac ++ ++fi ++ ++if test -n $lt_cv_sys_max_cmd_len ; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 ++$as_echo "$lt_cv_sys_max_cmd_len" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 ++$as_echo "none" >&6; } ++fi ++max_cmd_len=$lt_cv_sys_max_cmd_len ++ ++ ++ ++ ++ ++ ++: ${CP="cp -f"} ++: ${MV="mv -f"} ++: ${RM="rm -f"} ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 ++$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } ++# Try some XSI features ++xsi_shell=no ++( _lt_dummy="a/b/c" ++ test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ ++ = c,a/b,, \ ++ && eval 'test $(( 1 + 1 )) -eq 2 \ ++ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ ++ && xsi_shell=yes ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 ++$as_echo "$xsi_shell" >&6; } ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 ++$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } ++lt_shell_append=no ++( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ ++ >/dev/null 2>&1 \ ++ && lt_shell_append=yes ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 ++$as_echo "$lt_shell_append" >&6; } ++ ++ ++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ++ lt_unset=unset ++else ++ lt_unset=false ++fi ++ ++ ++ ++ ++ ++# test EBCDIC or ASCII ++case `echo X|tr X '\101'` in ++ A) # ASCII based system ++ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr ++ lt_SP2NL='tr \040 \012' ++ lt_NL2SP='tr \015\012 \040\040' ++ ;; ++ *) # EBCDIC based system ++ lt_SP2NL='tr \100 \n' ++ lt_NL2SP='tr \r\n \100\100' ++ ;; ++esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 ++$as_echo_n "checking for $LD option to reload object files... " >&6; } ++if test "${lt_cv_ld_reload_flag+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_ld_reload_flag='-r' ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 ++$as_echo "$lt_cv_ld_reload_flag" >&6; } ++reload_flag=$lt_cv_ld_reload_flag ++case $reload_flag in ++"" | " "*) ;; ++*) reload_flag=" $reload_flag" ;; ++esac ++reload_cmds='$LD$reload_flag -o $output$reload_objs' ++case $host_os in ++ darwin*) ++ if test "$GCC" = yes; then ++ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' ++ else ++ reload_cmds='$LD$reload_flag -o $output$reload_objs' ++ fi ++ ;; ++esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. ++set dummy ${ac_tool_prefix}objdump; 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_prog_OBJDUMP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$OBJDUMP"; then ++ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_OBJDUMP="${ac_tool_prefix}objdump" ++ $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 ++ ++fi ++fi ++OBJDUMP=$ac_cv_prog_OBJDUMP ++if test -n "$OBJDUMP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 ++$as_echo "$OBJDUMP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_OBJDUMP"; then ++ ac_ct_OBJDUMP=$OBJDUMP ++ # Extract the first word of "objdump", so it can be a program name with args. ++set dummy objdump; 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_prog_ac_ct_OBJDUMP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_OBJDUMP"; then ++ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_OBJDUMP="objdump" ++ $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 ++ ++fi ++fi ++ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP ++if test -n "$ac_ct_OBJDUMP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 ++$as_echo "$ac_ct_OBJDUMP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_OBJDUMP" = x; then ++ OBJDUMP="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ OBJDUMP=$ac_ct_OBJDUMP ++ fi ++else ++ OBJDUMP="$ac_cv_prog_OBJDUMP" ++fi ++ ++test -z "$OBJDUMP" && OBJDUMP=objdump ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 ++$as_echo_n "checking how to recognize dependent libraries... " >&6; } ++if test "${lt_cv_deplibs_check_method+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_file_magic_cmd='$MAGIC_CMD' ++lt_cv_file_magic_test_file= ++lt_cv_deplibs_check_method='unknown' ++# Need to set the preceding variable on all platforms that support ++# interlibrary dependencies. ++# 'none' -- dependencies not supported. ++# `unknown' -- same as none, but documents that we really don't know. ++# 'pass_all' -- all dependencies passed with no checks. ++# 'test_compile' -- check by making test program. ++# 'file_magic [[regex]]' -- check by looking for files in library path ++# which responds to the $file_magic_cmd with a given extended regex. ++# If you have `file' or equivalent on your system and you're not sure ++# whether `pass_all' will *always* work, you probably want this one. ++ ++case $host_os in ++aix[4-9]*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++beos*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++bsdi[45]*) ++ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' ++ lt_cv_file_magic_cmd='/usr/bin/file -L' ++ lt_cv_file_magic_test_file=/shlib/libc.so ++ ;; ++ ++cygwin*) ++ # func_win32_libid is a shell function defined in ltmain.sh ++ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' ++ lt_cv_file_magic_cmd='func_win32_libid' ++ ;; ++ ++mingw* | pw32*) ++ # Base MSYS/MinGW do not provide the 'file' command needed by ++ # func_win32_libid shell function, so use a weaker test based on 'objdump', ++ # unless we find 'file', for example because we are cross-compiling. ++ if ( file / ) >/dev/null 2>&1; then ++ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' ++ lt_cv_file_magic_cmd='func_win32_libid' ++ else ++ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' ++ lt_cv_file_magic_cmd='$OBJDUMP -f' ++ fi ++ ;; ++ ++cegcc) ++ # use the weaker test based on 'objdump'. See mingw*. ++ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' ++ lt_cv_file_magic_cmd='$OBJDUMP -f' ++ ;; ++ ++darwin* | rhapsody*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++freebsd* | dragonfly*) ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then ++ case $host_cpu in ++ i*86 ) ++ # Not sure whether the presence of OpenBSD here was a mistake. ++ # Let's accept both of them until this is cleared up. ++ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' ++ lt_cv_file_magic_cmd=/usr/bin/file ++ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ++ ;; ++ esac ++ else ++ lt_cv_deplibs_check_method=pass_all ++ fi ++ ;; ++ ++gnu*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++hpux10.20* | hpux11*) ++ lt_cv_file_magic_cmd=/usr/bin/file ++ case $host_cpu in ++ ia64*) ++ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' ++ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ++ ;; ++ hppa*64*) ++ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' ++ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ++ ;; ++ *) ++ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' ++ lt_cv_file_magic_test_file=/usr/lib/libc.sl ++ ;; ++ esac ++ ;; ++ ++interix[3-9]*) ++ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ++ ;; ++ ++irix5* | irix6* | nonstopux*) ++ case $LD in ++ *-32|*"-32 ") libmagic=32-bit;; ++ *-n32|*"-n32 ") libmagic=N32;; ++ *-64|*"-64 ") libmagic=64-bit;; ++ *) libmagic=never-match;; ++ esac ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++# This must be Linux ELF. ++linux* | k*bsd*-gnu) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++netbsd*) ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' ++ else ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' ++ fi ++ ;; ++ ++newos6*) ++ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' ++ lt_cv_file_magic_cmd=/usr/bin/file ++ lt_cv_file_magic_test_file=/usr/lib/libnls.so ++ ;; ++ ++*nto* | *qnx*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++openbsd*) ++ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' ++ else ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' ++ fi ++ ;; ++ ++osf3* | osf4* | osf5*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++rdos*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++solaris*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++sysv4 | sysv4.3*) ++ case $host_vendor in ++ motorola) ++ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' ++ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ++ ;; ++ ncr) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ sequent) ++ lt_cv_file_magic_cmd='/bin/file' ++ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ++ ;; ++ sni) ++ lt_cv_file_magic_cmd='/bin/file' ++ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" ++ lt_cv_file_magic_test_file=/lib/libc.so ++ ;; ++ siemens) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ pc) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ esac ++ ;; ++ ++tpf*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++esac ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 ++$as_echo "$lt_cv_deplibs_check_method" >&6; } ++file_magic_cmd=$lt_cv_file_magic_cmd ++deplibs_check_method=$lt_cv_deplibs_check_method ++test -z "$deplibs_check_method" && deplibs_check_method=unknown ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. ++set dummy ${ac_tool_prefix}ar; 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_prog_AR+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$AR"; then ++ ac_cv_prog_AR="$AR" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_AR="${ac_tool_prefix}ar" ++ $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 ++ ++fi ++fi ++AR=$ac_cv_prog_AR ++if test -n "$AR"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 ++$as_echo "$AR" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_AR"; then ++ ac_ct_AR=$AR ++ # Extract the first word of "ar", so it can be a program name with args. ++set dummy ar; 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_prog_ac_ct_AR+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_AR"; then ++ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_AR="ar" ++ $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 ++ ++fi ++fi ++ac_ct_AR=$ac_cv_prog_ac_ct_AR ++if test -n "$ac_ct_AR"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 ++$as_echo "$ac_ct_AR" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_AR" = x; then ++ AR="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ AR=$ac_ct_AR ++ fi ++else ++ AR="$ac_cv_prog_AR" ++fi ++ ++test -z "$AR" && AR=ar ++test -z "$AR_FLAGS" && AR_FLAGS=cru ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. ++set dummy ${ac_tool_prefix}strip; 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_prog_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$STRIP"; then ++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_STRIP="${ac_tool_prefix}strip" ++ $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 ++ ++fi ++fi ++STRIP=$ac_cv_prog_STRIP ++if test -n "$STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++$as_echo "$STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_STRIP"; then ++ ac_ct_STRIP=$STRIP ++ # Extract the first word of "strip", so it can be a program name with args. ++set dummy strip; 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_prog_ac_ct_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_STRIP"; then ++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_STRIP="strip" ++ $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 ++ ++fi ++fi ++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP ++if test -n "$ac_ct_STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++$as_echo "$ac_ct_STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_STRIP" = x; then ++ STRIP=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ STRIP=$ac_ct_STRIP ++ fi ++else ++ STRIP="$ac_cv_prog_STRIP" ++fi ++ ++test -z "$STRIP" && STRIP=: ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. ++set dummy ${ac_tool_prefix}ranlib; 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_prog_RANLIB+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$RANLIB"; then ++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_RANLIB="${ac_tool_prefix}ranlib" ++ $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 ++ ++fi ++fi ++RANLIB=$ac_cv_prog_RANLIB ++if test -n "$RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 ++$as_echo "$RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_RANLIB"; then ++ ac_ct_RANLIB=$RANLIB ++ # Extract the first word of "ranlib", so it can be a program name with args. ++set dummy ranlib; 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_prog_ac_ct_RANLIB+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_RANLIB"; then ++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_RANLIB="ranlib" ++ $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 ++ ++fi ++fi ++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB ++if test -n "$ac_ct_RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 ++$as_echo "$ac_ct_RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_RANLIB" = x; then ++ RANLIB=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ RANLIB=$ac_ct_RANLIB ++ fi ++else ++ RANLIB="$ac_cv_prog_RANLIB" ++fi ++ ++test -z "$RANLIB" && RANLIB=: ++ ++ ++ ++ ++ ++ ++# Determine commands to create old-style static archives. ++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' ++old_postinstall_cmds='chmod 644 $oldlib' ++old_postuninstall_cmds= ++ ++if test -n "$RANLIB"; then ++ case $host_os in ++ openbsd*) ++ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ++ ;; ++ *) ++ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ++ ;; ++ esac ++ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# If no C compiler was specified, use CC. ++LTCC=${LTCC-"$CC"} ++ ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ ++# Allow CC to be a program name with arguments. ++compiler=$CC ++ ++ ++# Check for command to grab the raw symbol name followed by C symbol from nm. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 ++$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } ++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++# These are sane defaults that work on at least a few old systems. ++# [They come from Ultrix. What could be older than Ultrix?!! ;)] ++ ++# Character class describing NM global symbol codes. ++symcode='[BCDEGRST]' ++ ++# Regexp to match symbols that can be accessed directly from C. ++sympat='\([_A-Za-z][_A-Za-z0-9]*\)' ++ ++# Define system-specific variables. ++case $host_os in ++aix*) ++ symcode='[BCDT]' ++ ;; ++cygwin* | mingw* | pw32* | cegcc*) ++ symcode='[ABCDGISTW]' ++ ;; ++hpux*) ++ if test "$host_cpu" = ia64; then ++ symcode='[ABCDEGRST]' ++ fi ++ ;; ++irix* | nonstopux*) ++ symcode='[BCDEGRST]' ++ ;; ++osf*) ++ symcode='[BCDEGQRST]' ++ ;; ++solaris*) ++ symcode='[BDRT]' ++ ;; ++sco3.2v5*) ++ symcode='[DT]' ++ ;; ++sysv4.2uw2*) ++ symcode='[DT]' ++ ;; ++sysv5* | sco5v6* | unixware* | OpenUNIX*) ++ symcode='[ABDT]' ++ ;; ++sysv4) ++ symcode='[DFNSTU]' ++ ;; ++esac ++ ++# If we're using GNU nm, then use its standard symbol codes. ++case `$NM -V 2>&1` in ++*GNU* | *'with BFD'*) ++ symcode='[ABCDGIRSTW]' ;; ++esac ++ ++# Transform an extracted symbol line into a proper C declaration. ++# Some systems (esp. on ia64) link data and code symbols differently, ++# so use this general approach. ++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" ++ ++# Transform an extracted symbol line into symbol name and symbol address ++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" ++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" ++ ++# Handle CRLF in mingw tool chain ++opt_cr= ++case $build_os in ++mingw*) ++ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ++ ;; ++esac ++ ++# Try without a prefix underscore, then with it. ++for ac_symprfx in "" "_"; do ++ ++ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. ++ symxfrm="\\1 $ac_symprfx\\2 \\2" ++ ++ # Write the raw and C identifiers. ++ if test "$lt_cv_nm_interface" = "MS dumpbin"; then ++ # Fake it for dumpbin and say T for any non-static function ++ # and D for any global variable. ++ # Also find C++ and __fastcall symbols from MSVC++, ++ # which start with @ or ?. ++ lt_cv_sys_global_symbol_pipe="$AWK '"\ ++" {last_section=section; section=\$ 3};"\ ++" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ ++" \$ 0!~/External *\|/{next};"\ ++" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ ++" {if(hide[section]) next};"\ ++" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ ++" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ ++" s[1]~/^[@?]/{print s[1], s[1]; next};"\ ++" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ ++" ' prfx=^$ac_symprfx" ++ else ++ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" ++ fi ++ ++ # Check to see that the pipe works correctly. ++ pipe_works=no ++ ++ rm -f conftest* ++ cat > conftest.$ac_ext <<_LT_EOF ++#ifdef __cplusplus ++extern "C" { ++#endif ++char nm_test_var; ++void nm_test_func(void); ++void nm_test_func(void){} ++#ifdef __cplusplus ++} ++#endif ++int main(){nm_test_var='a';nm_test_func();return(0);} ++_LT_EOF ++ ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ # Now try to grab the symbols. ++ nlist=conftest.nm ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 ++ (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s "$nlist"; then ++ # Try sorting and uniquifying the output. ++ if sort "$nlist" | uniq > "$nlist"T; then ++ mv -f "$nlist"T "$nlist" ++ else ++ rm -f "$nlist"T ++ fi ++ ++ # Make sure that we snagged all the symbols we need. ++ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then ++ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then ++ cat <<_LT_EOF > conftest.$ac_ext ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++_LT_EOF ++ # Now generate the symbol file. ++ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' ++ ++ cat <<_LT_EOF >> conftest.$ac_ext ++ ++/* The mapping between symbol names and symbols. */ ++const struct { ++ const char *name; ++ void *address; ++} ++lt__PROGRAM__LTX_preloaded_symbols[] = ++{ ++ { "@PROGRAM@", (void *) 0 }, ++_LT_EOF ++ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext ++ cat <<\_LT_EOF >> conftest.$ac_ext ++ {0, (void *) 0} ++}; ++ ++/* This works around a problem in FreeBSD linker */ ++#ifdef FREEBSD_WORKAROUND ++static const void *lt_preloaded_setup() { ++ return lt__PROGRAM__LTX_preloaded_symbols; ++} ++#endif ++ ++#ifdef __cplusplus ++} ++#endif ++_LT_EOF ++ # Now try linking the two files. ++ mv conftest.$ac_objext conftstm.$ac_objext ++ lt_save_LIBS="$LIBS" ++ lt_save_CFLAGS="$CFLAGS" ++ LIBS="conftstm.$ac_objext" ++ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext}; then ++ pipe_works=yes ++ fi ++ LIBS="$lt_save_LIBS" ++ CFLAGS="$lt_save_CFLAGS" ++ else ++ echo "cannot find nm_test_func in $nlist" >&5 ++ fi ++ else ++ echo "cannot find nm_test_var in $nlist" >&5 ++ fi ++ else ++ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 ++ fi ++ else ++ echo "$progname: failed program was:" >&5 ++ cat conftest.$ac_ext >&5 ++ fi ++ rm -rf conftest* conftst* ++ ++ # Do not use the global_symbol_pipe unless it works. ++ if test "$pipe_works" = yes; then ++ break ++ else ++ lt_cv_sys_global_symbol_pipe= ++ fi ++done ++ ++fi ++ ++if test -z "$lt_cv_sys_global_symbol_pipe"; then ++ lt_cv_sys_global_symbol_to_cdecl= ++fi ++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 ++$as_echo "failed" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 ++$as_echo "ok" >&6; } ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --enable-libtool-lock was given. ++if test "${enable_libtool_lock+set}" = set; then : ++ enableval=$enable_libtool_lock; ++fi ++ ++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes ++ ++# Some flags need to be propagated to the compiler or linker for good ++# libtool support. ++case $host in ++ia64-*-hpux*) ++ # Find out which ABI we are using. ++ echo 'int i;' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ case `/usr/bin/file conftest.$ac_objext` in ++ *ELF-32*) ++ HPUX_IA64_MODE="32" ++ ;; ++ *ELF-64*) ++ HPUX_IA64_MODE="64" ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++*-*-irix6*) ++ # Find out which ABI we are using. ++ echo '#line __oline__ "configure"' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ if test "$lt_cv_prog_gnu_ld" = yes; then ++ case `/usr/bin/file conftest.$ac_objext` in ++ *32-bit*) ++ LD="${LD-ld} -melf32bsmip" ++ ;; ++ *N32*) ++ LD="${LD-ld} -melf32bmipn32" ++ ;; ++ *64-bit*) ++ LD="${LD-ld} -melf64bmip" ++ ;; ++ esac ++ else ++ case `/usr/bin/file conftest.$ac_objext` in ++ *32-bit*) ++ LD="${LD-ld} -32" ++ ;; ++ *N32*) ++ LD="${LD-ld} -n32" ++ ;; ++ *64-bit*) ++ LD="${LD-ld} -64" ++ ;; ++ esac ++ fi ++ fi ++ rm -rf conftest* ++ ;; ++ ++x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ ++s390*-*linux*|s390*-*tpf*|sparc*-*linux*) ++ # Find out which ABI we are using. ++ echo 'int i;' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ case `/usr/bin/file conftest.o` in ++ *32-bit*) ++ case $host in ++ x86_64-*kfreebsd*-gnu) ++ LD="${LD-ld} -m elf_i386_fbsd" ++ ;; ++ x86_64-*linux*) ++ LD="${LD-ld} -m elf_i386" ++ ;; ++ ppc64-*linux*|powerpc64-*linux*) ++ LD="${LD-ld} -m elf32ppclinux" ++ ;; ++ s390x-*linux*) ++ LD="${LD-ld} -m elf_s390" ++ ;; ++ sparc64-*linux*) ++ LD="${LD-ld} -m elf32_sparc" ++ ;; ++ esac ++ ;; ++ *64-bit*) ++ case $host in ++ x86_64-*kfreebsd*-gnu) ++ LD="${LD-ld} -m elf_x86_64_fbsd" ++ ;; ++ x86_64-*linux*) ++ LD="${LD-ld} -m elf_x86_64" ++ ;; ++ ppc*-*linux*|powerpc*-*linux*) ++ LD="${LD-ld} -m elf64ppc" ++ ;; ++ s390*-*linux*|s390*-*tpf*) ++ LD="${LD-ld} -m elf64_s390" ++ ;; ++ sparc*-*linux*) ++ LD="${LD-ld} -m elf64_sparc" ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++ ++*-*-sco3.2v5*) ++ # On SCO OpenServer 5, we need -belf to get full-featured binaries. ++ SAVE_CFLAGS="$CFLAGS" ++ CFLAGS="$CFLAGS -belf" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 ++$as_echo_n "checking whether the C compiler needs -belf... " >&6; } ++if test "${lt_cv_cc_needs_belf+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ lt_cv_cc_needs_belf=yes ++else ++ lt_cv_cc_needs_belf=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 ++$as_echo "$lt_cv_cc_needs_belf" >&6; } ++ if test x"$lt_cv_cc_needs_belf" != x"yes"; then ++ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf ++ CFLAGS="$SAVE_CFLAGS" ++ fi ++ ;; ++sparc*-*solaris*) ++ # Find out which ABI we are using. ++ echo 'int i;' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ case `/usr/bin/file conftest.o` in ++ *64-bit*) ++ case $lt_cv_prog_gnu_ld in ++ yes*) LD="${LD-ld} -m elf64_sparc" ;; ++ *) ++ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then ++ LD="${LD-ld} -64" ++ fi ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++esac ++ ++need_locks="$enable_libtool_lock" ++ ++ ++ case $host_os in ++ rhapsody* | darwin*) ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. ++set dummy ${ac_tool_prefix}dsymutil; 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_prog_DSYMUTIL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$DSYMUTIL"; then ++ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" ++ $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 ++ ++fi ++fi ++DSYMUTIL=$ac_cv_prog_DSYMUTIL ++if test -n "$DSYMUTIL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 ++$as_echo "$DSYMUTIL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_DSYMUTIL"; then ++ ac_ct_DSYMUTIL=$DSYMUTIL ++ # Extract the first word of "dsymutil", so it can be a program name with args. ++set dummy dsymutil; 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_prog_ac_ct_DSYMUTIL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_DSYMUTIL"; then ++ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_DSYMUTIL="dsymutil" ++ $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 ++ ++fi ++fi ++ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL ++if test -n "$ac_ct_DSYMUTIL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 ++$as_echo "$ac_ct_DSYMUTIL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_DSYMUTIL" = x; then ++ DSYMUTIL=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ DSYMUTIL=$ac_ct_DSYMUTIL ++ fi ++else ++ DSYMUTIL="$ac_cv_prog_DSYMUTIL" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. ++set dummy ${ac_tool_prefix}nmedit; 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_prog_NMEDIT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$NMEDIT"; then ++ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_NMEDIT="${ac_tool_prefix}nmedit" ++ $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 ++ ++fi ++fi ++NMEDIT=$ac_cv_prog_NMEDIT ++if test -n "$NMEDIT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 ++$as_echo "$NMEDIT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_NMEDIT"; then ++ ac_ct_NMEDIT=$NMEDIT ++ # Extract the first word of "nmedit", so it can be a program name with args. ++set dummy nmedit; 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_prog_ac_ct_NMEDIT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_NMEDIT"; then ++ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_NMEDIT="nmedit" ++ $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 ++ ++fi ++fi ++ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT ++if test -n "$ac_ct_NMEDIT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 ++$as_echo "$ac_ct_NMEDIT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_NMEDIT" = x; then ++ NMEDIT=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ NMEDIT=$ac_ct_NMEDIT ++ fi ++else ++ NMEDIT="$ac_cv_prog_NMEDIT" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. ++set dummy ${ac_tool_prefix}lipo; 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_prog_LIPO+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$LIPO"; then ++ ac_cv_prog_LIPO="$LIPO" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_LIPO="${ac_tool_prefix}lipo" ++ $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 ++ ++fi ++fi ++LIPO=$ac_cv_prog_LIPO ++if test -n "$LIPO"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 ++$as_echo "$LIPO" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_LIPO"; then ++ ac_ct_LIPO=$LIPO ++ # Extract the first word of "lipo", so it can be a program name with args. ++set dummy lipo; 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_prog_ac_ct_LIPO+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_LIPO"; then ++ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_LIPO="lipo" ++ $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 ++ ++fi ++fi ++ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO ++if test -n "$ac_ct_LIPO"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 ++$as_echo "$ac_ct_LIPO" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_LIPO" = x; then ++ LIPO=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ LIPO=$ac_ct_LIPO ++ fi ++else ++ LIPO="$ac_cv_prog_LIPO" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. ++set dummy ${ac_tool_prefix}otool; 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_prog_OTOOL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$OTOOL"; then ++ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_OTOOL="${ac_tool_prefix}otool" ++ $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 ++ ++fi ++fi ++OTOOL=$ac_cv_prog_OTOOL ++if test -n "$OTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 ++$as_echo "$OTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_OTOOL"; then ++ ac_ct_OTOOL=$OTOOL ++ # Extract the first word of "otool", so it can be a program name with args. ++set dummy otool; 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_prog_ac_ct_OTOOL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_OTOOL"; then ++ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_OTOOL="otool" ++ $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 ++ ++fi ++fi ++ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL ++if test -n "$ac_ct_OTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 ++$as_echo "$ac_ct_OTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_OTOOL" = x; then ++ OTOOL=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ OTOOL=$ac_ct_OTOOL ++ fi ++else ++ OTOOL="$ac_cv_prog_OTOOL" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. ++set dummy ${ac_tool_prefix}otool64; 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_prog_OTOOL64+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$OTOOL64"; then ++ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_OTOOL64="${ac_tool_prefix}otool64" ++ $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 ++ ++fi ++fi ++OTOOL64=$ac_cv_prog_OTOOL64 ++if test -n "$OTOOL64"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 ++$as_echo "$OTOOL64" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_OTOOL64"; then ++ ac_ct_OTOOL64=$OTOOL64 ++ # Extract the first word of "otool64", so it can be a program name with args. ++set dummy otool64; 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_prog_ac_ct_OTOOL64+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_OTOOL64"; then ++ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_OTOOL64="otool64" ++ $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 ++ ++fi ++fi ++ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 ++if test -n "$ac_ct_OTOOL64"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 ++$as_echo "$ac_ct_OTOOL64" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_OTOOL64" = x; then ++ OTOOL64=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ OTOOL64=$ac_ct_OTOOL64 ++ fi ++else ++ OTOOL64="$ac_cv_prog_OTOOL64" ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 ++$as_echo_n "checking for -single_module linker flag... " >&6; } ++if test "${lt_cv_apple_cc_single_mod+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_apple_cc_single_mod=no ++ if test -z "${LT_MULTI_MODULE}"; then ++ # By default we will add the -single_module flag. You can override ++ # by either setting the environment variable LT_MULTI_MODULE ++ # non-empty at configure time, or by adding -multi_module to the ++ # link flags. ++ rm -rf libconftest.dylib* ++ echo "int foo(void){return 1;}" > conftest.c ++ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ ++-dynamiclib -Wl,-single_module conftest.c" >&5 ++ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ ++ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err ++ _lt_result=$? ++ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then ++ lt_cv_apple_cc_single_mod=yes ++ else ++ cat conftest.err >&5 ++ fi ++ rm -rf libconftest.dylib* ++ rm -f conftest.* ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 ++$as_echo "$lt_cv_apple_cc_single_mod" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 ++$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } ++if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_ld_exported_symbols_list=no ++ save_LDFLAGS=$LDFLAGS ++ echo "_main" > conftest.sym ++ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ lt_cv_ld_exported_symbols_list=yes ++else ++ lt_cv_ld_exported_symbols_list=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 ++$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } ++ case $host_os in ++ rhapsody* | darwin1.[012]) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ++ darwin1.*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ darwin*) # darwin 5.x on ++ # if running on 10.5 or later, the deployment target defaults ++ # to the OS version, if on x86, and 10.4, the deployment ++ # target defaults to 10.4. Don't you love it? ++ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in ++ 10.0,*86*-darwin8*|10.0,*-darwin[91]*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ 10.[012]*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ 10.*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ esac ++ ;; ++ esac ++ if test "$lt_cv_apple_cc_single_mod" = "yes"; then ++ _lt_dar_single_mod='$single_module' ++ fi ++ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then ++ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' ++ else ++ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ fi ++ if test "$DSYMUTIL" != ":"; then ++ _lt_dsymutil='~$DSYMUTIL $lib || :' ++ else ++ _lt_dsymutil= ++ fi ++ ;; ++ esac ++ ++for ac_header in dlfcn.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default ++" ++if test "x$ac_cv_header_dlfcn_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DLFCN_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++# Set options ++ ++ ++ ++ enable_dlopen=no ++ ++ ++ ++ @%:@ Check whether --enable-shared was given. ++if test "${enable_shared+set}" = set; then : ++ enableval=$enable_shared; p=${PACKAGE-default} ++ case $enableval in ++ yes) enable_shared=yes ;; ++ no) enable_shared=no ;; ++ *) ++ enable_shared=no ++ # Look at the argument we got. We use all the common list separators. ++ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," ++ for pkg in $enableval; do ++ IFS="$lt_save_ifs" ++ if test "X$pkg" = "X$p"; then ++ enable_shared=yes ++ fi ++ done ++ IFS="$lt_save_ifs" ++ ;; ++ esac ++else ++ enable_shared=yes ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ @%:@ Check whether --enable-static was given. ++if test "${enable_static+set}" = set; then : ++ enableval=$enable_static; p=${PACKAGE-default} ++ case $enableval in ++ yes) enable_static=yes ;; ++ no) enable_static=no ;; ++ *) ++ enable_static=no ++ # Look at the argument we got. We use all the common list separators. ++ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," ++ for pkg in $enableval; do ++ IFS="$lt_save_ifs" ++ if test "X$pkg" = "X$p"; then ++ enable_static=yes ++ fi ++ done ++ IFS="$lt_save_ifs" ++ ;; ++ esac ++else ++ enable_static=yes ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --with-pic was given. ++if test "${with_pic+set}" = set; then : ++ withval=$with_pic; pic_mode="$withval" ++else ++ pic_mode=default ++fi ++ ++ ++test -z "$pic_mode" && pic_mode=default ++ ++ ++ ++ ++ ++ ++ ++ @%:@ Check whether --enable-fast-install was given. ++if test "${enable_fast_install+set}" = set; then : ++ enableval=$enable_fast_install; p=${PACKAGE-default} ++ case $enableval in ++ yes) enable_fast_install=yes ;; ++ no) enable_fast_install=no ;; ++ *) ++ enable_fast_install=no ++ # Look at the argument we got. We use all the common list separators. ++ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," ++ for pkg in $enableval; do ++ IFS="$lt_save_ifs" ++ if test "X$pkg" = "X$p"; then ++ enable_fast_install=yes ++ fi ++ done ++ IFS="$lt_save_ifs" ++ ;; ++ esac ++else ++ enable_fast_install=yes ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# This can be used to rebuild libtool when needed ++LIBTOOL_DEPS="$ltmain" ++ ++# Always use our own libtool. ++LIBTOOL='$(SHELL) $(top_builddir)/libtool' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++test -z "$LN_S" && LN_S="ln -s" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test -n "${ZSH_VERSION+set}" ; then ++ setopt NO_GLOB_SUBST ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 ++$as_echo_n "checking for objdir... " >&6; } ++if test "${lt_cv_objdir+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -f .libs 2>/dev/null ++mkdir .libs 2>/dev/null ++if test -d .libs; then ++ lt_cv_objdir=.libs ++else ++ # MS-DOS does not allow filenames that begin with a dot. ++ lt_cv_objdir=_libs ++fi ++rmdir .libs 2>/dev/null ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 ++$as_echo "$lt_cv_objdir" >&6; } ++objdir=$lt_cv_objdir ++ ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LT_OBJDIR "$lt_cv_objdir/" ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++case $host_os in ++aix3*) ++ # AIX sometimes has problems with the GCC collect2 program. For some ++ # reason, if we set the COLLECT_NAMES environment variable, the problems ++ # vanish in a puff of smoke. ++ if test "X${COLLECT_NAMES+set}" != Xset; then ++ COLLECT_NAMES= ++ export COLLECT_NAMES ++ fi ++ ;; ++esac ++ ++# Sed substitution that helps us do robust quoting. It backslashifies ++# metacharacters that are still active within double-quoted strings. ++sed_quote_subst='s/\(["`$\\]\)/\\\1/g' ++ ++# Same as above, but do not quote variable references. ++double_quote_subst='s/\(["`\\]\)/\\\1/g' ++ ++# Sed substitution to delay expansion of an escaped shell variable in a ++# double_quote_subst'ed string. ++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' ++ ++# Sed substitution to delay expansion of an escaped single quote. ++delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' ++ ++# Sed substitution to avoid accidental globbing in evaled expressions ++no_glob_subst='s/\*/\\\*/g' ++ ++# Global variables: ++ofile=libtool ++can_build_shared=yes ++ ++# All known linkers require a `.a' archive for static linking (except MSVC, ++# which needs '.lib'). ++libext=a ++ ++with_gnu_ld="$lt_cv_prog_gnu_ld" ++ ++old_CC="$CC" ++old_CFLAGS="$CFLAGS" ++ ++# Set sane defaults for various variables ++test -z "$CC" && CC=cc ++test -z "$LTCC" && LTCC=$CC ++test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS ++test -z "$LD" && LD=ld ++test -z "$ac_objext" && ac_objext=o ++ ++for cc_temp in $compiler""; do ++ case $cc_temp in ++ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; ++ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; ++ \-*) ;; ++ *) break;; ++ esac ++done ++cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ++ ++ ++# Only perform the check for file, if the check method requires it ++test -z "$MAGIC_CMD" && MAGIC_CMD=file ++case $deplibs_check_method in ++file_magic*) ++ if test "$file_magic_cmd" = '$MAGIC_CMD'; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 ++$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } ++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MAGIC_CMD in ++[\\/*] | ?:[\\/]*) ++ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ++ ;; ++*) ++ lt_save_MAGIC_CMD="$MAGIC_CMD" ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" ++ for ac_dir in $ac_dummy; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ if test -f $ac_dir/${ac_tool_prefix}file; then ++ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" ++ if test -n "$file_magic_test_file"; then ++ case $deplibs_check_method in ++ "file_magic "*) ++ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` ++ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | ++ $EGREP "$file_magic_regex" > /dev/null; then ++ : ++ else ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: the command libtool uses to detect shared libraries, ++*** $file_magic_cmd, produces output that libtool cannot recognize. ++*** The result is that libtool may fail to recognize shared libraries ++*** as such. This will affect the creation of libtool libraries that ++*** depend on shared libraries, but programs linked with such libtool ++*** libraries will work regardless of this problem. Nevertheless, you ++*** may want to report the problem to your system manager and/or to ++*** bug-libtool@gnu.org ++ ++_LT_EOF ++ fi ;; ++ esac ++ fi ++ break ++ fi ++ done ++ IFS="$lt_save_ifs" ++ MAGIC_CMD="$lt_save_MAGIC_CMD" ++ ;; ++esac ++fi ++ ++MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++if test -n "$MAGIC_CMD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 ++$as_echo "$MAGIC_CMD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ ++ ++if test -z "$lt_cv_path_MAGIC_CMD"; then ++ if test -n "$ac_tool_prefix"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 ++$as_echo_n "checking for file... " >&6; } ++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MAGIC_CMD in ++[\\/*] | ?:[\\/]*) ++ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ++ ;; ++*) ++ lt_save_MAGIC_CMD="$MAGIC_CMD" ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" ++ for ac_dir in $ac_dummy; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ if test -f $ac_dir/file; then ++ lt_cv_path_MAGIC_CMD="$ac_dir/file" ++ if test -n "$file_magic_test_file"; then ++ case $deplibs_check_method in ++ "file_magic "*) ++ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` ++ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | ++ $EGREP "$file_magic_regex" > /dev/null; then ++ : ++ else ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: the command libtool uses to detect shared libraries, ++*** $file_magic_cmd, produces output that libtool cannot recognize. ++*** The result is that libtool may fail to recognize shared libraries ++*** as such. This will affect the creation of libtool libraries that ++*** depend on shared libraries, but programs linked with such libtool ++*** libraries will work regardless of this problem. Nevertheless, you ++*** may want to report the problem to your system manager and/or to ++*** bug-libtool@gnu.org ++ ++_LT_EOF ++ fi ;; ++ esac ++ fi ++ break ++ fi ++ done ++ IFS="$lt_save_ifs" ++ MAGIC_CMD="$lt_save_MAGIC_CMD" ++ ;; ++esac ++fi ++ ++MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++if test -n "$MAGIC_CMD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 ++$as_echo "$MAGIC_CMD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ else ++ MAGIC_CMD=: ++ fi ++fi ++ ++ fi ++ ;; ++esac ++ ++# Use C for the default configuration in the libtool script ++ ++lt_save_CC="$CC" ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++# Source file extension for C test sources. ++ac_ext=c ++ ++# Object file extension for compiled C test sources. ++objext=o ++objext=$objext ++ ++# Code to be used in simple compile tests ++lt_simple_compile_test_code="int some_variable = 0;" ++ ++# Code to be used in simple link tests ++lt_simple_link_test_code='int main(){return(0);}' ++ ++ ++ ++ ++ ++ ++ ++# If no C compiler was specified, use CC. ++LTCC=${LTCC-"$CC"} ++ ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ ++# Allow CC to be a program name with arguments. ++compiler=$CC ++ ++# Save the default compiler, since it gets overwritten when the other ++# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. ++compiler_DEFAULT=$CC ++ ++# save warnings/boilerplate of simple test code ++ac_outfile=conftest.$ac_objext ++echo "$lt_simple_compile_test_code" >conftest.$ac_ext ++eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err ++_lt_compiler_boilerplate=`cat conftest.err` ++$RM conftest* ++ ++ac_outfile=conftest.$ac_objext ++echo "$lt_simple_link_test_code" >conftest.$ac_ext ++eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err ++_lt_linker_boilerplate=`cat conftest.err` ++$RM -r conftest* ++ ++ ++## CAVEAT EMPTOR: ++## There is no encapsulation within the following macros, do not change ++## the running order or otherwise move them around unless you know exactly ++## what you are doing... ++if test -n "$compiler"; then ++ ++lt_prog_compiler_no_builtin_flag= ++ ++if test "$GCC" = yes; then ++ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 ++$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } ++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_rtti_exceptions=no ++ ac_outfile=conftest.$ac_objext ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ lt_compiler_flag="-fno-rtti -fno-exceptions" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ # The option is referenced via a variable to avoid confusing sed. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&5) ++ (eval "$lt_compile" 2>conftest.err) ++ ac_status=$? ++ cat conftest.err >&5 ++ echo "$as_me:__oline__: \$? = $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. ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_rtti_exceptions=yes ++ fi ++ fi ++ $RM conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 ++$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } ++ ++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then ++ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" ++else ++ : ++fi ++ ++fi ++ ++ ++ ++ ++ ++ ++ lt_prog_compiler_wl= ++lt_prog_compiler_pic= ++lt_prog_compiler_static= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 ++$as_echo_n "checking for $compiler option to produce PIC... " >&6; } ++ ++ if test "$GCC" = yes; then ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_static='-static' ++ ++ case $host_os in ++ aix*) ++ # All AIX code is PIC. ++ if test "$host_cpu" = ia64; then ++ # AIX 5 now supports IA64 processor ++ lt_prog_compiler_static='-Bstatic' ++ fi ++ ;; ++ ++ amigaos*) ++ case $host_cpu in ++ powerpc) ++ # see comment about AmigaOS4 .so support ++ lt_prog_compiler_pic='-fPIC' ++ ;; ++ m68k) ++ # FIXME: we need at least 68020 code to build shared libraries, but ++ # adding the `-m68020' flag to GCC prevents building anything better, ++ # like `-m68040'. ++ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ++ ;; ++ esac ++ ;; ++ ++ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) ++ # PIC is the default for these OSes. ++ ;; ++ ++ mingw* | cygwin* | pw32* | os2* | cegcc*) ++ # This hack is so that the source file can tell whether it is being ++ # built for inclusion in a dll (and should export symbols for example). ++ # Although the cygwin gcc ignores -fPIC, still need this for old-style ++ # (--disable-auto-import) libraries ++ lt_prog_compiler_pic='-DDLL_EXPORT' ++ ;; ++ ++ darwin* | rhapsody*) ++ # PIC is the default on this platform ++ # Common symbols not allowed in MH_DYLIB files ++ lt_prog_compiler_pic='-fno-common' ++ ;; ++ ++ hpux*) ++ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit ++ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag ++ # sets the default TLS model and affects inlining. ++ case $host_cpu in ++ hppa*64*) ++ # +Z the default ++ ;; ++ *) ++ lt_prog_compiler_pic='-fPIC' ++ ;; ++ esac ++ ;; ++ ++ interix[3-9]*) ++ # Interix 3.x gcc -fpic/-fPIC options generate broken code. ++ # Instead, we relocate shared libraries at runtime. ++ ;; ++ ++ msdosdjgpp*) ++ # Just because we use GCC doesn't mean we suddenly get shared libraries ++ # on systems that don't support them. ++ lt_prog_compiler_can_build_shared=no ++ enable_shared=no ++ ;; ++ ++ *nto* | *qnx*) ++ # QNX uses GNU C++, but need to define -shared option too, otherwise ++ # it will coredump. ++ lt_prog_compiler_pic='-fPIC -shared' ++ ;; ++ ++ sysv4*MP*) ++ if test -d /usr/nec; then ++ lt_prog_compiler_pic=-Kconform_pic ++ fi ++ ;; ++ ++ *) ++ lt_prog_compiler_pic='-fPIC' ++ ;; ++ esac ++ else ++ # PORTME Check for flag to pass linker flags through the system compiler. ++ case $host_os in ++ aix*) ++ lt_prog_compiler_wl='-Wl,' ++ if test "$host_cpu" = ia64; then ++ # AIX 5 now supports IA64 processor ++ lt_prog_compiler_static='-Bstatic' ++ else ++ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' ++ fi ++ ;; ++ ++ mingw* | cygwin* | pw32* | os2* | cegcc*) ++ # This hack is so that the source file can tell whether it is being ++ # built for inclusion in a dll (and should export symbols for example). ++ lt_prog_compiler_pic='-DDLL_EXPORT' ++ ;; ++ ++ hpux9* | hpux10* | hpux11*) ++ lt_prog_compiler_wl='-Wl,' ++ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but ++ # not for PA HP-UX. ++ case $host_cpu in ++ hppa*64*|ia64*) ++ # +Z the default ++ ;; ++ *) ++ lt_prog_compiler_pic='+Z' ++ ;; ++ esac ++ # Is there a better lt_prog_compiler_static that works with the bundled CC? ++ lt_prog_compiler_static='${wl}-a ${wl}archive' ++ ;; ++ ++ irix5* | irix6* | nonstopux*) ++ lt_prog_compiler_wl='-Wl,' ++ # PIC (with -KPIC) is the default. ++ lt_prog_compiler_static='-non_shared' ++ ;; ++ ++ linux* | k*bsd*-gnu) ++ case $cc_basename in ++ # old Intel for x86_64 which still supported -KPIC. ++ ecc*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-static' ++ ;; ++ # icc used to be incompatible with GCC. ++ # ICC 10 doesn't accept -KPIC any more. ++ icc* | ifort*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-fPIC' ++ lt_prog_compiler_static='-static' ++ ;; ++ # Lahey Fortran 8.1. ++ lf95*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='--shared' ++ lt_prog_compiler_static='--static' ++ ;; ++ pgcc* | pgf77* | pgf90* | pgf95*) ++ # Portland Group compilers (*not* the Pentium gcc compiler, ++ # which looks to be a dead project) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-fpic' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ccc*) ++ lt_prog_compiler_wl='-Wl,' ++ # All Alpha code is PIC. ++ lt_prog_compiler_static='-non_shared' ++ ;; ++ xl*) ++ # IBM XL C 8.0/Fortran 10.1 on PPC ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-qpic' ++ lt_prog_compiler_static='-qstaticlink' ++ ;; ++ *) ++ case `$CC -V 2>&1 | sed 5q` in ++ *Sun\ C*) ++ # Sun C 5.9 ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ lt_prog_compiler_wl='-Wl,' ++ ;; ++ *Sun\ F*) ++ # Sun Fortran 8.3 passes all unrecognized flags to the linker ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ lt_prog_compiler_wl='' ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ ++ newsos6) ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ *nto* | *qnx*) ++ # QNX uses GNU C++, but need to define -shared option too, otherwise ++ # it will coredump. ++ lt_prog_compiler_pic='-fPIC -shared' ++ ;; ++ ++ osf3* | osf4* | osf5*) ++ lt_prog_compiler_wl='-Wl,' ++ # All OSF/1 code is PIC. ++ lt_prog_compiler_static='-non_shared' ++ ;; ++ ++ rdos*) ++ lt_prog_compiler_static='-non_shared' ++ ;; ++ ++ solaris*) ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ case $cc_basename in ++ f77* | f90* | f95*) ++ lt_prog_compiler_wl='-Qoption ld ';; ++ *) ++ lt_prog_compiler_wl='-Wl,';; ++ esac ++ ;; ++ ++ sunos4*) ++ lt_prog_compiler_wl='-Qoption ld ' ++ lt_prog_compiler_pic='-PIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ sysv4 | sysv4.2uw2* | sysv4.3*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ sysv4*MP*) ++ if test -d /usr/nec ;then ++ lt_prog_compiler_pic='-Kconform_pic' ++ lt_prog_compiler_static='-Bstatic' ++ fi ++ ;; ++ ++ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ unicos*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_can_build_shared=no ++ ;; ++ ++ uts4*) ++ lt_prog_compiler_pic='-pic' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ *) ++ lt_prog_compiler_can_build_shared=no ++ ;; ++ esac ++ fi ++ ++case $host_os in ++ # For platforms which do not support PIC, -DPIC is meaningless: ++ *djgpp*) ++ lt_prog_compiler_pic= ++ ;; ++ *) ++ lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" ++ ;; ++esac ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 ++$as_echo "$lt_prog_compiler_pic" >&6; } ++ ++ ++ ++ ++ ++ ++# ++# Check to make sure the PIC flag actually works. ++# ++if test -n "$lt_prog_compiler_pic"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 ++$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } ++if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_pic_works=no ++ ac_outfile=conftest.$ac_objext ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ # The option is referenced via a variable to avoid confusing sed. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&5) ++ (eval "$lt_compile" 2>conftest.err) ++ ac_status=$? ++ cat conftest.err >&5 ++ echo "$as_me:__oline__: \$? = $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. ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_pic_works=yes ++ fi ++ fi ++ $RM conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 ++$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } ++ ++if test x"$lt_cv_prog_compiler_pic_works" = xyes; then ++ case $lt_prog_compiler_pic in ++ "" | " "*) ;; ++ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; ++ esac ++else ++ lt_prog_compiler_pic= ++ lt_prog_compiler_can_build_shared=no ++fi ++ ++fi ++ ++ ++ ++ ++ ++ ++# ++# Check to make sure the static flag actually works. ++# ++wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } ++if test "${lt_cv_prog_compiler_static_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_static_works=no ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ++ echo "$lt_simple_link_test_code" > conftest.$ac_ext ++ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then ++ # The linker can only warn and ignore the option if not recognized ++ # So say no if there are warnings ++ if test -s conftest.err; then ++ # Append any errors to the config.log. ++ cat conftest.err 1>&5 ++ $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if diff conftest.exp conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_static_works=yes ++ fi ++ else ++ lt_cv_prog_compiler_static_works=yes ++ fi ++ fi ++ $RM -r conftest* ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 ++$as_echo "$lt_cv_prog_compiler_static_works" >&6; } ++ ++if test x"$lt_cv_prog_compiler_static_works" = xyes; then ++ : ++else ++ lt_prog_compiler_static= ++fi ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 ++$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ++if test "${lt_cv_prog_compiler_c_o+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_c_o=no ++ $RM -r conftest 2>/dev/null ++ mkdir conftest ++ cd conftest ++ mkdir out ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ ++ lt_compiler_flag="-o out/conftest2.$ac_objext" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&5) ++ (eval "$lt_compile" 2>out/conftest.err) ++ ac_status=$? ++ cat out/conftest.err >&5 ++ echo "$as_me:__oline__: \$? = $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 ++ # So say no if there are warnings ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_c_o=yes ++ fi ++ fi ++ chmod u+w . 2>&5 ++ $RM conftest* ++ # SGI C++ compiler will create directory out/ii_files/ for ++ # template instantiation ++ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files ++ $RM out/* && rmdir out ++ cd .. ++ $RM -r conftest ++ $RM conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 ++$as_echo "$lt_cv_prog_compiler_c_o" >&6; } ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 ++$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ++if test "${lt_cv_prog_compiler_c_o+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_c_o=no ++ $RM -r conftest 2>/dev/null ++ mkdir conftest ++ cd conftest ++ mkdir out ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ ++ lt_compiler_flag="-o out/conftest2.$ac_objext" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&5) ++ (eval "$lt_compile" 2>out/conftest.err) ++ ac_status=$? ++ cat out/conftest.err >&5 ++ echo "$as_me:__oline__: \$? = $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 ++ # So say no if there are warnings ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_c_o=yes ++ fi ++ fi ++ chmod u+w . 2>&5 ++ $RM conftest* ++ # SGI C++ compiler will create directory out/ii_files/ for ++ # template instantiation ++ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files ++ $RM out/* && rmdir out ++ cd .. ++ $RM -r conftest ++ $RM conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 ++$as_echo "$lt_cv_prog_compiler_c_o" >&6; } ++ ++ ++ ++ ++hard_links="nottested" ++if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then ++ # do not overwrite the value of need_locks provided by the user ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 ++$as_echo_n "checking if we can lock with hard links... " >&6; } ++ hard_links=yes ++ $RM conftest* ++ ln conftest.a conftest.b 2>/dev/null && hard_links=no ++ touch conftest.a ++ ln conftest.a conftest.b 2>&5 || hard_links=no ++ ln conftest.a conftest.b 2>/dev/null && hard_links=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 ++$as_echo "$hard_links" >&6; } ++ if test "$hard_links" = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 ++$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} ++ need_locks=warn ++ fi ++else ++ need_locks=no ++fi ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 ++$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } ++ ++ runpath_var= ++ allow_undefined_flag= ++ always_export_symbols=no ++ archive_cmds= ++ archive_expsym_cmds= ++ compiler_needs_object=no ++ enable_shared_with_static_runtimes=no ++ export_dynamic_flag_spec= ++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ++ hardcode_automatic=no ++ hardcode_direct=no ++ hardcode_direct_absolute=no ++ hardcode_libdir_flag_spec= ++ hardcode_libdir_flag_spec_ld= ++ hardcode_libdir_separator= ++ hardcode_minus_L=no ++ hardcode_shlibpath_var=unsupported ++ inherit_rpath=no ++ link_all_deplibs=unknown ++ module_cmds= ++ module_expsym_cmds= ++ old_archive_from_new_cmds= ++ old_archive_from_expsyms_cmds= ++ thread_safe_flag_spec= ++ whole_archive_flag_spec= ++ # include_expsyms should be a list of space-separated symbols to be *always* ++ # included in the symbol list ++ include_expsyms= ++ # exclude_expsyms can be an extended regexp of symbols to exclude ++ # it will be wrapped by ` (' and `)$', so one must not match beginning or ++ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', ++ # as well as any symbol that contains `d'. ++ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' ++ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out ++ # platforms (ab)use it in PIC code, but their linkers get confused if ++ # the symbol is explicitly referenced. Since portable code cannot ++ # rely on this symbol name, it's probably fine to never include it in ++ # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. ++ extract_expsyms_cmds= ++ ++ case $host_os in ++ cygwin* | mingw* | pw32* | cegcc*) ++ # FIXME: the MSVC++ port hasn't been tested in a loooong time ++ # When not using gcc, we currently assume that we are using ++ # Microsoft Visual C++. ++ if test "$GCC" != yes; then ++ with_gnu_ld=no ++ fi ++ ;; ++ interix*) ++ # we just hope/assume this is gcc and not c89 (= MSVC++) ++ with_gnu_ld=yes ++ ;; ++ openbsd*) ++ with_gnu_ld=no ++ ;; ++ esac ++ ++ ld_shlibs=yes ++ if test "$with_gnu_ld" = yes; then ++ # If archive_cmds runs LD, not CC, wlarc should be empty ++ wlarc='${wl}' ++ ++ # Set some defaults for GNU ld with shared library support. These ++ # are reset later if shared libraries are not supported. Putting them ++ # here allows them to be overridden if necessary. ++ runpath_var=LD_RUN_PATH ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ export_dynamic_flag_spec='${wl}--export-dynamic' ++ # ancient GNU ld didn't support --whole-archive et. al. ++ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then ++ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' ++ else ++ whole_archive_flag_spec= ++ fi ++ supports_anon_versioning=no ++ case `$LD -v 2>&1` in ++ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 ++ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... ++ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... ++ *\ 2.11.*) ;; # other 2.11 versions ++ *) supports_anon_versioning=yes ;; ++ esac ++ ++ # See if GNU ld supports shared libraries. ++ case $host_os in ++ aix[3-9]*) ++ # On AIX/PPC, the GNU linker is very broken ++ if test "$host_cpu" != ia64; then ++ ld_shlibs=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: the GNU linker, at least up to release 2.9.1, is reported ++*** to be unable to reliably create shared libraries on AIX. ++*** Therefore, libtool is disabling shared libraries support. If you ++*** really care for shared libraries, you may want to modify your PATH ++*** so that a non-GNU linker is found, and then restart. ++ ++_LT_EOF ++ fi ++ ;; ++ ++ amigaos*) ++ case $host_cpu in ++ powerpc) ++ # see comment about AmigaOS4 .so support ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='' ++ ;; ++ m68k) ++ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ ;; ++ esac ++ ;; ++ ++ beos*) ++ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then ++ allow_undefined_flag=unsupported ++ # Joseph Beckenbach says some releases of gcc ++ # support --undefined. This deserves some investigation. FIXME ++ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ cygwin* | mingw* | pw32* | cegcc*) ++ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, ++ # as there is no search path for DLLs. ++ hardcode_libdir_flag_spec='-L$libdir' ++ allow_undefined_flag=unsupported ++ always_export_symbols=no ++ enable_shared_with_static_runtimes=yes ++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' ++ ++ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' ++ # If the export-symbols file already is a .def file (1st line ++ # is EXPORTS), use it as is; otherwise, prepend... ++ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then ++ cp $export_symbols $output_objdir/$soname.def; ++ else ++ echo EXPORTS > $output_objdir/$soname.def; ++ cat $export_symbols >> $output_objdir/$soname.def; ++ fi~ ++ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ interix[3-9]*) ++ hardcode_direct=no ++ hardcode_shlibpath_var=no ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ export_dynamic_flag_spec='${wl}-E' ++ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. ++ # Instead, shared libraries are loaded at an image base (0x10000000 by ++ # default) and relocated if they conflict, which is a slow very memory ++ # consuming and fragmenting process. To avoid this, we pick a random, ++ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link ++ # time. Moving up from 0x10000000 also allows more sbrk(2) space. ++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ ;; ++ ++ gnu* | linux* | tpf* | k*bsd*-gnu) ++ tmp_diet=no ++ if test "$host_os" = linux-dietlibc; then ++ case $cc_basename in ++ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) ++ esac ++ fi ++ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ ++ && test "$tmp_diet" = no ++ then ++ tmp_addflag= ++ tmp_sharedflag='-shared' ++ case $cc_basename,$host_cpu in ++ pgcc*) # Portland Group C compiler ++ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' ++ tmp_addflag=' $pic_flag' ++ ;; ++ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers ++ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' ++ tmp_addflag=' $pic_flag -Mnomain' ;; ++ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 ++ tmp_addflag=' -i_dynamic' ;; ++ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 ++ tmp_addflag=' -i_dynamic -nofor_main' ;; ++ ifc* | ifort*) # Intel Fortran compiler ++ tmp_addflag=' -nofor_main' ;; ++ lf95*) # Lahey Fortran 8.1 ++ whole_archive_flag_spec= ++ tmp_sharedflag='--shared' ;; ++ xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) ++ tmp_sharedflag='-qmkshrobj' ++ tmp_addflag= ;; ++ esac ++ case `$CC -V 2>&1 | sed 5q` in ++ *Sun\ C*) # Sun C 5.9 ++ whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' ++ compiler_needs_object=yes ++ tmp_sharedflag='-G' ;; ++ *Sun\ F*) # Sun Fortran 8.3 ++ tmp_sharedflag='-G' ;; ++ esac ++ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ ++ if test "x$supports_anon_versioning" = xyes; then ++ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ ++ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ ++ echo "local: *; };" >> $output_objdir/$libname.ver~ ++ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' ++ fi ++ ++ case $cc_basename in ++ xlf*) ++ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself ++ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' ++ hardcode_libdir_flag_spec= ++ hardcode_libdir_flag_spec_ld='-rpath $libdir' ++ archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' ++ if test "x$supports_anon_versioning" = xyes; then ++ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ ++ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ ++ echo "local: *; };" >> $output_objdir/$libname.ver~ ++ $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' ++ fi ++ ;; ++ esac ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ netbsd*) ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then ++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' ++ wlarc= ++ else ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ fi ++ ;; ++ ++ solaris*) ++ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ++ ld_shlibs=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: The releases 2.8.* of the GNU linker cannot reliably ++*** create shared libraries on Solaris systems. Therefore, libtool ++*** is disabling shared libraries support. We urge you to upgrade GNU ++*** binutils to release 2.9.1 or newer. Another option is to modify ++*** your PATH or compiler configuration so that the native linker is ++*** used, and then restart. ++ ++_LT_EOF ++ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) ++ case `$LD -v 2>&1` in ++ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ++ ld_shlibs=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not ++*** reliably create shared libraries on SCO systems. Therefore, libtool ++*** is disabling shared libraries support. We urge you to upgrade GNU ++*** binutils to release 2.16.91.0.3 or newer. Another option is to modify ++*** your PATH or compiler configuration so that the native linker is ++*** used, and then restart. ++ ++_LT_EOF ++ ;; ++ *) ++ # For security reasons, it is highly recommended that you always ++ # use absolute paths for naming shared libraries, and exclude the ++ # DT_RUNPATH tag from executables and libraries. But doing so ++ # requires that you compile everything twice, which is a pain. ++ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ esac ++ ;; ++ ++ sunos4*) ++ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' ++ wlarc= ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ *) ++ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ esac ++ ++ if test "$ld_shlibs" = no; then ++ runpath_var= ++ hardcode_libdir_flag_spec= ++ export_dynamic_flag_spec= ++ whole_archive_flag_spec= ++ fi ++ else ++ # PORTME fill in a description of your system's linker (not GNU ld) ++ case $host_os in ++ aix3*) ++ allow_undefined_flag=unsupported ++ always_export_symbols=yes ++ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' ++ # Note: this linker hardcodes the directories in LIBPATH if there ++ # are no directories specified by -L. ++ hardcode_minus_L=yes ++ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then ++ # Neither direct hardcoding nor static linking is supported with a ++ # broken collect2. ++ hardcode_direct=unsupported ++ fi ++ ;; ++ ++ aix[4-9]*) ++ if test "$host_cpu" = ia64; then ++ # On IA64, the linker does run time linking by default, so we don't ++ # have to do anything special. ++ aix_use_runtimelinking=no ++ exp_sym_flag='-Bexport' ++ no_entry_flag="" ++ else ++ # If we're using GNU nm, then we don't want the "-C" option. ++ # -C means demangle to AIX nm, but means don't demangle with GNU nm ++ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then ++ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' ++ else ++ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' ++ fi ++ aix_use_runtimelinking=no ++ ++ # Test if we are trying to use run time linking or normal ++ # AIX style linking. If -brtl is somewhere in LDFLAGS, we ++ # need to do runtime linking. ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) ++ for ld_flag in $LDFLAGS; do ++ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then ++ aix_use_runtimelinking=yes ++ break ++ fi ++ done ++ ;; ++ esac ++ ++ exp_sym_flag='-bexport' ++ no_entry_flag='-bnoentry' ++ fi ++ ++ # When large executables or shared objects are built, AIX ld can ++ # have problems creating the table of contents. If linking a library ++ # or program results in "error TOC overflow" add -mminimal-toc to ++ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not ++ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. ++ ++ archive_cmds='' ++ hardcode_direct=yes ++ hardcode_direct_absolute=yes ++ hardcode_libdir_separator=':' ++ link_all_deplibs=yes ++ file_list_spec='${wl}-f,' ++ ++ if test "$GCC" = yes; then ++ case $host_os in aix4.[012]|aix4.[012].*) ++ # We only want to do this on AIX 4.2 and lower, the check ++ # below for broken collect2 doesn't work under 4.3+ ++ collect2name=`${CC} -print-prog-name=collect2` ++ if test -f "$collect2name" && ++ strings "$collect2name" | $GREP resolve_lib_name >/dev/null ++ then ++ # We have reworked collect2 ++ : ++ else ++ # We have old collect2 ++ hardcode_direct=unsupported ++ # It fails to find uninstalled libraries when the uninstalled ++ # path is not listed in the libpath. Setting hardcode_minus_L ++ # to unsupported forces relinking ++ hardcode_minus_L=yes ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_libdir_separator= ++ fi ++ ;; ++ esac ++ shared_flag='-shared' ++ if test "$aix_use_runtimelinking" = yes; then ++ shared_flag="$shared_flag "'${wl}-G' ++ fi ++ else ++ # not using gcc ++ if test "$host_cpu" = ia64; then ++ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release ++ # chokes on -Wl,-G. The following line is correct: ++ shared_flag='-G' ++ else ++ if test "$aix_use_runtimelinking" = yes; then ++ shared_flag='${wl}-G' ++ else ++ shared_flag='${wl}-bM:SRE' ++ fi ++ fi ++ fi ++ ++ export_dynamic_flag_spec='${wl}-bexpall' ++ # It seems that -bexpall does not export symbols beginning with ++ # underscore (_), so it is better to generate a list of symbols to export. ++ always_export_symbols=yes ++ if test "$aix_use_runtimelinking" = yes; then ++ # Warning - without using the other runtime loading flags (-brtl), ++ # -berok will link without error, but may produce a broken library. ++ allow_undefined_flag='-berok' ++ # Determine the default libpath from the value encoded in an ++ # empty executable. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++lt_aix_libpath_sed=' ++ /Import File Strings/,/^$/ { ++ /^0/ { ++ s/^0 *\(.*\)$/\1/ ++ p ++ } ++ }' ++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` ++# Check for a 64-bit object if we didn't find anything. ++if test -z "$aix_libpath"; then ++ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` ++fi ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ++ ++ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" ++ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" ++ else ++ if test "$host_cpu" = ia64; then ++ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' ++ allow_undefined_flag="-z nodefs" ++ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" ++ else ++ # Determine the default libpath from the value encoded in an ++ # empty executable. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++lt_aix_libpath_sed=' ++ /Import File Strings/,/^$/ { ++ /^0/ { ++ s/^0 *\(.*\)$/\1/ ++ p ++ } ++ }' ++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` ++# Check for a 64-bit object if we didn't find anything. ++if test -z "$aix_libpath"; then ++ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` ++fi ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ++ ++ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" ++ # Warning - without using the other run time loading flags, ++ # -berok will link without error, but may produce a broken library. ++ no_undefined_flag=' ${wl}-bernotok' ++ allow_undefined_flag=' ${wl}-berok' ++ # Exported symbols can be pulled into shared objects from archives ++ whole_archive_flag_spec='$convenience' ++ archive_cmds_need_lc=yes ++ # This is similar to how AIX traditionally builds its shared libraries. ++ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' ++ fi ++ fi ++ ;; ++ ++ amigaos*) ++ case $host_cpu in ++ powerpc) ++ # see comment about AmigaOS4 .so support ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='' ++ ;; ++ m68k) ++ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ ;; ++ esac ++ ;; ++ ++ bsdi[45]*) ++ export_dynamic_flag_spec=-rdynamic ++ ;; ++ ++ cygwin* | mingw* | pw32* | cegcc*) ++ # When not using gcc, we currently assume that we are using ++ # Microsoft Visual C++. ++ # hardcode_libdir_flag_spec is actually meaningless, as there is ++ # no search path for DLLs. ++ hardcode_libdir_flag_spec=' ' ++ allow_undefined_flag=unsupported ++ # Tell ltmain to make .lib files, not .a files. ++ libext=lib ++ # Tell ltmain to make .dll files, not .so files. ++ shrext_cmds=".dll" ++ # FIXME: Setting linknames here is a bad hack. ++ archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' ++ # The linker will automatically build a .lib file if we build a DLL. ++ old_archive_from_new_cmds='true' ++ # FIXME: Should let the user specify the lib program. ++ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' ++ fix_srcfile_path='`cygpath -w "$srcfile"`' ++ enable_shared_with_static_runtimes=yes ++ ;; ++ ++ darwin* | rhapsody*) ++ ++ ++ archive_cmds_need_lc=no ++ hardcode_direct=no ++ hardcode_automatic=yes ++ hardcode_shlibpath_var=unsupported ++ whole_archive_flag_spec='' ++ link_all_deplibs=yes ++ allow_undefined_flag="$_lt_dar_allow_undefined" ++ case $cc_basename in ++ ifort*) _lt_dar_can_shared=yes ;; ++ *) _lt_dar_can_shared=$GCC ;; ++ esac ++ if test "$_lt_dar_can_shared" = "yes"; then ++ output_verbose_link_cmd=echo ++ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" ++ ++ else ++ ld_shlibs=no ++ fi ++ ++ ;; ++ ++ dgux*) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_shlibpath_var=no ++ ;; ++ ++ freebsd1*) ++ ld_shlibs=no ++ ;; ++ ++ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor ++ # support. Future versions do this automatically, but an explicit c++rt0.o ++ # does not break anything, and helps significantly (at the cost of a little ++ # extra space). ++ freebsd2.2*) ++ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ # Unfortunately, older versions of FreeBSD 2 do not have this feature. ++ freebsd2*) ++ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_direct=yes ++ hardcode_minus_L=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. ++ freebsd* | dragonfly*) ++ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ hpux9*) ++ if test "$GCC" = yes; then ++ archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ++ else ++ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ++ fi ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ hardcode_direct=yes ++ ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ export_dynamic_flag_spec='${wl}-E' ++ ;; ++ ++ hpux10*) ++ if test "$GCC" = yes -a "$with_gnu_ld" = no; then ++ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ fi ++ if test "$with_gnu_ld" = no; then ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_flag_spec_ld='+b $libdir' ++ hardcode_libdir_separator=: ++ hardcode_direct=yes ++ hardcode_direct_absolute=yes ++ export_dynamic_flag_spec='${wl}-E' ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ fi ++ ;; ++ ++ hpux11*) ++ if test "$GCC" = yes -a "$with_gnu_ld" = no; then ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ *) ++ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ esac ++ else ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ *) ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ esac ++ fi ++ if test "$with_gnu_ld" = no; then ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ++ case $host_cpu in ++ hppa*64*|ia64*) ++ hardcode_direct=no ++ hardcode_shlibpath_var=no ++ ;; ++ *) ++ hardcode_direct=yes ++ hardcode_direct_absolute=yes ++ export_dynamic_flag_spec='${wl}-E' ++ ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ ;; ++ esac ++ fi ++ ;; ++ ++ irix5* | irix6* | nonstopux*) ++ if test "$GCC" = yes; then ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ++ # Try to use the -exported_symbol ld option, if it does not ++ # work, assume that -exports_file does not work either and ++ # implicitly export all symbols. ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++int foo(void) {} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LDFLAGS="$save_LDFLAGS" ++ else ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' ++ fi ++ archive_cmds_need_lc='no' ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ inherit_rpath=yes ++ link_all_deplibs=yes ++ ;; ++ ++ netbsd*) ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then ++ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out ++ else ++ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF ++ fi ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ newsos6) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_direct=yes ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ hardcode_shlibpath_var=no ++ ;; ++ ++ *nto* | *qnx*) ++ ;; ++ ++ openbsd*) ++ if test -f /usr/libexec/ld.so; then ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ hardcode_direct_absolute=yes ++ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ export_dynamic_flag_spec='${wl}-E' ++ else ++ case $host_os in ++ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) ++ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_libdir_flag_spec='-R$libdir' ++ ;; ++ *) ++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ ;; ++ esac ++ fi ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ os2*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ allow_undefined_flag=unsupported ++ archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' ++ old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ++ ;; ++ ++ osf3*) ++ if test "$GCC" = yes; then ++ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' ++ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ++ else ++ allow_undefined_flag=' -expect_unresolved \*' ++ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' ++ fi ++ archive_cmds_need_lc='no' ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ;; ++ ++ osf4* | osf5*) # as osf3* with the addition of -msym flag ++ if test "$GCC" = yes; then ++ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' ++ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ else ++ allow_undefined_flag=' -expect_unresolved \*' ++ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' ++ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ ++ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' ++ ++ # Both c and cxx compiler support -rpath directly ++ hardcode_libdir_flag_spec='-rpath $libdir' ++ fi ++ archive_cmds_need_lc='no' ++ hardcode_libdir_separator=: ++ ;; ++ ++ solaris*) ++ no_undefined_flag=' -z defs' ++ if test "$GCC" = yes; then ++ wlarc='${wl}' ++ archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ ++ $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ++ else ++ case `$CC -V 2>&1` in ++ *"Compilers 5.0"*) ++ wlarc='' ++ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ ++ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ++ ;; ++ *) ++ wlarc='${wl}' ++ archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ ++ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ++ ;; ++ esac ++ fi ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_shlibpath_var=no ++ case $host_os in ++ solaris2.[0-5] | solaris2.[0-5].*) ;; ++ *) ++ # The compiler driver will combine and reorder linker options, ++ # but understands `-z linker_flag'. GCC discards it without `$wl', ++ # but is careful enough not to reorder. ++ # Supported since Solaris 2.6 (maybe 2.5.1?) ++ if test "$GCC" = yes; then ++ whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ++ else ++ whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ++ fi ++ ;; ++ esac ++ link_all_deplibs=yes ++ ;; ++ ++ sunos4*) ++ if test "x$host_vendor" = xsequent; then ++ # Use $CC to link under sequent, because it throws in some extra .o ++ # files that make .init and .fini sections work. ++ archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' ++ fi ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_direct=yes ++ hardcode_minus_L=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ sysv4) ++ case $host_vendor in ++ sni) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_direct=yes # is this really true??? ++ ;; ++ siemens) ++ ## LD is ld it makes a PLAMLIB ++ ## CC just makes a GrossModule. ++ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' ++ reload_cmds='$CC -r -o $output$reload_objs' ++ hardcode_direct=no ++ ;; ++ motorola) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_direct=no #Motorola manual says yes, but my tests say they lie ++ ;; ++ esac ++ runpath_var='LD_RUN_PATH' ++ hardcode_shlibpath_var=no ++ ;; ++ ++ sysv4.3*) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_shlibpath_var=no ++ export_dynamic_flag_spec='-Bexport' ++ ;; ++ ++ sysv4*MP*) ++ if test -d /usr/nec; then ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_shlibpath_var=no ++ runpath_var=LD_RUN_PATH ++ hardcode_runpath_var=yes ++ ld_shlibs=yes ++ fi ++ ;; ++ ++ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ++ no_undefined_flag='${wl}-z,text' ++ archive_cmds_need_lc=no ++ hardcode_shlibpath_var=no ++ runpath_var='LD_RUN_PATH' ++ ++ if test "$GCC" = yes; then ++ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ fi ++ ;; ++ ++ sysv5* | sco3.2v5* | sco5v6*) ++ # Note: We can NOT use -z defs as we might desire, because we do not ++ # link with -lc, and that would cause any symbols used from libc to ++ # always be unresolved, which means just about no library would ++ # ever link correctly. If we're not using GNU ld we use -z text ++ # though, which does catch some bad symbols but isn't as heavy-handed ++ # as -z defs. ++ no_undefined_flag='${wl}-z,text' ++ allow_undefined_flag='${wl}-z,nodefs' ++ archive_cmds_need_lc=no ++ hardcode_shlibpath_var=no ++ hardcode_libdir_flag_spec='${wl}-R,$libdir' ++ hardcode_libdir_separator=':' ++ link_all_deplibs=yes ++ export_dynamic_flag_spec='${wl}-Bexport' ++ runpath_var='LD_RUN_PATH' ++ ++ if test "$GCC" = yes; then ++ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ fi ++ ;; ++ ++ uts4*) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_shlibpath_var=no ++ ;; ++ ++ *) ++ ld_shlibs=no ++ ;; ++ esac ++ ++ if test x$host_vendor = xsni; then ++ case $host in ++ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++ export_dynamic_flag_spec='${wl}-Blargedynsym' ++ ;; ++ esac ++ fi ++ fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 ++$as_echo "$ld_shlibs" >&6; } ++test "$ld_shlibs" = no && can_build_shared=no ++ ++with_gnu_ld=$with_gnu_ld ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# ++# Do we need to explicitly link libc? ++# ++case "x$archive_cmds_need_lc" in ++x|xyes) ++ # Assume -lc should be added ++ archive_cmds_need_lc=yes ++ ++ if test "$enable_shared" = yes && test "$GCC" = yes; then ++ case $archive_cmds in ++ *'~'*) ++ # FIXME: we may have to deal with multi-command sequences. ++ ;; ++ '$CC '*) ++ # Test whether the compiler implicitly links with -lc since on some ++ # systems, -lgcc has to come before -lc. If gcc already passes -lc ++ # to ld, don't add -lc before -lgcc. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 ++$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } ++ $RM conftest* ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } 2>conftest.err; then ++ soname=conftest ++ lib=conftest ++ libobjs=conftest.$ac_objext ++ deplibs= ++ wl=$lt_prog_compiler_wl ++ pic_flag=$lt_prog_compiler_pic ++ compiler_flags=-v ++ linker_flags=-v ++ verstring= ++ output_objdir=. ++ libname=conftest ++ lt_save_allow_undefined_flag=$allow_undefined_flag ++ allow_undefined_flag= ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 ++ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++ then ++ archive_cmds_need_lc=no ++ else ++ archive_cmds_need_lc=yes ++ fi ++ allow_undefined_flag=$lt_save_allow_undefined_flag ++ else ++ cat conftest.err 1>&5 ++ fi ++ $RM conftest* ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 ++$as_echo "$archive_cmds_need_lc" >&6; } ++ ;; ++ esac ++ fi ++ ;; ++esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 ++$as_echo_n "checking dynamic linker characteristics... " >&6; } ++ ++if test "$GCC" = yes; then ++ case $host_os in ++ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; ++ *) lt_awk_arg="/^libraries:/" ;; ++ esac ++ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` ++ if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then ++ # if the path contains ";" then we assume it to be the separator ++ # otherwise default to the standard path separator (i.e. ":") - it is ++ # assumed that no part of a normal pathname contains ";" but that should ++ # okay in the real world where ";" in dirpaths is itself problematic. ++ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` ++ else ++ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ++ fi ++ # Ok, now we have the path, separated by spaces, we can step through it ++ # and add multilib dir if necessary. ++ lt_tmp_lt_search_path_spec= ++ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` ++ for lt_sys_path in $lt_search_path_spec; do ++ if test -d "$lt_sys_path/$lt_multi_os_dir"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" ++ else ++ test -d "$lt_sys_path" && \ ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" ++ fi ++ done ++ lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' ++BEGIN {RS=" "; FS="/|\n";} { ++ lt_foo=""; ++ lt_count=0; ++ for (lt_i = NF; lt_i > 0; lt_i--) { ++ if ($lt_i != "" && $lt_i != ".") { ++ if ($lt_i == "..") { ++ lt_count++; ++ } else { ++ if (lt_count == 0) { ++ lt_foo="/" $lt_i lt_foo; ++ } else { ++ lt_count--; ++ } ++ } ++ } ++ } ++ if (lt_foo != "") { lt_freq[lt_foo]++; } ++ if (lt_freq[lt_foo] == 1) { print lt_foo; } ++}'` ++ sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` ++else ++ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" ++fi ++library_names_spec= ++libname_spec='lib$name' ++soname_spec= ++shrext_cmds=".so" ++postinstall_cmds= ++postuninstall_cmds= ++finish_cmds= ++finish_eval= ++shlibpath_var= ++shlibpath_overrides_runpath=unknown ++version_type=none ++dynamic_linker="$host_os ld.so" ++sys_lib_dlsearch_path_spec="/lib /usr/lib" ++need_lib_prefix=unknown ++hardcode_into_libs=no ++ ++# when you set need_version to no, make sure it does not cause -set_version ++# flags to be left without arguments ++need_version=unknown ++ ++case $host_os in ++aix3*) ++ version_type=linux ++ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' ++ shlibpath_var=LIBPATH ++ ++ # AIX 3 has no versioning support, so we append a major version to the name. ++ soname_spec='${libname}${release}${shared_ext}$major' ++ ;; ++ ++aix[4-9]*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ hardcode_into_libs=yes ++ if test "$host_cpu" = ia64; then ++ # AIX 5 supports IA64 ++ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ else ++ # With GCC up to 2.95.x, collect2 would create an import file ++ # for dependence libraries. The import file would start with ++ # the line `#! .'. This would cause the generated library to ++ # depend on `.', always an invalid library. This was fixed in ++ # development snapshots of GCC prior to 3.0. ++ case $host_os in ++ aix4 | aix4.[01] | aix4.[01].*) ++ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' ++ echo ' yes ' ++ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then ++ : ++ else ++ can_build_shared=no ++ fi ++ ;; ++ esac ++ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct ++ # soname into executable. Probably we can add versioning support to ++ # collect2, so additional links can be useful in future. ++ if test "$aix_use_runtimelinking" = yes; then ++ # If using run time linking (on AIX 4.2 or later) use lib.so ++ # instead of lib.a to let people know that these are not ++ # typical AIX shared libraries. ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ else ++ # We preserve .a as extension for shared libraries through AIX4.2 ++ # and later when we are not doing run time linking. ++ library_names_spec='${libname}${release}.a $libname.a' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ fi ++ shlibpath_var=LIBPATH ++ fi ++ ;; ++ ++amigaos*) ++ case $host_cpu in ++ powerpc) ++ # Since July 2007 AmigaOS4 officially supports .so libraries. ++ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ ;; ++ m68k) ++ library_names_spec='$libname.ixlibrary $libname.a' ++ # Create ${libname}_ixlibrary.a entries in /sys/libs. ++ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ++ ;; ++ esac ++ ;; ++ ++beos*) ++ library_names_spec='${libname}${shared_ext}' ++ dynamic_linker="$host_os ld.so" ++ shlibpath_var=LIBRARY_PATH ++ ;; ++ ++bsdi[45]*) ++ version_type=linux ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" ++ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" ++ # the default ld.so.conf also contains /usr/contrib/lib and ++ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow ++ # libtool to hard-code these into programs ++ ;; ++ ++cygwin* | mingw* | pw32* | cegcc*) ++ version_type=windows ++ shrext_cmds=".dll" ++ need_version=no ++ need_lib_prefix=no ++ ++ case $GCC,$host_os in ++ yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) ++ library_names_spec='$libname.dll.a' ++ # DLL is installed to $(libdir)/../bin by postinstall_cmds ++ postinstall_cmds='base_file=`basename \${file}`~ ++ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ ++ dldir=$destdir/`dirname \$dlpath`~ ++ test -d \$dldir || mkdir -p \$dldir~ ++ $install_prog $dir/$dlname \$dldir/$dlname~ ++ chmod a+x \$dldir/$dlname~ ++ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then ++ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; ++ fi' ++ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ ++ dlpath=$dir/\$dldll~ ++ $RM \$dlpath' ++ shlibpath_overrides_runpath=yes ++ ++ case $host_os in ++ cygwin*) ++ # Cygwin DLLs use 'cyg' prefix rather than 'lib' ++ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ++ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ++ ;; ++ mingw* | cegcc*) ++ # MinGW DLLs use traditional 'lib' prefix ++ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ++ sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` ++ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then ++ # It is most probably a Windows format PATH printed by ++ # mingw gcc, but we are running on Cygwin. Gcc prints its search ++ # path with ; separators, and with drive letters. We can handle the ++ # drive letters (cygwin fileutils understands them), so leave them, ++ # especially as we might pass files found there to a mingw objdump, ++ # which wouldn't understand a cygwinified path. Ahh. ++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` ++ else ++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ++ fi ++ ;; ++ pw32*) ++ # pw32 DLLs use 'pw' prefix rather than 'lib' ++ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ++ ;; ++ esac ++ ;; ++ ++ *) ++ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ++ ;; ++ esac ++ dynamic_linker='Win32 ld.exe' ++ # FIXME: first we should search . and the directory the executable is in ++ shlibpath_var=PATH ++ ;; ++ ++darwin* | rhapsody*) ++ dynamic_linker="$host_os dyld" ++ version_type=darwin ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' ++ soname_spec='${libname}${release}${major}$shared_ext' ++ shlibpath_overrides_runpath=yes ++ shlibpath_var=DYLD_LIBRARY_PATH ++ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' ++ ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" ++ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ++ ;; ++ ++dgux*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++freebsd1*) ++ dynamic_linker=no ++ ;; ++ ++freebsd* | dragonfly*) ++ # DragonFly does not have aout. When/if they implement a new ++ # versioning mechanism, adjust this. ++ if test -x /usr/bin/objformat; then ++ objformat=`/usr/bin/objformat` ++ else ++ case $host_os in ++ freebsd[123]*) objformat=aout ;; ++ *) objformat=elf ;; ++ esac ++ fi ++ version_type=freebsd-$objformat ++ case $version_type in ++ freebsd-elf*) ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ need_version=no ++ need_lib_prefix=no ++ ;; ++ freebsd-*) ++ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' ++ need_version=yes ++ ;; ++ esac ++ shlibpath_var=LD_LIBRARY_PATH ++ case $host_os in ++ freebsd2*) ++ shlibpath_overrides_runpath=yes ++ ;; ++ freebsd3.[01]* | freebsdelf3.[01]*) ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; ++ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ ++ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ *) # from 4.6 on, and DragonFly ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; ++ esac ++ ;; ++ ++gnu*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ hardcode_into_libs=yes ++ ;; ++ ++hpux9* | hpux10* | hpux11*) ++ # Give a soname corresponding to the major version so that dld.sl refuses to ++ # link against other versions. ++ version_type=sunos ++ need_lib_prefix=no ++ need_version=no ++ case $host_cpu in ++ ia64*) ++ shrext_cmds='.so' ++ hardcode_into_libs=yes ++ dynamic_linker="$host_os dld.so" ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ if test "X$HPUX_IA64_MODE" = X32; then ++ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" ++ else ++ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" ++ fi ++ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ++ ;; ++ hppa*64*) ++ shrext_cmds='.sl' ++ hardcode_into_libs=yes ++ dynamic_linker="$host_os dld.sl" ++ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH ++ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" ++ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ++ ;; ++ *) ++ shrext_cmds='.sl' ++ dynamic_linker="$host_os dld.sl" ++ shlibpath_var=SHLIB_PATH ++ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ ;; ++ esac ++ # HP-UX runs *really* slowly unless shared libraries are mode 555. ++ postinstall_cmds='chmod 555 $lib' ++ ;; ++ ++interix[3-9]*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ ++irix5* | irix6* | nonstopux*) ++ case $host_os in ++ nonstopux*) version_type=nonstopux ;; ++ *) ++ if test "$lt_cv_prog_gnu_ld" = yes; then ++ version_type=linux ++ else ++ version_type=irix ++ fi ;; ++ esac ++ need_lib_prefix=no ++ need_version=no ++ soname_spec='${libname}${release}${shared_ext}$major' ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' ++ case $host_os in ++ irix5* | nonstopux*) ++ libsuff= shlibsuff= ++ ;; ++ *) ++ case $LD in # libtool.m4 will add one of these switches to LD ++ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") ++ libsuff= shlibsuff= libmagic=32-bit;; ++ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") ++ libsuff=32 shlibsuff=N32 libmagic=N32;; ++ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") ++ libsuff=64 shlibsuff=64 libmagic=64-bit;; ++ *) libsuff= shlibsuff= libmagic=never-match;; ++ esac ++ ;; ++ esac ++ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH ++ shlibpath_overrides_runpath=no ++ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" ++ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" ++ hardcode_into_libs=yes ++ ;; ++ ++# No shared lib support for Linux oldld, aout, or coff. ++linux*oldld* | linux*aout* | linux*coff*) ++ dynamic_linker=no ++ ;; ++ ++# This must be Linux ELF. ++linux* | k*bsd*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ # Some binutils ld are patched to set DT_RUNPATH ++ save_LDFLAGS=$LDFLAGS ++ save_libdir=$libdir ++ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ ++ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : ++ shlibpath_overrides_runpath=yes ++fi ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LDFLAGS=$save_LDFLAGS ++ libdir=$save_libdir ++ ++ # This implies no fast_install, which is unacceptable. ++ # Some rework will be needed to allow for fast_install ++ # before this can be enabled. ++ hardcode_into_libs=yes ++ ++ # Add ABI-specific directories to the system library path. ++ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" ++ ++ # Append ld.so.conf contents to the search path ++ if test -f /etc/ld.so.conf; then ++ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` ++ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" ++ fi ++ ++ # We used to test for /lib/ld.so.1 and disable shared libraries on ++ # powerpc, because MkLinux only supported shared libraries with the ++ # GNU dynamic linker. Since this was broken with cross compilers, ++ # most powerpc-linux boxes support dynamic linking these days and ++ # people can always --disable-shared, the test was removed, and we ++ # assume the GNU/Linux dynamic linker is in use. ++ dynamic_linker='GNU/Linux ld.so' ++ ;; ++ ++netbsd*) ++ version_type=sunos ++ need_lib_prefix=no ++ need_version=no ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ++ dynamic_linker='NetBSD (a.out) ld.so' ++ else ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='NetBSD ld.elf_so' ++ fi ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; ++ ++newsos6) ++ version_type=linux ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ ;; ++ ++*nto* | *qnx*) ++ version_type=qnx ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='ldqnx.so' ++ ;; ++ ++openbsd*) ++ version_type=sunos ++ sys_lib_dlsearch_path_spec="/usr/lib" ++ need_lib_prefix=no ++ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. ++ case $host_os in ++ openbsd3.3 | openbsd3.3.*) need_version=yes ;; ++ *) need_version=no ;; ++ esac ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ++ case $host_os in ++ openbsd2.[89] | openbsd2.[89].*) ++ shlibpath_overrides_runpath=no ++ ;; ++ *) ++ shlibpath_overrides_runpath=yes ++ ;; ++ esac ++ else ++ shlibpath_overrides_runpath=yes ++ fi ++ ;; ++ ++os2*) ++ libname_spec='$name' ++ shrext_cmds=".dll" ++ need_lib_prefix=no ++ library_names_spec='$libname${shared_ext} $libname.a' ++ dynamic_linker='OS/2 ld.exe' ++ shlibpath_var=LIBPATH ++ ;; ++ ++osf3* | osf4* | osf5*) ++ version_type=osf ++ need_lib_prefix=no ++ need_version=no ++ soname_spec='${libname}${release}${shared_ext}$major' ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" ++ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ++ ;; ++ ++rdos*) ++ dynamic_linker=no ++ ;; ++ ++solaris*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ # ldd complains unless libraries are executable ++ postinstall_cmds='chmod +x $lib' ++ ;; ++ ++sunos4*) ++ version_type=sunos ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' ++ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ if test "$with_gnu_ld" = yes; then ++ need_lib_prefix=no ++ fi ++ need_version=yes ++ ;; ++ ++sysv4 | sysv4.3*) ++ version_type=linux ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ case $host_vendor in ++ sni) ++ shlibpath_overrides_runpath=no ++ need_lib_prefix=no ++ runpath_var=LD_RUN_PATH ++ ;; ++ siemens) ++ need_lib_prefix=no ++ ;; ++ motorola) ++ need_lib_prefix=no ++ need_version=no ++ shlibpath_overrides_runpath=no ++ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ++ ;; ++ esac ++ ;; ++ ++sysv4*MP*) ++ if test -d /usr/nec ;then ++ version_type=linux ++ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' ++ soname_spec='$libname${shared_ext}.$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ fi ++ ;; ++ ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ version_type=freebsd-elf ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ if test "$with_gnu_ld" = yes; then ++ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' ++ else ++ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' ++ case $host_os in ++ sco3.2v5*) ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ++ ;; ++ esac ++ fi ++ sys_lib_dlsearch_path_spec='/usr/lib' ++ ;; ++ ++tpf*) ++ # TPF is a cross-target only. Preferred cross-host = GNU/Linux. ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ ++uts4*) ++ version_type=linux ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++*) ++ dynamic_linker=no ++ ;; ++esac ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 ++$as_echo "$dynamic_linker" >&6; } ++test "$dynamic_linker" = no && can_build_shared=no ++ ++variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ++if test "$GCC" = yes; then ++ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ++fi ++ ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++fi ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 ++$as_echo_n "checking how to hardcode library paths into programs... " >&6; } ++hardcode_action= ++if test -n "$hardcode_libdir_flag_spec" || ++ test -n "$runpath_var" || ++ test "X$hardcode_automatic" = "Xyes" ; then ++ ++ # We can hardcode non-existent directories. ++ if test "$hardcode_direct" != no && ++ # If the only mechanism to avoid hardcoding is shlibpath_var, we ++ # have to relink, otherwise we might link with an installed library ++ # when we should be linking with a yet-to-be-installed one ++ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && ++ test "$hardcode_minus_L" != no; then ++ # Linking always hardcodes the temporary library directory. ++ hardcode_action=relink ++ else ++ # We can link without hardcoding, and we can hardcode nonexisting dirs. ++ hardcode_action=immediate ++ fi ++else ++ # We cannot hardcode anything, or else we can only hardcode existing ++ # directories. ++ hardcode_action=unsupported ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 ++$as_echo "$hardcode_action" >&6; } ++ ++if test "$hardcode_action" = relink || ++ test "$inherit_rpath" = yes; then ++ # Fast installation is not supported ++ enable_fast_install=no ++elif test "$shlibpath_overrides_runpath" = yes || ++ test "$enable_shared" = no; then ++ # Fast installation is not necessary ++ enable_fast_install=needless ++fi ++ ++ ++ ++ ++ ++ ++ if test "x$enable_dlopen" != xyes; then ++ enable_dlopen=unknown ++ enable_dlopen_self=unknown ++ enable_dlopen_self_static=unknown ++else ++ lt_cv_dlopen=no ++ lt_cv_dlopen_libs= ++ ++ case $host_os in ++ beos*) ++ lt_cv_dlopen="load_add_on" ++ lt_cv_dlopen_libs= ++ lt_cv_dlopen_self=yes ++ ;; ++ ++ mingw* | pw32* | cegcc*) ++ lt_cv_dlopen="LoadLibrary" ++ lt_cv_dlopen_libs= ++ ;; ++ ++ cygwin*) ++ lt_cv_dlopen="dlopen" ++ lt_cv_dlopen_libs= ++ ;; ++ ++ darwin*) ++ # if libdl is installed we need to link against it ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dl_dlopen=yes ++else ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : ++ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" ++else ++ ++ lt_cv_dlopen="dyld" ++ lt_cv_dlopen_libs= ++ lt_cv_dlopen_self=yes ++ ++fi ++ ++ ;; ++ ++ *) ++ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" ++if test "x$ac_cv_func_shl_load" = x""yes; then : ++ lt_cv_dlopen="shl_load" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 ++$as_echo_n "checking for shl_load in -ldld... " >&6; } ++if test "${ac_cv_lib_dld_shl_load+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldld $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char shl_load (); ++int ++main () ++{ ++return shl_load (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dld_shl_load=yes ++else ++ ac_cv_lib_dld_shl_load=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 ++$as_echo "$ac_cv_lib_dld_shl_load" >&6; } ++if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : ++ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" ++else ++ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" ++if test "x$ac_cv_func_dlopen" = x""yes; then : ++ lt_cv_dlopen="dlopen" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dl_dlopen=yes ++else ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : ++ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 ++$as_echo_n "checking for dlopen in -lsvld... " >&6; } ++if test "${ac_cv_lib_svld_dlopen+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsvld $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_svld_dlopen=yes ++else ++ ac_cv_lib_svld_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 ++$as_echo "$ac_cv_lib_svld_dlopen" >&6; } ++if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : ++ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 ++$as_echo_n "checking for dld_link in -ldld... " >&6; } ++if test "${ac_cv_lib_dld_dld_link+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldld $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dld_link (); ++int ++main () ++{ ++return dld_link (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dld_dld_link=yes ++else ++ ac_cv_lib_dld_dld_link=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 ++$as_echo "$ac_cv_lib_dld_dld_link" >&6; } ++if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : ++ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" ++fi ++ ++ ++fi ++ ++ ++fi ++ ++ ++fi ++ ++ ++fi ++ ++ ++fi ++ ++ ;; ++ esac ++ ++ if test "x$lt_cv_dlopen" != xno; then ++ enable_dlopen=yes ++ else ++ enable_dlopen=no ++ fi ++ ++ case $lt_cv_dlopen in ++ dlopen) ++ save_CPPFLAGS="$CPPFLAGS" ++ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" ++ ++ save_LDFLAGS="$LDFLAGS" ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" ++ ++ save_LIBS="$LIBS" ++ LIBS="$lt_cv_dlopen_libs $LIBS" ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 ++$as_echo_n "checking whether a program can dlopen itself... " >&6; } ++if test "${lt_cv_dlopen_self+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ lt_cv_dlopen_self=cross ++else ++ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 ++ lt_status=$lt_dlunknown ++ cat > conftest.$ac_ext <<_LT_EOF ++#line __oline__ "configure" ++#include "confdefs.h" ++ ++#if HAVE_DLFCN_H ++#include ++#endif ++ ++#include ++ ++#ifdef RTLD_GLOBAL ++# define LT_DLGLOBAL RTLD_GLOBAL ++#else ++# ifdef DL_GLOBAL ++# define LT_DLGLOBAL DL_GLOBAL ++# else ++# define LT_DLGLOBAL 0 ++# endif ++#endif ++ ++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we ++ find out it does not work in some platform. */ ++#ifndef LT_DLLAZY_OR_NOW ++# ifdef RTLD_LAZY ++# define LT_DLLAZY_OR_NOW RTLD_LAZY ++# else ++# ifdef DL_LAZY ++# define LT_DLLAZY_OR_NOW DL_LAZY ++# else ++# ifdef RTLD_NOW ++# define LT_DLLAZY_OR_NOW RTLD_NOW ++# else ++# ifdef DL_NOW ++# define LT_DLLAZY_OR_NOW DL_NOW ++# else ++# define LT_DLLAZY_OR_NOW 0 ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++void fnord() { int i=42;} ++int main () ++{ ++ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); ++ int status = $lt_dlunknown; ++ ++ if (self) ++ { ++ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; ++ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; ++ /* dlclose (self); */ ++ } ++ else ++ puts (dlerror ()); ++ ++ return status; ++} ++_LT_EOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then ++ (./conftest; exit; ) >&5 2>/dev/null ++ lt_status=$? ++ case x$lt_status in ++ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; ++ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; ++ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; ++ esac ++ else : ++ # compilation failed ++ lt_cv_dlopen_self=no ++ fi ++fi ++rm -fr conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 ++$as_echo "$lt_cv_dlopen_self" >&6; } ++ ++ if test "x$lt_cv_dlopen_self" = xyes; then ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 ++$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } ++if test "${lt_cv_dlopen_self_static+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ lt_cv_dlopen_self_static=cross ++else ++ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 ++ lt_status=$lt_dlunknown ++ cat > conftest.$ac_ext <<_LT_EOF ++#line __oline__ "configure" ++#include "confdefs.h" ++ ++#if HAVE_DLFCN_H ++#include ++#endif ++ ++#include ++ ++#ifdef RTLD_GLOBAL ++# define LT_DLGLOBAL RTLD_GLOBAL ++#else ++# ifdef DL_GLOBAL ++# define LT_DLGLOBAL DL_GLOBAL ++# else ++# define LT_DLGLOBAL 0 ++# endif ++#endif ++ ++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we ++ find out it does not work in some platform. */ ++#ifndef LT_DLLAZY_OR_NOW ++# ifdef RTLD_LAZY ++# define LT_DLLAZY_OR_NOW RTLD_LAZY ++# else ++# ifdef DL_LAZY ++# define LT_DLLAZY_OR_NOW DL_LAZY ++# else ++# ifdef RTLD_NOW ++# define LT_DLLAZY_OR_NOW RTLD_NOW ++# else ++# ifdef DL_NOW ++# define LT_DLLAZY_OR_NOW DL_NOW ++# else ++# define LT_DLLAZY_OR_NOW 0 ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++void fnord() { int i=42;} ++int main () ++{ ++ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); ++ int status = $lt_dlunknown; ++ ++ if (self) ++ { ++ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; ++ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; ++ /* dlclose (self); */ ++ } ++ else ++ puts (dlerror ()); ++ ++ return status; ++} ++_LT_EOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then ++ (./conftest; exit; ) >&5 2>/dev/null ++ lt_status=$? ++ case x$lt_status in ++ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; ++ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; ++ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; ++ esac ++ else : ++ # compilation failed ++ lt_cv_dlopen_self_static=no ++ fi ++fi ++rm -fr conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 ++$as_echo "$lt_cv_dlopen_self_static" >&6; } ++ fi ++ ++ CPPFLAGS="$save_CPPFLAGS" ++ LDFLAGS="$save_LDFLAGS" ++ LIBS="$save_LIBS" ++ ;; ++ esac ++ ++ case $lt_cv_dlopen_self in ++ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; ++ *) enable_dlopen_self=unknown ;; ++ esac ++ ++ case $lt_cv_dlopen_self_static in ++ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; ++ *) enable_dlopen_self_static=unknown ;; ++ esac ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++striplib= ++old_striplib= ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 ++$as_echo_n "checking whether stripping libraries is possible... " >&6; } ++if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then ++ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" ++ test -z "$striplib" && striplib="$STRIP --strip-unneeded" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++# FIXME - insert some real tests, host_os isn't really good enough ++ case $host_os in ++ darwin*) ++ if test -n "$STRIP" ; then ++ striplib="$STRIP -x" ++ old_striplib="$STRIP -S" ++ { $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; } ++ fi ++ ;; ++ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ;; ++ esac ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ # Report which library types will actually be built ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 ++$as_echo_n "checking if libtool supports shared libraries... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 ++$as_echo "$can_build_shared" >&6; } ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 ++$as_echo_n "checking whether to build shared libraries... " >&6; } ++ test "$can_build_shared" = "no" && enable_shared=no ++ ++ # On AIX, shared libraries and static libraries use the same namespace, and ++ # are all built from PIC. ++ case $host_os in ++ aix3*) ++ test "$enable_shared" = yes && enable_static=no ++ if test -n "$RANLIB"; then ++ archive_cmds="$archive_cmds~\$RANLIB \$lib" ++ postinstall_cmds='$RANLIB $lib' ++ fi ++ ;; ++ ++ aix[4-9]*) ++ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then ++ test "$enable_shared" = yes && enable_static=no ++ fi ++ ;; ++ esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 ++$as_echo "$enable_shared" >&6; } ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 ++$as_echo_n "checking whether to build static libraries... " >&6; } ++ # Make sure either enable_shared or enable_static is yes. ++ test "$enable_shared" = yes || enable_static=yes ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 ++$as_echo "$enable_static" >&6; } ++ ++ ++ ++ ++fi ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++CC="$lt_save_CC" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_config_commands="$ac_config_commands libtool" ++ ++ ++ ++ ++# Only expand once: ++ ++ ++if test "x$CC" != xcc; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 ++$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 ++$as_echo_n "checking whether cc understands -c and -o together... " >&6; } ++fi ++set dummy $CC; ac_cc=`$as_echo "$2" | ++ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ++if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++# Make sure it works both with $CC and with simple cc. ++# We do the test twice because some compilers refuse to overwrite an ++# existing .o file with -o, though they will create one. ++ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' ++rm -f conftest2.* ++if { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; ++then ++ eval ac_cv_prog_cc_${ac_cc}_c_o=yes ++ if test "x$CC" != xcc; then ++ # Test first that cc exists at all. ++ if { ac_try='cc -c conftest.$ac_ext >&5' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' ++ rm -f conftest2.* ++ if { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; ++ then ++ # cc works too. ++ : ++ else ++ # cc exists but doesn't like -o. ++ eval ac_cv_prog_cc_${ac_cc}_c_o=no ++ fi ++ fi ++ fi ++else ++ eval ac_cv_prog_cc_${ac_cc}_c_o=no ++fi ++rm -f core conftest* ++ ++fi ++if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; 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; } ++ ++$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h ++ ++fi ++ ++# FIXME: we rely on the cache variable name because ++# there is no other way. ++set dummy $CC ++am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ++eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o ++if test "$am_t" != yes; then ++ # Losing compiler, so override with the script. ++ # FIXME: It is wrong to rewrite CC. ++ # But if we don't then we get into trouble of one sort or another. ++ # A longer-term fix would be to have automake use am__CC in this case, ++ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" ++ CC="$am_aux_dir/compile $CC" ++fi ++ ++ ++ ++VERSION_SCRIPT_FLAGS=-Wl,--version-script= ++`/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null` || \ ++ VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," ++ ++ ++ ++ ++ @%:@ Check whether --enable-compile-warnings was given. ++if test "${enable_compile_warnings+set}" = set; then : ++ enableval=$enable_compile_warnings; ++else ++ enable_compile_warnings="maximum" ++fi ++ ++ ++ warnCFLAGS= ++ ++ common_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables" ++ ++ case "$enable_compile_warnings" in ++ no) ++ try_compiler_flags="" ++ ;; ++ minimum) ++ try_compiler_flags="-Wall -Wformat -Wformat-security $common_flags" ++ ;; ++ yes) ++ try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes $common_flags" ++ ;; ++ maximum|error) ++ try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith" ++ try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return" ++ try_compiler_flags="$try_compiler_flags -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare" ++ try_compiler_flags="$try_compiler_flags $common_flags" ++ if test "$enable_compile_warnings" = "error" ; then ++ try_compiler_flags="$try_compiler_flags -Werror" ++ fi ++ ;; ++ *) ++ as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 ++ ;; ++ esac ++ ++ COMPILER_FLAGS= ++ for option in $try_compiler_flags; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts $option" >&5 ++$as_echo_n "checking whether compiler accepts $option... " >&6; } ++ ++ ac_save_CFLAGS="$CFLAGS" ++ if test "$option" = "-Werror" ; then ++ CFLAGS="$CFLAGS $option" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS $option" ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ has_option=yes ++else ++ has_option=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ COMPILER_FLAGS="$COMPILER_FLAGS $option" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ++ done ++ unset option ++ unset try_compiler_flags ++ ++ @%:@ Check whether --enable-iso-c was given. ++if test "${enable_iso_c+set}" = set; then : ++ enableval=$enable_iso_c; ++else ++ enable_iso_c=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5 ++$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; } ++ complCFLAGS= ++ if test "x$enable_iso_c" != "xno"; then ++ if test "x$GCC" = "xyes"; then ++ case " $CFLAGS " in ++ *\ \ -ansi\ \ *) ;; ++ *) complCFLAGS="$complCFLAGS -ansi" ;; ++ esac ++ case " $CFLAGS " in ++ *\ \ -pedantic\ \ *) ;; ++ *) complCFLAGS="$complCFLAGS -pedantic" ;; ++ esac ++ fi ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5 ++$as_echo "$complCFLAGS" >&6; } ++ ++ WARN_CFLAGS="$COMPILER_FLAGS $complCFLAGS" ++ ++ ++ COMPILER_FLAGS= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -Wno-redundant-decls" >&5 ++$as_echo_n "checking whether compiler accepts -Wno-redundant-decls... " >&6; } ++ ++ ac_save_CFLAGS="$CFLAGS" ++ if test "-Wno-redundant-decls" = "-Werror" ; then ++ CFLAGS="$CFLAGS -Wno-redundant-decls" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS -Wno-redundant-decls" ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ has_option=yes ++else ++ has_option=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ COMPILER_FLAGS="$COMPILER_FLAGS -Wno-redundant-decls" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ++ WARN_PYTHON_CFLAGS=$COMPILER_FLAGS ++ ++ ++ ++@%:@ Check whether --enable-largefile was given. ++if test "${enable_largefile+set}" = set; then : ++ enableval=$enable_largefile; ++fi ++ ++if test "$enable_largefile" != no; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 ++$as_echo_n "checking for special C compiler options needed for large files... " >&6; } ++if test "${ac_cv_sys_largefile_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_sys_largefile_CC=no ++ if test "$GCC" != yes; then ++ ac_save_CC=$CC ++ while :; do ++ # IRIX 6.2 and later do not support large files by default, ++ # so use the C compiler's -n32 option if that helps. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ if ac_fn_c_try_compile "$LINENO"; then : ++ break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ CC="$CC -n32" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_largefile_CC=' -n32'; break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ break ++ done ++ CC=$ac_save_CC ++ rm -f conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 ++$as_echo "$ac_cv_sys_largefile_CC" >&6; } ++ if test "$ac_cv_sys_largefile_CC" != no; then ++ CC=$CC$ac_cv_sys_largefile_CC ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ++if test "${ac_cv_sys_file_offset_bits+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _FILE_OFFSET_BITS 64 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=64; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_file_offset_bits=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 ++$as_echo "$ac_cv_sys_file_offset_bits" >&6; } ++case $ac_cv_sys_file_offset_bits in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ if test $ac_cv_sys_file_offset_bits = unknown; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 ++$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ++if test "${ac_cv_sys_large_files+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGE_FILES 1 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_large_files=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 ++$as_echo "$ac_cv_sys_large_files" >&6; } ++case $ac_cv_sys_large_files in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGE_FILES $ac_cv_sys_large_files ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ fi ++fi ++ ++ ++for ac_func in cfmakeraw regexec uname sched_getaffinity getuid getgid posix_fallocate mmap readlink ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++for ac_func in strerror_r strtok_r getmntent_r getgrnam_r getpwuid_r ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++for ac_header in pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h sys/wait.h winsock2.h sched.h termios.h sys/poll.h syslog.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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xdrmem_create in -lportablexdr" >&5 ++$as_echo_n "checking for xdrmem_create in -lportablexdr... " >&6; } ++if test "${ac_cv_lib_portablexdr_xdrmem_create+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lportablexdr $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char xdrmem_create (); ++int ++main () ++{ ++return xdrmem_create (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_portablexdr_xdrmem_create=yes ++else ++ ac_cv_lib_portablexdr_xdrmem_create=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_portablexdr_xdrmem_create" >&5 ++$as_echo "$ac_cv_lib_portablexdr_xdrmem_create" >&6; } ++if test "x$ac_cv_lib_portablexdr_xdrmem_create" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBPORTABLEXDR 1 ++_ACEOF ++ ++ LIBS="-lportablexdr $LIBS" ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing xdrmem_create" >&5 ++$as_echo_n "checking for library containing xdrmem_create... " >&6; } ++if test "${ac_cv_search_xdrmem_create+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char xdrmem_create (); ++int ++main () ++{ ++return xdrmem_create (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' rpc xdr nsl; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_xdrmem_create=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_xdrmem_create+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_xdrmem_create+set}" = set; then : ++ ++else ++ ac_cv_search_xdrmem_create=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_xdrmem_create" >&5 ++$as_echo "$ac_cv_search_xdrmem_create" >&6; } ++ac_res=$ac_cv_search_xdrmem_create ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++fi ++ ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5 ++$as_echo_n "checking for gettext in -lintl... " >&6; } ++if test "${ac_cv_lib_intl_gettext+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lintl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gettext (); ++int ++main () ++{ ++return gettext (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_intl_gettext=yes ++else ++ ac_cv_lib_intl_gettext=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5 ++$as_echo "$ac_cv_lib_intl_gettext" >&6; } ++if test "x$ac_cv_lib_intl_gettext" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBINTL 1 ++_ACEOF ++ ++ LIBS="-lintl $LIBS" ++ ++fi ++ ++ ++# Extract the first word of "rpcgen", so it can be a program name with args. ++set dummy rpcgen; 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_RPCGEN+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $RPCGEN in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_RPCGEN="$RPCGEN" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_RPCGEN="$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 ++ ++ test -z "$ac_cv_path_RPCGEN" && ac_cv_path_RPCGEN="no" ++ ;; ++esac ++fi ++RPCGEN=$ac_cv_path_RPCGEN ++if test -n "$RPCGEN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPCGEN" >&5 ++$as_echo "$RPCGEN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "x$ac_cv_path_RPCGEN" != "xno"; then ++ HAVE_RPCGEN_TRUE= ++ HAVE_RPCGEN_FALSE='#' ++else ++ HAVE_RPCGEN_TRUE='#' ++ HAVE_RPCGEN_FALSE= ++fi ++ ++ if test "x$ac_cv_path_RPCGEN" != "xno" && ++ $ac_cv_path_RPCGEN -t /dev/null 2>&1; then ++ HAVE_GLIBC_RPCGEN_TRUE= ++ HAVE_GLIBC_RPCGEN_FALSE='#' ++else ++ HAVE_GLIBC_RPCGEN_TRUE='#' ++ HAVE_GLIBC_RPCGEN_FALSE= ++fi ++ ++ ++ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" ++if test "x$ac_cv_header_pthread_h" = x""yes; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 ++$as_echo_n "checking for pthread_join in -lpthread... " >&6; } ++if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpthread $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pthread_join (); ++int ++main () ++{ ++return pthread_join (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_pthread_pthread_join=yes ++else ++ ac_cv_lib_pthread_pthread_join=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 ++$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } ++if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then : ++ ++ ++$as_echo "@%:@define HAVE_LIBPTHREAD /**/" >>confdefs.h ++ ++ ++$as_echo "@%:@define HAVE_PTHREAD_H /**/" >>confdefs.h ++ ++ LIBS="-lpthread $LIBS" ++ ++fi ++ ++fi ++ ++ ++ ++# Extract the first word of "rm", so it can be a program name with args. ++set dummy rm; 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_RM+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $RM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_RM="$RM" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_RM="$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 ++ ++ test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm" ++ ;; ++esac ++fi ++RM=$ac_cv_path_RM ++if test -n "$RM"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 ++$as_echo "$RM" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "mv", so it can be a program name with args. ++set dummy mv; 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_MV+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MV in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MV="$MV" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_MV="$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 ++ ++ test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" ++ ;; ++esac ++fi ++MV=$ac_cv_path_MV ++if test -n "$MV"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 ++$as_echo "$MV" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "tar", so it can be a program name with args. ++set dummy tar; 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_TAR+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $TAR in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_TAR="$TAR" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_TAR="$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 ++ ++ test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" ++ ;; ++esac ++fi ++TAR=$ac_cv_path_TAR ++if test -n "$TAR"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 ++$as_echo "$TAR" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "xmllint", so it can be a program name with args. ++set dummy xmllint; 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_XMLLINT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $XMLLINT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_XMLLINT="$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 ++ ++ test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" ++ ;; ++esac ++fi ++XMLLINT=$ac_cv_path_XMLLINT ++if test -n "$XMLLINT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 ++$as_echo "$XMLLINT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "xmlcatalog", so it can be a program name with args. ++set dummy xmlcatalog; 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_XMLCATALOG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $XMLCATALOG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_XMLCATALOG="$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 ++ ++ test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="/usr/bin/xmlcatalog" ++ ;; ++esac ++fi ++XMLCATALOG=$ac_cv_path_XMLCATALOG ++if test -n "$XMLCATALOG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5 ++$as_echo "$XMLCATALOG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "xsltproc", so it can be a program name with args. ++set dummy xsltproc; 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_XSLTPROC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $XSLTPROC in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_XSLTPROC="$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 ++ ++ test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" ++ ;; ++esac ++fi ++XSLTPROC=$ac_cv_path_XSLTPROC ++if test -n "$XSLTPROC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 ++$as_echo "$XSLTPROC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "augparse", so it can be a program name with args. ++set dummy augparse; 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_AUGPARSE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $AUGPARSE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_AUGPARSE="$AUGPARSE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_AUGPARSE="$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 ++ ++ test -z "$ac_cv_path_AUGPARSE" && ac_cv_path_AUGPARSE="/usr/bin/augparse" ++ ;; ++esac ++fi ++AUGPARSE=$ac_cv_path_AUGPARSE ++if test -n "$AUGPARSE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUGPARSE" >&5 ++$as_echo "$AUGPARSE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ ++# Extract the first word of "dnsmasq", so it can be a program name with args. ++set dummy dnsmasq; 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_DNSMASQ+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $DNSMASQ in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_DNSMASQ="$DNSMASQ" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_DNSMASQ="$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 ++ ++ test -z "$ac_cv_path_DNSMASQ" && ac_cv_path_DNSMASQ="dnsmasq" ++ ;; ++esac ++fi ++DNSMASQ=$ac_cv_path_DNSMASQ ++if test -n "$DNSMASQ"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DNSMASQ" >&5 ++$as_echo "$DNSMASQ" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "brctl", so it can be a program name with args. ++set dummy brctl; 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_BRCTL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $BRCTL in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_BRCTL="$BRCTL" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_BRCTL="$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 ++ ++ test -z "$ac_cv_path_BRCTL" && ac_cv_path_BRCTL="brctl" ++ ;; ++esac ++fi ++BRCTL=$ac_cv_path_BRCTL ++if test -n "$BRCTL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BRCTL" >&5 ++$as_echo "$BRCTL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "udevadm", so it can be a program name with args. ++set dummy udevadm; 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_UDEVADM+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $UDEVADM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_UDEVADM="$UDEVADM" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_UDEVADM="$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 ++UDEVADM=$ac_cv_path_UDEVADM ++if test -n "$UDEVADM"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEVADM" >&5 ++$as_echo "$UDEVADM" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "udevsettle", so it can be a program name with args. ++set dummy udevsettle; 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_UDEVSETTLE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $UDEVSETTLE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_UDEVSETTLE="$UDEVSETTLE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_UDEVSETTLE="$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 ++UDEVSETTLE=$ac_cv_path_UDEVSETTLE ++if test -n "$UDEVSETTLE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEVSETTLE" >&5 ++$as_echo "$UDEVSETTLE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "modprobe", so it can be a program name with args. ++set dummy modprobe; 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_MODPROBE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MODPROBE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_MODPROBE="$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 ++MODPROBE=$ac_cv_path_MODPROBE ++if test -n "$MODPROBE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MODPROBE" >&5 ++$as_echo "$MODPROBE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DNSMASQ "$DNSMASQ" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define BRCTL "$BRCTL" ++_ACEOF ++ ++if test -n "$UDEVADM"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define UDEVADM "$UDEVADM" ++_ACEOF ++ ++fi ++if test -n "$UDEVSETTLE"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define UDEVSETTLE "$UDEVSETTLE" ++_ACEOF ++ ++fi ++if test -n "$MODPROBE"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define MODPROBE "$MODPROBE" ++_ACEOF ++ ++fi ++ ++ ++@%:@ Check whether --with-html-dir was given. ++if test "${with_html_dir+set}" = set; then : ++ withval=$with_html_dir; HTML_DIR=$withval ++else ++ HTML_DIR='$(datadir)/doc' ++fi ++ ++ ++ ++@%:@ Check whether --with-html-subdir was given. ++if test "${with_html_subdir+set}" = set; then : ++ withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval" ++else ++ HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" ++fi ++ ++ ++ ++ ++if test "$prefix" = "/usr" -a "$localstatedir" = '${prefix}/var' ; then ++ localstatedir='/var' ++fi ++if test "$prefix" = "/usr" -a "$sysconfdir" = '${prefix}/etc' ; then ++ sysconfdir='/etc' ++fi ++ ++ ++ ++@%:@ Check whether --with-xen was given. ++if test "${with_xen+set}" = set; then : ++ withval=$with_xen; ++else ++ with_xen=yes ++fi ++ ++ ++@%:@ Check whether --with-xen-inotify was given. ++if test "${with_xen_inotify+set}" = set; then : ++ withval=$with_xen_inotify; ++else ++ with_xen_inotify=check ++fi ++ ++ ++@%:@ Check whether --with-qemu was given. ++if test "${with_qemu+set}" = set; then : ++ withval=$with_qemu; ++else ++ with_qemu=yes ++fi ++ ++ ++@%:@ Check whether --with-uml was given. ++if test "${with_uml+set}" = set; then : ++ withval=$with_uml; ++else ++ with_uml=check ++fi ++ ++ ++@%:@ Check whether --with-openvz was given. ++if test "${with_openvz+set}" = set; then : ++ withval=$with_openvz; ++else ++ with_openvz=yes ++fi ++ ++ ++@%:@ Check whether --with-libssh was given. ++if test "${with_libssh+set}" = set; then : ++ withval=$with_libssh; ++else ++ with_libssh=yes ++fi ++ ++ ++@%:@ Check whether --with-phyp was given. ++if test "${with_phyp+set}" = set; then : ++ withval=$with_phyp; ++else ++ with_phyp=check ++fi ++ ++ ++@%:@ Check whether --with-vbox was given. ++if test "${with_vbox+set}" = set; then : ++ withval=$with_vbox; ++else ++ with_vbox=yes ++fi ++ ++ ++@%:@ Check whether --with-lxc was given. ++if test "${with_lxc+set}" = set; then : ++ withval=$with_lxc; ++else ++ with_lxc=check ++fi ++ ++ ++@%:@ Check whether --with-one was given. ++if test "${with_one+set}" = set; then : ++ withval=$with_one; ++else ++ with_one=check ++fi ++ ++ ++@%:@ Check whether --with-esx was given. ++if test "${with_esx+set}" = set; then : ++ withval=$with_esx; ++else ++ with_esx=check ++fi ++ ++ ++@%:@ Check whether --with-test was given. ++if test "${with_test+set}" = set; then : ++ withval=$with_test; ++else ++ with_test=yes ++fi ++ ++ ++@%:@ Check whether --with-remote was given. ++if test "${with_remote+set}" = set; then : ++ withval=$with_remote; ++else ++ with_remote=yes ++fi ++ ++ ++@%:@ Check whether --with-libvirtd was given. ++if test "${with_libvirtd+set}" = set; then : ++ withval=$with_libvirtd; ++else ++ with_libvirtd=yes ++fi ++ ++ ++if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/libvirt" ] ; then ++ STATIC_BINARIES="-static" ++else ++ STATIC_BINARIES= ++fi ++ ++ ++@%:@ Check whether --enable-debug was given. ++if test "${enable_debug+set}" = set; then : ++ enableval=$enable_debug; ++else ++ enable_debug=yes ++fi ++ ++ if test x"$enable_debug" = x"yes"; then ++ ENABLE_DEBUG_TRUE= ++ ENABLE_DEBUG_FALSE='#' ++else ++ ENABLE_DEBUG_TRUE='#' ++ ENABLE_DEBUG_FALSE= ++fi ++ ++if test x"$enable_debug" = x"yes"; then ++ ++$as_echo "@%:@define ENABLE_DEBUG /**/" >>confdefs.h ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to write libvirtd PID file" >&5 ++$as_echo_n "checking where to write libvirtd PID file... " >&6; } ++ ++@%:@ Check whether --with-remote-pid-file was given. ++if test "${with_remote_pid_file+set}" = set; then : ++ withval=$with_remote_pid_file; ++fi ++ ++if test "x$with_remote_pid_file" == "x" ; then ++ REMOTE_PID_FILE="$localstatedir/run/libvirtd.pid" ++elif test "x$with_remote_pid_file" == "xnone" ; then ++ REMOTE_PID_FILE="" ++else ++ REMOTE_PID_FILE="$with_remote_pid_file" ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $REMOTE_PID_FILE" >&5 ++$as_echo "$REMOTE_PID_FILE" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for init script flavor" >&5 ++$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; ++fi ++ ++if test "x$with_init_scripts" = "x" -o "x$with_init_scripts" = "xauto"; then ++ if test -f /etc/redhat-release ; then ++ with_init_scripts=redhat ++ else ++ with_init_scripts=none ++ fi ++fi ++ if test x$with_init_scripts = xredhat; then ++ LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE= ++ LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE='#' ++else ++ LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE='#' ++ LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE= ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_init_scripts" >&5 ++$as_echo "$with_init_scripts" >&6; } ++ ++ ++@%:@ Check whether --with-rhel5-api was given. ++if test "${with_rhel5_api+set}" = set; then : ++ withval=$with_rhel5_api; ++fi ++ ++if test x"$with_rhel5_api" = x"yes"; then ++ ++$as_echo "@%:@define WITH_RHEL5_API 1" >>confdefs.h ++ ++fi ++ ++@%:@ Check whether --enable-iptables-lokkit was given. ++if test "${enable_iptables_lokkit+set}" = set; then : ++ enableval=$enable_iptables_lokkit; ++else ++ enable_iptables_lokkit=check ++fi ++ ++if test x"$enable_iptables_lokkit" != x"no"; then ++ # Extract the first word of "lokkit", so it can be a program name with args. ++set dummy lokkit; 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_LOKKIT_PATH+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LOKKIT_PATH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LOKKIT_PATH="$LOKKIT_PATH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/usr/sbin:$PATH" ++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_LOKKIT_PATH="$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 ++LOKKIT_PATH=$ac_cv_path_LOKKIT_PATH ++if test -n "$LOKKIT_PATH"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOKKIT_PATH" >&5 ++$as_echo "$LOKKIT_PATH" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++ ++if test x"$enable_iptables_lokkit" = x"yes" -a x"$LOKKIT_PATH" = x; then ++ as_fn_error "Cannot find lokkit and --enable-iptables-lokkit specified" "$LINENO" 5 ++fi ++ ++if test x"$LOKKIT_PATH" != x; then ++ ++$as_echo "@%:@define ENABLE_IPTABLES_LOKKIT /**/" >>confdefs.h ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LOKKIT_PATH "$LOKKIT_PATH" ++_ACEOF ++ ++fi ++ ++# Extract the first word of "iptables", so it can be a program name with args. ++set dummy iptables; 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_IPTABLES_PATH+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $IPTABLES_PATH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_IPTABLES_PATH="$IPTABLES_PATH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/usr/sbin:$PATH" ++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_IPTABLES_PATH="$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 ++ ++ test -z "$ac_cv_path_IPTABLES_PATH" && ac_cv_path_IPTABLES_PATH="/sbin/iptables" ++ ;; ++esac ++fi ++IPTABLES_PATH=$ac_cv_path_IPTABLES_PATH ++if test -n "$IPTABLES_PATH"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPTABLES_PATH" >&5 ++$as_echo "$IPTABLES_PATH" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define IPTABLES_PATH "$IPTABLES_PATH" ++_ACEOF ++ ++ ++if test "$with_openvz" = "yes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_OPENVZ 1 ++_ACEOF ++ ++fi ++ if test "$with_openvz" = "yes"; then ++ WITH_OPENVZ_TRUE= ++ WITH_OPENVZ_FALSE='#' ++else ++ WITH_OPENVZ_TRUE='#' ++ WITH_OPENVZ_FALSE= ++fi ++ ++ ++if test "x$with_vbox" = "xyes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_VBOX 1 ++_ACEOF ++ ++fi ++ if test "$with_vbox" = "yes"; then ++ WITH_VBOX_TRUE= ++ WITH_VBOX_FALSE='#' ++else ++ WITH_VBOX_TRUE='#' ++ WITH_VBOX_FALSE= ++fi ++ ++ ++if test "$with_libvirtd" = "no" ; then ++ with_qemu=no ++fi ++if test "$with_qemu" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_QEMU 1 ++_ACEOF ++ ++fi ++ if test "$with_qemu" = "yes"; then ++ WITH_QEMU_TRUE= ++ WITH_QEMU_FALSE='#' ++else ++ WITH_QEMU_TRUE='#' ++ WITH_QEMU_FALSE= ++fi ++ ++ ++if test "$with_one" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_ONE 1 ++_ACEOF ++ ++fi ++ if test "$with_one" = "yes"; then ++ WITH_ONE_TRUE= ++ WITH_ONE_FALSE='#' ++else ++ WITH_ONE_TRUE='#' ++ WITH_ONE_FALSE= ++fi ++ ++ ++if test "$with_test" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_TEST 1 ++_ACEOF ++ ++fi ++ if test "$with_test" = "yes"; then ++ WITH_TEST_TRUE= ++ WITH_TEST_FALSE='#' ++else ++ WITH_TEST_TRUE='#' ++ WITH_TEST_FALSE= ++fi ++ ++ ++if test "$with_remote" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_REMOTE 1 ++_ACEOF ++ ++fi ++ if test "$with_remote" = "yes"; then ++ WITH_REMOTE_TRUE= ++ WITH_REMOTE_FALSE='#' ++else ++ WITH_REMOTE_TRUE='#' ++ WITH_REMOTE_FALSE= ++fi ++ ++ ++if test "$with_libvirtd" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_LIBVIRTD 1 ++_ACEOF ++ ++fi ++ if test "$with_libvirtd" = "yes"; then ++ WITH_LIBVIRTD_TRUE= ++ WITH_LIBVIRTD_FALSE='#' ++else ++ WITH_LIBVIRTD_TRUE='#' ++ WITH_LIBVIRTD_FALSE= ++fi ++ ++ ++XEN_LIBS="" ++XEN_CFLAGS="" ++if test "$with_xen" != "no" ; then ++ if test "$with_xen" != "yes" -a "$with_xen" != "check" ; then ++ XEN_CFLAGS="-I$with_xen/include" ++ 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:${as_lineno-$LINENO}: checking for xs_read in -lxenstore" >&5 ++$as_echo_n "checking for xs_read in -lxenstore... " >&6; } ++if test "${ac_cv_lib_xenstore_xs_read+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lxenstore $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char xs_read (); ++int ++main () ++{ ++return xs_read (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_xenstore_xs_read=yes ++else ++ ac_cv_lib_xenstore_xs_read=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xenstore_xs_read" >&5 ++$as_echo "$ac_cv_lib_xenstore_xs_read" >&6; } ++if test "x$ac_cv_lib_xenstore_xs_read" = x""yes; then : ++ ++ with_xen=yes ++ XEN_LIBS="$XEN_LIBS -lxenstore" ++ ++else ++ ++ if test "$with_xen" = "check" ; then ++ with_xen=no ++ else ++ with_xen=no ++ fail=1 ++ fi ++ ++fi ++ ++ ++ test $fail = 1 && ++ as_fn_error "You must install the Xen development package to compile Xen driver with -lxenstore" "$LINENO" 5 ++ ++ for ac_header in xen/xen.h xen/version.h xen/dom0_ops.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include ++#include ++ ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++else ++ ++ as_fn_error "Cannot find standard Xen headers. Is xen-devel installed?" "$LINENO" 5 ++ ++fi ++ ++done ++ ++ ++ for ac_header in xen/sys/privcmd.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "xen/sys/privcmd.h" "ac_cv_header_xen_sys_privcmd_h" "#include ++#include ++#include ++ ++" ++if test "x$ac_cv_header_xen_sys_privcmd_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_XEN_SYS_PRIVCMD_H 1 ++_ACEOF ++ ++else ++ ++ for ac_header in xen/linux/privcmd.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "xen/linux/privcmd.h" "ac_cv_header_xen_linux_privcmd_h" "#include ++#include ++#include ++ ++" ++if test "x$ac_cv_header_xen_linux_privcmd_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_XEN_LINUX_PRIVCMD_H 1 ++_ACEOF ++ ++else ++ ++ as_fn_error "Cannot find header file or . Is xen-devel installed?" "$LINENO" 5 ++ ++fi ++ ++done ++ ++ ++fi ++ ++done ++ ++ LIBS="$old_LIBS" ++ CFLAGS="$old_CFLAGS" ++fi ++if test "$with_xen" = "yes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_XEN 1 ++_ACEOF ++ ++fi ++ if test "$with_xen" = "yes"; then ++ WITH_XEN_TRUE= ++ WITH_XEN_FALSE='#' ++else ++ WITH_XEN_TRUE='#' ++ WITH_XEN_FALSE= ++fi ++ ++ ++ ++ ++if test "$with_xen" != "yes"; then ++ with_xen_inotify=no ++fi ++if test "$with_xen_inotify" != "no"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : ++ ++ with_xen_inotify=yes ++ ++else ++ ++ if test "$with_xen_inotify" = "check"; then ++ with_xen_inotify=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Header file is required for Xen Inotify support, disabling it" >&5 ++$as_echo "$as_me: Header file is required for Xen Inotify support, disabling it" >&6;} ++ else ++ as_fn_error "Header file is required for Xen Inotify support!" "$LINENO" 5 ++ fi ++ 0 ++fi ++ ++ ++fi ++if test "$with_xen_inotify" = "yes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_XEN_INOTIFY 1 ++_ACEOF ++ ++fi ++ if test "$with_xen_inotify" = "yes"; then ++ WITH_XEN_INOTIFY_TRUE= ++ WITH_XEN_INOTIFY_FALSE='#' ++else ++ WITH_XEN_INOTIFY_TRUE='#' ++ WITH_XEN_INOTIFY_FALSE= ++fi ++ ++ ++for ac_header in linux/kvm.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "linux/kvm.h" "ac_cv_header_linux_kvm_h" "$ac_includes_default" ++if test "x$ac_cv_header_linux_kvm_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LINUX_KVM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++if test "$with_lxc" = "yes" -o "$with_lxc" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default" ++if test "x$ac_cv_header_sched_h" = x""yes; then : ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#define _GNU_SOURCE ++ #include ++int ++main () ++{ ++ ++ unshare (1); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++ with_lxc=yes ++ ++else ++ ++ if test "$with_lxc" = "check"; then ++ with_lxc=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Function unshare() not present in header but required for LXC driver, disabling it" >&5 ++$as_echo "$as_me: Function unshare() not present in header but required for LXC driver, disabling it" >&6;} ++ else ++ as_fn_error "Function unshare() not present in header, but required for LXC driver" "$LINENO" 5 ++ fi ++ ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++ ++else ++ ++ if test "$with_lxc" = "check"; then ++ with_lxc=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Header not found but required for LXC driver, disabling it" >&5 ++$as_echo "$as_me: Header not found but required for LXC driver, disabling it" >&6;} ++ else ++ as_fn_error "Header not found but required for LXC driver" "$LINENO" 5 ++ fi ++ ++ ++fi ++ ++ ++fi ++if test "$with_libvirtd" = "no" ; then ++ with_lxc=no ++fi ++if test "$with_lxc" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_LXC 1 ++_ACEOF ++ ++fi ++ if test "$with_lxc" = "yes"; then ++ WITH_LXC_TRUE= ++ WITH_LXC_FALSE='#' ++else ++ WITH_LXC_TRUE='#' ++ WITH_LXC_FALSE= ++fi ++ ++ ++ ++if test "$with_qemu" = "yes" -o "$with_lxc" = "yes" ; then ++ for ac_header in linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++else ++ as_fn_error "You must install kernel-headers in order to compile libvirt" "$LINENO" 5 ++fi ++ ++done ++ ++fi ++ ++ ++ ++XMLRPC_REQUIRED=1.14.0 ++ ++XMLRPC_CFLAGS= ++XMLRPC_LIBS= ++if test "x$with_one" = "xyes" -o "x$with_one" = "xcheck"; then ++ ++ ++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; 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_PKG_CONFIG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_PKG_CONFIG="$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 ++PKG_CONFIG=$ac_cv_path_PKG_CONFIG ++if test -n "$PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 ++$as_echo "$PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKG_CONFIG"; then ++ ac_pt_PKG_CONFIG=$PKG_CONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; 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_ac_pt_PKG_CONFIG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ac_pt_PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_ac_pt_PKG_CONFIG="$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 ++ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG ++if test -n "$ac_pt_PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 ++$as_echo "$ac_pt_PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKG_CONFIG" = x; then ++ PKG_CONFIG="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKG_CONFIG=$ac_pt_PKG_CONFIG ++ fi ++else ++ PKG_CONFIG="$ac_cv_path_PKG_CONFIG" ++fi ++ ++fi ++if test -n "$PKG_CONFIG"; then ++ _pkg_min_version=0.9.0 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 ++$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } ++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; 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; } ++ PKG_CONFIG="" ++ fi ++ ++fi ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMLRPC" >&5 ++$as_echo_n "checking for XMLRPC... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$XMLRPC_CFLAGS"; then ++ pkg_cv_XMLRPC_CFLAGS="$XMLRPC_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmlrpc_client >= \$XMLRPC_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_XMLRPC_CFLAGS=`$PKG_CONFIG --cflags "xmlrpc_client >= $XMLRPC_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$XMLRPC_LIBS"; then ++ pkg_cv_XMLRPC_LIBS="$XMLRPC_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmlrpc_client >= \$XMLRPC_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_XMLRPC_LIBS=`$PKG_CONFIG --libs "xmlrpc_client >= $XMLRPC_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ XMLRPC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED"` ++ else ++ XMLRPC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$XMLRPC_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_one" = "xcheck" ; then ++ with_one=no ++ else ++ as_fn_error "You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_one" = "xcheck" ; then ++ with_one=no ++ else ++ as_fn_error "You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" "$LINENO" 5 ++ fi ++ ++else ++ XMLRPC_CFLAGS=$pkg_cv_XMLRPC_CFLAGS ++ XMLRPC_LIBS=$pkg_cv_XMLRPC_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_one=yes ++fi ++ if test "x$with_one" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_XMLRPC 1 ++_ACEOF ++ ++ fi ++fi ++ if test "x$with_one" = "xyes"; then ++ HAVE_XMLRPC_TRUE= ++ HAVE_XMLRPC_FALSE='#' ++else ++ HAVE_XMLRPC_TRUE='#' ++ HAVE_XMLRPC_FALSE= ++fi ++ ++ if test "x$with_one" = "xyes"; then ++ WITH_ONE_TRUE= ++ WITH_ONE_FALSE='#' ++else ++ WITH_ONE_TRUE='#' ++ WITH_ONE_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++ ++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; 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_PKG_CONFIG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_PKG_CONFIG="$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 ++PKG_CONFIG=$ac_cv_path_PKG_CONFIG ++if test -n "$PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 ++$as_echo "$PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKG_CONFIG"; then ++ ac_pt_PKG_CONFIG=$PKG_CONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; 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_ac_pt_PKG_CONFIG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ac_pt_PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_ac_pt_PKG_CONFIG="$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 ++ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG ++if test -n "$ac_pt_PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 ++$as_echo "$ac_pt_PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKG_CONFIG" = x; then ++ PKG_CONFIG="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKG_CONFIG=$ac_pt_PKG_CONFIG ++ fi ++else ++ PKG_CONFIG="$ac_cv_path_PKG_CONFIG" ++fi ++ ++fi ++if test -n "$PKG_CONFIG"; then ++ _pkg_min_version=0.9.0 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 ++$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } ++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; 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; } ++ PKG_CONFIG="" ++ fi ++ ++fi ++ ++LIBXML_CONFIG="xml2-config" ++LIBXML_CFLAGS="" ++LIBXML_LIBS="" ++LIBXML_FOUND="no" ++ ++ ++@%:@ Check whether --with-libxml was given. ++if test "${with_libxml+set}" = set; then : ++ withval=$with_libxml; ++fi ++ ++if test "x$with_libxml" = "xno" ; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 libraries >= $LIBXML_REQUIRED" >&5 ++$as_echo_n "checking for libxml2 libraries >= $LIBXML_REQUIRED... " >&6; } ++ as_fn_error "libxml2 >= $LIBXML_REQUIRED is required for libvirt" "$LINENO" 5 ++elif test "x$with_libxml" = "x" -a "x$PKG_CONFIG" != "x" ; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5 ++$as_echo_n "checking for LIBXML... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBXML_CFLAGS"; then ++ pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBXML_LIBS"; then ++ pkg_cv_LIBXML_LIBS="$LIBXML_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML_REQUIRED"` ++ else ++ LIBXML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$LIBXML_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ LIBXML_FOUND=no ++elif test $pkg_failed = untried; then ++ LIBXML_FOUND=no ++else ++ LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS ++ LIBXML_LIBS=$pkg_cv_LIBXML_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ LIBXML_FOUND=yes ++fi ++fi ++if test "$LIBXML_FOUND" = "no" ; then ++ if test "x$with_libxml" != "x" ; then ++ LIBXML_CONFIG=$with_libxml/bin/$LIBXML_CONFIG ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking libxml2 $LIBXML_CONFIG >= $LIBXML_REQUIRED " >&5 ++$as_echo_n "checking libxml2 $LIBXML_CONFIG >= $LIBXML_REQUIRED ... " >&6; } ++ if ! $LIBXML_CONFIG --version > /dev/null 2>&1 ; then ++ as_fn_error "Could not find libxml2 anywhere (see config.log for details)." "$LINENO" 5 ++ fi ++ vers=`$LIBXML_CONFIG --version | awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` ++ minvers=`echo $LIBXML_REQUIRED | awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` ++ if test "$vers" -ge "$minvers" ; then ++ LIBXML_LIBS="`$LIBXML_CONFIG --libs`" ++ LIBXML_CFLAGS="`$LIBXML_CONFIG --cflags`" ++ LIBXML_FOUND="yes" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ else ++ as_fn_error "You need at least libxml2 $LIBXML_REQUIRED for this version of libvirt" "$LINENO" 5 ++ fi ++fi ++ ++ ++ ++ ++old_cflags="$CFLAGS" ++old_ldflags="$LDFLAGS" ++CFLAGS="$CFLAGS $LIBXML_CFLAGS" ++LDFLAGS="$LDFLAGS $LIBXML_LIBS" ++ac_fn_c_check_member "$LINENO" "struct _xmlURI" "query_raw" "ac_cv_member_struct__xmlURI_query_raw" "#include ++" ++if test "x$ac_cv_member_struct__xmlURI_query_raw" = x""yes; then : ++ ++$as_echo "@%:@define HAVE_XMLURI_QUERY_RAW /**/" >>confdefs.h ++ ++fi ++ ++CFLAGS="$old_cflags" ++LDFLAGS="$old_ldflags" ++ ++GNUTLS_CFLAGS= ++GNUTLS_LIBS= ++GNUTLS_FOUND=no ++if test -z "$PKG_CONFIG" ; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 ++$as_echo_n "checking for GNUTLS... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GNUTLS_CFLAGS"; then ++ pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GNUTLS_LIBS"; then ++ pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnutls >= $GNUTLS_REQUIRED"` ++ else ++ GNUTLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= $GNUTLS_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$GNUTLS_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ GNUTLS_FOUND=no ++elif test $pkg_failed = untried; then ++ GNUTLS_FOUND=no ++else ++ GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS ++ GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ GNUTLS_FOUND=yes ++fi ++fi ++if test "$GNUTLS_FOUND" = "no"; then ++ fail=0 ++ old_libs="$LIBS" ++ ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" ++if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_handshake in -lgnutls" >&5 ++$as_echo_n "checking for gnutls_handshake in -lgnutls... " >&6; } ++if test "${ac_cv_lib_gnutls_gnutls_handshake+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lgnutls -lgcrypt $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gnutls_handshake (); ++int ++main () ++{ ++return gnutls_handshake (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_gnutls_gnutls_handshake=yes ++else ++ ac_cv_lib_gnutls_gnutls_handshake=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_handshake" >&5 ++$as_echo "$ac_cv_lib_gnutls_gnutls_handshake" >&6; } ++if test "x$ac_cv_lib_gnutls_gnutls_handshake" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBGNUTLS 1 ++_ACEOF ++ ++ LIBS="-lgnutls $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ ++ test $fail = 1 && ++ as_fn_error "You must install the GnuTLS library in order to compile and run libvirt" "$LINENO" 5 ++ ++ GNUTLS_LIBS=$LIBS ++ LIBS="$old_libs" ++fi ++ ++ ++ ++ ++old_cflags="$CFLAGS" ++old_ldflags="$LDFLAGS" ++CFLAGS="$CFLAGS $GNUTLS_CFLAGS" ++LDFLAGS="$LDFLAGS $GNUTLS_LIBS" ++ac_fn_c_check_type "$LINENO" "gnutls_session" "ac_cv_type_gnutls_session" "#include ++" ++if test "x$ac_cv_type_gnutls_session" = x""yes; then : ++ ++$as_echo "@%:@define GNUTLS_1_0_COMPAT /**/" >>confdefs.h ++ ++fi ++ ++CFLAGS="$old_cflags" ++LDFLAGS="$old_ldflags" ++ ++ ++ ++@%:@ Check whether --with-sasl was given. ++if test "${with_sasl+set}" = set; then : ++ withval=$with_sasl; ++else ++ with_sasl=check ++fi ++ ++ ++SASL_CFLAGS= ++SASL_LIBS= ++if test "x$with_sasl" != "xno"; then ++ if test "x$with_sasl" != "xyes" -a "x$with_sasl" != "xcheck"; then ++ SASL_CFLAGS="-I$with_sasl" ++ SASL_LIBS="-L$with_sasl" ++ fi ++ fail=0 ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ CFLAGS="$CFLAGS $SASL_CFLAGS" ++ LIBS="$LIBS $SASL_LIBS" ++ ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sasl_sasl_h" = x""yes; then : ++ ++else ++ ++ if test "x$with_sasl" != "xcheck" ; then ++ with_sasl=no ++ else ++ fail=1 ++ fi ++fi ++ ++ ++ if test "x$with_sasl" != "xno" ; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl2" >&5 ++$as_echo_n "checking for sasl_client_init in -lsasl2... " >&6; } ++if test "${ac_cv_lib_sasl2_sasl_client_init+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsasl2 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char sasl_client_init (); ++int ++main () ++{ ++return sasl_client_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_sasl2_sasl_client_init=yes ++else ++ ac_cv_lib_sasl2_sasl_client_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_client_init" >&5 ++$as_echo "$ac_cv_lib_sasl2_sasl_client_init" >&6; } ++if test "x$ac_cv_lib_sasl2_sasl_client_init" = x""yes; then : ++ ++ SASL_LIBS="$SASL_LIBS -lsasl2" ++ with_sasl=yes ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl" >&5 ++$as_echo_n "checking for sasl_client_init in -lsasl... " >&6; } ++if test "${ac_cv_lib_sasl_sasl_client_init+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsasl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char sasl_client_init (); ++int ++main () ++{ ++return sasl_client_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_sasl_sasl_client_init=yes ++else ++ ac_cv_lib_sasl_sasl_client_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl_sasl_client_init" >&5 ++$as_echo "$ac_cv_lib_sasl_sasl_client_init" >&6; } ++if test "x$ac_cv_lib_sasl_sasl_client_init" = x""yes; then : ++ ++ SASL_LIBS="$SASL_LIBS -lsasl" ++ with_sasl=yes ++ ++else ++ ++ if test "x$with_sasl" = "xcheck" ; then ++ with_sasl=no ++ else ++ fail=1 ++ fi ++ ++fi ++ ++ ++fi ++ ++ fi ++ test $fail = 1 && ++ as_fn_error "You must install the Cyrus SASL development package in order to compile libvirt" "$LINENO" 5 ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++ if test "x$with_sasl" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SASL 1 ++_ACEOF ++ ++ fi ++fi ++ if test "x$with_sasl" = "xyes"; then ++ HAVE_SASL_TRUE= ++ HAVE_SASL_FALSE='#' ++else ++ HAVE_SASL_TRUE='#' ++ HAVE_SASL_FALSE= ++fi ++ ++ ++ ++ ++ ++POLKIT_CFLAGS= ++POLKIT_LIBS= ++ ++@%:@ Check whether --with-polkit was given. ++if test "${with_polkit+set}" = set; then : ++ withval=$with_polkit; ++else ++ with_polkit=check ++fi ++ ++ ++if test "x$with_polkit" = "xyes" -o "x$with_polkit" = "xcheck"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5 ++$as_echo_n "checking for POLKIT... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$POLKIT_CFLAGS"; then ++ pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= \$POLKIT_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "polkit-dbus >= $POLKIT_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-dbus >= $POLKIT_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$POLKIT_LIBS"; then ++ pkg_cv_POLKIT_LIBS="$POLKIT_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= \$POLKIT_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "polkit-dbus >= $POLKIT_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-dbus >= $POLKIT_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "polkit-dbus >= $POLKIT_REQUIRED"` ++ else ++ POLKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "polkit-dbus >= $POLKIT_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$POLKIT_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_polkit" = "xcheck" ; then ++ with_polkit=no ++ else ++ as_fn_error "You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_polkit" = "xcheck" ; then ++ with_polkit=no ++ else ++ as_fn_error "You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS ++ POLKIT_LIBS=$pkg_cv_POLKIT_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_polkit=yes ++fi ++ if test "x$with_polkit" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POLKIT 1 ++_ACEOF ++ ++ ++ old_CFLAGS=$CFLAGS ++ old_LDFLAGS=$LDFLAGS ++ CFLAGS="$CFLAGS $POLKIT_CFLAGS" ++ LDFLAGS="$LDFLAGS $POLKIT_LIBS" ++ for ac_func in polkit_context_is_caller_authorized ++do : ++ ac_fn_c_check_func "$LINENO" "polkit_context_is_caller_authorized" "ac_cv_func_polkit_context_is_caller_authorized" ++if test "x$ac_cv_func_polkit_context_is_caller_authorized" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED 1 ++_ACEOF ++ ++fi ++done ++ ++ CFLAGS="$old_CFLAGS" ++ LDFLAGS="$old_LDFLAGS" ++ ++ # Extract the first word of "polkit-auth", so it can be a program name with args. ++set dummy polkit-auth; 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_POLKIT_AUTH+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $POLKIT_AUTH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_POLKIT_AUTH="$POLKIT_AUTH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_POLKIT_AUTH="$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 ++POLKIT_AUTH=$ac_cv_path_POLKIT_AUTH ++if test -n "$POLKIT_AUTH"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POLKIT_AUTH" >&5 ++$as_echo "$POLKIT_AUTH" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "x$POLKIT_AUTH" != "x"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define POLKIT_AUTH "$POLKIT_AUTH" ++_ACEOF ++ ++ fi ++ fi ++fi ++ if test "x$with_polkit" = "xyes"; then ++ HAVE_POLKIT_TRUE= ++ HAVE_POLKIT_FALSE='#' ++else ++ HAVE_POLKIT_TRUE='#' ++ HAVE_POLKIT_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-avahi was given. ++if test "${with_avahi+set}" = set; then : ++ withval=$with_avahi; ++else ++ with_avahi=check ++fi ++ ++ ++AVAHI_CFLAGS= ++AVAHI_LIBS= ++if test "x$with_avahi" = "xyes" -o "x$with_avahi" = "xcheck"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVAHI" >&5 ++$as_echo_n "checking for AVAHI... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$AVAHI_CFLAGS"; then ++ pkg_cv_AVAHI_CFLAGS="$AVAHI_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= \$AVAHI_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "avahi-client >= $AVAHI_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_AVAHI_CFLAGS=`$PKG_CONFIG --cflags "avahi-client >= $AVAHI_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$AVAHI_LIBS"; then ++ pkg_cv_AVAHI_LIBS="$AVAHI_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= \$AVAHI_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "avahi-client >= $AVAHI_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_AVAHI_LIBS=`$PKG_CONFIG --libs "avahi-client >= $AVAHI_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ AVAHI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "avahi-client >= $AVAHI_REQUIRED"` ++ else ++ AVAHI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "avahi-client >= $AVAHI_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$AVAHI_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_avahi" = "xcheck" ; then ++ with_avahi=no ++ else ++ as_fn_error "You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_avahi" = "xcheck" ; then ++ with_avahi=no ++ else ++ as_fn_error "You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ AVAHI_CFLAGS=$pkg_cv_AVAHI_CFLAGS ++ AVAHI_LIBS=$pkg_cv_AVAHI_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_avahi=yes ++fi ++ if test "x$with_avahi" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_AVAHI 1 ++_ACEOF ++ ++ fi ++fi ++ if test "x$with_avahi" = "xyes"; then ++ HAVE_AVAHI_TRUE= ++ HAVE_AVAHI_FALSE='#' ++else ++ HAVE_AVAHI_TRUE='#' ++ HAVE_AVAHI_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-selinux was given. ++if test "${with_selinux+set}" = set; then : ++ withval=$with_selinux; ++else ++ with_selinux=check ++fi ++ ++ ++SELINUX_CFLAGS= ++SELINUX_LIBS= ++if test "$with_selinux" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_selinux" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" ++if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then : ++ ++else ++ with_selinux=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetfilecon in -lselinux" >&5 ++$as_echo_n "checking for fgetfilecon in -lselinux... " >&6; } ++if test "${ac_cv_lib_selinux_fgetfilecon+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lselinux $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char fgetfilecon (); ++int ++main () ++{ ++return fgetfilecon (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_selinux_fgetfilecon=yes ++else ++ ac_cv_lib_selinux_fgetfilecon=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_fgetfilecon" >&5 ++$as_echo "$ac_cv_lib_selinux_fgetfilecon" >&6; } ++if test "x$ac_cv_lib_selinux_fgetfilecon" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBSELINUX 1 ++_ACEOF ++ ++ LIBS="-lselinux $LIBS" ++ ++else ++ with_selinux=no ++fi ++ ++ if test "$with_selinux" != "no"; then ++ with_selinux="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" ++if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetfilecon in -lselinux" >&5 ++$as_echo_n "checking for fgetfilecon in -lselinux... " >&6; } ++if test "${ac_cv_lib_selinux_fgetfilecon+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lselinux $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char fgetfilecon (); ++int ++main () ++{ ++return fgetfilecon (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_selinux_fgetfilecon=yes ++else ++ ac_cv_lib_selinux_fgetfilecon=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_fgetfilecon" >&5 ++$as_echo "$ac_cv_lib_selinux_fgetfilecon" >&6; } ++if test "x$ac_cv_lib_selinux_fgetfilecon" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBSELINUX 1 ++_ACEOF ++ ++ LIBS="-lselinux $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_selinux" = "yes"; then ++ SELINUX_LIBS="-lselinux" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SELINUX 1 ++_ACEOF ++ ++fi ++ if test "$with_selinux" != "no"; then ++ HAVE_SELINUX_TRUE= ++ HAVE_SELINUX_FALSE='#' ++else ++ HAVE_SELINUX_TRUE='#' ++ HAVE_SELINUX_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --with-secdriver-selinux was given. ++if test "${with_secdriver_selinux+set}" = set; then : ++ withval=$with_secdriver_selinux; ++else ++ with_secdriver_selinux=check ++fi ++ ++ ++if test "$with_selinux" != "yes" ; then ++ if test "$with_secdriver_selinux" = "check" ; then ++ with_secdriver_selinux=no ++ else ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 ++ fi ++else ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ CFLAGS="$CFLAGS $SELINUX_CFLAGS" ++ LIBS="$CFLAGS $SELINUX_LIBS" ++ ++ fail=0 ++ ac_fn_c_check_func "$LINENO" "selinux_virtual_domain_context_path" "ac_cv_func_selinux_virtual_domain_context_path" ++if test "x$ac_cv_func_selinux_virtual_domain_context_path" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ac_fn_c_check_func "$LINENO" "selinux_virtual_image_context_path" "ac_cv_func_selinux_virtual_image_context_path" ++if test "x$ac_cv_func_selinux_virtual_image_context_path" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++ ++ if test "$fail" = "1" ; then ++ if test "$with_secdriver_selinux" = "check" ; then ++ with_secdriver_selinux=no ++ else ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ else ++ with_secdriver_selinux=yes ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_SECDRIVER_SELINUX 1 ++_ACEOF ++ ++ fi ++fi ++ if test "$with_secdriver_selinux" != "no"; then ++ WITH_SECDRIVER_SELINUX_TRUE= ++ WITH_SECDRIVER_SELINUX_FALSE='#' ++else ++ WITH_SECDRIVER_SELINUX_TRUE='#' ++ WITH_SECDRIVER_SELINUX_FALSE= ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-apparmor was given. ++if test "${with_apparmor+set}" = set; then : ++ withval=$with_apparmor; ++else ++ with_apparmor=check ++fi ++ ++ ++APPARMOR_CFLAGS= ++APPARMOR_LIBS= ++if test "$with_apparmor" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_apparmor" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/apparmor.h" "ac_cv_header_sys_apparmor_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_apparmor_h" = x""yes; then : ++ ++else ++ with_apparmor=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_profile in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_profile in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_profile+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_profile (); ++int ++main () ++{ ++return aa_change_profile (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_profile=yes ++else ++ ac_cv_lib_apparmor_aa_change_profile=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_profile" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_profile" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBAPPARMOR 1 ++_ACEOF ++ ++ LIBS="-lapparmor $LIBS" ++ ++else ++ with_apparmor=no ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_hat in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_hat in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_hat+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_hat (); ++int ++main () ++{ ++return aa_change_hat (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_hat=yes ++else ++ ac_cv_lib_apparmor_aa_change_hat=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_hat" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_hat" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_hat" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBAPPARMOR 1 ++_ACEOF ++ ++ LIBS="-lapparmor $LIBS" ++ ++else ++ with_apparmor=no ++fi ++ ++ if test "$with_apparmor" != "no"; then ++ with_apparmor="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/apparmor.h" "ac_cv_header_sys_apparmor_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_apparmor_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_profile in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_profile in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_profile+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_profile (); ++int ++main () ++{ ++return aa_change_profile (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_profile=yes ++else ++ ac_cv_lib_apparmor_aa_change_profile=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_profile" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_profile" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBAPPARMOR 1 ++_ACEOF ++ ++ LIBS="-lapparmor $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_hat in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_hat in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_hat+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_hat (); ++int ++main () ++{ ++return aa_change_hat (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_hat=yes ++else ++ ac_cv_lib_apparmor_aa_change_hat=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_hat" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_hat" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_hat" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBAPPARMOR 1 ++_ACEOF ++ ++ LIBS="-lapparmor $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_apparmor" = "yes"; then ++ APPARMOR_LIBS="-lapparmor" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_APPARMOR 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define APPARMOR_DIR "/etc/apparmor.d" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define APPARMOR_PROFILES_PATH "/sys/kernel/security/apparmor/profiles" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VIRT_AA_HELPER_PATH "$prefix/bin/virt-aa-helper" ++_ACEOF ++ ++fi ++ if test "$with_apparmor" != "no"; then ++ HAVE_APPARMOR_TRUE= ++ HAVE_APPARMOR_FALSE='#' ++else ++ HAVE_APPARMOR_TRUE='#' ++ HAVE_APPARMOR_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --with-secdriver-apparmor was given. ++if test "${with_secdriver_apparmor+set}" = set; then : ++ withval=$with_secdriver_apparmor; ++else ++ with_secdriver_apparmor=check ++fi ++ ++ ++if test "$with_apparmor" != "yes" ; then ++ if test "$with_secdriver_apparmor" = "check" ; then ++ with_secdriver_apparmor=no ++ else ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++else ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ CFLAGS="$CFLAGS $APPARMOR_CFLAGS" ++ LIBS="$CFLAGS $APPARMOR_LIBS" ++ ++ fail=0 ++ ac_fn_c_check_func "$LINENO" "change_hat" "ac_cv_func_change_hat" ++if test "x$ac_cv_func_change_hat" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ac_fn_c_check_func "$LINENO" "aa_change_profile" "ac_cv_func_aa_change_profile" ++if test "x$ac_cv_func_aa_change_profile" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++ ++ if test "$fail" = "1" ; then ++ if test "$with_secdriver_apparmor" = "check" ; then ++ with_secdriver_apparmor=no ++ else ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ else ++ with_secdriver_apparmor=yes ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_SECDRIVER_APPARMOR 1 ++_ACEOF ++ ++ fi ++fi ++ if test "$with_secdriver_apparmor" != "no"; then ++ WITH_SECDRIVER_APPARMOR_TRUE= ++ WITH_SECDRIVER_APPARMOR_FALSE='#' ++else ++ WITH_SECDRIVER_APPARMOR_TRUE='#' ++ WITH_SECDRIVER_APPARMOR_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-numactl was given. ++if test "${with_numactl+set}" = set; then : ++ withval=$with_numactl; ++else ++ with_numactl=check ++fi ++ ++ ++NUMACTL_CFLAGS= ++NUMACTL_LIBS= ++if test "$with_qemu" = "yes" -a "$with_numactl" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_numactl" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default" ++if test "x$ac_cv_header_numa_h" = x""yes; then : ++ ++else ++ with_numactl=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for numa_available in -lnuma" >&5 ++$as_echo_n "checking for numa_available in -lnuma... " >&6; } ++if test "${ac_cv_lib_numa_numa_available+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnuma $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char numa_available (); ++int ++main () ++{ ++return numa_available (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_numa_numa_available=yes ++else ++ ac_cv_lib_numa_numa_available=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_numa_available" >&5 ++$as_echo "$ac_cv_lib_numa_numa_available" >&6; } ++if test "x$ac_cv_lib_numa_numa_available" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBNUMA 1 ++_ACEOF ++ ++ LIBS="-lnuma $LIBS" ++ ++else ++ with_numactl=no ++fi ++ ++ if test "$with_numactl" != "no"; then ++ with_numactl="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default" ++if test "x$ac_cv_header_numa_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for numa_available in -lnuma" >&5 ++$as_echo_n "checking for numa_available in -lnuma... " >&6; } ++if test "${ac_cv_lib_numa_numa_available+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnuma $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char numa_available (); ++int ++main () ++{ ++return numa_available (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_numa_numa_available=yes ++else ++ ac_cv_lib_numa_numa_available=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_numa_available" >&5 ++$as_echo "$ac_cv_lib_numa_numa_available" >&6; } ++if test "x$ac_cv_lib_numa_numa_available" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBNUMA 1 ++_ACEOF ++ ++ LIBS="-lnuma $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must install the numactl development package in order to compile and run libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_numactl" = "yes"; then ++ NUMACTL_LIBS="-lnuma" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_NUMACTL 1 ++_ACEOF ++ ++fi ++ if test "$with_numactl" != "no"; then ++ HAVE_NUMACTL_TRUE= ++ HAVE_NUMACTL_FALSE='#' ++else ++ HAVE_NUMACTL_TRUE='#' ++ HAVE_NUMACTL_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++if test "$with_uml" = "yes" -o "$with_uml" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : ++ ++ with_uml=yes ++ ++else ++ ++ if test "$with_uml" = "check"; then ++ with_uml=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: is required for the UML driver, disabling it" >&5 ++$as_echo "$as_me: is required for the UML driver, disabling it" >&6;} ++ else ++ as_fn_error "The is required for the UML driver. Upgrade your libc6." "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++fi ++if test "$with_libvirtd" = "no" ; then ++ with_uml=no ++fi ++if test "$with_uml" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_UML 1 ++_ACEOF ++ ++fi ++ if test "$with_uml" = "yes"; then ++ WITH_UML_TRUE= ++ WITH_UML_FALSE='#' ++else ++ WITH_UML_TRUE='#' ++ WITH_UML_FALSE= ++fi ++ ++ ++ ++ ++ ++if test "$with_libssh" != "yes" -a "$with_libssh" != "no"; then ++ libssh_path="$with_libssh" ++elif test "$with_libssh" = "yes"; then ++ libssh_path="/usr/local/lib/" ++elif test "$with_libssh" = "no"; then ++ with_phyp="no"; ++fi ++ ++if test "$with_phyp" = "check"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5 ++$as_echo_n "checking for ssh_new in -lssh... " >&6; } ++if test "${ac_cv_lib_ssh_ssh_new+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lssh $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ssh_new (); ++int ++main () ++{ ++return ssh_new (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ssh_ssh_new=yes ++else ++ ac_cv_lib_ssh_ssh_new=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5 ++$as_echo "$ac_cv_lib_ssh_ssh_new" >&6; } ++if test "x$ac_cv_lib_ssh_ssh_new" = x""yes; then : ++ ++ LIBSSH_LIBS="$LIBSSH_LIBS -lssh -L$libssh_path" ++ ++else ++ ++ with_phyp="no" ++ with_libssh="no"; ++ ++fi ++ ++ ++ if test "$with_phyp" != "no"; then ++ for ac_header in libssh/libssh.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "libssh/libssh.h" "ac_cv_header_libssh_libssh_h" "$ac_includes_default" ++if test "x$ac_cv_header_libssh_libssh_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBSSH_LIBSSH_H 1 ++_ACEOF ++ ++ with_phyp="yes" ++ LIBSSH_CFLAGS="-I/usr/local/include/libssh" ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_PHYP 1 ++_ACEOF ++ ++ ++else ++ ++ with_phyp="no" ++ with_libssh="no"; ++ ++fi ++ ++done ++ ++ fi ++elif test "$with_phyp" = "yes"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5 ++$as_echo_n "checking for ssh_new in -lssh... " >&6; } ++if test "${ac_cv_lib_ssh_ssh_new+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lssh $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ssh_new (); ++int ++main () ++{ ++return ssh_new (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ssh_ssh_new=yes ++else ++ ac_cv_lib_ssh_ssh_new=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5 ++$as_echo "$ac_cv_lib_ssh_ssh_new" >&6; } ++if test "x$ac_cv_lib_ssh_ssh_new" = x""yes; then : ++ ++ LIBSSH_LIBS="$LIBSSH_LIBS -lssh -L$libssh_path" ++ ++else ++ ++ as_fn_error "You must install the libssh to compile Phype driver." "$LINENO" 5 ++ ++fi ++ ++ ++ for ac_header in libssh/libssh.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "libssh/libssh.h" "ac_cv_header_libssh_libssh_h" "$ac_includes_default" ++if test "x$ac_cv_header_libssh_libssh_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBSSH_LIBSSH_H 1 ++_ACEOF ++ ++ LIBSSH_CFLAGS="-I/usr/local/include/libssh" ++ ++else ++ ++ as_fn_error "Cannot find libssh headers.Is libssh installed ?" "$LINENO" 5 ++ ++fi ++ ++done ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_PHYP 1 ++_ACEOF ++ ++fi ++ if test "$with_phyp" = "yes"; then ++ WITH_PHYP_TRUE= ++ WITH_PHYP_FALSE='#' ++else ++ WITH_PHYP_TRUE='#' ++ WITH_PHYP_FALSE= ++fi ++ ++ ++ ++@%:@ Check whether --with-capng was given. ++if test "${with_capng+set}" = set; then : ++ withval=$with_capng; ++else ++ with_capng=check ++fi ++ ++ ++CAPNG_CFLAGS= ++CAPNG_LIBS= ++if test "$with_qemu" = "yes" -a "$with_capng" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_capng" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default" ++if test "x$ac_cv_header_cap_ng_h" = x""yes; then : ++ ++else ++ with_capng=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_updatev in -lcap-ng" >&5 ++$as_echo_n "checking for capng_updatev in -lcap-ng... " >&6; } ++if test "${ac_cv_lib_cap_ng_capng_updatev+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lcap-ng $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char capng_updatev (); ++int ++main () ++{ ++return capng_updatev (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_cap_ng_capng_updatev=yes ++else ++ ac_cv_lib_cap_ng_capng_updatev=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_updatev" >&5 ++$as_echo "$ac_cv_lib_cap_ng_capng_updatev" >&6; } ++if test "x$ac_cv_lib_cap_ng_capng_updatev" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBCAP_NG 1 ++_ACEOF ++ ++ LIBS="-lcap-ng $LIBS" ++ ++else ++ with_capng=no ++fi ++ ++ if test "$with_capng" != "no"; then ++ with_capng="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default" ++if test "x$ac_cv_header_cap_ng_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_updatev in -lcap-ng" >&5 ++$as_echo_n "checking for capng_updatev in -lcap-ng... " >&6; } ++if test "${ac_cv_lib_cap_ng_capng_updatev+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lcap-ng $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char capng_updatev (); ++int ++main () ++{ ++return capng_updatev (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_cap_ng_capng_updatev=yes ++else ++ ac_cv_lib_cap_ng_capng_updatev=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_updatev" >&5 ++$as_echo "$ac_cv_lib_cap_ng_capng_updatev" >&6; } ++if test "x$ac_cv_lib_cap_ng_capng_updatev" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBCAP_NG 1 ++_ACEOF ++ ++ LIBS="-lcap-ng $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must install the capng >= 0.4.0 development package in order to compile and run libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_capng" = "yes"; then ++ CAPNG_LIBS="-lcap-ng" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_CAPNG 1 ++_ACEOF ++ ++fi ++ if test "$with_capng" != "no"; then ++ HAVE_CAPNG_TRUE= ++ HAVE_CAPNG_FALSE='#' ++else ++ HAVE_CAPNG_TRUE='#' ++ HAVE_CAPNG_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++for ac_header in readline/readline.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" ++if test "x$ac_cv_header_readline_readline_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_READLINE_READLINE_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++# Check for readline. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 ++$as_echo_n "checking for readline in -lreadline... " >&6; } ++if test "${ac_cv_lib_readline_readline+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lreadline $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char readline (); ++int ++main () ++{ ++return readline (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_readline_readline=yes ++else ++ ac_cv_lib_readline_readline=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 ++$as_echo "$ac_cv_lib_readline_readline" >&6; } ++if test "x$ac_cv_lib_readline_readline" = x""yes; then : ++ lv_use_readline=yes; VIRSH_LIBS="$VIRSH_LIBS -lreadline" ++else ++ lv_use_readline=no ++fi ++ ++ ++# If the above test failed, it may simply be that -lreadline requires ++# some termcap-related code, e.g., from one of the following libraries. ++# See if adding one of them to LIBS helps. ++if test $lv_use_readline = no; then ++ lv_saved_libs=$LIBS ++ LIBS= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5 ++$as_echo_n "checking for library containing tgetent... " >&6; } ++if test "${ac_cv_search_tgetent+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char tgetent (); ++int ++main () ++{ ++return tgetent (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' ncurses curses termcap termlib; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_tgetent=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_tgetent+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_tgetent+set}" = set; then : ++ ++else ++ ac_cv_search_tgetent=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5 ++$as_echo "$ac_cv_search_tgetent" >&6; } ++ac_res=$ac_cv_search_tgetent ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++fi ++ ++ case $LIBS in ++ no*) ;; # handle "no" and "none required" ++ *) # anything else is a -lLIBRARY ++ # Now, check for -lreadline again, also using $LIBS. ++ # Note: this time we use a different function, so that ++ # we don't get a cached "no" result. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_initialize in -lreadline" >&5 ++$as_echo_n "checking for rl_initialize in -lreadline... " >&6; } ++if test "${ac_cv_lib_readline_rl_initialize+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lreadline $LIBS $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char rl_initialize (); ++int ++main () ++{ ++return rl_initialize (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_readline_rl_initialize=yes ++else ++ ac_cv_lib_readline_rl_initialize=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_initialize" >&5 ++$as_echo "$ac_cv_lib_readline_rl_initialize" >&6; } ++if test "x$ac_cv_lib_readline_rl_initialize" = x""yes; then : ++ lv_use_readline=yes ++ VIRSH_LIBS="$VIRSH_LIBS -lreadline $LIBS" ++fi ++ ++ ;; ++ esac ++ test $lv_use_readline = no && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: readline library not found" >&5 ++$as_echo "$as_me: WARNING: readline library not found" >&2;} ++ LIBS=$lv_saved_libs ++fi ++ ++if test $lv_use_readline = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define USE_READLINE 1 ++_ACEOF ++ ++ READLINE_CFLAGS=-DUSE_READLINE ++else ++ READLINE_CFLAGS= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-network was given. ++if test "${with_network+set}" = set; then : ++ withval=$with_network; ++else ++ with_network=yes ++fi ++ ++if test "$with_libvirtd" = "no" ; then ++ with_network=no ++fi ++if test "$with_network" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_NETWORK 1 ++_ACEOF ++ ++fi ++ if test "$with_network" = "yes"; then ++ WITH_NETWORK_TRUE= ++ WITH_NETWORK_FALSE='#' ++else ++ WITH_NETWORK_TRUE='#' ++ WITH_NETWORK_FALSE= ++fi ++ ++ ++with_bridge=no ++if test "$with_qemu:$with_lxc:$with_network" != "no:no:no"; then ++ with_bridge=yes ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_BRIDGE 1 ++_ACEOF ++ ++fi ++ if test "$with_bridge" = "yes"; then ++ WITH_BRIDGE_TRUE= ++ WITH_BRIDGE_FALSE='#' ++else ++ WITH_BRIDGE_TRUE='#' ++ WITH_BRIDGE_FALSE= ++fi ++ ++ ++ ++@%:@ Check whether --with-netcf was given. ++if test "${with_netcf+set}" = set; then : ++ withval=$with_netcf; ++else ++ with_netcf=check ++fi ++ ++ ++NETCF_CFLAGS= ++NETCF_LIBS= ++if test "$with_netcf" = "yes" -o "$with_netcf" = "check"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NETCF" >&5 ++$as_echo_n "checking for NETCF... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$NETCF_CFLAGS"; then ++ pkg_cv_NETCF_CFLAGS="$NETCF_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"netcf >= \$NETCF_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "netcf >= $NETCF_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_NETCF_CFLAGS=`$PKG_CONFIG --cflags "netcf >= $NETCF_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$NETCF_LIBS"; then ++ pkg_cv_NETCF_LIBS="$NETCF_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"netcf >= \$NETCF_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "netcf >= $NETCF_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_NETCF_LIBS=`$PKG_CONFIG --libs "netcf >= $NETCF_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ NETCF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "netcf >= $NETCF_REQUIRED"` ++ else ++ NETCF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "netcf >= $NETCF_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$NETCF_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "$with_netcf" = "check" ; then ++ with_netcf=no ++ else ++ as_fn_error "You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "$with_netcf" = "check" ; then ++ with_netcf=no ++ else ++ as_fn_error "You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ NETCF_CFLAGS=$pkg_cv_NETCF_CFLAGS ++ NETCF_LIBS=$pkg_cv_NETCF_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_netcf=yes ++fi ++ if test "$with_netcf" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_NETCF 1 ++_ACEOF ++ ++ fi ++fi ++ if test "$with_netcf" = "yes"; then ++ WITH_NETCF_TRUE= ++ WITH_NETCF_FALSE='#' ++else ++ WITH_NETCF_TRUE='#' ++ WITH_NETCF_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-storage-fs was given. ++if test "${with_storage_fs+set}" = set; then : ++ withval=$with_storage_fs; ++else ++ with_storage_fs=check ++fi ++ ++ ++@%:@ Check whether --with-storage-lvm was given. ++if test "${with_storage_lvm+set}" = set; then : ++ withval=$with_storage_lvm; ++else ++ with_storage_lvm=check ++fi ++ ++ ++@%:@ Check whether --with-storage-iscsi was given. ++if test "${with_storage_iscsi+set}" = set; then : ++ withval=$with_storage_iscsi; ++else ++ with_storage_iscsi=check ++fi ++ ++ ++@%:@ Check whether --with-storage-scsi was given. ++if test "${with_storage_scsi+set}" = set; then : ++ withval=$with_storage_scsi; ++else ++ with_storage_scsi=check ++fi ++ ++ ++@%:@ Check whether --with-storage-disk was given. ++if test "${with_storage_disk+set}" = set; then : ++ withval=$with_storage_disk; ++else ++ with_storage_disk=check ++fi ++ ++ ++with_storage_dir=yes ++if test "$with_libvirtd" = "no"; then ++ with_storage_dir=no ++ with_storage_fs=no ++ with_storage_lvm=no ++ with_storage_iscsi=no ++ with_storage_scsi=no ++ with_storage_disk=no ++fi ++if test "$with_storage_dir" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_DIR 1 ++_ACEOF ++ ++fi ++ if test "$with_storage_dir" = "yes"; then ++ WITH_STORAGE_DIR_TRUE= ++ WITH_STORAGE_DIR_FALSE='#' ++else ++ WITH_STORAGE_DIR_TRUE='#' ++ WITH_STORAGE_DIR_FALSE= ++fi ++ ++ ++ ++if test "$with_storage_fs" = "yes" -o "$with_storage_fs" = "check"; then ++ # Extract the first word of "mount", so it can be a program name with args. ++set dummy mount; 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_MOUNT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MOUNT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MOUNT="$MOUNT" # 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_MOUNT="$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 ++MOUNT=$ac_cv_path_MOUNT ++if test -n "$MOUNT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOUNT" >&5 ++$as_echo "$MOUNT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "umount", so it can be a program name with args. ++set dummy umount; 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_UMOUNT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $UMOUNT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_UMOUNT="$UMOUNT" # 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_UMOUNT="$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 ++UMOUNT=$ac_cv_path_UMOUNT ++if test -n "$UMOUNT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UMOUNT" >&5 ++$as_echo "$UMOUNT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "$with_storage_fs" = "yes" ; then ++ if test -z "$MOUNT" ; then as_fn_error "We need mount for FS storage driver" "$LINENO" 5 ; fi ++ if test -z "$UMOUNT" ; then as_fn_error "We need umount for FS storage driver" "$LINENO" 5 ; fi ++ else ++ if test -z "$MOUNT" ; then with_storage_fs=no ; fi ++ if test -z "$UMOUNT" ; then with_storage_fs=no ; fi ++ ++ if test "$with_storage_fs" = "check" ; then with_storage_fs=yes ; fi ++ fi ++ ++ if test "$with_storage_fs" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_FS 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define MOUNT "$MOUNT" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define UMOUNT "$UMOUNT" ++_ACEOF ++ ++ fi ++fi ++ if test "$with_storage_fs" = "yes"; then ++ WITH_STORAGE_FS_TRUE= ++ WITH_STORAGE_FS_FALSE='#' ++else ++ WITH_STORAGE_FS_TRUE='#' ++ WITH_STORAGE_FS_FALSE= ++fi ++ ++if test "$with_storage_fs" = "yes"; then ++ # Extract the first word of "showmount", so it can be a program name with args. ++set dummy showmount; 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_SHOWMOUNT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $SHOWMOUNT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_SHOWMOUNT="$SHOWMOUNT" # 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_SHOWMOUNT="$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 ++SHOWMOUNT=$ac_cv_path_SHOWMOUNT ++if test -n "$SHOWMOUNT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHOWMOUNT" >&5 ++$as_echo "$SHOWMOUNT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define SHOWMOUNT "$SHOWMOUNT" ++_ACEOF ++ ++fi ++ ++if test "$with_storage_lvm" = "yes" -o "$with_storage_lvm" = "check"; then ++ # Extract the first word of "pvcreate", so it can be a program name with args. ++set dummy pvcreate; 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_PVCREATE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PVCREATE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PVCREATE="$PVCREATE" # 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_PVCREATE="$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 ++PVCREATE=$ac_cv_path_PVCREATE ++if test -n "$PVCREATE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVCREATE" >&5 ++$as_echo "$PVCREATE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "vgcreate", so it can be a program name with args. ++set dummy vgcreate; 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_VGCREATE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGCREATE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGCREATE="$VGCREATE" # 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_VGCREATE="$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 ++VGCREATE=$ac_cv_path_VGCREATE ++if test -n "$VGCREATE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGCREATE" >&5 ++$as_echo "$VGCREATE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "lvcreate", so it can be a program name with args. ++set dummy lvcreate; 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_LVCREATE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LVCREATE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LVCREATE="$LVCREATE" # 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_LVCREATE="$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 ++LVCREATE=$ac_cv_path_LVCREATE ++if test -n "$LVCREATE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVCREATE" >&5 ++$as_echo "$LVCREATE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "pvremove", so it can be a program name with args. ++set dummy pvremove; 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_PVREMOVE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PVREMOVE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PVREMOVE="$PVREMOVE" # 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_PVREMOVE="$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 ++PVREMOVE=$ac_cv_path_PVREMOVE ++if test -n "$PVREMOVE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVREMOVE" >&5 ++$as_echo "$PVREMOVE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "vgremove", so it can be a program name with args. ++set dummy vgremove; 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_VGREMOVE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGREMOVE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGREMOVE="$VGREMOVE" # 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_VGREMOVE="$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 ++VGREMOVE=$ac_cv_path_VGREMOVE ++if test -n "$VGREMOVE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGREMOVE" >&5 ++$as_echo "$VGREMOVE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "lvremove", so it can be a program name with args. ++set dummy lvremove; 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_LVREMOVE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LVREMOVE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LVREMOVE="$LVREMOVE" # 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_LVREMOVE="$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 ++LVREMOVE=$ac_cv_path_LVREMOVE ++if test -n "$LVREMOVE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVREMOVE" >&5 ++$as_echo "$LVREMOVE" >&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 ++$as_echo_n "checking for $ac_word... " >&6; } ++if test "${ac_cv_path_VGCHANGE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGCHANGE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGCHANGE="$VGCHANGE" # 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_VGCHANGE="$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 ++VGCHANGE=$ac_cv_path_VGCHANGE ++if test -n "$VGCHANGE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGCHANGE" >&5 ++$as_echo "$VGCHANGE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "vgscan", so it can be a program name with args. ++set dummy vgscan; 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_VGSCAN+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGSCAN in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGSCAN="$VGSCAN" # 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_VGSCAN="$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 ++VGSCAN=$ac_cv_path_VGSCAN ++if test -n "$VGSCAN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGSCAN" >&5 ++$as_echo "$VGSCAN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "pvs", so it can be a program name with args. ++set dummy pvs; 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_PVS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PVS in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PVS="$PVS" # 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_PVS="$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 ++PVS=$ac_cv_path_PVS ++if test -n "$PVS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVS" >&5 ++$as_echo "$PVS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "vgs", so it can be a program name with args. ++set dummy vgs; 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_VGS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGS in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGS="$VGS" # 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_VGS="$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 ++VGS=$ac_cv_path_VGS ++if test -n "$VGS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGS" >&5 ++$as_echo "$VGS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "lvs", so it can be a program name with args. ++set dummy lvs; 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_LVS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LVS in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LVS="$LVS" # 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_LVS="$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 ++LVS=$ac_cv_path_LVS ++if test -n "$LVS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVS" >&5 ++$as_echo "$LVS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ if test "$with_storage_lvm" = "yes" ; then ++ if test -z "$PVCREATE" ; then as_fn_error "We need pvcreate for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$VGCREATE" ; then as_fn_error "We need vgcreate for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$LVCREATE" ; then as_fn_error "We need lvcreate for LVM storage driver" "$LINENO" 5 ; 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 "$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 ++ if test -z "$VGS" ; then as_fn_error "We need vgs for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$LVS" ; then as_fn_error "We need lvs for LVM storage driver" "$LINENO" 5 ; fi ++ else ++ if test -z "$PVCREATE" ; then with_storage_lvm=no ; fi ++ if test -z "$VGCREATE" ; then with_storage_lvm=no ; fi ++ if test -z "$LVCREATE" ; then with_storage_lvm=no ; 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 "$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 ++ if test -z "$VGS" ; then with_storage_lvm=no ; fi ++ if test -z "$LVS" ; then with_storage_lvm=no ; fi ++ ++ if test "$with_storage_lvm" = "check" ; then with_storage_lvm=yes ; fi ++ fi ++ ++ if test "$with_storage_lvm" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_LVM 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PVCREATE "$PVCREATE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGCREATE "$VGCREATE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LVCREATE "$LVCREATE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PVREMOVE "$PVREMOVE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGREMOVE "$VGREMOVE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LVREMOVE "$LVREMOVE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGCHANGE "$VGCHANGE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGSCAN "$VGSCAN" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PVS "$PVS" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGS "$VGS" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LVS "$LVS" ++_ACEOF ++ ++ fi ++fi ++ if test "$with_storage_lvm" = "yes"; then ++ WITH_STORAGE_LVM_TRUE= ++ WITH_STORAGE_LVM_FALSE='#' ++else ++ WITH_STORAGE_LVM_TRUE='#' ++ WITH_STORAGE_LVM_FALSE= ++fi ++ ++ ++ ++ ++if test "$with_storage_iscsi" = "yes" -o "$with_storage_iscsi" = "check"; then ++ # Extract the first word of "iscsiadm", so it can be a program name with args. ++set dummy iscsiadm; 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_ISCSIADM+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ISCSIADM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ISCSIADM="$ISCSIADM" # 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_ISCSIADM="$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 ++ISCSIADM=$ac_cv_path_ISCSIADM ++if test -n "$ISCSIADM"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISCSIADM" >&5 ++$as_echo "$ISCSIADM" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "$with_storage_iscsi" = "yes" ; then ++ if test -z "$ISCSIADM" ; then as_fn_error "We need iscsiadm for iSCSI storage driver" "$LINENO" 5 ; fi ++ else ++ if test -z "$ISCSIADM" ; then with_storage_iscsi=no ; fi ++ ++ if test "$with_storage_iscsi" = "check" ; then with_storage_iscsi=yes ; fi ++ fi ++ ++ if test "$with_storage_iscsi" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_ISCSI 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define ISCSIADM "$ISCSIADM" ++_ACEOF ++ ++ fi ++fi ++ if test "$with_storage_iscsi" = "yes"; then ++ WITH_STORAGE_ISCSI_TRUE= ++ WITH_STORAGE_ISCSI_FALSE='#' ++else ++ WITH_STORAGE_ISCSI_TRUE='#' ++ WITH_STORAGE_ISCSI_FALSE= ++fi ++ ++ ++if test "$with_storage_scsi" = "check"; then ++ with_storage_scsi=yes ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_SCSI 1 ++_ACEOF ++ ++fi ++ if test "$with_storage_scsi" = "yes"; then ++ WITH_STORAGE_SCSI_TRUE= ++ WITH_STORAGE_SCSI_FALSE='#' ++else ++ WITH_STORAGE_SCSI_TRUE='#' ++ WITH_STORAGE_SCSI_FALSE= ++fi ++ ++ ++ ++LIBPARTED_CFLAGS= ++LIBPARTED_LIBS= ++if test "$with_storage_disk" = "yes" -o "$with_storage_disk" = "check"; then ++ # Extract the first word of "parted", so it can be a program name with args. ++set dummy parted; 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_PARTED+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PARTED in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PARTED="$PARTED" # 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_PARTED="$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 ++PARTED=$ac_cv_path_PARTED ++if test -n "$PARTED"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PARTED" >&5 ++$as_echo "$PARTED" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test -z "$PARTED" ; then ++ with_storage_disk=no ++ PARTED_FOUND=no ++ else ++ PARTED_FOUND=yes ++ fi ++ ++ if test "$with_storage_disk" != "no" -a "x$PKG_CONFIG" != "x" ; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPARTED" >&5 ++$as_echo_n "checking for LIBPARTED... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBPARTED_CFLAGS"; then ++ pkg_cv_LIBPARTED_CFLAGS="$LIBPARTED_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libparted >= \$PARTED_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libparted >= $PARTED_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBPARTED_CFLAGS=`$PKG_CONFIG --cflags "libparted >= $PARTED_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBPARTED_LIBS"; then ++ pkg_cv_LIBPARTED_LIBS="$LIBPARTED_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libparted >= \$PARTED_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libparted >= $PARTED_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBPARTED_LIBS=`$PKG_CONFIG --libs "libparted >= $PARTED_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ LIBPARTED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libparted >= $PARTED_REQUIRED"` ++ else ++ LIBPARTED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libparted >= $PARTED_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$LIBPARTED_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ PARTED_FOUND=no ++elif test $pkg_failed = untried; then ++ PARTED_FOUND=no ++else ++ LIBPARTED_CFLAGS=$pkg_cv_LIBPARTED_CFLAGS ++ LIBPARTED_LIBS=$pkg_cv_LIBPARTED_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ : ++fi ++ fi ++ if test "$PARTED_FOUND" = "no"; then ++ # RHEL-5 vintage parted is missing pkg-config files ++ save_LIBS="$LIBS" ++ save_CFLAGS="$CFLAGS" ++ PARTED_FOUND=yes ++ ac_fn_c_check_header_mongrel "$LINENO" "parted/parted.h" "ac_cv_header_parted_parted_h" "$ac_includes_default" ++if test "x$ac_cv_header_parted_parted_h" = x""yes; then : ++ ++else ++ PARTED_FOUND=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 ++$as_echo_n "checking for uuid_generate in -luuid... " >&6; } ++if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-luuid $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char uuid_generate (); ++int ++main () ++{ ++return uuid_generate (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_uuid_uuid_generate=yes ++else ++ ac_cv_lib_uuid_uuid_generate=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 ++$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } ++if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBUUID 1 ++_ACEOF ++ ++ LIBS="-luuid $LIBS" ++ ++else ++ PARTED_FOUND=no ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ped_device_read in -lparted" >&5 ++$as_echo_n "checking for ped_device_read in -lparted... " >&6; } ++if test "${ac_cv_lib_parted_ped_device_read+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lparted $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ped_device_read (); ++int ++main () ++{ ++return ped_device_read (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_parted_ped_device_read=yes ++else ++ ac_cv_lib_parted_ped_device_read=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_parted_ped_device_read" >&5 ++$as_echo "$ac_cv_lib_parted_ped_device_read" >&6; } ++if test "x$ac_cv_lib_parted_ped_device_read" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBPARTED 1 ++_ACEOF ++ ++ LIBS="-lparted $LIBS" ++ ++else ++ PARTED_FOUND=no ++fi ++ ++ LIBPARTED_LIBS="-luuid -lparted" ++ LIBS="$save_LIBS" ++ CFLAGS="$save_CFLAGS" ++ fi ++ ++ if test "$PARTED_FOUND" = "no" ; then ++ if test "$with_storage_disk" = "yes" ; then ++ as_fn_error "We need parted for disk storage driver" "$LINENO" 5 ++ else ++ with_storage_disk=no ++ fi ++ else ++ with_storage_disk=yes ++ fi ++ ++ if test "$with_storage_disk" = "yes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_DISK 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PARTED "$PARTED" ++_ACEOF ++ ++ fi ++fi ++ if test "$with_storage_disk" = "yes"; then ++ WITH_STORAGE_DISK_TRUE= ++ WITH_STORAGE_DISK_FALSE='#' ++else ++ WITH_STORAGE_DISK_TRUE='#' ++ WITH_STORAGE_DISK_FALSE= ++fi ++ ++ ++ ++ ++ ++LIBCURL_CFLAGS="" ++LIBCURL_LIBS="" ++LIBCURL_REQUIRED="7.18.0" ++LIBCURL_FOUND="no" ++ ++if test "$with_esx" = "yes" -o "$with_esx" = "check"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5 ++$as_echo_n "checking for LIBCURL... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBCURL_CFLAGS"; then ++ pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$LIBCURL_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libcurl >= $LIBCURL_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= $LIBCURL_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBCURL_LIBS"; then ++ pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$LIBCURL_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libcurl >= $LIBCURL_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= $LIBCURL_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl >= $LIBCURL_REQUIRED"` ++ else ++ LIBCURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl >= $LIBCURL_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$LIBCURL_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "$with_esx" = "check"; then ++ with_esx=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: libcurl is required for ESX driver, disabling it" >&5 ++$as_echo "$as_me: libcurl is required for ESX driver, disabling it" >&6;} ++ else ++ as_fn_error "libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "$with_esx" = "check"; then ++ with_esx=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: libcurl is required for ESX driver, disabling it" >&5 ++$as_echo "$as_me: libcurl is required for ESX driver, disabling it" >&6;} ++ else ++ as_fn_error "libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" "$LINENO" 5 ++ fi ++ ++else ++ LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS ++ LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++ LIBCURL_FOUND=yes ++ with_esx="yes" ++ ++fi ++fi ++if test "$with_esx" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_ESX 1 ++_ACEOF ++ ++fi ++ if test "$with_esx" = "yes"; then ++ WITH_ESX_TRUE= ++ WITH_ESX_FALSE='#' ++else ++ WITH_ESX_TRUE='#' ++ WITH_ESX_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++PYTHON_VERSION= ++PYTHON_INCLUDES= ++PYTHON_SITE_PACKAGES= ++PYTHON_TESTS= ++pythondir= ++if test "$with_python" != "no" ; then ++ if test -x "$with_python/bin/python" ++ then ++ echo Found python in $with_python/bin/python ++ PYTHON="$with_python/bin/python" ++ else ++ if test -x "$with_python" ++ then ++ echo Found python in $with_python ++ PYTHON="$with_python" ++ else ++ if test -x "$PYTHON" ++ then ++ echo Found python in environment PYTHON=$PYTHON ++ with_python=`$PYTHON -c "import sys; print sys.exec_prefix"` ++ else ++ # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. ++set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; 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_PYTHON+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PYTHON in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_PYTHON="$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 ++PYTHON=$ac_cv_path_PYTHON ++if test -n "$PYTHON"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 ++$as_echo "$PYTHON" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ fi ++ fi ++ fi ++ if test "$PYTHON" != "" ++ then ++ PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"` ++ echo Found Python version $PYTHON_VERSION ++ fi ++ if test "$PYTHON_VERSION" != "" ++ then ++ if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ ++ -d $with_python/lib/python$PYTHON_VERSION/site-packages ++ then ++ PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION ++ PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages ++ else ++ if test -r $prefix/include/python$PYTHON_VERSION/Python.h ++ then ++ PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION ++ PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages ++ else ++ if test -r /usr/include/python$PYTHON_VERSION/Python.h ++ then ++ PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION ++ PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages ++ else ++ echo could not find python$PYTHON_VERSION/Python.h ++ fi ++ fi ++ if test ! -d "$PYTHON_SITE_PACKAGES" ++ then ++ PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` ++ fi ++ fi ++ fi ++ if test "$with_python" != "" ++ then ++ pythondir='$(PYTHON_SITE_PACKAGES)' ++ else ++ pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' ++ fi ++else ++ PYTHON= ++fi ++ if test "$PYTHON_INCLUDES" != ""; then ++ WITH_PYTHON_TRUE= ++ WITH_PYTHON_FALSE='#' ++else ++ WITH_PYTHON_TRUE='#' ++ WITH_PYTHON_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this host is running a Xen kernel" >&5 ++$as_echo_n "checking whether this host is running a Xen kernel... " >&6; } ++RUNNING_XEN= ++if test -d /proc/sys/xen ++then ++ RUNNING_XEN=yes ++else ++ RUNNING_XEN=no ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNNING_XEN" >&5 ++$as_echo "$RUNNING_XEN" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible" >&5 ++$as_echo_n "checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible... " >&6; } ++RUNNING_XEND= ++if test -S /var/run/xend/xmlrpc.sock ++then ++ RUNNING_XEND=yes ++else ++ RUNNING_XEND=no ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNNING_XEND" >&5 ++$as_echo "$RUNNING_XEND" >&6; } ++ ++ if test "$RUNNING_XEN" != "no" -a "$RUNNING_XEND" != "no"; then ++ ENABLE_XEN_TESTS_TRUE= ++ ENABLE_XEN_TESTS_FALSE='#' ++else ++ ENABLE_XEN_TESTS_TRUE='#' ++ ENABLE_XEN_TESTS_FALSE= ++fi ++ ++ ++@%:@ Check whether --enable-test-coverage was given. ++if test "${enable_test_coverage+set}" = set; then : ++ enableval=$enable_test_coverage; case "${enableval}" in ++ yes|no) ;; ++ *) as_fn_error "bad value ${enableval} for test-coverage option" "$LINENO" 5 ;; ++ esac ++else ++ enableval=no ++fi ++ ++enable_coverage=$enableval ++ ++if test "${enable_coverage}" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -fprofile-arcs" >&5 ++$as_echo_n "checking whether compiler accepts -fprofile-arcs... " >&6; } ++ ++ ac_save_CFLAGS="$CFLAGS" ++ if test "-fprofile-arcs" = "-Werror" ; then ++ CFLAGS="$CFLAGS -fprofile-arcs" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS -fprofile-arcs" ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ has_option=yes ++else ++ has_option=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ COMPILER_FLAGS="$COMPILER_FLAGS -fprofile-arcs" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -ftest-coverage" >&5 ++$as_echo_n "checking whether compiler accepts -ftest-coverage... " >&6; } ++ ++ ac_save_CFLAGS="$CFLAGS" ++ if test "-ftest-coverage" = "-Werror" ; then ++ CFLAGS="$CFLAGS -ftest-coverage" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS -ftest-coverage" ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ has_option=yes ++else ++ has_option=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ COMPILER_FLAGS="$COMPILER_FLAGS -ftest-coverage" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ++ COVERAGE_CFLAGS=$COMPILER_FLAGS ++ ++ COVERAGE_LDFLAGS=$COMPILER_FLAGS ++ ++ COMPILER_FLAGS= ++fi ++ ++@%:@ Check whether --enable-test-oom was given. ++if test "${enable_test_oom+set}" = set; then : ++ enableval=$enable_test_oom; case "${enableval}" in ++ yes|no) ;; ++ *) as_fn_error "bad value ${enableval} for test-oom option" "$LINENO" 5 ;; ++ esac ++else ++ enableval=no ++fi ++ ++enable_oom=$enableval ++ ++if test "${enable_oom}" = yes; then ++ have_trace=yes ++ ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_execinfo_h" = x""yes; then : ++ ++else ++ have_trace=no ++fi ++ ++ ++ ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" ++if test "x$ac_cv_func_backtrace" = x""yes; then : ++ ++else ++ have_trace=no ++fi ++ ++ if test "$have_trace" = "yes"; then ++ ++$as_echo "@%:@define TEST_OOM_TRACE 1" >>confdefs.h ++ ++ fi ++ ++$as_echo "@%:@define TEST_OOM 1" >>confdefs.h ++ ++fi ++ ++ ++@%:@ Check whether --enable-test-locking was given. ++if test "${enable_test_locking+set}" = set; then : ++ enableval=$enable_test_locking; case "${enableval}" in ++ yes|no) ;; ++ *) as_fn_error "bad value ${enableval} for test-locking option" "$LINENO" 5 ;; ++ esac ++else ++ enableval=no ++fi ++ ++enable_locking=$enableval ++ ++if test "$enable_locking" = "yes"; then ++ LOCK_CHECKING_CFLAGS="-Dbool=char -D_Bool=char -save-temps" ++ ++fi ++ if test "$enable_locking" = "yes"; then ++ WITH_CIL_TRUE= ++ WITH_CIL_FALSE='#' ++else ++ WITH_CIL_TRUE='#' ++ WITH_CIL_FALSE= ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-xen-proxy was given. ++if test "${with_xen_proxy+set}" = set; then : ++ withval=$with_xen_proxy; ++else ++ with_xen_proxy=auto ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xen setuid proxy is needed" >&5 ++$as_echo_n "checking if Xen setuid proxy is needed... " >&6; } ++if test "$with_xen_proxy" = "auto"; then ++ if test "$with_polkit" = "yes"; then ++ with_xen_proxy="no" ++ else ++ with_xen_proxy="yes" ++ fi ++fi ++if test "$with_xen" != "yes"; then ++ with_xen_proxy="no" ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_xen_proxy" >&5 ++$as_echo "$with_xen_proxy" >&6; } ++ ++ if test "$with_xen_proxy" = "yes"; then ++ WITH_PROXY_TRUE= ++ WITH_PROXY_FALSE='#' ++else ++ WITH_PROXY_TRUE='#' ++ WITH_PROXY_FALSE= ++fi ++ ++if test "$with_xen_proxy" = "yes"; then ++ ++$as_echo "@%:@define WITH_PROXY 1" >>confdefs.h ++ ++fi ++ ++ if test "x$with_libvirtd" = "xyes"; then ++ WITH_LIBVIRTD_TRUE= ++ WITH_LIBVIRTD_FALSE='#' ++else ++ WITH_LIBVIRTD_TRUE='#' ++ WITH_LIBVIRTD_FALSE= ++fi ++ ++ ++ ++ ++ MKINSTALLDIRS= ++ if test -n "$ac_aux_dir"; then ++ case "$ac_aux_dir" in ++ /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; ++ *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; ++ esac ++ fi ++ if test -z "$MKINSTALLDIRS"; then ++ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 ++$as_echo_n "checking whether NLS is requested... " >&6; } ++ @%:@ Check whether --enable-nls was given. ++if test "${enable_nls+set}" = set; then : ++ enableval=$enable_nls; USE_NLS=$enableval ++else ++ USE_NLS=yes ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 ++$as_echo "$USE_NLS" >&6; } ++ ++ ++ ++ ++ ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "msgfmt", so it can be a program name with args. ++set dummy msgfmt; 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_MSGFMT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case "$MSGFMT" in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++ test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ++ ;; ++esac ++fi ++MSGFMT="$ac_cv_path_MSGFMT" ++if test "$MSGFMT" != ":"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 ++$as_echo "$MSGFMT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ # Extract the first word of "gmsgfmt", so it can be a program name with args. ++set dummy gmsgfmt; 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_GMSGFMT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $GMSGFMT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_GMSGFMT="$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 ++ ++ test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ++ ;; ++esac ++fi ++GMSGFMT=$ac_cv_path_GMSGFMT ++if test -n "$GMSGFMT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 ++$as_echo "$GMSGFMT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "xgettext", so it can be a program name with args. ++set dummy xgettext; 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_XGETTEXT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case "$XGETTEXT" in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++ test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ++ ;; ++esac ++fi ++XGETTEXT="$ac_cv_path_XGETTEXT" ++if test "$XGETTEXT" != ":"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 ++$as_echo "$XGETTEXT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ rm -f messages.po ++ ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "msgmerge", so it can be a program name with args. ++set dummy msgmerge; 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_MSGMERGE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case "$MSGMERGE" in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then ++ ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++ test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ++ ;; ++esac ++fi ++MSGMERGE="$ac_cv_path_MSGMERGE" ++if test "$MSGMERGE" != ":"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 ++$as_echo "$MSGMERGE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "$GMSGFMT" != ":"; then ++ if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && ++ (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ : ; ++ else ++ GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 ++$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } ++ GMSGFMT=":" ++ fi ++ fi ++ ++ if test "$XGETTEXT" != ":"; then ++ if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ : ; ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 ++$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } ++ XGETTEXT=":" ++ fi ++ rm -f messages.po ++ fi ++ ++ ac_config_commands="$ac_config_commands default-1" ++ ++ ++ ++ if test "X$prefix" = "XNONE"; then ++ acl_final_prefix="$ac_default_prefix" ++ else ++ acl_final_prefix="$prefix" ++ fi ++ if test "X$exec_prefix" = "XNONE"; then ++ acl_final_exec_prefix='${prefix}' ++ else ++ acl_final_exec_prefix="$exec_prefix" ++ fi ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-gnu-ld was given. ++if test "${with_gnu_ld+set}" = set; then : ++ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes ++else ++ with_gnu_ld=no ++fi ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 ++$as_echo_n "checking for ld used by GCC... " >&6; } ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [\\/]* | [A-Za-z]:[\\/]*) ++ re_direlt='/[^/][^/]*/\.\./' ++ # Canonicalize the path of ld ++ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ++ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++$as_echo_n "checking for GNU ld... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++$as_echo_n "checking for non-GNU ld... " >&6; } ++fi ++if test "${acl_cv_path_LD+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$LD"; then ++ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ++ for ac_dir in $PATH; do ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ acl_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some GNU ld's only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in ++ *GNU* | *'with BFD'*) ++ test "$with_gnu_ld" != no && break ;; ++ *) ++ test "$with_gnu_ld" != yes && break ;; ++ esac ++ fi ++ done ++ IFS="$ac_save_ifs" ++else ++ acl_cv_path_LD="$LD" # Let the user override the test with a path. ++fi ++fi ++ ++LD="$acl_cv_path_LD" ++if test -n "$LD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++$as_echo "$LD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ++if test "${acl_cv_prog_gnu_ld+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # I'd rather use --version here, but apparently some GNU ld's only accept -v. ++case `$LD -v 2>&1 &5 ++$as_echo "$acl_cv_prog_gnu_ld" >&6; } ++with_gnu_ld=$acl_cv_prog_gnu_ld ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 ++$as_echo_n "checking for shared library run path origin... " >&6; } ++if test "${acl_cv_rpath+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ++ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ++ . ./conftest.sh ++ rm -f ./conftest.sh ++ acl_cv_rpath=done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 ++$as_echo "$acl_cv_rpath" >&6; } ++ wl="$acl_cv_wl" ++ libext="$acl_cv_libext" ++ shlibext="$acl_cv_shlibext" ++ hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ++ hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ++ hardcode_direct="$acl_cv_hardcode_direct" ++ hardcode_minus_L="$acl_cv_hardcode_minus_L" ++ @%:@ Check whether --enable-rpath was given. ++if test "${enable_rpath+set}" = set; then : ++ enableval=$enable_rpath; : ++else ++ enable_rpath=yes ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libiconv-prefix was given. ++if test "${with_libiconv_prefix+set}" = set; then : ++ withval=$with_libiconv_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++ ++fi ++ ++ LIBICONV= ++ LTLIBICONV= ++ INCICONV= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='iconv ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ if test $use_additional = yes; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ++ found_dir="$additional_libdir" ++ found_so="$additional_libdir/lib$name.$shlibext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ else ++ if test -f "$additional_libdir/lib$name.$libext"; then ++ found_dir="$additional_libdir" ++ found_a="$additional_libdir/lib$name.$libext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then ++ found_dir="$dir" ++ found_so="$dir/lib$name.$shlibext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ else ++ if test -f "$dir/lib$name.$libext"; then ++ found_dir="$dir" ++ found_a="$dir/lib$name.$libext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$hardcode_direct" = yes; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" ++ else ++ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" ++ fi ++ if test "$hardcode_minus_L" != no; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" ++ else ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" ++ else ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */lib | */lib/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/lib"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/lib"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" ++ done ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 ++$as_echo_n "checking whether NLS is requested... " >&6; } ++ @%:@ Check whether --enable-nls was given. ++if test "${enable_nls+set}" = set; then : ++ enableval=$enable_nls; USE_NLS=$enableval ++else ++ USE_NLS=yes ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 ++$as_echo "$USE_NLS" >&6; } ++ ++ ++ ++ ++ LIBINTL= ++ LTLIBINTL= ++ POSUB= ++ ++ if test "$USE_NLS" = "yes"; then ++ gt_use_preinstalled_gnugettext=no ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 ++$as_echo_n "checking for GNU gettext in libc... " >&6; } ++if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++extern int _nl_msg_cat_cntr; ++extern int *_nl_domain_bindings; ++int ++main () ++{ ++bindtextdomain ("", ""); ++return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_func_gnugettext1_libc=yes ++else ++ gt_cv_func_gnugettext1_libc=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 ++$as_echo "$gt_cv_func_gnugettext1_libc" >&6; } ++ ++ if test "$gt_cv_func_gnugettext1_libc" != "yes"; then ++ ++ ++ ++ ++ ++ am_save_CPPFLAGS="$CPPFLAGS" ++ ++ for element in $INCICONV; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 ++$as_echo_n "checking for iconv... " >&6; } ++if test "${am_cv_func_iconv+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ am_cv_func_iconv="no, consider installing GNU libiconv" ++ am_cv_lib_iconv=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ am_cv_func_iconv=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test "$am_cv_func_iconv" != yes; then ++ am_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBICONV" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ am_cv_lib_iconv=yes ++ am_cv_func_iconv=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$am_save_LIBS" ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 ++$as_echo "$am_cv_func_iconv" >&6; } ++ if test "$am_cv_func_iconv" = yes; then ++ ++$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h ++ ++ fi ++ if test "$am_cv_lib_iconv" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 ++$as_echo_n "checking how to link with libiconv... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 ++$as_echo "$LIBICONV" >&6; } ++ else ++ CPPFLAGS="$am_save_CPPFLAGS" ++ LIBICONV= ++ LTLIBICONV= ++ fi ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libintl-prefix was given. ++if test "${with_libintl_prefix+set}" = set; then : ++ withval=$with_libintl_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++ ++fi ++ ++ LIBINTL= ++ LTLIBINTL= ++ INCINTL= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='intl ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ if test $use_additional = yes; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ++ found_dir="$additional_libdir" ++ found_so="$additional_libdir/lib$name.$shlibext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ else ++ if test -f "$additional_libdir/lib$name.$libext"; then ++ found_dir="$additional_libdir" ++ found_a="$additional_libdir/lib$name.$libext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then ++ found_dir="$dir" ++ found_so="$dir/lib$name.$shlibext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ else ++ if test -f "$dir/lib$name.$libext"; then ++ found_dir="$dir" ++ found_a="$dir/lib$name.$libext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$hardcode_direct" = yes; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" ++ else ++ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" ++ fi ++ if test "$hardcode_minus_L" != no; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" ++ else ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" ++ else ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */lib | */lib/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/lib"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/lib"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" ++ done ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 ++$as_echo_n "checking for GNU gettext in libintl... " >&6; } ++if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gt_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$CPPFLAGS $INCINTL" ++ gt_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBINTL" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++extern int _nl_msg_cat_cntr; ++extern ++#ifdef __cplusplus ++"C" ++#endif ++const char *_nl_expand_alias (); ++int ++main () ++{ ++bindtextdomain ("", ""); ++return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_func_gnugettext1_libintl=yes ++else ++ gt_cv_func_gnugettext1_libintl=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then ++ LIBS="$LIBS $LIBICONV" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++extern int _nl_msg_cat_cntr; ++extern ++#ifdef __cplusplus ++"C" ++#endif ++const char *_nl_expand_alias (); ++int ++main () ++{ ++bindtextdomain ("", ""); ++return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ LIBINTL="$LIBINTL $LIBICONV" ++ LTLIBINTL="$LTLIBINTL $LTLIBICONV" ++ gt_cv_func_gnugettext1_libintl=yes ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ fi ++ CPPFLAGS="$gt_save_CPPFLAGS" ++ LIBS="$gt_save_LIBS" ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 ++$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; } ++ fi ++ ++ if test "$gt_cv_func_gnugettext1_libc" = "yes" \ ++ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ ++ && test "$PACKAGE" != gettext-runtime \ ++ && test "$PACKAGE" != gettext-tools; }; then ++ gt_use_preinstalled_gnugettext=yes ++ else ++ LIBINTL= ++ LTLIBINTL= ++ INCINTL= ++ fi ++ ++ ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes" \ ++ || test "$nls_cv_use_gnu_gettext" = "yes"; then ++ ++$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h ++ ++ else ++ USE_NLS=no ++ fi ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 ++$as_echo_n "checking whether to use NLS... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 ++$as_echo "$USE_NLS" >&6; } ++ if test "$USE_NLS" = "yes"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 ++$as_echo_n "checking where the gettext function comes from... " >&6; } ++ if test "$gt_use_preinstalled_gnugettext" = "yes"; then ++ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then ++ gt_source="external libintl" ++ else ++ gt_source="libc" ++ fi ++ else ++ gt_source="included intl directory" ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 ++$as_echo "$gt_source" >&6; } ++ fi ++ ++ if test "$USE_NLS" = "yes"; then ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes"; then ++ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 ++$as_echo_n "checking how to link with libintl... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 ++$as_echo "$LIBINTL" >&6; } ++ ++ for element in $INCINTL; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ fi ++ ++ ++$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h ++ ++ fi ++ ++ POSUB=po ++ fi ++ ++ ++ ++ INTLLIBS="$LIBINTL" ++ ++ ++ ++ ++ ++ ++ALL_LINGUAS=`cd "$srcdir/po" > /dev/null && ls *.po | sed 's+\.po$++'` ++ ++CYGWIN_EXTRA_LDFLAGS= ++CYGWIN_EXTRA_LIBADD= ++CYGWIN_EXTRA_PYTHON_LIBADD= ++MINGW_EXTRA_LDFLAGS= ++case "$host" in ++ *-*-cygwin*) ++ CYGWIN_EXTRA_LDFLAGS="-no-undefined" ++ CYGWIN_EXTRA_LIBADD="${INTLLIBS}" ++ if test "x$PYTHON_VERSION" != "x"; then ++ CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}" ++ fi ++ ;; ++ *-*-mingw*) ++ MINGW_EXTRA_LDFLAGS="-no-undefined" ++ ;; ++esac ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. ++set dummy ${ac_tool_prefix}windres; 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_prog_WINDRES+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$WINDRES"; then ++ ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_WINDRES="${ac_tool_prefix}windres" ++ $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 ++ ++fi ++fi ++WINDRES=$ac_cv_prog_WINDRES ++if test -n "$WINDRES"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 ++$as_echo "$WINDRES" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_WINDRES"; then ++ ac_ct_WINDRES=$WINDRES ++ # Extract the first word of "windres", so it can be a program name with args. ++set dummy windres; 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_prog_ac_ct_WINDRES+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_WINDRES"; then ++ ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_WINDRES="windres" ++ $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 ++ ++fi ++fi ++ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES ++if test -n "$ac_ct_WINDRES"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 ++$as_echo "$ac_ct_WINDRES" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_WINDRES" = x; then ++ WINDRES="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ WINDRES=$ac_ct_WINDRES ++ fi ++else ++ WINDRES="$ac_cv_prog_WINDRES" ++fi ++ ++ if test "$WINDRES" != "no"; then ++ WITH_WIN_ICON_TRUE= ++ WITH_WIN_ICON_FALSE='#' ++else ++ WITH_WIN_ICON_TRUE='#' ++ WITH_WIN_ICON_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-driver-modules was given. ++if test "${with_driver_modules+set}" = set; then : ++ withval=$with_driver_modules; ++else ++ with_driver_modules=no ++fi ++ ++ ++DRIVER_MODULES_CFLAGS= ++DRIVER_MODULES_LIBS= ++if test "x$with_driver_modules" = "xyes" ; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" ++if test "x$ac_cv_header_dlfcn_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dl_dlopen=yes ++else ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBDL 1 ++_ACEOF ++ ++ LIBS="-ldl $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must have dlfcn.h / dlopen() support to build driver modules" "$LINENO" 5 ++ ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_driver_modules" = "yes"; then ++ DRIVER_MODULES_CFLAGS="-export-dynamic" ++ DRIVER_MODULES_LIBS="-ldl" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_DRIVER_MODULES 1 ++_ACEOF ++ ++fi ++ if test "$with_driver_modules" != "no"; then ++ WITH_DRIVER_MODULES_TRUE= ++ WITH_DRIVER_MODULES_FALSE='#' ++else ++ WITH_DRIVER_MODULES_TRUE='#' ++ WITH_DRIVER_MODULES_FALSE= ++fi ++ ++ ++ ++ ++ ++# Set LV_LIBTOOL_OBJDIR to "." or $lt_cv_objdir, depending on whether ++# we're building shared libraries. This is the name of the directory ++# in which .o files will be created. ++test "$enable_shared" = no && lt_cv_objdir=. ++LV_LIBTOOL_OBJDIR=${lt_cv_objdir-.} ++ ++ ++HAL_REQUIRED=0.0 ++HAL_CFLAGS= ++HAL_LIBS= ++ ++@%:@ Check whether --with-hal was given. ++if test "${with_hal+set}" = set; then : ++ withval=$with_hal; ++else ++ with_hal=check ++fi ++ ++ ++if test "$with_libvirtd" = "no" ; then ++ with_hal=no ++fi ++if test "x$with_hal" = "xyes" -o "x$with_hal" = "xcheck"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5 ++$as_echo_n "checking for HAL... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$HAL_CFLAGS"; then ++ pkg_cv_HAL_CFLAGS="$HAL_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= \$HAL_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "hal >= $HAL_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal >= $HAL_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$HAL_LIBS"; then ++ pkg_cv_HAL_LIBS="$HAL_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= \$HAL_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "hal >= $HAL_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal >= $HAL_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal >= $HAL_REQUIRED"` ++ else ++ HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal >= $HAL_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$HAL_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_hal" = "xcheck" ; then ++ with_hal=no ++ else ++ as_fn_error "You must install hal-devel >= $HAL_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_hal" = "xcheck" ; then ++ with_hal=no ++ else ++ as_fn_error "You must install hal-devel >= $HAL_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ HAL_CFLAGS=$pkg_cv_HAL_CFLAGS ++ HAL_LIBS=$pkg_cv_HAL_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_hal=yes ++fi ++ if test "x$with_hal" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_HAL 1 ++_ACEOF ++ ++ ++ old_CFLAGS=$CFLAGS ++ old_LDFLAGS=$LDFLAGS ++ CFLAGS="$CFLAGS $HAL_CFLAGS" ++ LDFLAGS="$LDFLAGS $HAL_LIBS" ++ for ac_func in libhal_get_all_devices ++do : ++ ac_fn_c_check_func "$LINENO" "libhal_get_all_devices" "ac_cv_func_libhal_get_all_devices" ++if test "x$ac_cv_func_libhal_get_all_devices" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBHAL_GET_ALL_DEVICES 1 ++_ACEOF ++ ++else ++ with_hal=no ++fi ++done ++ ++ for ac_func in dbus_watch_get_unix_fd ++do : ++ ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" ++if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DBUS_WATCH_GET_UNIX_FD 1 ++_ACEOF ++ ++fi ++done ++ ++ CFLAGS="$old_CFLAGS" ++ LDFLAGS="$old_LDFLAGS" ++ fi ++fi ++ if test "x$with_hal" = "xyes"; then ++ HAVE_HAL_TRUE= ++ HAVE_HAL_FALSE='#' ++else ++ HAVE_HAL_TRUE='#' ++ HAVE_HAL_FALSE= ++fi ++ ++ ++ ++ ++DEVKIT_REQUIRED=0.0 ++DEVKIT_CFLAGS= ++DEVKIT_LIBS= ++ ++@%:@ Check whether --with-devkit was given. ++if test "${with_devkit+set}" = set; then : ++ withval=$with_devkit; ++else ++ with_devkit=no ++fi ++ ++ ++if test "$with_libvirtd" = "no" ; then ++ with_devkit=no ++fi ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5 ++$as_echo_n "checking for GLIB2... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GLIB2_CFLAGS"; then ++ pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 0.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 0.0" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GLIB2_LIBS"; then ++ pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 0.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 0.0" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 0.0"` ++ else ++ GLIB2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 0.0"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$GLIB2_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_devkit" = "xcheck"; then ++ with_devkit=no ++ elif test "x$with_devkit" = "xyes"; then ++ as_fn_error "required package DeviceKit requires package glib-2.0" "$LINENO" 5 ++ fi ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_devkit" = "xcheck"; then ++ with_devkit=no ++ elif test "x$with_devkit" = "xyes"; then ++ as_fn_error "required package DeviceKit requires package glib-2.0" "$LINENO" 5 ++ fi ++else ++ GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS ++ GLIB2_LIBS=$pkg_cv_GLIB2_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ : ++fi ++ ++if test "x$with_devkit" = "xyes" -o "x$with_devkit" = "xcheck"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEVKIT" >&5 ++$as_echo_n "checking for DEVKIT... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$DEVKIT_CFLAGS"; then ++ pkg_cv_DEVKIT_CFLAGS="$DEVKIT_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= \$DEVKIT_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "devkit-gobject >= $DEVKIT_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_DEVKIT_CFLAGS=`$PKG_CONFIG --cflags "devkit-gobject >= $DEVKIT_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$DEVKIT_LIBS"; then ++ pkg_cv_DEVKIT_LIBS="$DEVKIT_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= \$DEVKIT_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "devkit-gobject >= $DEVKIT_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_DEVKIT_LIBS=`$PKG_CONFIG --libs "devkit-gobject >= $DEVKIT_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ DEVKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "devkit-gobject >= $DEVKIT_REQUIRED"` ++ else ++ DEVKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "devkit-gobject >= $DEVKIT_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$DEVKIT_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_devkit" = "xcheck" ; then ++ with_devkit=no ++ else ++ as_fn_error "You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_devkit" = "xcheck" ; then ++ with_devkit=no ++ else ++ as_fn_error "You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ DEVKIT_CFLAGS=$pkg_cv_DEVKIT_CFLAGS ++ DEVKIT_LIBS=$pkg_cv_DEVKIT_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_devkit=yes ++fi ++ if test "x$with_devkit" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DEVKIT 1 ++_ACEOF ++ ++ ++ DEVKIT_CFLAGS="$GLIB2_CFLAGS $DEVKIT_CFLAGS" ++ DEVKIT_LIBS="$GLIB2_LIBS $DEVKIT_LIBS" ++ ++ DEVKIT_CFLAGS="$DEVKIT_CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT" ++ ++ old_CFLAGS=$CFLAGS ++ old_LDFLAGS=$LDFLAGS ++ CFLAGS="$CFLAGS $DEVKIT_CFLAGS" ++ LDFLAGS="$LDFLAGS $DEVKIT_LIBS" ++ for ac_func in devkit_client_connect ++do : ++ ac_fn_c_check_func "$LINENO" "devkit_client_connect" "ac_cv_func_devkit_client_connect" ++if test "x$ac_cv_func_devkit_client_connect" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DEVKIT_CLIENT_CONNECT 1 ++_ACEOF ++ ++else ++ with_devkit=no ++fi ++done ++ ++ CFLAGS="$old_CFLAGS" ++ LDFLAGS="$old_LDFLAGS" ++ fi ++fi ++ if test "x$with_devkit" = "xyes"; then ++ HAVE_DEVKIT_TRUE= ++ HAVE_DEVKIT_FALSE='#' ++else ++ HAVE_DEVKIT_TRUE='#' ++ HAVE_DEVKIT_FALSE= ++fi ++ ++ ++ ++ ++with_nodedev=no; ++if test "$with_devkit" = "yes" -o "$with_hal" = "yes"; ++then ++ with_nodedev=yes ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_NODE_DEVICES 1 ++_ACEOF ++ ++fi ++ if test "$with_nodedev" = "yes"; then ++ WITH_NODE_DEVICES_TRUE= ++ WITH_NODE_DEVICES_FALSE='#' ++else ++ WITH_NODE_DEVICES_TRUE='#' ++ WITH_NODE_DEVICES_FALSE= ++fi ++ ++ ++ if test `uname -s` = "Linux"; then ++ WITH_LINUX_TRUE= ++ WITH_LINUX_FALSE='#' ++else ++ WITH_LINUX_TRUE='#' ++ WITH_LINUX_FALSE= ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-qemu-user was given. ++if test "${with_qemu_user+set}" = set; then : ++ withval=$with_qemu_user; QEMU_USER=${withval} ++else ++ QEMU_USER=root ++fi ++ ++ ++@%:@ Check whether --with-qemu-group was given. ++if test "${with_qemu_group+set}" = set; then : ++ withval=$with_qemu_group; QEMU_GROUP=${withval} ++else ++ QEMU_GROUP=root ++fi ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define QEMU_USER "$QEMU_USER" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define QEMU_GROUP "$QEMU_GROUP" ++_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. ++# You are unlikely to be doing distribution-related things in a non-srcdir build ++test "x$srcdir" = x. && ! test -f COPYING && ++cp -f COPYING.LIB COPYING ++ ++ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile docs/Makefile docs/examples/Makefile docs/devhelp/Makefile docs/examples/python/Makefile docs/schemas/Makefile gnulib/lib/Makefile gnulib/tests/Makefile libvirt.pc libvirt.spec mingw32-libvirt.spec po/Makefile.in include/libvirt/Makefile include/libvirt/libvirt.h python/Makefile python/tests/Makefile qemud/Makefile tools/Makefile tests/Makefile proxy/Makefile tests/xml2sexprdata/Makefile tests/sexpr2xmldata/Makefile tests/xmconfigdata/Makefile tests/xencapsdata/Makefile tests/confdata/Makefile examples/domain-events/events-c/Makefile examples/hellolibvirt/Makefile" ++ ++cat >confcache <<\_ACEOF ++# This file is a shell script that caches the results of configure ++# tests run on this system so they can be shared between configure ++# scripts and configure runs, see configure's option --config-cache. ++# It is not useful on other systems. If it contains results you don't ++# want to keep, you may remove or edit it. ++# ++# config.status only pays attention to the cache file if you give it ++# the --recheck option to rerun configure. ++# ++# `ac_cv_env_foo' variables (set or unset) will be overridden when ++# loading this file, other *unset* `ac_cv_foo' will be assigned the ++# following values. ++ ++_ACEOF ++ ++# The following way of writing the cache mishandles newlines in values, ++# but we know of no workaround that is simple, portable, and efficient. ++# So, we kill variables containing newlines. ++# Ultrix sh set writes to stderr and can't be redirected directly, ++# and sets the high bit in the cache file unless we assign to the vars. ++( ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ ++ (set) 2>&1 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. ++ sed -n \ ++ "s/'/'\\\\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ++ ;; #( ++ *) ++ # `set' quotes correctly as required by POSIX, so do not add quotes. ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) | ++ sed ' ++ /^ac_cv_env_/b end ++ t clear ++ :clear ++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ++ t end ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ++ :end' >>confcache ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ++ if test -w "$cache_file"; then ++ test "x$cache_file" != "x/dev/null" && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++$as_echo "$as_me: updating cache $cache_file" >&6;} ++ cat confcache >$cache_file ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ++ fi ++fi ++rm -f confcache ++ ++test "x$prefix" = xNONE && prefix=$ac_default_prefix ++# Let make expand exec_prefix. ++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ++ ++DEFS=-DHAVE_CONFIG_H ++ ++ac_libobjs= ++ac_ltlibobjs= ++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue ++ # 1. Remove the extension, and $U if already installed. ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ++ # will be set to the directory where LIBOBJS objects are built. ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ++done ++LIB@&t@OBJS=$ac_libobjs ++ ++LTLIBOBJS=$ac_ltlibobjs ++ ++ ++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then ++ as_fn_error "conditional \"AMDEP\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then ++ as_fn_error "conditional \"am__fastdepCC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then ++ as_fn_error "conditional \"GL_COND_LIBTOOL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++ ++ gl_libobjs= ++ gl_ltlibobjs= ++ if test -n "$gl_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do ++ gl_libobjs="$gl_libobjs $i.$ac_objext" ++ gl_ltlibobjs="$gl_ltlibobjs $i.lo" ++ done ++ fi ++ gl_LIBOBJS=$gl_libobjs ++ ++ gl_LTLIBOBJS=$gl_ltlibobjs ++ ++ ++ ++ gltests_libobjs= ++ gltests_ltlibobjs= ++ if test -n "$gltests_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do ++ gltests_libobjs="$gltests_libobjs $i.$ac_objext" ++ gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" ++ done ++ fi ++ gltests_LIBOBJS=$gltests_libobjs ++ ++ gltests_LTLIBOBJS=$gltests_ltlibobjs ++ ++ ++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then ++ as_fn_error "conditional \"am__fastdepCC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++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 ++fi ++if test -z "${LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE}" && test -z "${LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE}"; then ++ as_fn_error "conditional \"LIBVIRT_INIT_SCRIPTS_RED_HAT\" 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 ++fi ++if test -z "${WITH_VBOX_TRUE}" && test -z "${WITH_VBOX_FALSE}"; then ++ as_fn_error "conditional \"WITH_VBOX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_QEMU_TRUE}" && test -z "${WITH_QEMU_FALSE}"; then ++ as_fn_error "conditional \"WITH_QEMU\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_ONE_TRUE}" && test -z "${WITH_ONE_FALSE}"; then ++ as_fn_error "conditional \"WITH_ONE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_TEST_TRUE}" && test -z "${WITH_TEST_FALSE}"; then ++ as_fn_error "conditional \"WITH_TEST\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_REMOTE_TRUE}" && test -z "${WITH_REMOTE_FALSE}"; then ++ as_fn_error "conditional \"WITH_REMOTE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_LIBVIRTD_TRUE}" && test -z "${WITH_LIBVIRTD_FALSE}"; then ++ as_fn_error "conditional \"WITH_LIBVIRTD\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_XEN_TRUE}" && test -z "${WITH_XEN_FALSE}"; then ++ as_fn_error "conditional \"WITH_XEN\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_XEN_INOTIFY_TRUE}" && test -z "${WITH_XEN_INOTIFY_FALSE}"; then ++ as_fn_error "conditional \"WITH_XEN_INOTIFY\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_LXC_TRUE}" && test -z "${WITH_LXC_FALSE}"; then ++ as_fn_error "conditional \"WITH_LXC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_XMLRPC_TRUE}" && test -z "${HAVE_XMLRPC_FALSE}"; then ++ as_fn_error "conditional \"HAVE_XMLRPC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_ONE_TRUE}" && test -z "${WITH_ONE_FALSE}"; then ++ as_fn_error "conditional \"WITH_ONE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_SASL_TRUE}" && test -z "${HAVE_SASL_FALSE}"; then ++ as_fn_error "conditional \"HAVE_SASL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_POLKIT_TRUE}" && test -z "${HAVE_POLKIT_FALSE}"; then ++ as_fn_error "conditional \"HAVE_POLKIT\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then ++ as_fn_error "conditional \"HAVE_AVAHI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then ++ as_fn_error "conditional \"HAVE_SELINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_SECDRIVER_SELINUX_TRUE}" && test -z "${WITH_SECDRIVER_SELINUX_FALSE}"; then ++ as_fn_error "conditional \"WITH_SECDRIVER_SELINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_APPARMOR_TRUE}" && test -z "${HAVE_APPARMOR_FALSE}"; then ++ as_fn_error "conditional \"HAVE_APPARMOR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_SECDRIVER_APPARMOR_TRUE}" && test -z "${WITH_SECDRIVER_APPARMOR_FALSE}"; then ++ as_fn_error "conditional \"WITH_SECDRIVER_APPARMOR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_NUMACTL_TRUE}" && test -z "${HAVE_NUMACTL_FALSE}"; then ++ as_fn_error "conditional \"HAVE_NUMACTL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_UML_TRUE}" && test -z "${WITH_UML_FALSE}"; then ++ as_fn_error "conditional \"WITH_UML\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_PHYP_TRUE}" && test -z "${WITH_PHYP_FALSE}"; then ++ as_fn_error "conditional \"WITH_PHYP\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_CAPNG_TRUE}" && test -z "${HAVE_CAPNG_FALSE}"; then ++ as_fn_error "conditional \"HAVE_CAPNG\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_NETWORK_TRUE}" && test -z "${WITH_NETWORK_FALSE}"; then ++ as_fn_error "conditional \"WITH_NETWORK\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_BRIDGE_TRUE}" && test -z "${WITH_BRIDGE_FALSE}"; then ++ as_fn_error "conditional \"WITH_BRIDGE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_NETCF_TRUE}" && test -z "${WITH_NETCF_FALSE}"; then ++ as_fn_error "conditional \"WITH_NETCF\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_DIR_TRUE}" && test -z "${WITH_STORAGE_DIR_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_DIR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_FS_TRUE}" && test -z "${WITH_STORAGE_FS_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_FS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_LVM_TRUE}" && test -z "${WITH_STORAGE_LVM_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_LVM\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_ISCSI_TRUE}" && test -z "${WITH_STORAGE_ISCSI_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_ISCSI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_SCSI_TRUE}" && test -z "${WITH_STORAGE_SCSI_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_SCSI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_DISK_TRUE}" && test -z "${WITH_STORAGE_DISK_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_DISK\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_ESX_TRUE}" && test -z "${WITH_ESX_FALSE}"; then ++ as_fn_error "conditional \"WITH_ESX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then ++ as_fn_error "conditional \"WITH_PYTHON\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${ENABLE_XEN_TESTS_TRUE}" && test -z "${ENABLE_XEN_TESTS_FALSE}"; then ++ as_fn_error "conditional \"ENABLE_XEN_TESTS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_CIL_TRUE}" && test -z "${WITH_CIL_FALSE}"; then ++ as_fn_error "conditional \"WITH_CIL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_PROXY_TRUE}" && test -z "${WITH_PROXY_FALSE}"; then ++ as_fn_error "conditional \"WITH_PROXY\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_LIBVIRTD_TRUE}" && test -z "${WITH_LIBVIRTD_FALSE}"; then ++ as_fn_error "conditional \"WITH_LIBVIRTD\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_WIN_ICON_TRUE}" && test -z "${WITH_WIN_ICON_FALSE}"; then ++ as_fn_error "conditional \"WITH_WIN_ICON\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_DRIVER_MODULES_TRUE}" && test -z "${WITH_DRIVER_MODULES_FALSE}"; then ++ as_fn_error "conditional \"WITH_DRIVER_MODULES\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_HAL_TRUE}" && test -z "${HAVE_HAL_FALSE}"; then ++ as_fn_error "conditional \"HAVE_HAL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_DEVKIT_TRUE}" && test -z "${HAVE_DEVKIT_FALSE}"; then ++ as_fn_error "conditional \"HAVE_DEVKIT\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_NODE_DEVICES_TRUE}" && test -z "${WITH_NODE_DEVICES_FALSE}"; then ++ as_fn_error "conditional \"WITH_NODE_DEVICES\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_LINUX_TRUE}" && test -z "${WITH_LINUX_FALSE}"; then ++ as_fn_error "conditional \"WITH_LINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++ ++: ${CONFIG_STATUS=./config.status} ++ac_write_fail=0 ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files $CONFIG_STATUS" ++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate the current configuration. ++# Compiler output produced by configure, useful for debugging ++# configure, is in config.log if it exists. ++ ++debug=false ++ac_cs_recheck=false ++ac_cs_silent=false ++ ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in @%:@( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++ ++@%:@ as_fn_error ERROR [LINENO LOG_FD] ++@%:@ --------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with status $?, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$?; test $as_status -eq 0 && as_status=1 ++ if test "$3"; then ++ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 ++ fi ++ $as_echo "$as_me: error: $1" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -p'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -p' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -p' ++ fi ++else ++ as_ln_s='cp -p' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++if test -x / >/dev/null 2>&1; then ++ as_test_x='test -x' ++else ++ if ls -dL / >/dev/null 2>&1; then ++ as_ls_L_option=L ++ else ++ as_ls_L_option= ++ fi ++ as_test_x=' ++ eval sh -c '\'' ++ if test -d "$1"; then ++ test -d "$1/."; ++ else ++ case $1 in @%:@( ++ -*)set "./$1";; ++ esac; ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( ++ ???[sx]*):;;*)false;;esac;fi ++ '\'' sh ++ ' ++fi ++as_executable_p=$as_test_x ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to ++# 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.0, which was ++generated by GNU Autoconf 2.64. Invocation command line was ++ ++ CONFIG_FILES = $CONFIG_FILES ++ CONFIG_HEADERS = $CONFIG_HEADERS ++ CONFIG_LINKS = $CONFIG_LINKS ++ CONFIG_COMMANDS = $CONFIG_COMMANDS ++ $ $0 $@ ++ ++on `(hostname || uname -n) 2>/dev/null | sed 1q` ++" ++ ++_ACEOF ++ ++case $ac_config_files in *" ++"*) set x $ac_config_files; shift; ac_config_files=$*;; ++esac ++ ++case $ac_config_headers in *" ++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; ++esac ++ ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# Files that config.status was made for. ++config_files="$ac_config_files" ++config_headers="$ac_config_headers" ++config_links="$ac_config_links" ++config_commands="$ac_config_commands" ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ac_cs_usage="\ ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. ++ ++Usage: $0 [OPTION]... [TAG]... ++ ++ -h, --help print this help, then exit ++ -V, --version print version number and configuration settings, then exit ++ -q, --quiet, --silent ++ do not print progress messages ++ -d, --debug don't remove temporary files ++ --recheck update $as_me by reconfiguring in the same conditions ++ --file=FILE[:TEMPLATE] ++ instantiate the configuration file FILE ++ --header=FILE[:TEMPLATE] ++ instantiate the configuration header FILE ++ ++Configuration files: ++$config_files ++ ++Configuration headers: ++$config_headers ++ ++Configuration links: ++$config_links ++ ++Configuration commands: ++$config_commands ++ ++Report bugs to the package provider." ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_cs_version="\\ ++libvirt config.status 0.7.0 ++configured by $0, generated by GNU Autoconf 2.64, ++ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" ++ ++Copyright (C) 2009 Free Software Foundation, Inc. ++This config.status script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it." ++ ++ac_pwd='$ac_pwd' ++srcdir='$srcdir' ++INSTALL='$INSTALL' ++MKDIR_P='$MKDIR_P' ++AWK='$AWK' ++test -n "\$AWK" || AWK=awk ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# The default lists apply if the user does not specify any file. ++ac_need_defaults=: ++while test $# != 0 ++do ++ case $1 in ++ --*=*) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ++ ac_shift=: ++ ;; ++ *) ++ ac_option=$1 ++ ac_optarg=$2 ++ ac_shift=shift ++ ;; ++ esac ++ ++ case $ac_option in ++ # Handling of the options. ++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ++ ac_cs_recheck=: ;; ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ++ $as_echo "$ac_cs_version"; exit ;; ++ --debug | --debu | --deb | --de | --d | -d ) ++ debug=: ;; ++ --file | --fil | --fi | --f ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_FILES " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --header | --heade | --head | --hea ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --he | --h) ++ # Conflict between --help and --header ++ as_fn_error "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; ++ --help | --hel | -h ) ++ $as_echo "$ac_cs_usage"; exit ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil | --si | --s) ++ ac_cs_silent=: ;; ++ ++ # This is an error. ++ -*) as_fn_error "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; ++ ++ *) as_fn_append ac_config_targets " $1" ++ ac_need_defaults=false ;; ++ ++ esac ++ shift ++done ++ ++ac_configure_extra_args= ++ ++if $ac_cs_silent; then ++ exec 6>/dev/null ++ ac_configure_extra_args="$ac_configure_extra_args --silent" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++if \$ac_cs_recheck; then ++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ shift ++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ++ CONFIG_SHELL='$SHELL' ++ export CONFIG_SHELL ++ exec "\$@" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++exec 5>>config.log ++{ ++ echo ++ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX ++@%:@@%:@ Running $as_me. @%:@@%:@ ++_ASBOX ++ $as_echo "$ac_log" ++} >&5 ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# ++# INIT-COMMANDS ++# ++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" ++GNUmakefile=$GNUmakefile ++ ++ ++# The HP-UX ksh and POSIX shell print the target directory to stdout ++# if CDPATH is set. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++sed_quote_subst='$sed_quote_subst' ++double_quote_subst='$double_quote_subst' ++delay_variable_subst='$delay_variable_subst' ++AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' ++DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' ++OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' ++macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' ++macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' ++enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' ++enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' ++pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' ++enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' ++host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' ++host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' ++host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' ++build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' ++build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' ++build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' ++SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' ++Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' ++GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' ++EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' ++FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' ++LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' ++NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' ++LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' ++max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' ++ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' ++exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' ++lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' ++lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' ++lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' ++reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' ++reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' ++file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' ++AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' ++AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' ++STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' ++RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' ++old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' ++CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' ++compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' ++GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' ++objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' ++SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' ++ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' ++MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' ++lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' ++lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' ++lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' ++lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' ++need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' ++DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' ++NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' ++LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' ++OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' ++OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' ++libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' ++shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' ++enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' ++export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' ++whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' ++compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' ++old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' ++allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' ++no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' ++inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' ++link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' ++fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' ++always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' ++export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' ++include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' ++prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' ++variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' ++need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' ++need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' ++version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' ++runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' ++shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' ++shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' ++libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' ++library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' ++soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' ++postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' ++sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' ++sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' ++enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' ++enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' ++enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' ++old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' ++striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' ++ ++LTCC='$LTCC' ++LTCFLAGS='$LTCFLAGS' ++compiler='$compiler_DEFAULT' ++ ++# Quote evaled strings. ++for var in SED \ ++GREP \ ++EGREP \ ++FGREP \ ++LD \ ++NM \ ++LN_S \ ++lt_SP2NL \ ++lt_NL2SP \ ++reload_flag \ ++deplibs_check_method \ ++file_magic_cmd \ ++AR \ ++AR_FLAGS \ ++STRIP \ ++RANLIB \ ++CC \ ++CFLAGS \ ++compiler \ ++lt_cv_sys_global_symbol_pipe \ ++lt_cv_sys_global_symbol_to_cdecl \ ++lt_cv_sys_global_symbol_to_c_name_address \ ++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ ++SHELL \ ++ECHO \ ++lt_prog_compiler_no_builtin_flag \ ++lt_prog_compiler_wl \ ++lt_prog_compiler_pic \ ++lt_prog_compiler_static \ ++lt_cv_prog_compiler_c_o \ ++need_locks \ ++DSYMUTIL \ ++NMEDIT \ ++LIPO \ ++OTOOL \ ++OTOOL64 \ ++shrext_cmds \ ++export_dynamic_flag_spec \ ++whole_archive_flag_spec \ ++compiler_needs_object \ ++with_gnu_ld \ ++allow_undefined_flag \ ++no_undefined_flag \ ++hardcode_libdir_flag_spec \ ++hardcode_libdir_flag_spec_ld \ ++hardcode_libdir_separator \ ++fix_srcfile_path \ ++exclude_expsyms \ ++include_expsyms \ ++file_list_spec \ ++variables_saved_for_relink \ ++libname_spec \ ++library_names_spec \ ++soname_spec \ ++finish_eval \ ++old_striplib \ ++striplib; do ++ case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in ++ *[\\\\\\\`\\"\\\$]*) ++ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ++ ;; ++ *) ++ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ++ ;; ++ esac ++done ++ ++# Double-quote double-evaled strings. ++for var in reload_cmds \ ++old_postinstall_cmds \ ++old_postuninstall_cmds \ ++old_archive_cmds \ ++extract_expsyms_cmds \ ++old_archive_from_new_cmds \ ++old_archive_from_expsyms_cmds \ ++archive_cmds \ ++archive_expsym_cmds \ ++module_cmds \ ++module_expsym_cmds \ ++export_symbols_cmds \ ++prelink_cmds \ ++postinstall_cmds \ ++postuninstall_cmds \ ++finish_cmds \ ++sys_lib_search_path_spec \ ++sys_lib_dlsearch_path_spec; do ++ case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in ++ *[\\\\\\\`\\"\\\$]*) ++ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ++ ;; ++ *) ++ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ++ ;; ++ esac ++done ++ ++# Fix-up fallback echo if it was mangled by the above quoting rules. ++case \$lt_ECHO in ++*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` ++ ;; ++esac ++ ++ac_aux_dir='$ac_aux_dir' ++xsi_shell='$xsi_shell' ++lt_shell_append='$lt_shell_append' ++ ++# See if we are running on zsh, and set the options which allow our ++# commands through without removal of \ escapes INIT. ++if test -n "\${ZSH_VERSION+set}" ; then ++ setopt NO_GLOB_SUBST ++fi ++ ++ ++ PACKAGE='$PACKAGE' ++ VERSION='$VERSION' ++ TIMESTAMP='$TIMESTAMP' ++ RM='$RM' ++ ofile='$ofile' ++ ++ ++ ++# Capture the value of obsolete ALL_LINGUAS because we need it to compute ++ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it ++ # from automake. ++ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' ++ # Capture the value of LINGUAS because we need it to compute CATALOGS. ++ LINGUAS="${LINGUAS-%UNSET%}" ++ ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ ++# Handling of arguments. ++for ac_config_target in $ac_config_targets ++do ++ case $ac_config_target in ++ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; ++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; ++ "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; ++ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; ++ "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; ++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; ++ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; ++ "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; ++ "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; ++ "docs/examples/Makefile") CONFIG_FILES="$CONFIG_FILES docs/examples/Makefile" ;; ++ "docs/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES docs/devhelp/Makefile" ;; ++ "docs/examples/python/Makefile") CONFIG_FILES="$CONFIG_FILES docs/examples/python/Makefile" ;; ++ "docs/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES docs/schemas/Makefile" ;; ++ "gnulib/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/lib/Makefile" ;; ++ "gnulib/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/tests/Makefile" ;; ++ "libvirt.pc") CONFIG_FILES="$CONFIG_FILES libvirt.pc" ;; ++ "libvirt.spec") CONFIG_FILES="$CONFIG_FILES libvirt.spec" ;; ++ "mingw32-libvirt.spec") CONFIG_FILES="$CONFIG_FILES mingw32-libvirt.spec" ;; ++ "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; ++ "include/libvirt/Makefile") CONFIG_FILES="$CONFIG_FILES include/libvirt/Makefile" ;; ++ "include/libvirt/libvirt.h") CONFIG_FILES="$CONFIG_FILES include/libvirt/libvirt.h" ;; ++ "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; ++ "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;; ++ "qemud/Makefile") CONFIG_FILES="$CONFIG_FILES qemud/Makefile" ;; ++ "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; ++ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; ++ "proxy/Makefile") CONFIG_FILES="$CONFIG_FILES proxy/Makefile" ;; ++ "tests/xml2sexprdata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xml2sexprdata/Makefile" ;; ++ "tests/sexpr2xmldata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/sexpr2xmldata/Makefile" ;; ++ "tests/xmconfigdata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xmconfigdata/Makefile" ;; ++ "tests/xencapsdata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xencapsdata/Makefile" ;; ++ "tests/confdata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/confdata/Makefile" ;; ++ "examples/domain-events/events-c/Makefile") CONFIG_FILES="$CONFIG_FILES examples/domain-events/events-c/Makefile" ;; ++ "examples/hellolibvirt/Makefile") CONFIG_FILES="$CONFIG_FILES examples/hellolibvirt/Makefile" ;; ++ ++ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ++ esac ++done ++ ++ ++# If the user did not use the arguments to specify the items to instantiate, ++# then the envvar interface is used. Set only those that are not. ++# We use the long form for the default assignment because of an extremely ++# bizarre bug on SunOS 4.1.3. ++if $ac_need_defaults; then ++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files ++ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ++ test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links ++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands ++fi ++ ++# Have a temporary directory for convenience. Make it in the build tree ++# simply because there is no reason against having it here, and in addition, ++# creating and moving files from /tmp can sometimes cause problems. ++# Hook for its removal unless debugging. ++# Note that there is a small window in which the directory will not be cleaned: ++# after its creation but before its name has been assigned to `$tmp'. ++$debug || ++{ ++ tmp= ++ trap 'exit_status=$? ++ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ++' 0 ++ trap 'as_fn_exit 1' 1 2 13 15 ++} ++# Create a (secure) tmp directory for tmp files. ++ ++{ ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ++ test -n "$tmp" && test -d "$tmp" ++} || ++{ ++ tmp=./conf$$-$RANDOM ++ (umask 077 && mkdir "$tmp") ++} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 ++ ++# Set up the scripts for CONFIG_FILES section. ++# No need to generate them if there are no CONFIG_FILES. ++# This happens for instance with `./config.status config.h'. ++if test -n "$CONFIG_FILES"; then ++ ++ ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi ++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` ++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ++ ac_cs_awk_cr='\r' ++else ++ ac_cs_awk_cr=$ac_cr ++fi ++ ++echo 'BEGIN {' >"$tmp/subs1.awk" && ++_ACEOF ++ ++ ++{ ++ echo "cat >conf$$subs.awk <<_ACEOF" && ++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ++ echo "_ACEOF" ++} >conf$$subs.sh || ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ++ac_delim='%!_!# ' ++for ac_last_try in false false false false false :; do ++ . ./conf$$subs.sh || ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ++ ++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ++ if test $ac_delim_n = $ac_delim_num; then ++ break ++ elif $ac_last_try; then ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++rm -f conf$$subs.sh ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++cat >>"\$tmp/subs1.awk" <<\\_ACAWK && ++_ACEOF ++sed -n ' ++h ++s/^/S["/; s/!.*/"]=/ ++p ++g ++s/^[^!]*!// ++:repl ++t repl ++s/'"$ac_delim"'$// ++t delim ++:nl ++h ++s/\(.\{148\}\).*/\1/ ++t more1 ++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ++p ++n ++b repl ++:more1 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t nl ++:delim ++h ++s/\(.\{148\}\).*/\1/ ++t more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"/ ++p ++b ++:more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t delim ++' >$CONFIG_STATUS || ac_write_fail=1 ++rm -f conf$$subs.awk ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACAWK ++cat >>"\$tmp/subs1.awk" <<_ACAWK && ++ for (key in S) S_is_set[key] = 1 ++ FS = "" ++ ++} ++{ ++ line = $ 0 ++ nfields = split(line, field, "@") ++ substed = 0 ++ len = length(field[1]) ++ for (i = 2; i < nfields; i++) { ++ key = field[i] ++ keylen = length(key) ++ if (S_is_set[key]) { ++ value = S[key] ++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ++ len += length(value) + length(field[++i]) ++ substed = 1 ++ } else ++ len += 1 + keylen ++ } ++ ++ print line ++} ++ ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ++else ++ cat ++fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ ++ || as_fn_error "could not setup config files machinery" "$LINENO" 5 ++_ACEOF ++ ++# VPATH may cause trouble with some makes, so we remove $(srcdir), ++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and ++# trailing colons and then remove the whole line if VPATH becomes empty ++# (actually we leave an empty line to preserve line numbers). ++if test "x$srcdir" = x.; then ++ ac_vpsub='/^[ ]*VPATH[ ]*=/{ ++s/:*\$(srcdir):*/:/ ++s/:*\${srcdir}:*/:/ ++s/:*@srcdir@:*/:/ ++s/^\([^=]*=[ ]*\):*/\1/ ++s/:*$// ++s/^[^=]*=[ ]*$// ++}' ++fi ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++fi # test -n "$CONFIG_FILES" ++ ++# Set up the scripts for CONFIG_HEADERS section. ++# No need to generate them if there are no CONFIG_HEADERS. ++# This happens for instance with `./config.status Makefile'. ++if test -n "$CONFIG_HEADERS"; then ++cat >"$tmp/defines.awk" <<\_ACAWK || ++BEGIN { ++_ACEOF ++ ++# Transform confdefs.h into an awk script `defines.awk', embedded as ++# here-document in config.status, that substitutes the proper values into ++# config.h.in to produce config.h. ++ ++# Create a delimiter string that does not exist in confdefs.h, to ease ++# handling of long lines. ++ac_delim='%!_!# ' ++for ac_last_try in false false :; do ++ ac_t=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_t"; then ++ break ++ elif $ac_last_try; then ++ as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++ ++# For the awk script, D is an array of macro values keyed by name, ++# likewise P contains macro parameters if any. Preserve backslash ++# newline sequences. ++ ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ++sed -n ' ++s/.\{148\}/&'"$ac_delim"'/g ++t rset ++:rset ++s/^[ ]*#[ ]*define[ ][ ]*/ / ++t def ++d ++:def ++s/\\$// ++t bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3"/p ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ++d ++:bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3\\\\\\n"\\/p ++t cont ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ++t cont ++d ++:cont ++n ++s/.\{148\}/&'"$ac_delim"'/g ++t clear ++:clear ++s/\\$// ++t bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/"/p ++d ++:bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ++b cont ++' >$CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ for (key in D) D_is_set[key] = 1 ++ FS = "" ++} ++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ++ line = \$ 0 ++ split(line, arg, " ") ++ if (arg[1] == "#") { ++ defundef = arg[2] ++ mac1 = arg[3] ++ } else { ++ defundef = substr(arg[1], 2) ++ mac1 = arg[2] ++ } ++ split(mac1, mac2, "(") #) ++ macro = mac2[1] ++ prefix = substr(line, 1, index(line, defundef) - 1) ++ if (D_is_set[macro]) { ++ # Preserve the white space surrounding the "#". ++ print prefix "define", macro P[macro] D[macro] ++ next ++ } else { ++ # Replace #undef with comments. This is necessary, for example, ++ # in the case of _POSIX_SOURCE, which is predefined and required ++ # on some systems where configure will not decide to define it. ++ if (defundef == "undef") { ++ print "/*", prefix defundef, macro, "*/" ++ next ++ } ++ } ++} ++{ print } ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ as_fn_error "could not setup config headers machinery" "$LINENO" 5 ++fi # test -n "$CONFIG_HEADERS" ++ ++ ++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" ++shift ++for ac_tag ++do ++ case $ac_tag in ++ :[FHLC]) ac_mode=$ac_tag; continue;; ++ esac ++ case $ac_mode$ac_tag in ++ :[FHL]*:*);; ++ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; ++ :[FH]-) ac_tag=-:-;; ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ++ esac ++ ac_save_IFS=$IFS ++ IFS=: ++ set x $ac_tag ++ IFS=$ac_save_IFS ++ shift ++ ac_file=$1 ++ shift ++ ++ case $ac_mode in ++ :L) ac_source=$1;; ++ :[FH]) ++ ac_file_inputs= ++ for ac_f ++ do ++ case $ac_f in ++ -) ac_f="$tmp/stdin";; ++ *) # Look for the file first in the build tree, then in the source tree ++ # (if the path is not absolute). The absolute path cannot be DOS-style, ++ # because $ac_f cannot contain `:'. ++ test -f "$ac_f" || ++ case $ac_f in ++ [\\/$]*) false;; ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ++ esac || ++ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; ++ esac ++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ as_fn_append ac_file_inputs " '$ac_f'" ++ done ++ ++ # Let's still pretend it is `configure' which instantiates (i.e., don't ++ # use $as_me), people would be surprised to read: ++ # /* config.h. Generated by config.status. */ ++ configure_input='Generated from '` ++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ `' by configure.' ++ if test x"$ac_file" != x-; then ++ configure_input="$ac_file. $configure_input" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++$as_echo "$as_me: creating $ac_file" >&6;} ++ fi ++ # Neutralize special characters interpreted by sed in replacement strings. ++ case $configure_input in #( ++ *\&* | *\|* | *\\* ) ++ ac_sed_conf_input=`$as_echo "$configure_input" | ++ sed 's/[\\\\&|]/\\\\&/g'`;; #( ++ *) ac_sed_conf_input=$configure_input;; ++ esac ++ ++ case $ac_tag in ++ *:-:* | *:-) cat >"$tmp/stdin" \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; ++ esac ++ ;; ++ esac ++ ++ ac_dir=`$as_dirname -- "$ac_file" || ++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$ac_file" : 'X\(//\)[^/]' \| \ ++ X"$ac_file" : 'X\(//\)$' \| \ ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$ac_file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir="$ac_dir"; as_fn_mkdir_p ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ ++ case $ac_mode in ++ :F) ++ # ++ # CONFIG_FILE ++ # ++ ++ case $INSTALL in ++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; ++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; ++ esac ++ ac_MKDIR_P=$MKDIR_P ++ case $MKDIR_P in ++ [\\/$]* | ?:[\\/]* ) ;; ++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; ++ esac ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# If the template does not know about datarootdir, expand it. ++# FIXME: This hack should be removed a few years after 2.60. ++ac_datarootdir_hack=; ac_datarootdir_seen= ++ac_sed_dataroot=' ++/datarootdir/ { ++ p ++ q ++} ++/@datadir@/p ++/@docdir@/p ++/@infodir@/p ++/@localedir@/p ++/@mandir@/p' ++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ++*datarootdir*) ac_datarootdir_seen=yes;; ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ ac_datarootdir_hack=' ++ s&@datadir@&$datadir&g ++ s&@docdir@&$docdir&g ++ s&@infodir@&$infodir&g ++ s&@localedir@&$localedir&g ++ s&@mandir@&$mandir&g ++ s&\\\${datarootdir}&$datarootdir&g' ;; ++esac ++_ACEOF ++ ++# Neutralize VPATH when `$srcdir' = `.'. ++# Shell code in configure.ac might set extrasub. ++# FIXME: do we really want to maintain this feature? ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_sed_extra="$ac_vpsub ++$extrasub ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++:t ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++s|@configure_input@|$ac_sed_conf_input|;t t ++s&@top_builddir@&$ac_top_builddir_sub&;t t ++s&@top_build_prefix@&$ac_top_build_prefix&;t t ++s&@srcdir@&$ac_srcdir&;t t ++s&@abs_srcdir@&$ac_abs_srcdir&;t t ++s&@top_srcdir@&$ac_top_srcdir&;t t ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ++s&@builddir@&$ac_builddir&;t t ++s&@abs_builddir@&$ac_abs_builddir&;t t ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ++s&@INSTALL@&$ac_INSTALL&;t t ++s&@MKDIR_P@&$ac_MKDIR_P&;t t ++$ac_datarootdir_hack ++" ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ++ ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined." >&5 ++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined." >&2;} ++ ++ rm -f "$tmp/stdin" ++ case $ac_file in ++ -) cat "$tmp/out" && rm -f "$tmp/out";; ++ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; ++ esac \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ++ ;; ++ :H) ++ # ++ # CONFIG_HEADER ++ # ++ if test x"$ac_file" != x-; then ++ { ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" ++ } >"$tmp/config.h" \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ++ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++$as_echo "$as_me: $ac_file is unchanged" >&6;} ++ else ++ rm -f "$ac_file" ++ mv "$tmp/config.h" "$ac_file" \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ++ fi ++ else ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ ++ || as_fn_error "could not create -" "$LINENO" 5 ++ fi ++# Compute "$ac_file"'s index in $config_headers. ++_am_arg="$ac_file" ++_am_stamp_count=1 ++for _am_header in $config_headers :; do ++ case $_am_header in ++ $_am_arg | $_am_arg:* ) ++ break ;; ++ * ) ++ _am_stamp_count=`expr $_am_stamp_count + 1` ;; ++ esac ++done ++echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || ++$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$_am_arg" : 'X\(//\)[^/]' \| \ ++ X"$_am_arg" : 'X\(//\)$' \| \ ++ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$_am_arg" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'`/stamp-h$_am_stamp_count ++ ;; ++ :L) ++ # ++ # CONFIG_LINK ++ # ++ ++ if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then ++ : ++ else ++ # Prefer the file from the source tree if names are identical. ++ if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then ++ ac_source=$srcdir/$ac_source ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 ++$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} ++ ++ if test ! -r "$ac_source"; then ++ as_fn_error "$ac_source: file not found" "$LINENO" 5 ++ fi ++ rm -f "$ac_file" ++ ++ # Try a relative symlink, then a hard link, then a copy. ++ case $srcdir in ++ [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; ++ *) ac_rel_source=$ac_top_build_prefix$ac_source ;; ++ esac ++ ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || ++ ln "$ac_source" "$ac_file" 2>/dev/null || ++ cp -p "$ac_source" "$ac_file" || ++ as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 ++ fi ++ ;; ++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 ++$as_echo "$as_me: executing $ac_file commands" >&6;} ++ ;; ++ esac ++ ++ ++ case $ac_file$ac_mode in ++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { ++ # Autoconf 2.62 quotes --file arguments for eval, but not when files ++ # are listed without --file. Let's play safe and only enable the eval ++ # if we detect the quoting. ++ case $CONFIG_FILES in ++ *\'*) eval set x "$CONFIG_FILES" ;; ++ *) set x $CONFIG_FILES ;; ++ esac ++ shift ++ for mf ++ do ++ # Strip MF so we end up with the name of the file. ++ mf=`echo "$mf" | sed -e 's/:.*$//'` ++ # Check whether this is an Automake generated Makefile or not. ++ # We used to match only the files named `Makefile.in', but ++ # some people rename them; so instead we look at the file content. ++ # Grep'ing the first line is not enough: some people post-process ++ # each Makefile.in and add a new line on top of each file to say so. ++ # Grep'ing the whole file is not good either: AIX grep has a line ++ # limit of 2048, but all sed's we know have understand at least 4000. ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then ++ dirpart=`$as_dirname -- "$mf" || ++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$mf" : 'X\(//\)[^/]' \| \ ++ X"$mf" : 'X\(//\)$' \| \ ++ X"$mf" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$mf" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ else ++ continue ++ fi ++ # Extract the definition of DEPDIR, am__include, and am__quote ++ # from the Makefile without running `make'. ++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` ++ test -z "$DEPDIR" && continue ++ am__include=`sed -n 's/^am__include = //p' < "$mf"` ++ test -z "am__include" && continue ++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` ++ # When using ansi2knr, U may be empty or an underscore; expand it ++ U=`sed -n 's/^U = //p' < "$mf"` ++ # Find all dependency output files, they are included files with ++ # $(DEPDIR) in their names. We invoke sed twice because it is the ++ # simplest approach to changing $(DEPDIR) to its actual value in the ++ # expansion. ++ for file in `sed -n " ++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ ++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do ++ # Make sure the directory exists. ++ test -f "$dirpart/$file" && continue ++ fdir=`$as_dirname -- "$file" || ++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$file" : 'X\(//\)[^/]' \| \ ++ X"$file" : 'X\(//\)$' \| \ ++ X"$file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir=$dirpart/$fdir; as_fn_mkdir_p ++ # echo "creating $dirpart/$file" ++ echo '# dummy' > "$dirpart/$file" ++ done ++ done ++} ++ ;; ++ "libtool":C) ++ ++ # See if we are running on zsh, and set the options which allow our ++ # commands through without removal of \ escapes. ++ if test -n "${ZSH_VERSION+set}" ; then ++ setopt NO_GLOB_SUBST ++ fi ++ ++ cfgfile="${ofile}T" ++ trap "$RM \"$cfgfile\"; exit 1" 1 2 15 ++ $RM "$cfgfile" ++ ++ cat <<_LT_EOF >> "$cfgfile" ++#! $SHELL ++ ++# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. ++# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION ++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: ++# NOTE: Changes made to this file will be lost: look at ltmain.sh. ++# ++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, ++# 2006, 2007, 2008 Free Software Foundation, Inc. ++# Written by Gordon Matzigkeit, 1996 ++# ++# This file is part of GNU Libtool. ++# ++# GNU Libtool is free software; you can redistribute it and/or ++# modify it under the terms of the GNU General Public License as ++# published by the Free Software Foundation; either version 2 of ++# the License, or (at your option) any later version. ++# ++# As a special exception to the GNU General Public License, ++# if you distribute this file as part of a program or library that ++# is built using GNU Libtool, you may include this file under the ++# same distribution terms that you use for the rest of that program. ++# ++# GNU Libtool is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with GNU Libtool; see the file COPYING. If not, a copy ++# can be downloaded from http://www.gnu.org/licenses/gpl.html, or ++# obtained by writing to the Free Software Foundation, Inc., ++# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ++ ++ ++# The names of the tagged configurations supported by this script. ++available_tags="" ++ ++# ### BEGIN LIBTOOL CONFIG ++ ++# Assembler program. ++AS=$AS ++ ++# DLL creation program. ++DLLTOOL=$DLLTOOL ++ ++# Object dumper program. ++OBJDUMP=$OBJDUMP ++ ++# Which release of libtool.m4 was used? ++macro_version=$macro_version ++macro_revision=$macro_revision ++ ++# Whether or not to build shared libraries. ++build_libtool_libs=$enable_shared ++ ++# Whether or not to build static libraries. ++build_old_libs=$enable_static ++ ++# What type of objects to build. ++pic_mode=$pic_mode ++ ++# Whether or not to optimize for fast installation. ++fast_install=$enable_fast_install ++ ++# The host system. ++host_alias=$host_alias ++host=$host ++host_os=$host_os ++ ++# The build system. ++build_alias=$build_alias ++build=$build ++build_os=$build_os ++ ++# A sed program that does not truncate output. ++SED=$lt_SED ++ ++# Sed that helps us avoid accidentally triggering echo(1) options like -n. ++Xsed="\$SED -e 1s/^X//" ++ ++# A grep program that handles long lines. ++GREP=$lt_GREP ++ ++# An ERE matcher. ++EGREP=$lt_EGREP ++ ++# A literal string matcher. ++FGREP=$lt_FGREP ++ ++# A BSD- or MS-compatible name lister. ++NM=$lt_NM ++ ++# Whether we need soft or hard links. ++LN_S=$lt_LN_S ++ ++# What is the maximum length of a command? ++max_cmd_len=$max_cmd_len ++ ++# Object file suffix (normally "o"). ++objext=$ac_objext ++ ++# Executable file suffix (normally ""). ++exeext=$exeext ++ ++# whether the shell understands "unset". ++lt_unset=$lt_unset ++ ++# turn spaces into newlines. ++SP2NL=$lt_lt_SP2NL ++ ++# turn newlines into spaces. ++NL2SP=$lt_lt_NL2SP ++ ++# How to create reloadable object files. ++reload_flag=$lt_reload_flag ++reload_cmds=$lt_reload_cmds ++ ++# Method to check whether dependent libraries are shared objects. ++deplibs_check_method=$lt_deplibs_check_method ++ ++# Command to use when deplibs_check_method == "file_magic". ++file_magic_cmd=$lt_file_magic_cmd ++ ++# The archiver. ++AR=$lt_AR ++AR_FLAGS=$lt_AR_FLAGS ++ ++# A symbol stripping program. ++STRIP=$lt_STRIP ++ ++# Commands used to install an old-style archive. ++RANLIB=$lt_RANLIB ++old_postinstall_cmds=$lt_old_postinstall_cmds ++old_postuninstall_cmds=$lt_old_postuninstall_cmds ++ ++# A C compiler. ++LTCC=$lt_CC ++ ++# LTCC compiler flags. ++LTCFLAGS=$lt_CFLAGS ++ ++# Take the output of nm and produce a listing of raw symbols and C names. ++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe ++ ++# Transform the output of nm in a proper C declaration. ++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl ++ ++# Transform the output of nm in a C name address pair. ++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address ++ ++# Transform the output of nm in a C name address pair when lib prefix is needed. ++global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix ++ ++# The name of the directory that contains temporary libtool files. ++objdir=$objdir ++ ++# Shell to use when invoking shell scripts. ++SHELL=$lt_SHELL ++ ++# An echo program that does not interpret backslashes. ++ECHO=$lt_ECHO ++ ++# Used to examine libraries when file_magic_cmd begins with "file". ++MAGIC_CMD=$MAGIC_CMD ++ ++# Must we lock files when doing compilation? ++need_locks=$lt_need_locks ++ ++# Tool to manipulate archived DWARF debug symbol files on Mac OS X. ++DSYMUTIL=$lt_DSYMUTIL ++ ++# Tool to change global to local symbols on Mac OS X. ++NMEDIT=$lt_NMEDIT ++ ++# Tool to manipulate fat objects and archives on Mac OS X. ++LIPO=$lt_LIPO ++ ++# ldd/readelf like tool for Mach-O binaries on Mac OS X. ++OTOOL=$lt_OTOOL ++ ++# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. ++OTOOL64=$lt_OTOOL64 ++ ++# Old archive suffix (normally "a"). ++libext=$libext ++ ++# Shared library suffix (normally ".so"). ++shrext_cmds=$lt_shrext_cmds ++ ++# The commands to extract the exported symbol list from a shared archive. ++extract_expsyms_cmds=$lt_extract_expsyms_cmds ++ ++# Variables whose values should be saved in libtool wrapper scripts and ++# restored at link time. ++variables_saved_for_relink=$lt_variables_saved_for_relink ++ ++# Do we need the "lib" prefix for modules? ++need_lib_prefix=$need_lib_prefix ++ ++# Do we need a version for libraries? ++need_version=$need_version ++ ++# Library versioning type. ++version_type=$version_type ++ ++# Shared library runtime path variable. ++runpath_var=$runpath_var ++ ++# Shared library path variable. ++shlibpath_var=$shlibpath_var ++ ++# Is shlibpath searched before the hard-coded library search path? ++shlibpath_overrides_runpath=$shlibpath_overrides_runpath ++ ++# Format of library name prefix. ++libname_spec=$lt_libname_spec ++ ++# List of archive names. First name is the real one, the rest are links. ++# The last name is the one that the linker finds with -lNAME ++library_names_spec=$lt_library_names_spec ++ ++# The coded name of the library, if different from the real name. ++soname_spec=$lt_soname_spec ++ ++# Command to use after installation of a shared archive. ++postinstall_cmds=$lt_postinstall_cmds ++ ++# Command to use after uninstallation of a shared archive. ++postuninstall_cmds=$lt_postuninstall_cmds ++ ++# Commands used to finish a libtool library installation in a directory. ++finish_cmds=$lt_finish_cmds ++ ++# As "finish_cmds", except a single script fragment to be evaled but ++# not shown. ++finish_eval=$lt_finish_eval ++ ++# Whether we should hardcode library paths into libraries. ++hardcode_into_libs=$hardcode_into_libs ++ ++# Compile-time system search path for libraries. ++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec ++ ++# Run-time system search path for libraries. ++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec ++ ++# Whether dlopen is supported. ++dlopen_support=$enable_dlopen ++ ++# Whether dlopen of programs is supported. ++dlopen_self=$enable_dlopen_self ++ ++# Whether dlopen of statically linked programs is supported. ++dlopen_self_static=$enable_dlopen_self_static ++ ++# Commands to strip libraries. ++old_striplib=$lt_old_striplib ++striplib=$lt_striplib ++ ++ ++# The linker used to build libraries. ++LD=$lt_LD ++ ++# Commands used to build an old-style archive. ++old_archive_cmds=$lt_old_archive_cmds ++ ++# A language specific compiler. ++CC=$lt_compiler ++ ++# Is the compiler the GNU compiler? ++with_gcc=$GCC ++ ++# Compiler flag to turn off builtin functions. ++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag ++ ++# How to pass a linker flag through the compiler. ++wl=$lt_lt_prog_compiler_wl ++ ++# Additional compiler flags for building library objects. ++pic_flag=$lt_lt_prog_compiler_pic ++ ++# Compiler flag to prevent dynamic linking. ++link_static_flag=$lt_lt_prog_compiler_static ++ ++# Does compiler simultaneously support -c and -o options? ++compiler_c_o=$lt_lt_cv_prog_compiler_c_o ++ ++# Whether or not to add -lc for building shared libraries. ++build_libtool_need_lc=$archive_cmds_need_lc ++ ++# Whether or not to disallow shared libs when runtime libs are static. ++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes ++ ++# Compiler flag to allow reflexive dlopens. ++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec ++ ++# Compiler flag to generate shared objects directly from archives. ++whole_archive_flag_spec=$lt_whole_archive_flag_spec ++ ++# Whether the compiler copes with passing no objects directly. ++compiler_needs_object=$lt_compiler_needs_object ++ ++# Create an old-style archive from a shared archive. ++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds ++ ++# Create a temporary old-style archive to link instead of a shared archive. ++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds ++ ++# Commands used to build a shared archive. ++archive_cmds=$lt_archive_cmds ++archive_expsym_cmds=$lt_archive_expsym_cmds ++ ++# Commands used to build a loadable module if different from building ++# a shared archive. ++module_cmds=$lt_module_cmds ++module_expsym_cmds=$lt_module_expsym_cmds ++ ++# Whether we are building with GNU ld or not. ++with_gnu_ld=$lt_with_gnu_ld ++ ++# Flag that allows shared libraries with undefined symbols to be built. ++allow_undefined_flag=$lt_allow_undefined_flag ++ ++# Flag that enforces no undefined symbols. ++no_undefined_flag=$lt_no_undefined_flag ++ ++# Flag to hardcode \$libdir into a binary during linking. ++# This must work even if \$libdir does not exist ++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec ++ ++# If ld is used when linking, flag to hardcode \$libdir into a binary ++# during linking. This must work even if \$libdir does not exist. ++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld ++ ++# Whether we need a single "-rpath" flag with a separated argument. ++hardcode_libdir_separator=$lt_hardcode_libdir_separator ++ ++# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes ++# DIR into the resulting binary. ++hardcode_direct=$hardcode_direct ++ ++# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes ++# DIR into the resulting binary and the resulting library dependency is ++# "absolute",i.e impossible to change by setting \${shlibpath_var} if the ++# library is relocated. ++hardcode_direct_absolute=$hardcode_direct_absolute ++ ++# Set to "yes" if using the -LDIR flag during linking hardcodes DIR ++# into the resulting binary. ++hardcode_minus_L=$hardcode_minus_L ++ ++# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR ++# into the resulting binary. ++hardcode_shlibpath_var=$hardcode_shlibpath_var ++ ++# Set to "yes" if building a shared library automatically hardcodes DIR ++# into the library and all subsequent libraries and executables linked ++# against it. ++hardcode_automatic=$hardcode_automatic ++ ++# Set to yes if linker adds runtime paths of dependent libraries ++# to runtime path list. ++inherit_rpath=$inherit_rpath ++ ++# Whether libtool must link a program against all its dependency libraries. ++link_all_deplibs=$link_all_deplibs ++ ++# Fix the shell variable \$srcfile for the compiler. ++fix_srcfile_path=$lt_fix_srcfile_path ++ ++# Set to "yes" if exported symbols are required. ++always_export_symbols=$always_export_symbols ++ ++# The commands to list exported symbols. ++export_symbols_cmds=$lt_export_symbols_cmds ++ ++# Symbols that should not be listed in the preloaded symbols. ++exclude_expsyms=$lt_exclude_expsyms ++ ++# Symbols that must always be exported. ++include_expsyms=$lt_include_expsyms ++ ++# Commands necessary for linking programs (against libraries) with templates. ++prelink_cmds=$lt_prelink_cmds ++ ++# Specify filename containing input files. ++file_list_spec=$lt_file_list_spec ++ ++# How to hardcode a shared library path into an executable. ++hardcode_action=$hardcode_action ++ ++# ### END LIBTOOL CONFIG ++ ++_LT_EOF ++ ++ case $host_os in ++ aix3*) ++ cat <<\_LT_EOF >> "$cfgfile" ++# AIX sometimes has problems with the GCC collect2 program. For some ++# reason, if we set the COLLECT_NAMES environment variable, the problems ++# vanish in a puff of smoke. ++if test "X${COLLECT_NAMES+set}" != Xset; then ++ COLLECT_NAMES= ++ export COLLECT_NAMES ++fi ++_LT_EOF ++ ;; ++ esac ++ ++ ++ltmain="$ac_aux_dir/ltmain.sh" ++ ++ ++ # We use sed instead of cat because bash on DJGPP gets confused if ++ # if finds mixed CR/LF and LF-only lines. Since sed operates in ++ # text mode, it properly converts lines to CR/LF. This bash problem ++ # is reportedly fixed, but why not run on old versions too? ++ sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ ++ || (rm -f "$cfgfile"; exit 1) ++ ++ case $xsi_shell in ++ yes) ++ cat << \_LT_EOF >> "$cfgfile" ++ ++# func_dirname file append nondir_replacement ++# Compute the dirname of FILE. If nonempty, add APPEND to the result, ++# otherwise set result to NONDIR_REPLACEMENT. ++func_dirname () ++{ ++ case ${1} in ++ */*) func_dirname_result="${1%/*}${2}" ;; ++ * ) func_dirname_result="${3}" ;; ++ esac ++} ++ ++# func_basename file ++func_basename () ++{ ++ func_basename_result="${1##*/}" ++} ++ ++# func_dirname_and_basename file append nondir_replacement ++# perform func_basename and func_dirname in a single function ++# call: ++# dirname: Compute the dirname of FILE. If nonempty, ++# add APPEND to the result, otherwise set result ++# to NONDIR_REPLACEMENT. ++# value returned in "$func_dirname_result" ++# basename: Compute filename of FILE. ++# value retuned in "$func_basename_result" ++# Implementation must be kept synchronized with func_dirname ++# and func_basename. For efficiency, we do not delegate to ++# those functions but instead duplicate the functionality here. ++func_dirname_and_basename () ++{ ++ case ${1} in ++ */*) func_dirname_result="${1%/*}${2}" ;; ++ * ) func_dirname_result="${3}" ;; ++ esac ++ func_basename_result="${1##*/}" ++} ++ ++# func_stripname prefix suffix name ++# strip PREFIX and SUFFIX off of NAME. ++# PREFIX and SUFFIX must not contain globbing or regex special ++# characters, hashes, percent signs, but SUFFIX may contain a leading ++# dot (in which case that matches only a dot). ++func_stripname () ++{ ++ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are ++ # positional parameters, so assign one to ordinary parameter first. ++ func_stripname_result=${3} ++ func_stripname_result=${func_stripname_result#"${1}"} ++ func_stripname_result=${func_stripname_result%"${2}"} ++} ++ ++# func_opt_split ++func_opt_split () ++{ ++ func_opt_split_opt=${1%%=*} ++ func_opt_split_arg=${1#*=} ++} ++ ++# func_lo2o object ++func_lo2o () ++{ ++ case ${1} in ++ *.lo) func_lo2o_result=${1%.lo}.${objext} ;; ++ *) func_lo2o_result=${1} ;; ++ esac ++} ++ ++# func_xform libobj-or-source ++func_xform () ++{ ++ func_xform_result=${1%.*}.lo ++} ++ ++# func_arith arithmetic-term... ++func_arith () ++{ ++ func_arith_result=$(( $* )) ++} ++ ++# func_len string ++# STRING may not start with a hyphen. ++func_len () ++{ ++ func_len_result=${#1} ++} ++ ++_LT_EOF ++ ;; ++ *) # Bourne compatible functions. ++ cat << \_LT_EOF >> "$cfgfile" ++ ++# func_dirname file append nondir_replacement ++# Compute the dirname of FILE. If nonempty, add APPEND to the result, ++# otherwise set result to NONDIR_REPLACEMENT. ++func_dirname () ++{ ++ # Extract subdirectory from the argument. ++ func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` ++ if test "X$func_dirname_result" = "X${1}"; then ++ func_dirname_result="${3}" ++ else ++ func_dirname_result="$func_dirname_result${2}" ++ fi ++} ++ ++# func_basename file ++func_basename () ++{ ++ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` ++} ++ ++ ++# func_stripname prefix suffix name ++# strip PREFIX and SUFFIX off of NAME. ++# PREFIX and SUFFIX must not contain globbing or regex special ++# characters, hashes, percent signs, but SUFFIX may contain a leading ++# dot (in which case that matches only a dot). ++# func_strip_suffix prefix name ++func_stripname () ++{ ++ case ${2} in ++ .*) func_stripname_result=`$ECHO "X${3}" \ ++ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; ++ *) func_stripname_result=`$ECHO "X${3}" \ ++ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; ++ esac ++} ++ ++# sed scripts: ++my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' ++my_sed_long_arg='1s/^-[^=]*=//' ++ ++# func_opt_split ++func_opt_split () ++{ ++ func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` ++ func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` ++} ++ ++# func_lo2o object ++func_lo2o () ++{ ++ func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` ++} ++ ++# func_xform libobj-or-source ++func_xform () ++{ ++ func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` ++} ++ ++# func_arith arithmetic-term... ++func_arith () ++{ ++ func_arith_result=`expr "$@"` ++} ++ ++# func_len string ++# STRING may not start with a hyphen. ++func_len () ++{ ++ func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` ++} ++ ++_LT_EOF ++esac ++ ++case $lt_shell_append in ++ yes) ++ cat << \_LT_EOF >> "$cfgfile" ++ ++# func_append var value ++# Append VALUE to the end of shell variable VAR. ++func_append () ++{ ++ eval "$1+=\$2" ++} ++_LT_EOF ++ ;; ++ *) ++ cat << \_LT_EOF >> "$cfgfile" ++ ++# func_append var value ++# Append VALUE to the end of shell variable VAR. ++func_append () ++{ ++ eval "$1=\$$1\$2" ++} ++ ++_LT_EOF ++ ;; ++ esac ++ ++ ++ sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ ++ || (rm -f "$cfgfile"; exit 1) ++ ++ mv -f "$cfgfile" "$ofile" || ++ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") ++ chmod +x "$ofile" ++ ++ ;; ++ "default-1":C) ++ for ac_file in $CONFIG_FILES; do ++ # Support "outfile[:infile[:infile...]]" ++ case "$ac_file" in ++ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; ++ esac ++ # PO directories have a Makefile.in generated from Makefile.in.in. ++ case "$ac_file" in */Makefile.in) ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then ++ rm -f "$ac_dir/POTFILES" ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" ++ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" ++ POMAKEFILEDEPS="POTFILES.in" ++ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend ++ # on $ac_dir but don't depend on user-specified configuration ++ # parameters. ++ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then ++ # The LINGUAS file contains the set of available languages. ++ if test -n "$OBSOLETE_ALL_LINGUAS"; then ++ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" ++ fi ++ ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` ++ # Hide the ALL_LINGUAS assigment from automake. ++ eval 'ALL_LINGUAS''=$ALL_LINGUAS_' ++ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" ++ else ++ # The set of available languages was given in configure.in. ++ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' ++ fi ++ # Compute POFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) ++ # Compute UPDATEPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) ++ # Compute DUMMYPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) ++ # Compute GMOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) ++ case "$ac_given_srcdir" in ++ .) srcdirpre= ;; ++ *) srcdirpre='$(srcdir)/' ;; ++ esac ++ POFILES= ++ UPDATEPOFILES= ++ DUMMYPOFILES= ++ GMOFILES= ++ for lang in $ALL_LINGUAS; do ++ POFILES="$POFILES $srcdirpre$lang.po" ++ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" ++ DUMMYPOFILES="$DUMMYPOFILES $lang.nop" ++ GMOFILES="$GMOFILES $srcdirpre$lang.gmo" ++ done ++ # CATALOGS depends on both $ac_dir and the user's LINGUAS ++ # environment variable. ++ INST_LINGUAS= ++ if test -n "$ALL_LINGUAS"; then ++ for presentlang in $ALL_LINGUAS; do ++ useit=no ++ if test "%UNSET%" != "$LINGUAS"; then ++ desiredlanguages="$LINGUAS" ++ else ++ desiredlanguages="$ALL_LINGUAS" ++ fi ++ for desiredlang in $desiredlanguages; do ++ # Use the presentlang catalog if desiredlang is ++ # a. equal to presentlang, or ++ # b. a variant of presentlang (because in this case, ++ # presentlang can be used as a fallback for messages ++ # which are not translated in the desiredlang catalog). ++ case "$desiredlang" in ++ "$presentlang"*) useit=yes;; ++ esac ++ done ++ if test $useit = yes; then ++ INST_LINGUAS="$INST_LINGUAS $presentlang" ++ fi ++ done ++ fi ++ CATALOGS= ++ if test -n "$INST_LINGUAS"; then ++ for lang in $INST_LINGUAS; do ++ CATALOGS="$CATALOGS $lang.gmo" ++ done ++ fi ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" ++ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" ++ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do ++ if test -f "$f"; then ++ case "$f" in ++ *.orig | *.bak | *~) ;; ++ *) cat "$f" >> "$ac_dir/Makefile" ;; ++ esac ++ fi ++ done ++ fi ++ ;; ++ esac ++ done ;; ++ ++ esac ++done # for ac_tag ++ ++ ++as_fn_exit 0 ++_ACEOF ++ac_clean_files=$ac_clean_files_save ++ ++test $ac_write_fail = 0 || ++ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 ++ ++ ++# configure is writing to config.log, and then calls config.status. ++# config.status does its own redirection, appending to config.log. ++# Unfortunately, on DOS this fails, as config.log is still kept open ++# by configure, so config.status won't be able to write to it; its ++# output is simply discarded. So we exec the FD to /dev/null, ++# effectively closing config.log, so it can be properly (re)opened and ++# appended to by config.status. When coming back to configure, we ++# need to make the FD available again. ++if test "$no_create" != yes; then ++ ac_cs_success=: ++ ac_config_status_args= ++ test "$silent" = yes && ++ ac_config_status_args="$ac_config_status_args --quiet" ++ exec 5>/dev/null ++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ++ exec 5>>config.log ++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which ++ # would make configure fail if this is the last instruction. ++ $ac_cs_success || as_fn_exit $? ++fi ++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration summary" >&5 ++$as_echo "$as_me: Configuration summary" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: =====================" >&5 ++$as_echo "$as_me: =====================" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Drivers" >&5 ++$as_echo "$as_me: Drivers" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Xen: $with_xen" >&5 ++$as_echo "$as_me: Xen: $with_xen" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Proxy: $with_xen_proxy" >&5 ++$as_echo "$as_me: Proxy: $with_xen_proxy" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: QEMU: $with_qemu" >&5 ++$as_echo "$as_me: QEMU: $with_qemu" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: UML: $with_uml" >&5 ++$as_echo "$as_me: UML: $with_uml" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: OpenVZ: $with_openvz" >&5 ++$as_echo "$as_me: OpenVZ: $with_openvz" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: VBox: $with_vbox" >&5 ++$as_echo "$as_me: VBox: $with_vbox" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: LXC: $with_lxc" >&5 ++$as_echo "$as_me: LXC: $with_lxc" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: PHYP: $with_phyp" >&5 ++$as_echo "$as_me: PHYP: $with_phyp" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: ONE: $with_one" >&5 ++$as_echo "$as_me: ONE: $with_one" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: ESX: $with_esx" >&5 ++$as_echo "$as_me: ESX: $with_esx" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Test: $with_test" >&5 ++$as_echo "$as_me: Test: $with_test" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Remote: $with_remote" >&5 ++$as_echo "$as_me: Remote: $with_remote" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Network: $with_network" >&5 ++$as_echo "$as_me: Network: $with_network" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Libvirtd: $with_libvirtd" >&5 ++$as_echo "$as_me: Libvirtd: $with_libvirtd" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: $with_netcf" >&5 ++$as_echo "$as_me: netcf: $with_netcf" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Storage Drivers" >&5 ++$as_echo "$as_me: Storage Drivers" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Dir: $with_storage_dir" >&5 ++$as_echo "$as_me: Dir: $with_storage_dir" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: FS: $with_storage_fs" >&5 ++$as_echo "$as_me: FS: $with_storage_fs" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: NetFS: $with_storage_fs" >&5 ++$as_echo "$as_me: NetFS: $with_storage_fs" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: LVM: $with_storage_lvm" >&5 ++$as_echo "$as_me: LVM: $with_storage_lvm" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: iSCSI: $with_storage_iscsi" >&5 ++$as_echo "$as_me: iSCSI: $with_storage_iscsi" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: SCSI: $with_storage_scsi" >&5 ++$as_echo "$as_me: SCSI: $with_storage_scsi" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Disk: $with_storage_disk" >&5 ++$as_echo "$as_me: Disk: $with_storage_disk" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Security Drivers" >&5 ++$as_echo "$as_me: Security Drivers" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: SELinux: $with_secdriver_selinux" >&5 ++$as_echo "$as_me: SELinux: $with_secdriver_selinux" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: AppArmor: $with_secdriver_apparmor" >&5 ++$as_echo "$as_me: AppArmor: $with_secdriver_apparmor" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Driver Loadable Modules" >&5 ++$as_echo "$as_me: Driver Loadable Modules" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++if test "$with_driver_modules" != "no" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: dlopen: $DRIVER_MODULES_CFLAGS $DRIVER_MODULES_LIBS" >&5 ++$as_echo "$as_me: dlopen: $DRIVER_MODULES_CFLAGS $DRIVER_MODULES_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: dlopen: no" >&5 ++$as_echo "$as_me: dlopen: no" >&6;} ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Libraries" >&5 ++$as_echo "$as_me: Libraries" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libxml: $LIBXML_CFLAGS $LIBXML_LIBS" >&5 ++$as_echo "$as_me: libxml: $LIBXML_CFLAGS $LIBXML_LIBS" >&6;} ++if test "$with_esx" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libcurl: $LIBCURL_CFLAGS $LIBCURL_LIBS" >&5 ++$as_echo "$as_me: libcurl: $LIBCURL_CFLAGS $LIBCURL_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libcurl: no" >&5 ++$as_echo "$as_me: libcurl: no" >&6;} ++fi ++if test "$with_libssh" != "no" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libssh: $LIBSSH_CFLAGS $LIBSSH_LIBS" >&5 ++$as_echo "$as_me: libssh: $LIBSSH_CFLAGS $LIBSSH_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libssh: no" >&5 ++$as_echo "$as_me: libssh: no" >&6;} ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: gnutls: $GNUTLS_CFLAGS $GNUTLS_LIBS" >&5 ++$as_echo "$as_me: gnutls: $GNUTLS_CFLAGS $GNUTLS_LIBS" >&6;} ++if test "$with_sasl" != "no" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: sasl: $SASL_CFLAGS $SASL_LIBS" >&5 ++$as_echo "$as_me: sasl: $SASL_CFLAGS $SASL_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: sasl: no" >&5 ++$as_echo "$as_me: sasl: no" >&6;} ++fi ++if test "$with_avahi" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: avahi: $AVAHI_CFLAGS $AVAHI_LIBS" >&5 ++$as_echo "$as_me: avahi: $AVAHI_CFLAGS $AVAHI_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: avahi: no" >&5 ++$as_echo "$as_me: avahi: no" >&6;} ++fi ++if test "$with_polkit" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: polkit: $POLKIT_CFLAGS $POLKIT_LIBS" >&5 ++$as_echo "$as_me: polkit: $POLKIT_CFLAGS $POLKIT_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: polkit: no" >&5 ++$as_echo "$as_me: polkit: no" >&6;} ++fi ++if test "$with_selinux" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: selinux: $SELINUX_CFLAGS $SELINUX_LIBS" >&5 ++$as_echo "$as_me: selinux: $SELINUX_CFLAGS $SELINUX_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: selinux: no" >&5 ++$as_echo "$as_me: selinux: no" >&6;} ++fi ++if test "$with_apparmor" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: apparmor: $APPARMOR_CFLAGS $APPARMOR_LIBS" >&5 ++$as_echo "$as_me: apparmor: $APPARMOR_CFLAGS $APPARMOR_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: apparmor: no" >&5 ++$as_echo "$as_me: apparmor: no" >&6;} ++fi ++if test "$with_numactl" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: numactl: $NUMACTL_CFLAGS $NUMACTL_LIBS" >&5 ++$as_echo "$as_me: numactl: $NUMACTL_CFLAGS $NUMACTL_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: numactl: no" >&5 ++$as_echo "$as_me: numactl: no" >&6;} ++fi ++if test "$with_capng" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: capng: $CAPNG_CFLAGS $CAPNG_LIBS" >&5 ++$as_echo "$as_me: capng: $CAPNG_CFLAGS $CAPNG_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: capng: no" >&5 ++$as_echo "$as_me: capng: no" >&6;} ++fi ++if test "$with_xen" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xen: $XEN_CFLAGS $XEN_LIBS" >&5 ++$as_echo "$as_me: xen: $XEN_CFLAGS $XEN_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xen: no" >&5 ++$as_echo "$as_me: xen: no" >&6;} ++fi ++if test "$with_hal" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: hal: $HAL_CFLAGS $HAL_LIBS" >&5 ++$as_echo "$as_me: hal: $HAL_CFLAGS $HAL_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: hal: no" >&5 ++$as_echo "$as_me: hal: no" >&6;} ++fi ++if test "$with_devkit" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: devkit: $DEVKIT_CFLAGS $DEVKIT_LIBS" >&5 ++$as_echo "$as_me: devkit: $DEVKIT_CFLAGS $DEVKIT_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: devkit: no" >&5 ++$as_echo "$as_me: devkit: no" >&6;} ++fi ++if test "$with_netcf" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: $NETCF_CFLAGS $NETCF_LIBS" >&5 ++$as_echo "$as_me: netcf: $NETCF_CFLAGS $NETCF_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: no" >&5 ++$as_echo "$as_me: netcf: no" >&6;} ++fi ++if test "$with_one" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xmlrpc: $XMLRPC_CFLAGS $XMLRPC_LIBS" >&5 ++$as_echo "$as_me: xmlrpc: $XMLRPC_CFLAGS $XMLRPC_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xmlrpc: no" >&5 ++$as_echo "$as_me: xmlrpc: no" >&6;} ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Test suite" >&5 ++$as_echo "$as_me: Test suite" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Coverage: $enable_coverage" >&5 ++$as_echo "$as_me: Coverage: $enable_coverage" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Alloc OOM: $enable_oom" >&5 ++$as_echo "$as_me: Alloc OOM: $enable_oom" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Miscellaneous" >&5 ++$as_echo "$as_me: Miscellaneous" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Debug: $enable_debug" >&5 ++$as_echo "$as_me: Debug: $enable_debug" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Warnings: $enable_compile_warnings" >&5 ++$as_echo "$as_me: Warnings: $enable_compile_warnings" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Readline: $lv_use_readline" >&5 ++$as_echo "$as_me: Readline: $lv_use_readline" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Privileges" >&5 ++$as_echo "$as_me: Privileges" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: QEMU: $QEMU_USER:$QEMU_GROUP" >&5 ++$as_echo "$as_me: QEMU: $QEMU_USER:$QEMU_GROUP" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} +diff -Nur libvirt-0.7.0/autom4te.cache/output.1 libvirt-0.7.0.new/autom4te.cache/output.1 +--- libvirt-0.7.0/autom4te.cache/output.1 1969-12-31 18:00:00.000000000 -0600 ++++ libvirt-0.7.0.new/autom4te.cache/output.1 2009-08-13 22:45:13.086507275 -0500 +@@ -0,0 +1,33719 @@ ++@%:@! /bin/sh ++@%:@ Guess values for system-dependent variables and create Makefiles. ++@%:@ Generated by GNU Autoconf 2.64 for libvirt 0.7.0. ++@%:@ ++@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, ++@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software ++@%:@ Foundation, Inc. ++@%:@ ++@%:@ This configure script is free software; the Free Software Foundation ++@%:@ gives unlimited permission to copy, distribute and modify it. ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in @%:@( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++if test "x$CONFIG_SHELL" = x; then ++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '\${1+\"\$@\"}'='\"\$@\"' ++ setopt NO_GLOB_SUBST ++else ++ case \`(set -o) 2>/dev/null\` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++" ++ as_required="as_fn_return () { (exit \$1); } ++as_fn_success () { as_fn_return 0; } ++as_fn_failure () { as_fn_return 1; } ++as_fn_ret_success () { return 0; } ++as_fn_ret_failure () { return 1; } ++ ++exitcode=0 ++as_fn_success || { exitcode=1; echo as_fn_success failed.; } ++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ++ ++else ++ exitcode=1; echo positional parameters were not saved. ++fi ++test x\$exitcode = x0 || exit 1" ++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ++test \$(( 1 + 1 )) = 2 || exit 1" ++ if (eval "$as_required") 2>/dev/null; then : ++ as_have_required=yes ++else ++ as_have_required=no ++fi ++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : ++ ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false ++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ as_found=: ++ case $as_dir in @%:@( ++ /*) ++ for as_base in sh bash ksh sh5; do ++ # Try only shells that exist, to save several forks. ++ as_shell=$as_dir/$as_base ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ CONFIG_SHELL=$as_shell as_have_required=yes ++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ break 2 ++fi ++fi ++ done;; ++ esac ++ as_found=false ++done ++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : ++ CONFIG_SHELL=$SHELL as_have_required=yes ++fi; } ++IFS=$as_save_IFS ++ ++ ++ if test "x$CONFIG_SHELL" != x; then : ++ # We cannot yet assume a decent shell, so we have to provide a ++ # neutralization value for shells without unset; and this also ++ # works around shells that cannot unset nonexistent variables. ++ BASH_ENV=/dev/null ++ ENV=/dev/null ++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++ export CONFIG_SHELL ++ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} ++fi ++ ++ if test x$as_have_required = xno; then : ++ $as_echo "$0: This script requires a shell more modern than all" ++ $as_echo "$0: the shells that I found on your system." ++ if test x${ZSH_VERSION+set} = xset ; then ++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" ++ $as_echo "$0: be upgraded to zsh 4.3.4 or later." ++ else ++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, ++$0: including any error possibly output before this ++$0: message. Then install a modern shell, or manually run ++$0: the script under such a shell if you do have one." ++ fi ++ exit 1 ++fi ++fi ++fi ++SHELL=${CONFIG_SHELL-/bin/sh} ++export SHELL ++# Unset more variables known to interfere with behavior of common tools. ++CLICOLOR_FORCE= GREP_OPTIONS= ++unset CLICOLOR_FORCE GREP_OPTIONS ++ ++## --------------------- ## ++## M4sh Shell Functions. ## ++## --------------------- ## ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++@%:@ as_fn_error ERROR [LINENO LOG_FD] ++@%:@ --------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with status $?, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$?; test $as_status -eq 0 && as_status=1 ++ if test "$3"; then ++ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 ++ fi ++ $as_echo "$as_me: error: $1" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ ++ as_lineno_1=$LINENO as_lineno_1a=$LINENO ++ as_lineno_2=$LINENO as_lineno_2a=$LINENO ++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ++ sed -n ' ++ p ++ /[$]LINENO/= ++ ' <$as_myself | ++ sed ' ++ s/[$]LINENO.*/&-/ ++ t lineno ++ b ++ :lineno ++ N ++ :loop ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ++ t loop ++ s/-\n.*// ++ ' >$as_me.lineno && ++ chmod +x "$as_me.lineno" || ++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ++ ++ # Don't try to exec as it changes $[0], causing all sort of problems ++ # (the dirname of $[0] is not the place where we might find the ++ # original and so on. Autoconf is especially sensitive to this). ++ . "./$as_me.lineno" ++ # Exit status is that of the last command. ++ exit ++} ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -p'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -p' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -p' ++ fi ++else ++ as_ln_s='cp -p' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++if test -x / >/dev/null 2>&1; then ++ as_test_x='test -x' ++else ++ if ls -dL / >/dev/null 2>&1; then ++ as_ls_L_option=L ++ else ++ as_ls_L_option= ++ fi ++ as_test_x=' ++ eval sh -c '\'' ++ if test -d "$1"; then ++ test -d "$1/."; ++ else ++ case $1 in @%:@( ++ -*)set "./$1";; ++ esac; ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( ++ ???[sx]*):;;*)false;;esac;fi ++ '\'' sh ++ ' ++fi ++as_executable_p=$as_test_x ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++ ++# Check that we are running under the correct shell. ++SHELL=${CONFIG_SHELL-/bin/sh} ++ ++case X$lt_ECHO in ++X*--fallback-echo) ++ # Remove one level of quotation (which was required for Make). ++ ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` ++ ;; ++esac ++ ++ECHO=${lt_ECHO-echo} ++if test "X$1" = X--no-reexec; then ++ # Discard the --no-reexec flag, and continue. ++ shift ++elif test "X$1" = X--fallback-echo; then ++ # Avoid inline document here, it may be left over ++ : ++elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then ++ # Yippee, $ECHO works! ++ : ++else ++ # Restart under the correct shell. ++ exec $SHELL "$0" --no-reexec ${1+"$@"} ++fi ++ ++if test "X$1" = X--fallback-echo; then ++ # used as fallback echo ++ shift ++ cat <<_LT_EOF ++$* ++_LT_EOF ++ exit 0 ++fi ++ ++# The HP-UX ksh and POSIX shell print the target directory to stdout ++# if CDPATH is set. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++if test -z "$lt_ECHO"; then ++ if test "X${echo_test_string+set}" != Xset; then ++ # find a string as large as possible, as long as the shell can cope with it ++ for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do ++ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... ++ if { echo_test_string=`eval $cmd`; } 2>/dev/null && ++ { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null ++ then ++ break ++ fi ++ done ++ fi ++ ++ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && ++ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ : ++ else ++ # The Solaris, AIX, and Digital Unix default echo programs unquote ++ # backslashes. This makes it impossible to quote backslashes using ++ # echo "$something" | sed 's/\\/\\\\/g' ++ # ++ # So, first we look for a working echo in the user's PATH. ++ ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for dir in $PATH /usr/ucb; do ++ IFS="$lt_save_ifs" ++ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && ++ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && ++ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ ECHO="$dir/echo" ++ break ++ fi ++ done ++ IFS="$lt_save_ifs" ++ ++ if test "X$ECHO" = Xecho; then ++ # We didn't find a better echo, so look for alternatives. ++ if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && ++ echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ # This shell has a builtin print -r that does the trick. ++ ECHO='print -r' ++ elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && ++ test "X$CONFIG_SHELL" != X/bin/ksh; then ++ # If we have ksh, try running configure again with it. ++ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} ++ export ORIGINAL_CONFIG_SHELL ++ CONFIG_SHELL=/bin/ksh ++ export CONFIG_SHELL ++ exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} ++ else ++ # Try using printf. ++ ECHO='printf %s\n' ++ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && ++ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ # Cool, printf works ++ : ++ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && ++ test "X$echo_testing_string" = 'X\t' && ++ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL ++ export CONFIG_SHELL ++ SHELL="$CONFIG_SHELL" ++ export SHELL ++ ECHO="$CONFIG_SHELL $0 --fallback-echo" ++ elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && ++ test "X$echo_testing_string" = 'X\t' && ++ echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && ++ test "X$echo_testing_string" = "X$echo_test_string"; then ++ ECHO="$CONFIG_SHELL $0 --fallback-echo" ++ else ++ # maybe with a smaller string... ++ prev=: ++ ++ for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do ++ if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null ++ then ++ break ++ fi ++ prev="$cmd" ++ done ++ ++ if test "$prev" != 'sed 50q "$0"'; then ++ echo_test_string=`eval $prev` ++ export echo_test_string ++ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} ++ else ++ # Oops. We lost completely, so just stick with echo. ++ ECHO=echo ++ fi ++ fi ++ fi ++ fi ++ fi ++fi ++ ++# Copy echo and quote the copy suitably for passing to libtool from ++# the Makefile, instead of quoting the original, which is used later. ++lt_ECHO=$ECHO ++if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ++ lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" ++fi ++ ++ ++ ++ ++exec 7<&0 &1 ++ ++# Name of the host. ++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, ++# so uname gets run too. ++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ++ ++# ++# Initializations. ++# ++ac_default_prefix=/usr/local ++ac_clean_files= ++ac_config_libobj_dir=. ++LIB@&t@OBJS= ++cross_compiling=no ++subdirs= ++MFLAGS= ++MAKEFLAGS= ++ ++# Identity of this package. ++PACKAGE_NAME='libvirt' ++PACKAGE_TARNAME='libvirt' ++PACKAGE_VERSION='0.7.0' ++PACKAGE_STRING='libvirt 0.7.0' ++PACKAGE_BUGREPORT='' ++PACKAGE_URL='' ++ ++ac_unique_file="src/libvirt.c" ++# Factoring default headers for most tests. ++ac_includes_default="\ ++#include ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_SYS_STAT_H ++# include ++#endif ++#ifdef STDC_HEADERS ++# include ++# include ++#else ++# ifdef HAVE_STDLIB_H ++# include ++# endif ++#endif ++#ifdef HAVE_STRING_H ++# if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++# include ++# endif ++# include ++#endif ++#ifdef HAVE_STRINGS_H ++# include ++#endif ++#ifdef HAVE_INTTYPES_H ++# include ++#endif ++#ifdef HAVE_STDINT_H ++# include ++#endif ++#ifdef HAVE_UNISTD_H ++# include ++#endif" ++ ++gl_header_list= ++gl_func_list= ++ac_subst_vars='gltests_LTLIBOBJS ++gltests_LIBOBJS ++gl_LTLIBOBJS ++gl_LIBOBJS ++LTLIBOBJS ++LIB@&t@OBJS ++WITH_LINUX_FALSE ++WITH_LINUX_TRUE ++WITH_NODE_DEVICES_FALSE ++WITH_NODE_DEVICES_TRUE ++HAVE_DEVKIT_FALSE ++HAVE_DEVKIT_TRUE ++DEVKIT_LIBS ++DEVKIT_CFLAGS ++GLIB2_LIBS ++GLIB2_CFLAGS ++HAVE_HAL_FALSE ++HAVE_HAL_TRUE ++HAL_LIBS ++HAL_CFLAGS ++LV_LIBTOOL_OBJDIR ++DRIVER_MODULES_LIBS ++DRIVER_MODULES_CFLAGS ++WITH_DRIVER_MODULES_FALSE ++WITH_DRIVER_MODULES_TRUE ++WITH_WIN_ICON_FALSE ++WITH_WIN_ICON_TRUE ++WINDRES ++MINGW_EXTRA_LDFLAGS ++CYGWIN_EXTRA_PYTHON_LIBADD ++CYGWIN_EXTRA_LIBADD ++CYGWIN_EXTRA_LDFLAGS ++POSUB ++INTLLIBS ++LTLIBICONV ++LIBICONV ++MSGMERGE ++XGETTEXT ++GMSGFMT ++MSGFMT ++USE_NLS ++MKINSTALLDIRS ++WITH_PROXY_FALSE ++WITH_PROXY_TRUE ++WITH_CIL_FALSE ++WITH_CIL_TRUE ++LOCK_CHECKING_CFLAGS ++COVERAGE_LDFLAGS ++COVERAGE_CFLAGS ++ENABLE_XEN_TESTS_FALSE ++ENABLE_XEN_TESTS_TRUE ++PYTHON_SITE_PACKAGES ++PYTHON_INCLUDES ++PYTHON_VERSION ++pythondir ++WITH_PYTHON_FALSE ++WITH_PYTHON_TRUE ++PYTHON ++WITH_ESX_FALSE ++WITH_ESX_TRUE ++LIBCURL_LIBS ++LIBCURL_CFLAGS ++WITH_STORAGE_DISK_FALSE ++WITH_STORAGE_DISK_TRUE ++LIBPARTED_LIBS ++LIBPARTED_CFLAGS ++PARTED ++WITH_STORAGE_SCSI_FALSE ++WITH_STORAGE_SCSI_TRUE ++WITH_STORAGE_ISCSI_FALSE ++WITH_STORAGE_ISCSI_TRUE ++ISCSIADM ++WITH_STORAGE_LVM_FALSE ++WITH_STORAGE_LVM_TRUE ++LVS ++VGS ++PVS ++VGSCAN ++VGCHANGE ++LVREMOVE ++VGREMOVE ++PVREMOVE ++LVCREATE ++VGCREATE ++PVCREATE ++SHOWMOUNT ++WITH_STORAGE_FS_FALSE ++WITH_STORAGE_FS_TRUE ++UMOUNT ++MOUNT ++WITH_STORAGE_DIR_FALSE ++WITH_STORAGE_DIR_TRUE ++WITH_NETCF_FALSE ++WITH_NETCF_TRUE ++NETCF_LIBS ++NETCF_CFLAGS ++WITH_BRIDGE_FALSE ++WITH_BRIDGE_TRUE ++WITH_NETWORK_FALSE ++WITH_NETWORK_TRUE ++VIRSH_LIBS ++READLINE_CFLAGS ++CAPNG_LIBS ++CAPNG_CFLAGS ++HAVE_CAPNG_FALSE ++HAVE_CAPNG_TRUE ++WITH_PHYP_FALSE ++WITH_PHYP_TRUE ++LIBSSH_CFLAGS ++LIBSSH_LIBS ++WITH_UML_FALSE ++WITH_UML_TRUE ++NUMACTL_LIBS ++NUMACTL_CFLAGS ++HAVE_NUMACTL_FALSE ++HAVE_NUMACTL_TRUE ++WITH_SECDRIVER_APPARMOR_FALSE ++WITH_SECDRIVER_APPARMOR_TRUE ++APPARMOR_LIBS ++APPARMOR_CFLAGS ++HAVE_APPARMOR_FALSE ++HAVE_APPARMOR_TRUE ++WITH_SECDRIVER_SELINUX_FALSE ++WITH_SECDRIVER_SELINUX_TRUE ++SELINUX_LIBS ++SELINUX_CFLAGS ++HAVE_SELINUX_FALSE ++HAVE_SELINUX_TRUE ++HAVE_AVAHI_FALSE ++HAVE_AVAHI_TRUE ++AVAHI_LIBS ++AVAHI_CFLAGS ++HAVE_POLKIT_FALSE ++HAVE_POLKIT_TRUE ++POLKIT_AUTH ++POLKIT_LIBS ++POLKIT_CFLAGS ++SASL_LIBS ++SASL_CFLAGS ++HAVE_SASL_FALSE ++HAVE_SASL_TRUE ++GNUTLS_LIBS ++GNUTLS_CFLAGS ++LIBXML_LIBS ++LIBXML_CFLAGS ++HAVE_XMLRPC_FALSE ++HAVE_XMLRPC_TRUE ++XMLRPC_LIBS ++XMLRPC_CFLAGS ++PKG_CONFIG ++WITH_LXC_FALSE ++WITH_LXC_TRUE ++WITH_XEN_INOTIFY_FALSE ++WITH_XEN_INOTIFY_TRUE ++XEN_LIBS ++XEN_CFLAGS ++WITH_XEN_FALSE ++WITH_XEN_TRUE ++WITH_LIBVIRTD_FALSE ++WITH_LIBVIRTD_TRUE ++WITH_REMOTE_FALSE ++WITH_REMOTE_TRUE ++WITH_TEST_FALSE ++WITH_TEST_TRUE ++WITH_ONE_FALSE ++WITH_ONE_TRUE ++WITH_QEMU_FALSE ++WITH_QEMU_TRUE ++WITH_VBOX_FALSE ++WITH_VBOX_TRUE ++WITH_OPENVZ_FALSE ++WITH_OPENVZ_TRUE ++IPTABLES_PATH ++LOKKIT_PATH ++LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE ++LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE ++REMOTE_PID_FILE ++ENABLE_DEBUG_FALSE ++ENABLE_DEBUG_TRUE ++STATIC_BINARIES ++HTML_DIR ++MODPROBE ++UDEVSETTLE ++UDEVADM ++BRCTL ++DNSMASQ ++AUGPARSE ++XSLTPROC ++XMLCATALOG ++XMLLINT ++TAR ++MV ++RM ++HAVE_GLIBC_RPCGEN_FALSE ++HAVE_GLIBC_RPCGEN_TRUE ++HAVE_RPCGEN_FALSE ++HAVE_RPCGEN_TRUE ++RPCGEN ++WARN_PYTHON_CFLAGS ++WARN_CFLAGS ++COMPILER_FLAGS ++VERSION_SCRIPT_FLAGS ++OTOOL64 ++OTOOL ++LIPO ++NMEDIT ++DSYMUTIL ++lt_ECHO ++AR ++LN_S ++NM ++ac_ct_DUMPBIN ++DUMPBIN ++LD ++FGREP ++SED ++LIBTOOL ++OBJDUMP ++DLLTOOL ++AS ++ANSI2KNR ++U ++LIBTESTS_LIBDEPS ++abs_aux_dir ++LIBSOCKET ++NEXT_AS_FIRST_DIRECTIVE_WCHAR_H ++NEXT_WCHAR_H ++HAVE_WCHAR_H ++HAVE_WINT_T ++WCHAR_H ++REPLACE_WCWIDTH ++REPLACE_WCSNRTOMBS ++REPLACE_WCSRTOMBS ++REPLACE_WCRTOMB ++REPLACE_MBSNRTOWCS ++REPLACE_MBSRTOWCS ++REPLACE_MBRLEN ++REPLACE_MBRTOWC ++REPLACE_MBSINIT ++REPLACE_WCTOB ++REPLACE_BTOWC ++REPLACE_MBSTATE_T ++HAVE_DECL_WCWIDTH ++HAVE_DECL_WCTOB ++HAVE_WCSNRTOMBS ++HAVE_WCSRTOMBS ++HAVE_WCRTOMB ++HAVE_MBSNRTOWCS ++HAVE_MBSRTOWCS ++HAVE_MBRLEN ++HAVE_MBRTOWC ++HAVE_MBSINIT ++HAVE_BTOWC ++GNULIB_WCWIDTH ++GNULIB_WCSNRTOMBS ++GNULIB_WCSRTOMBS ++GNULIB_WCRTOMB ++GNULIB_MBSNRTOWCS ++GNULIB_MBSRTOWCS ++GNULIB_MBRLEN ++GNULIB_MBRTOWC ++GNULIB_MBSINIT ++GNULIB_WCTOB ++GNULIB_BTOWC ++HAVE_UNISTD_H ++NEXT_AS_FIRST_DIRECTIVE_UNISTD_H ++NEXT_UNISTD_H ++SYS_TIME_H_DEFINES_STRUCT_TIMESPEC ++TIME_H_DEFINES_STRUCT_TIMESPEC ++NEXT_AS_FIRST_DIRECTIVE_TIME_H ++NEXT_TIME_H ++REPLACE_TIMEGM ++REPLACE_STRPTIME ++REPLACE_NANOSLEEP ++REPLACE_LOCALTIME_R ++SYS_STAT_H ++NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H ++NEXT_SYS_STAT_H ++HAVE_LSTAT ++NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H ++NEXT_SYS_IOCTL_H ++HAVE_SYS_IOCTL_H ++NEXT_AS_FIRST_DIRECTIVE_STRING_H ++NEXT_STRING_H ++HAVE_RANDOM_H ++NEXT_AS_FIRST_DIRECTIVE_STDLIB_H ++NEXT_STDLIB_H ++NEXT_AS_FIRST_DIRECTIVE_STDIO_H ++NEXT_STDIO_H ++STDINT_H ++WINT_T_SUFFIX ++WCHAR_T_SUFFIX ++SIG_ATOMIC_T_SUFFIX ++SIZE_T_SUFFIX ++PTRDIFF_T_SUFFIX ++HAVE_SIGNED_WINT_T ++HAVE_SIGNED_WCHAR_T ++HAVE_SIGNED_SIG_ATOMIC_T ++BITSIZEOF_WINT_T ++BITSIZEOF_WCHAR_T ++BITSIZEOF_SIG_ATOMIC_T ++BITSIZEOF_SIZE_T ++BITSIZEOF_PTRDIFF_T ++HAVE_SYS_BITYPES_H ++HAVE_SYS_INTTYPES_H ++HAVE_STDINT_H ++NEXT_AS_FIRST_DIRECTIVE_STDINT_H ++NEXT_STDINT_H ++HAVE_SYS_TYPES_H ++HAVE_INTTYPES_H ++HAVE_UNSIGNED_LONG_LONG_INT ++HAVE_LONG_LONG_INT ++HAVE__BOOL ++STDBOOL_H ++SYS_SELECT_H ++HAVE_SYS_SELECT_H ++NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H ++NEXT_SYS_SELECT_H ++REPLACE_SELECT ++GNULIB_SELECT ++PREFERABLY_POSIX_SHELL ++POSIX_SHELL ++POLL_H ++NETINET_IN_H ++HAVE_NETINET_IN_H ++NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H ++NEXT_NETINET_IN_H ++APPLE_UNIVERSAL_BUILD ++REPLACE_STRSIGNAL ++REPLACE_STRERROR ++REPLACE_STRCASESTR ++REPLACE_STRSTR ++REPLACE_STRDUP ++REPLACE_MEMMEM ++REPLACE_MEMCHR ++HAVE_STRVERSCMP ++HAVE_DECL_STRSIGNAL ++HAVE_DECL_STRERROR ++HAVE_DECL_STRTOK_R ++HAVE_STRCASESTR ++HAVE_STRSEP ++HAVE_STRPBRK ++HAVE_DECL_STRNLEN ++HAVE_DECL_STRNDUP ++HAVE_STRNDUP ++HAVE_DECL_STRDUP ++HAVE_STRCHRNUL ++HAVE_STPNCPY ++HAVE_STPCPY ++HAVE_RAWMEMCHR ++HAVE_DECL_MEMRCHR ++HAVE_MEMPCPY ++HAVE_DECL_MEMMEM ++GNULIB_STRVERSCMP ++GNULIB_STRSIGNAL ++GNULIB_STRERROR ++GNULIB_MBSTOK_R ++GNULIB_MBSSEP ++GNULIB_MBSSPN ++GNULIB_MBSPBRK ++GNULIB_MBSCSPN ++GNULIB_MBSCASESTR ++GNULIB_MBSPCASECMP ++GNULIB_MBSNCASECMP ++GNULIB_MBSCASECMP ++GNULIB_MBSSTR ++GNULIB_MBSRCHR ++GNULIB_MBSCHR ++GNULIB_MBSNLEN ++GNULIB_MBSLEN ++GNULIB_STRTOK_R ++GNULIB_STRCASESTR ++GNULIB_STRSTR ++GNULIB_STRSEP ++GNULIB_STRPBRK ++GNULIB_STRNLEN ++GNULIB_STRNDUP ++GNULIB_STRDUP ++GNULIB_STRCHRNUL ++GNULIB_STPNCPY ++GNULIB_STPCPY ++GNULIB_RAWMEMCHR ++GNULIB_MEMRCHR ++GNULIB_MEMPCPY ++GNULIB_MEMMEM ++GNULIB_MEMCHR ++VOID_UNSETENV ++REPLACE_STRTOD ++REPLACE_PUTENV ++REPLACE_MKSTEMP ++HAVE_DECL_GETLOADAVG ++HAVE_UNSETENV ++HAVE_SYS_LOADAVG_H ++HAVE_STRUCT_RANDOM_DATA ++HAVE_STRTOULL ++HAVE_STRTOLL ++HAVE_STRTOD ++HAVE_SETENV ++HAVE_RPMATCH ++HAVE_RANDOM_R ++HAVE_REALLOC_POSIX ++HAVE_MKDTEMP ++HAVE_GETSUBOPT ++HAVE_CALLOC_POSIX ++HAVE_ATOLL ++GNULIB_UNSETENV ++GNULIB_STRTOULL ++GNULIB_STRTOLL ++GNULIB_STRTOD ++GNULIB_SETENV ++GNULIB_RPMATCH ++GNULIB_RANDOM_R ++GNULIB_PUTENV ++GNULIB_MKSTEMP ++GNULIB_MKDTEMP ++GNULIB_GETSUBOPT ++GNULIB_GETLOADAVG ++GNULIB_ATOLL ++GNULIB_CALLOC_POSIX ++GNULIB_REALLOC_POSIX ++GNULIB_MALLOC_POSIX ++HAVE_MALLOC_POSIX ++REPLACE_MKDIR ++REPLACE_LSTAT ++HAVE_LCHMOD ++GNULIB_LSTAT ++GNULIB_LCHMOD ++SYS_TIME_H ++REPLACE_GETTIMEOFDAY ++HAVE_STRUCT_TIMEVAL ++HAVE_SYS_TIME_H ++NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H ++NEXT_SYS_TIME_H ++LTLIBINTL ++LIBINTL ++GETADDRINFO_LIB ++SERVENT_LIB ++HOSTENT_LIB ++NETDB_H ++HAVE_NETDB_H ++NEXT_AS_FIRST_DIRECTIVE_NETDB_H ++NEXT_NETDB_H ++HAVE_DECL_GETNAMEINFO ++HAVE_DECL_GETADDRINFO ++HAVE_DECL_GAI_STRERROR ++HAVE_DECL_FREEADDRINFO ++HAVE_STRUCT_ADDRINFO ++GNULIB_GETADDRINFO ++FLOAT_H ++NEXT_AS_FIRST_DIRECTIVE_FLOAT_H ++NEXT_FLOAT_H ++EOVERFLOW_VALUE ++EOVERFLOW_HIDDEN ++ENOLINK_VALUE ++ENOLINK_HIDDEN ++EMULTIHOP_VALUE ++EMULTIHOP_HIDDEN ++ERRNO_H ++NEXT_AS_FIRST_DIRECTIVE_ERRNO_H ++NEXT_ERRNO_H ++SYS_SOCKET_H ++HAVE_WS2TCPIP_H ++HAVE_SYS_SOCKET_H ++NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H ++NEXT_SYS_SOCKET_H ++HAVE_SA_FAMILY_T ++HAVE_STRUCT_SOCKADDR_STORAGE ++GNULIB_SHUTDOWN ++GNULIB_SETSOCKOPT ++GNULIB_SENDTO ++GNULIB_RECVFROM ++GNULIB_SEND ++GNULIB_RECV ++GNULIB_LISTEN ++GNULIB_GETSOCKOPT ++GNULIB_GETSOCKNAME ++GNULIB_GETPEERNAME ++GNULIB_BIND ++GNULIB_ACCEPT ++GNULIB_CONNECT ++GNULIB_SOCKET ++REPLACE_PERROR ++REPLACE_GETLINE ++HAVE_DECL_GETLINE ++HAVE_DECL_GETDELIM ++REPLACE_FCLOSE ++HAVE_DECL_FPURGE ++REPLACE_FPURGE ++REPLACE_FFLUSH ++REPLACE_FTELL ++REPLACE_FTELLO ++HAVE_FTELLO ++REPLACE_FSEEK ++REPLACE_FSEEKO ++HAVE_FSEEKO ++REPLACE_FREOPEN ++REPLACE_FOPEN ++REPLACE_OBSTACK_PRINTF ++HAVE_DECL_OBSTACK_PRINTF ++REPLACE_VASPRINTF ++HAVE_VASPRINTF ++REPLACE_VDPRINTF ++HAVE_VDPRINTF ++REPLACE_DPRINTF ++HAVE_DPRINTF ++REPLACE_VSPRINTF ++REPLACE_SPRINTF ++HAVE_DECL_VSNPRINTF ++REPLACE_VSNPRINTF ++HAVE_DECL_SNPRINTF ++REPLACE_SNPRINTF ++REPLACE_VPRINTF ++REPLACE_PRINTF ++REPLACE_VFPRINTF ++REPLACE_FPRINTF ++REPLACE_STDIO_WRITE_FUNCS ++GNULIB_STDIO_H_SIGPIPE ++GNULIB_PERROR ++GNULIB_GETLINE ++GNULIB_GETDELIM ++GNULIB_FWRITE ++GNULIB_PUTS ++GNULIB_FPUTS ++GNULIB_PUTCHAR ++GNULIB_PUTC ++GNULIB_FPUTC ++GNULIB_FCLOSE ++GNULIB_FPURGE ++GNULIB_FFLUSH ++GNULIB_FTELLO ++GNULIB_FTELL ++GNULIB_FSEEKO ++GNULIB_FSEEK ++GNULIB_FREOPEN ++GNULIB_FOPEN ++GNULIB_OBSTACK_PRINTF_POSIX ++GNULIB_OBSTACK_PRINTF ++GNULIB_VASPRINTF ++GNULIB_VDPRINTF ++GNULIB_DPRINTF ++GNULIB_VSPRINTF_POSIX ++GNULIB_VSNPRINTF ++GNULIB_VPRINTF_POSIX ++GNULIB_VPRINTF ++GNULIB_VFPRINTF_POSIX ++GNULIB_VFPRINTF ++GNULIB_SPRINTF_POSIX ++GNULIB_SNPRINTF ++GNULIB_PRINTF_POSIX ++GNULIB_PRINTF ++GNULIB_FPRINTF_POSIX ++GNULIB_FPRINTF ++HAVE_WINSOCK2_H ++SYS_IOCTL_H ++SYS_IOCTL_H_HAVE_WINSOCK2_H ++GNULIB_IOCTL ++UNISTD_H_HAVE_WINSOCK2_H ++REPLACE_WRITE ++REPLACE_LSEEK ++REPLACE_LCHOWN ++REPLACE_GETPAGESIZE ++REPLACE_GETCWD ++REPLACE_FCHDIR ++REPLACE_CLOSE ++REPLACE_CHOWN ++HAVE_SYS_PARAM_H ++HAVE_OS_H ++HAVE_DECL_GETLOGIN_R ++HAVE_DECL_ENVIRON ++HAVE_SLEEP ++HAVE_READLINK ++HAVE_LINK ++HAVE_GETUSERSHELL ++HAVE_GETPAGESIZE ++HAVE_GETHOSTNAME ++HAVE_GETDTABLESIZE ++HAVE_GETDOMAINNAME ++HAVE_FTRUNCATE ++HAVE_FSYNC ++HAVE_EUIDACCESS ++HAVE_DUP2 ++GNULIB_WRITE ++GNULIB_UNISTD_H_SIGPIPE ++GNULIB_SLEEP ++GNULIB_READLINK ++GNULIB_LSEEK ++GNULIB_LINK ++GNULIB_LCHOWN ++GNULIB_GETUSERSHELL ++GNULIB_GETPAGESIZE ++GNULIB_GETLOGIN_R ++GNULIB_GETHOSTNAME ++GNULIB_GETDTABLESIZE ++GNULIB_GETDOMAINNAME ++GNULIB_GETCWD ++GNULIB_FTRUNCATE ++GNULIB_FSYNC ++GNULIB_FCHDIR ++GNULIB_EUIDACCESS ++GNULIB_ENVIRON ++GNULIB_DUP2 ++GNULIB_CLOSE ++GNULIB_CHOWN ++NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H ++NEXT_ARPA_INET_H ++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 ++GNULIB_INET_NTOP ++ALLOCA_H ++ALLOCA ++LTALLOCA ++GL_COND_LIBTOOL_FALSE ++GL_COND_LIBTOOL_TRUE ++EGREP ++GREP ++RANLIB ++CPP ++am__fastdepCC_FALSE ++am__fastdepCC_TRUE ++CCDEPMODE ++AMDEPBACKSLASH ++AMDEP_FALSE ++AMDEP_TRUE ++am__quote ++am__include ++DEPDIR ++OBJEXT ++EXEEXT ++ac_ct_CC ++CPPFLAGS ++LDFLAGS ++CFLAGS ++CC ++LIBVIRT_VERSION_NUMBER ++LIBVIRT_VERSION_INFO ++LIBVIRT_VERSION ++LIBVIRT_MICRO_VERSION ++LIBVIRT_MINOR_VERSION ++LIBVIRT_MAJOR_VERSION ++host_os ++host_vendor ++host_cpu ++host ++build_os ++build_vendor ++build_cpu ++build ++am__untar ++am__tar ++AMTAR ++am__leading_dot ++SET_MAKE ++AWK ++mkdir_p ++MKDIR_P ++INSTALL_STRIP_PROGRAM ++STRIP ++install_sh ++MAKEINFO ++AUTOHEADER ++AUTOMAKE ++AUTOCONF ++ACLOCAL ++VERSION ++PACKAGE ++CYGPATH_W ++am__isrc ++INSTALL_DATA ++INSTALL_SCRIPT ++INSTALL_PROGRAM ++target_alias ++host_alias ++build_alias ++LIBS ++ECHO_T ++ECHO_N ++ECHO_C ++DEFS ++mandir ++localedir ++libdir ++psdir ++pdfdir ++dvidir ++htmldir ++infodir ++docdir ++oldincludedir ++includedir ++localstatedir ++sharedstatedir ++sysconfdir ++datadir ++datarootdir ++libexecdir ++sbindir ++bindir ++program_transform_name ++prefix ++exec_prefix ++PACKAGE_URL ++PACKAGE_BUGREPORT ++PACKAGE_STRING ++PACKAGE_VERSION ++PACKAGE_TARNAME ++PACKAGE_NAME ++PATH_SEPARATOR ++SHELL' ++ac_subst_files='' ++ac_user_opts=' ++enable_option_checking ++enable_dependency_tracking ++enable_largefile ++enable_shared ++enable_static ++with_pic ++enable_fast_install ++with_gnu_ld ++enable_libtool_lock ++enable_compile_warnings ++enable_iso_c ++with_html_dir ++with_html_subdir ++with_xen ++with_xen_inotify ++with_qemu ++with_uml ++with_openvz ++with_libssh ++with_phyp ++with_vbox ++with_lxc ++with_one ++with_esx ++with_test ++with_remote ++with_libvirtd ++enable_debug ++with_remote_pid_file ++with_init_script ++with_rhel5_api ++enable_iptables_lokkit ++with_libxml ++with_sasl ++with_polkit ++with_avahi ++with_selinux ++with_secdriver_selinux ++with_apparmor ++with_secdriver_apparmor ++with_numactl ++with_capng ++with_network ++with_netcf ++with_storage_fs ++with_storage_lvm ++with_storage_iscsi ++with_storage_scsi ++with_storage_disk ++enable_test_coverage ++enable_test_oom ++enable_test_locking ++with_xen_proxy ++enable_nls ++enable_rpath ++with_libiconv_prefix ++with_libintl_prefix ++with_driver_modules ++with_hal ++with_devkit ++with_qemu_user ++with_qemu_group ++' ++ ac_precious_vars='build_alias ++host_alias ++target_alias ++CC ++CFLAGS ++LDFLAGS ++LIBS ++CPPFLAGS ++CPP ++PKG_CONFIG ++XMLRPC_CFLAGS ++XMLRPC_LIBS ++LIBXML_CFLAGS ++LIBXML_LIBS ++GNUTLS_CFLAGS ++GNUTLS_LIBS ++POLKIT_CFLAGS ++POLKIT_LIBS ++AVAHI_CFLAGS ++AVAHI_LIBS ++NETCF_CFLAGS ++NETCF_LIBS ++LIBPARTED_CFLAGS ++LIBPARTED_LIBS ++LIBCURL_CFLAGS ++LIBCURL_LIBS ++HAL_CFLAGS ++HAL_LIBS ++GLIB2_CFLAGS ++GLIB2_LIBS ++DEVKIT_CFLAGS ++DEVKIT_LIBS' ++ ++ ++# Initialize some variables set by options. ++ac_init_help= ++ac_init_version=false ++ac_unrecognized_opts= ++ac_unrecognized_sep= ++# The variables have the same names as the options, with ++# dashes changed to underlines. ++cache_file=/dev/null ++exec_prefix=NONE ++no_create= ++no_recursion= ++prefix=NONE ++program_prefix=NONE ++program_suffix=NONE ++program_transform_name=s,x,x, ++silent= ++site= ++srcdir= ++verbose= ++x_includes=NONE ++x_libraries=NONE ++ ++# Installation directory options. ++# These are left unexpanded so users can "make install exec_prefix=/foo" ++# and all the variables that are supposed to be based on exec_prefix ++# by default will actually change. ++# Use braces instead of parens because sh, perl, etc. also accept them. ++# (The list follows the same order as the GNU Coding Standards.) ++bindir='${exec_prefix}/bin' ++sbindir='${exec_prefix}/sbin' ++libexecdir='${exec_prefix}/libexec' ++datarootdir='${prefix}/share' ++datadir='${datarootdir}' ++sysconfdir='${prefix}/etc' ++sharedstatedir='${prefix}/com' ++localstatedir='${prefix}/var' ++includedir='${prefix}/include' ++oldincludedir='/usr/include' ++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ++infodir='${datarootdir}/info' ++htmldir='${docdir}' ++dvidir='${docdir}' ++pdfdir='${docdir}' ++psdir='${docdir}' ++libdir='${exec_prefix}/lib' ++localedir='${datarootdir}/locale' ++mandir='${datarootdir}/man' ++ ++ac_prev= ++ac_dashdash= ++for ac_option ++do ++ # If the previous option needs an argument, assign it. ++ if test -n "$ac_prev"; then ++ eval $ac_prev=\$ac_option ++ ac_prev= ++ continue ++ fi ++ ++ case $ac_option in ++ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ++ *) ac_optarg=yes ;; ++ esac ++ ++ # Accept the important Cygnus configure options, so we can diagnose typos. ++ ++ case $ac_dashdash$ac_option in ++ --) ++ ac_dashdash=yes ;; ++ ++ -bindir | --bindir | --bindi | --bind | --bin | --bi) ++ ac_prev=bindir ;; ++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ++ bindir=$ac_optarg ;; ++ ++ -build | --build | --buil | --bui | --bu) ++ ac_prev=build_alias ;; ++ -build=* | --build=* | --buil=* | --bui=* | --bu=*) ++ build_alias=$ac_optarg ;; ++ ++ -cache-file | --cache-file | --cache-fil | --cache-fi \ ++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ++ ac_prev=cache_file ;; ++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ++ cache_file=$ac_optarg ;; ++ ++ --config-cache | -C) ++ cache_file=config.cache ;; ++ ++ -datadir | --datadir | --datadi | --datad) ++ ac_prev=datadir ;; ++ -datadir=* | --datadir=* | --datadi=* | --datad=*) ++ datadir=$ac_optarg ;; ++ ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ ++ | --dataroo | --dataro | --datar) ++ ac_prev=datarootdir ;; ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) ++ datarootdir=$ac_optarg ;; ++ ++ -disable-* | --disable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=no ;; ++ ++ -docdir | --docdir | --docdi | --doc | --do) ++ ac_prev=docdir ;; ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) ++ docdir=$ac_optarg ;; ++ ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ++ ac_prev=dvidir ;; ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) ++ dvidir=$ac_optarg ;; ++ ++ -enable-* | --enable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=\$ac_optarg ;; ++ ++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ++ | --exec | --exe | --ex) ++ ac_prev=exec_prefix ;; ++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ++ | --exec=* | --exe=* | --ex=*) ++ exec_prefix=$ac_optarg ;; ++ ++ -gas | --gas | --ga | --g) ++ # Obsolete; use --with-gas. ++ with_gas=yes ;; ++ ++ -help | --help | --hel | --he | -h) ++ ac_init_help=long ;; ++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ++ ac_init_help=recursive ;; ++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ++ ac_init_help=short ;; ++ ++ -host | --host | --hos | --ho) ++ ac_prev=host_alias ;; ++ -host=* | --host=* | --hos=* | --ho=*) ++ host_alias=$ac_optarg ;; ++ ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ++ ac_prev=htmldir ;; ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ ++ | --ht=*) ++ htmldir=$ac_optarg ;; ++ ++ -includedir | --includedir | --includedi | --included | --include \ ++ | --includ | --inclu | --incl | --inc) ++ ac_prev=includedir ;; ++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ++ | --includ=* | --inclu=* | --incl=* | --inc=*) ++ includedir=$ac_optarg ;; ++ ++ -infodir | --infodir | --infodi | --infod | --info | --inf) ++ ac_prev=infodir ;; ++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ++ infodir=$ac_optarg ;; ++ ++ -libdir | --libdir | --libdi | --libd) ++ ac_prev=libdir ;; ++ -libdir=* | --libdir=* | --libdi=* | --libd=*) ++ libdir=$ac_optarg ;; ++ ++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ++ | --libexe | --libex | --libe) ++ ac_prev=libexecdir ;; ++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ++ | --libexe=* | --libex=* | --libe=*) ++ libexecdir=$ac_optarg ;; ++ ++ -localedir | --localedir | --localedi | --localed | --locale) ++ ac_prev=localedir ;; ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) ++ localedir=$ac_optarg ;; ++ ++ -localstatedir | --localstatedir | --localstatedi | --localstated \ ++ | --localstate | --localstat | --localsta | --localst | --locals) ++ ac_prev=localstatedir ;; ++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) ++ localstatedir=$ac_optarg ;; ++ ++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ++ ac_prev=mandir ;; ++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ++ mandir=$ac_optarg ;; ++ ++ -nfp | --nfp | --nf) ++ # Obsolete; use --without-fp. ++ with_fp=no ;; ++ ++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ ++ | --no-cr | --no-c | -n) ++ no_create=yes ;; ++ ++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ ++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ++ no_recursion=yes ;; ++ ++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ ++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ ++ | --oldin | --oldi | --old | --ol | --o) ++ ac_prev=oldincludedir ;; ++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ ++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ ++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) ++ oldincludedir=$ac_optarg ;; ++ ++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ++ ac_prev=prefix ;; ++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ++ prefix=$ac_optarg ;; ++ ++ -program-prefix | --program-prefix | --program-prefi | --program-pref \ ++ | --program-pre | --program-pr | --program-p) ++ ac_prev=program_prefix ;; ++ -program-prefix=* | --program-prefix=* | --program-prefi=* \ ++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) ++ program_prefix=$ac_optarg ;; ++ ++ -program-suffix | --program-suffix | --program-suffi | --program-suff \ ++ | --program-suf | --program-su | --program-s) ++ ac_prev=program_suffix ;; ++ -program-suffix=* | --program-suffix=* | --program-suffi=* \ ++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) ++ program_suffix=$ac_optarg ;; ++ ++ -program-transform-name | --program-transform-name \ ++ | --program-transform-nam | --program-transform-na \ ++ | --program-transform-n | --program-transform- \ ++ | --program-transform | --program-transfor \ ++ | --program-transfo | --program-transf \ ++ | --program-trans | --program-tran \ ++ | --progr-tra | --program-tr | --program-t) ++ ac_prev=program_transform_name ;; ++ -program-transform-name=* | --program-transform-name=* \ ++ | --program-transform-nam=* | --program-transform-na=* \ ++ | --program-transform-n=* | --program-transform-=* \ ++ | --program-transform=* | --program-transfor=* \ ++ | --program-transfo=* | --program-transf=* \ ++ | --program-trans=* | --program-tran=* \ ++ | --progr-tra=* | --program-tr=* | --program-t=*) ++ program_transform_name=$ac_optarg ;; ++ ++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ++ ac_prev=pdfdir ;; ++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) ++ pdfdir=$ac_optarg ;; ++ ++ -psdir | --psdir | --psdi | --psd | --ps) ++ ac_prev=psdir ;; ++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) ++ psdir=$ac_optarg ;; ++ ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ silent=yes ;; ++ ++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ++ ac_prev=sbindir ;; ++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ++ | --sbi=* | --sb=*) ++ sbindir=$ac_optarg ;; ++ ++ -sharedstatedir | --sharedstatedir | --sharedstatedi \ ++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ ++ | --sharedst | --shareds | --shared | --share | --shar \ ++ | --sha | --sh) ++ ac_prev=sharedstatedir ;; ++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ ++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ ++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ ++ | --sha=* | --sh=*) ++ sharedstatedir=$ac_optarg ;; ++ ++ -site | --site | --sit) ++ ac_prev=site ;; ++ -site=* | --site=* | --sit=*) ++ site=$ac_optarg ;; ++ ++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ++ ac_prev=srcdir ;; ++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ++ srcdir=$ac_optarg ;; ++ ++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ ++ | --syscon | --sysco | --sysc | --sys | --sy) ++ ac_prev=sysconfdir ;; ++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ ++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) ++ sysconfdir=$ac_optarg ;; ++ ++ -target | --target | --targe | --targ | --tar | --ta | --t) ++ ac_prev=target_alias ;; ++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) ++ target_alias=$ac_optarg ;; ++ ++ -v | -verbose | --verbose | --verbos | --verbo | --verb) ++ verbose=yes ;; ++ ++ -version | --version | --versio | --versi | --vers | -V) ++ ac_init_version=: ;; ++ ++ -with-* | --with-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=\$ac_optarg ;; ++ ++ -without-* | --without-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=no ;; ++ ++ --x) ++ # Obsolete; use --with-x. ++ with_x=yes ;; ++ ++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ ++ | --x-incl | --x-inc | --x-in | --x-i) ++ ac_prev=x_includes ;; ++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ ++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) ++ x_includes=$ac_optarg ;; ++ ++ -x-libraries | --x-libraries | --x-librarie | --x-librari \ ++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ++ ac_prev=x_libraries ;; ++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ ++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) ++ x_libraries=$ac_optarg ;; ++ ++ -*) as_fn_error "unrecognized option: \`$ac_option' ++Try \`$0 --help' for more information." ++ ;; ++ ++ *=*) ++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ++ # Reject names that are not valid shell variable names. ++ case $ac_envvar in #( ++ '' | [0-9]* | *[!_$as_cr_alnum]* ) ++ as_fn_error "invalid variable name: \`$ac_envvar'" ;; ++ esac ++ eval $ac_envvar=\$ac_optarg ++ export $ac_envvar ;; ++ ++ *) ++ # FIXME: should be removed in autoconf 3.0. ++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 ++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && ++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 ++ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ++ ;; ++ ++ esac ++done ++ ++if test -n "$ac_prev"; then ++ ac_option=--`echo $ac_prev | sed 's/_/-/g'` ++ as_fn_error "missing argument to $ac_option" ++fi ++ ++if test -n "$ac_unrecognized_opts"; then ++ case $enable_option_checking in ++ no) ;; ++ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; ++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; ++ esac ++fi ++ ++# Check all directory arguments for consistency. ++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ ++ datadir sysconfdir sharedstatedir localstatedir includedir \ ++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ ++ libdir localedir mandir ++do ++ eval ac_val=\$$ac_var ++ # Remove trailing slashes. ++ case $ac_val in ++ */ ) ++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` ++ eval $ac_var=\$ac_val;; ++ esac ++ # Be sure to have absolute directory names. ++ case $ac_val in ++ [\\/$]* | ?:[\\/]* ) continue;; ++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; ++ esac ++ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" ++done ++ ++# There might be people who depend on the old broken behavior: `$host' ++# used to hold the argument of --host etc. ++# FIXME: To remove some day. ++build=$build_alias ++host=$host_alias ++target=$target_alias ++ ++# FIXME: To remove some day. ++if test "x$host_alias" != x; then ++ if test "x$build_alias" = x; then ++ cross_compiling=maybe ++ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. ++ If a cross compiler is detected then cross compile mode will be used." >&2 ++ elif test "x$build_alias" != "x$host_alias"; then ++ cross_compiling=yes ++ fi ++fi ++ ++ac_tool_prefix= ++test -n "$host_alias" && ac_tool_prefix=$host_alias- ++ ++test "$silent" = yes && exec 6>/dev/null ++ ++ ++ac_pwd=`pwd` && test -n "$ac_pwd" && ++ac_ls_di=`ls -di .` && ++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ++ as_fn_error "working directory cannot be determined" ++test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ++ as_fn_error "pwd does not report name of working directory" ++ ++ ++# Find the source files, if location was not specified. ++if test -z "$srcdir"; then ++ ac_srcdir_defaulted=yes ++ # Try the directory containing this script, then the parent directory. ++ ac_confdir=`$as_dirname -- "$as_myself" || ++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_myself" : 'X\(//\)[^/]' \| \ ++ X"$as_myself" : 'X\(//\)$' \| \ ++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_myself" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ srcdir=$ac_confdir ++ if test ! -r "$srcdir/$ac_unique_file"; then ++ srcdir=.. ++ fi ++else ++ ac_srcdir_defaulted=no ++fi ++if test ! -r "$srcdir/$ac_unique_file"; then ++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ++ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" ++fi ++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ++ac_abs_confdir=`( ++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" ++ pwd)` ++# When building in place, set srcdir=. ++if test "$ac_abs_confdir" = "$ac_pwd"; then ++ srcdir=. ++fi ++# Remove unnecessary trailing slashes from srcdir. ++# Double slashes in file names in object file debugging info ++# mess up M-x gdb in Emacs. ++case $srcdir in ++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; ++esac ++for ac_var in $ac_precious_vars; do ++ eval ac_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_env_${ac_var}_value=\$${ac_var} ++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_cv_env_${ac_var}_value=\$${ac_var} ++done ++ ++# ++# Report the --help message. ++# ++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.0 to adapt to many kinds of systems. ++ ++Usage: $0 [OPTION]... [VAR=VALUE]... ++ ++To assign environment variables (e.g., CC, CFLAGS...), specify them as ++VAR=VALUE. See below for descriptions of some of the useful variables. ++ ++Defaults for the options are specified in brackets. ++ ++Configuration: ++ -h, --help display this help and exit ++ --help=short display options specific to this package ++ --help=recursive display the short help of all the included packages ++ -V, --version display version information and exit ++ -q, --quiet, --silent do not print \`checking...' messages ++ --cache-file=FILE cache test results in FILE [disabled] ++ -C, --config-cache alias for \`--cache-file=config.cache' ++ -n, --no-create do not create output files ++ --srcdir=DIR find the sources in DIR [configure dir or \`..'] ++ ++Installation directories: ++ --prefix=PREFIX install architecture-independent files in PREFIX ++ [$ac_default_prefix] ++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX ++ [PREFIX] ++ ++By default, \`make install' will install all the files in ++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ++an installation prefix other than \`$ac_default_prefix' using \`--prefix', ++for instance \`--prefix=\$HOME'. ++ ++For better control, use the options below. ++ ++Fine tuning of the installation directories: ++ --bindir=DIR user executables [EPREFIX/bin] ++ --sbindir=DIR system admin executables [EPREFIX/sbin] ++ --libexecdir=DIR program executables [EPREFIX/libexec] ++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] ++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] ++ --localstatedir=DIR modifiable single-machine data [PREFIX/var] ++ --libdir=DIR object code libraries [EPREFIX/lib] ++ --includedir=DIR C header files [PREFIX/include] ++ --oldincludedir=DIR C header files for non-gcc [/usr/include] ++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] ++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] ++ --infodir=DIR info documentation [DATAROOTDIR/info] ++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] ++ --mandir=DIR man documentation [DATAROOTDIR/man] ++ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libvirt@:>@ ++ --htmldir=DIR html documentation [DOCDIR] ++ --dvidir=DIR dvi documentation [DOCDIR] ++ --pdfdir=DIR pdf documentation [DOCDIR] ++ --psdir=DIR ps documentation [DOCDIR] ++_ACEOF ++ ++ cat <<\_ACEOF ++ ++Program names: ++ --program-prefix=PREFIX prepend PREFIX to installed program names ++ --program-suffix=SUFFIX append SUFFIX to installed program names ++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names ++ ++System types: ++ --build=BUILD configure for building on BUILD [guessed] ++ --host=HOST cross-compile to build programs to run on HOST [BUILD] ++_ACEOF ++fi ++ ++if test -n "$ac_init_help"; then ++ case $ac_init_help in ++ short | recursive ) echo "Configuration of libvirt 0.7.0:";; ++ esac ++ cat <<\_ACEOF ++ ++Optional Features: ++ --disable-option-checking ignore unrecognized --enable/--with options ++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) ++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] ++ --disable-dependency-tracking speeds up one-time build ++ --enable-dependency-tracking do not reject slow dependency extractors ++ --disable-largefile omit support for large files ++ --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ ++ --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ ++ --enable-fast-install@<:@=PKGS@:>@ ++ optimize for fast installation @<:@default=yes@:>@ ++ --disable-libtool-lock avoid locking (might break parallel builds) ++ --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-iptables-lokkit=no/yes/check ++ enable registering libvirt's iptables rules with ++ Fedora's lokkit ++ --enable-test-coverage turn on code coverage instrumentation ++ --enable-test-oom memory allocation failure checking ++ --enable-test-locking thread locking tests using CIL ++ --disable-nls do not use Native Language Support ++ --disable-rpath do not hardcode runtime library paths ++ ++Optional Packages: ++ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ++ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) ++ --with-pic try to use only PIC/non-PIC objects @<:@default=use ++ both@:>@ ++ --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ ++ --with-html-dir=path path to base html directory, default ++ $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-libssh=PFX libssh 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 ++ PID file for libvirtd ++ --with-init-scripts=redhat|auto|none ++ Style of init scripts 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-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-disk with GPartd Disk backend for the storage driver (on) ++ --with-xen-proxy add XEN setuid proxy support (on) ++ --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-devkit use DeviceKit for host device enumeration ++ --with-qemu-user username to run QEMU system instance as ++ --with-qemu-group groupname to run QEMU system instance as ++ ++Some influential environment variables: ++ CC C compiler command ++ CFLAGS C compiler flags ++ LDFLAGS linker flags, e.g. -L if you have libraries in a ++ nonstandard directory ++ LIBS libraries to pass to the linker, e.g. -l ++ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if ++ you have headers in a nonstandard directory ++ CPP C preprocessor ++ PKG_CONFIG path to pkg-config utility ++ XMLRPC_CFLAGS ++ C compiler flags for XMLRPC, overriding pkg-config ++ XMLRPC_LIBS linker flags for XMLRPC, overriding pkg-config ++ LIBXML_CFLAGS ++ C compiler flags for LIBXML, overriding pkg-config ++ LIBXML_LIBS linker flags for LIBXML, overriding pkg-config ++ GNUTLS_CFLAGS ++ C compiler flags for GNUTLS, overriding pkg-config ++ GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config ++ POLKIT_CFLAGS ++ C compiler flags for POLKIT, overriding pkg-config ++ POLKIT_LIBS linker flags for POLKIT, overriding pkg-config ++ AVAHI_CFLAGS ++ C compiler flags for AVAHI, overriding pkg-config ++ AVAHI_LIBS linker flags for AVAHI, overriding pkg-config ++ NETCF_CFLAGS ++ C compiler flags for NETCF, overriding pkg-config ++ NETCF_LIBS linker flags for NETCF, overriding pkg-config ++ LIBPARTED_CFLAGS ++ C compiler flags for LIBPARTED, overriding pkg-config ++ LIBPARTED_LIBS ++ linker flags for LIBPARTED, overriding pkg-config ++ LIBCURL_CFLAGS ++ C compiler flags for LIBCURL, overriding pkg-config ++ LIBCURL_LIBS ++ linker flags for LIBCURL, overriding pkg-config ++ HAL_CFLAGS C compiler flags for HAL, overriding pkg-config ++ HAL_LIBS linker flags for HAL, overriding pkg-config ++ GLIB2_CFLAGS ++ C compiler flags for GLIB2, overriding pkg-config ++ GLIB2_LIBS linker flags for GLIB2, overriding pkg-config ++ DEVKIT_CFLAGS ++ C compiler flags for DEVKIT, overriding pkg-config ++ DEVKIT_LIBS linker flags for DEVKIT, overriding pkg-config ++ ++Use these variables to override the choices made by `configure' or to help ++it to find libraries and programs with nonstandard names/locations. ++ ++Report bugs to the package provider. ++_ACEOF ++ac_status=$? ++fi ++ ++if test "$ac_init_help" = "recursive"; then ++ # If there are subdirs, report their specific --help. ++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue ++ test -d "$ac_dir" || ++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || ++ continue ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ cd "$ac_dir" || { ac_status=$?; continue; } ++ # Check for guested configure. ++ if test -f "$ac_srcdir/configure.gnu"; then ++ echo && ++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive ++ elif test -f "$ac_srcdir/configure"; then ++ echo && ++ $SHELL "$ac_srcdir/configure" --help=recursive ++ else ++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ++ fi || ac_status=$? ++ cd "$ac_pwd" || { ac_status=$?; break; } ++ done ++fi ++ ++test -n "$ac_init_help" && exit $ac_status ++if $ac_init_version; then ++ cat <<\_ACEOF ++libvirt configure 0.7.0 ++generated by GNU Autoconf 2.64 ++ ++Copyright (C) 2009 Free Software Foundation, Inc. ++This configure script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it. ++_ACEOF ++ exit ++fi ++ ++## ------------------------ ## ++## Autoconf initialization. ## ++## ------------------------ ## ++ ++@%:@ ac_fn_c_try_compile LINENO ++@%:@ -------------------------- ++@%:@ Try to compile conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ 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:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval ++ ++} @%:@ ac_fn_c_try_compile ++ ++@%:@ ac_fn_c_try_cpp LINENO ++@%:@ ---------------------- ++@%:@ Try to preprocess conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_cpp () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval ++ ++} @%:@ ac_fn_c_try_cpp ++ ++@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using ++@%:@ the include files in INCLUDES and setting the cache variable VAR ++@%:@ accordingly. ++ac_fn_c_check_header_mongrel () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ++$as_echo_n "checking $2 usability... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_header_compiler=yes ++else ++ ac_header_compiler=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 ++$as_echo_n "checking $2 presence... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ac_header_preproc=yes ++else ++ ac_header_preproc=no ++fi ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( ++ yes:no: ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=\$ac_header_compiler" ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_header_mongrel ++ ++@%:@ ac_fn_c_try_run LINENO ++@%:@ ---------------------- ++@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. Assumes ++@%:@ that executables *can* be run. ++ac_fn_c_try_run () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=$ac_status ++fi ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval ++ ++} @%:@ ac_fn_c_try_run ++ ++@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists and can be compiled using the include files in ++@%:@ INCLUDES, setting the cache variable VAR accordingly. ++ac_fn_c_check_header_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_header_compile ++ ++@%:@ ac_fn_c_try_link LINENO ++@%:@ ----------------------- ++@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_link () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest$ac_exeext ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ++ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ++ # interfere with the next link command; also delete a directory that is ++ # left behind by Apple's compiler. We do this before executing the actions. ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval ++ ++} @%:@ ac_fn_c_try_link ++ ++@%:@ ac_fn_c_check_func LINENO FUNC VAR ++@%:@ ---------------------------------- ++@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly ++ac_fn_c_check_func () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Define $2 to an innocuous variant, in case declares $2. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $2 innocuous_$2 ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $2 (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef $2 ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char $2 (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$2 || defined __stub___$2 ++choke me ++#endif ++ ++int ++main () ++{ ++return $2 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_func ++ ++@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++@%:@ ------------------------------------------- ++@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache ++@%:@ variable VAR accordingly. ++ac_fn_c_check_type () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ eval "$3=yes" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_type ++ ++@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES ++@%:@ -------------------------------------------- ++@%:@ Tries to find the compile-time value of EXPR in a program that includes ++@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be ++@%:@ computed ++ac_fn_c_compute_int () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid; break ++else ++ as_fn_arith $ac_mid + 1 && ac_lo=$as_val ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) < 0)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=$ac_mid; break ++else ++ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ ac_lo= ac_hi= ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid ++else ++ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in @%:@(( ++?*) eval "$3=\$ac_lo"; ac_retval=0 ;; ++'') ac_retval=1 ;; ++esac ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++static long int longval () { return $2; } ++static unsigned long int ulongval () { return $2; } ++@%:@include ++@%:@include ++int ++main () ++{ ++ ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (($2) < 0) ++ { ++ long int i = longval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ echo >>conftest.val; read $3 &5 ++$as_echo_n "checking for $2.$3... " >&6; } ++if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (sizeof ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ eval "$4=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$4 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_member ++ ++@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR ++@%:@ ------------------------------------ ++@%:@ Tests whether SYMBOL is declared, setting cache variable VAR accordingly. ++ac_fn_c_check_decl () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 ++$as_echo_n "checking whether $2 is declared... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++@%:@ifndef $2 ++ (void) $2; ++@%:@endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} @%:@ ac_fn_c_check_decl ++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.0, which was ++generated by GNU Autoconf 2.64. Invocation command line was ++ ++ $ $0 $@ ++ ++_ACEOF ++exec 5>>config.log ++{ ++cat <<_ASUNAME ++## --------- ## ++## Platform. ## ++## --------- ## ++ ++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ++uname -m = `(uname -m) 2>/dev/null || echo unknown` ++uname -r = `(uname -r) 2>/dev/null || echo unknown` ++uname -s = `(uname -s) 2>/dev/null || echo unknown` ++uname -v = `(uname -v) 2>/dev/null || echo unknown` ++ ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ++ ++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ++ ++_ASUNAME ++ ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ $as_echo "PATH: $as_dir" ++ done ++IFS=$as_save_IFS ++ ++} >&5 ++ ++cat >&5 <<_ACEOF ++ ++ ++## ----------- ## ++## Core tests. ## ++## ----------- ## ++ ++_ACEOF ++ ++ ++# Keep a trace of the command line. ++# Strip out --no-create and --no-recursion so they do not pile up. ++# Strip out --silent because we don't want to record it for future runs. ++# Also quote any args containing shell meta-characters. ++# Make two passes to allow for proper duplicate-argument suppression. ++ac_configure_args= ++ac_configure_args0= ++ac_configure_args1= ++ac_must_keep_next=false ++for ac_pass in 1 2 ++do ++ for ac_arg ++ do ++ case $ac_arg in ++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ continue ;; ++ *\'*) ++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ case $ac_pass in ++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ++ 2) ++ as_fn_append ac_configure_args1 " '$ac_arg'" ++ if test $ac_must_keep_next = true; then ++ ac_must_keep_next=false # Got value, back to normal. ++ else ++ case $ac_arg in ++ *=* | --config-cache | -C | -disable-* | --disable-* \ ++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ++ | -with-* | --with-* | -without-* | --without-* | --x) ++ case "$ac_configure_args0 " in ++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ++ esac ++ ;; ++ -* ) ac_must_keep_next=true ;; ++ esac ++ fi ++ as_fn_append ac_configure_args " '$ac_arg'" ++ ;; ++ esac ++ done ++done ++{ ac_configure_args0=; unset ac_configure_args0;} ++{ ac_configure_args1=; unset ac_configure_args1;} ++ ++# When interrupted or exit'd, cleanup temporary files, and complete ++# config.log. We remove comments because anyway the quotes in there ++# would cause problems or look ugly. ++# WARNING: Use '\'' to represent an apostrophe within the trap. ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ++trap 'exit_status=$? ++ # Save into config.log some information that might help in debugging. ++ { ++ echo ++ ++ cat <<\_ASBOX ++## ---------------- ## ++## Cache variables. ## ++## ---------------- ## ++_ASBOX ++ echo ++ # The following way of writing the cache mishandles newlines in values, ++( ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ (set) 2>&1 | ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ sed -n \ ++ "s/'\''/'\''\\\\'\'''\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ++ ;; #( ++ *) ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) ++ echo ++ ++ cat <<\_ASBOX ++## ----------------- ## ++## Output variables. ## ++## ----------------- ## ++_ASBOX ++ echo ++ for ac_var in $ac_subst_vars ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ ++ if test -n "$ac_subst_files"; then ++ cat <<\_ASBOX ++## ------------------- ## ++## File substitutions. ## ++## ------------------- ## ++_ASBOX ++ echo ++ for ac_var in $ac_subst_files ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ fi ++ ++ if test -s confdefs.h; then ++ cat <<\_ASBOX ++## ----------- ## ++## confdefs.h. ## ++## ----------- ## ++_ASBOX ++ echo ++ cat confdefs.h ++ echo ++ fi ++ test "$ac_signal" != 0 && ++ $as_echo "$as_me: caught signal $ac_signal" ++ $as_echo "$as_me: exit $exit_status" ++ } >&5 ++ rm -f core *.core core.conftest.* && ++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ++ exit $exit_status ++' 0 ++for ac_signal in 1 2 13 15; do ++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal ++done ++ac_signal=0 ++ ++# confdefs.h avoids OS command line length limits that DEFS can exceed. ++rm -f -r conftest* confdefs.h ++ ++$as_echo "/* confdefs.h */" > confdefs.h ++ ++# Predefined preprocessor variables. ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_NAME "$PACKAGE_NAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_STRING "$PACKAGE_STRING" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_URL "$PACKAGE_URL" ++_ACEOF ++ ++ ++# Let the site file select an alternate cache file if it wants to. ++# Prefer an explicitly selected file to automatically selected ones. ++ac_site_file1=NONE ++ac_site_file2=NONE ++if test -n "$CONFIG_SITE"; then ++ ac_site_file1=$CONFIG_SITE ++elif test "x$prefix" != xNONE; then ++ ac_site_file1=$prefix/share/config.site ++ ac_site_file2=$prefix/etc/config.site ++else ++ ac_site_file1=$ac_default_prefix/share/config.site ++ ac_site_file2=$ac_default_prefix/etc/config.site ++fi ++for ac_site_file in "$ac_site_file1" "$ac_site_file2" ++do ++ test "x$ac_site_file" = xNONE && continue ++ if test -r "$ac_site_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ++$as_echo "$as_me: loading site script $ac_site_file" >&6;} ++ sed 's/^/| /' "$ac_site_file" >&5 ++ . "$ac_site_file" ++ fi ++done ++ ++if test -r "$cache_file"; then ++ # Some versions of bash will fail to source /dev/null (special ++ # files actually), so we avoid doing that. ++ if test -f "$cache_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ++$as_echo "$as_me: loading cache $cache_file" >&6;} ++ case $cache_file in ++ [\\/]* | ?:[\\/]* ) . "$cache_file";; ++ *) . "./$cache_file";; ++ esac ++ fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ++$as_echo "$as_me: creating cache $cache_file" >&6;} ++ >$cache_file ++fi ++ ++gl_header_list="$gl_header_list arpa/inet.h" ++gl_header_list="$gl_header_list sys/socket.h" ++gl_header_list="$gl_header_list errno.h" ++gl_header_list="$gl_header_list float.h" ++gl_header_list="$gl_header_list netdb.h" ++gl_header_list="$gl_header_list netinet/in.h" ++gl_header_list="$gl_header_list stdio_ext.h" ++gl_header_list="$gl_header_list termios.h" ++gl_func_list="$gl_func_list __fsetlocking" ++gl_func_list="$gl_func_list tcgetattr" ++gl_func_list="$gl_func_list tcsetattr" ++gl_header_list="$gl_header_list sys/time.h" ++gl_func_list="$gl_func_list gettimeofday" ++gl_func_list="$gl_func_list lstat" ++gl_header_list="$gl_header_list sys/mman.h" ++gl_func_list="$gl_func_list mprotect" ++gl_header_list="$gl_header_list sys/ioctl.h" ++gl_header_list="$gl_header_list sys/filio.h" ++gl_header_list="$gl_header_list sys/select.h" ++gl_header_list="$gl_header_list stdint.h" ++gl_header_list="$gl_header_list wchar.h" ++gl_header_list="$gl_header_list stdio.h" ++gl_header_list="$gl_header_list stdlib.h" ++gl_header_list="$gl_header_list string.h" ++gl_header_list="$gl_header_list sys/stat.h" ++gl_header_list="$gl_header_list time.h" ++gl_header_list="$gl_header_list unistd.h" ++gl_func_list="$gl_func_list vasnprintf" ++gl_header_list="$gl_header_list sys/wait.h" ++# Check that the precious variables saved in the cache have kept the same ++# value. ++ac_cache_corrupted=false ++for ac_var in $ac_precious_vars; do ++ eval ac_old_set=\$ac_cv_env_${ac_var}_set ++ eval ac_new_set=\$ac_env_${ac_var}_set ++ eval ac_old_val=\$ac_cv_env_${ac_var}_value ++ eval ac_new_val=\$ac_env_${ac_var}_value ++ case $ac_old_set,$ac_new_set in ++ set,) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,set) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,);; ++ *) ++ if test "x$ac_old_val" != "x$ac_new_val"; then ++ # differences in whitespace do not lead to failure. ++ ac_old_val_w=`echo x $ac_old_val` ++ ac_new_val_w=`echo x $ac_new_val` ++ if test "$ac_old_val_w" != "$ac_new_val_w"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ++ ac_cache_corrupted=: ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} ++ eval $ac_var=\$ac_old_val ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} ++ fi;; ++ esac ++ # Pass precious variables to config.status. ++ if test "$ac_new_set" = set; then ++ case $ac_new_val in ++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *) ac_arg=$ac_var=$ac_new_val ;; ++ esac ++ case " $ac_configure_args " in ++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ++ *) as_fn_append ac_configure_args " '$ac_arg'" ;; ++ esac ++ fi ++done ++if $ac_cache_corrupted; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} ++ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 ++fi ++## -------------------- ## ++## Main body of script. ## ++## -------------------- ## ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++ ++ac_aux_dir= ++for ac_dir in build-aux "$srcdir"/build-aux; do ++ for ac_t in install-sh install.sh shtool; do ++ if test -f "$ac_dir/$ac_t"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/$ac_t -c" ++ break 2 ++ fi ++ done ++done ++if test -z "$ac_aux_dir"; then ++ as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 ++fi ++ ++# These three variables are undocumented and unsupported, ++# and are intended to be withdrawn in a future Autoconf release. ++# They can cause serious problems if a builder's source tree is in a directory ++# whose full name contains unusual characters. ++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. ++ ++ ++ac_config_headers="$ac_config_headers config.h" ++ ++am__api_version='1.10' ++ ++# Find a good install program. We prefer a C program (faster), ++# so one script is as good as another. But avoid the broken or ++# incompatible versions: ++# SysV /etc/install, /usr/sbin/install ++# SunOS /usr/etc/install ++# IRIX /sbin/install ++# AIX /bin/install ++# AmigaOS /C/install, which installs bootblocks on floppy discs ++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag ++# AFS /usr/afsws/bin/install, which mishandles nonexistent args ++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" ++# OS/2's system install, which has a completely different semantic ++# ./install, which can be erroneously created by make from ./install.sh. ++# Reject install programs that cannot install multiple files. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 ++$as_echo_n "checking for a BSD-compatible install... " >&6; } ++if test -z "$INSTALL"; then ++if test "${ac_cv_path_install+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ # Account for people who put trailing slashes in PATH elements. ++case $as_dir/ in @%:@(( ++ ./ | .// | /[cC]/* | \ ++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ ++ /usr/ucb/* ) ;; ++ *) ++ # OSF1 and SCO ODT 3.0 have their own names for install. ++ # Don't use installbsd from OSF since it installs stuff as root ++ # by default. ++ for ac_prog in ginstall scoinst install; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then ++ if test $ac_prog = install && ++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ++ # AIX install. It has an incompatible calling convention. ++ : ++ elif test $ac_prog = install && ++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ++ # program-specific install script used by HP pwplus--don't use. ++ : ++ else ++ rm -rf conftest.one conftest.two conftest.dir ++ echo one > conftest.one ++ echo two > conftest.two ++ mkdir conftest.dir ++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && ++ test -s conftest.one && test -s conftest.two && ++ test -s conftest.dir/conftest.one && ++ test -s conftest.dir/conftest.two ++ then ++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" ++ break 3 ++ fi ++ fi ++ fi ++ done ++ done ++ ;; ++esac ++ ++ done ++IFS=$as_save_IFS ++ ++rm -rf conftest.one conftest.two conftest.dir ++ ++fi ++ if test "${ac_cv_path_install+set}" = set; then ++ INSTALL=$ac_cv_path_install ++ else ++ # As a last resort, use the slow shell script. Don't cache a ++ # value for INSTALL within a source directory, because that will ++ # break other packages using the cache if that directory is ++ # removed, or if the value is a relative name. ++ INSTALL=$ac_install_sh ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 ++$as_echo "$INSTALL" >&6; } ++ ++# Use test -z because SunOS4 sh mishandles braces in ${var-val}. ++# It thinks the first close brace ends the variable substitution. ++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' ++ ++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' ++ ++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 ++$as_echo_n "checking whether build environment is sane... " >&6; } ++# Just in case ++sleep 1 ++echo timestamp > conftest.file ++# Do `set' in a subshell so we don't clobber the current shell's ++# arguments. Must try -L first in case configure is actually a ++# symlink; some systems play weird games with the mod time of symlinks ++# (eg FreeBSD returns the mod time of the symlink's containing ++# directory). ++if ( ++ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` ++ if test "$*" = "X"; then ++ # -L didn't work. ++ set X `ls -t $srcdir/configure conftest.file` ++ fi ++ rm -f conftest.file ++ if test "$*" != "X $srcdir/configure conftest.file" \ ++ && test "$*" != "X conftest.file $srcdir/configure"; then ++ ++ # If neither matched, then we have a broken ls. This can happen ++ # if, for instance, CONFIG_SHELL is bash and it inherits a ++ # broken ls alias from the environment. This has actually ++ # happened. Such a system could not be considered "sane". ++ as_fn_error "ls -t appears to fail. Make sure there is not a broken ++alias in your environment" "$LINENO" 5 ++ fi ++ ++ test "$2" = conftest.file ++ ) ++then ++ # Ok. ++ : ++else ++ as_fn_error "newly created file is older than distributed files! ++Check your system clock" "$LINENO" 5 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++test "$program_prefix" != NONE && ++ program_transform_name="s&^&$program_prefix&;$program_transform_name" ++# Use a double $ so make ignores it. ++test "$program_suffix" != NONE && ++ program_transform_name="s&\$&$program_suffix&;$program_transform_name" ++# Double any \ or $. ++# By default was `s,x,x', remove it if useless. ++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' ++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` ++ ++# expand $ac_aux_dir to an absolute path ++am_aux_dir=`cd $ac_aux_dir && pwd` ++ ++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" ++# Use eval to expand $SHELL ++if eval "$MISSING --run true"; then ++ am_missing_run="$MISSING --run " ++else ++ am_missing_run= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 ++$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$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 ++ if test "${ac_cv_path_mkdir+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in mkdir gmkdir; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue ++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( ++ 'mkdir (GNU coreutils) '* | \ ++ 'mkdir (coreutils) '* | \ ++ 'mkdir (fileutils) '4.1*) ++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext ++ break 3;; ++ esac ++ done ++ done ++ done ++IFS=$as_save_IFS ++ ++fi ++ ++ if test "${ac_cv_path_mkdir+set}" = set; then ++ MKDIR_P="$ac_cv_path_mkdir -p" ++ else ++ # As a last resort, use the slow shell script. Don't cache a ++ # value for MKDIR_P within a source directory, because that will ++ # break other packages using the cache if that directory is ++ # removed, or if the value is a relative name. ++ test -d ./--version && rmdir ./--version ++ MKDIR_P="$ac_install_sh -d" ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 ++$as_echo "$MKDIR_P" >&6; } ++ ++mkdir_p="$MKDIR_P" ++case $mkdir_p in ++ [\\/$]* | ?:[\\/]*) ;; ++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; ++esac ++ ++for ac_prog in gawk mawk nawk awk ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; 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_prog_AWK+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$AWK"; then ++ ac_cv_prog_AWK="$AWK" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_AWK="$ac_prog" ++ $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 ++ ++fi ++fi ++AWK=$ac_cv_prog_AWK ++if test -n "$AWK"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 ++$as_echo "$AWK" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$AWK" && break ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 ++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } ++set x ${MAKE-make} ++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` ++if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.make <<\_ACEOF ++SHELL = /bin/sh ++all: ++ @echo '@@@%%%=$(MAKE)=@@@%%%' ++_ACEOF ++# GNU make sometimes prints "make[1]: Entering...", which would confuse us. ++case `${MAKE-make} -f conftest.make 2>/dev/null` in ++ *@@@%%%=?*=@@@%%%*) ++ eval ac_cv_prog_make_${ac_make}_set=yes;; ++ *) ++ eval ac_cv_prog_make_${ac_make}_set=no;; ++esac ++rm -f conftest.make ++fi ++if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ SET_MAKE= ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ SET_MAKE="MAKE=${MAKE-make}" ++fi ++ ++rm -rf .tst 2>/dev/null ++mkdir .tst 2>/dev/null ++if test -d .tst; then ++ am__leading_dot=. ++else ++ am__leading_dot=_ ++fi ++rmdir .tst 2>/dev/null ++ ++if test "`cd $srcdir && pwd`" != "`pwd`"; then ++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output ++ # is not polluted with repeated "-I." ++ am__isrc=' -I$(srcdir)' ++ # test to see if srcdir already configured ++ if test -f $srcdir/config.status; then ++ as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 ++ fi ++fi ++ ++# test whether we have cygpath ++if test -z "$CYGPATH_W"; then ++ if (cygpath --version) >/dev/null 2>/dev/null; then ++ CYGPATH_W='cygpath -w' ++ else ++ CYGPATH_W=echo ++ fi ++fi ++ ++ ++# Define the identity of the package. ++ PACKAGE='libvirt' ++ VERSION='0.7.0' ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE "$PACKAGE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VERSION "$VERSION" ++_ACEOF ++ ++# Some tools Automake needs. ++ ++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} ++ ++ ++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} ++ ++ ++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} ++ ++ ++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} ++ ++ ++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} ++ ++install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} ++ ++# Installed binaries are usually stripped using `strip' when the user ++# run `make install-strip'. However `strip' might not be the right ++# tool to use in cross-compilation environments, therefore Automake ++# will honor the `STRIP' environment variable to overrule this program. ++if test "$cross_compiling" != no; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. ++set dummy ${ac_tool_prefix}strip; 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_prog_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$STRIP"; then ++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_STRIP="${ac_tool_prefix}strip" ++ $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 ++ ++fi ++fi ++STRIP=$ac_cv_prog_STRIP ++if test -n "$STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++$as_echo "$STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_STRIP"; then ++ ac_ct_STRIP=$STRIP ++ # Extract the first word of "strip", so it can be a program name with args. ++set dummy strip; 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_prog_ac_ct_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_STRIP"; then ++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_STRIP="strip" ++ $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 ++ ++fi ++fi ++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP ++if test -n "$ac_ct_STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++$as_echo "$ac_ct_STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_STRIP" = x; then ++ STRIP=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ STRIP=$ac_ct_STRIP ++ fi ++else ++ STRIP="$ac_cv_prog_STRIP" ++fi ++ ++fi ++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ++ ++# We need awk for the "check" target. The system "awk" is bad on ++# some platforms. ++# Always define AMTAR for backward compatibility. ++ ++AMTAR=${AMTAR-"${am_missing_run}tar"} ++ ++am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' ++ ++ ++ ++ ++ ++ ++# Use the silent-rules feature when possible. ++ ++ ++ ++# Make sure we can run config.sub. ++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || ++ as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 ++$as_echo_n "checking build system type... " >&6; } ++if test "${ac_cv_build+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_build_alias=$build_alias ++test "x$ac_build_alias" = x && ++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` ++test "x$ac_build_alias" = x && ++ as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 ++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || ++ as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 ++$as_echo "$ac_cv_build" >&6; } ++case $ac_cv_build in ++*-*-*) ;; ++*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; ++esac ++build=$ac_cv_build ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_build ++shift ++build_cpu=$1 ++build_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++build_os=$* ++IFS=$ac_save_IFS ++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 ++$as_echo_n "checking host system type... " >&6; } ++if test "${ac_cv_host+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "x$host_alias" = x; then ++ ac_cv_host=$ac_cv_build ++else ++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || ++ as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 ++$as_echo "$ac_cv_host" >&6; } ++case $ac_cv_host in ++*-*-*) ;; ++*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; ++esac ++host=$ac_cv_host ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_host ++shift ++host_cpu=$1 ++host_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++host_os=$* ++IFS=$ac_save_IFS ++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac ++ ++ ++ ++LIBVIRT_MAJOR_VERSION=`echo $VERSION | awk -F. '{print $1}'` ++LIBVIRT_MINOR_VERSION=`echo $VERSION | awk -F. '{print $2}'` ++LIBVIRT_MICRO_VERSION=`echo $VERSION | awk -F. '{print $3}'` ++LIBVIRT_VERSION=$LIBVIRT_MAJOR_VERSION.$LIBVIRT_MINOR_VERSION.$LIBVIRT_MICRO_VERSION$LIBVIRT_MICRO_VERSION_SUFFIX ++LIBVIRT_VERSION_INFO=`expr $LIBVIRT_MAJOR_VERSION + $LIBVIRT_MINOR_VERSION`:$LIBVIRT_MICRO_VERSION:$LIBVIRT_MINOR_VERSION ++LIBVIRT_VERSION_NUMBER=`expr $LIBVIRT_MAJOR_VERSION \* 1000000 + $LIBVIRT_MINOR_VERSION \* 1000 + $LIBVIRT_MICRO_VERSION` ++ ++ ++ ++ ++ ++ ++ ++ ++LIBXML_REQUIRED="2.6.0" ++GNUTLS_REQUIRED="1.0.25" ++AVAHI_REQUIRED="0.6.0" ++POLKIT_REQUIRED="0.6" ++PARTED_REQUIRED="1.8.0" ++NETCF_REQUIRED="0.0.1" ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}gcc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="${ac_tool_prefix}gcc" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_CC"; then ++ ac_ct_CC=$CC ++ # Extract the first word of "gcc", so it can be a program name with args. ++set dummy gcc; 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_prog_ac_ct_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_CC="gcc" ++ $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 ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++else ++ CC="$ac_cv_prog_CC" ++fi ++ ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}cc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="${ac_tool_prefix}cc" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ fi ++fi ++if test -z "$CC"; then ++ # Extract the first word of "cc", so it can be a program name with args. ++set dummy cc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++ ac_prog_rejected=no ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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 ++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ++ ac_prog_rejected=yes ++ continue ++ fi ++ ac_cv_prog_CC="cc" ++ $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 ++ ++if test $ac_prog_rejected = yes; then ++ # We found a bogon in the path, so make sure we never use it. ++ set dummy $ac_cv_prog_CC ++ shift ++ if test $@%:@ != 0; then ++ # We chose a different compiler from the bogus one. ++ # However, it has the same basename, so the bogon will be chosen ++ # first if we set CC to just the basename; use the full file name. ++ shift ++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ++ fi ++fi ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in cl.exe ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="$ac_tool_prefix$ac_prog" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CC" && break ++ done ++fi ++if test -z "$CC"; then ++ ac_ct_CC=$CC ++ for ac_prog in cl.exe ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; 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_prog_ac_ct_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_CC="$ac_prog" ++ $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 ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CC" && break ++done ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++fi ++ ++fi ++ ++ ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "no acceptable C compiler found in \$PATH ++See \`config.log' for more details." "$LINENO" 5; } ++ ++# Provide some information about the compiler. ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ rm -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++FILE *f = fopen ("conftest.out", "w"); ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" ++# Try to create an executable without -o first, disregard a.out. ++# It will help us diagnose broken compilers, and finding out an intuition ++# of exeext. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 ++$as_echo_n "checking for C compiler default output file name... " >&6; } ++ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ++ ++# The possible output files: ++ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ++ ++ac_rmfiles= ++for ac_file in $ac_files ++do ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ * ) ac_rmfiles="$ac_rmfiles $ac_file";; ++ esac ++done ++rm -f $ac_rmfiles ++ ++if { { ac_try="$ac_link_default" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link_default") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. ++# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' ++# in a Makefile. We should not override ac_cv_exeext if it was cached, ++# so that the user can short-circuit this test for compilers unknown to ++# Autoconf. ++for ac_file in $ac_files '' ++do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ++ ;; ++ [ab].out ) ++ # We found the default executable, but exeext='' is most ++ # certainly right. ++ break;; ++ *.* ) ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ++ then :; else ++ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ fi ++ # We set ac_cv_exeext here because the later test for it is not ++ # safe: cross compilers may not add the suffix if given an `-o' ++ # argument, so we may need to know it at that point already. ++ # Even if this section looks crufty: it has the advantage of ++ # actually working. ++ break;; ++ * ) ++ break;; ++ esac ++done ++test "$ac_cv_exeext" = no && ac_cv_exeext= ++ ++else ++ ac_file='' ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ++$as_echo "$ac_file" >&6; } ++if test -z "$ac_file"; then : ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ as_fn_set_status 77 ++as_fn_error "C compiler cannot create executables ++See \`config.log' for more details." "$LINENO" 5; }; } ++fi ++ac_exeext=$ac_cv_exeext ++ ++# Check that the compiler produces executables we can run. If not, either ++# the compiler is broken, or we cross compile. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 ++$as_echo_n "checking whether the C compiler works... " >&6; } ++# If not cross compiling, check that we can run a simple program. ++if test "$cross_compiling" != yes; then ++ if { ac_try='./$ac_file' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ cross_compiling=no ++ else ++ if test "$cross_compiling" = maybe; then ++ cross_compiling=yes ++ else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "cannot run C compiled programs. ++If you meant to cross compile, use \`--host'. ++See \`config.log' for more details." "$LINENO" 5; } ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out ++ac_clean_files=$ac_clean_files_save ++# Check that the compiler produces executables we can run. If not, either ++# the compiler is broken, or we cross compile. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ++$as_echo_n "checking whether we are cross compiling... " >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ++$as_echo "$cross_compiling" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ++$as_echo_n "checking for suffix of executables... " >&6; } ++if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # If both `conftest.exe' and `conftest' are `present' (well, observable) ++# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ++# work properly (i.e., refer to `conftest.exe'), while it won't with ++# `rm'. ++for ac_file in conftest.exe conftest conftest.*; do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ break;; ++ * ) break;; ++ esac ++done ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details." "$LINENO" 5; } ++fi ++rm -f conftest$ac_cv_exeext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ++$as_echo "$ac_cv_exeext" >&6; } ++ ++rm -f conftest.$ac_ext ++EXEEXT=$ac_cv_exeext ++ac_exeext=$EXEEXT ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ++$as_echo_n "checking for suffix of object files... " >&6; } ++if test "${ac_cv_objext+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.o conftest.obj ++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:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ for ac_file in conftest.o conftest.obj conftest.*; do ++ test -f "$ac_file" || continue; ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; ++ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` ++ break;; ++ esac ++done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "cannot compute suffix of object files: cannot compile ++See \`config.log' for more details." "$LINENO" 5; } ++fi ++rm -f conftest.$ac_cv_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ++$as_echo "$ac_cv_objext" >&6; } ++OBJEXT=$ac_cv_objext ++ac_objext=$OBJEXT ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ++if test "${ac_cv_c_compiler_gnu+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_compiler_gnu=yes ++else ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_cv_c_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++$as_echo "$ac_cv_c_compiler_gnu" >&6; } ++if test $ac_compiler_gnu = yes; then ++ GCC=yes ++else ++ GCC= ++fi ++ac_test_CFLAGS=${CFLAGS+set} ++ac_save_CFLAGS=$CFLAGS ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++$as_echo_n "checking whether $CC accepts -g... " >&6; } ++if test "${ac_cv_prog_cc_g+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_save_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ ac_cv_prog_cc_g=no ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++else ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_c_werror_flag=$ac_save_c_werror_flag ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++$as_echo "$ac_cv_prog_cc_g" >&6; } ++if test "$ac_test_CFLAGS" = set; then ++ CFLAGS=$ac_save_CFLAGS ++elif test $ac_cv_prog_cc_g = yes; then ++ if test "$GCC" = yes; then ++ CFLAGS="-g -O2" ++ else ++ CFLAGS="-g" ++ fi ++else ++ if test "$GCC" = yes; then ++ CFLAGS="-O2" ++ else ++ CFLAGS= ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if test "${ac_cv_prog_cc_c89+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++DEPDIR="${am__leading_dot}deps" ++ ++ac_config_commands="$ac_config_commands depfiles" ++ ++ ++am_make=${MAKE-make} ++cat > confinc << 'END' ++am__doit: ++ @echo done ++.PHONY: am__doit ++END ++# If we don't find an include directive, just comment out the code. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 ++$as_echo_n "checking for style of include used by $am_make... " >&6; } ++am__include="#" ++am__quote= ++_am_result=none ++# First try GNU make style include. ++echo "include confinc" > confmf ++# We grep out `Entering directory' and `Leaving directory' ++# messages which can occur if `w' ends up in MAKEFLAGS. ++# In particular we don't look at `^make:' because GNU make might ++# be invoked under some other name (usually "gmake"), in which ++# case it prints its new name instead of `make'. ++if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then ++ am__include=include ++ am__quote= ++ _am_result=GNU ++fi ++# Now try BSD make style include. ++if test "$am__include" = "#"; then ++ echo '.include "confinc"' > confmf ++ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then ++ am__include=.include ++ am__quote="\"" ++ _am_result=BSD ++ fi ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 ++$as_echo "$_am_result" >&6; } ++rm -f confinc confmf ++ ++@%:@ Check whether --enable-dependency-tracking was given. ++if test "${enable_dependency_tracking+set}" = set; then : ++ enableval=$enable_dependency_tracking; ++fi ++ ++if test "x$enable_dependency_tracking" != xno; then ++ am_depcomp="$ac_aux_dir/depcomp" ++ AMDEPBACKSLASH='\' ++fi ++ if test "x$enable_dependency_tracking" != xno; then ++ AMDEP_TRUE= ++ AMDEP_FALSE='#' ++else ++ AMDEP_TRUE='#' ++ AMDEP_FALSE= ++fi ++ ++ ++ ++depcc="$CC" am_compiler_list= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++$as_echo_n "checking dependency style of $depcc... " >&6; } ++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named `D' -- because `-MD' means `put the output ++ # in D'. ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_CC_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ++ fi ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with ++ # Solaris 8's {/usr,}/bin/sh. ++ touch sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ case $depmode in ++ nosideeffect) ++ # after this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ none) break ;; ++ esac ++ # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle `-M -o', and we need to detect this. ++ if depmode=$depmode \ ++ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_CC_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_CC_dependencies_compiler_type=none ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 ++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } ++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type ++ ++ if ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then ++ am__fastdepCC_TRUE= ++ am__fastdepCC_FALSE='#' ++else ++ am__fastdepCC_TRUE='#' ++ am__fastdepCC_FALSE= ++fi ++ ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++$as_echo_n "checking how to run the C preprocessor... " >&6; } ++# On Suns, sometimes $CPP names a directory. ++if test -n "$CPP" && test -d "$CPP"; then ++ CPP= ++fi ++if test -z "$CPP"; then ++ if test "${ac_cv_prog_CPP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Double quotes because CPP needs to be expanded ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ++ do ++ ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@ifdef __STDC__ ++@%:@ include ++@%:@else ++@%:@ include ++@%:@endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ break ++fi ++ ++ done ++ ac_cv_prog_CPP=$CPP ++ ++fi ++ CPP=$ac_cv_prog_CPP ++else ++ ac_cv_prog_CPP=$CPP ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++$as_echo "$CPP" >&6; } ++ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@ifdef __STDC__ ++@%:@ include ++@%:@else ++@%:@ include ++@%:@endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details." "$LINENO" 5; } ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. ++set dummy ${ac_tool_prefix}ranlib; 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_prog_RANLIB+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$RANLIB"; then ++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_RANLIB="${ac_tool_prefix}ranlib" ++ $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 ++ ++fi ++fi ++RANLIB=$ac_cv_prog_RANLIB ++if test -n "$RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 ++$as_echo "$RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_RANLIB"; then ++ ac_ct_RANLIB=$RANLIB ++ # Extract the first word of "ranlib", so it can be a program name with args. ++set dummy ranlib; 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_prog_ac_ct_RANLIB+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_RANLIB"; then ++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_RANLIB="ranlib" ++ $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 ++ ++fi ++fi ++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB ++if test -n "$ac_ct_RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 ++$as_echo "$ac_ct_RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_RANLIB" = x; then ++ RANLIB=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ RANLIB=$ac_ct_RANLIB ++ fi ++else ++ RANLIB="$ac_cv_prog_RANLIB" ++fi ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ++$as_echo_n "checking for grep that handles long lines and -e... " >&6; } ++if test "${ac_cv_path_GREP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$GREP"; then ++ ac_path_GREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in grep ggrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" ++ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue ++# Check for GNU ac_path_GREP and select it if it is found. ++ # Check for GNU $ac_path_GREP ++case `"$ac_path_GREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'GREP' >> "conftest.nl" ++ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_GREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_GREP="$ac_path_GREP" ++ ac_path_GREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_GREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_GREP"; then ++ as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_GREP=$GREP ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ++$as_echo "$ac_cv_path_GREP" >&6; } ++ GREP="$ac_cv_path_GREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++$as_echo_n "checking for egrep... " >&6; } ++if test "${ac_cv_path_EGREP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ++ then ac_cv_path_EGREP="$GREP -E" ++ else ++ if test -z "$EGREP"; then ++ ac_path_EGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in egrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" ++ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue ++# Check for GNU ac_path_EGREP and select it if it is found. ++ # Check for GNU $ac_path_EGREP ++case `"$ac_path_EGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'EGREP' >> "conftest.nl" ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_EGREP="$ac_path_EGREP" ++ ac_path_EGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_EGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_EGREP"; then ++ as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_EGREP=$EGREP ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++$as_echo "$ac_cv_path_EGREP" >&6; } ++ EGREP="$ac_cv_path_EGREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 ++$as_echo_n "checking for ANSI C header files... " >&6; } ++if test "${ac_cv_header_stdc+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdc=yes ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++if test $ac_cv_header_stdc = yes; then ++ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "memchr" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "free" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#if ((' ' & 0x0FF) == 0x020) ++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') ++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) ++#else ++# define ISLOWER(c) \ ++ (('a' <= (c) && (c) <= 'i') \ ++ || ('j' <= (c) && (c) <= 'r') \ ++ || ('s' <= (c) && (c) <= 'z')) ++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) ++#endif ++ ++#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) ++int ++main () ++{ ++ int i; ++ for (i = 0; i < 256; i++) ++ if (XOR (islower (i), ISLOWER (i)) ++ || toupper (i) != TOUPPER (i)) ++ return 2; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 ++$as_echo "$ac_cv_header_stdc" >&6; } ++if test $ac_cv_header_stdc = yes; then ++ ++$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h ++ ++fi ++ ++# On IRIX 5.3, sys/types and inttypes.h are conflicting. ++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ++ inttypes.h stdint.h unistd.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" ++if test "x$ac_cv_header_minix_config_h" = x""yes; then : ++ MINIX=yes ++else ++ MINIX= ++fi ++ ++ ++ if test "$MINIX" = yes; then ++ ++$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h ++ ++ ++$as_echo "@%:@define _MINIX 1" >>confdefs.h ++ ++ fi ++ ++ case "$host_os" in ++ hpux*) ++ ++$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 ++$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } ++if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# define __EXTENSIONS__ 1 ++ $ac_includes_default ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_safe_to_define___extensions__=yes ++else ++ ac_cv_safe_to_define___extensions__=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 ++$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } ++ test $ac_cv_safe_to_define___extensions__ = yes && ++ $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h ++ ++ $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h ++ ++ $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h ++ ++ $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h ++ ++ $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } ++if test "${ac_cv_sys_largefile_source+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include /* for off_t */ ++ #include ++int ++main () ++{ ++int (*fp) (FILE *, off_t, int) = fseeko; ++ return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_sys_largefile_source=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGEFILE_SOURCE 1 ++#include /* for off_t */ ++ #include ++int ++main () ++{ ++int (*fp) (FILE *, off_t, int) = fseeko; ++ return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_sys_largefile_source=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ac_cv_sys_largefile_source=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 ++$as_echo "$ac_cv_sys_largefile_source" >&6; } ++case $ac_cv_sys_largefile_source in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ ++# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug ++# in glibc 2.1.3, but that breaks too many other things. ++# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. ++if test $ac_cv_sys_largefile_source != unknown; then ++ ++$as_echo "@%:@define HAVE_FSEEKO 1" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works ++# for constant arguments. Useless! ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 ++$as_echo_n "checking for working alloca.h... " >&6; } ++if test "${ac_cv_working_alloca_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++char *p = (char *) alloca (2 * sizeof (int)); ++ if (p) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_working_alloca_h=yes ++else ++ ac_cv_working_alloca_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 ++$as_echo "$ac_cv_working_alloca_h" >&6; } ++if test $ac_cv_working_alloca_h = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 ++$as_echo_n "checking for alloca... " >&6; } ++if test "${ac_cv_func_alloca_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __GNUC__ ++# define alloca __builtin_alloca ++#else ++# ifdef _MSC_VER ++# include ++# define alloca _alloca ++# else ++# ifdef HAVE_ALLOCA_H ++# include ++# else ++# ifdef _AIX ++ #pragma alloca ++# else ++# ifndef alloca /* predefined by HP cc +Olibcalls */ ++char *alloca (); ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++int ++main () ++{ ++char *p = (char *) alloca (1); ++ if (p) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_func_alloca_works=yes ++else ++ ac_cv_func_alloca_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 ++$as_echo "$ac_cv_func_alloca_works" >&6; } ++ ++if test $ac_cv_func_alloca_works = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h ++ ++else ++ # The SVR3 libPW and SVR4 libucb both contain incompatible functions ++# that cause trouble. Some versions do not even contain alloca or ++# contain a buggy version. If you still want to use their alloca, ++# use ar to extract alloca.o from them instead of compiling alloca.c. ++ ++ ++ ++ ++ ++ALLOCA=\${LIBOBJDIR}alloca.$ac_objext ++ ++$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 ++$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } ++if test "${ac_cv_os_cray+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined CRAY && ! defined CRAY2 ++webecray ++#else ++wenotbecray ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "webecray" >/dev/null 2>&1; then : ++ ac_cv_os_cray=yes ++else ++ ac_cv_os_cray=no ++fi ++rm -f conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 ++$as_echo "$ac_cv_os_cray" >&6; } ++if test $ac_cv_os_cray = yes; then ++ for ac_func in _getb67 GETB67 getb67; do ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define CRAY_STACKSEG_END $ac_func ++_ACEOF ++ ++ break ++fi ++ ++ done ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 ++$as_echo_n "checking stack direction for C alloca... " >&6; } ++if test "${ac_cv_c_stack_direction+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_c_stack_direction=0 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++find_stack_direction () ++{ ++ static char *addr = 0; ++ auto char dummy; ++ if (addr == 0) ++ { ++ addr = &dummy; ++ return find_stack_direction (); ++ } ++ else ++ return (&dummy > addr) ? 1 : -1; ++} ++ ++int ++main () ++{ ++ return find_stack_direction () < 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_stack_direction=1 ++else ++ ac_cv_c_stack_direction=-1 ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 ++$as_echo "$ac_cv_c_stack_direction" >&6; } ++cat >>confdefs.h <<_ACEOF ++@%:@define STACK_DIRECTION $ac_cv_c_stack_direction ++_ACEOF ++ ++ ++fi ++ ++ ++ GNULIB_INET_NTOP=0; ++ GNULIB_INET_PTON=0; ++ HAVE_DECL_INET_NTOP=1; ++ HAVE_DECL_INET_PTON=1; ++ ARPA_INET_H=''; ++ ++ ++ ++ ++ ++ for ac_header in $gl_header_list ++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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 ++$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } ++if test "${gl_cv_have_include_next+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftestd1a conftestd1b conftestd2 ++ mkdir conftestd1a conftestd1b conftestd2 ++ cat < conftestd1a/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd1b/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd2/conftest.h ++#ifndef DEFINED_IN_CONFTESTD1 ++#error "include_next test doesn't work" ++#endif ++#define DEFINED_IN_CONFTESTD2 ++EOF ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_have_include_next=yes ++else ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_have_include_next=buggy ++else ++ gl_cv_have_include_next=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ rm -rf conftestd1a conftestd1b conftestd2 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 ++$as_echo "$gl_cv_have_include_next" >&6; } ++ PRAGMA_SYSTEM_HEADER= ++ if test $gl_cv_have_include_next = yes; then ++ INCLUDE_NEXT=include_next ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ if test -n "$GCC"; then ++ PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' ++ fi ++ else ++ if test $gl_cv_have_include_next = buggy; then ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ else ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include ++ fi ++ fi ++ ++ ++ ++ ++ ++ GNULIB_CHOWN=0; ++ GNULIB_CLOSE=0; ++ GNULIB_DUP2=0; ++ GNULIB_ENVIRON=0; ++ GNULIB_EUIDACCESS=0; ++ GNULIB_FCHDIR=0; ++ GNULIB_FSYNC=0; ++ GNULIB_FTRUNCATE=0; ++ GNULIB_GETCWD=0; ++ GNULIB_GETDOMAINNAME=0; ++ GNULIB_GETDTABLESIZE=0; ++ GNULIB_GETHOSTNAME=0; ++ GNULIB_GETLOGIN_R=0; ++ GNULIB_GETPAGESIZE=0; ++ GNULIB_GETUSERSHELL=0; ++ GNULIB_LCHOWN=0; ++ GNULIB_LINK=0; ++ GNULIB_LSEEK=0; ++ GNULIB_READLINK=0; ++ GNULIB_SLEEP=0; ++ GNULIB_UNISTD_H_SIGPIPE=0; ++ GNULIB_WRITE=0; ++ HAVE_DUP2=1; ++ HAVE_EUIDACCESS=1; ++ HAVE_FSYNC=1; ++ HAVE_FTRUNCATE=1; ++ HAVE_GETDOMAINNAME=1; ++ HAVE_GETDTABLESIZE=1; ++ HAVE_GETHOSTNAME=1; ++ HAVE_GETPAGESIZE=1; ++ HAVE_GETUSERSHELL=1; ++ HAVE_LINK=1; ++ HAVE_READLINK=1; ++ HAVE_SLEEP=1; ++ HAVE_DECL_ENVIRON=1; ++ HAVE_DECL_GETLOGIN_R=1; ++ HAVE_OS_H=0; ++ HAVE_SYS_PARAM_H=0; ++ REPLACE_CHOWN=0; ++ REPLACE_CLOSE=0; ++ REPLACE_FCHDIR=0; ++ REPLACE_GETCWD=0; ++ REPLACE_GETPAGESIZE=0; ++ REPLACE_LCHOWN=0; ++ REPLACE_LSEEK=0; ++ REPLACE_WRITE=0; ++ UNISTD_H_HAVE_WINSOCK2_H=0; ++ ++ ++ GNULIB_IOCTL=0; ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=0; ++ SYS_IOCTL_H=''; ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_FPRINTF=0; ++ GNULIB_FPRINTF_POSIX=0; ++ GNULIB_PRINTF=0; ++ GNULIB_PRINTF_POSIX=0; ++ GNULIB_SNPRINTF=0; ++ GNULIB_SPRINTF_POSIX=0; ++ GNULIB_VFPRINTF=0; ++ GNULIB_VFPRINTF_POSIX=0; ++ GNULIB_VPRINTF=0; ++ GNULIB_VPRINTF_POSIX=0; ++ GNULIB_VSNPRINTF=0; ++ GNULIB_VSPRINTF_POSIX=0; ++ GNULIB_DPRINTF=0; ++ GNULIB_VDPRINTF=0; ++ GNULIB_VASPRINTF=0; ++ GNULIB_OBSTACK_PRINTF=0; ++ GNULIB_OBSTACK_PRINTF_POSIX=0; ++ GNULIB_FOPEN=0; ++ GNULIB_FREOPEN=0; ++ GNULIB_FSEEK=0; ++ GNULIB_FSEEKO=0; ++ GNULIB_FTELL=0; ++ GNULIB_FTELLO=0; ++ GNULIB_FFLUSH=0; ++ GNULIB_FPURGE=0; ++ GNULIB_FCLOSE=0; ++ GNULIB_FPUTC=0; ++ GNULIB_PUTC=0; ++ GNULIB_PUTCHAR=0; ++ GNULIB_FPUTS=0; ++ GNULIB_PUTS=0; ++ GNULIB_FWRITE=0; ++ GNULIB_GETDELIM=0; ++ GNULIB_GETLINE=0; ++ GNULIB_PERROR=0; ++ GNULIB_STDIO_H_SIGPIPE=0; ++ REPLACE_STDIO_WRITE_FUNCS=0; ++ REPLACE_FPRINTF=0; ++ REPLACE_VFPRINTF=0; ++ REPLACE_PRINTF=0; ++ REPLACE_VPRINTF=0; ++ REPLACE_SNPRINTF=0; ++ HAVE_DECL_SNPRINTF=1; ++ REPLACE_VSNPRINTF=0; ++ HAVE_DECL_VSNPRINTF=1; ++ REPLACE_SPRINTF=0; ++ REPLACE_VSPRINTF=0; ++ HAVE_DPRINTF=1; ++ REPLACE_DPRINTF=0; ++ HAVE_VDPRINTF=1; ++ REPLACE_VDPRINTF=0; ++ HAVE_VASPRINTF=1; ++ REPLACE_VASPRINTF=0; ++ HAVE_DECL_OBSTACK_PRINTF=1; ++ REPLACE_OBSTACK_PRINTF=0; ++ REPLACE_FOPEN=0; ++ REPLACE_FREOPEN=0; ++ HAVE_FSEEKO=1; ++ REPLACE_FSEEKO=0; ++ REPLACE_FSEEK=0; ++ HAVE_FTELLO=1; ++ REPLACE_FTELLO=0; ++ REPLACE_FTELL=0; ++ REPLACE_FFLUSH=0; ++ REPLACE_FPURGE=0; ++ HAVE_DECL_FPURGE=1; ++ REPLACE_FCLOSE=0; ++ HAVE_DECL_GETDELIM=1; ++ HAVE_DECL_GETLINE=1; ++ REPLACE_GETLINE=0; ++ REPLACE_PERROR=0; ++ ++ ++ GNULIB_SOCKET=0; ++ GNULIB_CONNECT=0; ++ GNULIB_ACCEPT=0; ++ GNULIB_BIND=0; ++ GNULIB_GETPEERNAME=0; ++ GNULIB_GETSOCKNAME=0; ++ GNULIB_GETSOCKOPT=0; ++ GNULIB_LISTEN=0; ++ GNULIB_RECV=0; ++ GNULIB_SEND=0; ++ GNULIB_RECVFROM=0; ++ GNULIB_SENDTO=0; ++ GNULIB_SETSOCKOPT=0; ++ GNULIB_SHUTDOWN=0; ++ HAVE_STRUCT_SOCKADDR_STORAGE=1; ++ HAVE_SA_FAMILY_T=1; ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 ++$as_echo_n "checking for inline... " >&6; } ++if test "${ac_cv_c_inline+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_inline=no ++for ac_kw in inline __inline__ __inline; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __cplusplus ++typedef int foo_t; ++static $ac_kw foo_t static_foo () {return 0; } ++$ac_kw foo_t foo () {return 0; } ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_inline=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_inline" != no && break ++done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 ++$as_echo "$ac_cv_c_inline" >&6; } ++ ++case $ac_cv_c_inline in ++ inline | yes) ;; ++ *) ++ case $ac_cv_c_inline in ++ no) ac_val=;; ++ *) ac_val=$ac_cv_c_inline;; ++ esac ++ cat >>confdefs.h <<_ACEOF ++#ifndef __cplusplus ++#define inline $ac_val ++#endif ++_ACEOF ++ ;; ++esac ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_socket_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_selfcontained=yes ++else ++ gl_cv_header_sys_socket_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } ++ if test $gl_cv_header_sys_socket_h_selfcontained = yes; then ++ SYS_SOCKET_H='' ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SHUTDOWN 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_shutdown = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 ++$as_echo_n "checking whether defines the SHUT_* macros... " >&6; } ++if test "${gl_cv_header_sys_socket_h_shut+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_shut=yes ++else ++ gl_cv_header_sys_socket_h_shut=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } ++ if test $gl_cv_header_sys_socket_h_shut = no; then ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ fi ++ else ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ # We need to check for ws2tcpip.h now. ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_socket_h='<'sys/socket.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_socket_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_socket_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/socket.h#{ ++ s#.*"\(.*/sys/socket.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_socket_h='<'sys/socket.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 ++$as_echo "$gl_cv_next_sys_socket_h" >&6; } ++ fi ++ NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/socket.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_socket_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h = yes; then ++ HAVE_SYS_SOCKET_H=1 ++ HAVE_WS2TCPIP_H=0 ++ else ++ HAVE_SYS_SOCKET_H=0 ++ for ac_header in ws2tcpip.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ++if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WS2TCPIP_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_ws2tcpip_h = yes; then ++ HAVE_WS2TCPIP_H=1 ++ else ++ HAVE_WS2TCPIP_H=0 ++ fi ++ fi ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1 ++_ACEOF ++ ++ ++fi ++ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_sa_family_t" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SA_FAMILY_T 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_type_struct_sockaddr_storage = no; then ++ HAVE_STRUCT_SOCKADDR_STORAGE=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test $ac_cv_type_sa_family_t = no; then ++ HAVE_SA_FAMILY_T=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test -n "$SYS_SOCKET_H"; then ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 ++$as_echo_n "checking for complete errno.h... " >&6; } ++if test "${gl_cv_header_errno_h_complete+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if !defined ENOMSG ++booboo ++#endif ++#if !defined EIDRM ++booboo ++#endif ++#if !defined ENOLINK ++booboo ++#endif ++#if !defined EPROTO ++booboo ++#endif ++#if !defined EMULTIHOP ++booboo ++#endif ++#if !defined EBADMSG ++booboo ++#endif ++#if !defined EOVERFLOW ++booboo ++#endif ++#if !defined ENOTSUP ++booboo ++#endif ++#if !defined ESTALE ++booboo ++#endif ++#if !defined ECANCELED ++booboo ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "booboo" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_complete=no ++else ++ gl_cv_header_errno_h_complete=yes ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 ++$as_echo "$gl_cv_header_errno_h_complete" >&6; } ++ if test $gl_cv_header_errno_h_complete = yes; then ++ ERRNO_H='' ++ else ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_errno_h='<'errno.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_errno_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_errno_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/errno.h#{ ++ s#.*"\(.*/errno.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_errno_h='<'errno.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 ++$as_echo "$gl_cv_next_errno_h" >&6; } ++ fi ++ NEXT_ERRNO_H=$gl_cv_next_errno_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'errno.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_errno_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive ++ ++ ++ ++ ERRNO_H='errno.h' ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 ++$as_echo_n "checking for EMULTIHOP value... " >&6; } ++if test "${gl_cv_header_errno_h_EMULTIHOP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef EMULTIHOP ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EMULTIHOP=yes ++else ++ gl_cv_header_errno_h_EMULTIHOP=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EMULTIHOP = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef EMULTIHOP ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EMULTIHOP=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 ++$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } ++ case $gl_cv_header_errno_h_EMULTIHOP in ++ yes | no) ++ EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ++ ;; ++ *) ++ EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 ++$as_echo_n "checking for ENOLINK value... " >&6; } ++if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef ENOLINK ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=yes ++else ++ gl_cv_header_errno_h_ENOLINK=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_ENOLINK = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef ENOLINK ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_ENOLINK = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 ++$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } ++ case $gl_cv_header_errno_h_ENOLINK in ++ yes | no) ++ ENOLINK_HIDDEN=0; ENOLINK_VALUE= ++ ;; ++ *) ++ ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 ++$as_echo_n "checking for EOVERFLOW value... " >&6; } ++if test "${gl_cv_header_errno_h_EOVERFLOW+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef EOVERFLOW ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=yes ++else ++ gl_cv_header_errno_h_EOVERFLOW=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EOVERFLOW = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef EOVERFLOW ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 ++$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } ++ case $gl_cv_header_errno_h_EOVERFLOW in ++ yes | no) ++ EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= ++ ;; ++ *) ++ EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 ++$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } ++if test "${gl_cv_var_stdin_large_offset+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++#if defined __SL64 && defined __SCLE /* cygwin */ ++ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making ++ fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and ++ it is easier to do a version check than building a runtime test. */ ++# include ++# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) ++ choke me ++# endif ++#endif ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_var_stdin_large_offset=yes ++else ++ gl_cv_var_stdin_large_offset=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5 ++$as_echo "$gl_cv_var_stdin_large_offset" >&6; } ++ ++ ++ GNULIB_GETADDRINFO=0; ++ HAVE_STRUCT_ADDRINFO=1; ++ HAVE_DECL_FREEADDRINFO=1; ++ HAVE_DECL_GAI_STRERROR=1; ++ HAVE_DECL_GETADDRINFO=1; ++ HAVE_DECL_GETNAMEINFO=1; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netdb_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netdb.h#{ ++ s#.*"\(.*/netdb.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 ++$as_echo "$gl_cv_next_netdb_h" >&6; } ++ fi ++ NEXT_NETDB_H=$gl_cv_next_netdb_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'netdb.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_netdb_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ struct addrinfo a; ++ int b = EAI_OVERFLOW; ++ int c = AI_NUMERICSERV; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ NETDB_H='' ++else ++ NETDB_H='netdb.h' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ HAVE_NETDB_H=1 ++ else ++ NETDB_H='netdb.h' ++ HAVE_NETDB_H=0 ++ fi ++ ++ ++ ++ ++ HOSTENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 ++$as_echo_n "checking for library containing gethostbyname... " >&6; } ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gethostbyname (); ++int ++main () ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' nsl network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_gethostbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ ++else ++ ac_cv_search_gethostbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 ++$as_echo "$ac_cv_search_gethostbyname" >&6; } ++ac_res=$ac_cv_search_gethostbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_gethostbyname" != "none required"; then ++ HOSTENT_LIB="$ac_cv_search_gethostbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$HOSTENT_LIB"; then ++ for ac_func in gethostbyname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" ++if test "x$ac_cv_func_gethostbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETHOSTBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_gethostbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++gethostbyname(NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_gethostbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 ++$as_echo "$gl_cv_w32_gethostbyname" >&6; } ++ if test "$gl_cv_w32_gethostbyname" = "yes"; then ++ HOSTENT_LIB="-lws2_32" ++ fi ++ ++fi ++done ++ ++ fi ++ ++ ++ ++ SERVENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 ++$as_echo_n "checking for library containing getservbyname... " >&6; } ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getservbyname (); ++int ++main () ++{ ++return getservbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getservbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getservbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ ++else ++ ac_cv_search_getservbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 ++$as_echo "$ac_cv_search_getservbyname" >&6; } ++ac_res=$ac_cv_search_getservbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getservbyname" != "none required"; then ++ SERVENT_LIB="$ac_cv_search_getservbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$SERVENT_LIB"; then ++ for ac_func in getservbyname ++do : ++ ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" ++if test "x$ac_cv_func_getservbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETSERVBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_getservbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++getservbyname(NULL,NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getservbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 ++$as_echo "$gl_cv_w32_getservbyname" >&6; } ++ if test "$gl_cv_w32_getservbyname" = "yes"; then ++ SERVENT_LIB="-lws2_32" ++ fi ++ ++fi ++done ++ ++ fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 ++$as_echo_n "checking for C/C++ restrict keyword... " >&6; } ++if test "${ac_cv_c_restrict+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_restrict=no ++ # The order here caters to the fact that C++ does not require restrict. ++ for ac_kw in __restrict __restrict__ _Restrict restrict; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++typedef int * int_ptr; ++ int foo (int_ptr $ac_kw ip) { ++ return ip[0]; ++ } ++int ++main () ++{ ++int s[1]; ++ int * $ac_kw t = s; ++ t[0] = 0; ++ return foo(t) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_restrict=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_restrict" != no && break ++ done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 ++$as_echo "$ac_cv_c_restrict" >&6; } ++ ++ case $ac_cv_c_restrict in ++ restrict) ;; ++ no) $as_echo "@%:@define restrict /**/" >>confdefs.h ++ ;; ++ *) cat >>confdefs.h <<_ACEOF ++@%:@define restrict $ac_cv_c_restrict ++_ACEOF ++ ;; ++ esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 ++$as_echo_n "checking for IPv4 sockets... " >&6; } ++ if test "${gl_cv_socket_ipv4+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include ++#endif ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++int ++main () ++{ ++int x = AF_INET; struct in_addr y; struct sockaddr_in z; ++ if (&x && &y && &z) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_socket_ipv4=yes ++else ++ gl_cv_socket_ipv4=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 ++$as_echo "$gl_cv_socket_ipv4" >&6; } ++ if test $gl_cv_socket_ipv4 = yes; then ++ ++$as_echo "@%:@define HAVE_IPV4 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 ++$as_echo_n "checking for IPv6 sockets... " >&6; } ++ if test "${gl_cv_socket_ipv6+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include ++#endif ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++int ++main () ++{ ++int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; ++ if (&x && &y && &z) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_socket_ipv6=yes ++else ++ gl_cv_socket_ipv6=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 ++$as_echo "$gl_cv_socket_ipv6" >&6; } ++ if test $gl_cv_socket_ipv6 = yes; then ++ ++$as_echo "@%:@define HAVE_IPV6 1" >>confdefs.h ++ ++ fi ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getdelim" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETDELIM $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getline" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETLINE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getpass" "ac_cv_have_decl_getpass" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getpass" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETPASS $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in $gl_func_list ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "flockfile" "ac_cv_have_decl_flockfile" "$ac_includes_default" ++if test "x$ac_cv_have_decl_flockfile" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FLOCKFILE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "funlockfile" "ac_cv_have_decl_funlockfile" "$ac_includes_default" ++if test "x$ac_cv_have_decl_funlockfile" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FUNLOCKFILE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_time_h='<'sys/time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_time_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/time.h#{ ++ s#.*"\(.*/sys/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_time_h='<'sys/time.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5 ++$as_echo "$gl_cv_next_sys_time_h" >&6; } ++ fi ++ NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_sys_time_h = yes; then ++ HAVE_SYS_TIME_H=1 ++ else ++ HAVE_SYS_TIME_H=0 ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 ++$as_echo_n "checking for struct timeval... " >&6; } ++if test "${gl_cv_sys_struct_timeval+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if HAVE_SYS_TIME_H ++ #include ++ #endif ++ #include ++ ++int ++main () ++{ ++static struct timeval x; x.tv_sec = x.tv_usec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timeval=yes ++else ++ gl_cv_sys_struct_timeval=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5 ++$as_echo "$gl_cv_sys_struct_timeval" >&6; } ++ if test $gl_cv_sys_struct_timeval = yes; then ++ HAVE_STRUCT_TIMEVAL=1 ++ else ++ HAVE_STRUCT_TIMEVAL=0 ++ fi ++ ++ ++ REPLACE_GETTIMEOFDAY=0 ++ ++ if test $HAVE_SYS_TIME_H = 0 || test $HAVE_STRUCT_TIMEVAL = 0; then ++ SYS_TIME_H=sys/time.h ++ else ++ SYS_TIME_H= ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_LCHMOD=0; ++ GNULIB_LSTAT=0; ++ HAVE_LCHMOD=1; ++ REPLACE_LSTAT=0; ++ REPLACE_MKDIR=0; ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 ++$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } ++if test "${gl_cv_func_malloc_posix+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++ choke me ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_malloc_posix=yes ++else ++ gl_cv_func_malloc_posix=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 ++$as_echo "$gl_cv_func_malloc_posix" >&6; } ++ ++ ++ GNULIB_MALLOC_POSIX=0; ++ GNULIB_REALLOC_POSIX=0; ++ GNULIB_CALLOC_POSIX=0; ++ GNULIB_ATOLL=0; ++ GNULIB_GETLOADAVG=0; ++ GNULIB_GETSUBOPT=0; ++ GNULIB_MKDTEMP=0; ++ GNULIB_MKSTEMP=0; ++ GNULIB_PUTENV=0; ++ GNULIB_RANDOM_R=0; ++ GNULIB_RPMATCH=0; ++ GNULIB_SETENV=0; ++ GNULIB_STRTOD=0; ++ GNULIB_STRTOLL=0; ++ GNULIB_STRTOULL=0; ++ GNULIB_UNSETENV=0; ++ HAVE_ATOLL=1; ++ HAVE_CALLOC_POSIX=1; ++ HAVE_GETSUBOPT=1; ++ HAVE_MALLOC_POSIX=1; ++ HAVE_MKDTEMP=1; ++ HAVE_REALLOC_POSIX=1; ++ HAVE_RANDOM_R=1; ++ HAVE_RPMATCH=1; ++ HAVE_SETENV=1; ++ HAVE_STRTOD=1; ++ HAVE_STRTOLL=1; ++ HAVE_STRTOULL=1; ++ HAVE_STRUCT_RANDOM_DATA=1; ++ HAVE_SYS_LOADAVG_H=0; ++ HAVE_UNSETENV=1; ++ HAVE_DECL_GETLOADAVG=1; ++ REPLACE_MKSTEMP=0; ++ REPLACE_PUTENV=0; ++ REPLACE_STRTOD=0; ++ VOID_UNSETENV=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_MEMCHR=0; ++ GNULIB_MEMMEM=0; ++ GNULIB_MEMPCPY=0; ++ GNULIB_MEMRCHR=0; ++ GNULIB_RAWMEMCHR=0; ++ GNULIB_STPCPY=0; ++ GNULIB_STPNCPY=0; ++ GNULIB_STRCHRNUL=0; ++ GNULIB_STRDUP=0; ++ GNULIB_STRNDUP=0; ++ GNULIB_STRNLEN=0; ++ GNULIB_STRPBRK=0; ++ GNULIB_STRSEP=0; ++ GNULIB_STRSTR=0; ++ GNULIB_STRCASESTR=0; ++ GNULIB_STRTOK_R=0; ++ GNULIB_MBSLEN=0; ++ GNULIB_MBSNLEN=0; ++ GNULIB_MBSCHR=0; ++ GNULIB_MBSRCHR=0; ++ GNULIB_MBSSTR=0; ++ GNULIB_MBSCASECMP=0; ++ GNULIB_MBSNCASECMP=0; ++ GNULIB_MBSPCASECMP=0; ++ GNULIB_MBSCASESTR=0; ++ GNULIB_MBSCSPN=0; ++ GNULIB_MBSPBRK=0; ++ GNULIB_MBSSPN=0; ++ GNULIB_MBSSEP=0; ++ GNULIB_MBSTOK_R=0; ++ GNULIB_STRERROR=0; ++ GNULIB_STRSIGNAL=0; ++ GNULIB_STRVERSCMP=0; ++ HAVE_DECL_MEMMEM=1; ++ HAVE_MEMPCPY=1; ++ HAVE_DECL_MEMRCHR=1; ++ HAVE_RAWMEMCHR=1; ++ HAVE_STPCPY=1; ++ HAVE_STPNCPY=1; ++ HAVE_STRCHRNUL=1; ++ HAVE_DECL_STRDUP=1; ++ HAVE_STRNDUP=1; ++ HAVE_DECL_STRNDUP=1; ++ HAVE_DECL_STRNLEN=1; ++ HAVE_STRPBRK=1; ++ HAVE_STRSEP=1; ++ HAVE_STRCASESTR=1; ++ HAVE_DECL_STRTOK_R=1; ++ HAVE_DECL_STRERROR=1; ++ HAVE_DECL_STRSIGNAL=1; ++ HAVE_STRVERSCMP=1; ++ REPLACE_MEMCHR=0; ++ REPLACE_MEMMEM=0; ++ REPLACE_STRDUP=0; ++ REPLACE_STRSTR=0; ++ REPLACE_STRCASESTR=0; ++ REPLACE_STRERROR=0; ++ REPLACE_STRSIGNAL=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = x""yes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in memchr ++do : ++ ac_fn_c_check_func "$LINENO" "memchr" "ac_cv_func_memchr" ++if test "x$ac_cv_func_memchr" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_MEMCHR 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_memchr = no; then ++ ++ for ac_header in bp-sym.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" ++if test "x$ac_cv_header_bp_sym_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_BP_SYM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ REPLACE_MEMCHR=1 ++ fi ++ ++ if test $ac_cv_func_memchr = yes; then ++ # Detect platform-specific bugs in some versions of glibc: ++ # memchr should not dereference anything with length 0 ++ # http://bugzilla.redhat.com/499689 ++ # memchr should not dereference overestimated length after a match ++ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 ++ # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 ++ # Assume that memchr works on platforms that lack mprotect. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 ++$as_echo_n "checking whether memchr works... " >&6; } ++if test "${gl_cv_func_memchr_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_memchr_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_SYS_MMAN_H ++# include ++# include ++# include ++# include ++# ifndef MAP_FILE ++# define MAP_FILE 0 ++# endif ++#endif ++ ++int ++main () ++{ ++ ++ char *fence = NULL; ++#if HAVE_SYS_MMAN_H && HAVE_MPROTECT ++# if HAVE_MAP_ANONYMOUS ++ const int flags = MAP_ANONYMOUS | MAP_PRIVATE; ++ const int fd = -1; ++# else /* !HAVE_MAP_ANONYMOUS */ ++ const int flags = MAP_FILE | MAP_PRIVATE; ++ int fd = open ("/dev/zero", O_RDONLY, 0666); ++ if (fd >= 0) ++# endif ++ { ++ int pagesize = getpagesize (); ++ char *two_pages = ++ (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, ++ flags, fd, 0); ++ if (two_pages != (char *)(-1) ++ && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) ++ fence = two_pages + pagesize; ++ } ++#endif ++ if (fence) ++ { ++ if (memchr (fence, 0, 0)) ++ return 1; ++ strcpy (fence - 9, "12345678"); ++ if (memchr (fence - 9, 0, 79) != fence - 1) ++ return 2; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_memchr_works=yes ++else ++ gl_cv_func_memchr_works=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 ++$as_echo "$gl_cv_func_memchr_works" >&6; } ++ if test "$gl_cv_func_memchr_works" != yes; then ++ ++ for ac_header in bp-sym.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" ++if test "x$ac_cv_header_bp_sym_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_BP_SYM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ REPLACE_MEMCHR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" ++ ++ fi ++ fi ++ ++@%:@ Check whether --enable-largefile was given. ++if test "${enable_largefile+set}" = set; then : ++ enableval=$enable_largefile; ++fi ++ ++if test "$enable_largefile" != no; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 ++$as_echo_n "checking for special C compiler options needed for large files... " >&6; } ++if test "${ac_cv_sys_largefile_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_sys_largefile_CC=no ++ if test "$GCC" != yes; then ++ ac_save_CC=$CC ++ while :; do ++ # IRIX 6.2 and later do not support large files by default, ++ # so use the C compiler's -n32 option if that helps. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ if ac_fn_c_try_compile "$LINENO"; then : ++ break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ CC="$CC -n32" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_largefile_CC=' -n32'; break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ break ++ done ++ CC=$ac_save_CC ++ rm -f conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 ++$as_echo "$ac_cv_sys_largefile_CC" >&6; } ++ if test "$ac_cv_sys_largefile_CC" != no; then ++ CC=$CC$ac_cv_sys_largefile_CC ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ++if test "${ac_cv_sys_file_offset_bits+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _FILE_OFFSET_BITS 64 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=64; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_file_offset_bits=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 ++$as_echo "$ac_cv_sys_file_offset_bits" >&6; } ++case $ac_cv_sys_file_offset_bits in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ if test $ac_cv_sys_file_offset_bits = unknown; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 ++$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ++if test "${ac_cv_sys_large_files+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGE_FILES 1 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_large_files=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 ++$as_echo "$ac_cv_sys_large_files" >&6; } ++case $ac_cv_sys_large_files in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGE_FILES $ac_cv_sys_large_files ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ fi ++fi ++ ++ ++ gl_cv_c_multiarch=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ arch= ++ prev= ++ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do ++ if test -n "$prev"; then ++ case $word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$arch" || test "$arch" = "$word"; then ++ arch="$word" ++ else ++ gl_cv_c_multiarch=yes ++ fi ++ ;; ++ esac ++ prev= ++ else ++ if test "x$word" = "x-arch"; then ++ prev=arch ++ fi ++ fi ++ done ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $gl_cv_c_multiarch = yes; then ++ ++$as_echo "@%:@define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++ ++ APPLE_UNIVERSAL_BUILD=1 ++ else ++ APPLE_UNIVERSAL_BUILD=0 ++ fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for external symbol _system_configuration" >&5 ++$as_echo_n "checking for external symbol _system_configuration... " >&6; } ++if test "${gl_cv_var__system_configuration+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++double x = _system_configuration.physmem; ++ if (x > 0.0) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_var__system_configuration=yes ++else ++ gl_cv_var__system_configuration=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var__system_configuration" >&5 ++$as_echo "$gl_cv_var__system_configuration" >&6; } ++ ++ if test $gl_cv_var__system_configuration = yes; then ++ ++$as_echo "@%:@define HAVE__SYSTEM_CONFIGURATION 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_SELECT=0; ++ REPLACE_SELECT=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_select_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++struct timeval b; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_select_h_selfcontained=yes ++else ++ gl_cv_header_sys_select_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$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' ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_select_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_select_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/select.h#{ ++ s#.*"\(.*/sys/select.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5 ++$as_echo "$gl_cv_next_sys_select_h" >&6; } ++ fi ++ NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/select.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_select_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive ++ ++ ++ ++ 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_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" ++if test "x$ac_cv_have_decl_snprintf" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SNPRINTF $ac_have_decl ++_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 ++$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } ++if test "${ac_cv_header_stdbool_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifndef bool ++ "error: bool is not defined" ++ #endif ++ #ifndef false ++ "error: false is not defined" ++ #endif ++ #if false ++ "error: false is not 0" ++ #endif ++ #ifndef true ++ "error: true is not defined" ++ #endif ++ #if true != 1 ++ "error: true is not 1" ++ #endif ++ #ifndef __bool_true_false_are_defined ++ "error: __bool_true_false_are_defined is not defined" ++ #endif ++ ++ struct s { _Bool s: 1; _Bool t; } s; ++ ++ char a[true == 1 ? 1 : -1]; ++ char b[false == 0 ? 1 : -1]; ++ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; ++ char d[(bool) 0.5 == true ? 1 : -1]; ++ bool e = &s; ++ char f[(_Bool) 0.0 == false ? 1 : -1]; ++ char g[true]; ++ char h[sizeof (_Bool)]; ++ char i[sizeof s.t]; ++ enum { j = false, k = true, l = false * true, m = true * 256 }; ++ _Bool n[m]; ++ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; ++ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; ++ #if defined __xlc__ || defined __GNUC__ ++ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 ++ reported by James Lemley on 2005-10-05; see ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html ++ This test is not quite right, since xlc is allowed to ++ reject this program, as the initializer for xlcbug is ++ not one of the forms that C requires support for. ++ However, doing the test right would require a run-time ++ test, and that would make cross-compilation harder. ++ Let us hope that IBM fixes the xlc bug, and also adds ++ support for this kind of constant expression. In the ++ meantime, this test will reject xlc, which is OK, since ++ our stdbool.h substitute should suffice. We also test ++ this with GCC, where it should work, to detect more ++ quickly whether someone messes up the test in the ++ future. */ ++ char digs[] = "0123456789"; ++ int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); ++ #endif ++ /* Catch a bug in an HP-UX C compiler. See ++ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html ++ */ ++ _Bool q = true; ++ _Bool *pq = &q; ++ ++int ++main () ++{ ++ ++ *pq |= q; ++ *pq |= ! q; ++ /* Refer to every declared value, to avoid compiler optimizations. */ ++ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ++ + !m + !n + !o + !p + !q + !pq); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdbool_h=yes ++else ++ ac_cv_header_stdbool_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 ++$as_echo "$ac_cv_header_stdbool_h" >&6; } ++ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" ++if test "x$ac_cv_type__Bool" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__BOOL 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_header_stdbool_h = yes; then ++ ++$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 ++$as_echo_n "checking for long long int... " >&6; } ++if test "${ac_cv_type_long_long_int+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test "$cross_compiling" = yes; then : ++ ac_cv_type_long_long_int=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ @%:@ifndef LLONG_MAX ++ @%:@ define HALF \ ++ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) ++ @%:@ define LLONG_MAX (HALF - 1 + HALF) ++ @%:@endif ++int ++main () ++{ ++long long int n = 1; ++ int i; ++ for (i = 0; ; i++) ++ { ++ long long int m = n << i; ++ if (m >> i != n) ++ return 1; ++ if (LLONG_MAX / 2 < m) ++ break; ++ } ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_type_long_long_int=yes ++else ++ ac_cv_type_long_long_int=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++else ++ ac_cv_type_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 ++$as_echo "$ac_cv_type_long_long_int" >&6; } ++ if test $ac_cv_type_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 ++$as_echo_n "checking for unsigned long long int... " >&6; } ++if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_type_unsigned_long_long_int=yes ++else ++ ac_cv_type_unsigned_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 ++$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strdup" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRDUP $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ if test -z "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 ++$as_echo_n "checking for working strerror function... " >&6; } ++if test "${gl_cv_func_working_strerror+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 ++$as_echo "$gl_cv_func_working_strerror" >&6; } ++ if test $gl_cv_func_working_strerror = no; then ++ REPLACE_STRERROR=1 ++ fi ++ else ++ REPLACE_STRERROR=1 ++ fi ++ if test $REPLACE_STRERROR = 1; then ++ ++ ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strerror" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRERROR $ac_have_decl ++_ACEOF ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_string_h='<'string.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_string_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_string_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/string.h#{ ++ s#.*"\(.*/string.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_string_h='<'string.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 ++$as_echo "$gl_cv_next_string_h" >&6; } ++ fi ++ NEXT_STRING_H=$gl_cv_next_string_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'string.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_string_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strndup" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRNDUP $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strnlen" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRNLEN $ac_have_decl ++_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 ++$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } ++if test "${ac_cv_header_stat_broken+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++ ++#if defined S_ISBLK && defined S_IFDIR ++extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISBLK && defined S_IFCHR ++extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISLNK && defined S_IFREG ++extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; ++#endif ++ ++#if defined S_ISSOCK && defined S_IFREG ++extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stat_broken=no ++else ++ ac_cv_header_stat_broken=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 ++$as_echo "$ac_cv_header_stat_broken" >&6; } ++if test $ac_cv_header_stat_broken = yes; then ++ ++$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; ++ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; ++ REPLACE_STRPTIME=GNULIB_PORTCHECK; ++ REPLACE_TIMEGM=GNULIB_PORTCHECK; ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_time_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } ++ ++ TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then ++ TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_sys_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_sys_time_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } ++ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_time_h='<'time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_time_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/time.h#{ ++ s#.*"\(.*/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_time_h='<'time.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 ++$as_echo "$gl_cv_next_time_h" >&6; } ++ fi ++ NEXT_TIME_H=$gl_cv_next_time_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if test "${gt_cv_c_wchar_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then ++ ++$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if test "${gt_cv_c_wint_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wint_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes ++else ++ gt_cv_c_wint_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then ++ ++$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h ++ ++ fi ++ ++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ++if test "x$ac_cv_type_size_t" = x""yes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define size_t unsigned int ++_ACEOF ++ ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 ++$as_echo_n "checking for inttypes.h... " >&6; } ++if test "${gl_cv_header_inttypes_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_inttypes_h=yes ++else ++ gl_cv_header_inttypes_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 ++$as_echo "$gl_cv_header_inttypes_h" >&6; } ++ if test $gl_cv_header_inttypes_h = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1 ++_ACEOF ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 ++$as_echo_n "checking for stdint.h... " >&6; } ++if test "${gl_cv_header_stdint_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_stdint_h=yes ++else ++ gl_cv_header_stdint_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 ++$as_echo "$gl_cv_header_stdint_h" >&6; } ++ if test $gl_cv_header_stdint_h = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H_WITH_UINTMAX 1 ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 ++$as_echo_n "checking for intmax_t... " >&6; } ++if test "${gt_cv_c_intmax_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif ++ ++int ++main () ++{ ++intmax_t x = -1; return !x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_intmax_t=yes ++else ++ gt_cv_c_intmax_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 ++$as_echo "$gt_cv_c_intmax_t" >&6; } ++ if test $gt_cv_c_intmax_t = yes; then ++ ++$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h ++ ++ else ++ ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define intmax_t $ac_type ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ ++ ++ for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include ++" ++if test "x$ac_cv_have_decl__snprintf" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL__SNPRINTF $ac_have_decl ++_ACEOF ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS= ++ ++ ++ GNULIB_BTOWC=0; ++ GNULIB_WCTOB=0; ++ GNULIB_MBSINIT=0; ++ GNULIB_MBRTOWC=0; ++ GNULIB_MBRLEN=0; ++ GNULIB_MBSRTOWCS=0; ++ GNULIB_MBSNRTOWCS=0; ++ GNULIB_WCRTOMB=0; ++ GNULIB_WCSRTOMBS=0; ++ GNULIB_WCSNRTOMBS=0; ++ GNULIB_WCWIDTH=0; ++ HAVE_BTOWC=1; ++ HAVE_MBSINIT=1; ++ HAVE_MBRTOWC=1; ++ HAVE_MBRLEN=1; ++ HAVE_MBSRTOWCS=1; ++ HAVE_MBSNRTOWCS=1; ++ HAVE_WCRTOMB=1; ++ HAVE_WCSRTOMBS=1; ++ HAVE_WCSNRTOMBS=1; ++ HAVE_DECL_WCTOB=1; ++ HAVE_DECL_WCWIDTH=1; ++ REPLACE_MBSTATE_T=0; ++ REPLACE_BTOWC=0; ++ REPLACE_WCTOB=0; ++ REPLACE_MBSINIT=0; ++ REPLACE_MBRTOWC=0; ++ REPLACE_MBRLEN=0; ++ REPLACE_MBSRTOWCS=0; ++ REPLACE_MBSNRTOWCS=0; ++ REPLACE_WCRTOMB=0; ++ REPLACE_WCSRTOMBS=0; ++ REPLACE_WCSNRTOMBS=0; ++ REPLACE_WCWIDTH=0; ++ WCHAR_H=''; ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 ++$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } ++if test "${gl_cv_func_ungetc_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_ungetc_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++ ++int ++main () ++{ ++FILE *f; long l; ++ if (!(f = fopen ("conftest.tmp", "w+"))) return 1; ++ if (fputs ("abc", f) < 0) return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != 'b') return 4; ++ if (ungetc ('d', f) != 'd') return 5; ++ if (ftell (f) != 1) return 6; ++ if (fgetc (f) != 'd') return 7; ++ if (ftell (f) != 2) return 8; ++ if (fseek (f, 0, SEEK_CUR) != 0) return 9; ++ if (ftell (f) != 2) return 10; ++ if (fgetc (f) != 'c') return 11; ++ fclose (f); remove ("conftest.tmp"); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ungetc_works=yes ++else ++ gl_cv_func_ungetc_works=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5 ++$as_echo "$gl_cv_func_ungetc_works" >&6; } ++ if test "$gl_cv_func_ungetc_works" != yes; then ++ ++$as_echo "@%:@define FUNC_UNGETC_BROKEN 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ if true; then ++ GL_COND_LIBTOOL_TRUE= ++ GL_COND_LIBTOOL_FALSE='#' ++else ++ GL_COND_LIBTOOL_TRUE='#' ++ GL_COND_LIBTOOL_FALSE= ++fi ++ ++ gl_cond_libtool=true ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_source_base='gnulib/lib' ++LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'` ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_alloca_works = no; then ++ : ++ fi ++ ++ # Define an additional variable used in the Makefile substitution. ++ if test $ac_cv_working_alloca_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 ++$as_echo_n "checking for alloca as a compiler built-in... " >&6; } ++if test "${gl_cv_rpl_alloca+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if defined __GNUC__ || defined _AIX || defined _MSC_VER ++ Need own alloca ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Need own alloca" >/dev/null 2>&1; then : ++ gl_cv_rpl_alloca=yes ++else ++ gl_cv_rpl_alloca=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 ++$as_echo "$gl_cv_rpl_alloca" >&6; } ++ if test $gl_cv_rpl_alloca = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h ++ ++ ALLOCA_H=alloca.h ++ else ++ ALLOCA_H= ++ fi ++ else ++ ALLOCA_H=alloca.h ++ fi ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ 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 ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_arpa_inet_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_arpa_inet_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_arpa_inet_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/arpa/inet.h#{ ++ s#.*"\(.*/arpa/inet.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5 ++$as_echo "$gl_cv_next_arpa_inet_h" >&6; } ++ fi ++ NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'arpa/inet.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_arpa_inet_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then ++ ++ ++ if test $REPLACE_CLOSE != 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext" ++ ++ fi ++ REPLACE_CLOSE=1 ++ ++ ++ if test $REPLACE_FCLOSE != 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext" ++ ++ fi ++ REPLACE_FCLOSE=1 ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_CLOSE=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS connect.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_CONNECT=1 ++ ++ ++ ++ ++ ++ ++ GNULIB_FCLOSE=1 ++ ++ ++ ++ ++ FLOAT_H= ++ case "$host_os" in ++ beos* | openbsd*) ++ FLOAT_H=float.h ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_float_h='<'float.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_float_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_float_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/float.h#{ ++ s#.*"\(.*/float.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_float_h='<'float.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 ++$as_echo "$gl_cv_next_float_h" >&6; } ++ fi ++ NEXT_FLOAT_H=$gl_cv_next_float_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'float.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_float_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive ++ ++ ++ ++ ;; ++ esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 ++$as_echo_n "checking for fseeko... " >&6; } ++if test "${gl_cv_func_fseeko+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++fseeko (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_fseeko=yes ++else ++ gl_cv_func_fseeko=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$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 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext" ++ ++ ++ REPLACE_FSEEKO=1 ++ ++ fi ++ ++ ++ ++ GNULIB_FSEEKO=1 ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5 ++$as_echo "$as_me: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&6;} ++ GETADDRINFO_LIB= ++ gai_saved_LIBS="$LIBS" ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 ++$as_echo_n "checking for library containing getaddrinfo... " >&6; } ++if test "${ac_cv_search_getaddrinfo+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getaddrinfo (); ++int ++main () ++{ ++return getaddrinfo (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getaddrinfo=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getaddrinfo+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_getaddrinfo+set}" = set; then : ++ ++else ++ ac_cv_search_getaddrinfo=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 ++$as_echo "$ac_cv_search_getaddrinfo" >&6; } ++ac_res=$ac_cv_search_getaddrinfo ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getaddrinfo" != "none required"; then ++ GETADDRINFO_LIB="$ac_cv_search_getaddrinfo" ++ fi ++fi ++ ++ LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5 ++$as_echo_n "checking for getaddrinfo... " >&6; } ++if test "${gl_cv_func_getaddrinfo+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++getaddrinfo("", "", NULL, NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_getaddrinfo=yes ++else ++ gl_cv_func_getaddrinfo=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getaddrinfo" >&5 ++$as_echo "$gl_cv_func_getaddrinfo" >&6; } ++ if test $gl_cv_func_getaddrinfo = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5 ++$as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getaddrinfo+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_cv_w32_getaddrinfo=no ++ am_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++getaddrinfo(NULL, NULL, NULL, NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getaddrinfo=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$am_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getaddrinfo" >&5 ++$as_echo "$gl_cv_w32_getaddrinfo" >&6; } ++ if test "$gl_cv_w32_getaddrinfo" = "yes"; then ++ GETADDRINFO_LIB="-lws2_32" ++ LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS getaddrinfo.$ac_objext" ++ ++ fi ++ fi ++ ++ # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an ++ # inline function declared in ws2tcpip.h, so we need to get that ++ # header included somehow. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gai_strerror (possibly via ws2tcpip.h)" >&5 ++$as_echo_n "checking for gai_strerror (possibly via ws2tcpip.h)... " >&6; } ++if test "${gl_cv_func_gai_strerror+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++gai_strerror (NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_gai_strerror=yes ++else ++ gl_cv_func_gai_strerror=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gai_strerror" >&5 ++$as_echo "$gl_cv_func_gai_strerror" >&6; } ++ if test $gl_cv_func_gai_strerror = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS gai_strerror.$ac_objext" ++ ++ fi ++ ++ LIBS="$gai_saved_LIBS" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include ++" ++if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1 ++_ACEOF ++ ++ ++fi ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getaddrinfo" "ac_cv_have_decl_getaddrinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_getaddrinfo" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETADDRINFO $ac_have_decl ++_ACEOF ++ac_fn_c_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_freeaddrinfo" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FREEADDRINFO $ac_have_decl ++_ACEOF ++ac_fn_c_check_decl "$LINENO" "gai_strerror" "ac_cv_have_decl_gai_strerror" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_gai_strerror" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GAI_STRERROR $ac_have_decl ++_ACEOF ++ac_fn_c_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_getnameinfo" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETNAMEINFO $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_getaddrinfo = no; then ++ HAVE_DECL_GETADDRINFO=0 ++ fi ++ if test $ac_cv_have_decl_freeaddrinfo = no; then ++ HAVE_DECL_FREEADDRINFO=0 ++ fi ++ if test $ac_cv_have_decl_gai_strerror = no; then ++ HAVE_DECL_GAI_STRERROR=0 ++ fi ++ if test $ac_cv_have_decl_getnameinfo = no; then ++ HAVE_DECL_GETNAMEINFO=0 ++ fi ++ ++ ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" " ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_ADDRINFO 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_type_struct_addrinfo = no; then ++ HAVE_STRUCT_ADDRINFO=0 ++ fi ++ ++ case " $GETADDRINFO_LIB " in ++ *" $HOSTENT_LIB "*) ;; ++ *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;; ++ esac ++ ++ case " $GETADDRINFO_LIB " in ++ *" $SERVENT_LIB "*) ;; ++ *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;; ++ esac ++ ++ ++ ++ ++ ++ ++ GNULIB_GETADDRINFO=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in getdelim ++do : ++ ac_fn_c_check_func "$LINENO" "getdelim" "ac_cv_func_getdelim" ++if test "x$ac_cv_func_getdelim" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETDELIM 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_getdelim = no; then ++ ++ for ac_func in flockfile funlockfile ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ if test $ac_cv_have_decl_getdelim = no; then ++ HAVE_DECL_GETDELIM=0 ++ fi ++ ++ ++ ++ GNULIB_GETDELIM=1 ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in gethostname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" ++if test "x$ac_cv_func_gethostname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETHOSTNAME 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_gethostname = no; then ++ HAVE_GETHOSTNAME=0 ++ ++ for ac_func in uname ++do : ++ ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" ++if test "x$ac_cv_func_uname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_UNAME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ fi ++ ++ ++ ++ GNULIB_GETHOSTNAME=1 ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ gl_getline_needs_run_time_check=no ++ ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" ++if test "x$ac_cv_func_getline" = x""yes; then : ++ gl_getline_needs_run_time_check=yes ++else ++ am_cv_func_working_getline=no ++fi ++ ++ if test $gl_getline_needs_run_time_check = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5 ++$as_echo_n "checking for working getline function... " >&6; } ++if test "${am_cv_func_working_getline+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ echo fooN |tr -d '\012'|tr N '\012' > conftest.data ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ >= 2) ++ Lucky GNU user ++ #endif ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky GNU user" >/dev/null 2>&1; then : ++ am_cv_func_working_getline=yes ++else ++ am_cv_func_working_getline=no ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++# include ++ int main () ++ { /* Based on a test program from Karl Heuer. */ ++ char *line = NULL; ++ size_t siz = 0; ++ int len; ++ FILE *in = fopen ("./conftest.data", "r"); ++ if (!in) ++ return 1; ++ len = getline (&line, &siz, in); ++ exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); ++ } ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ am_cv_func_working_getline=yes ++else ++ am_cv_func_working_getline=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5 ++$as_echo "$am_cv_func_working_getline" >&6; } ++ fi ++ ++ if test $ac_cv_have_decl_getline = no; then ++ HAVE_DECL_GETLINE=0 ++ fi ++ ++ if test $am_cv_func_working_getline = no; then ++ REPLACE_GETLINE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in getdelim ++do : ++ ac_fn_c_check_func "$LINENO" "getdelim" "ac_cv_func_getdelim" ++if test "x$ac_cv_func_getdelim" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETDELIM 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_getdelim = no; then ++ ++ for ac_func in flockfile funlockfile ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ if test $ac_cv_have_decl_getdelim = no; then ++ HAVE_DECL_GETDELIM=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ GNULIB_GETLINE=1 ++ ++ ++ ++ ++ for ac_func in getpagesize ++do : ++ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" ++if test "x$ac_cv_func_getpagesize" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETPAGESIZE 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_getpagesize = no; then ++ HAVE_GETPAGESIZE=0 ++ for ac_header in OS.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" ++if test "x$ac_cv_header_OS_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_OS_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_OS_h = yes; then ++ HAVE_OS_H=1 ++ fi ++ for ac_header in sys/param.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_param_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_PARAM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_sys_param_h = yes; then ++ HAVE_SYS_PARAM_H=1 ++ fi ++ fi ++ case "$host_os" in ++ mingw*) ++ REPLACE_GETPAGESIZE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS getpagesize.$ac_objext" ++ ++ ;; ++ esac ++ ++ ++ ++ GNULIB_GETPAGESIZE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in getpass ++do : ++ ac_fn_c_check_func "$LINENO" "getpass" "ac_cv_func_getpass" ++if test "x$ac_cv_func_getpass" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETPASS 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_getpass = no; then ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "__fsetlocking" "ac_cv_have_decl___fsetlocking" "#include ++ #if HAVE_STDIO_EXT_H ++ #include ++ #endif ++" ++if test "x$ac_cv_have_decl___fsetlocking" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL___FSETLOCKING $ac_have_decl ++_ACEOF ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5 ++$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; } ++if test "${gl_cv_func_gettimeofday_posix_signature+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ struct timeval c; ++ ++int ++main () ++{ ++ ++ int (*f) (struct timeval *restrict, void *restrict) = gettimeofday; ++ int x = f (&c, 0); ++ return !(x | c.tv_sec | c.tv_usec); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_gettimeofday_posix_signature=yes ++else ++ gl_cv_func_gettimeofday_posix_signature=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5 ++$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5 ++$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; } ++if test "${gl_cv_func_gettimeofday_clobber+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_gettimeofday_clobber=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ time_t t = 0; ++ struct tm *lt; ++ struct tm saved_lt; ++ struct timeval tv; ++ lt = localtime (&t); ++ saved_lt = *lt; ++ gettimeofday (&tv, NULL); ++ return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_gettimeofday_clobber=no ++else ++ gl_cv_func_gettimeofday_clobber=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5 ++$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; } ++ ++ if test $gl_cv_func_gettimeofday_clobber = yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ SYS_TIME_H=sys/time.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h ++ ++ ++$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h ++ ++ ++ ++$as_echo "@%:@define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h ++ ++ fi ++ ++ ++ if test $gl_cv_func_gettimeofday_posix_signature != yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ SYS_TIME_H=sys/time.h ++ if test $gl_cv_func_gettimeofday_clobber != yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ fi ++ fi ++ ++ # Autoconf 2.61a.99 and earlier don't support linking a file only ++ # in VPATH builds. But since GNUmakefile is for maintainer use ++ # only, it does not matter if we skip the link with older autoconf. ++ # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH ++ # builds, so use a shell variable to bypass this. ++ GNUmakefile=GNUmakefile ++ ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" ++ ++ ++ HOSTENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 ++$as_echo_n "checking for library containing gethostbyname... " >&6; } ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gethostbyname (); ++int ++main () ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' nsl network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_gethostbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ ++else ++ ac_cv_search_gethostbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 ++$as_echo "$ac_cv_search_gethostbyname" >&6; } ++ac_res=$ac_cv_search_gethostbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_gethostbyname" != "none required"; then ++ HOSTENT_LIB="$ac_cv_search_gethostbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$HOSTENT_LIB"; then ++ for ac_func in gethostbyname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" ++if test "x$ac_cv_func_gethostbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETHOSTBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_gethostbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++gethostbyname(NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_gethostbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 ++$as_echo "$gl_cv_w32_gethostbyname" >&6; } ++ if test "$gl_cv_w32_gethostbyname" = "yes"; then ++ HOSTENT_LIB="-lws2_32" ++ fi ++ ++fi ++done ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ARPA_INET_H='arpa/inet.h' ++ ++ ++ gl_save_LIBS=$LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 ++$as_echo_n "checking for library containing inet_ntop... " >&6; } ++if test "${ac_cv_search_inet_ntop+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char inet_ntop (); ++int ++main () ++{ ++return inet_ntop (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' nsl; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_inet_ntop=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_inet_ntop+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_inet_ntop+set}" = set; then : ++ ++else ++ ac_cv_search_inet_ntop=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 ++$as_echo "$ac_cv_search_inet_ntop" >&6; } ++ac_res=$ac_cv_search_inet_ntop ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++else ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in inet_ntop ++do : ++ ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" ++if test "x$ac_cv_func_inet_ntop" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_INET_NTOP 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++fi ++ ++ LIBS=$gl_save_LIBS ++ ++ ++ ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include ++" ++if test "x$ac_cv_have_decl_inet_ntop" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_INET_NTOP $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_inet_ntop = no; then ++ HAVE_DECL_INET_NTOP=0 ++ fi ++ ++ ++ ++ ++ ++ ++ GNULIB_INET_NTOP=1 ++ ++ ++ ++ ++ ++ ++ ARPA_INET_H='arpa/inet.h' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in inet_pton ++do : ++ ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" ++if test "x$ac_cv_func_inet_pton" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_INET_PTON 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include ++" ++if test "x$ac_cv_have_decl_inet_pton" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_INET_PTON $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_inet_pton = no; then ++ HAVE_DECL_INET_PTON=0 ++ fi ++ ++ ++ ++ ++ ++ ++ GNULIB_INET_PTON=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS ioctl.$ac_objext" ++ ++ ++ ++ SYS_IOCTL_H='sys/ioctl.h' ++ ++ fi ++ ++ ++ GNULIB_IOCTL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_IOCTL 1" >>confdefs.h ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 ++$as_echo_n "checking whether lseek detects pipes... " >&6; } ++if test "${gl_cv_func_lseek_pipe+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test $cross_compiling = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for off_t */ ++#include /* for SEEK_CUR */ ++#include ++int main () ++{ ++ /* Exit with success only if stdin is seekable. */ ++ return lseek (0, (off_t)0, SEEK_CUR) < 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext < conftest.$ac_ext \ ++ && { echo hi | ./conftest$ac_exeext; test $? = 1; }; then ++ gl_cv_func_lseek_pipe=yes ++ else ++ gl_cv_func_lseek_pipe=no ++ fi ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__ ++/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */ ++ Choke me. ++#endif ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_lseek_pipe=yes ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5 ++$as_echo "$gl_cv_func_lseek_pipe" >&6; } ++ if test $gl_cv_func_lseek_pipe = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext" ++ ++ ++ REPLACE_LSEEK=1 ++ ++$as_echo "@%:@define LSEEK_PIPE_BROKEN 1" >>confdefs.h ++ ++ ++ fi ++ ++ ++ ++ GNULIB_LSEEK=1 ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_lstat = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 ++$as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; } ++if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -f conftest.sym conftest.file ++echo >conftest.file ++if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++struct stat sbuf; ++ /* Linux will dereference the symlink and fail. ++ That is better in the sense that it means we will not ++ have to compile and use the lstat wrapper. */ ++ return lstat ("conftest.sym/", &sbuf) == 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_lstat_dereferences_slashed_symlink=yes ++else ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++else ++ # If the `ln -s' command failed, then we probably don't even ++ # have an lstat function. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++fi ++rm -f conftest.sym conftest.file ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 ++$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } ++ ++test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 ++_ACEOF ++ ++ ++if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext" ++ ++fi ++ ++ if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ REPLACE_LSTAT=1 ++ fi ++ # Prerequisites of lib/lstat.c. ++ ++ fi ++ ++ ++ ++ GNULIB_LSTAT=1 ++ ++ ++ ++ if test $gl_cv_func_malloc_posix = yes; then ++ HAVE_MALLOC_POSIX=1 ++ ++$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" ++ ++ HAVE_MALLOC_POSIX=0 ++ fi ++ ++ ++ ++ ++ GNULIB_MALLOC_POSIX=1 ++ ++ ++ ++ ++ GNULIB_MEMCHR=1 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5 ++$as_echo_n "checking for working mkstemp... " >&6; } ++if test "${gl_cv_func_working_mkstemp+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ mkdir conftest.mkstemp ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_working_mkstemp=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++int i; ++ off_t large = (off_t) 4294967295u; ++ if (large < 0) ++ large = 2147483647; ++ for (i = 0; i < 70; i++) ++ { ++ char templ[] = "conftest.mkstemp/coXXXXXX"; ++ int (*mkstemp_function) (char *) = mkstemp; ++ int fd = mkstemp_function (templ); ++ if (fd < 0 || lseek (fd, large, SEEK_SET) != large) ++ return 1; ++ close (fd); ++ } ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_mkstemp=yes ++else ++ gl_cv_func_working_mkstemp=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -rf conftest.mkstemp ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5 ++$as_echo "$gl_cv_func_working_mkstemp" >&6; } ++ ++ if test $gl_cv_func_working_mkstemp != yes; then ++ REPLACE_MKSTEMP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS mkstemp.$ac_objext" ++ ++ ++ ++ fi ++ ++ ++ ++ GNULIB_MKSTEMP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netdb_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netdb.h#{ ++ s#.*"\(.*/netdb.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 ++$as_echo "$gl_cv_next_netdb_h" >&6; } ++ fi ++ NEXT_NETDB_H=$gl_cv_next_netdb_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'netdb.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_netdb_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ struct addrinfo a; ++ int b = EAI_OVERFLOW; ++ int c = AI_NUMERICSERV; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ NETDB_H='' ++else ++ NETDB_H='netdb.h' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ HAVE_NETDB_H=1 ++ else ++ NETDB_H='netdb.h' ++ HAVE_NETDB_H=0 ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_netinet_in_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_netinet_in_h_selfcontained=yes ++else ++ gl_cv_header_netinet_in_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 ++$as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; } ++ if test $gl_cv_header_netinet_in_h_selfcontained = yes; then ++ NETINET_IN_H='' ++ else ++ NETINET_IN_H='netinet/in.h' ++ for ac_header in netinet/in.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" ++if test "x$ac_cv_header_netinet_in_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_NETINET_IN_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_netinet_in_h='<'netinet/in.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netinet_in_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_netinet_in_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_netinet_in_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netinet/in.h#{ ++ s#.*"\(.*/netinet/in.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_netinet_in_h='<'netinet/in.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5 ++$as_echo "$gl_cv_next_netinet_in_h" >&6; } ++ fi ++ NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'netinet/in.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_netinet_in_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_netinet_in_h = yes; then ++ HAVE_NETINET_IN_H=1 ++ else ++ HAVE_NETINET_IN_H=0 ++ fi ++ ++ fi ++ ++ ++ ++ ++ ++ ++ if test -n "$ERRNO_H"; then ++ REPLACE_PERROR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS perror.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_PERROR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS physmem.$ac_objext" ++ ++ ++ # Prerequisites of lib/physmem.c. ++ for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h \ ++ machine/hal_sysinfo.h sys/table.h sys/param.h sys/sysctl.h \ ++ sys/systemcfg.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ for ac_header in poll.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" ++if test "x$ac_cv_header_poll_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POLL_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test "$ac_cv_header_poll_h" = no; then ++ gl_cv_func_poll=no ++ else ++ ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" ++if test "x$ac_cv_func_poll" = x""yes; then : ++ # Check whether poll() works on special files (like /dev/null) and ++ # and ttys (like /dev/tty). On MacOS X 10.4.0 and AIX 5.3, it doesn't. ++ if test "$cross_compiling" = yes; then : ++ # When cross-compiling, assume that poll() works everywhere except on ++ # MacOS X or AIX, regardless of its version. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if (defined(__APPLE__) && defined(__MACH__)) || defined(_AIX) ++This is MacOSX or AIX ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "MacOSX" >/dev/null 2>&1; then : ++ gl_cv_func_poll=no ++else ++ gl_cv_func_poll=yes ++fi ++rm -f conftest* ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ int main() ++ { ++ struct pollfd ufd; ++ /* Try /dev/null for reading. */ ++ ufd.fd = open ("/dev/null", O_RDONLY); ++ if (ufd.fd < 0) ++ /* If /dev/null does not exist, it's not MacOS X nor AIX. */ ++ return 0; ++ ufd.events = POLLIN; ++ ufd.revents = 0; ++ if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLIN)) ++ return 1; ++ /* Try /dev/null for writing. */ ++ ufd.fd = open ("/dev/null", O_WRONLY); ++ if (ufd.fd < 0) ++ /* If /dev/null does not exist, it's not MacOS X nor AIX. */ ++ return 0; ++ ufd.events = POLLOUT; ++ ufd.revents = 0; ++ if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLOUT)) ++ return 1; ++ /* Trying /dev/tty may be too environment dependent. */ ++ return 0; ++ } ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_poll=yes ++else ++ gl_cv_func_poll=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++ ++ fi ++ if test $gl_cv_func_poll = yes; then ++ ++$as_echo "@%:@define HAVE_POLL 1" >>confdefs.h ++ ++ POLL_H= ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS poll.$ac_objext" ++ ++ ++$as_echo "@%:@define poll rpl_poll" >>confdefs.h ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ POLL_H=poll.h ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a shell that conforms to POSIX" >&5 ++$as_echo_n "checking for a shell that conforms to POSIX... " >&6; } ++if test "${gl_cv_posix_shell+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_test_posix_shell_script=' ++ func_return () { ++ (exit $1) ++ } ++ func_success () { ++ func_return 0 ++ } ++ func_failure () { ++ func_return 1 ++ } ++ func_ret_success () { ++ return 0 ++ } ++ func_ret_failure () { ++ return 1 ++ } ++ subshell_umask_sanity () { ++ (umask 22; (umask 0); test $(umask) -eq 22) ++ } ++ test "$(echo foo)" = foo && ++ func_success && ++ ! func_failure && ++ func_ret_success && ++ ! func_ret_failure && ++ (set x && func_ret_success y && test x = "$1") && ++ subshell_umask_sanity ++ ' ++ for gl_cv_posix_shell in \ ++ "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do ++ case $gl_cv_posix_shell in ++ /*) ++ "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \ ++ && break;; ++ esac ++ done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_posix_shell" >&5 ++$as_echo "$gl_cv_posix_shell" >&6; } ++ ++ if test "$gl_cv_posix_shell" != no; then ++ POSIX_SHELL=$gl_cv_posix_shell ++ PREFERABLY_POSIX_SHELL=$POSIX_SHELL ++ else ++ POSIX_SHELL= ++ PREFERABLY_POSIX_SHELL=/bin/sh ++ fi ++ ++ ++ ++ ++ ++ for ac_func in random_r ++do : ++ ac_fn_c_check_func "$LINENO" "random_r" "ac_cv_func_random_r" ++if test "x$ac_cv_func_random_r" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_RANDOM_R 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_random_r = no; then ++ HAVE_RANDOM_R=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS random_r.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ GNULIB_RANDOM_R=1 ++ ++ ++ ++ if test $gl_cv_func_malloc_posix = yes; then ++ HAVE_REALLOC_POSIX=1 ++ ++$as_echo "@%:@define HAVE_REALLOC_POSIX 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" ++ ++ HAVE_REALLOC_POSIX=0 ++ fi ++ ++ ++ ++ ++ GNULIB_REALLOC_POSIX=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS recv.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_RECV=1 ++ ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" ++ ++ else ++ ++ : ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5 ++$as_echo_n "checking whether select supports a 0 argument... " >&6; } ++if test "${gl_cv_func_select_supports0+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess no on Interix. ++ interix*) gl_cv_func_select_supports0="guessing no";; ++ # Guess yes otherwise. ++ *) gl_cv_func_select_supports0="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_SYS_SELECT_H ++#include ++#endif ++int main () ++{ ++ struct timeval timeout; ++ timeout.tv_sec = 0; ++ timeout.tv_usec = 5; ++ return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_select_supports0=yes ++else ++ gl_cv_func_select_supports0=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5 ++$as_echo "$gl_cv_func_select_supports0" >&6; } ++ case "$gl_cv_func_select_supports0" in ++ *yes) ;; ++ *) ++ REPLACE_SELECT=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" ++ ++ ;; ++ esac ++ fi ++ ++ ++ ++ GNULIB_SELECT=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS send.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_SEND=1 ++ ++ ++ SERVENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 ++$as_echo_n "checking for library containing getservbyname... " >&6; } ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getservbyname (); ++int ++main () ++{ ++return getservbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getservbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getservbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ ++else ++ ac_cv_search_getservbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 ++$as_echo "$ac_cv_search_getservbyname" >&6; } ++ac_res=$ac_cv_search_getservbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getservbyname" != "none required"; then ++ SERVENT_LIB="$ac_cv_search_getservbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$SERVENT_LIB"; then ++ for ac_func in getservbyname ++do : ++ ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" ++if test "x$ac_cv_func_getservbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETSERVBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_getservbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ ++int ++main () ++{ ++getservbyname(NULL,NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getservbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 ++$as_echo "$gl_cv_w32_getservbyname" >&6; } ++ if test "$gl_cv_w32_getservbyname" = "yes"; then ++ SERVENT_LIB="-lws2_32" ++ fi ++ ++fi ++done ++ ++ fi ++ ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS setsockopt.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_SETSOCKOPT=1 ++ ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 ++$as_echo_n "checking for SIZE_MAX... " >&6; } ++ result= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_STDINT_H ++#include ++#endif ++#ifdef SIZE_MAX ++Found it ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Found it" >/dev/null 2>&1; then : ++ result=yes ++fi ++rm -f conftest* ++ ++ if test -z "$result"; then ++ if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi" "#include "; then : ++ ++else ++ result=? ++fi ++ ++ ++ if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo" "#include "; then : ++ ++else ++ result=? ++fi ++ ++ ++ if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : ++ ++else ++ result=? ++fi ++ ++ ++ if test "$fits_in_uint" = 1; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ extern size_t foo; ++ extern unsigned long foo; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ fits_in_uint=0 ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test -z "$result"; then ++ if test "$fits_in_uint" = 1; then ++ result="$res_hi$res_lo"U ++ else ++ result="$res_hi$res_lo"UL ++ fi ++ else ++ result='~(size_t)0' ++ fi ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5 ++$as_echo "$result" >&6; } ++ if test "$result" != yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define SIZE_MAX $result ++_ACEOF ++ ++ fi ++ ++ ++ ++ gl_cv_func_snprintf_usable=no ++ for ac_func in snprintf ++do : ++ ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" ++if test "x$ac_cv_func_snprintf" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SNPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_snprintf = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 ++$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } ++if test "${gl_cv_func_snprintf_size1+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_snprintf_size1="guessing yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++int main() ++{ ++ static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ++ snprintf (buf, 1, "%d", 12345); ++ return buf[1] != 'E'; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_snprintf_size1=yes ++else ++ gl_cv_func_snprintf_size1=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 ++$as_echo "$gl_cv_func_snprintf_size1" >&6; } ++ ++ case "$gl_cv_func_snprintf_size1" in ++ *yes) ++ gl_cv_func_snprintf_usable=yes ++ ;; ++ esac ++ fi ++ if test $gl_cv_func_snprintf_usable = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS snprintf.$ac_objext" ++ ++ if test $ac_cv_func_snprintf = yes; then ++ REPLACE_SNPRINTF=1 ++ fi ++ : ++ ++ fi ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_snprintf = no; then ++ HAVE_DECL_SNPRINTF=0 ++ fi ++ ++ ++ ++ GNULIB_SNPRINTF=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS socket.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_SOCKET=1 ++ ++ ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include ++ #if HAVE_SYS_SOCKET_H ++ # include ++ #elif HAVE_WS2TCPIP_H ++ # include ++ #endif ++" ++if test "x$ac_cv_type_socklen_t" = x""yes; then : ++ ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 ++$as_echo_n "checking for socklen_t equivalent... " >&6; } ++ if test "${gl_cv_socklen_t_equiv+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Systems have either "struct sockaddr *" or ++ # "void *" as the second argument to getpeername ++ gl_cv_socklen_t_equiv= ++ for arg2 in "struct sockaddr" void; do ++ for t in int size_t "unsigned int" "long int" "unsigned long int"; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++ int getpeername (int, $arg2 *, $t *); ++int ++main () ++{ ++$t len; ++ getpeername (0, 0, &len); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_socklen_t_equiv="$t" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$gl_cv_socklen_t_equiv" != "" && break ++ done ++ test "$gl_cv_socklen_t_equiv" != "" && break ++ done ++ ++fi ++ ++ if test "$gl_cv_socklen_t_equiv" = ""; then ++ as_fn_error "Cannot find a type to use in place of socklen_t" "$LINENO" 5 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 ++$as_echo "$gl_cv_socklen_t_equiv" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define socklen_t $gl_cv_socklen_t_equiv ++_ACEOF ++ ++fi ++ ++ ++ ++ ++ # Define two additional variables used in the Makefile substitution. ++ ++ if test "$ac_cv_header_stdbool_h" = yes; then ++ STDBOOL_H='' ++ else ++ STDBOOL_H='stdbool.h' ++ fi ++ ++ ++ if test "$ac_cv_type__Bool" = yes; then ++ HAVE__BOOL=1 ++ else ++ HAVE__BOOL=0 ++ fi ++ ++ ++ ++ ++ ++ if test $ac_cv_type_long_long_int = yes; then ++ HAVE_LONG_LONG_INT=1 ++ else ++ HAVE_LONG_LONG_INT=0 ++ fi ++ ++ ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ HAVE_UNSIGNED_LONG_LONG_INT=1 ++ else ++ HAVE_UNSIGNED_LONG_LONG_INT=0 ++ fi ++ ++ ++ if test $ac_cv_header_inttypes_h = yes; then ++ HAVE_INTTYPES_H=1 ++ else ++ HAVE_INTTYPES_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_sys_types_h = yes; then ++ HAVE_SYS_TYPES_H=1 ++ else ++ HAVE_SYS_TYPES_H=0 ++ fi ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdint_h='<'stdint.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_stdint_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdint.h#{ ++ s#.*"\(.*/stdint.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_stdint_h='<'stdint.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 ++$as_echo "$gl_cv_next_stdint_h" >&6; } ++ fi ++ NEXT_STDINT_H=$gl_cv_next_stdint_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdint.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdint_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ HAVE_STDINT_H=1 ++ else ++ HAVE_STDINT_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 ++$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } ++if test "${gl_cv_header_working_stdint_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_header_working_stdint_h=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ ++#if !(defined WCHAR_MIN && defined WCHAR_MAX) ++#error "WCHAR_MIN, WCHAR_MAX not defined in " ++#endif ++ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ ++#ifdef INT8_MAX ++int8_t a1 = INT8_MAX; ++int8_t a1min = INT8_MIN; ++#endif ++#ifdef INT16_MAX ++int16_t a2 = INT16_MAX; ++int16_t a2min = INT16_MIN; ++#endif ++#ifdef INT32_MAX ++int32_t a3 = INT32_MAX; ++int32_t a3min = INT32_MIN; ++#endif ++#ifdef INT64_MAX ++int64_t a4 = INT64_MAX; ++int64_t a4min = INT64_MIN; ++#endif ++#ifdef UINT8_MAX ++uint8_t b1 = UINT8_MAX; ++#else ++typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; ++#endif ++#ifdef UINT16_MAX ++uint16_t b2 = UINT16_MAX; ++#endif ++#ifdef UINT32_MAX ++uint32_t b3 = UINT32_MAX; ++#endif ++#ifdef UINT64_MAX ++uint64_t b4 = UINT64_MAX; ++#endif ++int_least8_t c1 = INT8_C (0x7f); ++int_least8_t c1max = INT_LEAST8_MAX; ++int_least8_t c1min = INT_LEAST8_MIN; ++int_least16_t c2 = INT16_C (0x7fff); ++int_least16_t c2max = INT_LEAST16_MAX; ++int_least16_t c2min = INT_LEAST16_MIN; ++int_least32_t c3 = INT32_C (0x7fffffff); ++int_least32_t c3max = INT_LEAST32_MAX; ++int_least32_t c3min = INT_LEAST32_MIN; ++int_least64_t c4 = INT64_C (0x7fffffffffffffff); ++int_least64_t c4max = INT_LEAST64_MAX; ++int_least64_t c4min = INT_LEAST64_MIN; ++uint_least8_t d1 = UINT8_C (0xff); ++uint_least8_t d1max = UINT_LEAST8_MAX; ++uint_least16_t d2 = UINT16_C (0xffff); ++uint_least16_t d2max = UINT_LEAST16_MAX; ++uint_least32_t d3 = UINT32_C (0xffffffff); ++uint_least32_t d3max = UINT_LEAST32_MAX; ++uint_least64_t d4 = UINT64_C (0xffffffffffffffff); ++uint_least64_t d4max = UINT_LEAST64_MAX; ++int_fast8_t e1 = INT_FAST8_MAX; ++int_fast8_t e1min = INT_FAST8_MIN; ++int_fast16_t e2 = INT_FAST16_MAX; ++int_fast16_t e2min = INT_FAST16_MIN; ++int_fast32_t e3 = INT_FAST32_MAX; ++int_fast32_t e3min = INT_FAST32_MIN; ++int_fast64_t e4 = INT_FAST64_MAX; ++int_fast64_t e4min = INT_FAST64_MIN; ++uint_fast8_t f1 = UINT_FAST8_MAX; ++uint_fast16_t f2 = UINT_FAST16_MAX; ++uint_fast32_t f3 = UINT_FAST32_MAX; ++uint_fast64_t f4 = UINT_FAST64_MAX; ++#ifdef INTPTR_MAX ++intptr_t g = INTPTR_MAX; ++intptr_t gmin = INTPTR_MIN; ++#endif ++#ifdef UINTPTR_MAX ++uintptr_t h = UINTPTR_MAX; ++#endif ++intmax_t i = INTMAX_MAX; ++uintmax_t j = UINTMAX_MAX; ++ ++#include /* for CHAR_BIT */ ++#define TYPE_MINIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) ++#define TYPE_MAXIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) ++struct s { ++ int check_PTRDIFF: ++ PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) ++ && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ++ ? 1 : -1; ++ /* Detect bug in FreeBSD 6.0 / ia64. */ ++ int check_SIG_ATOMIC: ++ SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) ++ && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ++ ? 1 : -1; ++ int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; ++ int check_WCHAR: ++ WCHAR_MIN == TYPE_MINIMUM (wchar_t) ++ && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ++ ? 1 : -1; ++ /* Detect bug in mingw. */ ++ int check_WINT: ++ WINT_MIN == TYPE_MINIMUM (wint_t) ++ && WINT_MAX == TYPE_MAXIMUM (wint_t) ++ ? 1 : -1; ++ ++ /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ ++ int check_UINT8_C: ++ (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; ++ int check_UINT16_C: ++ (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; ++ ++ /* Detect bugs in OpenBSD 3.9 stdint.h. */ ++#ifdef UINT8_MAX ++ int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; ++#endif ++#ifdef UINT16_MAX ++ int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; ++#endif ++#ifdef UINT32_MAX ++ int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; ++#endif ++#ifdef UINT64_MAX ++ int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; ++#endif ++ int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; ++ int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; ++ int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; ++ int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; ++ int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; ++ int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; ++ int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; ++ int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; ++ int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; ++ int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; ++ int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; ++}; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if test "$cross_compiling" = yes; then : ++ gl_cv_header_working_stdint_h=yes ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ ++#include ++#include ++#define MVAL(macro) MVAL1(macro) ++#define MVAL1(expression) #expression ++static const char *macro_values[] = ++ { ++#ifdef INT8_MAX ++ MVAL (INT8_MAX), ++#endif ++#ifdef INT16_MAX ++ MVAL (INT16_MAX), ++#endif ++#ifdef INT32_MAX ++ MVAL (INT32_MAX), ++#endif ++#ifdef INT64_MAX ++ MVAL (INT64_MAX), ++#endif ++#ifdef UINT8_MAX ++ MVAL (UINT8_MAX), ++#endif ++#ifdef UINT16_MAX ++ MVAL (UINT16_MAX), ++#endif ++#ifdef UINT32_MAX ++ MVAL (UINT32_MAX), ++#endif ++#ifdef UINT64_MAX ++ MVAL (UINT64_MAX), ++#endif ++ NULL ++ }; ++ ++int ++main () ++{ ++ ++ const char **mv; ++ for (mv = macro_values; *mv != NULL; mv++) ++ { ++ const char *value = *mv; ++ /* Test whether it looks like a cast expression. */ ++ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 ++ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 ++ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 ++ || strncmp (value, "((int)"/*)*/, 6) == 0 ++ || strncmp (value, "((signed short)"/*)*/, 15) == 0 ++ || strncmp (value, "((signed char)"/*)*/, 14) == 0) ++ return 1; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_header_working_stdint_h=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 ++$as_echo "$gl_cv_header_working_stdint_h" >&6; } ++ fi ++ if test "$gl_cv_header_working_stdint_h" = yes; then ++ STDINT_H= ++ else ++ for ac_header in sys/inttypes.h sys/bitypes.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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_sys_inttypes_h = yes; then ++ HAVE_SYS_INTTYPES_H=1 ++ else ++ HAVE_SYS_INTTYPES_H=0 ++ fi ++ ++ if test $ac_cv_header_sys_bitypes_h = yes; then ++ HAVE_SYS_BITYPES_H=1 ++ else ++ HAVE_SYS_BITYPES_H=0 ++ fi ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ ++ ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++#include "; then : ++ ++else ++ result=unknown ++fi ++ ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ++fi ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++@%:@define BITSIZEOF_${GLTYPE} $result ++_ACEOF ++ ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ ++ ++ fi ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++#include "; then : ++ ++else ++ result=unknown ++fi ++ ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ++fi ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++@%:@define BITSIZEOF_${GLTYPE} $result ++_ACEOF ++ ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ ++ ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 ++$as_echo_n "checking whether $gltype is signed... " >&6; } ++if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ result=yes ++else ++ result=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval gl_cv_type_${gltype}_signed=\$result ++ ++fi ++eval ac_res=\$gl_cv_type_${gltype}_signed ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_type_${gltype}_signed ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ if test "$result" = yes; then ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIGNED_${GLTYPE} 1 ++_ACEOF ++ ++ eval HAVE_SIGNED_${GLTYPE}=1 ++ else ++ eval HAVE_SIGNED_${GLTYPE}=0 ++ fi ++ done ++ ++ ++ gl_cv_type_ptrdiff_t_signed=yes ++ gl_cv_type_size_t_signed=no ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ ++ ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 ++$as_echo_n "checking for $gltype integer literal suffix... " >&6; } ++if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ extern $gltype foo; ++ extern $gltype1 foo; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval gl_cv_type_${gltype}_suffix=\$glsuf ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done ++fi ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ cat >>confdefs.h <<_ACEOF ++@%:@define ${GLTYPE}_SUFFIX $result ++_ACEOF ++ ++ done ++ ++ ++ fi ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 ++$as_echo_n "checking for $gltype integer literal suffix... " >&6; } ++if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ extern $gltype foo; ++ extern $gltype1 foo; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval gl_cv_type_${gltype}_suffix=\$glsuf ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done ++fi ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ cat >>confdefs.h <<_ACEOF ++@%:@define ${GLTYPE}_SUFFIX $result ++_ACEOF ++ ++ done ++ ++ ++ ++ STDINT_H=stdint.h ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdio_h='<'stdio.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_stdio_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_stdio_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdio.h#{ ++ s#.*"\(.*/stdio.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_stdio_h='<'stdio.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 ++$as_echo "$gl_cv_next_stdio_h" >&6; } ++ fi ++ NEXT_STDIO_H=$gl_cv_next_stdio_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdio.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdio_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive ++ ++ ++ ++ GNULIB_FPRINTF=1 ++ GNULIB_PRINTF=1 ++ GNULIB_VFPRINTF=1 ++ GNULIB_VPRINTF=1 ++ GNULIB_FPUTC=1 ++ GNULIB_PUTC=1 ++ GNULIB_PUTCHAR=1 ++ GNULIB_FPUTS=1 ++ GNULIB_PUTS=1 ++ GNULIB_FWRITE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdlib_h='<'stdlib.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_stdlib_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_stdlib_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdlib.h#{ ++ s#.*"\(.*/stdlib.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_stdlib_h='<'stdlib.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 ++$as_echo "$gl_cv_next_stdlib_h" >&6; } ++ fi ++ NEXT_STDLIB_H=$gl_cv_next_stdlib_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdlib.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdlib_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive ++ ++ ++ ++ for ac_header in random.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default ++" ++if test "x$ac_cv_header_random_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_RANDOM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_random_h = yes; then ++ HAVE_RANDOM_H=1 ++ else ++ HAVE_RANDOM_H=0 ++ fi ++ ++ ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include ++ #if HAVE_RANDOM_H ++ # include ++ #endif ++ ++" ++if test "x$ac_cv_type_struct_random_data" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_RANDOM_DATA 1 ++_ACEOF ++ ++ ++else ++ HAVE_STRUCT_RANDOM_DATA=0 ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in stpcpy ++do : ++ ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy" ++if test "x$ac_cv_func_stpcpy" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STPCPY 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_stpcpy = no; then ++ HAVE_STPCPY=0 ++ ++ : ++ ++ fi ++ ++ ++ ++ GNULIB_STPCPY=1 ++ ++ ++ ++ ++ if test $gl_cv_func_malloc_posix != yes; then ++ REPLACE_STRDUP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS strdup.$ac_objext" ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in strdup ++do : ++ ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" ++if test "x$ac_cv_func_strdup" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRDUP 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ fi ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strdup = no; then ++ HAVE_DECL_STRDUP=0 ++ fi ++ : ++ ++ ++ ++ GNULIB_STRDUP=1 ++ ++ ++ ++ if test $REPLACE_STRERROR = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext" ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define REPLACE_STRERROR $REPLACE_STRERROR ++_ACEOF ++ ++ fi ++ ++ ++ ++ GNULIB_STRERROR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strndup = no; then ++ HAVE_DECL_STRNDUP=0 ++ fi ++ ++ # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 ++$as_echo_n "checking for working strndup... " >&6; } ++if test "${gl_cv_func_strndup+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" ++if test "x$ac_cv_func_strndup" = x""yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef _AIX ++ too risky ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "too risky" >/dev/null 2>&1; then : ++ gl_cv_func_strndup=no ++else ++ gl_cv_func_strndup=yes ++fi ++rm -f conftest* ++ ++else ++ gl_cv_func_strndup=no ++fi ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++int ++main () ++{ ++ ++#ifndef HAVE_DECL_STRNDUP ++ extern char *strndup (const char *, size_t); ++#endif ++ char *s; ++ s = strndup ("some longer string", 15); ++ free (s); ++ s = strndup ("shorter string", 13); ++ return s[13] != '\0'; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strndup=yes ++else ++ gl_cv_func_strndup=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup" >&5 ++$as_echo "$gl_cv_func_strndup" >&6; } ++ if test $gl_cv_func_strndup = yes; then ++ ++$as_echo "@%:@define HAVE_STRNDUP 1" >>confdefs.h ++ ++ else ++ HAVE_STRNDUP=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" ++ ++ : ++ fi ++ ++ ++ ++ GNULIB_STRNDUP=1 ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strnlen = no; then ++ HAVE_DECL_STRNLEN=0 ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 ++$as_echo_n "checking for working strnlen... " >&6; } ++if test "${ac_cv_func_strnlen_working+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_strnlen_working=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++#define S "foobar" ++#define S_LEN (sizeof S - 1) ++ ++ /* At least one implementation is buggy: that of AIX 4.3 would ++ give strnlen (S, 1) == 3. */ ++ ++ int i; ++ for (i = 0; i < S_LEN + 1; ++i) ++ { ++ int expected = i <= S_LEN ? i : S_LEN; ++ if (strnlen (S, i) != expected) ++ return 1; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_strnlen_working=yes ++else ++ ac_cv_func_strnlen_working=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 ++$as_echo "$ac_cv_func_strnlen_working" >&6; } ++test $ac_cv_func_strnlen_working = no && ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" ++ ++ ++ if test $ac_cv_func_strnlen_working = no; then ++ # This is necessary because automake-1.6.1 doesn't understand ++ # that the above use of AC_FUNC_STRNLEN means we may have to use ++ # lib/strnlen.c. ++ #AC_LIBOBJ([strnlen]) ++ ++$as_echo "@%:@define strnlen rpl_strnlen" >>confdefs.h ++ ++ : ++ fi ++ ++ ++ ++ GNULIB_STRNLEN=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in strsep ++do : ++ ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" ++if test "x$ac_cv_func_strsep" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRSEP 1 ++_ACEOF ++ ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_strsep = no; then ++ HAVE_STRSEP=0 ++ : ++ fi ++ ++ ++ ++ GNULIB_STRSEP=1 ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_ioctl_h = yes; then ++ HAVE_SYS_IOCTL_H=1 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declares ioctl" >&5 ++$as_echo_n "checking whether declares ioctl... " >&6; } ++if test "${gl_cv_decl_ioctl_in_sys_ioctl_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++(void) ioctl; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_decl_ioctl_in_sys_ioctl_h=yes ++else ++ gl_cv_decl_ioctl_in_sys_ioctl_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$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 ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_ioctl_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_ioctl_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_ioctl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/ioctl.h#{ ++ s#.*"\(.*/sys/ioctl.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_ioctl_h" >&5 ++$as_echo "$gl_cv_next_sys_ioctl_h" >&6; } ++ fi ++ NEXT_SYS_IOCTL_H=$gl_cv_next_sys_ioctl_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/ioctl.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_ioctl_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_select_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++struct timeval b; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_select_h_selfcontained=yes ++else ++ gl_cv_header_sys_select_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$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' ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_select_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_select_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/select.h#{ ++ s#.*"\(.*/sys/select.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5 ++$as_echo "$gl_cv_next_sys_select_h" >&6; } ++ fi ++ NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/select.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_select_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive ++ ++ ++ ++ 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_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_socket_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_selfcontained=yes ++else ++ gl_cv_header_sys_socket_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } ++ if test $gl_cv_header_sys_socket_h_selfcontained = yes; then ++ SYS_SOCKET_H='' ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SHUTDOWN 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_shutdown = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 ++$as_echo_n "checking whether defines the SHUT_* macros... " >&6; } ++if test "${gl_cv_header_sys_socket_h_shut+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_shut=yes ++else ++ gl_cv_header_sys_socket_h_shut=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } ++ if test $gl_cv_header_sys_socket_h_shut = no; then ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ fi ++ else ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ # We need to check for ws2tcpip.h now. ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_socket_h='<'sys/socket.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_socket_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_socket_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/socket.h#{ ++ s#.*"\(.*/sys/socket.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_socket_h='<'sys/socket.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 ++$as_echo "$gl_cv_next_sys_socket_h" >&6; } ++ fi ++ NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/socket.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_socket_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h = yes; then ++ HAVE_SYS_SOCKET_H=1 ++ HAVE_WS2TCPIP_H=0 ++ else ++ HAVE_SYS_SOCKET_H=0 ++ for ac_header in ws2tcpip.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ++if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WS2TCPIP_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_ws2tcpip_h = yes; then ++ HAVE_WS2TCPIP_H=1 ++ else ++ HAVE_WS2TCPIP_H=0 ++ fi ++ fi ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1 ++_ACEOF ++ ++ ++fi ++ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_type_sa_family_t" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SA_FAMILY_T 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_type_struct_sockaddr_storage = no; then ++ HAVE_STRUCT_SOCKADDR_STORAGE=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test $ac_cv_type_sa_family_t = no; then ++ HAVE_SA_FAMILY_T=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test -n "$SYS_SOCKET_H"; then ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_lstat = yes; then ++ HAVE_LSTAT=1 ++ else ++ HAVE_LSTAT=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_stat_h='<'sys/stat.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_stat_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_stat_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/stat.h#{ ++ s#.*"\(.*/sys/stat.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_stat_h='<'sys/stat.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 ++$as_echo "$gl_cv_next_sys_stat_h" >&6; } ++ fi ++ NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/stat.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_stat_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive ++ ++ ++ ++ SYS_STAT_H='sys/stat.h' ++ ++ ++ ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include ++ #include ++" ++if test "x$ac_cv_type_nlink_t" = x""yes; then : ++ ++else ++ ++$as_echo "@%:@define nlink_t int" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS tempname.$ac_objext" ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5 ++$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; } ++if test "${gl_cv_time_r_posix+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++/* We don't need to append 'restrict's to the argument types, ++ even though the POSIX signature has the 'restrict's, ++ since C99 says they can't affect type compatibility. */ ++ struct tm * (*ptr) (time_t const *, struct tm *) = localtime_r; ++ if (ptr) return 0; ++ /* Check the return type is a pointer. On HP-UX 10 it is 'int'. */ ++ *localtime_r (0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_time_r_posix=yes ++else ++ gl_cv_time_r_posix=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_r_posix" >&5 ++$as_echo "$gl_cv_time_r_posix" >&6; } ++ if test $gl_cv_time_r_posix = yes; then ++ REPLACE_LOCALTIME_R=0 ++ else ++ REPLACE_LOCALTIME_R=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS time_r.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_unistd_h='<'unistd.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_unistd_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_unistd_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/unistd.h#{ ++ s#.*"\(.*/unistd.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_unistd_h='<'unistd.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 ++$as_echo "$gl_cv_next_unistd_h" >&6; } ++ fi ++ NEXT_UNISTD_H=$gl_cv_next_unistd_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'unistd.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_unistd_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_unistd_h = yes; then ++ HAVE_UNISTD_H=1 ++ else ++ HAVE_UNISTD_H=0 ++ fi ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_vasnprintf = no; then ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext" ++ ++ if test $ac_cv_func_vasnprintf = yes; then ++ ++$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" ++if test "x$ac_cv_type_ptrdiff_t" = x""yes; then : ++ ++else ++ ++$as_echo "@%:@define ptrdiff_t long" >>confdefs.h ++ ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ ++ for ac_func in vasprintf ++do : ++ ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" ++if test "x$ac_cv_func_vasprintf" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_VASPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_vasprintf = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext" ++ ++ ++ if test $ac_cv_func_vasprintf = yes; then ++ REPLACE_VASPRINTF=1 ++ else ++ HAVE_VASPRINTF=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ ++ ++ GNULIB_VASPRINTF=1 ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format" ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is standalone" >&5 ++$as_echo_n "checking whether is standalone... " >&6; } ++if test "${gl_cv_header_wchar_h_standalone+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++wchar_t w; ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_wchar_h_standalone=yes ++else ++ gl_cv_header_wchar_h_standalone=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$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; then ++ WCHAR_H=wchar.h ++ fi ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_wchar_h='<'wchar.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_wchar_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/wchar.h#{ ++ s#.*"\(.*/wchar.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_wchar_h='<'wchar.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 ++$as_echo "$gl_cv_next_wchar_h" >&6; } ++ fi ++ NEXT_WCHAR_H=$gl_cv_next_wchar_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'wchar.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_wchar_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_libdeps= ++ gltests_ltlibdeps= ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_source_base='gnulib/tests' ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_LIBOBJS="$gltests_LIBOBJS accept.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_ACCEPT=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_LIBOBJS="$gltests_LIBOBJS bind.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_BIND=1 ++ ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_LIBOBJS="$gltests_LIBOBJS listen.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_LISTEN=1 ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ LIBSOCKET= ++ if test $HAVE_WINSOCK2_H = 1; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_func_wsastartup+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++# include ++#endif ++int ++main () ++{ ++ ++ WORD wVersionRequested = MAKEWORD(1, 1); ++ WSADATA wsaData; ++ int err = WSAStartup(wVersionRequested, &wsaData); ++ WSACleanup (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_wsastartup=yes ++else ++ gl_cv_func_wsastartup=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 ++$as_echo "$gl_cv_func_wsastartup" >&6; } ++ if test "$gl_cv_func_wsastartup" = "yes"; then ++ ++$as_echo "@%:@define WINDOWS_SOCKETS 1" >>confdefs.h ++ ++ LIBSOCKET='-lws2_32' ++ fi ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 ++$as_echo_n "checking for library containing setsockopt... " >&6; } ++if test "${gl_cv_lib_socket+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_cv_lib_socket= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt(); ++int ++main () ++{ ++setsockopt(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++else ++ gl_save_LIBS="$LIBS" ++ LIBS="$gl_save_LIBS -lsocket" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt(); ++int ++main () ++{ ++setsockopt(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_lib_socket="-lsocket" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test -z "$gl_cv_lib_socket"; then ++ LIBS="$gl_save_LIBS -lnetwork" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt(); ++int ++main () ++{ ++setsockopt(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_lib_socket="-lnetwork" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test -z "$gl_cv_lib_socket"; then ++ LIBS="$gl_save_LIBS -lnet" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt(); ++int ++main () ++{ ++setsockopt(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_lib_socket="-lnet" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ fi ++ fi ++ LIBS="$gl_save_LIBS" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test -z "$gl_cv_lib_socket"; then ++ gl_cv_lib_socket="none needed" ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 ++$as_echo "$gl_cv_lib_socket" >&6; } ++ if test "$gl_cv_lib_socket" != "none needed"; then ++ LIBSOCKET="$gl_cv_lib_socket" ++ fi ++ fi ++ ++ ++ : ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if test "${gt_cv_c_wchar_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then ++ ++$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if test "${gt_cv_c_wint_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wint_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes ++else ++ gt_cv_c_wint_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then ++ ++$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h ++ ++ fi ++ ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SHUTDOWN 1 ++_ACEOF ++ ++fi ++done ++ ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ LIBTESTS_LIBDEPS="$gltests_libdeps" ++ ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}gcc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="${ac_tool_prefix}gcc" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_CC"; then ++ ac_ct_CC=$CC ++ # Extract the first word of "gcc", so it can be a program name with args. ++set dummy gcc; 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_prog_ac_ct_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_CC="gcc" ++ $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 ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++else ++ CC="$ac_cv_prog_CC" ++fi ++ ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}cc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="${ac_tool_prefix}cc" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ fi ++fi ++if test -z "$CC"; then ++ # Extract the first word of "cc", so it can be a program name with args. ++set dummy cc; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++ ac_prog_rejected=no ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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 ++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ++ ac_prog_rejected=yes ++ continue ++ fi ++ ac_cv_prog_CC="cc" ++ $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 ++ ++if test $ac_prog_rejected = yes; then ++ # We found a bogon in the path, so make sure we never use it. ++ set dummy $ac_cv_prog_CC ++ shift ++ if test $@%:@ != 0; then ++ # We chose a different compiler from the bogus one. ++ # However, it has the same basename, so the bogon will be chosen ++ # first if we set CC to just the basename; use the full file name. ++ shift ++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ++ fi ++fi ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in cl.exe ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_CC="$ac_tool_prefix$ac_prog" ++ $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 ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CC" && break ++ done ++fi ++if test -z "$CC"; then ++ ac_ct_CC=$CC ++ for ac_prog in cl.exe ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; 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_prog_ac_ct_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_CC="$ac_prog" ++ $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 ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CC" && break ++done ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++fi ++ ++fi ++ ++ ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error "no acceptable C compiler found in \$PATH ++See \`config.log' for more details." "$LINENO" 5; } ++ ++# Provide some information about the compiler. ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ rm -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ++if test "${ac_cv_c_compiler_gnu+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_compiler_gnu=yes ++else ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_cv_c_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++$as_echo "$ac_cv_c_compiler_gnu" >&6; } ++if test $ac_compiler_gnu = yes; then ++ GCC=yes ++else ++ GCC= ++fi ++ac_test_CFLAGS=${CFLAGS+set} ++ac_save_CFLAGS=$CFLAGS ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++$as_echo_n "checking whether $CC accepts -g... " >&6; } ++if test "${ac_cv_prog_cc_g+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_save_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ ac_cv_prog_cc_g=no ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++else ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_c_werror_flag=$ac_save_c_werror_flag ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++$as_echo "$ac_cv_prog_cc_g" >&6; } ++if test "$ac_test_CFLAGS" = set; then ++ CFLAGS=$ac_save_CFLAGS ++elif test $ac_cv_prog_cc_g = yes; then ++ if test "$GCC" = yes; then ++ CFLAGS="-g -O2" ++ else ++ CFLAGS="-g" ++ fi ++else ++ if test "$GCC" = yes; then ++ CFLAGS="-O2" ++ else ++ CFLAGS= ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if test "${ac_cv_prog_cc_c89+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++depcc="$CC" am_compiler_list= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++$as_echo_n "checking dependency style of $depcc... " >&6; } ++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named `D' -- because `-MD' means `put the output ++ # in D'. ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_CC_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ++ fi ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with ++ # Solaris 8's {/usr,}/bin/sh. ++ touch sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ case $depmode in ++ nosideeffect) ++ # after this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ none) break ;; ++ esac ++ # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle `-M -o', and we need to detect this. ++ if depmode=$depmode \ ++ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_CC_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_CC_dependencies_compiler_type=none ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 ++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } ++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type ++ ++ if ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then ++ am__fastdepCC_TRUE= ++ am__fastdepCC_FALSE='#' ++else ++ am__fastdepCC_TRUE='#' ++ am__fastdepCC_FALSE= ++fi ++ ++ ++ ++am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 ++$as_echo_n "checking for an ANSI C-conforming const... " >&6; } ++if test "${ac_cv_c_const+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++/* FIXME: Include the comments suggested by Paul. */ ++#ifndef __cplusplus ++ /* Ultrix mips cc rejects this. */ ++ typedef int charset[2]; ++ const charset cs; ++ /* SunOS 4.1.1 cc rejects this. */ ++ char const *const *pcpcc; ++ char **ppc; ++ /* NEC SVR4.0.2 mips cc rejects this. */ ++ struct point {int x, y;}; ++ static struct point const zero = {0,0}; ++ /* AIX XL C 1.02.0.0 rejects this. ++ It does not let you subtract one const X* pointer from another in ++ an arm of an if-expression whose if-part is not a constant ++ expression */ ++ const char *g = "string"; ++ pcpcc = &g + (g ? g-g : 0); ++ /* HPUX 7.0 cc rejects these. */ ++ ++pcpcc; ++ ppc = (char**) pcpcc; ++ pcpcc = (char const *const *) ppc; ++ { /* SCO 3.2v4 cc rejects this. */ ++ char *t; ++ char const *s = 0 ? (char *) 0 : (char const *) 0; ++ ++ *t++ = 0; ++ if (s) return 0; ++ } ++ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ ++ int x[] = {25, 17}; ++ const int *foo = &x[0]; ++ ++foo; ++ } ++ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ ++ typedef const int *iptr; ++ iptr p = 0; ++ ++p; ++ } ++ { /* AIX XL C 1.02.0.0 rejects this saying ++ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ ++ struct s { int j; const int *ap[3]; }; ++ struct s *b; b->j = 5; ++ } ++ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ ++ const int foo = 10; ++ if (!foo) return 0; ++ } ++ return !cs[0] && !zero.x; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_const=yes ++else ++ ac_cv_c_const=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 ++$as_echo "$ac_cv_c_const" >&6; } ++if test $ac_cv_c_const = no; then ++ ++$as_echo "@%:@define const /**/" >>confdefs.h ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 ++$as_echo_n "checking for function prototypes... " >&6; } ++if test "$ac_cv_prog_cc_c89" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++$as_echo "@%:@define PROTOTYPES 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define __PROTOTYPES 1" >>confdefs.h ++ ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++if test "$ac_cv_prog_cc_stdc" != no; then ++ U= ANSI2KNR= ++else ++ U=_ ANSI2KNR=./ansi2knr ++fi ++# Ensure some checks needed by ansi2knr itself. ++ ++for ac_header in string.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" ++if test "x$ac_cv_header_string_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRING_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++test "x$U" != "x" && as_fn_error "Compiler not ANSI compliant" "$LINENO" 5 ++ ++enable_win32_dll=yes ++ ++case $host in ++*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. ++set dummy ${ac_tool_prefix}as; 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_prog_AS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$AS"; then ++ ac_cv_prog_AS="$AS" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_AS="${ac_tool_prefix}as" ++ $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 ++ ++fi ++fi ++AS=$ac_cv_prog_AS ++if test -n "$AS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 ++$as_echo "$AS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_AS"; then ++ ac_ct_AS=$AS ++ # Extract the first word of "as", so it can be a program name with args. ++set dummy as; 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_prog_ac_ct_AS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_AS"; then ++ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_AS="as" ++ $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 ++ ++fi ++fi ++ac_ct_AS=$ac_cv_prog_ac_ct_AS ++if test -n "$ac_ct_AS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 ++$as_echo "$ac_ct_AS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_AS" = x; then ++ AS="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ AS=$ac_ct_AS ++ fi ++else ++ AS="$ac_cv_prog_AS" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. ++set dummy ${ac_tool_prefix}dlltool; 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_prog_DLLTOOL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$DLLTOOL"; then ++ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_DLLTOOL="${ac_tool_prefix}dlltool" ++ $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 ++ ++fi ++fi ++DLLTOOL=$ac_cv_prog_DLLTOOL ++if test -n "$DLLTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 ++$as_echo "$DLLTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_DLLTOOL"; then ++ ac_ct_DLLTOOL=$DLLTOOL ++ # Extract the first word of "dlltool", so it can be a program name with args. ++set dummy dlltool; 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_prog_ac_ct_DLLTOOL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_DLLTOOL"; then ++ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_DLLTOOL="dlltool" ++ $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 ++ ++fi ++fi ++ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL ++if test -n "$ac_ct_DLLTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 ++$as_echo "$ac_ct_DLLTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_DLLTOOL" = x; then ++ DLLTOOL="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ DLLTOOL=$ac_ct_DLLTOOL ++ fi ++else ++ DLLTOOL="$ac_cv_prog_DLLTOOL" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. ++set dummy ${ac_tool_prefix}objdump; 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_prog_OBJDUMP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$OBJDUMP"; then ++ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_OBJDUMP="${ac_tool_prefix}objdump" ++ $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 ++ ++fi ++fi ++OBJDUMP=$ac_cv_prog_OBJDUMP ++if test -n "$OBJDUMP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 ++$as_echo "$OBJDUMP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_OBJDUMP"; then ++ ac_ct_OBJDUMP=$OBJDUMP ++ # Extract the first word of "objdump", so it can be a program name with args. ++set dummy objdump; 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_prog_ac_ct_OBJDUMP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_OBJDUMP"; then ++ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_OBJDUMP="objdump" ++ $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 ++ ++fi ++fi ++ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP ++if test -n "$ac_ct_OBJDUMP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 ++$as_echo "$ac_ct_OBJDUMP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_OBJDUMP" = x; then ++ OBJDUMP="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ OBJDUMP=$ac_ct_OBJDUMP ++ fi ++else ++ OBJDUMP="$ac_cv_prog_OBJDUMP" ++fi ++ ++ ;; ++esac ++ ++test -z "$AS" && AS=as ++ ++ ++ ++ ++ ++test -z "$DLLTOOL" && DLLTOOL=dlltool ++ ++ ++ ++ ++ ++test -z "$OBJDUMP" && OBJDUMP=objdump ++ ++ ++ ++ ++ ++ ++ ++ ++case `pwd` in ++ *\ * | *\ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 ++$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; ++esac ++ ++ ++ ++macro_version='2.2.6' ++macro_revision='1.3012' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ltmain="$ac_aux_dir/ltmain.sh" ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 ++$as_echo_n "checking for a sed that does not truncate output... " >&6; } ++if test "${ac_cv_path_SED+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ ++ for ac_i in 1 2 3 4 5 6 7; do ++ ac_script="$ac_script$as_nl$ac_script" ++ done ++ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed ++ { ac_script=; unset ac_script;} ++ if test -z "$SED"; then ++ ac_path_SED_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in sed gsed; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" ++ { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue ++# Check for GNU ac_path_SED and select it if it is found. ++ # Check for GNU $ac_path_SED ++case `"$ac_path_SED" --version 2>&1` in ++*GNU*) ++ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo '' >> "conftest.nl" ++ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_SED_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_SED="$ac_path_SED" ++ ac_path_SED_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_SED_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_SED"; then ++ as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_SED=$SED ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 ++$as_echo "$ac_cv_path_SED" >&6; } ++ SED="$ac_cv_path_SED" ++ rm -f conftest.sed ++ ++test -z "$SED" && SED=sed ++Xsed="$SED -e 1s/^X//" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 ++$as_echo_n "checking for fgrep... " >&6; } ++if test "${ac_cv_path_FGREP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 ++ then ac_cv_path_FGREP="$GREP -F" ++ else ++ if test -z "$FGREP"; then ++ ac_path_FGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in fgrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" ++ { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue ++# Check for GNU ac_path_FGREP and select it if it is found. ++ # Check for GNU $ac_path_FGREP ++case `"$ac_path_FGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'FGREP' >> "conftest.nl" ++ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_FGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_FGREP="$ac_path_FGREP" ++ ac_path_FGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_FGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_FGREP"; then ++ as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_FGREP=$FGREP ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 ++$as_echo "$ac_cv_path_FGREP" >&6; } ++ FGREP="$ac_cv_path_FGREP" ++ ++ ++test -z "$GREP" && GREP=grep ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --with-gnu-ld was given. ++if test "${with_gnu_ld+set}" = set; then : ++ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes ++else ++ with_gnu_ld=no ++fi ++ ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 ++$as_echo_n "checking for ld used by $CC... " >&6; } ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [\\/]* | ?:[\\/]*) ++ re_direlt='/[^/][^/]*/\.\./' ++ # Canonicalize the pathname of ld ++ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` ++ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++$as_echo_n "checking for GNU ld... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++$as_echo_n "checking for non-GNU ld... " >&6; } ++fi ++if test "${lt_cv_path_LD+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$LD"; then ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ lt_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some variants of GNU ld only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$lt_cv_path_LD" -v 2>&1 &5 ++$as_echo "$LD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ++if test "${lt_cv_prog_gnu_ld+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # I'd rather use --version here, but apparently some GNU lds only accept -v. ++case `$LD -v 2>&1 &5 ++$as_echo "$lt_cv_prog_gnu_ld" >&6; } ++with_gnu_ld=$lt_cv_prog_gnu_ld ++ ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 ++$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } ++if test "${lt_cv_path_NM+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$NM"; then ++ # Let the user override the test. ++ lt_cv_path_NM="$NM" ++else ++ lt_nm_to_check="${ac_tool_prefix}nm" ++ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then ++ lt_nm_to_check="$lt_nm_to_check nm" ++ fi ++ for lt_tmp_nm in $lt_nm_to_check; do ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ tmp_nm="$ac_dir/$lt_tmp_nm" ++ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then ++ # Check to see if the nm accepts a BSD-compat flag. ++ # Adding the `sed 1q' prevents false positives on HP-UX, which says: ++ # nm: unknown option "B" ignored ++ # Tru64's nm complains that /dev/null is an invalid object file ++ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in ++ */dev/null* | *'Invalid file or object type'*) ++ lt_cv_path_NM="$tmp_nm -B" ++ break ++ ;; ++ *) ++ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in ++ */dev/null*) ++ lt_cv_path_NM="$tmp_nm -p" ++ break ++ ;; ++ *) ++ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but ++ continue # so that we can try to find one that supports BSD flags ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ done ++ IFS="$lt_save_ifs" ++ done ++ : ${lt_cv_path_NM=no} ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 ++$as_echo "$lt_cv_path_NM" >&6; } ++if test "$lt_cv_path_NM" != "no"; then ++ NM="$lt_cv_path_NM" ++else ++ # Didn't find any BSD compatible name lister, look for dumpbin. ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in "dumpbin -symbols" "link -dump -symbols" ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; 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_prog_DUMPBIN+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$DUMPBIN"; then ++ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_DUMPBIN="$ac_tool_prefix$ac_prog" ++ $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 ++ ++fi ++fi ++DUMPBIN=$ac_cv_prog_DUMPBIN ++if test -n "$DUMPBIN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 ++$as_echo "$DUMPBIN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$DUMPBIN" && break ++ done ++fi ++if test -z "$DUMPBIN"; then ++ ac_ct_DUMPBIN=$DUMPBIN ++ for ac_prog in "dumpbin -symbols" "link -dump -symbols" ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; 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_prog_ac_ct_DUMPBIN+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_DUMPBIN"; then ++ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_DUMPBIN="$ac_prog" ++ $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 ++ ++fi ++fi ++ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN ++if test -n "$ac_ct_DUMPBIN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 ++$as_echo "$ac_ct_DUMPBIN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_DUMPBIN" && break ++done ++ ++ if test "x$ac_ct_DUMPBIN" = x; then ++ DUMPBIN=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ DUMPBIN=$ac_ct_DUMPBIN ++ fi ++fi ++ ++ ++ if test "$DUMPBIN" != ":"; then ++ NM="$DUMPBIN" ++ fi ++fi ++test -z "$NM" && NM=nm ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 ++$as_echo_n "checking the name lister ($NM) interface... " >&6; } ++if test "${lt_cv_nm_interface+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_nm_interface="BSD nm" ++ echo "int some_variable = 0;" > conftest.$ac_ext ++ (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5) ++ (eval "$ac_compile" 2>conftest.err) ++ cat conftest.err >&5 ++ (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5) ++ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) ++ cat conftest.err >&5 ++ (eval echo "\"\$as_me:__oline__: output\"" >&5) ++ cat conftest.out >&5 ++ if $GREP 'External.*some_variable' conftest.out > /dev/null; then ++ lt_cv_nm_interface="MS dumpbin" ++ fi ++ rm -f conftest* ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 ++$as_echo "$lt_cv_nm_interface" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 ++$as_echo_n "checking whether ln -s works... " >&6; } ++LN_S=$as_ln_s ++if test "$LN_S" = "ln -s"; 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, using $LN_S" >&5 ++$as_echo "no, using $LN_S" >&6; } ++fi ++ ++# find the maximum length of command line arguments ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 ++$as_echo_n "checking the maximum length of command line arguments... " >&6; } ++if test "${lt_cv_sys_max_cmd_len+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ i=0 ++ teststring="ABCD" ++ ++ case $build_os in ++ msdosdjgpp*) ++ # On DJGPP, this test can blow up pretty badly due to problems in libc ++ # (any single argument exceeding 2000 bytes causes a buffer overrun ++ # during glob expansion). Even if it were fixed, the result of this ++ # check would be larger than it should be. ++ lt_cv_sys_max_cmd_len=12288; # 12K is about right ++ ;; ++ ++ gnu*) ++ # Under GNU Hurd, this test is not required because there is ++ # no limit to the length of command line arguments. ++ # Libtool will interpret -1 as no limit whatsoever ++ lt_cv_sys_max_cmd_len=-1; ++ ;; ++ ++ cygwin* | mingw* | cegcc*) ++ # On Win9x/ME, this test blows up -- it succeeds, but takes ++ # about 5 minutes as the teststring grows exponentially. ++ # Worse, since 9x/ME are not pre-emptively multitasking, ++ # you end up with a "frozen" computer, even though with patience ++ # the test eventually succeeds (with a max line length of 256k). ++ # Instead, let's just punt: use the minimum linelength reported by ++ # all of the supported platforms: 8192 (on NT/2K/XP). ++ lt_cv_sys_max_cmd_len=8192; ++ ;; ++ ++ amigaos*) ++ # On AmigaOS with pdksh, this test takes hours, literally. ++ # So we just punt and use a minimum line length of 8192. ++ lt_cv_sys_max_cmd_len=8192; ++ ;; ++ ++ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) ++ # This has been around since 386BSD, at least. Likely further. ++ if test -x /sbin/sysctl; then ++ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` ++ elif test -x /usr/sbin/sysctl; then ++ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` ++ else ++ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs ++ fi ++ # And add a safety zone ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ++ ;; ++ ++ interix*) ++ # We know the value 262144 and hardcode it with a safety zone (like BSD) ++ lt_cv_sys_max_cmd_len=196608 ++ ;; ++ ++ osf*) ++ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure ++ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not ++ # nice to cause kernel panics so lets avoid the loop below. ++ # First set a reasonable default. ++ lt_cv_sys_max_cmd_len=16384 ++ # ++ if test -x /sbin/sysconfig; then ++ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in ++ *1*) lt_cv_sys_max_cmd_len=-1 ;; ++ esac ++ fi ++ ;; ++ sco3.2v5*) ++ lt_cv_sys_max_cmd_len=102400 ++ ;; ++ sysv5* | sco5v6* | sysv4.2uw2*) ++ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` ++ if test -n "$kargmax"; then ++ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` ++ else ++ lt_cv_sys_max_cmd_len=32768 ++ fi ++ ;; ++ *) ++ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` ++ if test -n "$lt_cv_sys_max_cmd_len"; then ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ++ else ++ # Make teststring a little bigger before we do anything with it. ++ # a 1K string should be a reasonable start. ++ for i in 1 2 3 4 5 6 7 8 ; do ++ teststring=$teststring$teststring ++ done ++ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} ++ # If test is not a shell built-in, we'll probably end up computing a ++ # maximum length that is only half of the actual maximum length, but ++ # we can't tell. ++ while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ ++ = "XX$teststring$teststring"; } >/dev/null 2>&1 && ++ test $i != 17 # 1/2 MB should be enough ++ do ++ i=`expr $i + 1` ++ teststring=$teststring$teststring ++ done ++ # Only check the string length outside the loop. ++ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` ++ teststring= ++ # Add a significant safety factor because C++ compilers can tack on ++ # massive amounts of additional arguments before passing them to the ++ # linker. It appears as though 1/2 is a usable value. ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ++ fi ++ ;; ++ esac ++ ++fi ++ ++if test -n $lt_cv_sys_max_cmd_len ; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 ++$as_echo "$lt_cv_sys_max_cmd_len" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 ++$as_echo "none" >&6; } ++fi ++max_cmd_len=$lt_cv_sys_max_cmd_len ++ ++ ++ ++ ++ ++ ++: ${CP="cp -f"} ++: ${MV="mv -f"} ++: ${RM="rm -f"} ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 ++$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } ++# Try some XSI features ++xsi_shell=no ++( _lt_dummy="a/b/c" ++ test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ ++ = c,a/b,, \ ++ && eval 'test $(( 1 + 1 )) -eq 2 \ ++ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ ++ && xsi_shell=yes ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 ++$as_echo "$xsi_shell" >&6; } ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 ++$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } ++lt_shell_append=no ++( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ ++ >/dev/null 2>&1 \ ++ && lt_shell_append=yes ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 ++$as_echo "$lt_shell_append" >&6; } ++ ++ ++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ++ lt_unset=unset ++else ++ lt_unset=false ++fi ++ ++ ++ ++ ++ ++# test EBCDIC or ASCII ++case `echo X|tr X '\101'` in ++ A) # ASCII based system ++ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr ++ lt_SP2NL='tr \040 \012' ++ lt_NL2SP='tr \015\012 \040\040' ++ ;; ++ *) # EBCDIC based system ++ lt_SP2NL='tr \100 \n' ++ lt_NL2SP='tr \r\n \100\100' ++ ;; ++esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 ++$as_echo_n "checking for $LD option to reload object files... " >&6; } ++if test "${lt_cv_ld_reload_flag+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_ld_reload_flag='-r' ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 ++$as_echo "$lt_cv_ld_reload_flag" >&6; } ++reload_flag=$lt_cv_ld_reload_flag ++case $reload_flag in ++"" | " "*) ;; ++*) reload_flag=" $reload_flag" ;; ++esac ++reload_cmds='$LD$reload_flag -o $output$reload_objs' ++case $host_os in ++ darwin*) ++ if test "$GCC" = yes; then ++ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' ++ else ++ reload_cmds='$LD$reload_flag -o $output$reload_objs' ++ fi ++ ;; ++esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. ++set dummy ${ac_tool_prefix}objdump; 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_prog_OBJDUMP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$OBJDUMP"; then ++ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_OBJDUMP="${ac_tool_prefix}objdump" ++ $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 ++ ++fi ++fi ++OBJDUMP=$ac_cv_prog_OBJDUMP ++if test -n "$OBJDUMP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 ++$as_echo "$OBJDUMP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_OBJDUMP"; then ++ ac_ct_OBJDUMP=$OBJDUMP ++ # Extract the first word of "objdump", so it can be a program name with args. ++set dummy objdump; 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_prog_ac_ct_OBJDUMP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_OBJDUMP"; then ++ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_OBJDUMP="objdump" ++ $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 ++ ++fi ++fi ++ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP ++if test -n "$ac_ct_OBJDUMP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 ++$as_echo "$ac_ct_OBJDUMP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_OBJDUMP" = x; then ++ OBJDUMP="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ OBJDUMP=$ac_ct_OBJDUMP ++ fi ++else ++ OBJDUMP="$ac_cv_prog_OBJDUMP" ++fi ++ ++test -z "$OBJDUMP" && OBJDUMP=objdump ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 ++$as_echo_n "checking how to recognize dependent libraries... " >&6; } ++if test "${lt_cv_deplibs_check_method+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_file_magic_cmd='$MAGIC_CMD' ++lt_cv_file_magic_test_file= ++lt_cv_deplibs_check_method='unknown' ++# Need to set the preceding variable on all platforms that support ++# interlibrary dependencies. ++# 'none' -- dependencies not supported. ++# `unknown' -- same as none, but documents that we really don't know. ++# 'pass_all' -- all dependencies passed with no checks. ++# 'test_compile' -- check by making test program. ++# 'file_magic [[regex]]' -- check by looking for files in library path ++# which responds to the $file_magic_cmd with a given extended regex. ++# If you have `file' or equivalent on your system and you're not sure ++# whether `pass_all' will *always* work, you probably want this one. ++ ++case $host_os in ++aix[4-9]*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++beos*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++bsdi[45]*) ++ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' ++ lt_cv_file_magic_cmd='/usr/bin/file -L' ++ lt_cv_file_magic_test_file=/shlib/libc.so ++ ;; ++ ++cygwin*) ++ # func_win32_libid is a shell function defined in ltmain.sh ++ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' ++ lt_cv_file_magic_cmd='func_win32_libid' ++ ;; ++ ++mingw* | pw32*) ++ # Base MSYS/MinGW do not provide the 'file' command needed by ++ # func_win32_libid shell function, so use a weaker test based on 'objdump', ++ # unless we find 'file', for example because we are cross-compiling. ++ if ( file / ) >/dev/null 2>&1; then ++ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' ++ lt_cv_file_magic_cmd='func_win32_libid' ++ else ++ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' ++ lt_cv_file_magic_cmd='$OBJDUMP -f' ++ fi ++ ;; ++ ++cegcc) ++ # use the weaker test based on 'objdump'. See mingw*. ++ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' ++ lt_cv_file_magic_cmd='$OBJDUMP -f' ++ ;; ++ ++darwin* | rhapsody*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++freebsd* | dragonfly*) ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then ++ case $host_cpu in ++ i*86 ) ++ # Not sure whether the presence of OpenBSD here was a mistake. ++ # Let's accept both of them until this is cleared up. ++ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' ++ lt_cv_file_magic_cmd=/usr/bin/file ++ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ++ ;; ++ esac ++ else ++ lt_cv_deplibs_check_method=pass_all ++ fi ++ ;; ++ ++gnu*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++hpux10.20* | hpux11*) ++ lt_cv_file_magic_cmd=/usr/bin/file ++ case $host_cpu in ++ ia64*) ++ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' ++ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ++ ;; ++ hppa*64*) ++ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' ++ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ++ ;; ++ *) ++ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' ++ lt_cv_file_magic_test_file=/usr/lib/libc.sl ++ ;; ++ esac ++ ;; ++ ++interix[3-9]*) ++ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ++ ;; ++ ++irix5* | irix6* | nonstopux*) ++ case $LD in ++ *-32|*"-32 ") libmagic=32-bit;; ++ *-n32|*"-n32 ") libmagic=N32;; ++ *-64|*"-64 ") libmagic=64-bit;; ++ *) libmagic=never-match;; ++ esac ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++# This must be Linux ELF. ++linux* | k*bsd*-gnu) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++netbsd*) ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' ++ else ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' ++ fi ++ ;; ++ ++newos6*) ++ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' ++ lt_cv_file_magic_cmd=/usr/bin/file ++ lt_cv_file_magic_test_file=/usr/lib/libnls.so ++ ;; ++ ++*nto* | *qnx*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++openbsd*) ++ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' ++ else ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' ++ fi ++ ;; ++ ++osf3* | osf4* | osf5*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++rdos*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++solaris*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ ++sysv4 | sysv4.3*) ++ case $host_vendor in ++ motorola) ++ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' ++ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ++ ;; ++ ncr) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ sequent) ++ lt_cv_file_magic_cmd='/bin/file' ++ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ++ ;; ++ sni) ++ lt_cv_file_magic_cmd='/bin/file' ++ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" ++ lt_cv_file_magic_test_file=/lib/libc.so ++ ;; ++ siemens) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ pc) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ esac ++ ;; ++ ++tpf*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++esac ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 ++$as_echo "$lt_cv_deplibs_check_method" >&6; } ++file_magic_cmd=$lt_cv_file_magic_cmd ++deplibs_check_method=$lt_cv_deplibs_check_method ++test -z "$deplibs_check_method" && deplibs_check_method=unknown ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. ++set dummy ${ac_tool_prefix}ar; 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_prog_AR+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$AR"; then ++ ac_cv_prog_AR="$AR" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_AR="${ac_tool_prefix}ar" ++ $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 ++ ++fi ++fi ++AR=$ac_cv_prog_AR ++if test -n "$AR"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 ++$as_echo "$AR" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_AR"; then ++ ac_ct_AR=$AR ++ # Extract the first word of "ar", so it can be a program name with args. ++set dummy ar; 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_prog_ac_ct_AR+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_AR"; then ++ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_AR="ar" ++ $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 ++ ++fi ++fi ++ac_ct_AR=$ac_cv_prog_ac_ct_AR ++if test -n "$ac_ct_AR"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 ++$as_echo "$ac_ct_AR" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_AR" = x; then ++ AR="false" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ AR=$ac_ct_AR ++ fi ++else ++ AR="$ac_cv_prog_AR" ++fi ++ ++test -z "$AR" && AR=ar ++test -z "$AR_FLAGS" && AR_FLAGS=cru ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. ++set dummy ${ac_tool_prefix}strip; 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_prog_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$STRIP"; then ++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_STRIP="${ac_tool_prefix}strip" ++ $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 ++ ++fi ++fi ++STRIP=$ac_cv_prog_STRIP ++if test -n "$STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++$as_echo "$STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_STRIP"; then ++ ac_ct_STRIP=$STRIP ++ # Extract the first word of "strip", so it can be a program name with args. ++set dummy strip; 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_prog_ac_ct_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_STRIP"; then ++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_STRIP="strip" ++ $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 ++ ++fi ++fi ++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP ++if test -n "$ac_ct_STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++$as_echo "$ac_ct_STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_STRIP" = x; then ++ STRIP=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ STRIP=$ac_ct_STRIP ++ fi ++else ++ STRIP="$ac_cv_prog_STRIP" ++fi ++ ++test -z "$STRIP" && STRIP=: ++ ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. ++set dummy ${ac_tool_prefix}ranlib; 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_prog_RANLIB+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$RANLIB"; then ++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_RANLIB="${ac_tool_prefix}ranlib" ++ $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 ++ ++fi ++fi ++RANLIB=$ac_cv_prog_RANLIB ++if test -n "$RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 ++$as_echo "$RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_RANLIB"; then ++ ac_ct_RANLIB=$RANLIB ++ # Extract the first word of "ranlib", so it can be a program name with args. ++set dummy ranlib; 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_prog_ac_ct_RANLIB+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_RANLIB"; then ++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_RANLIB="ranlib" ++ $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 ++ ++fi ++fi ++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB ++if test -n "$ac_ct_RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 ++$as_echo "$ac_ct_RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_RANLIB" = x; then ++ RANLIB=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ RANLIB=$ac_ct_RANLIB ++ fi ++else ++ RANLIB="$ac_cv_prog_RANLIB" ++fi ++ ++test -z "$RANLIB" && RANLIB=: ++ ++ ++ ++ ++ ++ ++# Determine commands to create old-style static archives. ++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' ++old_postinstall_cmds='chmod 644 $oldlib' ++old_postuninstall_cmds= ++ ++if test -n "$RANLIB"; then ++ case $host_os in ++ openbsd*) ++ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ++ ;; ++ *) ++ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ++ ;; ++ esac ++ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# If no C compiler was specified, use CC. ++LTCC=${LTCC-"$CC"} ++ ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ ++# Allow CC to be a program name with arguments. ++compiler=$CC ++ ++ ++# Check for command to grab the raw symbol name followed by C symbol from nm. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 ++$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } ++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++# These are sane defaults that work on at least a few old systems. ++# [They come from Ultrix. What could be older than Ultrix?!! ;)] ++ ++# Character class describing NM global symbol codes. ++symcode='[BCDEGRST]' ++ ++# Regexp to match symbols that can be accessed directly from C. ++sympat='\([_A-Za-z][_A-Za-z0-9]*\)' ++ ++# Define system-specific variables. ++case $host_os in ++aix*) ++ symcode='[BCDT]' ++ ;; ++cygwin* | mingw* | pw32* | cegcc*) ++ symcode='[ABCDGISTW]' ++ ;; ++hpux*) ++ if test "$host_cpu" = ia64; then ++ symcode='[ABCDEGRST]' ++ fi ++ ;; ++irix* | nonstopux*) ++ symcode='[BCDEGRST]' ++ ;; ++osf*) ++ symcode='[BCDEGQRST]' ++ ;; ++solaris*) ++ symcode='[BDRT]' ++ ;; ++sco3.2v5*) ++ symcode='[DT]' ++ ;; ++sysv4.2uw2*) ++ symcode='[DT]' ++ ;; ++sysv5* | sco5v6* | unixware* | OpenUNIX*) ++ symcode='[ABDT]' ++ ;; ++sysv4) ++ symcode='[DFNSTU]' ++ ;; ++esac ++ ++# If we're using GNU nm, then use its standard symbol codes. ++case `$NM -V 2>&1` in ++*GNU* | *'with BFD'*) ++ symcode='[ABCDGIRSTW]' ;; ++esac ++ ++# Transform an extracted symbol line into a proper C declaration. ++# Some systems (esp. on ia64) link data and code symbols differently, ++# so use this general approach. ++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" ++ ++# Transform an extracted symbol line into symbol name and symbol address ++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" ++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" ++ ++# Handle CRLF in mingw tool chain ++opt_cr= ++case $build_os in ++mingw*) ++ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ++ ;; ++esac ++ ++# Try without a prefix underscore, then with it. ++for ac_symprfx in "" "_"; do ++ ++ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. ++ symxfrm="\\1 $ac_symprfx\\2 \\2" ++ ++ # Write the raw and C identifiers. ++ if test "$lt_cv_nm_interface" = "MS dumpbin"; then ++ # Fake it for dumpbin and say T for any non-static function ++ # and D for any global variable. ++ # Also find C++ and __fastcall symbols from MSVC++, ++ # which start with @ or ?. ++ lt_cv_sys_global_symbol_pipe="$AWK '"\ ++" {last_section=section; section=\$ 3};"\ ++" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ ++" \$ 0!~/External *\|/{next};"\ ++" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ ++" {if(hide[section]) next};"\ ++" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ ++" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ ++" s[1]~/^[@?]/{print s[1], s[1]; next};"\ ++" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ ++" ' prfx=^$ac_symprfx" ++ else ++ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" ++ fi ++ ++ # Check to see that the pipe works correctly. ++ pipe_works=no ++ ++ rm -f conftest* ++ cat > conftest.$ac_ext <<_LT_EOF ++#ifdef __cplusplus ++extern "C" { ++#endif ++char nm_test_var; ++void nm_test_func(void); ++void nm_test_func(void){} ++#ifdef __cplusplus ++} ++#endif ++int main(){nm_test_var='a';nm_test_func();return(0);} ++_LT_EOF ++ ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ # Now try to grab the symbols. ++ nlist=conftest.nm ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 ++ (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s "$nlist"; then ++ # Try sorting and uniquifying the output. ++ if sort "$nlist" | uniq > "$nlist"T; then ++ mv -f "$nlist"T "$nlist" ++ else ++ rm -f "$nlist"T ++ fi ++ ++ # Make sure that we snagged all the symbols we need. ++ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then ++ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then ++ cat <<_LT_EOF > conftest.$ac_ext ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++_LT_EOF ++ # Now generate the symbol file. ++ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' ++ ++ cat <<_LT_EOF >> conftest.$ac_ext ++ ++/* The mapping between symbol names and symbols. */ ++const struct { ++ const char *name; ++ void *address; ++} ++lt__PROGRAM__LTX_preloaded_symbols[] = ++{ ++ { "@PROGRAM@", (void *) 0 }, ++_LT_EOF ++ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext ++ cat <<\_LT_EOF >> conftest.$ac_ext ++ {0, (void *) 0} ++}; ++ ++/* This works around a problem in FreeBSD linker */ ++#ifdef FREEBSD_WORKAROUND ++static const void *lt_preloaded_setup() { ++ return lt__PROGRAM__LTX_preloaded_symbols; ++} ++#endif ++ ++#ifdef __cplusplus ++} ++#endif ++_LT_EOF ++ # Now try linking the two files. ++ mv conftest.$ac_objext conftstm.$ac_objext ++ lt_save_LIBS="$LIBS" ++ lt_save_CFLAGS="$CFLAGS" ++ LIBS="conftstm.$ac_objext" ++ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext}; then ++ pipe_works=yes ++ fi ++ LIBS="$lt_save_LIBS" ++ CFLAGS="$lt_save_CFLAGS" ++ else ++ echo "cannot find nm_test_func in $nlist" >&5 ++ fi ++ else ++ echo "cannot find nm_test_var in $nlist" >&5 ++ fi ++ else ++ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 ++ fi ++ else ++ echo "$progname: failed program was:" >&5 ++ cat conftest.$ac_ext >&5 ++ fi ++ rm -rf conftest* conftst* ++ ++ # Do not use the global_symbol_pipe unless it works. ++ if test "$pipe_works" = yes; then ++ break ++ else ++ lt_cv_sys_global_symbol_pipe= ++ fi ++done ++ ++fi ++ ++if test -z "$lt_cv_sys_global_symbol_pipe"; then ++ lt_cv_sys_global_symbol_to_cdecl= ++fi ++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 ++$as_echo "failed" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 ++$as_echo "ok" >&6; } ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --enable-libtool-lock was given. ++if test "${enable_libtool_lock+set}" = set; then : ++ enableval=$enable_libtool_lock; ++fi ++ ++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes ++ ++# Some flags need to be propagated to the compiler or linker for good ++# libtool support. ++case $host in ++ia64-*-hpux*) ++ # Find out which ABI we are using. ++ echo 'int i;' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ case `/usr/bin/file conftest.$ac_objext` in ++ *ELF-32*) ++ HPUX_IA64_MODE="32" ++ ;; ++ *ELF-64*) ++ HPUX_IA64_MODE="64" ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++*-*-irix6*) ++ # Find out which ABI we are using. ++ echo '#line __oline__ "configure"' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ if test "$lt_cv_prog_gnu_ld" = yes; then ++ case `/usr/bin/file conftest.$ac_objext` in ++ *32-bit*) ++ LD="${LD-ld} -melf32bsmip" ++ ;; ++ *N32*) ++ LD="${LD-ld} -melf32bmipn32" ++ ;; ++ *64-bit*) ++ LD="${LD-ld} -melf64bmip" ++ ;; ++ esac ++ else ++ case `/usr/bin/file conftest.$ac_objext` in ++ *32-bit*) ++ LD="${LD-ld} -32" ++ ;; ++ *N32*) ++ LD="${LD-ld} -n32" ++ ;; ++ *64-bit*) ++ LD="${LD-ld} -64" ++ ;; ++ esac ++ fi ++ fi ++ rm -rf conftest* ++ ;; ++ ++x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ ++s390*-*linux*|s390*-*tpf*|sparc*-*linux*) ++ # Find out which ABI we are using. ++ echo 'int i;' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ case `/usr/bin/file conftest.o` in ++ *32-bit*) ++ case $host in ++ x86_64-*kfreebsd*-gnu) ++ LD="${LD-ld} -m elf_i386_fbsd" ++ ;; ++ x86_64-*linux*) ++ LD="${LD-ld} -m elf_i386" ++ ;; ++ ppc64-*linux*|powerpc64-*linux*) ++ LD="${LD-ld} -m elf32ppclinux" ++ ;; ++ s390x-*linux*) ++ LD="${LD-ld} -m elf_s390" ++ ;; ++ sparc64-*linux*) ++ LD="${LD-ld} -m elf32_sparc" ++ ;; ++ esac ++ ;; ++ *64-bit*) ++ case $host in ++ x86_64-*kfreebsd*-gnu) ++ LD="${LD-ld} -m elf_x86_64_fbsd" ++ ;; ++ x86_64-*linux*) ++ LD="${LD-ld} -m elf_x86_64" ++ ;; ++ ppc*-*linux*|powerpc*-*linux*) ++ LD="${LD-ld} -m elf64ppc" ++ ;; ++ s390*-*linux*|s390*-*tpf*) ++ LD="${LD-ld} -m elf64_s390" ++ ;; ++ sparc*-*linux*) ++ LD="${LD-ld} -m elf64_sparc" ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++ ++*-*-sco3.2v5*) ++ # On SCO OpenServer 5, we need -belf to get full-featured binaries. ++ SAVE_CFLAGS="$CFLAGS" ++ CFLAGS="$CFLAGS -belf" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 ++$as_echo_n "checking whether the C compiler needs -belf... " >&6; } ++if test "${lt_cv_cc_needs_belf+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ lt_cv_cc_needs_belf=yes ++else ++ lt_cv_cc_needs_belf=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 ++$as_echo "$lt_cv_cc_needs_belf" >&6; } ++ if test x"$lt_cv_cc_needs_belf" != x"yes"; then ++ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf ++ CFLAGS="$SAVE_CFLAGS" ++ fi ++ ;; ++sparc*-*solaris*) ++ # Find out which ABI we are using. ++ echo 'int i;' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ case `/usr/bin/file conftest.o` in ++ *64-bit*) ++ case $lt_cv_prog_gnu_ld in ++ yes*) LD="${LD-ld} -m elf64_sparc" ;; ++ *) ++ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then ++ LD="${LD-ld} -64" ++ fi ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++esac ++ ++need_locks="$enable_libtool_lock" ++ ++ ++ case $host_os in ++ rhapsody* | darwin*) ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. ++set dummy ${ac_tool_prefix}dsymutil; 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_prog_DSYMUTIL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$DSYMUTIL"; then ++ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" ++ $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 ++ ++fi ++fi ++DSYMUTIL=$ac_cv_prog_DSYMUTIL ++if test -n "$DSYMUTIL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 ++$as_echo "$DSYMUTIL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_DSYMUTIL"; then ++ ac_ct_DSYMUTIL=$DSYMUTIL ++ # Extract the first word of "dsymutil", so it can be a program name with args. ++set dummy dsymutil; 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_prog_ac_ct_DSYMUTIL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_DSYMUTIL"; then ++ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_DSYMUTIL="dsymutil" ++ $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 ++ ++fi ++fi ++ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL ++if test -n "$ac_ct_DSYMUTIL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 ++$as_echo "$ac_ct_DSYMUTIL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_DSYMUTIL" = x; then ++ DSYMUTIL=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ DSYMUTIL=$ac_ct_DSYMUTIL ++ fi ++else ++ DSYMUTIL="$ac_cv_prog_DSYMUTIL" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. ++set dummy ${ac_tool_prefix}nmedit; 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_prog_NMEDIT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$NMEDIT"; then ++ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_NMEDIT="${ac_tool_prefix}nmedit" ++ $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 ++ ++fi ++fi ++NMEDIT=$ac_cv_prog_NMEDIT ++if test -n "$NMEDIT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 ++$as_echo "$NMEDIT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_NMEDIT"; then ++ ac_ct_NMEDIT=$NMEDIT ++ # Extract the first word of "nmedit", so it can be a program name with args. ++set dummy nmedit; 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_prog_ac_ct_NMEDIT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_NMEDIT"; then ++ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_NMEDIT="nmedit" ++ $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 ++ ++fi ++fi ++ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT ++if test -n "$ac_ct_NMEDIT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 ++$as_echo "$ac_ct_NMEDIT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_NMEDIT" = x; then ++ NMEDIT=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ NMEDIT=$ac_ct_NMEDIT ++ fi ++else ++ NMEDIT="$ac_cv_prog_NMEDIT" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. ++set dummy ${ac_tool_prefix}lipo; 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_prog_LIPO+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$LIPO"; then ++ ac_cv_prog_LIPO="$LIPO" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_LIPO="${ac_tool_prefix}lipo" ++ $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 ++ ++fi ++fi ++LIPO=$ac_cv_prog_LIPO ++if test -n "$LIPO"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 ++$as_echo "$LIPO" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_LIPO"; then ++ ac_ct_LIPO=$LIPO ++ # Extract the first word of "lipo", so it can be a program name with args. ++set dummy lipo; 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_prog_ac_ct_LIPO+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_LIPO"; then ++ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_LIPO="lipo" ++ $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 ++ ++fi ++fi ++ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO ++if test -n "$ac_ct_LIPO"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 ++$as_echo "$ac_ct_LIPO" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_LIPO" = x; then ++ LIPO=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ LIPO=$ac_ct_LIPO ++ fi ++else ++ LIPO="$ac_cv_prog_LIPO" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. ++set dummy ${ac_tool_prefix}otool; 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_prog_OTOOL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$OTOOL"; then ++ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_OTOOL="${ac_tool_prefix}otool" ++ $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 ++ ++fi ++fi ++OTOOL=$ac_cv_prog_OTOOL ++if test -n "$OTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 ++$as_echo "$OTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_OTOOL"; then ++ ac_ct_OTOOL=$OTOOL ++ # Extract the first word of "otool", so it can be a program name with args. ++set dummy otool; 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_prog_ac_ct_OTOOL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_OTOOL"; then ++ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_OTOOL="otool" ++ $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 ++ ++fi ++fi ++ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL ++if test -n "$ac_ct_OTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 ++$as_echo "$ac_ct_OTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_OTOOL" = x; then ++ OTOOL=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ OTOOL=$ac_ct_OTOOL ++ fi ++else ++ OTOOL="$ac_cv_prog_OTOOL" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. ++set dummy ${ac_tool_prefix}otool64; 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_prog_OTOOL64+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$OTOOL64"; then ++ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_OTOOL64="${ac_tool_prefix}otool64" ++ $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 ++ ++fi ++fi ++OTOOL64=$ac_cv_prog_OTOOL64 ++if test -n "$OTOOL64"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 ++$as_echo "$OTOOL64" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_OTOOL64"; then ++ ac_ct_OTOOL64=$OTOOL64 ++ # Extract the first word of "otool64", so it can be a program name with args. ++set dummy otool64; 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_prog_ac_ct_OTOOL64+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_OTOOL64"; then ++ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_OTOOL64="otool64" ++ $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 ++ ++fi ++fi ++ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 ++if test -n "$ac_ct_OTOOL64"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 ++$as_echo "$ac_ct_OTOOL64" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_OTOOL64" = x; then ++ OTOOL64=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ OTOOL64=$ac_ct_OTOOL64 ++ fi ++else ++ OTOOL64="$ac_cv_prog_OTOOL64" ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 ++$as_echo_n "checking for -single_module linker flag... " >&6; } ++if test "${lt_cv_apple_cc_single_mod+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_apple_cc_single_mod=no ++ if test -z "${LT_MULTI_MODULE}"; then ++ # By default we will add the -single_module flag. You can override ++ # by either setting the environment variable LT_MULTI_MODULE ++ # non-empty at configure time, or by adding -multi_module to the ++ # link flags. ++ rm -rf libconftest.dylib* ++ echo "int foo(void){return 1;}" > conftest.c ++ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ ++-dynamiclib -Wl,-single_module conftest.c" >&5 ++ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ ++ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err ++ _lt_result=$? ++ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then ++ lt_cv_apple_cc_single_mod=yes ++ else ++ cat conftest.err >&5 ++ fi ++ rm -rf libconftest.dylib* ++ rm -f conftest.* ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 ++$as_echo "$lt_cv_apple_cc_single_mod" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 ++$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } ++if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_ld_exported_symbols_list=no ++ save_LDFLAGS=$LDFLAGS ++ echo "_main" > conftest.sym ++ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ lt_cv_ld_exported_symbols_list=yes ++else ++ lt_cv_ld_exported_symbols_list=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 ++$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } ++ case $host_os in ++ rhapsody* | darwin1.[012]) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ++ darwin1.*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ darwin*) # darwin 5.x on ++ # if running on 10.5 or later, the deployment target defaults ++ # to the OS version, if on x86, and 10.4, the deployment ++ # target defaults to 10.4. Don't you love it? ++ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in ++ 10.0,*86*-darwin8*|10.0,*-darwin[91]*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ 10.[012]*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ 10.*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ esac ++ ;; ++ esac ++ if test "$lt_cv_apple_cc_single_mod" = "yes"; then ++ _lt_dar_single_mod='$single_module' ++ fi ++ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then ++ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' ++ else ++ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ fi ++ if test "$DSYMUTIL" != ":"; then ++ _lt_dsymutil='~$DSYMUTIL $lib || :' ++ else ++ _lt_dsymutil= ++ fi ++ ;; ++ esac ++ ++for ac_header in dlfcn.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default ++" ++if test "x$ac_cv_header_dlfcn_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DLFCN_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++# Set options ++ ++ ++ ++ enable_dlopen=no ++ ++ ++ ++ @%:@ Check whether --enable-shared was given. ++if test "${enable_shared+set}" = set; then : ++ enableval=$enable_shared; p=${PACKAGE-default} ++ case $enableval in ++ yes) enable_shared=yes ;; ++ no) enable_shared=no ;; ++ *) ++ enable_shared=no ++ # Look at the argument we got. We use all the common list separators. ++ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," ++ for pkg in $enableval; do ++ IFS="$lt_save_ifs" ++ if test "X$pkg" = "X$p"; then ++ enable_shared=yes ++ fi ++ done ++ IFS="$lt_save_ifs" ++ ;; ++ esac ++else ++ enable_shared=yes ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ @%:@ Check whether --enable-static was given. ++if test "${enable_static+set}" = set; then : ++ enableval=$enable_static; p=${PACKAGE-default} ++ case $enableval in ++ yes) enable_static=yes ;; ++ no) enable_static=no ;; ++ *) ++ enable_static=no ++ # Look at the argument we got. We use all the common list separators. ++ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," ++ for pkg in $enableval; do ++ IFS="$lt_save_ifs" ++ if test "X$pkg" = "X$p"; then ++ enable_static=yes ++ fi ++ done ++ IFS="$lt_save_ifs" ++ ;; ++ esac ++else ++ enable_static=yes ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --with-pic was given. ++if test "${with_pic+set}" = set; then : ++ withval=$with_pic; pic_mode="$withval" ++else ++ pic_mode=default ++fi ++ ++ ++test -z "$pic_mode" && pic_mode=default ++ ++ ++ ++ ++ ++ ++ ++ @%:@ Check whether --enable-fast-install was given. ++if test "${enable_fast_install+set}" = set; then : ++ enableval=$enable_fast_install; p=${PACKAGE-default} ++ case $enableval in ++ yes) enable_fast_install=yes ;; ++ no) enable_fast_install=no ;; ++ *) ++ enable_fast_install=no ++ # Look at the argument we got. We use all the common list separators. ++ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," ++ for pkg in $enableval; do ++ IFS="$lt_save_ifs" ++ if test "X$pkg" = "X$p"; then ++ enable_fast_install=yes ++ fi ++ done ++ IFS="$lt_save_ifs" ++ ;; ++ esac ++else ++ enable_fast_install=yes ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# This can be used to rebuild libtool when needed ++LIBTOOL_DEPS="$ltmain" ++ ++# Always use our own libtool. ++LIBTOOL='$(SHELL) $(top_builddir)/libtool' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++test -z "$LN_S" && LN_S="ln -s" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test -n "${ZSH_VERSION+set}" ; then ++ setopt NO_GLOB_SUBST ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 ++$as_echo_n "checking for objdir... " >&6; } ++if test "${lt_cv_objdir+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -f .libs 2>/dev/null ++mkdir .libs 2>/dev/null ++if test -d .libs; then ++ lt_cv_objdir=.libs ++else ++ # MS-DOS does not allow filenames that begin with a dot. ++ lt_cv_objdir=_libs ++fi ++rmdir .libs 2>/dev/null ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 ++$as_echo "$lt_cv_objdir" >&6; } ++objdir=$lt_cv_objdir ++ ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LT_OBJDIR "$lt_cv_objdir/" ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++case $host_os in ++aix3*) ++ # AIX sometimes has problems with the GCC collect2 program. For some ++ # reason, if we set the COLLECT_NAMES environment variable, the problems ++ # vanish in a puff of smoke. ++ if test "X${COLLECT_NAMES+set}" != Xset; then ++ COLLECT_NAMES= ++ export COLLECT_NAMES ++ fi ++ ;; ++esac ++ ++# Sed substitution that helps us do robust quoting. It backslashifies ++# metacharacters that are still active within double-quoted strings. ++sed_quote_subst='s/\(["`$\\]\)/\\\1/g' ++ ++# Same as above, but do not quote variable references. ++double_quote_subst='s/\(["`\\]\)/\\\1/g' ++ ++# Sed substitution to delay expansion of an escaped shell variable in a ++# double_quote_subst'ed string. ++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' ++ ++# Sed substitution to delay expansion of an escaped single quote. ++delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' ++ ++# Sed substitution to avoid accidental globbing in evaled expressions ++no_glob_subst='s/\*/\\\*/g' ++ ++# Global variables: ++ofile=libtool ++can_build_shared=yes ++ ++# All known linkers require a `.a' archive for static linking (except MSVC, ++# which needs '.lib'). ++libext=a ++ ++with_gnu_ld="$lt_cv_prog_gnu_ld" ++ ++old_CC="$CC" ++old_CFLAGS="$CFLAGS" ++ ++# Set sane defaults for various variables ++test -z "$CC" && CC=cc ++test -z "$LTCC" && LTCC=$CC ++test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS ++test -z "$LD" && LD=ld ++test -z "$ac_objext" && ac_objext=o ++ ++for cc_temp in $compiler""; do ++ case $cc_temp in ++ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; ++ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; ++ \-*) ;; ++ *) break;; ++ esac ++done ++cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ++ ++ ++# Only perform the check for file, if the check method requires it ++test -z "$MAGIC_CMD" && MAGIC_CMD=file ++case $deplibs_check_method in ++file_magic*) ++ if test "$file_magic_cmd" = '$MAGIC_CMD'; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 ++$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } ++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MAGIC_CMD in ++[\\/*] | ?:[\\/]*) ++ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ++ ;; ++*) ++ lt_save_MAGIC_CMD="$MAGIC_CMD" ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" ++ for ac_dir in $ac_dummy; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ if test -f $ac_dir/${ac_tool_prefix}file; then ++ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" ++ if test -n "$file_magic_test_file"; then ++ case $deplibs_check_method in ++ "file_magic "*) ++ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` ++ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | ++ $EGREP "$file_magic_regex" > /dev/null; then ++ : ++ else ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: the command libtool uses to detect shared libraries, ++*** $file_magic_cmd, produces output that libtool cannot recognize. ++*** The result is that libtool may fail to recognize shared libraries ++*** as such. This will affect the creation of libtool libraries that ++*** depend on shared libraries, but programs linked with such libtool ++*** libraries will work regardless of this problem. Nevertheless, you ++*** may want to report the problem to your system manager and/or to ++*** bug-libtool@gnu.org ++ ++_LT_EOF ++ fi ;; ++ esac ++ fi ++ break ++ fi ++ done ++ IFS="$lt_save_ifs" ++ MAGIC_CMD="$lt_save_MAGIC_CMD" ++ ;; ++esac ++fi ++ ++MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++if test -n "$MAGIC_CMD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 ++$as_echo "$MAGIC_CMD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ ++ ++if test -z "$lt_cv_path_MAGIC_CMD"; then ++ if test -n "$ac_tool_prefix"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 ++$as_echo_n "checking for file... " >&6; } ++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MAGIC_CMD in ++[\\/*] | ?:[\\/]*) ++ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ++ ;; ++*) ++ lt_save_MAGIC_CMD="$MAGIC_CMD" ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" ++ for ac_dir in $ac_dummy; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ if test -f $ac_dir/file; then ++ lt_cv_path_MAGIC_CMD="$ac_dir/file" ++ if test -n "$file_magic_test_file"; then ++ case $deplibs_check_method in ++ "file_magic "*) ++ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` ++ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | ++ $EGREP "$file_magic_regex" > /dev/null; then ++ : ++ else ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: the command libtool uses to detect shared libraries, ++*** $file_magic_cmd, produces output that libtool cannot recognize. ++*** The result is that libtool may fail to recognize shared libraries ++*** as such. This will affect the creation of libtool libraries that ++*** depend on shared libraries, but programs linked with such libtool ++*** libraries will work regardless of this problem. Nevertheless, you ++*** may want to report the problem to your system manager and/or to ++*** bug-libtool@gnu.org ++ ++_LT_EOF ++ fi ;; ++ esac ++ fi ++ break ++ fi ++ done ++ IFS="$lt_save_ifs" ++ MAGIC_CMD="$lt_save_MAGIC_CMD" ++ ;; ++esac ++fi ++ ++MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++if test -n "$MAGIC_CMD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 ++$as_echo "$MAGIC_CMD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ else ++ MAGIC_CMD=: ++ fi ++fi ++ ++ fi ++ ;; ++esac ++ ++# Use C for the default configuration in the libtool script ++ ++lt_save_CC="$CC" ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++# Source file extension for C test sources. ++ac_ext=c ++ ++# Object file extension for compiled C test sources. ++objext=o ++objext=$objext ++ ++# Code to be used in simple compile tests ++lt_simple_compile_test_code="int some_variable = 0;" ++ ++# Code to be used in simple link tests ++lt_simple_link_test_code='int main(){return(0);}' ++ ++ ++ ++ ++ ++ ++ ++# If no C compiler was specified, use CC. ++LTCC=${LTCC-"$CC"} ++ ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ ++# Allow CC to be a program name with arguments. ++compiler=$CC ++ ++# Save the default compiler, since it gets overwritten when the other ++# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. ++compiler_DEFAULT=$CC ++ ++# save warnings/boilerplate of simple test code ++ac_outfile=conftest.$ac_objext ++echo "$lt_simple_compile_test_code" >conftest.$ac_ext ++eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err ++_lt_compiler_boilerplate=`cat conftest.err` ++$RM conftest* ++ ++ac_outfile=conftest.$ac_objext ++echo "$lt_simple_link_test_code" >conftest.$ac_ext ++eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err ++_lt_linker_boilerplate=`cat conftest.err` ++$RM -r conftest* ++ ++ ++## CAVEAT EMPTOR: ++## There is no encapsulation within the following macros, do not change ++## the running order or otherwise move them around unless you know exactly ++## what you are doing... ++if test -n "$compiler"; then ++ ++lt_prog_compiler_no_builtin_flag= ++ ++if test "$GCC" = yes; then ++ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 ++$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } ++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_rtti_exceptions=no ++ ac_outfile=conftest.$ac_objext ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ lt_compiler_flag="-fno-rtti -fno-exceptions" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ # The option is referenced via a variable to avoid confusing sed. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&5) ++ (eval "$lt_compile" 2>conftest.err) ++ ac_status=$? ++ cat conftest.err >&5 ++ echo "$as_me:__oline__: \$? = $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. ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_rtti_exceptions=yes ++ fi ++ fi ++ $RM conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 ++$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } ++ ++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then ++ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" ++else ++ : ++fi ++ ++fi ++ ++ ++ ++ ++ ++ ++ lt_prog_compiler_wl= ++lt_prog_compiler_pic= ++lt_prog_compiler_static= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 ++$as_echo_n "checking for $compiler option to produce PIC... " >&6; } ++ ++ if test "$GCC" = yes; then ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_static='-static' ++ ++ case $host_os in ++ aix*) ++ # All AIX code is PIC. ++ if test "$host_cpu" = ia64; then ++ # AIX 5 now supports IA64 processor ++ lt_prog_compiler_static='-Bstatic' ++ fi ++ ;; ++ ++ amigaos*) ++ case $host_cpu in ++ powerpc) ++ # see comment about AmigaOS4 .so support ++ lt_prog_compiler_pic='-fPIC' ++ ;; ++ m68k) ++ # FIXME: we need at least 68020 code to build shared libraries, but ++ # adding the `-m68020' flag to GCC prevents building anything better, ++ # like `-m68040'. ++ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ++ ;; ++ esac ++ ;; ++ ++ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) ++ # PIC is the default for these OSes. ++ ;; ++ ++ mingw* | cygwin* | pw32* | os2* | cegcc*) ++ # This hack is so that the source file can tell whether it is being ++ # built for inclusion in a dll (and should export symbols for example). ++ # Although the cygwin gcc ignores -fPIC, still need this for old-style ++ # (--disable-auto-import) libraries ++ lt_prog_compiler_pic='-DDLL_EXPORT' ++ ;; ++ ++ darwin* | rhapsody*) ++ # PIC is the default on this platform ++ # Common symbols not allowed in MH_DYLIB files ++ lt_prog_compiler_pic='-fno-common' ++ ;; ++ ++ hpux*) ++ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit ++ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag ++ # sets the default TLS model and affects inlining. ++ case $host_cpu in ++ hppa*64*) ++ # +Z the default ++ ;; ++ *) ++ lt_prog_compiler_pic='-fPIC' ++ ;; ++ esac ++ ;; ++ ++ interix[3-9]*) ++ # Interix 3.x gcc -fpic/-fPIC options generate broken code. ++ # Instead, we relocate shared libraries at runtime. ++ ;; ++ ++ msdosdjgpp*) ++ # Just because we use GCC doesn't mean we suddenly get shared libraries ++ # on systems that don't support them. ++ lt_prog_compiler_can_build_shared=no ++ enable_shared=no ++ ;; ++ ++ *nto* | *qnx*) ++ # QNX uses GNU C++, but need to define -shared option too, otherwise ++ # it will coredump. ++ lt_prog_compiler_pic='-fPIC -shared' ++ ;; ++ ++ sysv4*MP*) ++ if test -d /usr/nec; then ++ lt_prog_compiler_pic=-Kconform_pic ++ fi ++ ;; ++ ++ *) ++ lt_prog_compiler_pic='-fPIC' ++ ;; ++ esac ++ else ++ # PORTME Check for flag to pass linker flags through the system compiler. ++ case $host_os in ++ aix*) ++ lt_prog_compiler_wl='-Wl,' ++ if test "$host_cpu" = ia64; then ++ # AIX 5 now supports IA64 processor ++ lt_prog_compiler_static='-Bstatic' ++ else ++ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' ++ fi ++ ;; ++ ++ mingw* | cygwin* | pw32* | os2* | cegcc*) ++ # This hack is so that the source file can tell whether it is being ++ # built for inclusion in a dll (and should export symbols for example). ++ lt_prog_compiler_pic='-DDLL_EXPORT' ++ ;; ++ ++ hpux9* | hpux10* | hpux11*) ++ lt_prog_compiler_wl='-Wl,' ++ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but ++ # not for PA HP-UX. ++ case $host_cpu in ++ hppa*64*|ia64*) ++ # +Z the default ++ ;; ++ *) ++ lt_prog_compiler_pic='+Z' ++ ;; ++ esac ++ # Is there a better lt_prog_compiler_static that works with the bundled CC? ++ lt_prog_compiler_static='${wl}-a ${wl}archive' ++ ;; ++ ++ irix5* | irix6* | nonstopux*) ++ lt_prog_compiler_wl='-Wl,' ++ # PIC (with -KPIC) is the default. ++ lt_prog_compiler_static='-non_shared' ++ ;; ++ ++ linux* | k*bsd*-gnu) ++ case $cc_basename in ++ # old Intel for x86_64 which still supported -KPIC. ++ ecc*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-static' ++ ;; ++ # icc used to be incompatible with GCC. ++ # ICC 10 doesn't accept -KPIC any more. ++ icc* | ifort*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-fPIC' ++ lt_prog_compiler_static='-static' ++ ;; ++ # Lahey Fortran 8.1. ++ lf95*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='--shared' ++ lt_prog_compiler_static='--static' ++ ;; ++ pgcc* | pgf77* | pgf90* | pgf95*) ++ # Portland Group compilers (*not* the Pentium gcc compiler, ++ # which looks to be a dead project) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-fpic' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ccc*) ++ lt_prog_compiler_wl='-Wl,' ++ # All Alpha code is PIC. ++ lt_prog_compiler_static='-non_shared' ++ ;; ++ xl*) ++ # IBM XL C 8.0/Fortran 10.1 on PPC ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-qpic' ++ lt_prog_compiler_static='-qstaticlink' ++ ;; ++ *) ++ case `$CC -V 2>&1 | sed 5q` in ++ *Sun\ C*) ++ # Sun C 5.9 ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ lt_prog_compiler_wl='-Wl,' ++ ;; ++ *Sun\ F*) ++ # Sun Fortran 8.3 passes all unrecognized flags to the linker ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ lt_prog_compiler_wl='' ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ ++ newsos6) ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ *nto* | *qnx*) ++ # QNX uses GNU C++, but need to define -shared option too, otherwise ++ # it will coredump. ++ lt_prog_compiler_pic='-fPIC -shared' ++ ;; ++ ++ osf3* | osf4* | osf5*) ++ lt_prog_compiler_wl='-Wl,' ++ # All OSF/1 code is PIC. ++ lt_prog_compiler_static='-non_shared' ++ ;; ++ ++ rdos*) ++ lt_prog_compiler_static='-non_shared' ++ ;; ++ ++ solaris*) ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ case $cc_basename in ++ f77* | f90* | f95*) ++ lt_prog_compiler_wl='-Qoption ld ';; ++ *) ++ lt_prog_compiler_wl='-Wl,';; ++ esac ++ ;; ++ ++ sunos4*) ++ lt_prog_compiler_wl='-Qoption ld ' ++ lt_prog_compiler_pic='-PIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ sysv4 | sysv4.2uw2* | sysv4.3*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ sysv4*MP*) ++ if test -d /usr/nec ;then ++ lt_prog_compiler_pic='-Kconform_pic' ++ lt_prog_compiler_static='-Bstatic' ++ fi ++ ;; ++ ++ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ unicos*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_can_build_shared=no ++ ;; ++ ++ uts4*) ++ lt_prog_compiler_pic='-pic' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ ++ *) ++ lt_prog_compiler_can_build_shared=no ++ ;; ++ esac ++ fi ++ ++case $host_os in ++ # For platforms which do not support PIC, -DPIC is meaningless: ++ *djgpp*) ++ lt_prog_compiler_pic= ++ ;; ++ *) ++ lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" ++ ;; ++esac ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 ++$as_echo "$lt_prog_compiler_pic" >&6; } ++ ++ ++ ++ ++ ++ ++# ++# Check to make sure the PIC flag actually works. ++# ++if test -n "$lt_prog_compiler_pic"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 ++$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } ++if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_pic_works=no ++ ac_outfile=conftest.$ac_objext ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ # The option is referenced via a variable to avoid confusing sed. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&5) ++ (eval "$lt_compile" 2>conftest.err) ++ ac_status=$? ++ cat conftest.err >&5 ++ echo "$as_me:__oline__: \$? = $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. ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_pic_works=yes ++ fi ++ fi ++ $RM conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 ++$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } ++ ++if test x"$lt_cv_prog_compiler_pic_works" = xyes; then ++ case $lt_prog_compiler_pic in ++ "" | " "*) ;; ++ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; ++ esac ++else ++ lt_prog_compiler_pic= ++ lt_prog_compiler_can_build_shared=no ++fi ++ ++fi ++ ++ ++ ++ ++ ++ ++# ++# Check to make sure the static flag actually works. ++# ++wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } ++if test "${lt_cv_prog_compiler_static_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_static_works=no ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ++ echo "$lt_simple_link_test_code" > conftest.$ac_ext ++ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then ++ # The linker can only warn and ignore the option if not recognized ++ # So say no if there are warnings ++ if test -s conftest.err; then ++ # Append any errors to the config.log. ++ cat conftest.err 1>&5 ++ $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if diff conftest.exp conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_static_works=yes ++ fi ++ else ++ lt_cv_prog_compiler_static_works=yes ++ fi ++ fi ++ $RM -r conftest* ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 ++$as_echo "$lt_cv_prog_compiler_static_works" >&6; } ++ ++if test x"$lt_cv_prog_compiler_static_works" = xyes; then ++ : ++else ++ lt_prog_compiler_static= ++fi ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 ++$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ++if test "${lt_cv_prog_compiler_c_o+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_c_o=no ++ $RM -r conftest 2>/dev/null ++ mkdir conftest ++ cd conftest ++ mkdir out ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ ++ lt_compiler_flag="-o out/conftest2.$ac_objext" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&5) ++ (eval "$lt_compile" 2>out/conftest.err) ++ ac_status=$? ++ cat out/conftest.err >&5 ++ echo "$as_me:__oline__: \$? = $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 ++ # So say no if there are warnings ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_c_o=yes ++ fi ++ fi ++ chmod u+w . 2>&5 ++ $RM conftest* ++ # SGI C++ compiler will create directory out/ii_files/ for ++ # template instantiation ++ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files ++ $RM out/* && rmdir out ++ cd .. ++ $RM -r conftest ++ $RM conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 ++$as_echo "$lt_cv_prog_compiler_c_o" >&6; } ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 ++$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ++if test "${lt_cv_prog_compiler_c_o+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ lt_cv_prog_compiler_c_o=no ++ $RM -r conftest 2>/dev/null ++ mkdir conftest ++ cd conftest ++ mkdir out ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ ++ lt_compiler_flag="-o out/conftest2.$ac_objext" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&5) ++ (eval "$lt_compile" 2>out/conftest.err) ++ ac_status=$? ++ cat out/conftest.err >&5 ++ echo "$as_me:__oline__: \$? = $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 ++ # So say no if there are warnings ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ lt_cv_prog_compiler_c_o=yes ++ fi ++ fi ++ chmod u+w . 2>&5 ++ $RM conftest* ++ # SGI C++ compiler will create directory out/ii_files/ for ++ # template instantiation ++ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files ++ $RM out/* && rmdir out ++ cd .. ++ $RM -r conftest ++ $RM conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 ++$as_echo "$lt_cv_prog_compiler_c_o" >&6; } ++ ++ ++ ++ ++hard_links="nottested" ++if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then ++ # do not overwrite the value of need_locks provided by the user ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 ++$as_echo_n "checking if we can lock with hard links... " >&6; } ++ hard_links=yes ++ $RM conftest* ++ ln conftest.a conftest.b 2>/dev/null && hard_links=no ++ touch conftest.a ++ ln conftest.a conftest.b 2>&5 || hard_links=no ++ ln conftest.a conftest.b 2>/dev/null && hard_links=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 ++$as_echo "$hard_links" >&6; } ++ if test "$hard_links" = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 ++$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} ++ need_locks=warn ++ fi ++else ++ need_locks=no ++fi ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 ++$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } ++ ++ runpath_var= ++ allow_undefined_flag= ++ always_export_symbols=no ++ archive_cmds= ++ archive_expsym_cmds= ++ compiler_needs_object=no ++ enable_shared_with_static_runtimes=no ++ export_dynamic_flag_spec= ++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ++ hardcode_automatic=no ++ hardcode_direct=no ++ hardcode_direct_absolute=no ++ hardcode_libdir_flag_spec= ++ hardcode_libdir_flag_spec_ld= ++ hardcode_libdir_separator= ++ hardcode_minus_L=no ++ hardcode_shlibpath_var=unsupported ++ inherit_rpath=no ++ link_all_deplibs=unknown ++ module_cmds= ++ module_expsym_cmds= ++ old_archive_from_new_cmds= ++ old_archive_from_expsyms_cmds= ++ thread_safe_flag_spec= ++ whole_archive_flag_spec= ++ # include_expsyms should be a list of space-separated symbols to be *always* ++ # included in the symbol list ++ include_expsyms= ++ # exclude_expsyms can be an extended regexp of symbols to exclude ++ # it will be wrapped by ` (' and `)$', so one must not match beginning or ++ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', ++ # as well as any symbol that contains `d'. ++ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' ++ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out ++ # platforms (ab)use it in PIC code, but their linkers get confused if ++ # the symbol is explicitly referenced. Since portable code cannot ++ # rely on this symbol name, it's probably fine to never include it in ++ # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. ++ extract_expsyms_cmds= ++ ++ case $host_os in ++ cygwin* | mingw* | pw32* | cegcc*) ++ # FIXME: the MSVC++ port hasn't been tested in a loooong time ++ # When not using gcc, we currently assume that we are using ++ # Microsoft Visual C++. ++ if test "$GCC" != yes; then ++ with_gnu_ld=no ++ fi ++ ;; ++ interix*) ++ # we just hope/assume this is gcc and not c89 (= MSVC++) ++ with_gnu_ld=yes ++ ;; ++ openbsd*) ++ with_gnu_ld=no ++ ;; ++ esac ++ ++ ld_shlibs=yes ++ if test "$with_gnu_ld" = yes; then ++ # If archive_cmds runs LD, not CC, wlarc should be empty ++ wlarc='${wl}' ++ ++ # Set some defaults for GNU ld with shared library support. These ++ # are reset later if shared libraries are not supported. Putting them ++ # here allows them to be overridden if necessary. ++ runpath_var=LD_RUN_PATH ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ export_dynamic_flag_spec='${wl}--export-dynamic' ++ # ancient GNU ld didn't support --whole-archive et. al. ++ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then ++ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' ++ else ++ whole_archive_flag_spec= ++ fi ++ supports_anon_versioning=no ++ case `$LD -v 2>&1` in ++ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 ++ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... ++ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... ++ *\ 2.11.*) ;; # other 2.11 versions ++ *) supports_anon_versioning=yes ;; ++ esac ++ ++ # See if GNU ld supports shared libraries. ++ case $host_os in ++ aix[3-9]*) ++ # On AIX/PPC, the GNU linker is very broken ++ if test "$host_cpu" != ia64; then ++ ld_shlibs=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: the GNU linker, at least up to release 2.9.1, is reported ++*** to be unable to reliably create shared libraries on AIX. ++*** Therefore, libtool is disabling shared libraries support. If you ++*** really care for shared libraries, you may want to modify your PATH ++*** so that a non-GNU linker is found, and then restart. ++ ++_LT_EOF ++ fi ++ ;; ++ ++ amigaos*) ++ case $host_cpu in ++ powerpc) ++ # see comment about AmigaOS4 .so support ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='' ++ ;; ++ m68k) ++ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ ;; ++ esac ++ ;; ++ ++ beos*) ++ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then ++ allow_undefined_flag=unsupported ++ # Joseph Beckenbach says some releases of gcc ++ # support --undefined. This deserves some investigation. FIXME ++ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ cygwin* | mingw* | pw32* | cegcc*) ++ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, ++ # as there is no search path for DLLs. ++ hardcode_libdir_flag_spec='-L$libdir' ++ allow_undefined_flag=unsupported ++ always_export_symbols=no ++ enable_shared_with_static_runtimes=yes ++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' ++ ++ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' ++ # If the export-symbols file already is a .def file (1st line ++ # is EXPORTS), use it as is; otherwise, prepend... ++ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then ++ cp $export_symbols $output_objdir/$soname.def; ++ else ++ echo EXPORTS > $output_objdir/$soname.def; ++ cat $export_symbols >> $output_objdir/$soname.def; ++ fi~ ++ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ interix[3-9]*) ++ hardcode_direct=no ++ hardcode_shlibpath_var=no ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ export_dynamic_flag_spec='${wl}-E' ++ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. ++ # Instead, shared libraries are loaded at an image base (0x10000000 by ++ # default) and relocated if they conflict, which is a slow very memory ++ # consuming and fragmenting process. To avoid this, we pick a random, ++ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link ++ # time. Moving up from 0x10000000 also allows more sbrk(2) space. ++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ ;; ++ ++ gnu* | linux* | tpf* | k*bsd*-gnu) ++ tmp_diet=no ++ if test "$host_os" = linux-dietlibc; then ++ case $cc_basename in ++ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) ++ esac ++ fi ++ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ ++ && test "$tmp_diet" = no ++ then ++ tmp_addflag= ++ tmp_sharedflag='-shared' ++ case $cc_basename,$host_cpu in ++ pgcc*) # Portland Group C compiler ++ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' ++ tmp_addflag=' $pic_flag' ++ ;; ++ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers ++ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' ++ tmp_addflag=' $pic_flag -Mnomain' ;; ++ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 ++ tmp_addflag=' -i_dynamic' ;; ++ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 ++ tmp_addflag=' -i_dynamic -nofor_main' ;; ++ ifc* | ifort*) # Intel Fortran compiler ++ tmp_addflag=' -nofor_main' ;; ++ lf95*) # Lahey Fortran 8.1 ++ whole_archive_flag_spec= ++ tmp_sharedflag='--shared' ;; ++ xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) ++ tmp_sharedflag='-qmkshrobj' ++ tmp_addflag= ;; ++ esac ++ case `$CC -V 2>&1 | sed 5q` in ++ *Sun\ C*) # Sun C 5.9 ++ whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' ++ compiler_needs_object=yes ++ tmp_sharedflag='-G' ;; ++ *Sun\ F*) # Sun Fortran 8.3 ++ tmp_sharedflag='-G' ;; ++ esac ++ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ ++ if test "x$supports_anon_versioning" = xyes; then ++ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ ++ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ ++ echo "local: *; };" >> $output_objdir/$libname.ver~ ++ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' ++ fi ++ ++ case $cc_basename in ++ xlf*) ++ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself ++ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' ++ hardcode_libdir_flag_spec= ++ hardcode_libdir_flag_spec_ld='-rpath $libdir' ++ archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' ++ if test "x$supports_anon_versioning" = xyes; then ++ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ ++ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ ++ echo "local: *; };" >> $output_objdir/$libname.ver~ ++ $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' ++ fi ++ ;; ++ esac ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ netbsd*) ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then ++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' ++ wlarc= ++ else ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ fi ++ ;; ++ ++ solaris*) ++ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ++ ld_shlibs=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: The releases 2.8.* of the GNU linker cannot reliably ++*** create shared libraries on Solaris systems. Therefore, libtool ++*** is disabling shared libraries support. We urge you to upgrade GNU ++*** binutils to release 2.9.1 or newer. Another option is to modify ++*** your PATH or compiler configuration so that the native linker is ++*** used, and then restart. ++ ++_LT_EOF ++ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) ++ case `$LD -v 2>&1` in ++ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ++ ld_shlibs=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not ++*** reliably create shared libraries on SCO systems. Therefore, libtool ++*** is disabling shared libraries support. We urge you to upgrade GNU ++*** binutils to release 2.16.91.0.3 or newer. Another option is to modify ++*** your PATH or compiler configuration so that the native linker is ++*** used, and then restart. ++ ++_LT_EOF ++ ;; ++ *) ++ # For security reasons, it is highly recommended that you always ++ # use absolute paths for naming shared libraries, and exclude the ++ # DT_RUNPATH tag from executables and libraries. But doing so ++ # requires that you compile everything twice, which is a pain. ++ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ esac ++ ;; ++ ++ sunos4*) ++ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' ++ wlarc= ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ *) ++ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ esac ++ ++ if test "$ld_shlibs" = no; then ++ runpath_var= ++ hardcode_libdir_flag_spec= ++ export_dynamic_flag_spec= ++ whole_archive_flag_spec= ++ fi ++ else ++ # PORTME fill in a description of your system's linker (not GNU ld) ++ case $host_os in ++ aix3*) ++ allow_undefined_flag=unsupported ++ always_export_symbols=yes ++ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' ++ # Note: this linker hardcodes the directories in LIBPATH if there ++ # are no directories specified by -L. ++ hardcode_minus_L=yes ++ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then ++ # Neither direct hardcoding nor static linking is supported with a ++ # broken collect2. ++ hardcode_direct=unsupported ++ fi ++ ;; ++ ++ aix[4-9]*) ++ if test "$host_cpu" = ia64; then ++ # On IA64, the linker does run time linking by default, so we don't ++ # have to do anything special. ++ aix_use_runtimelinking=no ++ exp_sym_flag='-Bexport' ++ no_entry_flag="" ++ else ++ # If we're using GNU nm, then we don't want the "-C" option. ++ # -C means demangle to AIX nm, but means don't demangle with GNU nm ++ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then ++ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' ++ else ++ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' ++ fi ++ aix_use_runtimelinking=no ++ ++ # Test if we are trying to use run time linking or normal ++ # AIX style linking. If -brtl is somewhere in LDFLAGS, we ++ # need to do runtime linking. ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) ++ for ld_flag in $LDFLAGS; do ++ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then ++ aix_use_runtimelinking=yes ++ break ++ fi ++ done ++ ;; ++ esac ++ ++ exp_sym_flag='-bexport' ++ no_entry_flag='-bnoentry' ++ fi ++ ++ # When large executables or shared objects are built, AIX ld can ++ # have problems creating the table of contents. If linking a library ++ # or program results in "error TOC overflow" add -mminimal-toc to ++ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not ++ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. ++ ++ archive_cmds='' ++ hardcode_direct=yes ++ hardcode_direct_absolute=yes ++ hardcode_libdir_separator=':' ++ link_all_deplibs=yes ++ file_list_spec='${wl}-f,' ++ ++ if test "$GCC" = yes; then ++ case $host_os in aix4.[012]|aix4.[012].*) ++ # We only want to do this on AIX 4.2 and lower, the check ++ # below for broken collect2 doesn't work under 4.3+ ++ collect2name=`${CC} -print-prog-name=collect2` ++ if test -f "$collect2name" && ++ strings "$collect2name" | $GREP resolve_lib_name >/dev/null ++ then ++ # We have reworked collect2 ++ : ++ else ++ # We have old collect2 ++ hardcode_direct=unsupported ++ # It fails to find uninstalled libraries when the uninstalled ++ # path is not listed in the libpath. Setting hardcode_minus_L ++ # to unsupported forces relinking ++ hardcode_minus_L=yes ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_libdir_separator= ++ fi ++ ;; ++ esac ++ shared_flag='-shared' ++ if test "$aix_use_runtimelinking" = yes; then ++ shared_flag="$shared_flag "'${wl}-G' ++ fi ++ else ++ # not using gcc ++ if test "$host_cpu" = ia64; then ++ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release ++ # chokes on -Wl,-G. The following line is correct: ++ shared_flag='-G' ++ else ++ if test "$aix_use_runtimelinking" = yes; then ++ shared_flag='${wl}-G' ++ else ++ shared_flag='${wl}-bM:SRE' ++ fi ++ fi ++ fi ++ ++ export_dynamic_flag_spec='${wl}-bexpall' ++ # It seems that -bexpall does not export symbols beginning with ++ # underscore (_), so it is better to generate a list of symbols to export. ++ always_export_symbols=yes ++ if test "$aix_use_runtimelinking" = yes; then ++ # Warning - without using the other runtime loading flags (-brtl), ++ # -berok will link without error, but may produce a broken library. ++ allow_undefined_flag='-berok' ++ # Determine the default libpath from the value encoded in an ++ # empty executable. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++lt_aix_libpath_sed=' ++ /Import File Strings/,/^$/ { ++ /^0/ { ++ s/^0 *\(.*\)$/\1/ ++ p ++ } ++ }' ++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` ++# Check for a 64-bit object if we didn't find anything. ++if test -z "$aix_libpath"; then ++ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` ++fi ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ++ ++ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" ++ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" ++ else ++ if test "$host_cpu" = ia64; then ++ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' ++ allow_undefined_flag="-z nodefs" ++ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" ++ else ++ # Determine the default libpath from the value encoded in an ++ # empty executable. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++lt_aix_libpath_sed=' ++ /Import File Strings/,/^$/ { ++ /^0/ { ++ s/^0 *\(.*\)$/\1/ ++ p ++ } ++ }' ++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` ++# Check for a 64-bit object if we didn't find anything. ++if test -z "$aix_libpath"; then ++ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` ++fi ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ++ ++ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" ++ # Warning - without using the other run time loading flags, ++ # -berok will link without error, but may produce a broken library. ++ no_undefined_flag=' ${wl}-bernotok' ++ allow_undefined_flag=' ${wl}-berok' ++ # Exported symbols can be pulled into shared objects from archives ++ whole_archive_flag_spec='$convenience' ++ archive_cmds_need_lc=yes ++ # This is similar to how AIX traditionally builds its shared libraries. ++ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' ++ fi ++ fi ++ ;; ++ ++ amigaos*) ++ case $host_cpu in ++ powerpc) ++ # see comment about AmigaOS4 .so support ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='' ++ ;; ++ m68k) ++ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ ;; ++ esac ++ ;; ++ ++ bsdi[45]*) ++ export_dynamic_flag_spec=-rdynamic ++ ;; ++ ++ cygwin* | mingw* | pw32* | cegcc*) ++ # When not using gcc, we currently assume that we are using ++ # Microsoft Visual C++. ++ # hardcode_libdir_flag_spec is actually meaningless, as there is ++ # no search path for DLLs. ++ hardcode_libdir_flag_spec=' ' ++ allow_undefined_flag=unsupported ++ # Tell ltmain to make .lib files, not .a files. ++ libext=lib ++ # Tell ltmain to make .dll files, not .so files. ++ shrext_cmds=".dll" ++ # FIXME: Setting linknames here is a bad hack. ++ archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' ++ # The linker will automatically build a .lib file if we build a DLL. ++ old_archive_from_new_cmds='true' ++ # FIXME: Should let the user specify the lib program. ++ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' ++ fix_srcfile_path='`cygpath -w "$srcfile"`' ++ enable_shared_with_static_runtimes=yes ++ ;; ++ ++ darwin* | rhapsody*) ++ ++ ++ archive_cmds_need_lc=no ++ hardcode_direct=no ++ hardcode_automatic=yes ++ hardcode_shlibpath_var=unsupported ++ whole_archive_flag_spec='' ++ link_all_deplibs=yes ++ allow_undefined_flag="$_lt_dar_allow_undefined" ++ case $cc_basename in ++ ifort*) _lt_dar_can_shared=yes ;; ++ *) _lt_dar_can_shared=$GCC ;; ++ esac ++ if test "$_lt_dar_can_shared" = "yes"; then ++ output_verbose_link_cmd=echo ++ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" ++ ++ else ++ ld_shlibs=no ++ fi ++ ++ ;; ++ ++ dgux*) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_shlibpath_var=no ++ ;; ++ ++ freebsd1*) ++ ld_shlibs=no ++ ;; ++ ++ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor ++ # support. Future versions do this automatically, but an explicit c++rt0.o ++ # does not break anything, and helps significantly (at the cost of a little ++ # extra space). ++ freebsd2.2*) ++ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ # Unfortunately, older versions of FreeBSD 2 do not have this feature. ++ freebsd2*) ++ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_direct=yes ++ hardcode_minus_L=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. ++ freebsd* | dragonfly*) ++ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ hpux9*) ++ if test "$GCC" = yes; then ++ archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ++ else ++ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ++ fi ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ hardcode_direct=yes ++ ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ export_dynamic_flag_spec='${wl}-E' ++ ;; ++ ++ hpux10*) ++ if test "$GCC" = yes -a "$with_gnu_ld" = no; then ++ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ fi ++ if test "$with_gnu_ld" = no; then ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_flag_spec_ld='+b $libdir' ++ hardcode_libdir_separator=: ++ hardcode_direct=yes ++ hardcode_direct_absolute=yes ++ export_dynamic_flag_spec='${wl}-E' ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ fi ++ ;; ++ ++ hpux11*) ++ if test "$GCC" = yes -a "$with_gnu_ld" = no; then ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ *) ++ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ esac ++ else ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ *) ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ esac ++ fi ++ if test "$with_gnu_ld" = no; then ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ++ case $host_cpu in ++ hppa*64*|ia64*) ++ hardcode_direct=no ++ hardcode_shlibpath_var=no ++ ;; ++ *) ++ hardcode_direct=yes ++ hardcode_direct_absolute=yes ++ export_dynamic_flag_spec='${wl}-E' ++ ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ ;; ++ esac ++ fi ++ ;; ++ ++ irix5* | irix6* | nonstopux*) ++ if test "$GCC" = yes; then ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ++ # Try to use the -exported_symbol ld option, if it does not ++ # work, assume that -exports_file does not work either and ++ # implicitly export all symbols. ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++int foo(void) {} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LDFLAGS="$save_LDFLAGS" ++ else ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' ++ fi ++ archive_cmds_need_lc='no' ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ inherit_rpath=yes ++ link_all_deplibs=yes ++ ;; ++ ++ netbsd*) ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then ++ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out ++ else ++ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF ++ fi ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ newsos6) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_direct=yes ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ hardcode_shlibpath_var=no ++ ;; ++ ++ *nto* | *qnx*) ++ ;; ++ ++ openbsd*) ++ if test -f /usr/libexec/ld.so; then ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ hardcode_direct_absolute=yes ++ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ export_dynamic_flag_spec='${wl}-E' ++ else ++ case $host_os in ++ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) ++ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_libdir_flag_spec='-R$libdir' ++ ;; ++ *) ++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ ;; ++ esac ++ fi ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ ++ os2*) ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_minus_L=yes ++ allow_undefined_flag=unsupported ++ archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' ++ old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ++ ;; ++ ++ osf3*) ++ if test "$GCC" = yes; then ++ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' ++ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ++ else ++ allow_undefined_flag=' -expect_unresolved \*' ++ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' ++ fi ++ archive_cmds_need_lc='no' ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ;; ++ ++ osf4* | osf5*) # as osf3* with the addition of -msym flag ++ if test "$GCC" = yes; then ++ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' ++ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ++ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ++ else ++ allow_undefined_flag=' -expect_unresolved \*' ++ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' ++ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ ++ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' ++ ++ # Both c and cxx compiler support -rpath directly ++ hardcode_libdir_flag_spec='-rpath $libdir' ++ fi ++ archive_cmds_need_lc='no' ++ hardcode_libdir_separator=: ++ ;; ++ ++ solaris*) ++ no_undefined_flag=' -z defs' ++ if test "$GCC" = yes; then ++ wlarc='${wl}' ++ archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ ++ $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ++ else ++ case `$CC -V 2>&1` in ++ *"Compilers 5.0"*) ++ wlarc='' ++ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ ++ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ++ ;; ++ *) ++ wlarc='${wl}' ++ archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ ++ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ++ ;; ++ esac ++ fi ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_shlibpath_var=no ++ case $host_os in ++ solaris2.[0-5] | solaris2.[0-5].*) ;; ++ *) ++ # The compiler driver will combine and reorder linker options, ++ # but understands `-z linker_flag'. GCC discards it without `$wl', ++ # but is careful enough not to reorder. ++ # Supported since Solaris 2.6 (maybe 2.5.1?) ++ if test "$GCC" = yes; then ++ whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ++ else ++ whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ++ fi ++ ;; ++ esac ++ link_all_deplibs=yes ++ ;; ++ ++ sunos4*) ++ if test "x$host_vendor" = xsequent; then ++ # Use $CC to link under sequent, because it throws in some extra .o ++ # files that make .init and .fini sections work. ++ archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' ++ fi ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_direct=yes ++ hardcode_minus_L=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ sysv4) ++ case $host_vendor in ++ sni) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_direct=yes # is this really true??? ++ ;; ++ siemens) ++ ## LD is ld it makes a PLAMLIB ++ ## CC just makes a GrossModule. ++ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' ++ reload_cmds='$CC -r -o $output$reload_objs' ++ hardcode_direct=no ++ ;; ++ motorola) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_direct=no #Motorola manual says yes, but my tests say they lie ++ ;; ++ esac ++ runpath_var='LD_RUN_PATH' ++ hardcode_shlibpath_var=no ++ ;; ++ ++ sysv4.3*) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_shlibpath_var=no ++ export_dynamic_flag_spec='-Bexport' ++ ;; ++ ++ sysv4*MP*) ++ if test -d /usr/nec; then ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_shlibpath_var=no ++ runpath_var=LD_RUN_PATH ++ hardcode_runpath_var=yes ++ ld_shlibs=yes ++ fi ++ ;; ++ ++ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ++ no_undefined_flag='${wl}-z,text' ++ archive_cmds_need_lc=no ++ hardcode_shlibpath_var=no ++ runpath_var='LD_RUN_PATH' ++ ++ if test "$GCC" = yes; then ++ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ fi ++ ;; ++ ++ sysv5* | sco3.2v5* | sco5v6*) ++ # Note: We can NOT use -z defs as we might desire, because we do not ++ # link with -lc, and that would cause any symbols used from libc to ++ # always be unresolved, which means just about no library would ++ # ever link correctly. If we're not using GNU ld we use -z text ++ # though, which does catch some bad symbols but isn't as heavy-handed ++ # as -z defs. ++ no_undefined_flag='${wl}-z,text' ++ allow_undefined_flag='${wl}-z,nodefs' ++ archive_cmds_need_lc=no ++ hardcode_shlibpath_var=no ++ hardcode_libdir_flag_spec='${wl}-R,$libdir' ++ hardcode_libdir_separator=':' ++ link_all_deplibs=yes ++ export_dynamic_flag_spec='${wl}-Bexport' ++ runpath_var='LD_RUN_PATH' ++ ++ if test "$GCC" = yes; then ++ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ fi ++ ;; ++ ++ uts4*) ++ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ++ hardcode_libdir_flag_spec='-L$libdir' ++ hardcode_shlibpath_var=no ++ ;; ++ ++ *) ++ ld_shlibs=no ++ ;; ++ esac ++ ++ if test x$host_vendor = xsni; then ++ case $host in ++ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++ export_dynamic_flag_spec='${wl}-Blargedynsym' ++ ;; ++ esac ++ fi ++ fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 ++$as_echo "$ld_shlibs" >&6; } ++test "$ld_shlibs" = no && can_build_shared=no ++ ++with_gnu_ld=$with_gnu_ld ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# ++# Do we need to explicitly link libc? ++# ++case "x$archive_cmds_need_lc" in ++x|xyes) ++ # Assume -lc should be added ++ archive_cmds_need_lc=yes ++ ++ if test "$enable_shared" = yes && test "$GCC" = yes; then ++ case $archive_cmds in ++ *'~'*) ++ # FIXME: we may have to deal with multi-command sequences. ++ ;; ++ '$CC '*) ++ # Test whether the compiler implicitly links with -lc since on some ++ # systems, -lgcc has to come before -lc. If gcc already passes -lc ++ # to ld, don't add -lc before -lgcc. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 ++$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } ++ $RM conftest* ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } 2>conftest.err; then ++ soname=conftest ++ lib=conftest ++ libobjs=conftest.$ac_objext ++ deplibs= ++ wl=$lt_prog_compiler_wl ++ pic_flag=$lt_prog_compiler_pic ++ compiler_flags=-v ++ linker_flags=-v ++ verstring= ++ output_objdir=. ++ libname=conftest ++ lt_save_allow_undefined_flag=$allow_undefined_flag ++ allow_undefined_flag= ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 ++ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++ then ++ archive_cmds_need_lc=no ++ else ++ archive_cmds_need_lc=yes ++ fi ++ allow_undefined_flag=$lt_save_allow_undefined_flag ++ else ++ cat conftest.err 1>&5 ++ fi ++ $RM conftest* ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 ++$as_echo "$archive_cmds_need_lc" >&6; } ++ ;; ++ esac ++ fi ++ ;; ++esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 ++$as_echo_n "checking dynamic linker characteristics... " >&6; } ++ ++if test "$GCC" = yes; then ++ case $host_os in ++ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; ++ *) lt_awk_arg="/^libraries:/" ;; ++ esac ++ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` ++ if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then ++ # if the path contains ";" then we assume it to be the separator ++ # otherwise default to the standard path separator (i.e. ":") - it is ++ # assumed that no part of a normal pathname contains ";" but that should ++ # okay in the real world where ";" in dirpaths is itself problematic. ++ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` ++ else ++ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ++ fi ++ # Ok, now we have the path, separated by spaces, we can step through it ++ # and add multilib dir if necessary. ++ lt_tmp_lt_search_path_spec= ++ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` ++ for lt_sys_path in $lt_search_path_spec; do ++ if test -d "$lt_sys_path/$lt_multi_os_dir"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" ++ else ++ test -d "$lt_sys_path" && \ ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" ++ fi ++ done ++ lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' ++BEGIN {RS=" "; FS="/|\n";} { ++ lt_foo=""; ++ lt_count=0; ++ for (lt_i = NF; lt_i > 0; lt_i--) { ++ if ($lt_i != "" && $lt_i != ".") { ++ if ($lt_i == "..") { ++ lt_count++; ++ } else { ++ if (lt_count == 0) { ++ lt_foo="/" $lt_i lt_foo; ++ } else { ++ lt_count--; ++ } ++ } ++ } ++ } ++ if (lt_foo != "") { lt_freq[lt_foo]++; } ++ if (lt_freq[lt_foo] == 1) { print lt_foo; } ++}'` ++ sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` ++else ++ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" ++fi ++library_names_spec= ++libname_spec='lib$name' ++soname_spec= ++shrext_cmds=".so" ++postinstall_cmds= ++postuninstall_cmds= ++finish_cmds= ++finish_eval= ++shlibpath_var= ++shlibpath_overrides_runpath=unknown ++version_type=none ++dynamic_linker="$host_os ld.so" ++sys_lib_dlsearch_path_spec="/lib /usr/lib" ++need_lib_prefix=unknown ++hardcode_into_libs=no ++ ++# when you set need_version to no, make sure it does not cause -set_version ++# flags to be left without arguments ++need_version=unknown ++ ++case $host_os in ++aix3*) ++ version_type=linux ++ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' ++ shlibpath_var=LIBPATH ++ ++ # AIX 3 has no versioning support, so we append a major version to the name. ++ soname_spec='${libname}${release}${shared_ext}$major' ++ ;; ++ ++aix[4-9]*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ hardcode_into_libs=yes ++ if test "$host_cpu" = ia64; then ++ # AIX 5 supports IA64 ++ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ else ++ # With GCC up to 2.95.x, collect2 would create an import file ++ # for dependence libraries. The import file would start with ++ # the line `#! .'. This would cause the generated library to ++ # depend on `.', always an invalid library. This was fixed in ++ # development snapshots of GCC prior to 3.0. ++ case $host_os in ++ aix4 | aix4.[01] | aix4.[01].*) ++ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' ++ echo ' yes ' ++ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then ++ : ++ else ++ can_build_shared=no ++ fi ++ ;; ++ esac ++ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct ++ # soname into executable. Probably we can add versioning support to ++ # collect2, so additional links can be useful in future. ++ if test "$aix_use_runtimelinking" = yes; then ++ # If using run time linking (on AIX 4.2 or later) use lib.so ++ # instead of lib.a to let people know that these are not ++ # typical AIX shared libraries. ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ else ++ # We preserve .a as extension for shared libraries through AIX4.2 ++ # and later when we are not doing run time linking. ++ library_names_spec='${libname}${release}.a $libname.a' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ fi ++ shlibpath_var=LIBPATH ++ fi ++ ;; ++ ++amigaos*) ++ case $host_cpu in ++ powerpc) ++ # Since July 2007 AmigaOS4 officially supports .so libraries. ++ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ ;; ++ m68k) ++ library_names_spec='$libname.ixlibrary $libname.a' ++ # Create ${libname}_ixlibrary.a entries in /sys/libs. ++ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ++ ;; ++ esac ++ ;; ++ ++beos*) ++ library_names_spec='${libname}${shared_ext}' ++ dynamic_linker="$host_os ld.so" ++ shlibpath_var=LIBRARY_PATH ++ ;; ++ ++bsdi[45]*) ++ version_type=linux ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" ++ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" ++ # the default ld.so.conf also contains /usr/contrib/lib and ++ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow ++ # libtool to hard-code these into programs ++ ;; ++ ++cygwin* | mingw* | pw32* | cegcc*) ++ version_type=windows ++ shrext_cmds=".dll" ++ need_version=no ++ need_lib_prefix=no ++ ++ case $GCC,$host_os in ++ yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) ++ library_names_spec='$libname.dll.a' ++ # DLL is installed to $(libdir)/../bin by postinstall_cmds ++ postinstall_cmds='base_file=`basename \${file}`~ ++ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ ++ dldir=$destdir/`dirname \$dlpath`~ ++ test -d \$dldir || mkdir -p \$dldir~ ++ $install_prog $dir/$dlname \$dldir/$dlname~ ++ chmod a+x \$dldir/$dlname~ ++ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then ++ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; ++ fi' ++ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ ++ dlpath=$dir/\$dldll~ ++ $RM \$dlpath' ++ shlibpath_overrides_runpath=yes ++ ++ case $host_os in ++ cygwin*) ++ # Cygwin DLLs use 'cyg' prefix rather than 'lib' ++ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ++ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ++ ;; ++ mingw* | cegcc*) ++ # MinGW DLLs use traditional 'lib' prefix ++ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ++ sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` ++ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then ++ # It is most probably a Windows format PATH printed by ++ # mingw gcc, but we are running on Cygwin. Gcc prints its search ++ # path with ; separators, and with drive letters. We can handle the ++ # drive letters (cygwin fileutils understands them), so leave them, ++ # especially as we might pass files found there to a mingw objdump, ++ # which wouldn't understand a cygwinified path. Ahh. ++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` ++ else ++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ++ fi ++ ;; ++ pw32*) ++ # pw32 DLLs use 'pw' prefix rather than 'lib' ++ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ++ ;; ++ esac ++ ;; ++ ++ *) ++ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ++ ;; ++ esac ++ dynamic_linker='Win32 ld.exe' ++ # FIXME: first we should search . and the directory the executable is in ++ shlibpath_var=PATH ++ ;; ++ ++darwin* | rhapsody*) ++ dynamic_linker="$host_os dyld" ++ version_type=darwin ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' ++ soname_spec='${libname}${release}${major}$shared_ext' ++ shlibpath_overrides_runpath=yes ++ shlibpath_var=DYLD_LIBRARY_PATH ++ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' ++ ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" ++ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ++ ;; ++ ++dgux*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++freebsd1*) ++ dynamic_linker=no ++ ;; ++ ++freebsd* | dragonfly*) ++ # DragonFly does not have aout. When/if they implement a new ++ # versioning mechanism, adjust this. ++ if test -x /usr/bin/objformat; then ++ objformat=`/usr/bin/objformat` ++ else ++ case $host_os in ++ freebsd[123]*) objformat=aout ;; ++ *) objformat=elf ;; ++ esac ++ fi ++ version_type=freebsd-$objformat ++ case $version_type in ++ freebsd-elf*) ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ need_version=no ++ need_lib_prefix=no ++ ;; ++ freebsd-*) ++ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' ++ need_version=yes ++ ;; ++ esac ++ shlibpath_var=LD_LIBRARY_PATH ++ case $host_os in ++ freebsd2*) ++ shlibpath_overrides_runpath=yes ++ ;; ++ freebsd3.[01]* | freebsdelf3.[01]*) ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; ++ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ ++ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ *) # from 4.6 on, and DragonFly ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; ++ esac ++ ;; ++ ++gnu*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ hardcode_into_libs=yes ++ ;; ++ ++hpux9* | hpux10* | hpux11*) ++ # Give a soname corresponding to the major version so that dld.sl refuses to ++ # link against other versions. ++ version_type=sunos ++ need_lib_prefix=no ++ need_version=no ++ case $host_cpu in ++ ia64*) ++ shrext_cmds='.so' ++ hardcode_into_libs=yes ++ dynamic_linker="$host_os dld.so" ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ if test "X$HPUX_IA64_MODE" = X32; then ++ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" ++ else ++ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" ++ fi ++ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ++ ;; ++ hppa*64*) ++ shrext_cmds='.sl' ++ hardcode_into_libs=yes ++ dynamic_linker="$host_os dld.sl" ++ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH ++ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" ++ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ++ ;; ++ *) ++ shrext_cmds='.sl' ++ dynamic_linker="$host_os dld.sl" ++ shlibpath_var=SHLIB_PATH ++ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ ;; ++ esac ++ # HP-UX runs *really* slowly unless shared libraries are mode 555. ++ postinstall_cmds='chmod 555 $lib' ++ ;; ++ ++interix[3-9]*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ ++irix5* | irix6* | nonstopux*) ++ case $host_os in ++ nonstopux*) version_type=nonstopux ;; ++ *) ++ if test "$lt_cv_prog_gnu_ld" = yes; then ++ version_type=linux ++ else ++ version_type=irix ++ fi ;; ++ esac ++ need_lib_prefix=no ++ need_version=no ++ soname_spec='${libname}${release}${shared_ext}$major' ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' ++ case $host_os in ++ irix5* | nonstopux*) ++ libsuff= shlibsuff= ++ ;; ++ *) ++ case $LD in # libtool.m4 will add one of these switches to LD ++ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") ++ libsuff= shlibsuff= libmagic=32-bit;; ++ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") ++ libsuff=32 shlibsuff=N32 libmagic=N32;; ++ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") ++ libsuff=64 shlibsuff=64 libmagic=64-bit;; ++ *) libsuff= shlibsuff= libmagic=never-match;; ++ esac ++ ;; ++ esac ++ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH ++ shlibpath_overrides_runpath=no ++ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" ++ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" ++ hardcode_into_libs=yes ++ ;; ++ ++# No shared lib support for Linux oldld, aout, or coff. ++linux*oldld* | linux*aout* | linux*coff*) ++ dynamic_linker=no ++ ;; ++ ++# This must be Linux ELF. ++linux* | k*bsd*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ # Some binutils ld are patched to set DT_RUNPATH ++ save_LDFLAGS=$LDFLAGS ++ save_libdir=$libdir ++ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ ++ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : ++ shlibpath_overrides_runpath=yes ++fi ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LDFLAGS=$save_LDFLAGS ++ libdir=$save_libdir ++ ++ # This implies no fast_install, which is unacceptable. ++ # Some rework will be needed to allow for fast_install ++ # before this can be enabled. ++ hardcode_into_libs=yes ++ ++ # Add ABI-specific directories to the system library path. ++ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" ++ ++ # Append ld.so.conf contents to the search path ++ if test -f /etc/ld.so.conf; then ++ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` ++ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" ++ fi ++ ++ # We used to test for /lib/ld.so.1 and disable shared libraries on ++ # powerpc, because MkLinux only supported shared libraries with the ++ # GNU dynamic linker. Since this was broken with cross compilers, ++ # most powerpc-linux boxes support dynamic linking these days and ++ # people can always --disable-shared, the test was removed, and we ++ # assume the GNU/Linux dynamic linker is in use. ++ dynamic_linker='GNU/Linux ld.so' ++ ;; ++ ++netbsd*) ++ version_type=sunos ++ need_lib_prefix=no ++ need_version=no ++ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ++ dynamic_linker='NetBSD (a.out) ld.so' ++ else ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='NetBSD ld.elf_so' ++ fi ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; ++ ++newsos6) ++ version_type=linux ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ ;; ++ ++*nto* | *qnx*) ++ version_type=qnx ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='ldqnx.so' ++ ;; ++ ++openbsd*) ++ version_type=sunos ++ sys_lib_dlsearch_path_spec="/usr/lib" ++ need_lib_prefix=no ++ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. ++ case $host_os in ++ openbsd3.3 | openbsd3.3.*) need_version=yes ;; ++ *) need_version=no ;; ++ esac ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ++ case $host_os in ++ openbsd2.[89] | openbsd2.[89].*) ++ shlibpath_overrides_runpath=no ++ ;; ++ *) ++ shlibpath_overrides_runpath=yes ++ ;; ++ esac ++ else ++ shlibpath_overrides_runpath=yes ++ fi ++ ;; ++ ++os2*) ++ libname_spec='$name' ++ shrext_cmds=".dll" ++ need_lib_prefix=no ++ library_names_spec='$libname${shared_ext} $libname.a' ++ dynamic_linker='OS/2 ld.exe' ++ shlibpath_var=LIBPATH ++ ;; ++ ++osf3* | osf4* | osf5*) ++ version_type=osf ++ need_lib_prefix=no ++ need_version=no ++ soname_spec='${libname}${release}${shared_ext}$major' ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" ++ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ++ ;; ++ ++rdos*) ++ dynamic_linker=no ++ ;; ++ ++solaris*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ # ldd complains unless libraries are executable ++ postinstall_cmds='chmod +x $lib' ++ ;; ++ ++sunos4*) ++ version_type=sunos ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' ++ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ if test "$with_gnu_ld" = yes; then ++ need_lib_prefix=no ++ fi ++ need_version=yes ++ ;; ++ ++sysv4 | sysv4.3*) ++ version_type=linux ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ case $host_vendor in ++ sni) ++ shlibpath_overrides_runpath=no ++ need_lib_prefix=no ++ runpath_var=LD_RUN_PATH ++ ;; ++ siemens) ++ need_lib_prefix=no ++ ;; ++ motorola) ++ need_lib_prefix=no ++ need_version=no ++ shlibpath_overrides_runpath=no ++ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ++ ;; ++ esac ++ ;; ++ ++sysv4*MP*) ++ if test -d /usr/nec ;then ++ version_type=linux ++ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' ++ soname_spec='$libname${shared_ext}.$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ fi ++ ;; ++ ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ version_type=freebsd-elf ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ if test "$with_gnu_ld" = yes; then ++ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' ++ else ++ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' ++ case $host_os in ++ sco3.2v5*) ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ++ ;; ++ esac ++ fi ++ sys_lib_dlsearch_path_spec='/usr/lib' ++ ;; ++ ++tpf*) ++ # TPF is a cross-target only. Preferred cross-host = GNU/Linux. ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ ++uts4*) ++ version_type=linux ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++*) ++ dynamic_linker=no ++ ;; ++esac ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 ++$as_echo "$dynamic_linker" >&6; } ++test "$dynamic_linker" = no && can_build_shared=no ++ ++variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ++if test "$GCC" = yes; then ++ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ++fi ++ ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++fi ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 ++$as_echo_n "checking how to hardcode library paths into programs... " >&6; } ++hardcode_action= ++if test -n "$hardcode_libdir_flag_spec" || ++ test -n "$runpath_var" || ++ test "X$hardcode_automatic" = "Xyes" ; then ++ ++ # We can hardcode non-existent directories. ++ if test "$hardcode_direct" != no && ++ # If the only mechanism to avoid hardcoding is shlibpath_var, we ++ # have to relink, otherwise we might link with an installed library ++ # when we should be linking with a yet-to-be-installed one ++ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && ++ test "$hardcode_minus_L" != no; then ++ # Linking always hardcodes the temporary library directory. ++ hardcode_action=relink ++ else ++ # We can link without hardcoding, and we can hardcode nonexisting dirs. ++ hardcode_action=immediate ++ fi ++else ++ # We cannot hardcode anything, or else we can only hardcode existing ++ # directories. ++ hardcode_action=unsupported ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 ++$as_echo "$hardcode_action" >&6; } ++ ++if test "$hardcode_action" = relink || ++ test "$inherit_rpath" = yes; then ++ # Fast installation is not supported ++ enable_fast_install=no ++elif test "$shlibpath_overrides_runpath" = yes || ++ test "$enable_shared" = no; then ++ # Fast installation is not necessary ++ enable_fast_install=needless ++fi ++ ++ ++ ++ ++ ++ ++ if test "x$enable_dlopen" != xyes; then ++ enable_dlopen=unknown ++ enable_dlopen_self=unknown ++ enable_dlopen_self_static=unknown ++else ++ lt_cv_dlopen=no ++ lt_cv_dlopen_libs= ++ ++ case $host_os in ++ beos*) ++ lt_cv_dlopen="load_add_on" ++ lt_cv_dlopen_libs= ++ lt_cv_dlopen_self=yes ++ ;; ++ ++ mingw* | pw32* | cegcc*) ++ lt_cv_dlopen="LoadLibrary" ++ lt_cv_dlopen_libs= ++ ;; ++ ++ cygwin*) ++ lt_cv_dlopen="dlopen" ++ lt_cv_dlopen_libs= ++ ;; ++ ++ darwin*) ++ # if libdl is installed we need to link against it ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dl_dlopen=yes ++else ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : ++ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" ++else ++ ++ lt_cv_dlopen="dyld" ++ lt_cv_dlopen_libs= ++ lt_cv_dlopen_self=yes ++ ++fi ++ ++ ;; ++ ++ *) ++ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" ++if test "x$ac_cv_func_shl_load" = x""yes; then : ++ lt_cv_dlopen="shl_load" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 ++$as_echo_n "checking for shl_load in -ldld... " >&6; } ++if test "${ac_cv_lib_dld_shl_load+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldld $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char shl_load (); ++int ++main () ++{ ++return shl_load (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dld_shl_load=yes ++else ++ ac_cv_lib_dld_shl_load=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 ++$as_echo "$ac_cv_lib_dld_shl_load" >&6; } ++if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : ++ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" ++else ++ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" ++if test "x$ac_cv_func_dlopen" = x""yes; then : ++ lt_cv_dlopen="dlopen" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dl_dlopen=yes ++else ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : ++ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 ++$as_echo_n "checking for dlopen in -lsvld... " >&6; } ++if test "${ac_cv_lib_svld_dlopen+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsvld $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_svld_dlopen=yes ++else ++ ac_cv_lib_svld_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 ++$as_echo "$ac_cv_lib_svld_dlopen" >&6; } ++if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : ++ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 ++$as_echo_n "checking for dld_link in -ldld... " >&6; } ++if test "${ac_cv_lib_dld_dld_link+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldld $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dld_link (); ++int ++main () ++{ ++return dld_link (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dld_dld_link=yes ++else ++ ac_cv_lib_dld_dld_link=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 ++$as_echo "$ac_cv_lib_dld_dld_link" >&6; } ++if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : ++ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" ++fi ++ ++ ++fi ++ ++ ++fi ++ ++ ++fi ++ ++ ++fi ++ ++ ++fi ++ ++ ;; ++ esac ++ ++ if test "x$lt_cv_dlopen" != xno; then ++ enable_dlopen=yes ++ else ++ enable_dlopen=no ++ fi ++ ++ case $lt_cv_dlopen in ++ dlopen) ++ save_CPPFLAGS="$CPPFLAGS" ++ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" ++ ++ save_LDFLAGS="$LDFLAGS" ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" ++ ++ save_LIBS="$LIBS" ++ LIBS="$lt_cv_dlopen_libs $LIBS" ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 ++$as_echo_n "checking whether a program can dlopen itself... " >&6; } ++if test "${lt_cv_dlopen_self+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ lt_cv_dlopen_self=cross ++else ++ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 ++ lt_status=$lt_dlunknown ++ cat > conftest.$ac_ext <<_LT_EOF ++#line __oline__ "configure" ++#include "confdefs.h" ++ ++#if HAVE_DLFCN_H ++#include ++#endif ++ ++#include ++ ++#ifdef RTLD_GLOBAL ++# define LT_DLGLOBAL RTLD_GLOBAL ++#else ++# ifdef DL_GLOBAL ++# define LT_DLGLOBAL DL_GLOBAL ++# else ++# define LT_DLGLOBAL 0 ++# endif ++#endif ++ ++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we ++ find out it does not work in some platform. */ ++#ifndef LT_DLLAZY_OR_NOW ++# ifdef RTLD_LAZY ++# define LT_DLLAZY_OR_NOW RTLD_LAZY ++# else ++# ifdef DL_LAZY ++# define LT_DLLAZY_OR_NOW DL_LAZY ++# else ++# ifdef RTLD_NOW ++# define LT_DLLAZY_OR_NOW RTLD_NOW ++# else ++# ifdef DL_NOW ++# define LT_DLLAZY_OR_NOW DL_NOW ++# else ++# define LT_DLLAZY_OR_NOW 0 ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++void fnord() { int i=42;} ++int main () ++{ ++ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); ++ int status = $lt_dlunknown; ++ ++ if (self) ++ { ++ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; ++ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; ++ /* dlclose (self); */ ++ } ++ else ++ puts (dlerror ()); ++ ++ return status; ++} ++_LT_EOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then ++ (./conftest; exit; ) >&5 2>/dev/null ++ lt_status=$? ++ case x$lt_status in ++ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; ++ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; ++ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; ++ esac ++ else : ++ # compilation failed ++ lt_cv_dlopen_self=no ++ fi ++fi ++rm -fr conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 ++$as_echo "$lt_cv_dlopen_self" >&6; } ++ ++ if test "x$lt_cv_dlopen_self" = xyes; then ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 ++$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } ++if test "${lt_cv_dlopen_self_static+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ lt_cv_dlopen_self_static=cross ++else ++ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 ++ lt_status=$lt_dlunknown ++ cat > conftest.$ac_ext <<_LT_EOF ++#line __oline__ "configure" ++#include "confdefs.h" ++ ++#if HAVE_DLFCN_H ++#include ++#endif ++ ++#include ++ ++#ifdef RTLD_GLOBAL ++# define LT_DLGLOBAL RTLD_GLOBAL ++#else ++# ifdef DL_GLOBAL ++# define LT_DLGLOBAL DL_GLOBAL ++# else ++# define LT_DLGLOBAL 0 ++# endif ++#endif ++ ++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we ++ find out it does not work in some platform. */ ++#ifndef LT_DLLAZY_OR_NOW ++# ifdef RTLD_LAZY ++# define LT_DLLAZY_OR_NOW RTLD_LAZY ++# else ++# ifdef DL_LAZY ++# define LT_DLLAZY_OR_NOW DL_LAZY ++# else ++# ifdef RTLD_NOW ++# define LT_DLLAZY_OR_NOW RTLD_NOW ++# else ++# ifdef DL_NOW ++# define LT_DLLAZY_OR_NOW DL_NOW ++# else ++# define LT_DLLAZY_OR_NOW 0 ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++void fnord() { int i=42;} ++int main () ++{ ++ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); ++ int status = $lt_dlunknown; ++ ++ if (self) ++ { ++ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; ++ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; ++ /* dlclose (self); */ ++ } ++ else ++ puts (dlerror ()); ++ ++ return status; ++} ++_LT_EOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then ++ (./conftest; exit; ) >&5 2>/dev/null ++ lt_status=$? ++ case x$lt_status in ++ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; ++ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; ++ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; ++ esac ++ else : ++ # compilation failed ++ lt_cv_dlopen_self_static=no ++ fi ++fi ++rm -fr conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 ++$as_echo "$lt_cv_dlopen_self_static" >&6; } ++ fi ++ ++ CPPFLAGS="$save_CPPFLAGS" ++ LDFLAGS="$save_LDFLAGS" ++ LIBS="$save_LIBS" ++ ;; ++ esac ++ ++ case $lt_cv_dlopen_self in ++ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; ++ *) enable_dlopen_self=unknown ;; ++ esac ++ ++ case $lt_cv_dlopen_self_static in ++ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; ++ *) enable_dlopen_self_static=unknown ;; ++ esac ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++striplib= ++old_striplib= ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 ++$as_echo_n "checking whether stripping libraries is possible... " >&6; } ++if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then ++ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" ++ test -z "$striplib" && striplib="$STRIP --strip-unneeded" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++# FIXME - insert some real tests, host_os isn't really good enough ++ case $host_os in ++ darwin*) ++ if test -n "$STRIP" ; then ++ striplib="$STRIP -x" ++ old_striplib="$STRIP -S" ++ { $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; } ++ fi ++ ;; ++ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ;; ++ esac ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ # Report which library types will actually be built ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 ++$as_echo_n "checking if libtool supports shared libraries... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 ++$as_echo "$can_build_shared" >&6; } ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 ++$as_echo_n "checking whether to build shared libraries... " >&6; } ++ test "$can_build_shared" = "no" && enable_shared=no ++ ++ # On AIX, shared libraries and static libraries use the same namespace, and ++ # are all built from PIC. ++ case $host_os in ++ aix3*) ++ test "$enable_shared" = yes && enable_static=no ++ if test -n "$RANLIB"; then ++ archive_cmds="$archive_cmds~\$RANLIB \$lib" ++ postinstall_cmds='$RANLIB $lib' ++ fi ++ ;; ++ ++ aix[4-9]*) ++ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then ++ test "$enable_shared" = yes && enable_static=no ++ fi ++ ;; ++ esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 ++$as_echo "$enable_shared" >&6; } ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 ++$as_echo_n "checking whether to build static libraries... " >&6; } ++ # Make sure either enable_shared or enable_static is yes. ++ test "$enable_shared" = yes || enable_static=yes ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 ++$as_echo "$enable_static" >&6; } ++ ++ ++ ++ ++fi ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++CC="$lt_save_CC" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_config_commands="$ac_config_commands libtool" ++ ++ ++ ++ ++# Only expand once: ++ ++ ++if test "x$CC" != xcc; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 ++$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 ++$as_echo_n "checking whether cc understands -c and -o together... " >&6; } ++fi ++set dummy $CC; ac_cc=`$as_echo "$2" | ++ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ++if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++# Make sure it works both with $CC and with simple cc. ++# We do the test twice because some compilers refuse to overwrite an ++# existing .o file with -o, though they will create one. ++ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' ++rm -f conftest2.* ++if { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; ++then ++ eval ac_cv_prog_cc_${ac_cc}_c_o=yes ++ if test "x$CC" != xcc; then ++ # Test first that cc exists at all. ++ if { ac_try='cc -c conftest.$ac_ext >&5' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' ++ rm -f conftest2.* ++ if { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; ++ then ++ # cc works too. ++ : ++ else ++ # cc exists but doesn't like -o. ++ eval ac_cv_prog_cc_${ac_cc}_c_o=no ++ fi ++ fi ++ fi ++else ++ eval ac_cv_prog_cc_${ac_cc}_c_o=no ++fi ++rm -f core conftest* ++ ++fi ++if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; 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; } ++ ++$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h ++ ++fi ++ ++# FIXME: we rely on the cache variable name because ++# there is no other way. ++set dummy $CC ++am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ++eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o ++if test "$am_t" != yes; then ++ # Losing compiler, so override with the script. ++ # FIXME: It is wrong to rewrite CC. ++ # But if we don't then we get into trouble of one sort or another. ++ # A longer-term fix would be to have automake use am__CC in this case, ++ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" ++ CC="$am_aux_dir/compile $CC" ++fi ++ ++ ++ ++VERSION_SCRIPT_FLAGS=-Wl,--version-script= ++`/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null` || \ ++ VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," ++ ++ ++ ++ ++ @%:@ Check whether --enable-compile-warnings was given. ++if test "${enable_compile_warnings+set}" = set; then : ++ enableval=$enable_compile_warnings; ++else ++ enable_compile_warnings="maximum" ++fi ++ ++ ++ warnCFLAGS= ++ ++ common_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables" ++ ++ case "$enable_compile_warnings" in ++ no) ++ try_compiler_flags="" ++ ;; ++ minimum) ++ try_compiler_flags="-Wall -Wformat -Wformat-security $common_flags" ++ ;; ++ yes) ++ try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes $common_flags" ++ ;; ++ maximum|error) ++ try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith" ++ try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return" ++ try_compiler_flags="$try_compiler_flags -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare" ++ try_compiler_flags="$try_compiler_flags $common_flags" ++ if test "$enable_compile_warnings" = "error" ; then ++ try_compiler_flags="$try_compiler_flags -Werror" ++ fi ++ ;; ++ *) ++ as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 ++ ;; ++ esac ++ ++ COMPILER_FLAGS= ++ for option in $try_compiler_flags; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts $option" >&5 ++$as_echo_n "checking whether compiler accepts $option... " >&6; } ++ ++ ac_save_CFLAGS="$CFLAGS" ++ if test "$option" = "-Werror" ; then ++ CFLAGS="$CFLAGS $option" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS $option" ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ has_option=yes ++else ++ has_option=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ COMPILER_FLAGS="$COMPILER_FLAGS $option" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ++ done ++ unset option ++ unset try_compiler_flags ++ ++ @%:@ Check whether --enable-iso-c was given. ++if test "${enable_iso_c+set}" = set; then : ++ enableval=$enable_iso_c; ++else ++ enable_iso_c=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5 ++$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; } ++ complCFLAGS= ++ if test "x$enable_iso_c" != "xno"; then ++ if test "x$GCC" = "xyes"; then ++ case " $CFLAGS " in ++ *\ \ -ansi\ \ *) ;; ++ *) complCFLAGS="$complCFLAGS -ansi" ;; ++ esac ++ case " $CFLAGS " in ++ *\ \ -pedantic\ \ *) ;; ++ *) complCFLAGS="$complCFLAGS -pedantic" ;; ++ esac ++ fi ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5 ++$as_echo "$complCFLAGS" >&6; } ++ ++ WARN_CFLAGS="$COMPILER_FLAGS $complCFLAGS" ++ ++ ++ COMPILER_FLAGS= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -Wno-redundant-decls" >&5 ++$as_echo_n "checking whether compiler accepts -Wno-redundant-decls... " >&6; } ++ ++ ac_save_CFLAGS="$CFLAGS" ++ if test "-Wno-redundant-decls" = "-Werror" ; then ++ CFLAGS="$CFLAGS -Wno-redundant-decls" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS -Wno-redundant-decls" ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ has_option=yes ++else ++ has_option=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ COMPILER_FLAGS="$COMPILER_FLAGS -Wno-redundant-decls" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ++ WARN_PYTHON_CFLAGS=$COMPILER_FLAGS ++ ++ ++ ++@%:@ Check whether --enable-largefile was given. ++if test "${enable_largefile+set}" = set; then : ++ enableval=$enable_largefile; ++fi ++ ++if test "$enable_largefile" != no; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 ++$as_echo_n "checking for special C compiler options needed for large files... " >&6; } ++if test "${ac_cv_sys_largefile_CC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_sys_largefile_CC=no ++ if test "$GCC" != yes; then ++ ac_save_CC=$CC ++ while :; do ++ # IRIX 6.2 and later do not support large files by default, ++ # so use the C compiler's -n32 option if that helps. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ if ac_fn_c_try_compile "$LINENO"; then : ++ break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ CC="$CC -n32" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_largefile_CC=' -n32'; break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ break ++ done ++ CC=$ac_save_CC ++ rm -f conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 ++$as_echo "$ac_cv_sys_largefile_CC" >&6; } ++ if test "$ac_cv_sys_largefile_CC" != no; then ++ CC=$CC$ac_cv_sys_largefile_CC ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ++if test "${ac_cv_sys_file_offset_bits+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _FILE_OFFSET_BITS 64 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=64; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_file_offset_bits=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 ++$as_echo "$ac_cv_sys_file_offset_bits" >&6; } ++case $ac_cv_sys_file_offset_bits in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ if test $ac_cv_sys_file_offset_bits = unknown; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 ++$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ++if test "${ac_cv_sys_large_files+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGE_FILES 1 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_large_files=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 ++$as_echo "$ac_cv_sys_large_files" >&6; } ++case $ac_cv_sys_large_files in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGE_FILES $ac_cv_sys_large_files ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ fi ++fi ++ ++ ++for ac_func in cfmakeraw regexec uname sched_getaffinity getuid getgid posix_fallocate mmap readlink ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++for ac_func in strerror_r strtok_r getmntent_r getgrnam_r getpwuid_r ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++for ac_header in pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h sys/wait.h winsock2.h sched.h termios.h sys/poll.h syslog.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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xdrmem_create in -lportablexdr" >&5 ++$as_echo_n "checking for xdrmem_create in -lportablexdr... " >&6; } ++if test "${ac_cv_lib_portablexdr_xdrmem_create+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lportablexdr $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char xdrmem_create (); ++int ++main () ++{ ++return xdrmem_create (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_portablexdr_xdrmem_create=yes ++else ++ ac_cv_lib_portablexdr_xdrmem_create=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_portablexdr_xdrmem_create" >&5 ++$as_echo "$ac_cv_lib_portablexdr_xdrmem_create" >&6; } ++if test "x$ac_cv_lib_portablexdr_xdrmem_create" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBPORTABLEXDR 1 ++_ACEOF ++ ++ LIBS="-lportablexdr $LIBS" ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing xdrmem_create" >&5 ++$as_echo_n "checking for library containing xdrmem_create... " >&6; } ++if test "${ac_cv_search_xdrmem_create+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char xdrmem_create (); ++int ++main () ++{ ++return xdrmem_create (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' rpc xdr nsl; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_xdrmem_create=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_xdrmem_create+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_xdrmem_create+set}" = set; then : ++ ++else ++ ac_cv_search_xdrmem_create=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_xdrmem_create" >&5 ++$as_echo "$ac_cv_search_xdrmem_create" >&6; } ++ac_res=$ac_cv_search_xdrmem_create ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++fi ++ ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5 ++$as_echo_n "checking for gettext in -lintl... " >&6; } ++if test "${ac_cv_lib_intl_gettext+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lintl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gettext (); ++int ++main () ++{ ++return gettext (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_intl_gettext=yes ++else ++ ac_cv_lib_intl_gettext=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5 ++$as_echo "$ac_cv_lib_intl_gettext" >&6; } ++if test "x$ac_cv_lib_intl_gettext" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBINTL 1 ++_ACEOF ++ ++ LIBS="-lintl $LIBS" ++ ++fi ++ ++ ++# Extract the first word of "rpcgen", so it can be a program name with args. ++set dummy rpcgen; 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_RPCGEN+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $RPCGEN in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_RPCGEN="$RPCGEN" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_RPCGEN="$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 ++ ++ test -z "$ac_cv_path_RPCGEN" && ac_cv_path_RPCGEN="no" ++ ;; ++esac ++fi ++RPCGEN=$ac_cv_path_RPCGEN ++if test -n "$RPCGEN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPCGEN" >&5 ++$as_echo "$RPCGEN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "x$ac_cv_path_RPCGEN" != "xno"; then ++ HAVE_RPCGEN_TRUE= ++ HAVE_RPCGEN_FALSE='#' ++else ++ HAVE_RPCGEN_TRUE='#' ++ HAVE_RPCGEN_FALSE= ++fi ++ ++ if test "x$ac_cv_path_RPCGEN" != "xno" && ++ $ac_cv_path_RPCGEN -t /dev/null 2>&1; then ++ HAVE_GLIBC_RPCGEN_TRUE= ++ HAVE_GLIBC_RPCGEN_FALSE='#' ++else ++ HAVE_GLIBC_RPCGEN_TRUE='#' ++ HAVE_GLIBC_RPCGEN_FALSE= ++fi ++ ++ ++ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" ++if test "x$ac_cv_header_pthread_h" = x""yes; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 ++$as_echo_n "checking for pthread_join in -lpthread... " >&6; } ++if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpthread $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pthread_join (); ++int ++main () ++{ ++return pthread_join (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_pthread_pthread_join=yes ++else ++ ac_cv_lib_pthread_pthread_join=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 ++$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } ++if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then : ++ ++ ++$as_echo "@%:@define HAVE_LIBPTHREAD /**/" >>confdefs.h ++ ++ ++$as_echo "@%:@define HAVE_PTHREAD_H /**/" >>confdefs.h ++ ++ LIBS="-lpthread $LIBS" ++ ++fi ++ ++fi ++ ++ ++ ++# Extract the first word of "rm", so it can be a program name with args. ++set dummy rm; 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_RM+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $RM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_RM="$RM" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_RM="$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 ++ ++ test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm" ++ ;; ++esac ++fi ++RM=$ac_cv_path_RM ++if test -n "$RM"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 ++$as_echo "$RM" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "mv", so it can be a program name with args. ++set dummy mv; 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_MV+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MV in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MV="$MV" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_MV="$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 ++ ++ test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" ++ ;; ++esac ++fi ++MV=$ac_cv_path_MV ++if test -n "$MV"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 ++$as_echo "$MV" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "tar", so it can be a program name with args. ++set dummy tar; 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_TAR+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $TAR in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_TAR="$TAR" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_TAR="$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 ++ ++ test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" ++ ;; ++esac ++fi ++TAR=$ac_cv_path_TAR ++if test -n "$TAR"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 ++$as_echo "$TAR" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "xmllint", so it can be a program name with args. ++set dummy xmllint; 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_XMLLINT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $XMLLINT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_XMLLINT="$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 ++ ++ test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" ++ ;; ++esac ++fi ++XMLLINT=$ac_cv_path_XMLLINT ++if test -n "$XMLLINT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 ++$as_echo "$XMLLINT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "xmlcatalog", so it can be a program name with args. ++set dummy xmlcatalog; 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_XMLCATALOG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $XMLCATALOG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_XMLCATALOG="$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 ++ ++ test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="/usr/bin/xmlcatalog" ++ ;; ++esac ++fi ++XMLCATALOG=$ac_cv_path_XMLCATALOG ++if test -n "$XMLCATALOG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5 ++$as_echo "$XMLCATALOG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "xsltproc", so it can be a program name with args. ++set dummy xsltproc; 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_XSLTPROC+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $XSLTPROC in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_XSLTPROC="$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 ++ ++ test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" ++ ;; ++esac ++fi ++XSLTPROC=$ac_cv_path_XSLTPROC ++if test -n "$XSLTPROC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 ++$as_echo "$XSLTPROC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "augparse", so it can be a program name with args. ++set dummy augparse; 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_AUGPARSE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $AUGPARSE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_AUGPARSE="$AUGPARSE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_AUGPARSE="$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 ++ ++ test -z "$ac_cv_path_AUGPARSE" && ac_cv_path_AUGPARSE="/usr/bin/augparse" ++ ;; ++esac ++fi ++AUGPARSE=$ac_cv_path_AUGPARSE ++if test -n "$AUGPARSE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUGPARSE" >&5 ++$as_echo "$AUGPARSE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ ++# Extract the first word of "dnsmasq", so it can be a program name with args. ++set dummy dnsmasq; 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_DNSMASQ+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $DNSMASQ in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_DNSMASQ="$DNSMASQ" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_DNSMASQ="$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 ++ ++ test -z "$ac_cv_path_DNSMASQ" && ac_cv_path_DNSMASQ="dnsmasq" ++ ;; ++esac ++fi ++DNSMASQ=$ac_cv_path_DNSMASQ ++if test -n "$DNSMASQ"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DNSMASQ" >&5 ++$as_echo "$DNSMASQ" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "brctl", so it can be a program name with args. ++set dummy brctl; 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_BRCTL+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $BRCTL in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_BRCTL="$BRCTL" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_BRCTL="$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 ++ ++ test -z "$ac_cv_path_BRCTL" && ac_cv_path_BRCTL="brctl" ++ ;; ++esac ++fi ++BRCTL=$ac_cv_path_BRCTL ++if test -n "$BRCTL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BRCTL" >&5 ++$as_echo "$BRCTL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "udevadm", so it can be a program name with args. ++set dummy udevadm; 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_UDEVADM+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $UDEVADM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_UDEVADM="$UDEVADM" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_UDEVADM="$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 ++UDEVADM=$ac_cv_path_UDEVADM ++if test -n "$UDEVADM"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEVADM" >&5 ++$as_echo "$UDEVADM" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "udevsettle", so it can be a program name with args. ++set dummy udevsettle; 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_UDEVSETTLE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $UDEVSETTLE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_UDEVSETTLE="$UDEVSETTLE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_UDEVSETTLE="$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 ++UDEVSETTLE=$ac_cv_path_UDEVSETTLE ++if test -n "$UDEVSETTLE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEVSETTLE" >&5 ++$as_echo "$UDEVSETTLE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++# Extract the first word of "modprobe", so it can be a program name with args. ++set dummy modprobe; 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_MODPROBE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MODPROBE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/sbin:/usr/sbin:/usr/local/sbin:$PATH" ++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_MODPROBE="$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 ++MODPROBE=$ac_cv_path_MODPROBE ++if test -n "$MODPROBE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MODPROBE" >&5 ++$as_echo "$MODPROBE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DNSMASQ "$DNSMASQ" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define BRCTL "$BRCTL" ++_ACEOF ++ ++if test -n "$UDEVADM"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define UDEVADM "$UDEVADM" ++_ACEOF ++ ++fi ++if test -n "$UDEVSETTLE"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define UDEVSETTLE "$UDEVSETTLE" ++_ACEOF ++ ++fi ++if test -n "$MODPROBE"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define MODPROBE "$MODPROBE" ++_ACEOF ++ ++fi ++ ++ ++@%:@ Check whether --with-html-dir was given. ++if test "${with_html_dir+set}" = set; then : ++ withval=$with_html_dir; HTML_DIR=$withval ++else ++ HTML_DIR='$(datadir)/doc' ++fi ++ ++ ++ ++@%:@ Check whether --with-html-subdir was given. ++if test "${with_html_subdir+set}" = set; then : ++ withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval" ++else ++ HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" ++fi ++ ++ ++ ++ ++if test "$prefix" = "/usr" -a "$localstatedir" = '${prefix}/var' ; then ++ localstatedir='/var' ++fi ++if test "$prefix" = "/usr" -a "$sysconfdir" = '${prefix}/etc' ; then ++ sysconfdir='/etc' ++fi ++ ++ ++ ++@%:@ Check whether --with-xen was given. ++if test "${with_xen+set}" = set; then : ++ withval=$with_xen; ++else ++ with_xen=yes ++fi ++ ++ ++@%:@ Check whether --with-xen-inotify was given. ++if test "${with_xen_inotify+set}" = set; then : ++ withval=$with_xen_inotify; ++else ++ with_xen_inotify=check ++fi ++ ++ ++@%:@ Check whether --with-qemu was given. ++if test "${with_qemu+set}" = set; then : ++ withval=$with_qemu; ++else ++ with_qemu=yes ++fi ++ ++ ++@%:@ Check whether --with-uml was given. ++if test "${with_uml+set}" = set; then : ++ withval=$with_uml; ++else ++ with_uml=check ++fi ++ ++ ++@%:@ Check whether --with-openvz was given. ++if test "${with_openvz+set}" = set; then : ++ withval=$with_openvz; ++else ++ with_openvz=yes ++fi ++ ++ ++@%:@ Check whether --with-libssh was given. ++if test "${with_libssh+set}" = set; then : ++ withval=$with_libssh; ++else ++ with_libssh=yes ++fi ++ ++ ++@%:@ Check whether --with-phyp was given. ++if test "${with_phyp+set}" = set; then : ++ withval=$with_phyp; ++else ++ with_phyp=check ++fi ++ ++ ++@%:@ Check whether --with-vbox was given. ++if test "${with_vbox+set}" = set; then : ++ withval=$with_vbox; ++else ++ with_vbox=yes ++fi ++ ++ ++@%:@ Check whether --with-lxc was given. ++if test "${with_lxc+set}" = set; then : ++ withval=$with_lxc; ++else ++ with_lxc=check ++fi ++ ++ ++@%:@ Check whether --with-one was given. ++if test "${with_one+set}" = set; then : ++ withval=$with_one; ++else ++ with_one=check ++fi ++ ++ ++@%:@ Check whether --with-esx was given. ++if test "${with_esx+set}" = set; then : ++ withval=$with_esx; ++else ++ with_esx=check ++fi ++ ++ ++@%:@ Check whether --with-test was given. ++if test "${with_test+set}" = set; then : ++ withval=$with_test; ++else ++ with_test=yes ++fi ++ ++ ++@%:@ Check whether --with-remote was given. ++if test "${with_remote+set}" = set; then : ++ withval=$with_remote; ++else ++ with_remote=yes ++fi ++ ++ ++@%:@ Check whether --with-libvirtd was given. ++if test "${with_libvirtd+set}" = set; then : ++ withval=$with_libvirtd; ++else ++ with_libvirtd=yes ++fi ++ ++ ++if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/libvirt" ] ; then ++ STATIC_BINARIES="-static" ++else ++ STATIC_BINARIES= ++fi ++ ++ ++@%:@ Check whether --enable-debug was given. ++if test "${enable_debug+set}" = set; then : ++ enableval=$enable_debug; ++else ++ enable_debug=yes ++fi ++ ++ if test x"$enable_debug" = x"yes"; then ++ ENABLE_DEBUG_TRUE= ++ ENABLE_DEBUG_FALSE='#' ++else ++ ENABLE_DEBUG_TRUE='#' ++ ENABLE_DEBUG_FALSE= ++fi ++ ++if test x"$enable_debug" = x"yes"; then ++ ++$as_echo "@%:@define ENABLE_DEBUG /**/" >>confdefs.h ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to write libvirtd PID file" >&5 ++$as_echo_n "checking where to write libvirtd PID file... " >&6; } ++ ++@%:@ Check whether --with-remote-pid-file was given. ++if test "${with_remote_pid_file+set}" = set; then : ++ withval=$with_remote_pid_file; ++fi ++ ++if test "x$with_remote_pid_file" == "x" ; then ++ REMOTE_PID_FILE="$localstatedir/run/libvirtd.pid" ++elif test "x$with_remote_pid_file" == "xnone" ; then ++ REMOTE_PID_FILE="" ++else ++ REMOTE_PID_FILE="$with_remote_pid_file" ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $REMOTE_PID_FILE" >&5 ++$as_echo "$REMOTE_PID_FILE" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for init script flavor" >&5 ++$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; ++fi ++ ++if test "x$with_init_scripts" = "x" -o "x$with_init_scripts" = "xauto"; then ++ if test -f /etc/redhat-release ; then ++ with_init_scripts=redhat ++ else ++ with_init_scripts=none ++ fi ++fi ++ if test x$with_init_scripts = xredhat; then ++ LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE= ++ LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE='#' ++else ++ LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE='#' ++ LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE= ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_init_scripts" >&5 ++$as_echo "$with_init_scripts" >&6; } ++ ++ ++@%:@ Check whether --with-rhel5-api was given. ++if test "${with_rhel5_api+set}" = set; then : ++ withval=$with_rhel5_api; ++fi ++ ++if test x"$with_rhel5_api" = x"yes"; then ++ ++$as_echo "@%:@define WITH_RHEL5_API 1" >>confdefs.h ++ ++fi ++ ++@%:@ Check whether --enable-iptables-lokkit was given. ++if test "${enable_iptables_lokkit+set}" = set; then : ++ enableval=$enable_iptables_lokkit; ++else ++ enable_iptables_lokkit=check ++fi ++ ++if test x"$enable_iptables_lokkit" != x"no"; then ++ # Extract the first word of "lokkit", so it can be a program name with args. ++set dummy lokkit; 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_LOKKIT_PATH+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LOKKIT_PATH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LOKKIT_PATH="$LOKKIT_PATH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/usr/sbin:$PATH" ++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_LOKKIT_PATH="$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 ++LOKKIT_PATH=$ac_cv_path_LOKKIT_PATH ++if test -n "$LOKKIT_PATH"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOKKIT_PATH" >&5 ++$as_echo "$LOKKIT_PATH" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++ ++if test x"$enable_iptables_lokkit" = x"yes" -a x"$LOKKIT_PATH" = x; then ++ as_fn_error "Cannot find lokkit and --enable-iptables-lokkit specified" "$LINENO" 5 ++fi ++ ++if test x"$LOKKIT_PATH" != x; then ++ ++$as_echo "@%:@define ENABLE_IPTABLES_LOKKIT /**/" >>confdefs.h ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LOKKIT_PATH "$LOKKIT_PATH" ++_ACEOF ++ ++fi ++ ++# Extract the first word of "iptables", so it can be a program name with args. ++set dummy iptables; 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_IPTABLES_PATH+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $IPTABLES_PATH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_IPTABLES_PATH="$IPTABLES_PATH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="/usr/sbin:$PATH" ++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_IPTABLES_PATH="$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 ++ ++ test -z "$ac_cv_path_IPTABLES_PATH" && ac_cv_path_IPTABLES_PATH="/sbin/iptables" ++ ;; ++esac ++fi ++IPTABLES_PATH=$ac_cv_path_IPTABLES_PATH ++if test -n "$IPTABLES_PATH"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPTABLES_PATH" >&5 ++$as_echo "$IPTABLES_PATH" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define IPTABLES_PATH "$IPTABLES_PATH" ++_ACEOF ++ ++ ++if test "$with_openvz" = "yes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_OPENVZ 1 ++_ACEOF ++ ++fi ++ if test "$with_openvz" = "yes"; then ++ WITH_OPENVZ_TRUE= ++ WITH_OPENVZ_FALSE='#' ++else ++ WITH_OPENVZ_TRUE='#' ++ WITH_OPENVZ_FALSE= ++fi ++ ++ ++if test "x$with_vbox" = "xyes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_VBOX 1 ++_ACEOF ++ ++fi ++ if test "$with_vbox" = "yes"; then ++ WITH_VBOX_TRUE= ++ WITH_VBOX_FALSE='#' ++else ++ WITH_VBOX_TRUE='#' ++ WITH_VBOX_FALSE= ++fi ++ ++ ++if test "$with_libvirtd" = "no" ; then ++ with_qemu=no ++fi ++if test "$with_qemu" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_QEMU 1 ++_ACEOF ++ ++fi ++ if test "$with_qemu" = "yes"; then ++ WITH_QEMU_TRUE= ++ WITH_QEMU_FALSE='#' ++else ++ WITH_QEMU_TRUE='#' ++ WITH_QEMU_FALSE= ++fi ++ ++ ++if test "$with_one" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_ONE 1 ++_ACEOF ++ ++fi ++ if test "$with_one" = "yes"; then ++ WITH_ONE_TRUE= ++ WITH_ONE_FALSE='#' ++else ++ WITH_ONE_TRUE='#' ++ WITH_ONE_FALSE= ++fi ++ ++ ++if test "$with_test" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_TEST 1 ++_ACEOF ++ ++fi ++ if test "$with_test" = "yes"; then ++ WITH_TEST_TRUE= ++ WITH_TEST_FALSE='#' ++else ++ WITH_TEST_TRUE='#' ++ WITH_TEST_FALSE= ++fi ++ ++ ++if test "$with_remote" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_REMOTE 1 ++_ACEOF ++ ++fi ++ if test "$with_remote" = "yes"; then ++ WITH_REMOTE_TRUE= ++ WITH_REMOTE_FALSE='#' ++else ++ WITH_REMOTE_TRUE='#' ++ WITH_REMOTE_FALSE= ++fi ++ ++ ++if test "$with_libvirtd" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_LIBVIRTD 1 ++_ACEOF ++ ++fi ++ if test "$with_libvirtd" = "yes"; then ++ WITH_LIBVIRTD_TRUE= ++ WITH_LIBVIRTD_FALSE='#' ++else ++ WITH_LIBVIRTD_TRUE='#' ++ WITH_LIBVIRTD_FALSE= ++fi ++ ++ ++XEN_LIBS="" ++XEN_CFLAGS="" ++if test "$with_xen" != "no" ; then ++ if test "$with_xen" != "yes" -a "$with_xen" != "check" ; then ++ XEN_CFLAGS="-I$with_xen/include" ++ 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:${as_lineno-$LINENO}: checking for xs_read in -lxenstore" >&5 ++$as_echo_n "checking for xs_read in -lxenstore... " >&6; } ++if test "${ac_cv_lib_xenstore_xs_read+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lxenstore $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char xs_read (); ++int ++main () ++{ ++return xs_read (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_xenstore_xs_read=yes ++else ++ ac_cv_lib_xenstore_xs_read=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xenstore_xs_read" >&5 ++$as_echo "$ac_cv_lib_xenstore_xs_read" >&6; } ++if test "x$ac_cv_lib_xenstore_xs_read" = x""yes; then : ++ ++ with_xen=yes ++ XEN_LIBS="$XEN_LIBS -lxenstore" ++ ++else ++ ++ if test "$with_xen" = "check" ; then ++ with_xen=no ++ else ++ with_xen=no ++ fail=1 ++ fi ++ ++fi ++ ++ ++ test $fail = 1 && ++ as_fn_error "You must install the Xen development package to compile Xen driver with -lxenstore" "$LINENO" 5 ++ ++ for ac_header in xen/xen.h xen/version.h xen/dom0_ops.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include ++#include ++ ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++else ++ ++ as_fn_error "Cannot find standard Xen headers. Is xen-devel installed?" "$LINENO" 5 ++ ++fi ++ ++done ++ ++ ++ for ac_header in xen/sys/privcmd.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "xen/sys/privcmd.h" "ac_cv_header_xen_sys_privcmd_h" "#include ++#include ++#include ++ ++" ++if test "x$ac_cv_header_xen_sys_privcmd_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_XEN_SYS_PRIVCMD_H 1 ++_ACEOF ++ ++else ++ ++ for ac_header in xen/linux/privcmd.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "xen/linux/privcmd.h" "ac_cv_header_xen_linux_privcmd_h" "#include ++#include ++#include ++ ++" ++if test "x$ac_cv_header_xen_linux_privcmd_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_XEN_LINUX_PRIVCMD_H 1 ++_ACEOF ++ ++else ++ ++ as_fn_error "Cannot find header file or . Is xen-devel installed?" "$LINENO" 5 ++ ++fi ++ ++done ++ ++ ++fi ++ ++done ++ ++ LIBS="$old_LIBS" ++ CFLAGS="$old_CFLAGS" ++fi ++if test "$with_xen" = "yes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_XEN 1 ++_ACEOF ++ ++fi ++ if test "$with_xen" = "yes"; then ++ WITH_XEN_TRUE= ++ WITH_XEN_FALSE='#' ++else ++ WITH_XEN_TRUE='#' ++ WITH_XEN_FALSE= ++fi ++ ++ ++ ++ ++if test "$with_xen" != "yes"; then ++ with_xen_inotify=no ++fi ++if test "$with_xen_inotify" != "no"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : ++ ++ with_xen_inotify=yes ++ ++else ++ ++ if test "$with_xen_inotify" = "check"; then ++ with_xen_inotify=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Header file is required for Xen Inotify support, disabling it" >&5 ++$as_echo "$as_me: Header file is required for Xen Inotify support, disabling it" >&6;} ++ else ++ as_fn_error "Header file is required for Xen Inotify support!" "$LINENO" 5 ++ fi ++ 0 ++fi ++ ++ ++fi ++if test "$with_xen_inotify" = "yes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_XEN_INOTIFY 1 ++_ACEOF ++ ++fi ++ if test "$with_xen_inotify" = "yes"; then ++ WITH_XEN_INOTIFY_TRUE= ++ WITH_XEN_INOTIFY_FALSE='#' ++else ++ WITH_XEN_INOTIFY_TRUE='#' ++ WITH_XEN_INOTIFY_FALSE= ++fi ++ ++ ++for ac_header in linux/kvm.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "linux/kvm.h" "ac_cv_header_linux_kvm_h" "$ac_includes_default" ++if test "x$ac_cv_header_linux_kvm_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LINUX_KVM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++if test "$with_lxc" = "yes" -o "$with_lxc" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default" ++if test "x$ac_cv_header_sched_h" = x""yes; then : ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#define _GNU_SOURCE ++ #include ++int ++main () ++{ ++ ++ unshare (1); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++ with_lxc=yes ++ ++else ++ ++ if test "$with_lxc" = "check"; then ++ with_lxc=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Function unshare() not present in header but required for LXC driver, disabling it" >&5 ++$as_echo "$as_me: Function unshare() not present in header but required for LXC driver, disabling it" >&6;} ++ else ++ as_fn_error "Function unshare() not present in header, but required for LXC driver" "$LINENO" 5 ++ fi ++ ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++ ++else ++ ++ if test "$with_lxc" = "check"; then ++ with_lxc=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Header not found but required for LXC driver, disabling it" >&5 ++$as_echo "$as_me: Header not found but required for LXC driver, disabling it" >&6;} ++ else ++ as_fn_error "Header not found but required for LXC driver" "$LINENO" 5 ++ fi ++ ++ ++fi ++ ++ ++fi ++if test "$with_libvirtd" = "no" ; then ++ with_lxc=no ++fi ++if test "$with_lxc" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_LXC 1 ++_ACEOF ++ ++fi ++ if test "$with_lxc" = "yes"; then ++ WITH_LXC_TRUE= ++ WITH_LXC_FALSE='#' ++else ++ WITH_LXC_TRUE='#' ++ WITH_LXC_FALSE= ++fi ++ ++ ++ ++if test "$with_qemu" = "yes" -o "$with_lxc" = "yes" ; then ++ for ac_header in linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++else ++ as_fn_error "You must install kernel-headers in order to compile libvirt" "$LINENO" 5 ++fi ++ ++done ++ ++fi ++ ++ ++ ++XMLRPC_REQUIRED=1.14.0 ++ ++XMLRPC_CFLAGS= ++XMLRPC_LIBS= ++if test "x$with_one" = "xyes" -o "x$with_one" = "xcheck"; then ++ ++ ++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; 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_PKG_CONFIG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_PKG_CONFIG="$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 ++PKG_CONFIG=$ac_cv_path_PKG_CONFIG ++if test -n "$PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 ++$as_echo "$PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKG_CONFIG"; then ++ ac_pt_PKG_CONFIG=$PKG_CONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; 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_ac_pt_PKG_CONFIG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ac_pt_PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_ac_pt_PKG_CONFIG="$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 ++ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG ++if test -n "$ac_pt_PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 ++$as_echo "$ac_pt_PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKG_CONFIG" = x; then ++ PKG_CONFIG="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKG_CONFIG=$ac_pt_PKG_CONFIG ++ fi ++else ++ PKG_CONFIG="$ac_cv_path_PKG_CONFIG" ++fi ++ ++fi ++if test -n "$PKG_CONFIG"; then ++ _pkg_min_version=0.9.0 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 ++$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } ++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; 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; } ++ PKG_CONFIG="" ++ fi ++ ++fi ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMLRPC" >&5 ++$as_echo_n "checking for XMLRPC... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$XMLRPC_CFLAGS"; then ++ pkg_cv_XMLRPC_CFLAGS="$XMLRPC_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmlrpc_client >= \$XMLRPC_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_XMLRPC_CFLAGS=`$PKG_CONFIG --cflags "xmlrpc_client >= $XMLRPC_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$XMLRPC_LIBS"; then ++ pkg_cv_XMLRPC_LIBS="$XMLRPC_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmlrpc_client >= \$XMLRPC_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_XMLRPC_LIBS=`$PKG_CONFIG --libs "xmlrpc_client >= $XMLRPC_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ XMLRPC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED"` ++ else ++ XMLRPC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$XMLRPC_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_one" = "xcheck" ; then ++ with_one=no ++ else ++ as_fn_error "You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_one" = "xcheck" ; then ++ with_one=no ++ else ++ as_fn_error "You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" "$LINENO" 5 ++ fi ++ ++else ++ XMLRPC_CFLAGS=$pkg_cv_XMLRPC_CFLAGS ++ XMLRPC_LIBS=$pkg_cv_XMLRPC_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_one=yes ++fi ++ if test "x$with_one" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_XMLRPC 1 ++_ACEOF ++ ++ fi ++fi ++ if test "x$with_one" = "xyes"; then ++ HAVE_XMLRPC_TRUE= ++ HAVE_XMLRPC_FALSE='#' ++else ++ HAVE_XMLRPC_TRUE='#' ++ HAVE_XMLRPC_FALSE= ++fi ++ ++ if test "x$with_one" = "xyes"; then ++ WITH_ONE_TRUE= ++ WITH_ONE_FALSE='#' ++else ++ WITH_ONE_TRUE='#' ++ WITH_ONE_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++ ++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; 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_PKG_CONFIG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_PKG_CONFIG="$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 ++PKG_CONFIG=$ac_cv_path_PKG_CONFIG ++if test -n "$PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 ++$as_echo "$PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKG_CONFIG"; then ++ ac_pt_PKG_CONFIG=$PKG_CONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; 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_ac_pt_PKG_CONFIG+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ac_pt_PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_ac_pt_PKG_CONFIG="$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 ++ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG ++if test -n "$ac_pt_PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 ++$as_echo "$ac_pt_PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKG_CONFIG" = x; then ++ PKG_CONFIG="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKG_CONFIG=$ac_pt_PKG_CONFIG ++ fi ++else ++ PKG_CONFIG="$ac_cv_path_PKG_CONFIG" ++fi ++ ++fi ++if test -n "$PKG_CONFIG"; then ++ _pkg_min_version=0.9.0 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 ++$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } ++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; 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; } ++ PKG_CONFIG="" ++ fi ++ ++fi ++ ++LIBXML_CONFIG="xml2-config" ++LIBXML_CFLAGS="" ++LIBXML_LIBS="" ++LIBXML_FOUND="no" ++ ++ ++@%:@ Check whether --with-libxml was given. ++if test "${with_libxml+set}" = set; then : ++ withval=$with_libxml; ++fi ++ ++if test "x$with_libxml" = "xno" ; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 libraries >= $LIBXML_REQUIRED" >&5 ++$as_echo_n "checking for libxml2 libraries >= $LIBXML_REQUIRED... " >&6; } ++ as_fn_error "libxml2 >= $LIBXML_REQUIRED is required for libvirt" "$LINENO" 5 ++elif test "x$with_libxml" = "x" -a "x$PKG_CONFIG" != "x" ; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5 ++$as_echo_n "checking for LIBXML... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBXML_CFLAGS"; then ++ pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBXML_LIBS"; then ++ pkg_cv_LIBXML_LIBS="$LIBXML_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML_REQUIRED"` ++ else ++ LIBXML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$LIBXML_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ LIBXML_FOUND=no ++elif test $pkg_failed = untried; then ++ LIBXML_FOUND=no ++else ++ LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS ++ LIBXML_LIBS=$pkg_cv_LIBXML_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ LIBXML_FOUND=yes ++fi ++fi ++if test "$LIBXML_FOUND" = "no" ; then ++ if test "x$with_libxml" != "x" ; then ++ LIBXML_CONFIG=$with_libxml/bin/$LIBXML_CONFIG ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking libxml2 $LIBXML_CONFIG >= $LIBXML_REQUIRED " >&5 ++$as_echo_n "checking libxml2 $LIBXML_CONFIG >= $LIBXML_REQUIRED ... " >&6; } ++ if ! $LIBXML_CONFIG --version > /dev/null 2>&1 ; then ++ as_fn_error "Could not find libxml2 anywhere (see config.log for details)." "$LINENO" 5 ++ fi ++ vers=`$LIBXML_CONFIG --version | awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` ++ minvers=`echo $LIBXML_REQUIRED | awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` ++ if test "$vers" -ge "$minvers" ; then ++ LIBXML_LIBS="`$LIBXML_CONFIG --libs`" ++ LIBXML_CFLAGS="`$LIBXML_CONFIG --cflags`" ++ LIBXML_FOUND="yes" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ else ++ as_fn_error "You need at least libxml2 $LIBXML_REQUIRED for this version of libvirt" "$LINENO" 5 ++ fi ++fi ++ ++ ++ ++ ++old_cflags="$CFLAGS" ++old_ldflags="$LDFLAGS" ++CFLAGS="$CFLAGS $LIBXML_CFLAGS" ++LDFLAGS="$LDFLAGS $LIBXML_LIBS" ++ac_fn_c_check_member "$LINENO" "struct _xmlURI" "query_raw" "ac_cv_member_struct__xmlURI_query_raw" "#include ++" ++if test "x$ac_cv_member_struct__xmlURI_query_raw" = x""yes; then : ++ ++$as_echo "@%:@define HAVE_XMLURI_QUERY_RAW /**/" >>confdefs.h ++ ++fi ++ ++CFLAGS="$old_cflags" ++LDFLAGS="$old_ldflags" ++ ++GNUTLS_CFLAGS= ++GNUTLS_LIBS= ++GNUTLS_FOUND=no ++if test -z "$PKG_CONFIG" ; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 ++$as_echo_n "checking for GNUTLS... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GNUTLS_CFLAGS"; then ++ pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GNUTLS_LIBS"; then ++ pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnutls >= $GNUTLS_REQUIRED"` ++ else ++ GNUTLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= $GNUTLS_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$GNUTLS_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ GNUTLS_FOUND=no ++elif test $pkg_failed = untried; then ++ GNUTLS_FOUND=no ++else ++ GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS ++ GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ GNUTLS_FOUND=yes ++fi ++fi ++if test "$GNUTLS_FOUND" = "no"; then ++ fail=0 ++ old_libs="$LIBS" ++ ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" ++if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_handshake in -lgnutls" >&5 ++$as_echo_n "checking for gnutls_handshake in -lgnutls... " >&6; } ++if test "${ac_cv_lib_gnutls_gnutls_handshake+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lgnutls -lgcrypt $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gnutls_handshake (); ++int ++main () ++{ ++return gnutls_handshake (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_gnutls_gnutls_handshake=yes ++else ++ ac_cv_lib_gnutls_gnutls_handshake=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_handshake" >&5 ++$as_echo "$ac_cv_lib_gnutls_gnutls_handshake" >&6; } ++if test "x$ac_cv_lib_gnutls_gnutls_handshake" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBGNUTLS 1 ++_ACEOF ++ ++ LIBS="-lgnutls $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ ++ test $fail = 1 && ++ as_fn_error "You must install the GnuTLS library in order to compile and run libvirt" "$LINENO" 5 ++ ++ GNUTLS_LIBS=$LIBS ++ LIBS="$old_libs" ++fi ++ ++ ++ ++ ++old_cflags="$CFLAGS" ++old_ldflags="$LDFLAGS" ++CFLAGS="$CFLAGS $GNUTLS_CFLAGS" ++LDFLAGS="$LDFLAGS $GNUTLS_LIBS" ++ac_fn_c_check_type "$LINENO" "gnutls_session" "ac_cv_type_gnutls_session" "#include ++" ++if test "x$ac_cv_type_gnutls_session" = x""yes; then : ++ ++$as_echo "@%:@define GNUTLS_1_0_COMPAT /**/" >>confdefs.h ++ ++fi ++ ++CFLAGS="$old_cflags" ++LDFLAGS="$old_ldflags" ++ ++ ++ ++@%:@ Check whether --with-sasl was given. ++if test "${with_sasl+set}" = set; then : ++ withval=$with_sasl; ++else ++ with_sasl=check ++fi ++ ++ ++SASL_CFLAGS= ++SASL_LIBS= ++if test "x$with_sasl" != "xno"; then ++ if test "x$with_sasl" != "xyes" -a "x$with_sasl" != "xcheck"; then ++ SASL_CFLAGS="-I$with_sasl" ++ SASL_LIBS="-L$with_sasl" ++ fi ++ fail=0 ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ CFLAGS="$CFLAGS $SASL_CFLAGS" ++ LIBS="$LIBS $SASL_LIBS" ++ ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sasl_sasl_h" = x""yes; then : ++ ++else ++ ++ if test "x$with_sasl" != "xcheck" ; then ++ with_sasl=no ++ else ++ fail=1 ++ fi ++fi ++ ++ ++ if test "x$with_sasl" != "xno" ; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl2" >&5 ++$as_echo_n "checking for sasl_client_init in -lsasl2... " >&6; } ++if test "${ac_cv_lib_sasl2_sasl_client_init+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsasl2 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char sasl_client_init (); ++int ++main () ++{ ++return sasl_client_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_sasl2_sasl_client_init=yes ++else ++ ac_cv_lib_sasl2_sasl_client_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_client_init" >&5 ++$as_echo "$ac_cv_lib_sasl2_sasl_client_init" >&6; } ++if test "x$ac_cv_lib_sasl2_sasl_client_init" = x""yes; then : ++ ++ SASL_LIBS="$SASL_LIBS -lsasl2" ++ with_sasl=yes ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl" >&5 ++$as_echo_n "checking for sasl_client_init in -lsasl... " >&6; } ++if test "${ac_cv_lib_sasl_sasl_client_init+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsasl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char sasl_client_init (); ++int ++main () ++{ ++return sasl_client_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_sasl_sasl_client_init=yes ++else ++ ac_cv_lib_sasl_sasl_client_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl_sasl_client_init" >&5 ++$as_echo "$ac_cv_lib_sasl_sasl_client_init" >&6; } ++if test "x$ac_cv_lib_sasl_sasl_client_init" = x""yes; then : ++ ++ SASL_LIBS="$SASL_LIBS -lsasl" ++ with_sasl=yes ++ ++else ++ ++ if test "x$with_sasl" = "xcheck" ; then ++ with_sasl=no ++ else ++ fail=1 ++ fi ++ ++fi ++ ++ ++fi ++ ++ fi ++ test $fail = 1 && ++ as_fn_error "You must install the Cyrus SASL development package in order to compile libvirt" "$LINENO" 5 ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++ if test "x$with_sasl" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SASL 1 ++_ACEOF ++ ++ fi ++fi ++ if test "x$with_sasl" = "xyes"; then ++ HAVE_SASL_TRUE= ++ HAVE_SASL_FALSE='#' ++else ++ HAVE_SASL_TRUE='#' ++ HAVE_SASL_FALSE= ++fi ++ ++ ++ ++ ++ ++POLKIT_CFLAGS= ++POLKIT_LIBS= ++ ++@%:@ Check whether --with-polkit was given. ++if test "${with_polkit+set}" = set; then : ++ withval=$with_polkit; ++else ++ with_polkit=check ++fi ++ ++ ++if test "x$with_polkit" = "xyes" -o "x$with_polkit" = "xcheck"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5 ++$as_echo_n "checking for POLKIT... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$POLKIT_CFLAGS"; then ++ pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= \$POLKIT_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "polkit-dbus >= $POLKIT_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-dbus >= $POLKIT_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$POLKIT_LIBS"; then ++ pkg_cv_POLKIT_LIBS="$POLKIT_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= \$POLKIT_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "polkit-dbus >= $POLKIT_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-dbus >= $POLKIT_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "polkit-dbus >= $POLKIT_REQUIRED"` ++ else ++ POLKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "polkit-dbus >= $POLKIT_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$POLKIT_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_polkit" = "xcheck" ; then ++ with_polkit=no ++ else ++ as_fn_error "You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_polkit" = "xcheck" ; then ++ with_polkit=no ++ else ++ as_fn_error "You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS ++ POLKIT_LIBS=$pkg_cv_POLKIT_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_polkit=yes ++fi ++ if test "x$with_polkit" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POLKIT 1 ++_ACEOF ++ ++ ++ old_CFLAGS=$CFLAGS ++ old_LDFLAGS=$LDFLAGS ++ CFLAGS="$CFLAGS $POLKIT_CFLAGS" ++ LDFLAGS="$LDFLAGS $POLKIT_LIBS" ++ for ac_func in polkit_context_is_caller_authorized ++do : ++ ac_fn_c_check_func "$LINENO" "polkit_context_is_caller_authorized" "ac_cv_func_polkit_context_is_caller_authorized" ++if test "x$ac_cv_func_polkit_context_is_caller_authorized" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED 1 ++_ACEOF ++ ++fi ++done ++ ++ CFLAGS="$old_CFLAGS" ++ LDFLAGS="$old_LDFLAGS" ++ ++ # Extract the first word of "polkit-auth", so it can be a program name with args. ++set dummy polkit-auth; 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_POLKIT_AUTH+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $POLKIT_AUTH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_POLKIT_AUTH="$POLKIT_AUTH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_POLKIT_AUTH="$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 ++POLKIT_AUTH=$ac_cv_path_POLKIT_AUTH ++if test -n "$POLKIT_AUTH"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POLKIT_AUTH" >&5 ++$as_echo "$POLKIT_AUTH" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "x$POLKIT_AUTH" != "x"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define POLKIT_AUTH "$POLKIT_AUTH" ++_ACEOF ++ ++ fi ++ fi ++fi ++ if test "x$with_polkit" = "xyes"; then ++ HAVE_POLKIT_TRUE= ++ HAVE_POLKIT_FALSE='#' ++else ++ HAVE_POLKIT_TRUE='#' ++ HAVE_POLKIT_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-avahi was given. ++if test "${with_avahi+set}" = set; then : ++ withval=$with_avahi; ++else ++ with_avahi=check ++fi ++ ++ ++AVAHI_CFLAGS= ++AVAHI_LIBS= ++if test "x$with_avahi" = "xyes" -o "x$with_avahi" = "xcheck"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVAHI" >&5 ++$as_echo_n "checking for AVAHI... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$AVAHI_CFLAGS"; then ++ pkg_cv_AVAHI_CFLAGS="$AVAHI_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= \$AVAHI_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "avahi-client >= $AVAHI_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_AVAHI_CFLAGS=`$PKG_CONFIG --cflags "avahi-client >= $AVAHI_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$AVAHI_LIBS"; then ++ pkg_cv_AVAHI_LIBS="$AVAHI_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= \$AVAHI_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "avahi-client >= $AVAHI_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_AVAHI_LIBS=`$PKG_CONFIG --libs "avahi-client >= $AVAHI_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ AVAHI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "avahi-client >= $AVAHI_REQUIRED"` ++ else ++ AVAHI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "avahi-client >= $AVAHI_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$AVAHI_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_avahi" = "xcheck" ; then ++ with_avahi=no ++ else ++ as_fn_error "You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_avahi" = "xcheck" ; then ++ with_avahi=no ++ else ++ as_fn_error "You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ AVAHI_CFLAGS=$pkg_cv_AVAHI_CFLAGS ++ AVAHI_LIBS=$pkg_cv_AVAHI_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_avahi=yes ++fi ++ if test "x$with_avahi" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_AVAHI 1 ++_ACEOF ++ ++ fi ++fi ++ if test "x$with_avahi" = "xyes"; then ++ HAVE_AVAHI_TRUE= ++ HAVE_AVAHI_FALSE='#' ++else ++ HAVE_AVAHI_TRUE='#' ++ HAVE_AVAHI_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-selinux was given. ++if test "${with_selinux+set}" = set; then : ++ withval=$with_selinux; ++else ++ with_selinux=check ++fi ++ ++ ++SELINUX_CFLAGS= ++SELINUX_LIBS= ++if test "$with_selinux" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_selinux" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" ++if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then : ++ ++else ++ with_selinux=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetfilecon in -lselinux" >&5 ++$as_echo_n "checking for fgetfilecon in -lselinux... " >&6; } ++if test "${ac_cv_lib_selinux_fgetfilecon+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lselinux $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char fgetfilecon (); ++int ++main () ++{ ++return fgetfilecon (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_selinux_fgetfilecon=yes ++else ++ ac_cv_lib_selinux_fgetfilecon=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_fgetfilecon" >&5 ++$as_echo "$ac_cv_lib_selinux_fgetfilecon" >&6; } ++if test "x$ac_cv_lib_selinux_fgetfilecon" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBSELINUX 1 ++_ACEOF ++ ++ LIBS="-lselinux $LIBS" ++ ++else ++ with_selinux=no ++fi ++ ++ if test "$with_selinux" != "no"; then ++ with_selinux="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" ++if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetfilecon in -lselinux" >&5 ++$as_echo_n "checking for fgetfilecon in -lselinux... " >&6; } ++if test "${ac_cv_lib_selinux_fgetfilecon+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lselinux $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char fgetfilecon (); ++int ++main () ++{ ++return fgetfilecon (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_selinux_fgetfilecon=yes ++else ++ ac_cv_lib_selinux_fgetfilecon=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_fgetfilecon" >&5 ++$as_echo "$ac_cv_lib_selinux_fgetfilecon" >&6; } ++if test "x$ac_cv_lib_selinux_fgetfilecon" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBSELINUX 1 ++_ACEOF ++ ++ LIBS="-lselinux $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_selinux" = "yes"; then ++ SELINUX_LIBS="-lselinux" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SELINUX 1 ++_ACEOF ++ ++fi ++ if test "$with_selinux" != "no"; then ++ HAVE_SELINUX_TRUE= ++ HAVE_SELINUX_FALSE='#' ++else ++ HAVE_SELINUX_TRUE='#' ++ HAVE_SELINUX_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --with-secdriver-selinux was given. ++if test "${with_secdriver_selinux+set}" = set; then : ++ withval=$with_secdriver_selinux; ++else ++ with_secdriver_selinux=check ++fi ++ ++ ++if test "$with_selinux" != "yes" ; then ++ if test "$with_secdriver_selinux" = "check" ; then ++ with_secdriver_selinux=no ++ else ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 ++ fi ++else ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ CFLAGS="$CFLAGS $SELINUX_CFLAGS" ++ LIBS="$CFLAGS $SELINUX_LIBS" ++ ++ fail=0 ++ ac_fn_c_check_func "$LINENO" "selinux_virtual_domain_context_path" "ac_cv_func_selinux_virtual_domain_context_path" ++if test "x$ac_cv_func_selinux_virtual_domain_context_path" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ac_fn_c_check_func "$LINENO" "selinux_virtual_image_context_path" "ac_cv_func_selinux_virtual_image_context_path" ++if test "x$ac_cv_func_selinux_virtual_image_context_path" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++ ++ if test "$fail" = "1" ; then ++ if test "$with_secdriver_selinux" = "check" ; then ++ with_secdriver_selinux=no ++ else ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ else ++ with_secdriver_selinux=yes ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_SECDRIVER_SELINUX 1 ++_ACEOF ++ ++ fi ++fi ++ if test "$with_secdriver_selinux" != "no"; then ++ WITH_SECDRIVER_SELINUX_TRUE= ++ WITH_SECDRIVER_SELINUX_FALSE='#' ++else ++ WITH_SECDRIVER_SELINUX_TRUE='#' ++ WITH_SECDRIVER_SELINUX_FALSE= ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-apparmor was given. ++if test "${with_apparmor+set}" = set; then : ++ withval=$with_apparmor; ++else ++ with_apparmor=check ++fi ++ ++ ++APPARMOR_CFLAGS= ++APPARMOR_LIBS= ++if test "$with_apparmor" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_apparmor" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/apparmor.h" "ac_cv_header_sys_apparmor_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_apparmor_h" = x""yes; then : ++ ++else ++ with_apparmor=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_profile in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_profile in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_profile+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_profile (); ++int ++main () ++{ ++return aa_change_profile (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_profile=yes ++else ++ ac_cv_lib_apparmor_aa_change_profile=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_profile" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_profile" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBAPPARMOR 1 ++_ACEOF ++ ++ LIBS="-lapparmor $LIBS" ++ ++else ++ with_apparmor=no ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_hat in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_hat in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_hat+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_hat (); ++int ++main () ++{ ++return aa_change_hat (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_hat=yes ++else ++ ac_cv_lib_apparmor_aa_change_hat=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_hat" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_hat" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_hat" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBAPPARMOR 1 ++_ACEOF ++ ++ LIBS="-lapparmor $LIBS" ++ ++else ++ with_apparmor=no ++fi ++ ++ if test "$with_apparmor" != "no"; then ++ with_apparmor="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/apparmor.h" "ac_cv_header_sys_apparmor_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_apparmor_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_profile in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_profile in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_profile+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_profile (); ++int ++main () ++{ ++return aa_change_profile (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_profile=yes ++else ++ ac_cv_lib_apparmor_aa_change_profile=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_profile" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_profile" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBAPPARMOR 1 ++_ACEOF ++ ++ LIBS="-lapparmor $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_hat in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_hat in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_hat+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_hat (); ++int ++main () ++{ ++return aa_change_hat (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_hat=yes ++else ++ ac_cv_lib_apparmor_aa_change_hat=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_hat" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_hat" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_hat" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBAPPARMOR 1 ++_ACEOF ++ ++ LIBS="-lapparmor $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_apparmor" = "yes"; then ++ APPARMOR_LIBS="-lapparmor" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_APPARMOR 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define APPARMOR_DIR "/etc/apparmor.d" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define APPARMOR_PROFILES_PATH "/sys/kernel/security/apparmor/profiles" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VIRT_AA_HELPER_PATH "$prefix/bin/virt-aa-helper" ++_ACEOF ++ ++fi ++ if test "$with_apparmor" != "no"; then ++ HAVE_APPARMOR_TRUE= ++ HAVE_APPARMOR_FALSE='#' ++else ++ HAVE_APPARMOR_TRUE='#' ++ HAVE_APPARMOR_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++@%:@ Check whether --with-secdriver-apparmor was given. ++if test "${with_secdriver_apparmor+set}" = set; then : ++ withval=$with_secdriver_apparmor; ++else ++ with_secdriver_apparmor=check ++fi ++ ++ ++if test "$with_apparmor" != "yes" ; then ++ if test "$with_secdriver_apparmor" = "check" ; then ++ with_secdriver_apparmor=no ++ else ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++else ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ CFLAGS="$CFLAGS $APPARMOR_CFLAGS" ++ LIBS="$CFLAGS $APPARMOR_LIBS" ++ ++ fail=0 ++ ac_fn_c_check_func "$LINENO" "change_hat" "ac_cv_func_change_hat" ++if test "x$ac_cv_func_change_hat" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ac_fn_c_check_func "$LINENO" "aa_change_profile" "ac_cv_func_aa_change_profile" ++if test "x$ac_cv_func_aa_change_profile" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++ ++ if test "$fail" = "1" ; then ++ if test "$with_secdriver_apparmor" = "check" ; then ++ with_secdriver_apparmor=no ++ else ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ else ++ with_secdriver_apparmor=yes ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_SECDRIVER_APPARMOR 1 ++_ACEOF ++ ++ fi ++fi ++ if test "$with_secdriver_apparmor" != "no"; then ++ WITH_SECDRIVER_APPARMOR_TRUE= ++ WITH_SECDRIVER_APPARMOR_FALSE='#' ++else ++ WITH_SECDRIVER_APPARMOR_TRUE='#' ++ WITH_SECDRIVER_APPARMOR_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-numactl was given. ++if test "${with_numactl+set}" = set; then : ++ withval=$with_numactl; ++else ++ with_numactl=check ++fi ++ ++ ++NUMACTL_CFLAGS= ++NUMACTL_LIBS= ++if test "$with_qemu" = "yes" -a "$with_numactl" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_numactl" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default" ++if test "x$ac_cv_header_numa_h" = x""yes; then : ++ ++else ++ with_numactl=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for numa_available in -lnuma" >&5 ++$as_echo_n "checking for numa_available in -lnuma... " >&6; } ++if test "${ac_cv_lib_numa_numa_available+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnuma $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char numa_available (); ++int ++main () ++{ ++return numa_available (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_numa_numa_available=yes ++else ++ ac_cv_lib_numa_numa_available=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_numa_available" >&5 ++$as_echo "$ac_cv_lib_numa_numa_available" >&6; } ++if test "x$ac_cv_lib_numa_numa_available" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBNUMA 1 ++_ACEOF ++ ++ LIBS="-lnuma $LIBS" ++ ++else ++ with_numactl=no ++fi ++ ++ if test "$with_numactl" != "no"; then ++ with_numactl="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default" ++if test "x$ac_cv_header_numa_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for numa_available in -lnuma" >&5 ++$as_echo_n "checking for numa_available in -lnuma... " >&6; } ++if test "${ac_cv_lib_numa_numa_available+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnuma $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char numa_available (); ++int ++main () ++{ ++return numa_available (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_numa_numa_available=yes ++else ++ ac_cv_lib_numa_numa_available=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_numa_available" >&5 ++$as_echo "$ac_cv_lib_numa_numa_available" >&6; } ++if test "x$ac_cv_lib_numa_numa_available" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBNUMA 1 ++_ACEOF ++ ++ LIBS="-lnuma $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must install the numactl development package in order to compile and run libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_numactl" = "yes"; then ++ NUMACTL_LIBS="-lnuma" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_NUMACTL 1 ++_ACEOF ++ ++fi ++ if test "$with_numactl" != "no"; then ++ HAVE_NUMACTL_TRUE= ++ HAVE_NUMACTL_FALSE='#' ++else ++ HAVE_NUMACTL_TRUE='#' ++ HAVE_NUMACTL_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++if test "$with_uml" = "yes" -o "$with_uml" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : ++ ++ with_uml=yes ++ ++else ++ ++ if test "$with_uml" = "check"; then ++ with_uml=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: is required for the UML driver, disabling it" >&5 ++$as_echo "$as_me: is required for the UML driver, disabling it" >&6;} ++ else ++ as_fn_error "The is required for the UML driver. Upgrade your libc6." "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++fi ++if test "$with_libvirtd" = "no" ; then ++ with_uml=no ++fi ++if test "$with_uml" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_UML 1 ++_ACEOF ++ ++fi ++ if test "$with_uml" = "yes"; then ++ WITH_UML_TRUE= ++ WITH_UML_FALSE='#' ++else ++ WITH_UML_TRUE='#' ++ WITH_UML_FALSE= ++fi ++ ++ ++ ++ ++ ++if test "$with_libssh" != "yes" -a "$with_libssh" != "no"; then ++ libssh_path="$with_libssh" ++elif test "$with_libssh" = "yes"; then ++ libssh_path="/usr/local/lib/" ++elif test "$with_libssh" = "no"; then ++ with_phyp="no"; ++fi ++ ++if test "$with_phyp" = "check"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5 ++$as_echo_n "checking for ssh_new in -lssh... " >&6; } ++if test "${ac_cv_lib_ssh_ssh_new+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lssh $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ssh_new (); ++int ++main () ++{ ++return ssh_new (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ssh_ssh_new=yes ++else ++ ac_cv_lib_ssh_ssh_new=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5 ++$as_echo "$ac_cv_lib_ssh_ssh_new" >&6; } ++if test "x$ac_cv_lib_ssh_ssh_new" = x""yes; then : ++ ++ LIBSSH_LIBS="$LIBSSH_LIBS -lssh -L$libssh_path" ++ ++else ++ ++ with_phyp="no" ++ with_libssh="no"; ++ ++fi ++ ++ ++ if test "$with_phyp" != "no"; then ++ for ac_header in libssh/libssh.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "libssh/libssh.h" "ac_cv_header_libssh_libssh_h" "$ac_includes_default" ++if test "x$ac_cv_header_libssh_libssh_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBSSH_LIBSSH_H 1 ++_ACEOF ++ ++ with_phyp="yes" ++ LIBSSH_CFLAGS="-I/usr/local/include/libssh" ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_PHYP 1 ++_ACEOF ++ ++ ++else ++ ++ with_phyp="no" ++ with_libssh="no"; ++ ++fi ++ ++done ++ ++ fi ++elif test "$with_phyp" = "yes"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5 ++$as_echo_n "checking for ssh_new in -lssh... " >&6; } ++if test "${ac_cv_lib_ssh_ssh_new+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lssh $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ssh_new (); ++int ++main () ++{ ++return ssh_new (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ssh_ssh_new=yes ++else ++ ac_cv_lib_ssh_ssh_new=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5 ++$as_echo "$ac_cv_lib_ssh_ssh_new" >&6; } ++if test "x$ac_cv_lib_ssh_ssh_new" = x""yes; then : ++ ++ LIBSSH_LIBS="$LIBSSH_LIBS -lssh -L$libssh_path" ++ ++else ++ ++ as_fn_error "You must install the libssh to compile Phype driver." "$LINENO" 5 ++ ++fi ++ ++ ++ for ac_header in libssh/libssh.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "libssh/libssh.h" "ac_cv_header_libssh_libssh_h" "$ac_includes_default" ++if test "x$ac_cv_header_libssh_libssh_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBSSH_LIBSSH_H 1 ++_ACEOF ++ ++ LIBSSH_CFLAGS="-I/usr/local/include/libssh" ++ ++else ++ ++ as_fn_error "Cannot find libssh headers.Is libssh installed ?" "$LINENO" 5 ++ ++fi ++ ++done ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_PHYP 1 ++_ACEOF ++ ++fi ++ if test "$with_phyp" = "yes"; then ++ WITH_PHYP_TRUE= ++ WITH_PHYP_FALSE='#' ++else ++ WITH_PHYP_TRUE='#' ++ WITH_PHYP_FALSE= ++fi ++ ++ ++ ++@%:@ Check whether --with-capng was given. ++if test "${with_capng+set}" = set; then : ++ withval=$with_capng; ++else ++ with_capng=check ++fi ++ ++ ++CAPNG_CFLAGS= ++CAPNG_LIBS= ++if test "$with_qemu" = "yes" -a "$with_capng" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_capng" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default" ++if test "x$ac_cv_header_cap_ng_h" = x""yes; then : ++ ++else ++ with_capng=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_updatev in -lcap-ng" >&5 ++$as_echo_n "checking for capng_updatev in -lcap-ng... " >&6; } ++if test "${ac_cv_lib_cap_ng_capng_updatev+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lcap-ng $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char capng_updatev (); ++int ++main () ++{ ++return capng_updatev (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_cap_ng_capng_updatev=yes ++else ++ ac_cv_lib_cap_ng_capng_updatev=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_updatev" >&5 ++$as_echo "$ac_cv_lib_cap_ng_capng_updatev" >&6; } ++if test "x$ac_cv_lib_cap_ng_capng_updatev" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBCAP_NG 1 ++_ACEOF ++ ++ LIBS="-lcap-ng $LIBS" ++ ++else ++ with_capng=no ++fi ++ ++ if test "$with_capng" != "no"; then ++ with_capng="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default" ++if test "x$ac_cv_header_cap_ng_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_updatev in -lcap-ng" >&5 ++$as_echo_n "checking for capng_updatev in -lcap-ng... " >&6; } ++if test "${ac_cv_lib_cap_ng_capng_updatev+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lcap-ng $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char capng_updatev (); ++int ++main () ++{ ++return capng_updatev (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_cap_ng_capng_updatev=yes ++else ++ ac_cv_lib_cap_ng_capng_updatev=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_updatev" >&5 ++$as_echo "$ac_cv_lib_cap_ng_capng_updatev" >&6; } ++if test "x$ac_cv_lib_cap_ng_capng_updatev" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBCAP_NG 1 ++_ACEOF ++ ++ LIBS="-lcap-ng $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must install the capng >= 0.4.0 development package in order to compile and run libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_capng" = "yes"; then ++ CAPNG_LIBS="-lcap-ng" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_CAPNG 1 ++_ACEOF ++ ++fi ++ if test "$with_capng" != "no"; then ++ HAVE_CAPNG_TRUE= ++ HAVE_CAPNG_FALSE='#' ++else ++ HAVE_CAPNG_TRUE='#' ++ HAVE_CAPNG_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++for ac_header in readline/readline.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" ++if test "x$ac_cv_header_readline_readline_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_READLINE_READLINE_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++# Check for readline. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 ++$as_echo_n "checking for readline in -lreadline... " >&6; } ++if test "${ac_cv_lib_readline_readline+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lreadline $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char readline (); ++int ++main () ++{ ++return readline (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_readline_readline=yes ++else ++ ac_cv_lib_readline_readline=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 ++$as_echo "$ac_cv_lib_readline_readline" >&6; } ++if test "x$ac_cv_lib_readline_readline" = x""yes; then : ++ lv_use_readline=yes; VIRSH_LIBS="$VIRSH_LIBS -lreadline" ++else ++ lv_use_readline=no ++fi ++ ++ ++# If the above test failed, it may simply be that -lreadline requires ++# some termcap-related code, e.g., from one of the following libraries. ++# See if adding one of them to LIBS helps. ++if test $lv_use_readline = no; then ++ lv_saved_libs=$LIBS ++ LIBS= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5 ++$as_echo_n "checking for library containing tgetent... " >&6; } ++if test "${ac_cv_search_tgetent+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char tgetent (); ++int ++main () ++{ ++return tgetent (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' ncurses curses termcap termlib; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_tgetent=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_tgetent+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_tgetent+set}" = set; then : ++ ++else ++ ac_cv_search_tgetent=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5 ++$as_echo "$ac_cv_search_tgetent" >&6; } ++ac_res=$ac_cv_search_tgetent ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++fi ++ ++ case $LIBS in ++ no*) ;; # handle "no" and "none required" ++ *) # anything else is a -lLIBRARY ++ # Now, check for -lreadline again, also using $LIBS. ++ # Note: this time we use a different function, so that ++ # we don't get a cached "no" result. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_initialize in -lreadline" >&5 ++$as_echo_n "checking for rl_initialize in -lreadline... " >&6; } ++if test "${ac_cv_lib_readline_rl_initialize+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lreadline $LIBS $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char rl_initialize (); ++int ++main () ++{ ++return rl_initialize (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_readline_rl_initialize=yes ++else ++ ac_cv_lib_readline_rl_initialize=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_initialize" >&5 ++$as_echo "$ac_cv_lib_readline_rl_initialize" >&6; } ++if test "x$ac_cv_lib_readline_rl_initialize" = x""yes; then : ++ lv_use_readline=yes ++ VIRSH_LIBS="$VIRSH_LIBS -lreadline $LIBS" ++fi ++ ++ ;; ++ esac ++ test $lv_use_readline = no && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: readline library not found" >&5 ++$as_echo "$as_me: WARNING: readline library not found" >&2;} ++ LIBS=$lv_saved_libs ++fi ++ ++if test $lv_use_readline = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define USE_READLINE 1 ++_ACEOF ++ ++ READLINE_CFLAGS=-DUSE_READLINE ++else ++ READLINE_CFLAGS= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-network was given. ++if test "${with_network+set}" = set; then : ++ withval=$with_network; ++else ++ with_network=yes ++fi ++ ++if test "$with_libvirtd" = "no" ; then ++ with_network=no ++fi ++if test "$with_network" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_NETWORK 1 ++_ACEOF ++ ++fi ++ if test "$with_network" = "yes"; then ++ WITH_NETWORK_TRUE= ++ WITH_NETWORK_FALSE='#' ++else ++ WITH_NETWORK_TRUE='#' ++ WITH_NETWORK_FALSE= ++fi ++ ++ ++with_bridge=no ++if test "$with_qemu:$with_lxc:$with_network" != "no:no:no"; then ++ with_bridge=yes ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_BRIDGE 1 ++_ACEOF ++ ++fi ++ if test "$with_bridge" = "yes"; then ++ WITH_BRIDGE_TRUE= ++ WITH_BRIDGE_FALSE='#' ++else ++ WITH_BRIDGE_TRUE='#' ++ WITH_BRIDGE_FALSE= ++fi ++ ++ ++ ++@%:@ Check whether --with-netcf was given. ++if test "${with_netcf+set}" = set; then : ++ withval=$with_netcf; ++else ++ with_netcf=check ++fi ++ ++ ++NETCF_CFLAGS= ++NETCF_LIBS= ++if test "$with_netcf" = "yes" -o "$with_netcf" = "check"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NETCF" >&5 ++$as_echo_n "checking for NETCF... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$NETCF_CFLAGS"; then ++ pkg_cv_NETCF_CFLAGS="$NETCF_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"netcf >= \$NETCF_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "netcf >= $NETCF_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_NETCF_CFLAGS=`$PKG_CONFIG --cflags "netcf >= $NETCF_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$NETCF_LIBS"; then ++ pkg_cv_NETCF_LIBS="$NETCF_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"netcf >= \$NETCF_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "netcf >= $NETCF_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_NETCF_LIBS=`$PKG_CONFIG --libs "netcf >= $NETCF_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ NETCF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "netcf >= $NETCF_REQUIRED"` ++ else ++ NETCF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "netcf >= $NETCF_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$NETCF_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "$with_netcf" = "check" ; then ++ with_netcf=no ++ else ++ as_fn_error "You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "$with_netcf" = "check" ; then ++ with_netcf=no ++ else ++ as_fn_error "You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ NETCF_CFLAGS=$pkg_cv_NETCF_CFLAGS ++ NETCF_LIBS=$pkg_cv_NETCF_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_netcf=yes ++fi ++ if test "$with_netcf" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_NETCF 1 ++_ACEOF ++ ++ fi ++fi ++ if test "$with_netcf" = "yes"; then ++ WITH_NETCF_TRUE= ++ WITH_NETCF_FALSE='#' ++else ++ WITH_NETCF_TRUE='#' ++ WITH_NETCF_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-storage-fs was given. ++if test "${with_storage_fs+set}" = set; then : ++ withval=$with_storage_fs; ++else ++ with_storage_fs=check ++fi ++ ++ ++@%:@ Check whether --with-storage-lvm was given. ++if test "${with_storage_lvm+set}" = set; then : ++ withval=$with_storage_lvm; ++else ++ with_storage_lvm=check ++fi ++ ++ ++@%:@ Check whether --with-storage-iscsi was given. ++if test "${with_storage_iscsi+set}" = set; then : ++ withval=$with_storage_iscsi; ++else ++ with_storage_iscsi=check ++fi ++ ++ ++@%:@ Check whether --with-storage-scsi was given. ++if test "${with_storage_scsi+set}" = set; then : ++ withval=$with_storage_scsi; ++else ++ with_storage_scsi=check ++fi ++ ++ ++@%:@ Check whether --with-storage-disk was given. ++if test "${with_storage_disk+set}" = set; then : ++ withval=$with_storage_disk; ++else ++ with_storage_disk=check ++fi ++ ++ ++with_storage_dir=yes ++if test "$with_libvirtd" = "no"; then ++ with_storage_dir=no ++ with_storage_fs=no ++ with_storage_lvm=no ++ with_storage_iscsi=no ++ with_storage_scsi=no ++ with_storage_disk=no ++fi ++if test "$with_storage_dir" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_DIR 1 ++_ACEOF ++ ++fi ++ if test "$with_storage_dir" = "yes"; then ++ WITH_STORAGE_DIR_TRUE= ++ WITH_STORAGE_DIR_FALSE='#' ++else ++ WITH_STORAGE_DIR_TRUE='#' ++ WITH_STORAGE_DIR_FALSE= ++fi ++ ++ ++ ++if test "$with_storage_fs" = "yes" -o "$with_storage_fs" = "check"; then ++ # Extract the first word of "mount", so it can be a program name with args. ++set dummy mount; 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_MOUNT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MOUNT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MOUNT="$MOUNT" # 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_MOUNT="$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 ++MOUNT=$ac_cv_path_MOUNT ++if test -n "$MOUNT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOUNT" >&5 ++$as_echo "$MOUNT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "umount", so it can be a program name with args. ++set dummy umount; 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_UMOUNT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $UMOUNT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_UMOUNT="$UMOUNT" # 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_UMOUNT="$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 ++UMOUNT=$ac_cv_path_UMOUNT ++if test -n "$UMOUNT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UMOUNT" >&5 ++$as_echo "$UMOUNT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "$with_storage_fs" = "yes" ; then ++ if test -z "$MOUNT" ; then as_fn_error "We need mount for FS storage driver" "$LINENO" 5 ; fi ++ if test -z "$UMOUNT" ; then as_fn_error "We need umount for FS storage driver" "$LINENO" 5 ; fi ++ else ++ if test -z "$MOUNT" ; then with_storage_fs=no ; fi ++ if test -z "$UMOUNT" ; then with_storage_fs=no ; fi ++ ++ if test "$with_storage_fs" = "check" ; then with_storage_fs=yes ; fi ++ fi ++ ++ if test "$with_storage_fs" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_FS 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define MOUNT "$MOUNT" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define UMOUNT "$UMOUNT" ++_ACEOF ++ ++ fi ++fi ++ if test "$with_storage_fs" = "yes"; then ++ WITH_STORAGE_FS_TRUE= ++ WITH_STORAGE_FS_FALSE='#' ++else ++ WITH_STORAGE_FS_TRUE='#' ++ WITH_STORAGE_FS_FALSE= ++fi ++ ++if test "$with_storage_fs" = "yes"; then ++ # Extract the first word of "showmount", so it can be a program name with args. ++set dummy showmount; 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_SHOWMOUNT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $SHOWMOUNT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_SHOWMOUNT="$SHOWMOUNT" # 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_SHOWMOUNT="$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 ++SHOWMOUNT=$ac_cv_path_SHOWMOUNT ++if test -n "$SHOWMOUNT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHOWMOUNT" >&5 ++$as_echo "$SHOWMOUNT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define SHOWMOUNT "$SHOWMOUNT" ++_ACEOF ++ ++fi ++ ++if test "$with_storage_lvm" = "yes" -o "$with_storage_lvm" = "check"; then ++ # Extract the first word of "pvcreate", so it can be a program name with args. ++set dummy pvcreate; 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_PVCREATE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PVCREATE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PVCREATE="$PVCREATE" # 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_PVCREATE="$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 ++PVCREATE=$ac_cv_path_PVCREATE ++if test -n "$PVCREATE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVCREATE" >&5 ++$as_echo "$PVCREATE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "vgcreate", so it can be a program name with args. ++set dummy vgcreate; 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_VGCREATE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGCREATE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGCREATE="$VGCREATE" # 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_VGCREATE="$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 ++VGCREATE=$ac_cv_path_VGCREATE ++if test -n "$VGCREATE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGCREATE" >&5 ++$as_echo "$VGCREATE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "lvcreate", so it can be a program name with args. ++set dummy lvcreate; 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_LVCREATE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LVCREATE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LVCREATE="$LVCREATE" # 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_LVCREATE="$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 ++LVCREATE=$ac_cv_path_LVCREATE ++if test -n "$LVCREATE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVCREATE" >&5 ++$as_echo "$LVCREATE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "pvremove", so it can be a program name with args. ++set dummy pvremove; 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_PVREMOVE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PVREMOVE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PVREMOVE="$PVREMOVE" # 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_PVREMOVE="$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 ++PVREMOVE=$ac_cv_path_PVREMOVE ++if test -n "$PVREMOVE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVREMOVE" >&5 ++$as_echo "$PVREMOVE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "vgremove", so it can be a program name with args. ++set dummy vgremove; 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_VGREMOVE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGREMOVE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGREMOVE="$VGREMOVE" # 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_VGREMOVE="$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 ++VGREMOVE=$ac_cv_path_VGREMOVE ++if test -n "$VGREMOVE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGREMOVE" >&5 ++$as_echo "$VGREMOVE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "lvremove", so it can be a program name with args. ++set dummy lvremove; 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_LVREMOVE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LVREMOVE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LVREMOVE="$LVREMOVE" # 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_LVREMOVE="$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 ++LVREMOVE=$ac_cv_path_LVREMOVE ++if test -n "$LVREMOVE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVREMOVE" >&5 ++$as_echo "$LVREMOVE" >&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 ++$as_echo_n "checking for $ac_word... " >&6; } ++if test "${ac_cv_path_VGCHANGE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGCHANGE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGCHANGE="$VGCHANGE" # 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_VGCHANGE="$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 ++VGCHANGE=$ac_cv_path_VGCHANGE ++if test -n "$VGCHANGE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGCHANGE" >&5 ++$as_echo "$VGCHANGE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "vgscan", so it can be a program name with args. ++set dummy vgscan; 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_VGSCAN+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGSCAN in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGSCAN="$VGSCAN" # 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_VGSCAN="$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 ++VGSCAN=$ac_cv_path_VGSCAN ++if test -n "$VGSCAN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGSCAN" >&5 ++$as_echo "$VGSCAN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "pvs", so it can be a program name with args. ++set dummy pvs; 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_PVS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PVS in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PVS="$PVS" # 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_PVS="$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 ++PVS=$ac_cv_path_PVS ++if test -n "$PVS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVS" >&5 ++$as_echo "$PVS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "vgs", so it can be a program name with args. ++set dummy vgs; 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_VGS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $VGS in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_VGS="$VGS" # 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_VGS="$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 ++VGS=$ac_cv_path_VGS ++if test -n "$VGS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGS" >&5 ++$as_echo "$VGS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ # Extract the first word of "lvs", so it can be a program name with args. ++set dummy lvs; 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_LVS+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LVS in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LVS="$LVS" # 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_LVS="$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 ++LVS=$ac_cv_path_LVS ++if test -n "$LVS"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVS" >&5 ++$as_echo "$LVS" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ if test "$with_storage_lvm" = "yes" ; then ++ if test -z "$PVCREATE" ; then as_fn_error "We need pvcreate for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$VGCREATE" ; then as_fn_error "We need vgcreate for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$LVCREATE" ; then as_fn_error "We need lvcreate for LVM storage driver" "$LINENO" 5 ; 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 "$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 ++ if test -z "$VGS" ; then as_fn_error "We need vgs for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$LVS" ; then as_fn_error "We need lvs for LVM storage driver" "$LINENO" 5 ; fi ++ else ++ if test -z "$PVCREATE" ; then with_storage_lvm=no ; fi ++ if test -z "$VGCREATE" ; then with_storage_lvm=no ; fi ++ if test -z "$LVCREATE" ; then with_storage_lvm=no ; 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 "$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 ++ if test -z "$VGS" ; then with_storage_lvm=no ; fi ++ if test -z "$LVS" ; then with_storage_lvm=no ; fi ++ ++ if test "$with_storage_lvm" = "check" ; then with_storage_lvm=yes ; fi ++ fi ++ ++ if test "$with_storage_lvm" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_LVM 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PVCREATE "$PVCREATE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGCREATE "$VGCREATE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LVCREATE "$LVCREATE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PVREMOVE "$PVREMOVE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGREMOVE "$VGREMOVE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LVREMOVE "$LVREMOVE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGCHANGE "$VGCHANGE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGSCAN "$VGSCAN" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PVS "$PVS" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VGS "$VGS" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LVS "$LVS" ++_ACEOF ++ ++ fi ++fi ++ if test "$with_storage_lvm" = "yes"; then ++ WITH_STORAGE_LVM_TRUE= ++ WITH_STORAGE_LVM_FALSE='#' ++else ++ WITH_STORAGE_LVM_TRUE='#' ++ WITH_STORAGE_LVM_FALSE= ++fi ++ ++ ++ ++ ++if test "$with_storage_iscsi" = "yes" -o "$with_storage_iscsi" = "check"; then ++ # Extract the first word of "iscsiadm", so it can be a program name with args. ++set dummy iscsiadm; 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_ISCSIADM+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ISCSIADM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ISCSIADM="$ISCSIADM" # 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_ISCSIADM="$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 ++ISCSIADM=$ac_cv_path_ISCSIADM ++if test -n "$ISCSIADM"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISCSIADM" >&5 ++$as_echo "$ISCSIADM" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "$with_storage_iscsi" = "yes" ; then ++ if test -z "$ISCSIADM" ; then as_fn_error "We need iscsiadm for iSCSI storage driver" "$LINENO" 5 ; fi ++ else ++ if test -z "$ISCSIADM" ; then with_storage_iscsi=no ; fi ++ ++ if test "$with_storage_iscsi" = "check" ; then with_storage_iscsi=yes ; fi ++ fi ++ ++ if test "$with_storage_iscsi" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_ISCSI 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define ISCSIADM "$ISCSIADM" ++_ACEOF ++ ++ fi ++fi ++ if test "$with_storage_iscsi" = "yes"; then ++ WITH_STORAGE_ISCSI_TRUE= ++ WITH_STORAGE_ISCSI_FALSE='#' ++else ++ WITH_STORAGE_ISCSI_TRUE='#' ++ WITH_STORAGE_ISCSI_FALSE= ++fi ++ ++ ++if test "$with_storage_scsi" = "check"; then ++ with_storage_scsi=yes ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_SCSI 1 ++_ACEOF ++ ++fi ++ if test "$with_storage_scsi" = "yes"; then ++ WITH_STORAGE_SCSI_TRUE= ++ WITH_STORAGE_SCSI_FALSE='#' ++else ++ WITH_STORAGE_SCSI_TRUE='#' ++ WITH_STORAGE_SCSI_FALSE= ++fi ++ ++ ++ ++LIBPARTED_CFLAGS= ++LIBPARTED_LIBS= ++if test "$with_storage_disk" = "yes" -o "$with_storage_disk" = "check"; then ++ # Extract the first word of "parted", so it can be a program name with args. ++set dummy parted; 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_PARTED+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PARTED in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PARTED="$PARTED" # 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_PARTED="$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 ++PARTED=$ac_cv_path_PARTED ++if test -n "$PARTED"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PARTED" >&5 ++$as_echo "$PARTED" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test -z "$PARTED" ; then ++ with_storage_disk=no ++ PARTED_FOUND=no ++ else ++ PARTED_FOUND=yes ++ fi ++ ++ if test "$with_storage_disk" != "no" -a "x$PKG_CONFIG" != "x" ; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPARTED" >&5 ++$as_echo_n "checking for LIBPARTED... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBPARTED_CFLAGS"; then ++ pkg_cv_LIBPARTED_CFLAGS="$LIBPARTED_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libparted >= \$PARTED_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libparted >= $PARTED_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBPARTED_CFLAGS=`$PKG_CONFIG --cflags "libparted >= $PARTED_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBPARTED_LIBS"; then ++ pkg_cv_LIBPARTED_LIBS="$LIBPARTED_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libparted >= \$PARTED_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libparted >= $PARTED_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBPARTED_LIBS=`$PKG_CONFIG --libs "libparted >= $PARTED_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ LIBPARTED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libparted >= $PARTED_REQUIRED"` ++ else ++ LIBPARTED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libparted >= $PARTED_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$LIBPARTED_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ PARTED_FOUND=no ++elif test $pkg_failed = untried; then ++ PARTED_FOUND=no ++else ++ LIBPARTED_CFLAGS=$pkg_cv_LIBPARTED_CFLAGS ++ LIBPARTED_LIBS=$pkg_cv_LIBPARTED_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ : ++fi ++ fi ++ if test "$PARTED_FOUND" = "no"; then ++ # RHEL-5 vintage parted is missing pkg-config files ++ save_LIBS="$LIBS" ++ save_CFLAGS="$CFLAGS" ++ PARTED_FOUND=yes ++ ac_fn_c_check_header_mongrel "$LINENO" "parted/parted.h" "ac_cv_header_parted_parted_h" "$ac_includes_default" ++if test "x$ac_cv_header_parted_parted_h" = x""yes; then : ++ ++else ++ PARTED_FOUND=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 ++$as_echo_n "checking for uuid_generate in -luuid... " >&6; } ++if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-luuid $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char uuid_generate (); ++int ++main () ++{ ++return uuid_generate (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_uuid_uuid_generate=yes ++else ++ ac_cv_lib_uuid_uuid_generate=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 ++$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } ++if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBUUID 1 ++_ACEOF ++ ++ LIBS="-luuid $LIBS" ++ ++else ++ PARTED_FOUND=no ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ped_device_read in -lparted" >&5 ++$as_echo_n "checking for ped_device_read in -lparted... " >&6; } ++if test "${ac_cv_lib_parted_ped_device_read+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lparted $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ped_device_read (); ++int ++main () ++{ ++return ped_device_read (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_parted_ped_device_read=yes ++else ++ ac_cv_lib_parted_ped_device_read=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_parted_ped_device_read" >&5 ++$as_echo "$ac_cv_lib_parted_ped_device_read" >&6; } ++if test "x$ac_cv_lib_parted_ped_device_read" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBPARTED 1 ++_ACEOF ++ ++ LIBS="-lparted $LIBS" ++ ++else ++ PARTED_FOUND=no ++fi ++ ++ LIBPARTED_LIBS="-luuid -lparted" ++ LIBS="$save_LIBS" ++ CFLAGS="$save_CFLAGS" ++ fi ++ ++ if test "$PARTED_FOUND" = "no" ; then ++ if test "$with_storage_disk" = "yes" ; then ++ as_fn_error "We need parted for disk storage driver" "$LINENO" 5 ++ else ++ with_storage_disk=no ++ fi ++ else ++ with_storage_disk=yes ++ fi ++ ++ if test "$with_storage_disk" = "yes"; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_STORAGE_DISK 1 ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PARTED "$PARTED" ++_ACEOF ++ ++ fi ++fi ++ if test "$with_storage_disk" = "yes"; then ++ WITH_STORAGE_DISK_TRUE= ++ WITH_STORAGE_DISK_FALSE='#' ++else ++ WITH_STORAGE_DISK_TRUE='#' ++ WITH_STORAGE_DISK_FALSE= ++fi ++ ++ ++ ++ ++ ++LIBCURL_CFLAGS="" ++LIBCURL_LIBS="" ++LIBCURL_REQUIRED="7.18.0" ++LIBCURL_FOUND="no" ++ ++if test "$with_esx" = "yes" -o "$with_esx" = "check"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5 ++$as_echo_n "checking for LIBCURL... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBCURL_CFLAGS"; then ++ pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$LIBCURL_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libcurl >= $LIBCURL_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= $LIBCURL_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBCURL_LIBS"; then ++ pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$LIBCURL_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libcurl >= $LIBCURL_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= $LIBCURL_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl >= $LIBCURL_REQUIRED"` ++ else ++ LIBCURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl >= $LIBCURL_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$LIBCURL_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "$with_esx" = "check"; then ++ with_esx=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: libcurl is required for ESX driver, disabling it" >&5 ++$as_echo "$as_me: libcurl is required for ESX driver, disabling it" >&6;} ++ else ++ as_fn_error "libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "$with_esx" = "check"; then ++ with_esx=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: libcurl is required for ESX driver, disabling it" >&5 ++$as_echo "$as_me: libcurl is required for ESX driver, disabling it" >&6;} ++ else ++ as_fn_error "libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" "$LINENO" 5 ++ fi ++ ++else ++ LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS ++ LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++ LIBCURL_FOUND=yes ++ with_esx="yes" ++ ++fi ++fi ++if test "$with_esx" = "yes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_ESX 1 ++_ACEOF ++ ++fi ++ if test "$with_esx" = "yes"; then ++ WITH_ESX_TRUE= ++ WITH_ESX_FALSE='#' ++else ++ WITH_ESX_TRUE='#' ++ WITH_ESX_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++PYTHON_VERSION= ++PYTHON_INCLUDES= ++PYTHON_SITE_PACKAGES= ++PYTHON_TESTS= ++pythondir= ++if test "$with_python" != "no" ; then ++ if test -x "$with_python/bin/python" ++ then ++ echo Found python in $with_python/bin/python ++ PYTHON="$with_python/bin/python" ++ else ++ if test -x "$with_python" ++ then ++ echo Found python in $with_python ++ PYTHON="$with_python" ++ else ++ if test -x "$PYTHON" ++ then ++ echo Found python in environment PYTHON=$PYTHON ++ with_python=`$PYTHON -c "import sys; print sys.exec_prefix"` ++ else ++ # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. ++set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; 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_PYTHON+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PYTHON in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_PYTHON="$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 ++PYTHON=$ac_cv_path_PYTHON ++if test -n "$PYTHON"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 ++$as_echo "$PYTHON" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ fi ++ fi ++ fi ++ if test "$PYTHON" != "" ++ then ++ PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"` ++ echo Found Python version $PYTHON_VERSION ++ fi ++ if test "$PYTHON_VERSION" != "" ++ then ++ if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ ++ -d $with_python/lib/python$PYTHON_VERSION/site-packages ++ then ++ PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION ++ PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages ++ else ++ if test -r $prefix/include/python$PYTHON_VERSION/Python.h ++ then ++ PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION ++ PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages ++ else ++ if test -r /usr/include/python$PYTHON_VERSION/Python.h ++ then ++ PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION ++ PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages ++ else ++ echo could not find python$PYTHON_VERSION/Python.h ++ fi ++ fi ++ if test ! -d "$PYTHON_SITE_PACKAGES" ++ then ++ PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` ++ fi ++ fi ++ fi ++ if test "$with_python" != "" ++ then ++ pythondir='$(PYTHON_SITE_PACKAGES)' ++ else ++ pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' ++ fi ++else ++ PYTHON= ++fi ++ if test "$PYTHON_INCLUDES" != ""; then ++ WITH_PYTHON_TRUE= ++ WITH_PYTHON_FALSE='#' ++else ++ WITH_PYTHON_TRUE='#' ++ WITH_PYTHON_FALSE= ++fi ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this host is running a Xen kernel" >&5 ++$as_echo_n "checking whether this host is running a Xen kernel... " >&6; } ++RUNNING_XEN= ++if test -d /proc/sys/xen ++then ++ RUNNING_XEN=yes ++else ++ RUNNING_XEN=no ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNNING_XEN" >&5 ++$as_echo "$RUNNING_XEN" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible" >&5 ++$as_echo_n "checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible... " >&6; } ++RUNNING_XEND= ++if test -S /var/run/xend/xmlrpc.sock ++then ++ RUNNING_XEND=yes ++else ++ RUNNING_XEND=no ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNNING_XEND" >&5 ++$as_echo "$RUNNING_XEND" >&6; } ++ ++ if test "$RUNNING_XEN" != "no" -a "$RUNNING_XEND" != "no"; then ++ ENABLE_XEN_TESTS_TRUE= ++ ENABLE_XEN_TESTS_FALSE='#' ++else ++ ENABLE_XEN_TESTS_TRUE='#' ++ ENABLE_XEN_TESTS_FALSE= ++fi ++ ++ ++@%:@ Check whether --enable-test-coverage was given. ++if test "${enable_test_coverage+set}" = set; then : ++ enableval=$enable_test_coverage; case "${enableval}" in ++ yes|no) ;; ++ *) as_fn_error "bad value ${enableval} for test-coverage option" "$LINENO" 5 ;; ++ esac ++else ++ enableval=no ++fi ++ ++enable_coverage=$enableval ++ ++if test "${enable_coverage}" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -fprofile-arcs" >&5 ++$as_echo_n "checking whether compiler accepts -fprofile-arcs... " >&6; } ++ ++ ac_save_CFLAGS="$CFLAGS" ++ if test "-fprofile-arcs" = "-Werror" ; then ++ CFLAGS="$CFLAGS -fprofile-arcs" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS -fprofile-arcs" ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ has_option=yes ++else ++ has_option=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ COMPILER_FLAGS="$COMPILER_FLAGS -fprofile-arcs" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -ftest-coverage" >&5 ++$as_echo_n "checking whether compiler accepts -ftest-coverage... " >&6; } ++ ++ ac_save_CFLAGS="$CFLAGS" ++ if test "-ftest-coverage" = "-Werror" ; then ++ CFLAGS="$CFLAGS -ftest-coverage" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS -ftest-coverage" ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ has_option=yes ++else ++ has_option=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ COMPILER_FLAGS="$COMPILER_FLAGS -ftest-coverage" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ++ COVERAGE_CFLAGS=$COMPILER_FLAGS ++ ++ COVERAGE_LDFLAGS=$COMPILER_FLAGS ++ ++ COMPILER_FLAGS= ++fi ++ ++@%:@ Check whether --enable-test-oom was given. ++if test "${enable_test_oom+set}" = set; then : ++ enableval=$enable_test_oom; case "${enableval}" in ++ yes|no) ;; ++ *) as_fn_error "bad value ${enableval} for test-oom option" "$LINENO" 5 ;; ++ esac ++else ++ enableval=no ++fi ++ ++enable_oom=$enableval ++ ++if test "${enable_oom}" = yes; then ++ have_trace=yes ++ ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_execinfo_h" = x""yes; then : ++ ++else ++ have_trace=no ++fi ++ ++ ++ ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" ++if test "x$ac_cv_func_backtrace" = x""yes; then : ++ ++else ++ have_trace=no ++fi ++ ++ if test "$have_trace" = "yes"; then ++ ++$as_echo "@%:@define TEST_OOM_TRACE 1" >>confdefs.h ++ ++ fi ++ ++$as_echo "@%:@define TEST_OOM 1" >>confdefs.h ++ ++fi ++ ++ ++@%:@ Check whether --enable-test-locking was given. ++if test "${enable_test_locking+set}" = set; then : ++ enableval=$enable_test_locking; case "${enableval}" in ++ yes|no) ;; ++ *) as_fn_error "bad value ${enableval} for test-locking option" "$LINENO" 5 ;; ++ esac ++else ++ enableval=no ++fi ++ ++enable_locking=$enableval ++ ++if test "$enable_locking" = "yes"; then ++ LOCK_CHECKING_CFLAGS="-Dbool=char -D_Bool=char -save-temps" ++ ++fi ++ if test "$enable_locking" = "yes"; then ++ WITH_CIL_TRUE= ++ WITH_CIL_FALSE='#' ++else ++ WITH_CIL_TRUE='#' ++ WITH_CIL_FALSE= ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-xen-proxy was given. ++if test "${with_xen_proxy+set}" = set; then : ++ withval=$with_xen_proxy; ++else ++ with_xen_proxy=auto ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xen setuid proxy is needed" >&5 ++$as_echo_n "checking if Xen setuid proxy is needed... " >&6; } ++if test "$with_xen_proxy" = "auto"; then ++ if test "$with_polkit" = "yes"; then ++ with_xen_proxy="no" ++ else ++ with_xen_proxy="yes" ++ fi ++fi ++if test "$with_xen" != "yes"; then ++ with_xen_proxy="no" ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_xen_proxy" >&5 ++$as_echo "$with_xen_proxy" >&6; } ++ ++ if test "$with_xen_proxy" = "yes"; then ++ WITH_PROXY_TRUE= ++ WITH_PROXY_FALSE='#' ++else ++ WITH_PROXY_TRUE='#' ++ WITH_PROXY_FALSE= ++fi ++ ++if test "$with_xen_proxy" = "yes"; then ++ ++$as_echo "@%:@define WITH_PROXY 1" >>confdefs.h ++ ++fi ++ ++ if test "x$with_libvirtd" = "xyes"; then ++ WITH_LIBVIRTD_TRUE= ++ WITH_LIBVIRTD_FALSE='#' ++else ++ WITH_LIBVIRTD_TRUE='#' ++ WITH_LIBVIRTD_FALSE= ++fi ++ ++ ++ ++ ++ MKINSTALLDIRS= ++ if test -n "$ac_aux_dir"; then ++ case "$ac_aux_dir" in ++ /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; ++ *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; ++ esac ++ fi ++ if test -z "$MKINSTALLDIRS"; then ++ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 ++$as_echo_n "checking whether NLS is requested... " >&6; } ++ @%:@ Check whether --enable-nls was given. ++if test "${enable_nls+set}" = set; then : ++ enableval=$enable_nls; USE_NLS=$enableval ++else ++ USE_NLS=yes ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 ++$as_echo "$USE_NLS" >&6; } ++ ++ ++ ++ ++ ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "msgfmt", so it can be a program name with args. ++set dummy msgfmt; 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_MSGFMT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case "$MSGFMT" in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++ test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ++ ;; ++esac ++fi ++MSGFMT="$ac_cv_path_MSGFMT" ++if test "$MSGFMT" != ":"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 ++$as_echo "$MSGFMT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ # Extract the first word of "gmsgfmt", so it can be a program name with args. ++set dummy gmsgfmt; 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_GMSGFMT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $GMSGFMT in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_GMSGFMT="$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 ++ ++ test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ++ ;; ++esac ++fi ++GMSGFMT=$ac_cv_path_GMSGFMT ++if test -n "$GMSGFMT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 ++$as_echo "$GMSGFMT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "xgettext", so it can be a program name with args. ++set dummy xgettext; 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_XGETTEXT+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case "$XGETTEXT" in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++ test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ++ ;; ++esac ++fi ++XGETTEXT="$ac_cv_path_XGETTEXT" ++if test "$XGETTEXT" != ":"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 ++$as_echo "$XGETTEXT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ rm -f messages.po ++ ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "msgmerge", so it can be a program name with args. ++set dummy msgmerge; 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_MSGMERGE+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case "$MSGMERGE" in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then ++ ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++ test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ++ ;; ++esac ++fi ++MSGMERGE="$ac_cv_path_MSGMERGE" ++if test "$MSGMERGE" != ":"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 ++$as_echo "$MSGMERGE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test "$GMSGFMT" != ":"; then ++ if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && ++ (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ : ; ++ else ++ GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 ++$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } ++ GMSGFMT=":" ++ fi ++ fi ++ ++ if test "$XGETTEXT" != ":"; then ++ if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ : ; ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 ++$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } ++ XGETTEXT=":" ++ fi ++ rm -f messages.po ++ fi ++ ++ ac_config_commands="$ac_config_commands default-1" ++ ++ ++ ++ if test "X$prefix" = "XNONE"; then ++ acl_final_prefix="$ac_default_prefix" ++ else ++ acl_final_prefix="$prefix" ++ fi ++ if test "X$exec_prefix" = "XNONE"; then ++ acl_final_exec_prefix='${prefix}' ++ else ++ acl_final_exec_prefix="$exec_prefix" ++ fi ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-gnu-ld was given. ++if test "${with_gnu_ld+set}" = set; then : ++ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes ++else ++ with_gnu_ld=no ++fi ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 ++$as_echo_n "checking for ld used by GCC... " >&6; } ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [\\/]* | [A-Za-z]:[\\/]*) ++ re_direlt='/[^/][^/]*/\.\./' ++ # Canonicalize the path of ld ++ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ++ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++$as_echo_n "checking for GNU ld... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++$as_echo_n "checking for non-GNU ld... " >&6; } ++fi ++if test "${acl_cv_path_LD+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$LD"; then ++ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ++ for ac_dir in $PATH; do ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ acl_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some GNU ld's only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in ++ *GNU* | *'with BFD'*) ++ test "$with_gnu_ld" != no && break ;; ++ *) ++ test "$with_gnu_ld" != yes && break ;; ++ esac ++ fi ++ done ++ IFS="$ac_save_ifs" ++else ++ acl_cv_path_LD="$LD" # Let the user override the test with a path. ++fi ++fi ++ ++LD="$acl_cv_path_LD" ++if test -n "$LD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++$as_echo "$LD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ++if test "${acl_cv_prog_gnu_ld+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # I'd rather use --version here, but apparently some GNU ld's only accept -v. ++case `$LD -v 2>&1 &5 ++$as_echo "$acl_cv_prog_gnu_ld" >&6; } ++with_gnu_ld=$acl_cv_prog_gnu_ld ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 ++$as_echo_n "checking for shared library run path origin... " >&6; } ++if test "${acl_cv_rpath+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ++ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ++ . ./conftest.sh ++ rm -f ./conftest.sh ++ acl_cv_rpath=done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 ++$as_echo "$acl_cv_rpath" >&6; } ++ wl="$acl_cv_wl" ++ libext="$acl_cv_libext" ++ shlibext="$acl_cv_shlibext" ++ hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ++ hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ++ hardcode_direct="$acl_cv_hardcode_direct" ++ hardcode_minus_L="$acl_cv_hardcode_minus_L" ++ @%:@ Check whether --enable-rpath was given. ++if test "${enable_rpath+set}" = set; then : ++ enableval=$enable_rpath; : ++else ++ enable_rpath=yes ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libiconv-prefix was given. ++if test "${with_libiconv_prefix+set}" = set; then : ++ withval=$with_libiconv_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++ ++fi ++ ++ LIBICONV= ++ LTLIBICONV= ++ INCICONV= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='iconv ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ if test $use_additional = yes; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ++ found_dir="$additional_libdir" ++ found_so="$additional_libdir/lib$name.$shlibext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ else ++ if test -f "$additional_libdir/lib$name.$libext"; then ++ found_dir="$additional_libdir" ++ found_a="$additional_libdir/lib$name.$libext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then ++ found_dir="$dir" ++ found_so="$dir/lib$name.$shlibext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ else ++ if test -f "$dir/lib$name.$libext"; then ++ found_dir="$dir" ++ found_a="$dir/lib$name.$libext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$hardcode_direct" = yes; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" ++ else ++ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" ++ fi ++ if test "$hardcode_minus_L" != no; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" ++ else ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" ++ else ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */lib | */lib/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/lib"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/lib"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBICONV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" ++ done ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 ++$as_echo_n "checking whether NLS is requested... " >&6; } ++ @%:@ Check whether --enable-nls was given. ++if test "${enable_nls+set}" = set; then : ++ enableval=$enable_nls; USE_NLS=$enableval ++else ++ USE_NLS=yes ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 ++$as_echo "$USE_NLS" >&6; } ++ ++ ++ ++ ++ LIBINTL= ++ LTLIBINTL= ++ POSUB= ++ ++ if test "$USE_NLS" = "yes"; then ++ gt_use_preinstalled_gnugettext=no ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 ++$as_echo_n "checking for GNU gettext in libc... " >&6; } ++if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++extern int _nl_msg_cat_cntr; ++extern int *_nl_domain_bindings; ++int ++main () ++{ ++bindtextdomain ("", ""); ++return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_func_gnugettext1_libc=yes ++else ++ gt_cv_func_gnugettext1_libc=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 ++$as_echo "$gt_cv_func_gnugettext1_libc" >&6; } ++ ++ if test "$gt_cv_func_gnugettext1_libc" != "yes"; then ++ ++ ++ ++ ++ ++ am_save_CPPFLAGS="$CPPFLAGS" ++ ++ for element in $INCICONV; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 ++$as_echo_n "checking for iconv... " >&6; } ++if test "${am_cv_func_iconv+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ am_cv_func_iconv="no, consider installing GNU libiconv" ++ am_cv_lib_iconv=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ am_cv_func_iconv=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test "$am_cv_func_iconv" != yes; then ++ am_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBICONV" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ am_cv_lib_iconv=yes ++ am_cv_func_iconv=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$am_save_LIBS" ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 ++$as_echo "$am_cv_func_iconv" >&6; } ++ if test "$am_cv_func_iconv" = yes; then ++ ++$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h ++ ++ fi ++ if test "$am_cv_lib_iconv" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 ++$as_echo_n "checking how to link with libiconv... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 ++$as_echo "$LIBICONV" >&6; } ++ else ++ CPPFLAGS="$am_save_CPPFLAGS" ++ LIBICONV= ++ LTLIBICONV= ++ fi ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libintl-prefix was given. ++if test "${with_libintl_prefix+set}" = set; then : ++ withval=$with_libintl_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++ ++fi ++ ++ LIBINTL= ++ LTLIBINTL= ++ INCINTL= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='intl ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ if test $use_additional = yes; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ++ found_dir="$additional_libdir" ++ found_so="$additional_libdir/lib$name.$shlibext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ else ++ if test -f "$additional_libdir/lib$name.$libext"; then ++ found_dir="$additional_libdir" ++ found_a="$additional_libdir/lib$name.$libext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then ++ found_dir="$dir" ++ found_so="$dir/lib$name.$shlibext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ else ++ if test -f "$dir/lib$name.$libext"; then ++ found_dir="$dir" ++ found_a="$dir/lib$name.$libext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$hardcode_direct" = yes; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" ++ else ++ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" ++ fi ++ if test "$hardcode_minus_L" != no; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" ++ else ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" ++ else ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */lib | */lib/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/lib"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/lib"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBINTL; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" ++ done ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 ++$as_echo_n "checking for GNU gettext in libintl... " >&6; } ++if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gt_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$CPPFLAGS $INCINTL" ++ gt_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBINTL" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++extern int _nl_msg_cat_cntr; ++extern ++#ifdef __cplusplus ++"C" ++#endif ++const char *_nl_expand_alias (); ++int ++main () ++{ ++bindtextdomain ("", ""); ++return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_func_gnugettext1_libintl=yes ++else ++ gt_cv_func_gnugettext1_libintl=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then ++ LIBS="$LIBS $LIBICONV" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++extern int _nl_msg_cat_cntr; ++extern ++#ifdef __cplusplus ++"C" ++#endif ++const char *_nl_expand_alias (); ++int ++main () ++{ ++bindtextdomain ("", ""); ++return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ LIBINTL="$LIBINTL $LIBICONV" ++ LTLIBINTL="$LTLIBINTL $LTLIBICONV" ++ gt_cv_func_gnugettext1_libintl=yes ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ fi ++ CPPFLAGS="$gt_save_CPPFLAGS" ++ LIBS="$gt_save_LIBS" ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 ++$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; } ++ fi ++ ++ if test "$gt_cv_func_gnugettext1_libc" = "yes" \ ++ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ ++ && test "$PACKAGE" != gettext-runtime \ ++ && test "$PACKAGE" != gettext-tools; }; then ++ gt_use_preinstalled_gnugettext=yes ++ else ++ LIBINTL= ++ LTLIBINTL= ++ INCINTL= ++ fi ++ ++ ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes" \ ++ || test "$nls_cv_use_gnu_gettext" = "yes"; then ++ ++$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h ++ ++ else ++ USE_NLS=no ++ fi ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 ++$as_echo_n "checking whether to use NLS... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 ++$as_echo "$USE_NLS" >&6; } ++ if test "$USE_NLS" = "yes"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 ++$as_echo_n "checking where the gettext function comes from... " >&6; } ++ if test "$gt_use_preinstalled_gnugettext" = "yes"; then ++ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then ++ gt_source="external libintl" ++ else ++ gt_source="libc" ++ fi ++ else ++ gt_source="included intl directory" ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 ++$as_echo "$gt_source" >&6; } ++ fi ++ ++ if test "$USE_NLS" = "yes"; then ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes"; then ++ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 ++$as_echo_n "checking how to link with libintl... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 ++$as_echo "$LIBINTL" >&6; } ++ ++ for element in $INCINTL; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ fi ++ ++ ++$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h ++ ++ fi ++ ++ POSUB=po ++ fi ++ ++ ++ ++ INTLLIBS="$LIBINTL" ++ ++ ++ ++ ++ ++ ++ALL_LINGUAS=`cd "$srcdir/po" > /dev/null && ls *.po | sed 's+\.po$++'` ++ ++CYGWIN_EXTRA_LDFLAGS= ++CYGWIN_EXTRA_LIBADD= ++CYGWIN_EXTRA_PYTHON_LIBADD= ++MINGW_EXTRA_LDFLAGS= ++case "$host" in ++ *-*-cygwin*) ++ CYGWIN_EXTRA_LDFLAGS="-no-undefined" ++ CYGWIN_EXTRA_LIBADD="${INTLLIBS}" ++ if test "x$PYTHON_VERSION" != "x"; then ++ CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}" ++ fi ++ ;; ++ *-*-mingw*) ++ MINGW_EXTRA_LDFLAGS="-no-undefined" ++ ;; ++esac ++ ++ ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. ++set dummy ${ac_tool_prefix}windres; 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_prog_WINDRES+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$WINDRES"; then ++ ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_WINDRES="${ac_tool_prefix}windres" ++ $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 ++ ++fi ++fi ++WINDRES=$ac_cv_prog_WINDRES ++if test -n "$WINDRES"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 ++$as_echo "$WINDRES" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_WINDRES"; then ++ ac_ct_WINDRES=$WINDRES ++ # Extract the first word of "windres", so it can be a program name with args. ++set dummy windres; 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_prog_ac_ct_WINDRES+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_WINDRES"; then ++ ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_WINDRES="windres" ++ $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 ++ ++fi ++fi ++ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES ++if test -n "$ac_ct_WINDRES"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 ++$as_echo "$ac_ct_WINDRES" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_WINDRES" = x; then ++ WINDRES="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ WINDRES=$ac_ct_WINDRES ++ fi ++else ++ WINDRES="$ac_cv_prog_WINDRES" ++fi ++ ++ if test "$WINDRES" != "no"; then ++ WITH_WIN_ICON_TRUE= ++ WITH_WIN_ICON_FALSE='#' ++else ++ WITH_WIN_ICON_TRUE='#' ++ WITH_WIN_ICON_FALSE= ++fi ++ ++ ++ ++ ++ ++@%:@ Check whether --with-driver-modules was given. ++if test "${with_driver_modules+set}" = set; then : ++ withval=$with_driver_modules; ++else ++ with_driver_modules=no ++fi ++ ++ ++DRIVER_MODULES_CFLAGS= ++DRIVER_MODULES_LIBS= ++if test "x$with_driver_modules" = "xyes" ; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" ++if test "x$ac_cv_header_dlfcn_h" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dl_dlopen=yes ++else ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBDL 1 ++_ACEOF ++ ++ LIBS="-ldl $LIBS" ++ ++else ++ fail=1 ++fi ++ ++ test $fail = 1 && ++ as_fn_error "You must have dlfcn.h / dlopen() support to build driver modules" "$LINENO" 5 ++ ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_driver_modules" = "yes"; then ++ DRIVER_MODULES_CFLAGS="-export-dynamic" ++ DRIVER_MODULES_LIBS="-ldl" ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_DRIVER_MODULES 1 ++_ACEOF ++ ++fi ++ if test "$with_driver_modules" != "no"; then ++ WITH_DRIVER_MODULES_TRUE= ++ WITH_DRIVER_MODULES_FALSE='#' ++else ++ WITH_DRIVER_MODULES_TRUE='#' ++ WITH_DRIVER_MODULES_FALSE= ++fi ++ ++ ++ ++ ++ ++# Set LV_LIBTOOL_OBJDIR to "." or $lt_cv_objdir, depending on whether ++# we're building shared libraries. This is the name of the directory ++# in which .o files will be created. ++test "$enable_shared" = no && lt_cv_objdir=. ++LV_LIBTOOL_OBJDIR=${lt_cv_objdir-.} ++ ++ ++HAL_REQUIRED=0.0 ++HAL_CFLAGS= ++HAL_LIBS= ++ ++@%:@ Check whether --with-hal was given. ++if test "${with_hal+set}" = set; then : ++ withval=$with_hal; ++else ++ with_hal=check ++fi ++ ++ ++if test "$with_libvirtd" = "no" ; then ++ with_hal=no ++fi ++if test "x$with_hal" = "xyes" -o "x$with_hal" = "xcheck"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5 ++$as_echo_n "checking for HAL... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$HAL_CFLAGS"; then ++ pkg_cv_HAL_CFLAGS="$HAL_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= \$HAL_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "hal >= $HAL_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal >= $HAL_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$HAL_LIBS"; then ++ pkg_cv_HAL_LIBS="$HAL_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= \$HAL_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "hal >= $HAL_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal >= $HAL_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal >= $HAL_REQUIRED"` ++ else ++ HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal >= $HAL_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$HAL_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_hal" = "xcheck" ; then ++ with_hal=no ++ else ++ as_fn_error "You must install hal-devel >= $HAL_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_hal" = "xcheck" ; then ++ with_hal=no ++ else ++ as_fn_error "You must install hal-devel >= $HAL_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ HAL_CFLAGS=$pkg_cv_HAL_CFLAGS ++ HAL_LIBS=$pkg_cv_HAL_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_hal=yes ++fi ++ if test "x$with_hal" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_HAL 1 ++_ACEOF ++ ++ ++ old_CFLAGS=$CFLAGS ++ old_LDFLAGS=$LDFLAGS ++ CFLAGS="$CFLAGS $HAL_CFLAGS" ++ LDFLAGS="$LDFLAGS $HAL_LIBS" ++ for ac_func in libhal_get_all_devices ++do : ++ ac_fn_c_check_func "$LINENO" "libhal_get_all_devices" "ac_cv_func_libhal_get_all_devices" ++if test "x$ac_cv_func_libhal_get_all_devices" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBHAL_GET_ALL_DEVICES 1 ++_ACEOF ++ ++else ++ with_hal=no ++fi ++done ++ ++ for ac_func in dbus_watch_get_unix_fd ++do : ++ ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" ++if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DBUS_WATCH_GET_UNIX_FD 1 ++_ACEOF ++ ++fi ++done ++ ++ CFLAGS="$old_CFLAGS" ++ LDFLAGS="$old_LDFLAGS" ++ fi ++fi ++ if test "x$with_hal" = "xyes"; then ++ HAVE_HAL_TRUE= ++ HAVE_HAL_FALSE='#' ++else ++ HAVE_HAL_TRUE='#' ++ HAVE_HAL_FALSE= ++fi ++ ++ ++ ++ ++DEVKIT_REQUIRED=0.0 ++DEVKIT_CFLAGS= ++DEVKIT_LIBS= ++ ++@%:@ Check whether --with-devkit was given. ++if test "${with_devkit+set}" = set; then : ++ withval=$with_devkit; ++else ++ with_devkit=no ++fi ++ ++ ++if test "$with_libvirtd" = "no" ; then ++ with_devkit=no ++fi ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5 ++$as_echo_n "checking for GLIB2... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GLIB2_CFLAGS"; then ++ pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 0.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 0.0" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GLIB2_LIBS"; then ++ pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 0.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 0.0" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 0.0"` ++ else ++ GLIB2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 0.0"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$GLIB2_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_devkit" = "xcheck"; then ++ with_devkit=no ++ elif test "x$with_devkit" = "xyes"; then ++ as_fn_error "required package DeviceKit requires package glib-2.0" "$LINENO" 5 ++ fi ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_devkit" = "xcheck"; then ++ with_devkit=no ++ elif test "x$with_devkit" = "xyes"; then ++ as_fn_error "required package DeviceKit requires package glib-2.0" "$LINENO" 5 ++ fi ++else ++ GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS ++ GLIB2_LIBS=$pkg_cv_GLIB2_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ : ++fi ++ ++if test "x$with_devkit" = "xyes" -o "x$with_devkit" = "xcheck"; then ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEVKIT" >&5 ++$as_echo_n "checking for DEVKIT... " >&6; } ++ ++if test -n "$PKG_CONFIG"; then ++ if test -n "$DEVKIT_CFLAGS"; then ++ pkg_cv_DEVKIT_CFLAGS="$DEVKIT_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= \$DEVKIT_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "devkit-gobject >= $DEVKIT_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_DEVKIT_CFLAGS=`$PKG_CONFIG --cflags "devkit-gobject >= $DEVKIT_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++if test -n "$PKG_CONFIG"; then ++ if test -n "$DEVKIT_LIBS"; then ++ pkg_cv_DEVKIT_LIBS="$DEVKIT_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= \$DEVKIT_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "devkit-gobject >= $DEVKIT_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_DEVKIT_LIBS=`$PKG_CONFIG --libs "devkit-gobject >= $DEVKIT_REQUIRED" 2>/dev/null` ++else ++ pkg_failed=yes ++fi ++ fi ++else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ ++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 ++ DEVKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "devkit-gobject >= $DEVKIT_REQUIRED"` ++ else ++ DEVKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "devkit-gobject >= $DEVKIT_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$DEVKIT_PKG_ERRORS" >&5 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ if test "x$with_devkit" = "xcheck" ; then ++ with_devkit=no ++ else ++ as_fn_error "You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++elif test $pkg_failed = untried; then ++ ++ if test "x$with_devkit" = "xcheck" ; then ++ with_devkit=no ++ else ++ as_fn_error "You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" "$LINENO" 5 ++ fi ++ ++else ++ DEVKIT_CFLAGS=$pkg_cv_DEVKIT_CFLAGS ++ DEVKIT_LIBS=$pkg_cv_DEVKIT_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ with_devkit=yes ++fi ++ if test "x$with_devkit" = "xyes" ; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DEVKIT 1 ++_ACEOF ++ ++ ++ DEVKIT_CFLAGS="$GLIB2_CFLAGS $DEVKIT_CFLAGS" ++ DEVKIT_LIBS="$GLIB2_LIBS $DEVKIT_LIBS" ++ ++ DEVKIT_CFLAGS="$DEVKIT_CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT" ++ ++ old_CFLAGS=$CFLAGS ++ old_LDFLAGS=$LDFLAGS ++ CFLAGS="$CFLAGS $DEVKIT_CFLAGS" ++ LDFLAGS="$LDFLAGS $DEVKIT_LIBS" ++ for ac_func in devkit_client_connect ++do : ++ ac_fn_c_check_func "$LINENO" "devkit_client_connect" "ac_cv_func_devkit_client_connect" ++if test "x$ac_cv_func_devkit_client_connect" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DEVKIT_CLIENT_CONNECT 1 ++_ACEOF ++ ++else ++ with_devkit=no ++fi ++done ++ ++ CFLAGS="$old_CFLAGS" ++ LDFLAGS="$old_LDFLAGS" ++ fi ++fi ++ if test "x$with_devkit" = "xyes"; then ++ HAVE_DEVKIT_TRUE= ++ HAVE_DEVKIT_FALSE='#' ++else ++ HAVE_DEVKIT_TRUE='#' ++ HAVE_DEVKIT_FALSE= ++fi ++ ++ ++ ++ ++with_nodedev=no; ++if test "$with_devkit" = "yes" -o "$with_hal" = "yes"; ++then ++ with_nodedev=yes ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define WITH_NODE_DEVICES 1 ++_ACEOF ++ ++fi ++ if test "$with_nodedev" = "yes"; then ++ WITH_NODE_DEVICES_TRUE= ++ WITH_NODE_DEVICES_FALSE='#' ++else ++ WITH_NODE_DEVICES_TRUE='#' ++ WITH_NODE_DEVICES_FALSE= ++fi ++ ++ ++ if test `uname -s` = "Linux"; then ++ WITH_LINUX_TRUE= ++ WITH_LINUX_FALSE='#' ++else ++ WITH_LINUX_TRUE='#' ++ WITH_LINUX_FALSE= ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-qemu-user was given. ++if test "${with_qemu_user+set}" = set; then : ++ withval=$with_qemu_user; QEMU_USER=${withval} ++else ++ QEMU_USER=root ++fi ++ ++ ++@%:@ Check whether --with-qemu-group was given. ++if test "${with_qemu_group+set}" = set; then : ++ withval=$with_qemu_group; QEMU_GROUP=${withval} ++else ++ QEMU_GROUP=root ++fi ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define QEMU_USER "$QEMU_USER" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define QEMU_GROUP "$QEMU_GROUP" ++_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. ++# You are unlikely to be doing distribution-related things in a non-srcdir build ++test "x$srcdir" = x. && ! test -f COPYING && ++cp -f COPYING.LIB COPYING ++ ++ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile docs/Makefile docs/examples/Makefile docs/devhelp/Makefile docs/examples/python/Makefile docs/schemas/Makefile gnulib/lib/Makefile gnulib/tests/Makefile libvirt.pc libvirt.spec mingw32-libvirt.spec po/Makefile.in include/libvirt/Makefile include/libvirt/libvirt.h python/Makefile python/tests/Makefile qemud/Makefile tools/Makefile tests/Makefile proxy/Makefile tests/xml2sexprdata/Makefile tests/sexpr2xmldata/Makefile tests/xmconfigdata/Makefile tests/xencapsdata/Makefile tests/confdata/Makefile examples/domain-events/events-c/Makefile examples/hellolibvirt/Makefile" ++ ++cat >confcache <<\_ACEOF ++# This file is a shell script that caches the results of configure ++# tests run on this system so they can be shared between configure ++# scripts and configure runs, see configure's option --config-cache. ++# It is not useful on other systems. If it contains results you don't ++# want to keep, you may remove or edit it. ++# ++# config.status only pays attention to the cache file if you give it ++# the --recheck option to rerun configure. ++# ++# `ac_cv_env_foo' variables (set or unset) will be overridden when ++# loading this file, other *unset* `ac_cv_foo' will be assigned the ++# following values. ++ ++_ACEOF ++ ++# The following way of writing the cache mishandles newlines in values, ++# but we know of no workaround that is simple, portable, and efficient. ++# So, we kill variables containing newlines. ++# Ultrix sh set writes to stderr and can't be redirected directly, ++# and sets the high bit in the cache file unless we assign to the vars. ++( ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ ++ (set) 2>&1 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. ++ sed -n \ ++ "s/'/'\\\\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ++ ;; #( ++ *) ++ # `set' quotes correctly as required by POSIX, so do not add quotes. ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) | ++ sed ' ++ /^ac_cv_env_/b end ++ t clear ++ :clear ++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ++ t end ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ++ :end' >>confcache ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ++ if test -w "$cache_file"; then ++ test "x$cache_file" != "x/dev/null" && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++$as_echo "$as_me: updating cache $cache_file" >&6;} ++ cat confcache >$cache_file ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ++ fi ++fi ++rm -f confcache ++ ++test "x$prefix" = xNONE && prefix=$ac_default_prefix ++# Let make expand exec_prefix. ++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ++ ++DEFS=-DHAVE_CONFIG_H ++ ++ac_libobjs= ++ac_ltlibobjs= ++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue ++ # 1. Remove the extension, and $U if already installed. ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ++ # will be set to the directory where LIBOBJS objects are built. ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ++done ++LIB@&t@OBJS=$ac_libobjs ++ ++LTLIBOBJS=$ac_ltlibobjs ++ ++ ++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then ++ as_fn_error "conditional \"AMDEP\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then ++ as_fn_error "conditional \"am__fastdepCC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then ++ as_fn_error "conditional \"GL_COND_LIBTOOL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++ ++ gl_libobjs= ++ gl_ltlibobjs= ++ if test -n "$gl_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do ++ gl_libobjs="$gl_libobjs $i.$ac_objext" ++ gl_ltlibobjs="$gl_ltlibobjs $i.lo" ++ done ++ fi ++ gl_LIBOBJS=$gl_libobjs ++ ++ gl_LTLIBOBJS=$gl_ltlibobjs ++ ++ ++ ++ gltests_libobjs= ++ gltests_ltlibobjs= ++ if test -n "$gltests_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do ++ gltests_libobjs="$gltests_libobjs $i.$ac_objext" ++ gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" ++ done ++ fi ++ gltests_LIBOBJS=$gltests_libobjs ++ ++ gltests_LTLIBOBJS=$gltests_ltlibobjs ++ ++ ++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then ++ as_fn_error "conditional \"am__fastdepCC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++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 ++fi ++if test -z "${LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE}" && test -z "${LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE}"; then ++ as_fn_error "conditional \"LIBVIRT_INIT_SCRIPTS_RED_HAT\" 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 ++fi ++if test -z "${WITH_VBOX_TRUE}" && test -z "${WITH_VBOX_FALSE}"; then ++ as_fn_error "conditional \"WITH_VBOX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_QEMU_TRUE}" && test -z "${WITH_QEMU_FALSE}"; then ++ as_fn_error "conditional \"WITH_QEMU\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_ONE_TRUE}" && test -z "${WITH_ONE_FALSE}"; then ++ as_fn_error "conditional \"WITH_ONE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_TEST_TRUE}" && test -z "${WITH_TEST_FALSE}"; then ++ as_fn_error "conditional \"WITH_TEST\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_REMOTE_TRUE}" && test -z "${WITH_REMOTE_FALSE}"; then ++ as_fn_error "conditional \"WITH_REMOTE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_LIBVIRTD_TRUE}" && test -z "${WITH_LIBVIRTD_FALSE}"; then ++ as_fn_error "conditional \"WITH_LIBVIRTD\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_XEN_TRUE}" && test -z "${WITH_XEN_FALSE}"; then ++ as_fn_error "conditional \"WITH_XEN\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_XEN_INOTIFY_TRUE}" && test -z "${WITH_XEN_INOTIFY_FALSE}"; then ++ as_fn_error "conditional \"WITH_XEN_INOTIFY\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_LXC_TRUE}" && test -z "${WITH_LXC_FALSE}"; then ++ as_fn_error "conditional \"WITH_LXC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_XMLRPC_TRUE}" && test -z "${HAVE_XMLRPC_FALSE}"; then ++ as_fn_error "conditional \"HAVE_XMLRPC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_ONE_TRUE}" && test -z "${WITH_ONE_FALSE}"; then ++ as_fn_error "conditional \"WITH_ONE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_SASL_TRUE}" && test -z "${HAVE_SASL_FALSE}"; then ++ as_fn_error "conditional \"HAVE_SASL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_POLKIT_TRUE}" && test -z "${HAVE_POLKIT_FALSE}"; then ++ as_fn_error "conditional \"HAVE_POLKIT\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then ++ as_fn_error "conditional \"HAVE_AVAHI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then ++ as_fn_error "conditional \"HAVE_SELINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_SECDRIVER_SELINUX_TRUE}" && test -z "${WITH_SECDRIVER_SELINUX_FALSE}"; then ++ as_fn_error "conditional \"WITH_SECDRIVER_SELINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_APPARMOR_TRUE}" && test -z "${HAVE_APPARMOR_FALSE}"; then ++ as_fn_error "conditional \"HAVE_APPARMOR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_SECDRIVER_APPARMOR_TRUE}" && test -z "${WITH_SECDRIVER_APPARMOR_FALSE}"; then ++ as_fn_error "conditional \"WITH_SECDRIVER_APPARMOR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_NUMACTL_TRUE}" && test -z "${HAVE_NUMACTL_FALSE}"; then ++ as_fn_error "conditional \"HAVE_NUMACTL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_UML_TRUE}" && test -z "${WITH_UML_FALSE}"; then ++ as_fn_error "conditional \"WITH_UML\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_PHYP_TRUE}" && test -z "${WITH_PHYP_FALSE}"; then ++ as_fn_error "conditional \"WITH_PHYP\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_CAPNG_TRUE}" && test -z "${HAVE_CAPNG_FALSE}"; then ++ as_fn_error "conditional \"HAVE_CAPNG\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_NETWORK_TRUE}" && test -z "${WITH_NETWORK_FALSE}"; then ++ as_fn_error "conditional \"WITH_NETWORK\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_BRIDGE_TRUE}" && test -z "${WITH_BRIDGE_FALSE}"; then ++ as_fn_error "conditional \"WITH_BRIDGE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_NETCF_TRUE}" && test -z "${WITH_NETCF_FALSE}"; then ++ as_fn_error "conditional \"WITH_NETCF\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_DIR_TRUE}" && test -z "${WITH_STORAGE_DIR_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_DIR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_FS_TRUE}" && test -z "${WITH_STORAGE_FS_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_FS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_LVM_TRUE}" && test -z "${WITH_STORAGE_LVM_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_LVM\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_ISCSI_TRUE}" && test -z "${WITH_STORAGE_ISCSI_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_ISCSI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_SCSI_TRUE}" && test -z "${WITH_STORAGE_SCSI_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_SCSI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_STORAGE_DISK_TRUE}" && test -z "${WITH_STORAGE_DISK_FALSE}"; then ++ as_fn_error "conditional \"WITH_STORAGE_DISK\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_ESX_TRUE}" && test -z "${WITH_ESX_FALSE}"; then ++ as_fn_error "conditional \"WITH_ESX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then ++ as_fn_error "conditional \"WITH_PYTHON\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${ENABLE_XEN_TESTS_TRUE}" && test -z "${ENABLE_XEN_TESTS_FALSE}"; then ++ as_fn_error "conditional \"ENABLE_XEN_TESTS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_CIL_TRUE}" && test -z "${WITH_CIL_FALSE}"; then ++ as_fn_error "conditional \"WITH_CIL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_PROXY_TRUE}" && test -z "${WITH_PROXY_FALSE}"; then ++ as_fn_error "conditional \"WITH_PROXY\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_LIBVIRTD_TRUE}" && test -z "${WITH_LIBVIRTD_FALSE}"; then ++ as_fn_error "conditional \"WITH_LIBVIRTD\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_WIN_ICON_TRUE}" && test -z "${WITH_WIN_ICON_FALSE}"; then ++ as_fn_error "conditional \"WITH_WIN_ICON\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_DRIVER_MODULES_TRUE}" && test -z "${WITH_DRIVER_MODULES_FALSE}"; then ++ as_fn_error "conditional \"WITH_DRIVER_MODULES\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_HAL_TRUE}" && test -z "${HAVE_HAL_FALSE}"; then ++ as_fn_error "conditional \"HAVE_HAL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_DEVKIT_TRUE}" && test -z "${HAVE_DEVKIT_FALSE}"; then ++ as_fn_error "conditional \"HAVE_DEVKIT\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_NODE_DEVICES_TRUE}" && test -z "${WITH_NODE_DEVICES_FALSE}"; then ++ as_fn_error "conditional \"WITH_NODE_DEVICES\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_LINUX_TRUE}" && test -z "${WITH_LINUX_FALSE}"; then ++ as_fn_error "conditional \"WITH_LINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++ ++: ${CONFIG_STATUS=./config.status} ++ac_write_fail=0 ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files $CONFIG_STATUS" ++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate the current configuration. ++# Compiler output produced by configure, useful for debugging ++# configure, is in config.log if it exists. ++ ++debug=false ++ac_cs_recheck=false ++ac_cs_silent=false ++ ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in @%:@( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++ ++@%:@ as_fn_error ERROR [LINENO LOG_FD] ++@%:@ --------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with status $?, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$?; test $as_status -eq 0 && as_status=1 ++ if test "$3"; then ++ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 ++ fi ++ $as_echo "$as_me: error: $1" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -p'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -p' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -p' ++ fi ++else ++ as_ln_s='cp -p' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++if test -x / >/dev/null 2>&1; then ++ as_test_x='test -x' ++else ++ if ls -dL / >/dev/null 2>&1; then ++ as_ls_L_option=L ++ else ++ as_ls_L_option= ++ fi ++ as_test_x=' ++ eval sh -c '\'' ++ if test -d "$1"; then ++ test -d "$1/."; ++ else ++ case $1 in @%:@( ++ -*)set "./$1";; ++ esac; ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( ++ ???[sx]*):;;*)false;;esac;fi ++ '\'' sh ++ ' ++fi ++as_executable_p=$as_test_x ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to ++# 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.0, which was ++generated by GNU Autoconf 2.64. Invocation command line was ++ ++ CONFIG_FILES = $CONFIG_FILES ++ CONFIG_HEADERS = $CONFIG_HEADERS ++ CONFIG_LINKS = $CONFIG_LINKS ++ CONFIG_COMMANDS = $CONFIG_COMMANDS ++ $ $0 $@ ++ ++on `(hostname || uname -n) 2>/dev/null | sed 1q` ++" ++ ++_ACEOF ++ ++case $ac_config_files in *" ++"*) set x $ac_config_files; shift; ac_config_files=$*;; ++esac ++ ++case $ac_config_headers in *" ++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; ++esac ++ ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# Files that config.status was made for. ++config_files="$ac_config_files" ++config_headers="$ac_config_headers" ++config_links="$ac_config_links" ++config_commands="$ac_config_commands" ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ac_cs_usage="\ ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. ++ ++Usage: $0 [OPTION]... [TAG]... ++ ++ -h, --help print this help, then exit ++ -V, --version print version number and configuration settings, then exit ++ -q, --quiet, --silent ++ do not print progress messages ++ -d, --debug don't remove temporary files ++ --recheck update $as_me by reconfiguring in the same conditions ++ --file=FILE[:TEMPLATE] ++ instantiate the configuration file FILE ++ --header=FILE[:TEMPLATE] ++ instantiate the configuration header FILE ++ ++Configuration files: ++$config_files ++ ++Configuration headers: ++$config_headers ++ ++Configuration links: ++$config_links ++ ++Configuration commands: ++$config_commands ++ ++Report bugs to the package provider." ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_cs_version="\\ ++libvirt config.status 0.7.0 ++configured by $0, generated by GNU Autoconf 2.64, ++ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" ++ ++Copyright (C) 2009 Free Software Foundation, Inc. ++This config.status script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it." ++ ++ac_pwd='$ac_pwd' ++srcdir='$srcdir' ++INSTALL='$INSTALL' ++MKDIR_P='$MKDIR_P' ++AWK='$AWK' ++test -n "\$AWK" || AWK=awk ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# The default lists apply if the user does not specify any file. ++ac_need_defaults=: ++while test $# != 0 ++do ++ case $1 in ++ --*=*) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ++ ac_shift=: ++ ;; ++ *) ++ ac_option=$1 ++ ac_optarg=$2 ++ ac_shift=shift ++ ;; ++ esac ++ ++ case $ac_option in ++ # Handling of the options. ++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ++ ac_cs_recheck=: ;; ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ++ $as_echo "$ac_cs_version"; exit ;; ++ --debug | --debu | --deb | --de | --d | -d ) ++ debug=: ;; ++ --file | --fil | --fi | --f ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_FILES " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --header | --heade | --head | --hea ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --he | --h) ++ # Conflict between --help and --header ++ as_fn_error "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; ++ --help | --hel | -h ) ++ $as_echo "$ac_cs_usage"; exit ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil | --si | --s) ++ ac_cs_silent=: ;; ++ ++ # This is an error. ++ -*) as_fn_error "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; ++ ++ *) as_fn_append ac_config_targets " $1" ++ ac_need_defaults=false ;; ++ ++ esac ++ shift ++done ++ ++ac_configure_extra_args= ++ ++if $ac_cs_silent; then ++ exec 6>/dev/null ++ ac_configure_extra_args="$ac_configure_extra_args --silent" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++if \$ac_cs_recheck; then ++ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ shift ++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ++ CONFIG_SHELL='$SHELL' ++ export CONFIG_SHELL ++ exec "\$@" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++exec 5>>config.log ++{ ++ echo ++ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX ++@%:@@%:@ Running $as_me. @%:@@%:@ ++_ASBOX ++ $as_echo "$ac_log" ++} >&5 ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# ++# INIT-COMMANDS ++# ++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" ++GNUmakefile=$GNUmakefile ++ ++ ++# The HP-UX ksh and POSIX shell print the target directory to stdout ++# if CDPATH is set. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++sed_quote_subst='$sed_quote_subst' ++double_quote_subst='$double_quote_subst' ++delay_variable_subst='$delay_variable_subst' ++AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' ++DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' ++OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' ++macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' ++macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' ++enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' ++enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' ++pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' ++enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' ++host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' ++host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' ++host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' ++build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' ++build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' ++build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' ++SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' ++Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' ++GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' ++EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' ++FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' ++LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' ++NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' ++LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' ++max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' ++ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' ++exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' ++lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' ++lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' ++lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' ++reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' ++reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' ++file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' ++AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' ++AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' ++STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' ++RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' ++old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' ++CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' ++compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' ++GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' ++objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' ++SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' ++ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' ++MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' ++lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' ++lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' ++lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' ++lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' ++lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' ++need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' ++DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' ++NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' ++LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' ++OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' ++OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' ++libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' ++shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' ++enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' ++export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' ++whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' ++compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' ++old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' ++allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' ++no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' ++inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' ++link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' ++fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' ++always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' ++export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' ++include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' ++prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' ++variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' ++need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' ++need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' ++version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' ++runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' ++shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' ++shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' ++libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' ++library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' ++soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' ++postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' ++finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' ++sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' ++sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' ++hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' ++enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' ++enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' ++enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' ++old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' ++striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' ++ ++LTCC='$LTCC' ++LTCFLAGS='$LTCFLAGS' ++compiler='$compiler_DEFAULT' ++ ++# Quote evaled strings. ++for var in SED \ ++GREP \ ++EGREP \ ++FGREP \ ++LD \ ++NM \ ++LN_S \ ++lt_SP2NL \ ++lt_NL2SP \ ++reload_flag \ ++deplibs_check_method \ ++file_magic_cmd \ ++AR \ ++AR_FLAGS \ ++STRIP \ ++RANLIB \ ++CC \ ++CFLAGS \ ++compiler \ ++lt_cv_sys_global_symbol_pipe \ ++lt_cv_sys_global_symbol_to_cdecl \ ++lt_cv_sys_global_symbol_to_c_name_address \ ++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ ++SHELL \ ++ECHO \ ++lt_prog_compiler_no_builtin_flag \ ++lt_prog_compiler_wl \ ++lt_prog_compiler_pic \ ++lt_prog_compiler_static \ ++lt_cv_prog_compiler_c_o \ ++need_locks \ ++DSYMUTIL \ ++NMEDIT \ ++LIPO \ ++OTOOL \ ++OTOOL64 \ ++shrext_cmds \ ++export_dynamic_flag_spec \ ++whole_archive_flag_spec \ ++compiler_needs_object \ ++with_gnu_ld \ ++allow_undefined_flag \ ++no_undefined_flag \ ++hardcode_libdir_flag_spec \ ++hardcode_libdir_flag_spec_ld \ ++hardcode_libdir_separator \ ++fix_srcfile_path \ ++exclude_expsyms \ ++include_expsyms \ ++file_list_spec \ ++variables_saved_for_relink \ ++libname_spec \ ++library_names_spec \ ++soname_spec \ ++finish_eval \ ++old_striplib \ ++striplib; do ++ case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in ++ *[\\\\\\\`\\"\\\$]*) ++ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ++ ;; ++ *) ++ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ++ ;; ++ esac ++done ++ ++# Double-quote double-evaled strings. ++for var in reload_cmds \ ++old_postinstall_cmds \ ++old_postuninstall_cmds \ ++old_archive_cmds \ ++extract_expsyms_cmds \ ++old_archive_from_new_cmds \ ++old_archive_from_expsyms_cmds \ ++archive_cmds \ ++archive_expsym_cmds \ ++module_cmds \ ++module_expsym_cmds \ ++export_symbols_cmds \ ++prelink_cmds \ ++postinstall_cmds \ ++postuninstall_cmds \ ++finish_cmds \ ++sys_lib_search_path_spec \ ++sys_lib_dlsearch_path_spec; do ++ case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in ++ *[\\\\\\\`\\"\\\$]*) ++ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ++ ;; ++ *) ++ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ++ ;; ++ esac ++done ++ ++# Fix-up fallback echo if it was mangled by the above quoting rules. ++case \$lt_ECHO in ++*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` ++ ;; ++esac ++ ++ac_aux_dir='$ac_aux_dir' ++xsi_shell='$xsi_shell' ++lt_shell_append='$lt_shell_append' ++ ++# See if we are running on zsh, and set the options which allow our ++# commands through without removal of \ escapes INIT. ++if test -n "\${ZSH_VERSION+set}" ; then ++ setopt NO_GLOB_SUBST ++fi ++ ++ ++ PACKAGE='$PACKAGE' ++ VERSION='$VERSION' ++ TIMESTAMP='$TIMESTAMP' ++ RM='$RM' ++ ofile='$ofile' ++ ++ ++ ++# Capture the value of obsolete ALL_LINGUAS because we need it to compute ++ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it ++ # from automake. ++ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' ++ # Capture the value of LINGUAS because we need it to compute CATALOGS. ++ LINGUAS="${LINGUAS-%UNSET%}" ++ ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ ++# Handling of arguments. ++for ac_config_target in $ac_config_targets ++do ++ case $ac_config_target in ++ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; ++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; ++ "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; ++ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; ++ "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; ++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; ++ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; ++ "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; ++ "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; ++ "docs/examples/Makefile") CONFIG_FILES="$CONFIG_FILES docs/examples/Makefile" ;; ++ "docs/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES docs/devhelp/Makefile" ;; ++ "docs/examples/python/Makefile") CONFIG_FILES="$CONFIG_FILES docs/examples/python/Makefile" ;; ++ "docs/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES docs/schemas/Makefile" ;; ++ "gnulib/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/lib/Makefile" ;; ++ "gnulib/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/tests/Makefile" ;; ++ "libvirt.pc") CONFIG_FILES="$CONFIG_FILES libvirt.pc" ;; ++ "libvirt.spec") CONFIG_FILES="$CONFIG_FILES libvirt.spec" ;; ++ "mingw32-libvirt.spec") CONFIG_FILES="$CONFIG_FILES mingw32-libvirt.spec" ;; ++ "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; ++ "include/libvirt/Makefile") CONFIG_FILES="$CONFIG_FILES include/libvirt/Makefile" ;; ++ "include/libvirt/libvirt.h") CONFIG_FILES="$CONFIG_FILES include/libvirt/libvirt.h" ;; ++ "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; ++ "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;; ++ "qemud/Makefile") CONFIG_FILES="$CONFIG_FILES qemud/Makefile" ;; ++ "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; ++ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; ++ "proxy/Makefile") CONFIG_FILES="$CONFIG_FILES proxy/Makefile" ;; ++ "tests/xml2sexprdata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xml2sexprdata/Makefile" ;; ++ "tests/sexpr2xmldata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/sexpr2xmldata/Makefile" ;; ++ "tests/xmconfigdata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xmconfigdata/Makefile" ;; ++ "tests/xencapsdata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xencapsdata/Makefile" ;; ++ "tests/confdata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/confdata/Makefile" ;; ++ "examples/domain-events/events-c/Makefile") CONFIG_FILES="$CONFIG_FILES examples/domain-events/events-c/Makefile" ;; ++ "examples/hellolibvirt/Makefile") CONFIG_FILES="$CONFIG_FILES examples/hellolibvirt/Makefile" ;; ++ ++ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ++ esac ++done ++ ++ ++# If the user did not use the arguments to specify the items to instantiate, ++# then the envvar interface is used. Set only those that are not. ++# We use the long form for the default assignment because of an extremely ++# bizarre bug on SunOS 4.1.3. ++if $ac_need_defaults; then ++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files ++ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ++ test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links ++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands ++fi ++ ++# Have a temporary directory for convenience. Make it in the build tree ++# simply because there is no reason against having it here, and in addition, ++# creating and moving files from /tmp can sometimes cause problems. ++# Hook for its removal unless debugging. ++# Note that there is a small window in which the directory will not be cleaned: ++# after its creation but before its name has been assigned to `$tmp'. ++$debug || ++{ ++ tmp= ++ trap 'exit_status=$? ++ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ++' 0 ++ trap 'as_fn_exit 1' 1 2 13 15 ++} ++# Create a (secure) tmp directory for tmp files. ++ ++{ ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ++ test -n "$tmp" && test -d "$tmp" ++} || ++{ ++ tmp=./conf$$-$RANDOM ++ (umask 077 && mkdir "$tmp") ++} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 ++ ++# Set up the scripts for CONFIG_FILES section. ++# No need to generate them if there are no CONFIG_FILES. ++# This happens for instance with `./config.status config.h'. ++if test -n "$CONFIG_FILES"; then ++ ++ ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi ++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` ++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ++ ac_cs_awk_cr='\r' ++else ++ ac_cs_awk_cr=$ac_cr ++fi ++ ++echo 'BEGIN {' >"$tmp/subs1.awk" && ++_ACEOF ++ ++ ++{ ++ echo "cat >conf$$subs.awk <<_ACEOF" && ++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ++ echo "_ACEOF" ++} >conf$$subs.sh || ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ++ac_delim='%!_!# ' ++for ac_last_try in false false false false false :; do ++ . ./conf$$subs.sh || ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ++ ++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ++ if test $ac_delim_n = $ac_delim_num; then ++ break ++ elif $ac_last_try; then ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++rm -f conf$$subs.sh ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++cat >>"\$tmp/subs1.awk" <<\\_ACAWK && ++_ACEOF ++sed -n ' ++h ++s/^/S["/; s/!.*/"]=/ ++p ++g ++s/^[^!]*!// ++:repl ++t repl ++s/'"$ac_delim"'$// ++t delim ++:nl ++h ++s/\(.\{148\}\).*/\1/ ++t more1 ++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ++p ++n ++b repl ++:more1 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t nl ++:delim ++h ++s/\(.\{148\}\).*/\1/ ++t more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"/ ++p ++b ++:more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t delim ++' >$CONFIG_STATUS || ac_write_fail=1 ++rm -f conf$$subs.awk ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACAWK ++cat >>"\$tmp/subs1.awk" <<_ACAWK && ++ for (key in S) S_is_set[key] = 1 ++ FS = "" ++ ++} ++{ ++ line = $ 0 ++ nfields = split(line, field, "@") ++ substed = 0 ++ len = length(field[1]) ++ for (i = 2; i < nfields; i++) { ++ key = field[i] ++ keylen = length(key) ++ if (S_is_set[key]) { ++ value = S[key] ++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ++ len += length(value) + length(field[++i]) ++ substed = 1 ++ } else ++ len += 1 + keylen ++ } ++ ++ print line ++} ++ ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ++else ++ cat ++fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ ++ || as_fn_error "could not setup config files machinery" "$LINENO" 5 ++_ACEOF ++ ++# VPATH may cause trouble with some makes, so we remove $(srcdir), ++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and ++# trailing colons and then remove the whole line if VPATH becomes empty ++# (actually we leave an empty line to preserve line numbers). ++if test "x$srcdir" = x.; then ++ ac_vpsub='/^[ ]*VPATH[ ]*=/{ ++s/:*\$(srcdir):*/:/ ++s/:*\${srcdir}:*/:/ ++s/:*@srcdir@:*/:/ ++s/^\([^=]*=[ ]*\):*/\1/ ++s/:*$// ++s/^[^=]*=[ ]*$// ++}' ++fi ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++fi # test -n "$CONFIG_FILES" ++ ++# Set up the scripts for CONFIG_HEADERS section. ++# No need to generate them if there are no CONFIG_HEADERS. ++# This happens for instance with `./config.status Makefile'. ++if test -n "$CONFIG_HEADERS"; then ++cat >"$tmp/defines.awk" <<\_ACAWK || ++BEGIN { ++_ACEOF ++ ++# Transform confdefs.h into an awk script `defines.awk', embedded as ++# here-document in config.status, that substitutes the proper values into ++# config.h.in to produce config.h. ++ ++# Create a delimiter string that does not exist in confdefs.h, to ease ++# handling of long lines. ++ac_delim='%!_!# ' ++for ac_last_try in false false :; do ++ ac_t=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_t"; then ++ break ++ elif $ac_last_try; then ++ as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++ ++# For the awk script, D is an array of macro values keyed by name, ++# likewise P contains macro parameters if any. Preserve backslash ++# newline sequences. ++ ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ++sed -n ' ++s/.\{148\}/&'"$ac_delim"'/g ++t rset ++:rset ++s/^[ ]*#[ ]*define[ ][ ]*/ / ++t def ++d ++:def ++s/\\$// ++t bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3"/p ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ++d ++:bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3\\\\\\n"\\/p ++t cont ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ++t cont ++d ++:cont ++n ++s/.\{148\}/&'"$ac_delim"'/g ++t clear ++:clear ++s/\\$// ++t bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/"/p ++d ++:bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ++b cont ++' >$CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ for (key in D) D_is_set[key] = 1 ++ FS = "" ++} ++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ++ line = \$ 0 ++ split(line, arg, " ") ++ if (arg[1] == "#") { ++ defundef = arg[2] ++ mac1 = arg[3] ++ } else { ++ defundef = substr(arg[1], 2) ++ mac1 = arg[2] ++ } ++ split(mac1, mac2, "(") #) ++ macro = mac2[1] ++ prefix = substr(line, 1, index(line, defundef) - 1) ++ if (D_is_set[macro]) { ++ # Preserve the white space surrounding the "#". ++ print prefix "define", macro P[macro] D[macro] ++ next ++ } else { ++ # Replace #undef with comments. This is necessary, for example, ++ # in the case of _POSIX_SOURCE, which is predefined and required ++ # on some systems where configure will not decide to define it. ++ if (defundef == "undef") { ++ print "/*", prefix defundef, macro, "*/" ++ next ++ } ++ } ++} ++{ print } ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ as_fn_error "could not setup config headers machinery" "$LINENO" 5 ++fi # test -n "$CONFIG_HEADERS" ++ ++ ++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" ++shift ++for ac_tag ++do ++ case $ac_tag in ++ :[FHLC]) ac_mode=$ac_tag; continue;; ++ esac ++ case $ac_mode$ac_tag in ++ :[FHL]*:*);; ++ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; ++ :[FH]-) ac_tag=-:-;; ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ++ esac ++ ac_save_IFS=$IFS ++ IFS=: ++ set x $ac_tag ++ IFS=$ac_save_IFS ++ shift ++ ac_file=$1 ++ shift ++ ++ case $ac_mode in ++ :L) ac_source=$1;; ++ :[FH]) ++ ac_file_inputs= ++ for ac_f ++ do ++ case $ac_f in ++ -) ac_f="$tmp/stdin";; ++ *) # Look for the file first in the build tree, then in the source tree ++ # (if the path is not absolute). The absolute path cannot be DOS-style, ++ # because $ac_f cannot contain `:'. ++ test -f "$ac_f" || ++ case $ac_f in ++ [\\/$]*) false;; ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ++ esac || ++ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; ++ esac ++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ as_fn_append ac_file_inputs " '$ac_f'" ++ done ++ ++ # Let's still pretend it is `configure' which instantiates (i.e., don't ++ # use $as_me), people would be surprised to read: ++ # /* config.h. Generated by config.status. */ ++ configure_input='Generated from '` ++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ `' by configure.' ++ if test x"$ac_file" != x-; then ++ configure_input="$ac_file. $configure_input" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++$as_echo "$as_me: creating $ac_file" >&6;} ++ fi ++ # Neutralize special characters interpreted by sed in replacement strings. ++ case $configure_input in #( ++ *\&* | *\|* | *\\* ) ++ ac_sed_conf_input=`$as_echo "$configure_input" | ++ sed 's/[\\\\&|]/\\\\&/g'`;; #( ++ *) ac_sed_conf_input=$configure_input;; ++ esac ++ ++ case $ac_tag in ++ *:-:* | *:-) cat >"$tmp/stdin" \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; ++ esac ++ ;; ++ esac ++ ++ ac_dir=`$as_dirname -- "$ac_file" || ++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$ac_file" : 'X\(//\)[^/]' \| \ ++ X"$ac_file" : 'X\(//\)$' \| \ ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$ac_file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir="$ac_dir"; as_fn_mkdir_p ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ ++ case $ac_mode in ++ :F) ++ # ++ # CONFIG_FILE ++ # ++ ++ case $INSTALL in ++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; ++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; ++ esac ++ ac_MKDIR_P=$MKDIR_P ++ case $MKDIR_P in ++ [\\/$]* | ?:[\\/]* ) ;; ++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; ++ esac ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# If the template does not know about datarootdir, expand it. ++# FIXME: This hack should be removed a few years after 2.60. ++ac_datarootdir_hack=; ac_datarootdir_seen= ++ac_sed_dataroot=' ++/datarootdir/ { ++ p ++ q ++} ++/@datadir@/p ++/@docdir@/p ++/@infodir@/p ++/@localedir@/p ++/@mandir@/p' ++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ++*datarootdir*) ac_datarootdir_seen=yes;; ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ ac_datarootdir_hack=' ++ s&@datadir@&$datadir&g ++ s&@docdir@&$docdir&g ++ s&@infodir@&$infodir&g ++ s&@localedir@&$localedir&g ++ s&@mandir@&$mandir&g ++ s&\\\${datarootdir}&$datarootdir&g' ;; ++esac ++_ACEOF ++ ++# Neutralize VPATH when `$srcdir' = `.'. ++# Shell code in configure.ac might set extrasub. ++# FIXME: do we really want to maintain this feature? ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_sed_extra="$ac_vpsub ++$extrasub ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++:t ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++s|@configure_input@|$ac_sed_conf_input|;t t ++s&@top_builddir@&$ac_top_builddir_sub&;t t ++s&@top_build_prefix@&$ac_top_build_prefix&;t t ++s&@srcdir@&$ac_srcdir&;t t ++s&@abs_srcdir@&$ac_abs_srcdir&;t t ++s&@top_srcdir@&$ac_top_srcdir&;t t ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ++s&@builddir@&$ac_builddir&;t t ++s&@abs_builddir@&$ac_abs_builddir&;t t ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ++s&@INSTALL@&$ac_INSTALL&;t t ++s&@MKDIR_P@&$ac_MKDIR_P&;t t ++$ac_datarootdir_hack ++" ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ++ ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined." >&5 ++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined." >&2;} ++ ++ rm -f "$tmp/stdin" ++ case $ac_file in ++ -) cat "$tmp/out" && rm -f "$tmp/out";; ++ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; ++ esac \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ++ ;; ++ :H) ++ # ++ # CONFIG_HEADER ++ # ++ if test x"$ac_file" != x-; then ++ { ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" ++ } >"$tmp/config.h" \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ++ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++$as_echo "$as_me: $ac_file is unchanged" >&6;} ++ else ++ rm -f "$ac_file" ++ mv "$tmp/config.h" "$ac_file" \ ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ++ fi ++ else ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ ++ || as_fn_error "could not create -" "$LINENO" 5 ++ fi ++# Compute "$ac_file"'s index in $config_headers. ++_am_arg="$ac_file" ++_am_stamp_count=1 ++for _am_header in $config_headers :; do ++ case $_am_header in ++ $_am_arg | $_am_arg:* ) ++ break ;; ++ * ) ++ _am_stamp_count=`expr $_am_stamp_count + 1` ;; ++ esac ++done ++echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || ++$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$_am_arg" : 'X\(//\)[^/]' \| \ ++ X"$_am_arg" : 'X\(//\)$' \| \ ++ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$_am_arg" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'`/stamp-h$_am_stamp_count ++ ;; ++ :L) ++ # ++ # CONFIG_LINK ++ # ++ ++ if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then ++ : ++ else ++ # Prefer the file from the source tree if names are identical. ++ if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then ++ ac_source=$srcdir/$ac_source ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 ++$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} ++ ++ if test ! -r "$ac_source"; then ++ as_fn_error "$ac_source: file not found" "$LINENO" 5 ++ fi ++ rm -f "$ac_file" ++ ++ # Try a relative symlink, then a hard link, then a copy. ++ case $srcdir in ++ [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; ++ *) ac_rel_source=$ac_top_build_prefix$ac_source ;; ++ esac ++ ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || ++ ln "$ac_source" "$ac_file" 2>/dev/null || ++ cp -p "$ac_source" "$ac_file" || ++ as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 ++ fi ++ ;; ++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 ++$as_echo "$as_me: executing $ac_file commands" >&6;} ++ ;; ++ esac ++ ++ ++ case $ac_file$ac_mode in ++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { ++ # Autoconf 2.62 quotes --file arguments for eval, but not when files ++ # are listed without --file. Let's play safe and only enable the eval ++ # if we detect the quoting. ++ case $CONFIG_FILES in ++ *\'*) eval set x "$CONFIG_FILES" ;; ++ *) set x $CONFIG_FILES ;; ++ esac ++ shift ++ for mf ++ do ++ # Strip MF so we end up with the name of the file. ++ mf=`echo "$mf" | sed -e 's/:.*$//'` ++ # Check whether this is an Automake generated Makefile or not. ++ # We used to match only the files named `Makefile.in', but ++ # some people rename them; so instead we look at the file content. ++ # Grep'ing the first line is not enough: some people post-process ++ # each Makefile.in and add a new line on top of each file to say so. ++ # Grep'ing the whole file is not good either: AIX grep has a line ++ # limit of 2048, but all sed's we know have understand at least 4000. ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then ++ dirpart=`$as_dirname -- "$mf" || ++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$mf" : 'X\(//\)[^/]' \| \ ++ X"$mf" : 'X\(//\)$' \| \ ++ X"$mf" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$mf" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ else ++ continue ++ fi ++ # Extract the definition of DEPDIR, am__include, and am__quote ++ # from the Makefile without running `make'. ++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` ++ test -z "$DEPDIR" && continue ++ am__include=`sed -n 's/^am__include = //p' < "$mf"` ++ test -z "am__include" && continue ++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` ++ # When using ansi2knr, U may be empty or an underscore; expand it ++ U=`sed -n 's/^U = //p' < "$mf"` ++ # Find all dependency output files, they are included files with ++ # $(DEPDIR) in their names. We invoke sed twice because it is the ++ # simplest approach to changing $(DEPDIR) to its actual value in the ++ # expansion. ++ for file in `sed -n " ++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ ++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do ++ # Make sure the directory exists. ++ test -f "$dirpart/$file" && continue ++ fdir=`$as_dirname -- "$file" || ++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$file" : 'X\(//\)[^/]' \| \ ++ X"$file" : 'X\(//\)$' \| \ ++ X"$file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir=$dirpart/$fdir; as_fn_mkdir_p ++ # echo "creating $dirpart/$file" ++ echo '# dummy' > "$dirpart/$file" ++ done ++ done ++} ++ ;; ++ "libtool":C) ++ ++ # See if we are running on zsh, and set the options which allow our ++ # commands through without removal of \ escapes. ++ if test -n "${ZSH_VERSION+set}" ; then ++ setopt NO_GLOB_SUBST ++ fi ++ ++ cfgfile="${ofile}T" ++ trap "$RM \"$cfgfile\"; exit 1" 1 2 15 ++ $RM "$cfgfile" ++ ++ cat <<_LT_EOF >> "$cfgfile" ++#! $SHELL ++ ++# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. ++# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION ++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: ++# NOTE: Changes made to this file will be lost: look at ltmain.sh. ++# ++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, ++# 2006, 2007, 2008 Free Software Foundation, Inc. ++# Written by Gordon Matzigkeit, 1996 ++# ++# This file is part of GNU Libtool. ++# ++# GNU Libtool is free software; you can redistribute it and/or ++# modify it under the terms of the GNU General Public License as ++# published by the Free Software Foundation; either version 2 of ++# the License, or (at your option) any later version. ++# ++# As a special exception to the GNU General Public License, ++# if you distribute this file as part of a program or library that ++# is built using GNU Libtool, you may include this file under the ++# same distribution terms that you use for the rest of that program. ++# ++# GNU Libtool is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with GNU Libtool; see the file COPYING. If not, a copy ++# can be downloaded from http://www.gnu.org/licenses/gpl.html, or ++# obtained by writing to the Free Software Foundation, Inc., ++# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ++ ++ ++# The names of the tagged configurations supported by this script. ++available_tags="" ++ ++# ### BEGIN LIBTOOL CONFIG ++ ++# Assembler program. ++AS=$AS ++ ++# DLL creation program. ++DLLTOOL=$DLLTOOL ++ ++# Object dumper program. ++OBJDUMP=$OBJDUMP ++ ++# Which release of libtool.m4 was used? ++macro_version=$macro_version ++macro_revision=$macro_revision ++ ++# Whether or not to build shared libraries. ++build_libtool_libs=$enable_shared ++ ++# Whether or not to build static libraries. ++build_old_libs=$enable_static ++ ++# What type of objects to build. ++pic_mode=$pic_mode ++ ++# Whether or not to optimize for fast installation. ++fast_install=$enable_fast_install ++ ++# The host system. ++host_alias=$host_alias ++host=$host ++host_os=$host_os ++ ++# The build system. ++build_alias=$build_alias ++build=$build ++build_os=$build_os ++ ++# A sed program that does not truncate output. ++SED=$lt_SED ++ ++# Sed that helps us avoid accidentally triggering echo(1) options like -n. ++Xsed="\$SED -e 1s/^X//" ++ ++# A grep program that handles long lines. ++GREP=$lt_GREP ++ ++# An ERE matcher. ++EGREP=$lt_EGREP ++ ++# A literal string matcher. ++FGREP=$lt_FGREP ++ ++# A BSD- or MS-compatible name lister. ++NM=$lt_NM ++ ++# Whether we need soft or hard links. ++LN_S=$lt_LN_S ++ ++# What is the maximum length of a command? ++max_cmd_len=$max_cmd_len ++ ++# Object file suffix (normally "o"). ++objext=$ac_objext ++ ++# Executable file suffix (normally ""). ++exeext=$exeext ++ ++# whether the shell understands "unset". ++lt_unset=$lt_unset ++ ++# turn spaces into newlines. ++SP2NL=$lt_lt_SP2NL ++ ++# turn newlines into spaces. ++NL2SP=$lt_lt_NL2SP ++ ++# How to create reloadable object files. ++reload_flag=$lt_reload_flag ++reload_cmds=$lt_reload_cmds ++ ++# Method to check whether dependent libraries are shared objects. ++deplibs_check_method=$lt_deplibs_check_method ++ ++# Command to use when deplibs_check_method == "file_magic". ++file_magic_cmd=$lt_file_magic_cmd ++ ++# The archiver. ++AR=$lt_AR ++AR_FLAGS=$lt_AR_FLAGS ++ ++# A symbol stripping program. ++STRIP=$lt_STRIP ++ ++# Commands used to install an old-style archive. ++RANLIB=$lt_RANLIB ++old_postinstall_cmds=$lt_old_postinstall_cmds ++old_postuninstall_cmds=$lt_old_postuninstall_cmds ++ ++# A C compiler. ++LTCC=$lt_CC ++ ++# LTCC compiler flags. ++LTCFLAGS=$lt_CFLAGS ++ ++# Take the output of nm and produce a listing of raw symbols and C names. ++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe ++ ++# Transform the output of nm in a proper C declaration. ++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl ++ ++# Transform the output of nm in a C name address pair. ++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address ++ ++# Transform the output of nm in a C name address pair when lib prefix is needed. ++global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix ++ ++# The name of the directory that contains temporary libtool files. ++objdir=$objdir ++ ++# Shell to use when invoking shell scripts. ++SHELL=$lt_SHELL ++ ++# An echo program that does not interpret backslashes. ++ECHO=$lt_ECHO ++ ++# Used to examine libraries when file_magic_cmd begins with "file". ++MAGIC_CMD=$MAGIC_CMD ++ ++# Must we lock files when doing compilation? ++need_locks=$lt_need_locks ++ ++# Tool to manipulate archived DWARF debug symbol files on Mac OS X. ++DSYMUTIL=$lt_DSYMUTIL ++ ++# Tool to change global to local symbols on Mac OS X. ++NMEDIT=$lt_NMEDIT ++ ++# Tool to manipulate fat objects and archives on Mac OS X. ++LIPO=$lt_LIPO ++ ++# ldd/readelf like tool for Mach-O binaries on Mac OS X. ++OTOOL=$lt_OTOOL ++ ++# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. ++OTOOL64=$lt_OTOOL64 ++ ++# Old archive suffix (normally "a"). ++libext=$libext ++ ++# Shared library suffix (normally ".so"). ++shrext_cmds=$lt_shrext_cmds ++ ++# The commands to extract the exported symbol list from a shared archive. ++extract_expsyms_cmds=$lt_extract_expsyms_cmds ++ ++# Variables whose values should be saved in libtool wrapper scripts and ++# restored at link time. ++variables_saved_for_relink=$lt_variables_saved_for_relink ++ ++# Do we need the "lib" prefix for modules? ++need_lib_prefix=$need_lib_prefix ++ ++# Do we need a version for libraries? ++need_version=$need_version ++ ++# Library versioning type. ++version_type=$version_type ++ ++# Shared library runtime path variable. ++runpath_var=$runpath_var ++ ++# Shared library path variable. ++shlibpath_var=$shlibpath_var ++ ++# Is shlibpath searched before the hard-coded library search path? ++shlibpath_overrides_runpath=$shlibpath_overrides_runpath ++ ++# Format of library name prefix. ++libname_spec=$lt_libname_spec ++ ++# List of archive names. First name is the real one, the rest are links. ++# The last name is the one that the linker finds with -lNAME ++library_names_spec=$lt_library_names_spec ++ ++# The coded name of the library, if different from the real name. ++soname_spec=$lt_soname_spec ++ ++# Command to use after installation of a shared archive. ++postinstall_cmds=$lt_postinstall_cmds ++ ++# Command to use after uninstallation of a shared archive. ++postuninstall_cmds=$lt_postuninstall_cmds ++ ++# Commands used to finish a libtool library installation in a directory. ++finish_cmds=$lt_finish_cmds ++ ++# As "finish_cmds", except a single script fragment to be evaled but ++# not shown. ++finish_eval=$lt_finish_eval ++ ++# Whether we should hardcode library paths into libraries. ++hardcode_into_libs=$hardcode_into_libs ++ ++# Compile-time system search path for libraries. ++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec ++ ++# Run-time system search path for libraries. ++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec ++ ++# Whether dlopen is supported. ++dlopen_support=$enable_dlopen ++ ++# Whether dlopen of programs is supported. ++dlopen_self=$enable_dlopen_self ++ ++# Whether dlopen of statically linked programs is supported. ++dlopen_self_static=$enable_dlopen_self_static ++ ++# Commands to strip libraries. ++old_striplib=$lt_old_striplib ++striplib=$lt_striplib ++ ++ ++# The linker used to build libraries. ++LD=$lt_LD ++ ++# Commands used to build an old-style archive. ++old_archive_cmds=$lt_old_archive_cmds ++ ++# A language specific compiler. ++CC=$lt_compiler ++ ++# Is the compiler the GNU compiler? ++with_gcc=$GCC ++ ++# Compiler flag to turn off builtin functions. ++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag ++ ++# How to pass a linker flag through the compiler. ++wl=$lt_lt_prog_compiler_wl ++ ++# Additional compiler flags for building library objects. ++pic_flag=$lt_lt_prog_compiler_pic ++ ++# Compiler flag to prevent dynamic linking. ++link_static_flag=$lt_lt_prog_compiler_static ++ ++# Does compiler simultaneously support -c and -o options? ++compiler_c_o=$lt_lt_cv_prog_compiler_c_o ++ ++# Whether or not to add -lc for building shared libraries. ++build_libtool_need_lc=$archive_cmds_need_lc ++ ++# Whether or not to disallow shared libs when runtime libs are static. ++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes ++ ++# Compiler flag to allow reflexive dlopens. ++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec ++ ++# Compiler flag to generate shared objects directly from archives. ++whole_archive_flag_spec=$lt_whole_archive_flag_spec ++ ++# Whether the compiler copes with passing no objects directly. ++compiler_needs_object=$lt_compiler_needs_object ++ ++# Create an old-style archive from a shared archive. ++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds ++ ++# Create a temporary old-style archive to link instead of a shared archive. ++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds ++ ++# Commands used to build a shared archive. ++archive_cmds=$lt_archive_cmds ++archive_expsym_cmds=$lt_archive_expsym_cmds ++ ++# Commands used to build a loadable module if different from building ++# a shared archive. ++module_cmds=$lt_module_cmds ++module_expsym_cmds=$lt_module_expsym_cmds ++ ++# Whether we are building with GNU ld or not. ++with_gnu_ld=$lt_with_gnu_ld ++ ++# Flag that allows shared libraries with undefined symbols to be built. ++allow_undefined_flag=$lt_allow_undefined_flag ++ ++# Flag that enforces no undefined symbols. ++no_undefined_flag=$lt_no_undefined_flag ++ ++# Flag to hardcode \$libdir into a binary during linking. ++# This must work even if \$libdir does not exist ++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec ++ ++# If ld is used when linking, flag to hardcode \$libdir into a binary ++# during linking. This must work even if \$libdir does not exist. ++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld ++ ++# Whether we need a single "-rpath" flag with a separated argument. ++hardcode_libdir_separator=$lt_hardcode_libdir_separator ++ ++# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes ++# DIR into the resulting binary. ++hardcode_direct=$hardcode_direct ++ ++# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes ++# DIR into the resulting binary and the resulting library dependency is ++# "absolute",i.e impossible to change by setting \${shlibpath_var} if the ++# library is relocated. ++hardcode_direct_absolute=$hardcode_direct_absolute ++ ++# Set to "yes" if using the -LDIR flag during linking hardcodes DIR ++# into the resulting binary. ++hardcode_minus_L=$hardcode_minus_L ++ ++# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR ++# into the resulting binary. ++hardcode_shlibpath_var=$hardcode_shlibpath_var ++ ++# Set to "yes" if building a shared library automatically hardcodes DIR ++# into the library and all subsequent libraries and executables linked ++# against it. ++hardcode_automatic=$hardcode_automatic ++ ++# Set to yes if linker adds runtime paths of dependent libraries ++# to runtime path list. ++inherit_rpath=$inherit_rpath ++ ++# Whether libtool must link a program against all its dependency libraries. ++link_all_deplibs=$link_all_deplibs ++ ++# Fix the shell variable \$srcfile for the compiler. ++fix_srcfile_path=$lt_fix_srcfile_path ++ ++# Set to "yes" if exported symbols are required. ++always_export_symbols=$always_export_symbols ++ ++# The commands to list exported symbols. ++export_symbols_cmds=$lt_export_symbols_cmds ++ ++# Symbols that should not be listed in the preloaded symbols. ++exclude_expsyms=$lt_exclude_expsyms ++ ++# Symbols that must always be exported. ++include_expsyms=$lt_include_expsyms ++ ++# Commands necessary for linking programs (against libraries) with templates. ++prelink_cmds=$lt_prelink_cmds ++ ++# Specify filename containing input files. ++file_list_spec=$lt_file_list_spec ++ ++# How to hardcode a shared library path into an executable. ++hardcode_action=$hardcode_action ++ ++# ### END LIBTOOL CONFIG ++ ++_LT_EOF ++ ++ case $host_os in ++ aix3*) ++ cat <<\_LT_EOF >> "$cfgfile" ++# AIX sometimes has problems with the GCC collect2 program. For some ++# reason, if we set the COLLECT_NAMES environment variable, the problems ++# vanish in a puff of smoke. ++if test "X${COLLECT_NAMES+set}" != Xset; then ++ COLLECT_NAMES= ++ export COLLECT_NAMES ++fi ++_LT_EOF ++ ;; ++ esac ++ ++ ++ltmain="$ac_aux_dir/ltmain.sh" ++ ++ ++ # We use sed instead of cat because bash on DJGPP gets confused if ++ # if finds mixed CR/LF and LF-only lines. Since sed operates in ++ # text mode, it properly converts lines to CR/LF. This bash problem ++ # is reportedly fixed, but why not run on old versions too? ++ sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ ++ || (rm -f "$cfgfile"; exit 1) ++ ++ case $xsi_shell in ++ yes) ++ cat << \_LT_EOF >> "$cfgfile" ++ ++# func_dirname file append nondir_replacement ++# Compute the dirname of FILE. If nonempty, add APPEND to the result, ++# otherwise set result to NONDIR_REPLACEMENT. ++func_dirname () ++{ ++ case ${1} in ++ */*) func_dirname_result="${1%/*}${2}" ;; ++ * ) func_dirname_result="${3}" ;; ++ esac ++} ++ ++# func_basename file ++func_basename () ++{ ++ func_basename_result="${1##*/}" ++} ++ ++# func_dirname_and_basename file append nondir_replacement ++# perform func_basename and func_dirname in a single function ++# call: ++# dirname: Compute the dirname of FILE. If nonempty, ++# add APPEND to the result, otherwise set result ++# to NONDIR_REPLACEMENT. ++# value returned in "$func_dirname_result" ++# basename: Compute filename of FILE. ++# value retuned in "$func_basename_result" ++# Implementation must be kept synchronized with func_dirname ++# and func_basename. For efficiency, we do not delegate to ++# those functions but instead duplicate the functionality here. ++func_dirname_and_basename () ++{ ++ case ${1} in ++ */*) func_dirname_result="${1%/*}${2}" ;; ++ * ) func_dirname_result="${3}" ;; ++ esac ++ func_basename_result="${1##*/}" ++} ++ ++# func_stripname prefix suffix name ++# strip PREFIX and SUFFIX off of NAME. ++# PREFIX and SUFFIX must not contain globbing or regex special ++# characters, hashes, percent signs, but SUFFIX may contain a leading ++# dot (in which case that matches only a dot). ++func_stripname () ++{ ++ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are ++ # positional parameters, so assign one to ordinary parameter first. ++ func_stripname_result=${3} ++ func_stripname_result=${func_stripname_result#"${1}"} ++ func_stripname_result=${func_stripname_result%"${2}"} ++} ++ ++# func_opt_split ++func_opt_split () ++{ ++ func_opt_split_opt=${1%%=*} ++ func_opt_split_arg=${1#*=} ++} ++ ++# func_lo2o object ++func_lo2o () ++{ ++ case ${1} in ++ *.lo) func_lo2o_result=${1%.lo}.${objext} ;; ++ *) func_lo2o_result=${1} ;; ++ esac ++} ++ ++# func_xform libobj-or-source ++func_xform () ++{ ++ func_xform_result=${1%.*}.lo ++} ++ ++# func_arith arithmetic-term... ++func_arith () ++{ ++ func_arith_result=$(( $* )) ++} ++ ++# func_len string ++# STRING may not start with a hyphen. ++func_len () ++{ ++ func_len_result=${#1} ++} ++ ++_LT_EOF ++ ;; ++ *) # Bourne compatible functions. ++ cat << \_LT_EOF >> "$cfgfile" ++ ++# func_dirname file append nondir_replacement ++# Compute the dirname of FILE. If nonempty, add APPEND to the result, ++# otherwise set result to NONDIR_REPLACEMENT. ++func_dirname () ++{ ++ # Extract subdirectory from the argument. ++ func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` ++ if test "X$func_dirname_result" = "X${1}"; then ++ func_dirname_result="${3}" ++ else ++ func_dirname_result="$func_dirname_result${2}" ++ fi ++} ++ ++# func_basename file ++func_basename () ++{ ++ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` ++} ++ ++ ++# func_stripname prefix suffix name ++# strip PREFIX and SUFFIX off of NAME. ++# PREFIX and SUFFIX must not contain globbing or regex special ++# characters, hashes, percent signs, but SUFFIX may contain a leading ++# dot (in which case that matches only a dot). ++# func_strip_suffix prefix name ++func_stripname () ++{ ++ case ${2} in ++ .*) func_stripname_result=`$ECHO "X${3}" \ ++ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; ++ *) func_stripname_result=`$ECHO "X${3}" \ ++ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; ++ esac ++} ++ ++# sed scripts: ++my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' ++my_sed_long_arg='1s/^-[^=]*=//' ++ ++# func_opt_split ++func_opt_split () ++{ ++ func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` ++ func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` ++} ++ ++# func_lo2o object ++func_lo2o () ++{ ++ func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` ++} ++ ++# func_xform libobj-or-source ++func_xform () ++{ ++ func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` ++} ++ ++# func_arith arithmetic-term... ++func_arith () ++{ ++ func_arith_result=`expr "$@"` ++} ++ ++# func_len string ++# STRING may not start with a hyphen. ++func_len () ++{ ++ func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` ++} ++ ++_LT_EOF ++esac ++ ++case $lt_shell_append in ++ yes) ++ cat << \_LT_EOF >> "$cfgfile" ++ ++# func_append var value ++# Append VALUE to the end of shell variable VAR. ++func_append () ++{ ++ eval "$1+=\$2" ++} ++_LT_EOF ++ ;; ++ *) ++ cat << \_LT_EOF >> "$cfgfile" ++ ++# func_append var value ++# Append VALUE to the end of shell variable VAR. ++func_append () ++{ ++ eval "$1=\$$1\$2" ++} ++ ++_LT_EOF ++ ;; ++ esac ++ ++ ++ sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ ++ || (rm -f "$cfgfile"; exit 1) ++ ++ mv -f "$cfgfile" "$ofile" || ++ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") ++ chmod +x "$ofile" ++ ++ ;; ++ "default-1":C) ++ for ac_file in $CONFIG_FILES; do ++ # Support "outfile[:infile[:infile...]]" ++ case "$ac_file" in ++ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; ++ esac ++ # PO directories have a Makefile.in generated from Makefile.in.in. ++ case "$ac_file" in */Makefile.in) ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then ++ rm -f "$ac_dir/POTFILES" ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" ++ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" ++ POMAKEFILEDEPS="POTFILES.in" ++ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend ++ # on $ac_dir but don't depend on user-specified configuration ++ # parameters. ++ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then ++ # The LINGUAS file contains the set of available languages. ++ if test -n "$OBSOLETE_ALL_LINGUAS"; then ++ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" ++ fi ++ ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` ++ # Hide the ALL_LINGUAS assigment from automake. ++ eval 'ALL_LINGUAS''=$ALL_LINGUAS_' ++ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" ++ else ++ # The set of available languages was given in configure.in. ++ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' ++ fi ++ # Compute POFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) ++ # Compute UPDATEPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) ++ # Compute DUMMYPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) ++ # Compute GMOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) ++ case "$ac_given_srcdir" in ++ .) srcdirpre= ;; ++ *) srcdirpre='$(srcdir)/' ;; ++ esac ++ POFILES= ++ UPDATEPOFILES= ++ DUMMYPOFILES= ++ GMOFILES= ++ for lang in $ALL_LINGUAS; do ++ POFILES="$POFILES $srcdirpre$lang.po" ++ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" ++ DUMMYPOFILES="$DUMMYPOFILES $lang.nop" ++ GMOFILES="$GMOFILES $srcdirpre$lang.gmo" ++ done ++ # CATALOGS depends on both $ac_dir and the user's LINGUAS ++ # environment variable. ++ INST_LINGUAS= ++ if test -n "$ALL_LINGUAS"; then ++ for presentlang in $ALL_LINGUAS; do ++ useit=no ++ if test "%UNSET%" != "$LINGUAS"; then ++ desiredlanguages="$LINGUAS" ++ else ++ desiredlanguages="$ALL_LINGUAS" ++ fi ++ for desiredlang in $desiredlanguages; do ++ # Use the presentlang catalog if desiredlang is ++ # a. equal to presentlang, or ++ # b. a variant of presentlang (because in this case, ++ # presentlang can be used as a fallback for messages ++ # which are not translated in the desiredlang catalog). ++ case "$desiredlang" in ++ "$presentlang"*) useit=yes;; ++ esac ++ done ++ if test $useit = yes; then ++ INST_LINGUAS="$INST_LINGUAS $presentlang" ++ fi ++ done ++ fi ++ CATALOGS= ++ if test -n "$INST_LINGUAS"; then ++ for lang in $INST_LINGUAS; do ++ CATALOGS="$CATALOGS $lang.gmo" ++ done ++ fi ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" ++ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" ++ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do ++ if test -f "$f"; then ++ case "$f" in ++ *.orig | *.bak | *~) ;; ++ *) cat "$f" >> "$ac_dir/Makefile" ;; ++ esac ++ fi ++ done ++ fi ++ ;; ++ esac ++ done ;; ++ ++ esac ++done # for ac_tag ++ ++ ++as_fn_exit 0 ++_ACEOF ++ac_clean_files=$ac_clean_files_save ++ ++test $ac_write_fail = 0 || ++ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 ++ ++ ++# configure is writing to config.log, and then calls config.status. ++# config.status does its own redirection, appending to config.log. ++# Unfortunately, on DOS this fails, as config.log is still kept open ++# by configure, so config.status won't be able to write to it; its ++# output is simply discarded. So we exec the FD to /dev/null, ++# effectively closing config.log, so it can be properly (re)opened and ++# appended to by config.status. When coming back to configure, we ++# need to make the FD available again. ++if test "$no_create" != yes; then ++ ac_cs_success=: ++ ac_config_status_args= ++ test "$silent" = yes && ++ ac_config_status_args="$ac_config_status_args --quiet" ++ exec 5>/dev/null ++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ++ exec 5>>config.log ++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which ++ # would make configure fail if this is the last instruction. ++ $ac_cs_success || as_fn_exit $? ++fi ++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration summary" >&5 ++$as_echo "$as_me: Configuration summary" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: =====================" >&5 ++$as_echo "$as_me: =====================" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Drivers" >&5 ++$as_echo "$as_me: Drivers" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Xen: $with_xen" >&5 ++$as_echo "$as_me: Xen: $with_xen" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Proxy: $with_xen_proxy" >&5 ++$as_echo "$as_me: Proxy: $with_xen_proxy" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: QEMU: $with_qemu" >&5 ++$as_echo "$as_me: QEMU: $with_qemu" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: UML: $with_uml" >&5 ++$as_echo "$as_me: UML: $with_uml" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: OpenVZ: $with_openvz" >&5 ++$as_echo "$as_me: OpenVZ: $with_openvz" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: VBox: $with_vbox" >&5 ++$as_echo "$as_me: VBox: $with_vbox" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: LXC: $with_lxc" >&5 ++$as_echo "$as_me: LXC: $with_lxc" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: PHYP: $with_phyp" >&5 ++$as_echo "$as_me: PHYP: $with_phyp" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: ONE: $with_one" >&5 ++$as_echo "$as_me: ONE: $with_one" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: ESX: $with_esx" >&5 ++$as_echo "$as_me: ESX: $with_esx" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Test: $with_test" >&5 ++$as_echo "$as_me: Test: $with_test" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Remote: $with_remote" >&5 ++$as_echo "$as_me: Remote: $with_remote" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Network: $with_network" >&5 ++$as_echo "$as_me: Network: $with_network" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Libvirtd: $with_libvirtd" >&5 ++$as_echo "$as_me: Libvirtd: $with_libvirtd" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: $with_netcf" >&5 ++$as_echo "$as_me: netcf: $with_netcf" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Storage Drivers" >&5 ++$as_echo "$as_me: Storage Drivers" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Dir: $with_storage_dir" >&5 ++$as_echo "$as_me: Dir: $with_storage_dir" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: FS: $with_storage_fs" >&5 ++$as_echo "$as_me: FS: $with_storage_fs" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: NetFS: $with_storage_fs" >&5 ++$as_echo "$as_me: NetFS: $with_storage_fs" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: LVM: $with_storage_lvm" >&5 ++$as_echo "$as_me: LVM: $with_storage_lvm" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: iSCSI: $with_storage_iscsi" >&5 ++$as_echo "$as_me: iSCSI: $with_storage_iscsi" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: SCSI: $with_storage_scsi" >&5 ++$as_echo "$as_me: SCSI: $with_storage_scsi" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Disk: $with_storage_disk" >&5 ++$as_echo "$as_me: Disk: $with_storage_disk" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Security Drivers" >&5 ++$as_echo "$as_me: Security Drivers" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: SELinux: $with_secdriver_selinux" >&5 ++$as_echo "$as_me: SELinux: $with_secdriver_selinux" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: AppArmor: $with_secdriver_apparmor" >&5 ++$as_echo "$as_me: AppArmor: $with_secdriver_apparmor" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Driver Loadable Modules" >&5 ++$as_echo "$as_me: Driver Loadable Modules" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++if test "$with_driver_modules" != "no" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: dlopen: $DRIVER_MODULES_CFLAGS $DRIVER_MODULES_LIBS" >&5 ++$as_echo "$as_me: dlopen: $DRIVER_MODULES_CFLAGS $DRIVER_MODULES_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: dlopen: no" >&5 ++$as_echo "$as_me: dlopen: no" >&6;} ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Libraries" >&5 ++$as_echo "$as_me: Libraries" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libxml: $LIBXML_CFLAGS $LIBXML_LIBS" >&5 ++$as_echo "$as_me: libxml: $LIBXML_CFLAGS $LIBXML_LIBS" >&6;} ++if test "$with_esx" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libcurl: $LIBCURL_CFLAGS $LIBCURL_LIBS" >&5 ++$as_echo "$as_me: libcurl: $LIBCURL_CFLAGS $LIBCURL_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libcurl: no" >&5 ++$as_echo "$as_me: libcurl: no" >&6;} ++fi ++if test "$with_libssh" != "no" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libssh: $LIBSSH_CFLAGS $LIBSSH_LIBS" >&5 ++$as_echo "$as_me: libssh: $LIBSSH_CFLAGS $LIBSSH_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libssh: no" >&5 ++$as_echo "$as_me: libssh: no" >&6;} ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: gnutls: $GNUTLS_CFLAGS $GNUTLS_LIBS" >&5 ++$as_echo "$as_me: gnutls: $GNUTLS_CFLAGS $GNUTLS_LIBS" >&6;} ++if test "$with_sasl" != "no" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: sasl: $SASL_CFLAGS $SASL_LIBS" >&5 ++$as_echo "$as_me: sasl: $SASL_CFLAGS $SASL_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: sasl: no" >&5 ++$as_echo "$as_me: sasl: no" >&6;} ++fi ++if test "$with_avahi" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: avahi: $AVAHI_CFLAGS $AVAHI_LIBS" >&5 ++$as_echo "$as_me: avahi: $AVAHI_CFLAGS $AVAHI_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: avahi: no" >&5 ++$as_echo "$as_me: avahi: no" >&6;} ++fi ++if test "$with_polkit" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: polkit: $POLKIT_CFLAGS $POLKIT_LIBS" >&5 ++$as_echo "$as_me: polkit: $POLKIT_CFLAGS $POLKIT_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: polkit: no" >&5 ++$as_echo "$as_me: polkit: no" >&6;} ++fi ++if test "$with_selinux" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: selinux: $SELINUX_CFLAGS $SELINUX_LIBS" >&5 ++$as_echo "$as_me: selinux: $SELINUX_CFLAGS $SELINUX_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: selinux: no" >&5 ++$as_echo "$as_me: selinux: no" >&6;} ++fi ++if test "$with_apparmor" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: apparmor: $APPARMOR_CFLAGS $APPARMOR_LIBS" >&5 ++$as_echo "$as_me: apparmor: $APPARMOR_CFLAGS $APPARMOR_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: apparmor: no" >&5 ++$as_echo "$as_me: apparmor: no" >&6;} ++fi ++if test "$with_numactl" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: numactl: $NUMACTL_CFLAGS $NUMACTL_LIBS" >&5 ++$as_echo "$as_me: numactl: $NUMACTL_CFLAGS $NUMACTL_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: numactl: no" >&5 ++$as_echo "$as_me: numactl: no" >&6;} ++fi ++if test "$with_capng" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: capng: $CAPNG_CFLAGS $CAPNG_LIBS" >&5 ++$as_echo "$as_me: capng: $CAPNG_CFLAGS $CAPNG_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: capng: no" >&5 ++$as_echo "$as_me: capng: no" >&6;} ++fi ++if test "$with_xen" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xen: $XEN_CFLAGS $XEN_LIBS" >&5 ++$as_echo "$as_me: xen: $XEN_CFLAGS $XEN_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xen: no" >&5 ++$as_echo "$as_me: xen: no" >&6;} ++fi ++if test "$with_hal" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: hal: $HAL_CFLAGS $HAL_LIBS" >&5 ++$as_echo "$as_me: hal: $HAL_CFLAGS $HAL_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: hal: no" >&5 ++$as_echo "$as_me: hal: no" >&6;} ++fi ++if test "$with_devkit" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: devkit: $DEVKIT_CFLAGS $DEVKIT_LIBS" >&5 ++$as_echo "$as_me: devkit: $DEVKIT_CFLAGS $DEVKIT_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: devkit: no" >&5 ++$as_echo "$as_me: devkit: no" >&6;} ++fi ++if test "$with_netcf" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: $NETCF_CFLAGS $NETCF_LIBS" >&5 ++$as_echo "$as_me: netcf: $NETCF_CFLAGS $NETCF_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: no" >&5 ++$as_echo "$as_me: netcf: no" >&6;} ++fi ++if test "$with_one" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xmlrpc: $XMLRPC_CFLAGS $XMLRPC_LIBS" >&5 ++$as_echo "$as_me: xmlrpc: $XMLRPC_CFLAGS $XMLRPC_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xmlrpc: no" >&5 ++$as_echo "$as_me: xmlrpc: no" >&6;} ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Test suite" >&5 ++$as_echo "$as_me: Test suite" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Coverage: $enable_coverage" >&5 ++$as_echo "$as_me: Coverage: $enable_coverage" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Alloc OOM: $enable_oom" >&5 ++$as_echo "$as_me: Alloc OOM: $enable_oom" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Miscellaneous" >&5 ++$as_echo "$as_me: Miscellaneous" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Debug: $enable_debug" >&5 ++$as_echo "$as_me: Debug: $enable_debug" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Warnings: $enable_compile_warnings" >&5 ++$as_echo "$as_me: Warnings: $enable_compile_warnings" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Readline: $lv_use_readline" >&5 ++$as_echo "$as_me: Readline: $lv_use_readline" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Privileges" >&5 ++$as_echo "$as_me: Privileges" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: QEMU: $QEMU_USER:$QEMU_GROUP" >&5 ++$as_echo "$as_me: QEMU: $QEMU_USER:$QEMU_GROUP" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 ++$as_echo "$as_me: " >&6;} +diff -Nur libvirt-0.7.0/autom4te.cache/requests libvirt-0.7.0.new/autom4te.cache/requests +--- libvirt-0.7.0/autom4te.cache/requests 1969-12-31 18:00:00.000000000 -0600 ++++ libvirt-0.7.0.new/autom4te.cache/requests 2009-08-13 22:45:25.118511185 -0500 +@@ -0,0 +1,628 @@ ++# This file was generated by Autom4te Wed Jul 29 06:45:47 UTC 2009. ++# It contains the lists of macros which have been traced. ++# It can be safely removed. ++ ++@request = ( ++ bless( [ ++ '0', ++ 1, ++ [ ++ '/usr/share/autoconf' ++ ], ++ [ ++ '/usr/share/autoconf/autoconf/autoconf.m4f', ++ '/usr/share/aclocal/argz.m4', ++ '/usr/share/aclocal/codeset.m4', ++ '/usr/share/aclocal/intdiv0.m4', ++ '/usr/share/aclocal/intmax.m4', ++ '/usr/share/aclocal/inttypes-pri.m4', ++ '/usr/share/aclocal/ltdl.m4', ++ '/usr/share/aclocal/pkg.m4', ++ '/usr/share/aclocal/printf-posix.m4', ++ '/usr/share/aclocal-1.10/amversion.m4', ++ '/usr/share/aclocal-1.10/auxdir.m4', ++ '/usr/share/aclocal-1.10/ccstdc.m4', ++ '/usr/share/aclocal-1.10/cond.m4', ++ '/usr/share/aclocal-1.10/depend.m4', ++ '/usr/share/aclocal-1.10/depout.m4', ++ '/usr/share/aclocal-1.10/header.m4', ++ '/usr/share/aclocal-1.10/init.m4', ++ '/usr/share/aclocal-1.10/install-sh.m4', ++ '/usr/share/aclocal-1.10/lead-dot.m4', ++ '/usr/share/aclocal-1.10/make.m4', ++ '/usr/share/aclocal-1.10/minuso.m4', ++ '/usr/share/aclocal-1.10/missing.m4', ++ '/usr/share/aclocal-1.10/mkdirp.m4', ++ '/usr/share/aclocal-1.10/options.m4', ++ '/usr/share/aclocal-1.10/protos.m4', ++ '/usr/share/aclocal-1.10/runlog.m4', ++ '/usr/share/aclocal-1.10/sanity.m4', ++ '/usr/share/aclocal-1.10/strip.m4', ++ '/usr/share/aclocal-1.10/substnot.m4', ++ '/usr/share/aclocal-1.10/tar.m4', ++ 'gnulib/m4/00gnulib.m4', ++ 'gnulib/m4/alloca.m4', ++ 'gnulib/m4/arpa_inet_h.m4', ++ 'gnulib/m4/close.m4', ++ 'gnulib/m4/errno_h.m4', ++ 'gnulib/m4/extensions.m4', ++ 'gnulib/m4/fclose.m4', ++ 'gnulib/m4/float_h.m4', ++ 'gnulib/m4/fseeko.m4', ++ 'gnulib/m4/getaddrinfo.m4', ++ 'gnulib/m4/getdelim.m4', ++ 'gnulib/m4/gethostname.m4', ++ 'gnulib/m4/getline.m4', ++ 'gnulib/m4/getpagesize.m4', ++ 'gnulib/m4/getpass.m4', ++ 'gnulib/m4/gettimeofday.m4', ++ 'gnulib/m4/gnulib-common.m4', ++ 'gnulib/m4/gnulib-comp.m4', ++ 'gnulib/m4/hostent.m4', ++ 'gnulib/m4/include_next.m4', ++ 'gnulib/m4/inet_ntop.m4', ++ 'gnulib/m4/inet_pton.m4', ++ 'gnulib/m4/intmax_t.m4', ++ 'gnulib/m4/inttypes_h.m4', ++ 'gnulib/m4/longlong.m4', ++ 'gnulib/m4/lseek.m4', ++ 'gnulib/m4/lstat.m4', ++ 'gnulib/m4/malloc.m4', ++ 'gnulib/m4/memchr.m4', ++ 'gnulib/m4/mkstemp.m4', ++ 'gnulib/m4/mmap-anon.m4', ++ 'gnulib/m4/multiarch.m4', ++ 'gnulib/m4/netdb_h.m4', ++ 'gnulib/m4/netinet_in_h.m4', ++ 'gnulib/m4/onceonly.m4', ++ 'gnulib/m4/perror.m4', ++ 'gnulib/m4/physmem.m4', ++ 'gnulib/m4/po.m4', ++ 'gnulib/m4/poll.m4', ++ 'gnulib/m4/posix-shell.m4', ++ 'gnulib/m4/printf.m4', ++ 'gnulib/m4/random_r.m4', ++ 'gnulib/m4/realloc.m4', ++ 'gnulib/m4/select.m4', ++ 'gnulib/m4/servent.m4', ++ 'gnulib/m4/snprintf.m4', ++ 'gnulib/m4/sockets.m4', ++ 'gnulib/m4/socklen.m4', ++ 'gnulib/m4/sockpfaf.m4', ++ 'gnulib/m4/stdbool.m4', ++ 'gnulib/m4/stdint.m4', ++ 'gnulib/m4/stdint_h.m4', ++ 'gnulib/m4/stdio_h.m4', ++ 'gnulib/m4/stdlib_h.m4', ++ 'gnulib/m4/stpcpy.m4', ++ 'gnulib/m4/strdup.m4', ++ 'gnulib/m4/strerror.m4', ++ 'gnulib/m4/string_h.m4', ++ 'gnulib/m4/strndup.m4', ++ 'gnulib/m4/strnlen.m4', ++ 'gnulib/m4/strsep.m4', ++ 'gnulib/m4/sys_ioctl_h.m4', ++ 'gnulib/m4/sys_select_h.m4', ++ 'gnulib/m4/sys_socket_h.m4', ++ 'gnulib/m4/sys_stat_h.m4', ++ 'gnulib/m4/sys_time_h.m4', ++ 'gnulib/m4/tempname.m4', ++ 'gnulib/m4/time_h.m4', ++ 'gnulib/m4/time_r.m4', ++ 'gnulib/m4/ungetc.m4', ++ 'gnulib/m4/unistd_h.m4', ++ 'gnulib/m4/vasnprintf.m4', ++ 'gnulib/m4/vasprintf.m4', ++ 'gnulib/m4/wchar.m4', ++ 'm4/compiler-flags.m4', ++ 'm4/gettext.m4', ++ 'm4/iconv.m4', ++ 'm4/lib-ld.m4', ++ 'm4/lib-link.m4', ++ 'm4/lib-prefix.m4', ++ 'm4/libtool.m4', ++ 'm4/ltoptions.m4', ++ 'm4/ltsugar.m4', ++ 'm4/ltversion.m4', ++ 'm4/lt~obsolete.m4', ++ 'm4/nls.m4', ++ 'm4/po.m4', ++ 'm4/progtest.m4', ++ 'm4/size_max.m4', ++ 'm4/wchar_t.m4', ++ 'm4/wint_t.m4', ++ 'm4/xsize.m4', ++ 'acinclude.m4', ++ 'configure.in' ++ ], ++ { ++ 'AM_ENABLE_STATIC' => 1, ++ 'AM_XGETTEXT_OPTION_INIT' => 1, ++ 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, ++ 'gl_FUNC_SNPRINTF' => 1, ++ 'gl_PREREQ_TEMPNAME' => 1, ++ 'gl_TIME_R' => 1, ++ '_LT_AC_LANG_CXX_CONFIG' => 1, ++ 'gl_PREREQ_PRINTF_ARGS' => 1, ++ 'AC_PROG_LIBTOOL' => 1, ++ 'gl_AC_HEADER_STDINT_H' => 1, ++ 'gl_UNISTD_MODULE_INDICATOR' => 1, ++ 'gl_SYS_STAT_MODULE_INDICATOR' => 1, ++ 'gl_PREREQ_TIME_R' => 1, ++ '_m4_warn' => 1, ++ 'gl_FUNC_STRNDUP' => 1, ++ 'AM_SANITY_CHECK' => 1, ++ 'LTOBSOLETE_VERSION' => 1, ++ 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, ++ 'LTSUGAR_VERSION' => 1, ++ '_LT_PROG_LTMAIN' => 1, ++ 'gl_CACHE_VAL_SILENT' => 1, ++ 'LT_SYS_SYMBOL_USCORE' => 1, ++ 'gl_SERVENT' => 1, ++ 'AC_LIBTOOL_GCJ' => 1, ++ 'gl_LIBOBJ' => 1, ++ 'LT_FUNC_DLSYM_USCORE' => 1, ++ 'AC_LIB_ARG_WITH' => 1, ++ 'AC_LIBTOOL_CONFIG' => 1, ++ 'gl_PREREQ_ASNPRINTF' => 1, ++ 'gl_WCHAR_H_DEFAULTS' => 1, ++ 'AC_LTDL_DLLIB' => 1, ++ '_AM_AUTOCONF_VERSION' => 1, ++ 'AM_DISABLE_SHARED' => 1, ++ 'gl_TYPE_SOCKLEN_T' => 1, ++ '_LT_AC_LANG_CXX' => 1, ++ 'gl_HEADER_SYS_SOCKET' => 1, ++ 'fp_C_PROTOTYPES' => 1, ++ '_AC_TYPE_LONG_LONG_SNIPPET' => 1, ++ 'AC_PROG_NM' => 1, ++ 'AC_ENABLE_FAST_INSTALL' => 1, ++ 'AC_PROG_LD_GNU' => 1, ++ 'gltests_LIBSOURCES' => 1, ++ 'gl_FUNC_STRNLEN' => 1, ++ 'LTDL_CONVENIENCE' => 1, ++ 'gt_AC_TYPE_INTMAX_T' => 1, ++ 'gl_HEADER_STRING_H_DEFAULTS' => 1, ++ 'gl_SYS_SOCKET_H_DEFAULTS' => 1, ++ 'AC_LIBTOOL_PROG_CC_C_O' => 1, ++ 'gl_REPLACE_VASPRINTF' => 1, ++ 'gl_FLOAT_H' => 1, ++ 'gl_REPLACE_WCHAR_H' => 1, ++ 'AC_LIB_PREFIX' => 1, ++ 'gl_STDLIB_MODULE_INDICATOR' => 1, ++ 'gl_FUNC_GETPAGESIZE' => 1, ++ 'gl_PREREQ_GETTIMEOFDAY' => 1, ++ 'gl_PREREQ_VASNPRINTF_FLAG_GROUPING' => 1, ++ 'gl_STDBOOL_H' => 1, ++ 'LT_SUPPORTED_TAG' => 1, ++ 'gl_PREREQ_VASNPRINTF_DIRECTIVE_LS' => 1, ++ 'AC_DEFUN_ONCE' => 1, ++ 'AC_C_RESTRICT' => 1, ++ 'gl_EARLY' => 1, ++ '_LT_AC_LANG_GCJ' => 1, ++ 'AC_' => 1, ++ 'AC_LTDL_OBJDIR' => 1, ++ 'gl_PRINTF_PRECISION' => 1, ++ 'gl_REPLACE_FUNCS' => 1, ++ 'gl_INET_NTOP' => 1, ++ 'gl_STDIO_H_DEFAULTS' => 1, ++ 'gl_HEADER_NETDB' => 1, ++ 'AM_ICONV' => 1, ++ 'gl_FUNC_LSEEK' => 1, ++ '_LT_AC_PROG_ECHO_BACKSLASH' => 1, ++ 'gl_SYS__SYSTEM_CONFIGURATION' => 1, ++ 'gl_POSIX_SHELL' => 1, ++ '_LT_AC_TRY_DLOPEN_SELF' => 1, ++ 'LT_AC_PROG_SED' => 1, ++ 'gl_NETDB_MODULE_INDICATOR' => 1, ++ 'AM_GNU_GETTEXT' => 1, ++ 'LTDL_INSTALLABLE' => 1, ++ '_LT_AC_LANG_GCJ_CONFIG' => 1, ++ 'AC_ENABLE_SHARED' => 1, ++ 'AC_LIB_WITH_FINAL_PREFIX' => 1, ++ 'gt_TYPE_WINT_T' => 1, ++ 'gl_PREREQ_VASNPRINTF' => 1, ++ '_LT_AC_TAGVAR' => 1, ++ 'AM_PROG_CC_C_O' => 1, ++ 'gl_HEADER_SYS_STAT_H' => 1, ++ 'LT_LIB_DLLOAD' => 1, ++ 'gl_INIT' => 1, ++ 'gl_PREREQ_GETADDRINFO' => 1, ++ 'm4_include' => 1, ++ 'gl_PREREQ_STPCPY' => 1, ++ '_AC_AM_CONFIG_HEADER_HOOK' => 1, ++ 'gl_PRINTF_LONG_DOUBLE' => 1, ++ 'AM_MAKE_INCLUDE' => 1, ++ 'LT_CMD_MAX_LEN' => 1, ++ 'gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE' => 1, ++ '_LT_AC_TAGCONFIG' => 1, ++ 'gl_INTEGER_TYPE_SUFFIX' => 1, ++ 'gt_INTTYPES_PRI' => 1, ++ 'gl_PREREQ_MKSTEMP' => 1, ++ 'gl_PREREQ_VASNPRINTF_WITH_EXTRAS' => 1, ++ '_LT_COMPILER_BOILERPLATE' => 1, ++ 'AC_CHECK_DECLS_ONCE' => 1, ++ 'AC_LIBTOOL_SETUP' => 1, ++ 'AC_PROG_LD_RELOAD_FLAG' => 1, ++ 'AC_LTDL_DLSYM_USCORE' => 1, ++ 'AM_MISSING_HAS_RUN' => 1, ++ 'gl_PREREQ_MEMCHR' => 1, ++ 'AC_TYPE_LONG_LONG_INT' => 1, ++ 'LT_CONFIG_LTDL_DIR' => 1, ++ 'AC_LIBTOOL_DLOPEN_SELF' => 1, ++ 'LT_OUTPUT' => 1, ++ 'gl_FUNC_PERROR' => 1, ++ 'AC_LIB_PROG_LD_GNU' => 1, ++ 'gl_CHECK_NEXT_HEADERS' => 1, ++ 'gl_CHECK_DECL_' => 1, ++ 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, ++ '_PKG_SHORT_ERRORS_SUPPORTED' => 1, ++ 'gl_STDIO_MODULE_INDICATOR' => 1, ++ 'gl_STDINT_H' => 1, ++ 'AC_WITH_LTDL' => 1, ++ 'AC_LIBTOOL_LINKER_OPTION' => 1, ++ 'PKG_CHECK_EXISTS' => 1, ++ 'gl_SYS_STAT_H_DEFAULTS' => 1, ++ 'LT_AC_PROG_GCJ' => 1, ++ 'LT_SYS_DLOPEN_SELF' => 1, ++ 'gl_PREREQ_ALLOCA' => 1, ++ 'AM_DISABLE_STATIC' => 1, ++ '_AC_PROG_LIBTOOL' => 1, ++ 'AM_CONFIG_HEADER' => 1, ++ 'AC_COMPUTE_INT' => 1, ++ 'gl_SOCKET_FAMILIES' => 1, ++ 'AM_PROG_CC_STDC' => 1, ++ '_AM_IF_OPTION' => 1, ++ 'gl_PREREQ_POLL' => 1, ++ 'gl_PRINTF_SIZES_C99' => 1, ++ 'AC_PATH_TOOL_PREFIX' => 1, ++ 'gl_CHECK_TYPES_SIGNED' => 1, ++ 'AC_LIBTOOL_F77' => 1, ++ 'm4_pattern_allow' => 1, ++ 'AM_SET_LEADING_DOT' => 1, ++ 'gl_HEADER_STRING_H_BODY' => 1, ++ 'gl_SYS_SOCKET_MODULE_INDICATOR' => 1, ++ 'gl_VSNPRINTF_ZEROSIZE_C99' => 1, ++ 'gl_PREREQ_GETHOSTNAME' => 1, ++ 'gt_CHECK_DECL' => 1, ++ '_LT_AC_SYS_COMPILER' => 1, ++ 'gl_FUNC_FCLOSE' => 1, ++ 'AC_LIB_LINKFLAGS' => 1, ++ 'AM_PROG_NM' => 1, ++ 'gl_PREREQ_STRNLEN' => 1, ++ 'PKG_CHECK_MODULES' => 1, ++ 'gl_FUNC_CLOSE' => 1, ++ 'gl_STDLIB_H' => 1, ++ 'gl_REPLACE_LSEEK' => 1, ++ 'gl_SYS_IOCTL_H_DEFAULTS' => 1, ++ 'AC_LIBLTDL_CONVENIENCE' => 1, ++ 'AC_DEPLIBS_CHECK_METHOD' => 1, ++ 'gl_PRINTF_ENOMEM' => 1, ++ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, ++ 'AC_LTDL_ENABLE_INSTALL' => 1, ++ 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, ++ 'gl_FUNC_LSTAT' => 1, ++ 'gl_STRING_MODULE_INDICATOR' => 1, ++ 'gl_PREREQ_STRERROR' => 1, ++ 'AM_INIT_AUTOMAKE' => 1, ++ 'gl_HEADER_SYS_SELECT' => 1, ++ 'gl_SNPRINTF_RETVAL_C99' => 1, ++ 'AC_DISABLE_STATIC' => 1, ++ 'gt_TYPE_WCHAR_T' => 1, ++ 'LT_PATH_NM' => 1, ++ 'gl_PREREQ_GETDELIM' => 1, ++ 'AC_LTDL_SHLIBEXT' => 1, ++ '_LT_AC_LOCK' => 1, ++ '_LT_AC_LANG_RC_CONFIG' => 1, ++ 'gl_WCHAR_H' => 1, ++ 'gl_COMMON' => 1, ++ 'gl_FUNC_ALLOCA' => 1, ++ 'gl_PHYSMEM' => 1, ++ 'AC_HEADER_STDBOOL' => 1, ++ 'AC_CHECK_FUNCS_ONCE' => 1, ++ 'gl_LIBSOURCES' => 1, ++ 'gl_PREREQ_STRDUP' => 1, ++ 'AC_LTDL_SHLIBPATH' => 1, ++ 'gltests_LIBOBJ' => 1, ++ 'gl_CHECK_FUNC_' => 1, ++ 'AM_AUX_DIR_EXPAND' => 1, ++ 'gl_HEADER_SYS_TIME_H_BODY' => 1, ++ 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, ++ 'gl_WCHAR_MODULE_INDICATOR' => 1, ++ '_AM_SET_OPTIONS' => 1, ++ 'gl_PREREQ_VASPRINTF_H' => 1, ++ '_LT_COMPILER_OPTION' => 1, ++ 'gl_COMPILER_FLAGS' => 1, ++ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, ++ 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, ++ 'AC_LIB_LINKFLAGS_BODY' => 1, ++ 'LT_PATH_LD' => 1, ++ 'AC_CHECK_LIBM' => 1, ++ 'gl_STDINT_INCLUDES' => 1, ++ 'gl_PRINTF_DIRECTIVE_LS' => 1, ++ '_AM_MANGLE_OPTION' => 1, ++ 'AC_TYPE_UNSIGNED_LONG_LONG_INT' => 1, ++ 'AC_CHECK_HEADERS_ONCE' => 1, ++ 'gl_PRINTF_FLAG_GROUPING' => 1, ++ 'AC_LTDL_SYMBOL_USCORE' => 1, ++ 'AM_SET_DEPDIR' => 1, ++ '_LT_CC_BASENAME' => 1, ++ 'gl_REPLACE_FCLOSE' => 1, ++ '_LT_LIBOBJ' => 1, ++ 'gl_PREREQ_VASNPRINTF_PRECISION' => 1, ++ '_LT_AC_SHELL_INIT' => 1, ++ 'AC_DEFUN' => 1, ++ 'gl_FUNC_GETTIMEOFDAY' => 1, ++ 'LIBVIRT_COMPILE_WARNINGS' => 1, ++ 'AM_PROG_MKDIR_P' => 1, ++ 'AM_AUTOMAKE_VERSION' => 1, ++ 'gl_SIZE_MAX' => 1, ++ 'AC_LIB_RPATH' => 1, ++ 'gl_FUNC_GEN_TEMPNAME' => 1, ++ 'AM_MISSING_PROG' => 1, ++ 'gt_PRINTF_POSIX' => 1, ++ 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, ++ '_LT_AC_LANG_C_CONFIG' => 1, ++ 'gl_PRINTF_DIRECTIVE_A' => 1, ++ 'gl_PREREQ_STRSEP' => 1, ++ 'gl_REPLACE_SNPRINTF' => 1, ++ 'gl_INCLUDE_NEXT' => 1, ++ 'AM_PROG_INSTALL_STRIP' => 1, ++ 'gl_HEADER_SYS_TIME_H' => 1, ++ 'AC_LIBTOOL_OBJDIR' => 1, ++ 'gl_FUNC_ARGZ' => 1, ++ 'gl_SYS_IOCTL_H' => 1, ++ 'gl_MULTIARCH' => 1, ++ 'gl_FUNC_POLL' => 1, ++ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, ++ 'LT_LIB_M' => 1, ++ 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, ++ '_LT_AC_CHECK_DLFCN' => 1, ++ '_AM_PROG_TAR' => 1, ++ 'gl_SYS_SELECT_MODULE_INDICATOR' => 1, ++ 'gl_HEADER_ERRNO_H' => 1, ++ 'gl_FUNC_REALLOC_POSIX' => 1, ++ 'gl_FUNC_STRERROR_SEPARATE' => 1, ++ 'gl_HOSTENT' => 1, ++ 'gl_SNPRINTF_TRUNCATION_C99' => 1, ++ 'LT_SYS_DLOPEN_DEPLIBS' => 1, ++ 'gl_FUNC_MKSTEMP' => 1, ++ '_LT_AC_LANG_F77' => 1, ++ 'gl_PREREQ_SYS_H_WINSOCK2' => 1, ++ 'gl_INET_PTON' => 1, ++ '_AM_SUBST_NOTMAKE' => 1, ++ 'gl_00GNULIB' => 1, ++ '_LTDL_SETUP' => 1, ++ 'AM_PROG_LIBTOOL' => 1, ++ 'AC_LIB_LTDL' => 1, ++ '_LT_AC_FILE_LTDLL_C' => 1, ++ 'AM_PROG_LD' => 1, ++ 'AM_ICONV_LINK' => 1, ++ 'AC_USE_SYSTEM_EXTENSIONS' => 1, ++ 'AM_MKINSTALLDIRS' => 1, ++ 'AU_DEFUN' => 1, ++ 'AC_LIBTOOL_DLOPEN' => 1, ++ 'AC_PROG_LD' => 1, ++ 'gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST' => 1, ++ 'gt_TYPE_INTMAX_T' => 1, ++ 'AC_LIB_HAVE_LINKFLAGS' => 1, ++ 'AC_LIBTOOL_FC' => 1, ++ 'AM_ICONV_LINKFLAGS_BODY' => 1, ++ '_AM_SET_OPTION' => 1, ++ 'gl_FUNC_STRDUP_POSIX' => 1, ++ 'gltests_REPLACE_FUNCS' => 1, ++ 'AC_LTDL_PREOPEN' => 1, ++ '_LT_LINKER_BOILERPLATE' => 1, ++ 'gl_PREREQ_VASNPRINTF_FLAG_ZERO' => 1, ++ 'gl_SYS_SELECT_H_DEFAULTS' => 1, ++ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, ++ 'gl_FUNC_GETPASS' => 1, ++ 'gl_PREREQ_ARGZ' => 1, ++ 'gl_FUNC_VASPRINTF' => 1, ++ 'gl_HEADER_STRING_H' => 1, ++ 'AM_STDBOOL_H' => 1, ++ 'gl_PREREQ_INET_PTON' => 1, ++ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, ++ 'gl_FUNC_GETTIMEOFDAY_CLOBBER' => 1, ++ 'gl_COMMON_BODY' => 1, ++ 'LT_SYS_MODULE_EXT' => 1, ++ 'LT_PROG_RC' => 1, ++ 'gl_PREREQ_PRINTF_PARSE' => 1, ++ 'gl_PRINTF_FLAG_ZERO' => 1, ++ 'gl_STDIN_LARGE_OFFSET' => 1, ++ 'gl_HEADER_NETINET_IN' => 1, ++ 'gl_FUNC_GETDELIM' => 1, ++ 'gl_STDINT_BITSIZEOF' => 1, ++ 'fp_PROG_CC_STDC' => 1, ++ 'gl_BIGENDIAN' => 1, ++ 'gt_INTDIV0' => 1, ++ '_LT_PATH_TOOL_PREFIX' => 1, ++ 'AC_LIBTOOL_RC' => 1, ++ 'AC_DISABLE_FAST_INSTALL' => 1, ++ 'gl_STDIO_H' => 1, ++ '_LT_AC_SYS_LIBPATH_AIX' => 1, ++ 'include' => 1, ++ 'gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE' => 1, ++ 'AM_ENABLE_SHARED' => 1, ++ 'AC_LIB_APPENDTOVAR' => 1, ++ 'gl_CHECK_TYPE_STRUCT_TIMESPEC' => 1, ++ 'gl_PREREQ_VASNPRINTF_LONG_DOUBLE' => 1, ++ 'AM_POSTPROCESS_PO_MAKEFILE' => 1, ++ 'gl_AC_TYPE_INTMAX_T' => 1, ++ 'gl_PREREQ_SOCKETS' => 1, ++ 'AM_C_PROTOTYPES' => 1, ++ 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, ++ 'AC_ENABLE_STATIC' => 1, ++ 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, ++ 'AM_CONDITIONAL' => 1, ++ 'AM_LANGINFO_CODESET' => 1, ++ 'gl_AC_HEADER_INTTYPES_H' => 1, ++ 'LTDL_INIT' => 1, ++ 'LTVERSION_VERSION' => 1, ++ 'AM_PROG_INSTALL_SH' => 1, ++ 'gl_PREREQ_STRNDUP' => 1, ++ 'AC_PROG_EGREP' => 1, ++ 'AC_PATH_MAGIC' => 1, ++ 'AC_LTDL_SYSSEARCHPATH' => 1, ++ 'gl_FUNC_MMAP_ANON' => 1, ++ 'gl_SYS_IOCTL_MODULE_INDICATOR' => 1, ++ 'AM_PO_SUBDIRS' => 1, ++ 'm4_pattern_forbid' => 1, ++ 'gl_FUNC_RANDOM_R' => 1, ++ 'AC_LIB_PREPARE_PREFIX' => 1, ++ '_LT_LINKER_OPTION' => 1, ++ 'AC_LIBTOOL_COMPILER_OPTION' => 1, ++ 'gl_FUNC_GETLINE' => 1, ++ 'AC_DISABLE_SHARED' => 1, ++ 'gl_FUNC_GETHOSTNAME' => 1, ++ 'gl_REPLACE_CLOSE' => 1, ++ 'gl_SNPRINTF_PRESENCE' => 1, ++ 'AC_LIBTOOL_WIN32_DLL' => 1, ++ 'gl_FUNC_UNGETC_WORKS' => 1, ++ 'gl_FUNC_MALLOC_POSIX' => 1, ++ 'gl_PREREQ_GETPASS' => 1, ++ 'gl_PREREQ_SNPRINTF' => 1, ++ 'gl_FUNC_VASNPRINTF' => 1, ++ 'LT_LANG' => 1, ++ 'LT_SYS_DLSEARCH_PATH' => 1, ++ 'AM_GNU_GETTEXT_VERSION' => 1, ++ 'gl_PREREQ_ASPRINTF' => 1, ++ 'AM_NLS' => 1, ++ 'gl_FUNC_STRERROR' => 1, ++ 'gl_FUNC_SELECT' => 1, ++ 'gl_PRINTF_INFINITE_LONG_DOUBLE' => 1, ++ 'gl_ARPA_INET_MODULE_INDICATOR' => 1, ++ 'gl_FUNC_GETPASS_GNU' => 1, ++ 'gl_FILE_LIST' => 1, ++ 'gl_PREREQ_VASNPRINTF_DIRECTIVE_F' => 1, ++ 'AC_LIBTOOL_CXX' => 1, ++ 'LT_AC_PROG_RC' => 1, ++ 'LT_INIT' => 1, ++ 'gl_USE_SYSTEM_EXTENSIONS' => 1, ++ 'gl_REPLACE_ARPA_INET_H' => 1, ++ 'gl_FUNC_FSEEKO' => 1, ++ 'gl_PREREQ_RANDOM_R' => 1, ++ 'gl_REPLACE_FSEEKO' => 1, ++ 'AM_DEP_TRACK' => 1, ++ 'gl_FUNC_STPCPY' => 1, ++ 'gl_PRINTF_POSITIONS' => 1, ++ 'gl_STDINT_TYPE_PROPERTIES' => 1, ++ 'gl_FUNC_STRDUP' => 1, ++ 'gl_PREREQ_VASNPRINTF_DIRECTIVE_A' => 1, ++ 'AM_PATH_PROG_WITH_TEST' => 1, ++ 'LT_AC_PROG_EGREP' => 1, ++ 'gl_UNISTD_H_DEFAULTS' => 1, ++ 'gl_PRINTF_DIRECTIVE_N' => 1, ++ '_AM_DEPENDENCIES' => 1, ++ 'AC_LIBTOOL_LANG_C_CONFIG' => 1, ++ 'LTOPTIONS_VERSION' => 1, ++ 'gl_GETTIMEOFDAY_REPLACE_LOCALTIME' => 1, ++ 'gl_REPLACE_VASNPRINTF' => 1, ++ 'gl_PREREQ_VASPRINTF' => 1, ++ 'gl_NETDB_H_DEFAULTS' => 1, ++ 'gl_FUNC_STRSEP' => 1, ++ 'AC_LIBLTDL_INSTALLABLE' => 1, ++ 'gl_XSIZE' => 1, ++ 'gl_HEADER_TIME_H' => 1, ++ 'gl_FUNC_MEMCHR' => 1, ++ 'LT_PROG_GCJ' => 1, ++ 'gl_ARPA_INET_H_DEFAULTS' => 1, ++ 'AM_INTL_SUBDIR' => 1, ++ 'AC_PROG_MKDIR_P' => 1, ++ 'gl_PRINTF_DIRECTIVE_F' => 1, ++ 'gl_REPLACE_ERRNO_VALUE' => 1, ++ 'gl_GETADDRINFO' => 1, ++ 'gl_PRINTF_FLAG_LEFTADJUST' => 1, ++ 'gl_CHECK_HEADER_' => 1, ++ 'gl_HEADER_TIME_H_DEFAULTS' => 1, ++ 'gl_MODULE_INDICATOR' => 1, ++ 'gl_PREREQ_SYS_H_SOCKET' => 1, ++ 'gl_CHECK_MALLOC_POSIX' => 1, ++ 'LT_SYS_MODULE_PATH' => 1, ++ 'gl_UNISTD_H' => 1, ++ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, ++ 'LT_WITH_LTDL' => 1, ++ 'gl_STDLIB_H_DEFAULTS' => 1, ++ 'gl_SNPRINTF_SIZE1' => 1, ++ 'gl_PREREQ_GETLINE' => 1, ++ '_LT_AC_LANG_F77_CONFIG' => 1, ++ 'AM_RUN_LOG' => 1, ++ 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, ++ 'AC_LIBTOOL_PICMODE' => 1, ++ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, ++ 'gl_PREREQ_VASNPRINTF_ENOMEM' => 1, ++ 'gl_SOCKETS' => 1, ++ 'AM_XGETTEXT_OPTION' => 1, ++ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, ++ 'gl_HEADER_ARPA_INET' => 1, ++ 'gl_REPLACE_SYS_IOCTL_H' => 1, ++ 'PKG_PROG_PKG_CONFIG' => 1, ++ 'gl_PRINTF_INFINITE' => 1, ++ 'gl_PREREQ_INET_NTOP' => 1, ++ 'AC_LIB_PROG_LD' => 1, ++ 'gl_HEADER_TIME_H_BODY' => 1, ++ 'gl_SNPRINTF_DIRECTIVE_N' => 1 ++ } ++ ], 'Autom4te::Request' ), ++ bless( [ ++ '1', ++ 1, ++ [ ++ '/usr/share/autoconf' ++ ], ++ [ ++ '/usr/share/autoconf/autoconf/autoconf.m4f', ++ 'aclocal.m4', ++ 'configure.in' ++ ], ++ { ++ '_LT_AC_TAGCONFIG' => 1, ++ 'AM_PROG_F77_C_O' => 1, ++ 'm4_pattern_forbid' => 1, ++ 'AC_INIT' => 1, ++ '_AM_COND_IF' => 1, ++ 'AC_CANONICAL_TARGET' => 1, ++ 'AC_SUBST' => 1, ++ 'AC_CONFIG_LIBOBJ_DIR' => 1, ++ 'AC_FC_SRCEXT' => 1, ++ 'AC_CANONICAL_HOST' => 1, ++ 'AC_PROG_LIBTOOL' => 1, ++ 'AM_INIT_AUTOMAKE' => 1, ++ 'AC_CONFIG_SUBDIRS' => 1, ++ 'AM_AUTOMAKE_VERSION' => 1, ++ 'LT_CONFIG_LTDL_DIR' => 1, ++ 'AC_REQUIRE_AUX_FILE' => 1, ++ 'AC_CONFIG_LINKS' => 1, ++ 'm4_sinclude' => 1, ++ 'LT_SUPPORTED_TAG' => 1, ++ 'AM_MAINTAINER_MODE' => 1, ++ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, ++ '_m4_warn' => 1, ++ 'AM_PROG_CXX_C_O' => 1, ++ '_AM_COND_ENDIF' => 1, ++ 'AM_ENABLE_MULTILIB' => 1, ++ 'AM_SILENT_RULES' => 1, ++ 'AC_CONFIG_FILES' => 1, ++ 'LT_INIT' => 1, ++ 'include' => 1, ++ 'AM_GNU_GETTEXT' => 1, ++ 'AC_LIBSOURCE' => 1, ++ 'AM_PROG_FC_C_O' => 1, ++ 'AC_CANONICAL_BUILD' => 1, ++ 'AC_FC_FREEFORM' => 1, ++ 'AH_OUTPUT' => 1, ++ '_AM_SUBST_NOTMAKE' => 1, ++ 'AC_CONFIG_AUX_DIR' => 1, ++ 'sinclude' => 1, ++ 'm4_pattern_allow' => 1, ++ 'AM_PROG_CC_C_O' => 1, ++ 'AC_CANONICAL_SYSTEM' => 1, ++ 'AM_CONDITIONAL' => 1, ++ 'AC_CONFIG_HEADERS' => 1, ++ 'AC_DEFINE_TRACE_LITERAL' => 1, ++ 'm4_include' => 1, ++ '_AM_COND_ELSE' => 1, ++ 'AC_SUBST_TRACE' => 1 ++ } ++ ], 'Autom4te::Request' ) ++ ); ++ +diff -Nur libvirt-0.7.0/autom4te.cache/traces.0 libvirt-0.7.0.new/autom4te.cache/traces.0 +--- libvirt-0.7.0/autom4te.cache/traces.0 1969-12-31 18:00:00.000000000 -0600 ++++ libvirt-0.7.0.new/autom4te.cache/traces.0 2009-08-13 22:45:10.218506219 -0500 +@@ -0,0 +1,12852 @@ ++m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ ++ ++AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT]) ++ ++AC_CHECK_TYPES([error_t], ++ [], ++ [AC_DEFINE([error_t], [int], ++ [Define to a type to use for `error_t' if it is not otherwise available.]) ++ AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h ++ does not typedef error_t.])], ++ [#if defined(HAVE_ARGZ_H) ++# include ++#endif]) ++ ++ARGZ_H= ++AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \ ++ argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])]) ++ ++dnl if have system argz functions, allow forced use of ++dnl libltdl-supplied implementation (and default to do so ++dnl on "known bad" systems). Could use a runtime check, but ++dnl (a) detecting malloc issues is notoriously unreliable ++dnl (b) only known system that declares argz functions, ++dnl provides them, yet they are broken, is cygwin ++dnl releases prior to 16-Mar-2007 (1.5.24 and earlier) ++dnl So, it's more straightforward simply to special case ++dnl this for known bad systems. ++AS_IF([test -z "$ARGZ_H"], ++ [AC_CACHE_CHECK( ++ [if argz actually works], ++ [lt_cv_sys_argz_works], ++ [[case $host_os in #( ++ *cygwin*) ++ lt_cv_sys_argz_works=no ++ if test "$cross_compiling" != no; then ++ lt_cv_sys_argz_works="guessing no" ++ else ++ lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/' ++ save_IFS=$IFS ++ IFS=-. ++ set x `uname -r | sed -e "$lt_sed_extract_leading_digits"` ++ IFS=$save_IFS ++ lt_os_major=${2-0} ++ lt_os_minor=${3-0} ++ lt_os_micro=${4-0} ++ if test "$lt_os_major" -gt 1 \ ++ || { test "$lt_os_major" -eq 1 \ ++ && { test "$lt_os_minor" -gt 5 \ ++ || { test "$lt_os_minor" -eq 5 \ ++ && test "$lt_os_micro" -gt 24; }; }; }; then ++ lt_cv_sys_argz_works=yes ++ fi ++ fi ++ ;; #( ++ *) lt_cv_sys_argz_works=yes ;; ++ esac]]) ++ AS_IF([test $lt_cv_sys_argz_works = yes], ++ [AC_DEFINE([HAVE_WORKING_ARGZ], 1, ++ [This value is set to 1 to indicate that the system argz facility works])], ++ [ARGZ_H=argz.h ++ AC_LIBOBJ([argz])])]) ++ ++AC_SUBST([ARGZ_H]) ++]) ++m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:]) ++m4trace:/usr/share/aclocal/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [ ++ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, ++ [AC_TRY_LINK([#include ], ++ [char* cs = nl_langinfo(CODESET); return !cs;], ++ am_cv_langinfo_codeset=yes, ++ am_cv_langinfo_codeset=no) ++ ]) ++ if test $am_cv_langinfo_codeset = yes; then ++ AC_DEFINE(HAVE_LANGINFO_CODESET, 1, ++ [Define if you have and nl_langinfo(CODESET).]) ++ fi ++]) ++m4trace:/usr/share/aclocal/intdiv0.m4:9: -1- AC_DEFUN([gt_INTDIV0], [ ++ AC_REQUIRE([AC_PROG_CC])dnl ++ AC_REQUIRE([AC_CANONICAL_HOST])dnl ++ ++ AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], ++ gt_cv_int_divbyzero_sigfpe, ++ [ ++ gt_cv_int_divbyzero_sigfpe= ++changequote(,)dnl ++ case "$host_os" in ++ macos* | darwin[6-9]* | darwin[1-9][0-9]*) ++ # On MacOS X 10.2 or newer, just assume the same as when cross- ++ # compiling. If we were to perform the real test, 1 Crash Report ++ # dialog window would pop up. ++ case "$host_cpu" in ++ i[34567]86 | x86_64) ++ gt_cv_int_divbyzero_sigfpe="guessing yes" ;; ++ esac ++ ;; ++ esac ++changequote([,])dnl ++ if test -z "$gt_cv_int_divbyzero_sigfpe"; then ++ AC_TRY_RUN([ ++#include ++#include ++ ++static void ++sigfpe_handler (int sig) ++{ ++ /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ ++ exit (sig != SIGFPE); ++} ++ ++int x = 1; ++int y = 0; ++int z; ++int nan; ++ ++int main () ++{ ++ signal (SIGFPE, sigfpe_handler); ++/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ ++#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) ++ signal (SIGTRAP, sigfpe_handler); ++#endif ++/* Linux/SPARC yields signal SIGILL. */ ++#if defined (__sparc__) && defined (__linux__) ++ signal (SIGILL, sigfpe_handler); ++#endif ++ ++ z = x / y; ++ nan = y / y; ++ exit (1); ++} ++], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no, ++ [ ++ # Guess based on the CPU. ++changequote(,)dnl ++ case "$host_cpu" in ++ alpha* | i[34567]86 | x86_64 | m68k | s390*) ++ gt_cv_int_divbyzero_sigfpe="guessing yes";; ++ *) ++ gt_cv_int_divbyzero_sigfpe="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ fi ++ ]) ++ case "$gt_cv_int_divbyzero_sigfpe" in ++ *yes) value=1;; ++ *) value=0;; ++ esac ++ AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value, ++ [Define if integer division by zero raises signal SIGFPE.]) ++]) ++m4trace:/usr/share/aclocal/intmax.m4:11: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [ ++ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) ++ AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, ++ [AC_TRY_COMPILE([ ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif ++], [intmax_t x = -1; ++ return !x;], ++ gt_cv_c_intmax_t=yes, ++ gt_cv_c_intmax_t=no)]) ++ if test $gt_cv_c_intmax_t = yes; then ++ AC_DEFINE(HAVE_INTMAX_T, 1, ++ [Define if you have the 'intmax_t' type in or .]) ++ fi ++]) ++m4trace:/usr/share/aclocal/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [ ++ AC_CHECK_HEADERS([inttypes.h]) ++ if test $ac_cv_header_inttypes_h = yes; then ++ AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], ++ gt_cv_inttypes_pri_broken, ++ [ ++ AC_TRY_COMPILE([#include ++#ifdef PRId32 ++char *p = PRId32; ++#endif ++], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) ++ ]) ++ fi ++ if test "$gt_cv_inttypes_pri_broken" = yes; then ++ AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, ++ [Define if exists and defines unusable PRI* macros.]) ++ PRI_MACROS_BROKEN=1 ++ else ++ PRI_MACROS_BROKEN=0 ++ fi ++ AC_SUBST([PRI_MACROS_BROKEN]) ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT]) ++_$0($*) ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl ++dnl Although the argument is deprecated and no longer documented, ++dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one ++dnl here make sure it is the same as any other declaration of libltdl's ++dnl location! This also ensures lt_ltdl_dir is set when configure.ac is ++dnl not yet using an explicit LT_CONFIG_LTDL_DIR. ++m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl ++_$0() ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) ++_LTDL_CONVENIENCE]) ++m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete. ++You should run autoupdate.])dnl ++_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) ++_LTDL_CONVENIENCE]) ++m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl ++dnl Although the argument is deprecated and no longer documented, ++dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one ++dnl here make sure it is the same as any other declaration of libltdl's ++dnl location! This also ensures lt_ltdl_dir is set when configure.ac is ++dnl not yet using an explicit LT_CONFIG_LTDL_DIR. ++m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl ++_$0() ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) ++_LTDL_INSTALLABLE]) ++m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete. ++You should run autoupdate.])dnl ++_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) ++_LTDL_INSTALLABLE]) ++m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [ ++ m4_pattern_allow([^_LT_LIBOBJS$]) ++ _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS ++_LT_SET_OPTIONS([$0], [$1]) ++ ++dnl We need to keep our own list of libobjs separate from our parent project, ++dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while ++dnl we look for our own LIBOBJs. ++m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) ++m4_pushdef([AC_LIBSOURCES]) ++ ++dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: ++m4_if(_LTDL_MODE, [], ++ [m4_define([_LTDL_MODE], m4_default([$2], [subproject])) ++ m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])], ++ [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])]) ++ ++AC_ARG_WITH([included_ltdl], ++ [AS_HELP_STRING([--with-included-ltdl], ++ [use the GNU ltdl sources included here])]) ++ ++if test "x$with_included_ltdl" != xyes; then ++ # We are not being forced to use the included libltdl sources, so ++ # decide whether there is a useful installed version we can use. ++ AC_CHECK_HEADER([ltdl.h], ++ [AC_CHECK_DECL([lt_dlinterface_register], ++ [AC_CHECK_LIB([ltdl], [lt_dladvise_preload], ++ [with_included_ltdl=no], ++ [with_included_ltdl=yes])], ++ [with_included_ltdl=yes], ++ [AC_INCLUDES_DEFAULT ++ #include ])], ++ [with_included_ltdl=yes], ++ [AC_INCLUDES_DEFAULT] ++ ) ++fi ++ ++dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE ++dnl was called yet, then for old times' sake, we assume libltdl is in an ++dnl eponymous directory: ++AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) ++ ++AC_ARG_WITH([ltdl_include], ++ [AS_HELP_STRING([--with-ltdl-include=DIR], ++ [use the ltdl headers installed in DIR])]) ++ ++if test -n "$with_ltdl_include"; then ++ if test -f "$with_ltdl_include/ltdl.h"; then : ++ else ++ AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include']) ++ fi ++else ++ with_ltdl_include=no ++fi ++ ++AC_ARG_WITH([ltdl_lib], ++ [AS_HELP_STRING([--with-ltdl-lib=DIR], ++ [use the libltdl.la installed in DIR])]) ++ ++if test -n "$with_ltdl_lib"; then ++ if test -f "$with_ltdl_lib/libltdl.la"; then : ++ else ++ AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib']) ++ fi ++else ++ with_ltdl_lib=no ++fi ++ ++case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in ++ ,yes,no,no,) ++ m4_case(m4_default(_LTDL_TYPE, [convenience]), ++ [convenience], [_LTDL_CONVENIENCE], ++ [installable], [_LTDL_INSTALLABLE], ++ [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)]) ++ ;; ++ ,no,no,no,) ++ # If the included ltdl is not to be used, then use the ++ # preinstalled libltdl we found. ++ AC_DEFINE([HAVE_LTDL], [1], ++ [Define this if a modern libltdl is already installed]) ++ LIBLTDL=-lltdl ++ LTDLDEPS= ++ LTDLINCL= ++ ;; ++ ,no*,no,*) ++ AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together]) ++ ;; ++ *) with_included_ltdl=no ++ LIBLTDL="-L$with_ltdl_lib -lltdl" ++ LTDLDEPS= ++ LTDLINCL="-I$with_ltdl_include" ++ ;; ++esac ++INCLTDL="$LTDLINCL" ++ ++# Report our decision... ++AC_MSG_CHECKING([where to find libltdl headers]) ++AC_MSG_RESULT([$LTDLINCL]) ++AC_MSG_CHECKING([where to find libltdl library]) ++AC_MSG_RESULT([$LIBLTDL]) ++ ++_LTDL_SETUP ++ ++dnl restore autoconf definition. ++m4_popdef([AC_LIBOBJ]) ++m4_popdef([AC_LIBSOURCES]) ++ ++AC_CONFIG_COMMANDS_PRE([ ++ _ltdl_libobjs= ++ _ltdl_ltlibobjs= ++ if test -n "$_LT_LIBOBJS"; then ++ # Remove the extension. ++ _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do ++ _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" ++ _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" ++ done ++ fi ++ AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs]) ++ AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs]) ++]) ++ ++# Only expand once: ++m4_define([LTDL_INIT]) ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) ++m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete. ++You should run autoupdate.])dnl ++LTDL_INIT($@)]) ++m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) ++m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete. ++You should run autoupdate.])dnl ++LTDL_INIT($@)]) ++m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) ++m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete. ++You should run autoupdate.])dnl ++LTDL_INIT($@)]) ++m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl ++AC_REQUIRE([LT_SYS_MODULE_EXT])dnl ++AC_REQUIRE([LT_SYS_MODULE_PATH])dnl ++AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl ++AC_REQUIRE([LT_LIB_DLLOAD])dnl ++AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl ++AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl ++AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl ++AC_REQUIRE([gl_FUNC_ARGZ])dnl ++ ++m4_require([_LT_CHECK_OBJDIR])dnl ++m4_require([_LT_HEADER_DLFCN])dnl ++m4_require([_LT_CHECK_DLPREOPEN])dnl ++m4_require([_LT_DECL_SED])dnl ++ ++dnl Don't require this, or it will be expanded earlier than the code ++dnl that sets the variables it relies on: ++_LT_ENABLE_INSTALL ++ ++dnl _LTDL_MODE specific code must be called at least once: ++_LTDL_MODE_DISPATCH ++ ++# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS ++# the user used. This is so that ltdl.h can pick up the parent projects ++# config.h file, The first file in AC_CONFIG_HEADERS must contain the ++# definitions required by ltdl.c. ++# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). ++AC_CONFIG_COMMANDS_PRE([dnl ++m4_pattern_allow([^LT_CONFIG_H$])dnl ++m4_ifset([AH_HEADER], ++ [LT_CONFIG_H=AH_HEADER], ++ [m4_ifset([AC_LIST_HEADERS], ++ [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`], ++ [])])]) ++AC_SUBST([LT_CONFIG_H]) ++ ++AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h], ++ [], [], [AC_INCLUDES_DEFAULT]) ++ ++AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) ++AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) ++ ++AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) ++ ++name=ltdl ++LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` ++AC_SUBST([LTDLOPEN]) ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:437: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl ++AC_CACHE_CHECK([whether deplibs are loaded by dlopen], ++ [lt_cv_sys_dlopen_deplibs], ++ [# PORTME does your system automatically load deplibs for dlopen? ++ # or its logical equivalent (e.g. shl_load for HP-UX < 11) ++ # For now, we just catch OSes we know something about -- in the ++ # future, we'll try test this programmatically. ++ lt_cv_sys_dlopen_deplibs=unknown ++ case $host_os in ++ aix3*|aix4.1.*|aix4.2.*) ++ # Unknown whether this is true for these versions of AIX, but ++ # we want this `case' here to explicitly catch those versions. ++ lt_cv_sys_dlopen_deplibs=unknown ++ ;; ++ aix[[4-9]]*) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ amigaos*) ++ case $host_cpu in ++ powerpc) ++ lt_cv_sys_dlopen_deplibs=no ++ ;; ++ esac ++ ;; ++ darwin*) ++ # Assuming the user has installed a libdl from somewhere, this is true ++ # If you are looking for one http://www.opendarwin.org/projects/dlcompat ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ freebsd* | dragonfly*) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ gnu* | linux* | k*bsd*-gnu) ++ # GNU and its variants, using gnu ld.so (Glibc) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ hpux10*|hpux11*) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ interix*) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ irix[[12345]]*|irix6.[[01]]*) ++ # Catch all versions of IRIX before 6.2, and indicate that we don't ++ # know how it worked for any of those versions. ++ lt_cv_sys_dlopen_deplibs=unknown ++ ;; ++ irix*) ++ # The case above catches anything before 6.2, and it's known that ++ # at 6.2 and later dlopen does load deplibs. ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ netbsd* | netbsdelf*-gnu) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ openbsd*) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ osf[[1234]]*) ++ # dlopen did load deplibs (at least at 4.x), but until the 5.x series, ++ # it did *not* use an RPATH in a shared library to find objects the ++ # library depends on, so we explicitly say `no'. ++ lt_cv_sys_dlopen_deplibs=no ++ ;; ++ osf5.0|osf5.0a|osf5.1) ++ # dlopen *does* load deplibs and with the right loader patch applied ++ # it even uses RPATH in a shared library to search for shared objects ++ # that the library depends on, but there's no easy way to know if that ++ # patch is installed. Since this is the case, all we can really ++ # say is unknown -- it depends on the patch being installed. If ++ # it is, this changes to `yes'. Without it, it would be `no'. ++ lt_cv_sys_dlopen_deplibs=unknown ++ ;; ++ osf*) ++ # the two cases above should catch all versions of osf <= 5.1. Read ++ # the comments above for what we know about them. ++ # At > 5.1, deplibs are loaded *and* any RPATH in a shared library ++ # is used to find them so we can finally say `yes'. ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ qnx*) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ solaris*) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; ++ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ libltdl_cv_sys_dlopen_deplibs=yes ++ ;; ++ esac ++ ]) ++if test "$lt_cv_sys_dlopen_deplibs" != yes; then ++ AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], ++ [Define if the OS needs help to load dependent libraries for dlopen().]) ++fi ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:543: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl ++AC_CACHE_CHECK([which extension is used for runtime loadable modules], ++ [libltdl_cv_shlibext], ++[ ++module=yes ++eval libltdl_cv_shlibext=$shrext_cmds ++ ]) ++if test -n "$libltdl_cv_shlibext"; then ++ m4_pattern_allow([LT_MODULE_EXT])dnl ++ AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], ++ [Define to the extension used for runtime loadable modules, say, ".so".]) ++fi ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:566: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl ++AC_CACHE_CHECK([which variable specifies run-time module search path], ++ [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"]) ++if test -n "$lt_cv_module_path_var"; then ++ m4_pattern_allow([LT_MODULE_PATH_VAR])dnl ++ AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"], ++ [Define to the name of the environment variable that determines the run-time module search path.]) ++fi ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:585: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl ++AC_CACHE_CHECK([for the default library search path], ++ [lt_cv_sys_dlsearch_path], ++ [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"]) ++if test -n "$lt_cv_sys_dlsearch_path"; then ++ sys_dlsearch_path= ++ for dir in $lt_cv_sys_dlsearch_path; do ++ if test -z "$sys_dlsearch_path"; then ++ sys_dlsearch_path="$dir" ++ else ++ sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir" ++ fi ++ done ++ m4_pattern_allow([LT_DLSEARCH_PATH])dnl ++ AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"], ++ [Define to the system default library search path.]) ++fi ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:632: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$]) ++LT_DLLOADERS= ++AC_SUBST([LT_DLLOADERS]) ++ ++AC_LANG_PUSH([C]) ++ ++LIBADD_DLOPEN= ++AC_SEARCH_LIBS([dlopen], [dl], ++ [AC_DEFINE([HAVE_LIBDL], [1], ++ [Define if you have the libdl library or equivalent.]) ++ if test "$ac_cv_search_dlopen" != "none required" ; then ++ LIBADD_DLOPEN="-ldl" ++ fi ++ libltdl_cv_lib_dl_dlopen="yes" ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], ++ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H ++# include ++#endif ++ ]], [[dlopen(0, 0);]])], ++ [AC_DEFINE([HAVE_LIBDL], [1], ++ [Define if you have the libdl library or equivalent.]) ++ libltdl_cv_func_dlopen="yes" ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], ++ [AC_CHECK_LIB([svld], [dlopen], ++ [AC_DEFINE([HAVE_LIBDL], [1], ++ [Define if you have the libdl library or equivalent.]) ++ LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) ++if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes ++then ++ lt_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBADD_DLOPEN" ++ AC_CHECK_FUNCS([dlerror]) ++ LIBS="$lt_save_LIBS" ++fi ++AC_SUBST([LIBADD_DLOPEN]) ++ ++LIBADD_SHL_LOAD= ++AC_CHECK_FUNC([shl_load], ++ [AC_DEFINE([HAVE_SHL_LOAD], [1], ++ [Define if you have the shl_load function.]) ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], ++ [AC_CHECK_LIB([dld], [shl_load], ++ [AC_DEFINE([HAVE_SHL_LOAD], [1], ++ [Define if you have the shl_load function.]) ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" ++ LIBADD_SHL_LOAD="-ldld"])]) ++AC_SUBST([LIBADD_SHL_LOAD]) ++ ++case $host_os in ++darwin[[1567]].*) ++# We only want this for pre-Mac OS X 10.4. ++ AC_CHECK_FUNC([_dyld_func_lookup], ++ [AC_DEFINE([HAVE_DYLD], [1], ++ [Define if you have the _dyld_func_lookup function.]) ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) ++ ;; ++beos*) ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" ++ ;; ++cygwin* | mingw* | os2* | pw32*) ++ AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include ]]) ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" ++ ;; ++esac ++ ++AC_CHECK_LIB([dld], [dld_link], ++ [AC_DEFINE([HAVE_DLD], [1], ++ [Define if you have the GNU dld library.]) ++ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) ++AC_SUBST([LIBADD_DLD_LINK]) ++ ++m4_pattern_allow([^LT_DLPREOPEN$]) ++LT_DLPREOPEN= ++if test -n "$LT_DLLOADERS" ++then ++ for lt_loader in $LT_DLLOADERS; do ++ LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " ++ done ++ AC_DEFINE([HAVE_LIBDLLOADER], [1], ++ [Define if libdlloader will be built on this platform]) ++fi ++AC_SUBST([LT_DLPREOPEN]) ++ ++dnl This isn't used anymore, but set it for backwards compatibility ++LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" ++AC_SUBST([LIBADD_DL]) ++ ++AC_LANG_POP ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:733: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl ++AC_CACHE_CHECK([for _ prefix in compiled symbols], ++ [lt_cv_sys_symbol_underscore], ++ [lt_cv_sys_symbol_underscore=no ++ cat > conftest.$ac_ext <<_LT_EOF ++void nm_test_func(){} ++int main(){nm_test_func;return 0;} ++_LT_EOF ++ if AC_TRY_EVAL(ac_compile); then ++ # Now try to grab the symbols. ++ ac_nlist=conftest.nm ++ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then ++ # See whether the symbols have a leading underscore. ++ if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then ++ lt_cv_sys_symbol_underscore=yes ++ else ++ if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then ++ : ++ else ++ echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD ++ fi ++ fi ++ else ++ echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD ++ fi ++ else ++ echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD ++ cat conftest.c >&AS_MESSAGE_LOG_FD ++ fi ++ rm -rf conftest* ++ ]) ++ sys_symbol_underscore=$lt_cv_sys_symbol_underscore ++ AC_SUBST([sys_symbol_underscore]) ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:777: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl ++if test x"$lt_cv_sys_symbol_underscore" = xyes; then ++ if test x"$libltdl_cv_func_dlopen" = xyes || ++ test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then ++ AC_CACHE_CHECK([whether we have to add an underscore for dlsym], ++ [libltdl_cv_need_uscore], ++ [libltdl_cv_need_uscore=unknown ++ save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBADD_DLOPEN" ++ _LT_TRY_DLOPEN_SELF( ++ [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes], ++ [], [libltdl_cv_need_uscore=cross]) ++ LIBS="$save_LIBS" ++ ]) ++ fi ++fi ++ ++if test x"$libltdl_cv_need_uscore" = xyes; then ++ AC_DEFINE([NEED_USCORE], [1], ++ [Define if dlsym() requires a leading underscore in symbol names.]) ++fi ++]) ++m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) ++m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) ++m4trace:/usr/share/aclocal/pkg.m4:26: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) ++m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) ++AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl ++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then ++ AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) ++fi ++if test -n "$PKG_CONFIG"; then ++ _pkg_min_version=m4_default([$1], [0.9.0]) ++ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) ++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then ++ AC_MSG_RESULT([yes]) ++ else ++ AC_MSG_RESULT([no]) ++ PKG_CONFIG="" ++ fi ++ ++fi[]dnl ++]) ++m4trace:/usr/share/aclocal/pkg.m4:56: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl ++if test -n "$PKG_CONFIG" && \ ++ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then ++ m4_ifval([$2], [$2], [:]) ++m4_ifvaln([$3], [else ++ $3])dnl ++fi]) ++m4trace:/usr/share/aclocal/pkg.m4:84: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi[]dnl ++]) ++m4trace:/usr/share/aclocal/pkg.m4:104: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl ++AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl ++AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl ++ ++pkg_failed=no ++AC_MSG_CHECKING([for $1]) ++ ++_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) ++_PKG_CONFIG([$1][_LIBS], [libs], [$2]) ++ ++m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS ++and $1[]_LIBS to avoid the need to call pkg-config. ++See the pkg-config man page for more details.]) ++ ++if test $pkg_failed = yes; then ++ _PKG_SHORT_ERRORS_SUPPORTED ++ if test $_pkg_short_errors_supported = yes; then ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` ++ else ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ++ ++ ifelse([$4], , [AC_MSG_ERROR(dnl ++[Package requirements ($2) were not met: ++ ++$$1_PKG_ERRORS ++ ++Consider adjusting the PKG_CONFIG_PATH environment variable if you ++installed software in a non-standard prefix. ++ ++_PKG_TEXT ++])], ++ [AC_MSG_RESULT([no]) ++ $4]) ++elif test $pkg_failed = untried; then ++ ifelse([$4], , [AC_MSG_FAILURE(dnl ++[The pkg-config script could not be found or is too old. Make sure it ++is in your PATH or set the PKG_CONFIG environment variable to the full ++path to pkg-config. ++ ++_PKG_TEXT ++ ++To get pkg-config, see .])], ++ [$4]) ++else ++ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS ++ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS ++ AC_MSG_RESULT([yes]) ++ ifelse([$3], , :, [$3]) ++fi[]dnl ++]) ++m4trace:/usr/share/aclocal/printf-posix.m4:11: -1- AC_DEFUN([gt_PRINTF_POSIX], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings], ++ gt_cv_func_printf_posix, ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++/* The string "%2$d %1$d", with dollar characters protected from the shell's ++ dollar expansion (possibly an autoconf bug). */ ++static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; ++static char buf[100]; ++int main () ++{ ++ sprintf (buf, format, 33, 55); ++ return (strcmp (buf, "55 33") != 0); ++}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, ++ [ ++ AC_EGREP_CPP(notposix, [ ++#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ ++ notposix ++#endif ++ ], gt_cv_func_printf_posix="guessing no", ++ gt_cv_func_printf_posix="guessing yes") ++ ]) ++ ]) ++ case $gt_cv_func_printf_posix in ++ *yes) ++ AC_DEFINE(HAVE_POSIX_PRINTF, 1, ++ [Define if your printf() function supports format strings with positions.]) ++ ;; ++ esac ++]) ++m4trace:/usr/share/aclocal-1.10/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' ++dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to ++dnl require some minimum version. Point them to the right macro. ++m4_if([$1], [1.10.2], [], ++ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ++]) ++m4trace:/usr/share/aclocal-1.10/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.2])dnl ++m4_ifndef([AC_AUTOCONF_VERSION], ++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl ++_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) ++m4trace:/usr/share/aclocal-1.10/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. ++AC_PREREQ([2.50])dnl ++# expand $ac_aux_dir to an absolute path ++am_aux_dir=`cd $ac_aux_dir && pwd` ++]) ++m4trace:/usr/share/aclocal-1.10/ccstdc.m4:17: -1- AU_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC ++AC_DIAGNOSE([obsolete], [$0: ++ your code should no longer depend upon `am_cv_prog_cc_stdc', but upon ++ `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when ++ you adjust the code. You can also remove the above call to ++ AC_PROG_CC if you already called it elsewhere.]) ++am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ++]) ++m4trace:/usr/share/aclocal-1.10/ccstdc.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_CC_STDC' is obsolete. ++You should run autoupdate.])dnl ++AC_PROG_CC ++AC_DIAGNOSE([obsolete], [$0: ++ your code should no longer depend upon `am_cv_prog_cc_stdc', but upon ++ `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when ++ you adjust the code. You can also remove the above call to ++ AC_PROG_CC if you already called it elsewhere.]) ++am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ++]) ++m4trace:/usr/share/aclocal-1.10/ccstdc.m4:26: -1- AU_DEFUN([fp_PROG_CC_STDC]) ++m4trace:/usr/share/aclocal-1.10/ccstdc.m4:26: -1- AC_DEFUN([fp_PROG_CC_STDC], [AC_DIAGNOSE([obsolete], [The macro `fp_PROG_CC_STDC' is obsolete. ++You should run autoupdate.])dnl ++]) ++m4trace:/usr/share/aclocal-1.10/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ++ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], ++ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl ++AC_SUBST([$1_TRUE])dnl ++AC_SUBST([$1_FALSE])dnl ++_AM_SUBST_NOTMAKE([$1_TRUE])dnl ++_AM_SUBST_NOTMAKE([$1_FALSE])dnl ++if $2; then ++ $1_TRUE= ++ $1_FALSE='#' ++else ++ $1_TRUE='#' ++ $1_FALSE= ++fi ++AC_CONFIG_COMMANDS_PRE( ++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then ++ AC_MSG_ERROR([[conditional "$1" was never defined. ++Usually this means the macro was only invoked conditionally.]]) ++fi])]) ++m4trace:/usr/share/aclocal-1.10/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl ++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl ++AC_REQUIRE([AM_MAKE_INCLUDE])dnl ++AC_REQUIRE([AM_DEP_TRACK])dnl ++ ++ifelse([$1], CC, [depcc="$CC" am_compiler_list=], ++ [$1], CXX, [depcc="$CXX" am_compiler_list=], ++ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], ++ [$1], UPC, [depcc="$UPC" am_compiler_list=], ++ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], ++ [depcc="$$1" am_compiler_list=]) ++ ++AC_CACHE_CHECK([dependency style of $depcc], ++ [am_cv_$1_dependencies_compiler_type], ++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named `D' -- because `-MD' means `put the output ++ # in D'. ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_$1_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` ++ fi ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with ++ # Solaris 8's {/usr,}/bin/sh. ++ touch sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ case $depmode in ++ nosideeffect) ++ # after this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ none) break ;; ++ esac ++ # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle `-M -o', and we need to detect this. ++ if depmode=$depmode \ ++ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_$1_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_$1_dependencies_compiler_type=none ++fi ++]) ++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) ++AM_CONDITIONAL([am__fastdep$1], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ++]) ++m4trace:/usr/share/aclocal-1.10/depend.m4:139: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl ++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ++]) ++m4trace:/usr/share/aclocal-1.10/depend.m4:147: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, ++[ --disable-dependency-tracking speeds up one-time build ++ --enable-dependency-tracking do not reject slow dependency extractors]) ++if test "x$enable_dependency_tracking" != xno; then ++ am_depcomp="$ac_aux_dir/depcomp" ++ AMDEPBACKSLASH='\' ++fi ++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) ++AC_SUBST([AMDEPBACKSLASH])dnl ++_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ++]) ++m4trace:/usr/share/aclocal-1.10/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ ++ # Autoconf 2.62 quotes --file arguments for eval, but not when files ++ # are listed without --file. Let's play safe and only enable the eval ++ # if we detect the quoting. ++ case $CONFIG_FILES in ++ *\'*) eval set x "$CONFIG_FILES" ;; ++ *) set x $CONFIG_FILES ;; ++ esac ++ shift ++ for mf ++ do ++ # Strip MF so we end up with the name of the file. ++ mf=`echo "$mf" | sed -e 's/:.*$//'` ++ # Check whether this is an Automake generated Makefile or not. ++ # We used to match only the files named `Makefile.in', but ++ # some people rename them; so instead we look at the file content. ++ # Grep'ing the first line is not enough: some people post-process ++ # each Makefile.in and add a new line on top of each file to say so. ++ # Grep'ing the whole file is not good either: AIX grep has a line ++ # limit of 2048, but all sed's we know have understand at least 4000. ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then ++ dirpart=`AS_DIRNAME("$mf")` ++ else ++ continue ++ fi ++ # Extract the definition of DEPDIR, am__include, and am__quote ++ # from the Makefile without running `make'. ++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` ++ test -z "$DEPDIR" && continue ++ am__include=`sed -n 's/^am__include = //p' < "$mf"` ++ test -z "am__include" && continue ++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` ++ # When using ansi2knr, U may be empty or an underscore; expand it ++ U=`sed -n 's/^U = //p' < "$mf"` ++ # Find all dependency output files, they are included files with ++ # $(DEPDIR) in their names. We invoke sed twice because it is the ++ # simplest approach to changing $(DEPDIR) to its actual value in the ++ # expansion. ++ for file in `sed -n " ++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ ++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do ++ # Make sure the directory exists. ++ test -f "$dirpart/$file" && continue ++ fdir=`AS_DIRNAME(["$file"])` ++ AS_MKDIR_P([$dirpart/$fdir]) ++ # echo "creating $dirpart/$file" ++ echo '# dummy' > "$dirpart/$file" ++ done ++ done ++} ++]) ++m4trace:/usr/share/aclocal-1.10/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], ++ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], ++ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ++]) ++m4trace:/usr/share/aclocal-1.10/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) ++m4trace:/usr/share/aclocal-1.10/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. ++You should run autoupdate.])dnl ++AC_CONFIG_HEADERS($@)]) ++m4trace:/usr/share/aclocal-1.10/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl ++dnl Autoconf wants to disallow AM_ names. We explicitly allow ++dnl the ones we care about. ++m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl ++AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl ++AC_REQUIRE([AC_PROG_INSTALL])dnl ++if test "`cd $srcdir && pwd`" != "`pwd`"; then ++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output ++ # is not polluted with repeated "-I." ++ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl ++ # test to see if srcdir already configured ++ if test -f $srcdir/config.status; then ++ AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) ++ fi ++fi ++ ++# test whether we have cygpath ++if test -z "$CYGPATH_W"; then ++ if (cygpath --version) >/dev/null 2>/dev/null; then ++ CYGPATH_W='cygpath -w' ++ else ++ CYGPATH_W=echo ++ fi ++fi ++AC_SUBST([CYGPATH_W]) ++ ++# Define the identity of the package. ++dnl Distinguish between old-style and new-style calls. ++m4_ifval([$2], ++[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl ++ AC_SUBST([PACKAGE], [$1])dnl ++ AC_SUBST([VERSION], [$2])], ++[_AM_SET_OPTIONS([$1])dnl ++dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. ++m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, ++ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl ++ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl ++ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl ++ ++_AM_IF_OPTION([no-define],, ++[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) ++ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl ++ ++# Some tools Automake needs. ++AC_REQUIRE([AM_SANITY_CHECK])dnl ++AC_REQUIRE([AC_ARG_PROGRAM])dnl ++AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) ++AM_MISSING_PROG(AUTOCONF, autoconf) ++AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) ++AM_MISSING_PROG(AUTOHEADER, autoheader) ++AM_MISSING_PROG(MAKEINFO, makeinfo) ++AM_PROG_INSTALL_SH ++AM_PROG_INSTALL_STRIP ++AC_REQUIRE([AM_PROG_MKDIR_P])dnl ++# We need awk for the "check" target. The system "awk" is bad on ++# some platforms. ++AC_REQUIRE([AC_PROG_AWK])dnl ++AC_REQUIRE([AC_PROG_MAKE_SET])dnl ++AC_REQUIRE([AM_SET_LEADING_DOT])dnl ++_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], ++ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], ++ [_AM_PROG_TAR([v7])])]) ++_AM_IF_OPTION([no-dependencies],, ++[AC_PROVIDE_IFELSE([AC_PROG_CC], ++ [_AM_DEPENDENCIES(CC)], ++ [define([AC_PROG_CC], ++ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_CXX], ++ [_AM_DEPENDENCIES(CXX)], ++ [define([AC_PROG_CXX], ++ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_OBJC], ++ [_AM_DEPENDENCIES(OBJC)], ++ [define([AC_PROG_OBJC], ++ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ++]) ++]) ++m4trace:/usr/share/aclocal-1.10/init.m4:113: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. ++_am_arg=$1 ++_am_stamp_count=1 ++for _am_header in $config_headers :; do ++ case $_am_header in ++ $_am_arg | $_am_arg:* ) ++ break ;; ++ * ) ++ _am_stamp_count=`expr $_am_stamp_count + 1` ;; ++ esac ++done ++echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) ++m4trace:/usr/share/aclocal-1.10/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ++install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} ++AC_SUBST(install_sh)]) ++m4trace:/usr/share/aclocal-1.10/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null ++mkdir .tst 2>/dev/null ++if test -d .tst; then ++ am__leading_dot=. ++else ++ am__leading_dot=_ ++fi ++rmdir .tst 2>/dev/null ++AC_SUBST([am__leading_dot])]) ++m4trace:/usr/share/aclocal-1.10/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} ++cat > confinc << 'END' ++am__doit: ++ @echo done ++.PHONY: am__doit ++END ++# If we don't find an include directive, just comment out the code. ++AC_MSG_CHECKING([for style of include used by $am_make]) ++am__include="#" ++am__quote= ++_am_result=none ++# First try GNU make style include. ++echo "include confinc" > confmf ++# We grep out `Entering directory' and `Leaving directory' ++# messages which can occur if `w' ends up in MAKEFLAGS. ++# In particular we don't look at `^make:' because GNU make might ++# be invoked under some other name (usually "gmake"), in which ++# case it prints its new name instead of `make'. ++if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then ++ am__include=include ++ am__quote= ++ _am_result=GNU ++fi ++# Now try BSD make style include. ++if test "$am__include" = "#"; then ++ echo '.include "confinc"' > confmf ++ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then ++ am__include=.include ++ am__quote="\"" ++ _am_result=BSD ++ fi ++fi ++AC_SUBST([am__include]) ++AC_SUBST([am__quote]) ++AC_MSG_RESULT([$_am_result]) ++rm -f confinc confmf ++]) ++m4trace:/usr/share/aclocal-1.10/minuso.m4:14: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl ++AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ++AC_REQUIRE_AUX_FILE([compile])dnl ++# FIXME: we rely on the cache variable name because ++# there is no other way. ++set dummy $CC ++am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` ++eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o ++if test "$am_t" != yes; then ++ # Losing compiler, so override with the script. ++ # FIXME: It is wrong to rewrite CC. ++ # But if we don't then we get into trouble of one sort or another. ++ # A longer-term fix would be to have automake use am__CC in this case, ++ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" ++ CC="$am_aux_dir/compile $CC" ++fi ++dnl Make sure AC_PROG_CC is never called again, or it will override our ++dnl setting of CC. ++m4_define([AC_PROG_CC], ++ [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ++]) ++m4trace:/usr/share/aclocal-1.10/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) ++$1=${$1-"${am_missing_run}$2"} ++AC_SUBST($1)]) ++m4trace:/usr/share/aclocal-1.10/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ++AC_REQUIRE_AUX_FILE([missing])dnl ++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" ++# Use eval to expand $SHELL ++if eval "$MISSING --run true"; then ++ am_missing_run="$MISSING --run " ++else ++ am_missing_run= ++ AC_MSG_WARN([`missing' script is too old or missing]) ++fi ++]) ++m4trace:/usr/share/aclocal-1.10/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl ++AC_REQUIRE([AC_PROG_MKDIR_P])dnl ++dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, ++dnl while keeping a definition of mkdir_p for backward compatibility. ++dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. ++dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of ++dnl Makefile.ins that do not define MKDIR_P, so we do our own ++dnl adjustment using top_builddir (which is defined more often than ++dnl MKDIR_P). ++AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl ++case $mkdir_p in ++ [[\\/$]]* | ?:[[\\/]]*) ;; ++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; ++esac ++]) ++m4trace:/usr/share/aclocal-1.10/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) ++m4trace:/usr/share/aclocal-1.10/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) ++m4trace:/usr/share/aclocal-1.10/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) ++m4trace:/usr/share/aclocal-1.10/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) ++m4trace:/usr/share/aclocal-1.10/protos.m4:14: -1- AC_DEFUN([AM_C_PROTOTYPES], [AC_REQUIRE([AC_C_PROTOTYPES]) ++if test "$ac_cv_prog_cc_stdc" != no; then ++ U= ANSI2KNR= ++else ++ U=_ ANSI2KNR=./ansi2knr ++fi ++# Ensure some checks needed by ansi2knr itself. ++AC_REQUIRE([AC_HEADER_STDC]) ++AC_CHECK_HEADERS([string.h]) ++AC_SUBST([U])dnl ++AC_SUBST([ANSI2KNR])dnl ++_AM_SUBST_NOTMAKE([ANSI2KNR])dnl ++]) ++m4trace:/usr/share/aclocal-1.10/protos.m4:29: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) ++m4trace:/usr/share/aclocal-1.10/protos.m4:29: -1- AC_DEFUN([fp_C_PROTOTYPES], [AC_DIAGNOSE([obsolete], [The macro `fp_C_PROTOTYPES' is obsolete. ++You should run autoupdate.])dnl ++AM_C_PROTOTYPES]) ++m4trace:/usr/share/aclocal-1.10/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ++ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD ++ (exit $ac_status); }]) ++m4trace:/usr/share/aclocal-1.10/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) ++# Just in case ++sleep 1 ++echo timestamp > conftest.file ++# Do `set' in a subshell so we don't clobber the current shell's ++# arguments. Must try -L first in case configure is actually a ++# symlink; some systems play weird games with the mod time of symlinks ++# (eg FreeBSD returns the mod time of the symlink's containing ++# directory). ++if ( ++ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` ++ if test "$[*]" = "X"; then ++ # -L didn't work. ++ set X `ls -t $srcdir/configure conftest.file` ++ fi ++ rm -f conftest.file ++ if test "$[*]" != "X $srcdir/configure conftest.file" \ ++ && test "$[*]" != "X conftest.file $srcdir/configure"; then ++ ++ # If neither matched, then we have a broken ls. This can happen ++ # if, for instance, CONFIG_SHELL is bash and it inherits a ++ # broken ls alias from the environment. This has actually ++ # happened. Such a system could not be considered "sane". ++ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken ++alias in your environment]) ++ fi ++ ++ test "$[2]" = conftest.file ++ ) ++then ++ # Ok. ++ : ++else ++ AC_MSG_ERROR([newly created file is older than distributed files! ++Check your system clock]) ++fi ++AC_MSG_RESULT(yes)]) ++m4trace:/usr/share/aclocal-1.10/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl ++# Installed binaries are usually stripped using `strip' when the user ++# run `make install-strip'. However `strip' might not be the right ++# tool to use in cross-compilation environments, therefore Automake ++# will honor the `STRIP' environment variable to overrule this program. ++dnl Don't test for $cross_compiling = yes, because it might be `maybe'. ++if test "$cross_compiling" != no; then ++ AC_CHECK_TOOL([STRIP], [strip], :) ++fi ++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ++AC_SUBST([INSTALL_STRIP_PROGRAM])]) ++m4trace:/usr/share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) ++m4trace:/usr/share/aclocal-1.10/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. ++AM_MISSING_PROG([AMTAR], [tar]) ++m4_if([$1], [v7], ++ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], ++ [m4_case([$1], [ustar],, [pax],, ++ [m4_fatal([Unknown tar format])]) ++AC_MSG_CHECKING([how to create a $1 tar archive]) ++# Loop over all known methods to create a tar archive until one works. ++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' ++_am_tools=${am_cv_prog_tar_$1-$_am_tools} ++# Do not fold the above two line into one, because Tru64 sh and ++# Solaris sh will not grok spaces in the rhs of `-'. ++for _am_tool in $_am_tools ++do ++ case $_am_tool in ++ gnutar) ++ for _am_tar in tar gnutar gtar; ++ do ++ AM_RUN_LOG([$_am_tar --version]) && break ++ done ++ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' ++ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' ++ am__untar="$_am_tar -xf -" ++ ;; ++ plaintar) ++ # Must skip GNU tar: if it does not support --format= it doesn't create ++ # ustar tarball either. ++ (tar --version) >/dev/null 2>&1 && continue ++ am__tar='tar chf - "$$tardir"' ++ am__tar_='tar chf - "$tardir"' ++ am__untar='tar xf -' ++ ;; ++ pax) ++ am__tar='pax -L -x $1 -w "$$tardir"' ++ am__tar_='pax -L -x $1 -w "$tardir"' ++ am__untar='pax -r' ++ ;; ++ cpio) ++ am__tar='find "$$tardir" -print | cpio -o -H $1 -L' ++ am__tar_='find "$tardir" -print | cpio -o -H $1 -L' ++ am__untar='cpio -i -H $1 -d' ++ ;; ++ none) ++ am__tar=false ++ am__tar_=false ++ am__untar=false ++ ;; ++ esac ++ ++ # If the value was cached, stop now. We just wanted to have am__tar ++ # and am__untar set. ++ test -n "${am_cv_prog_tar_$1}" && break ++ ++ # tar/untar a dummy directory, and stop if the command works ++ rm -rf conftest.dir ++ mkdir conftest.dir ++ echo GrepMe > conftest.dir/file ++ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) ++ rm -rf conftest.dir ++ if test -s conftest.tar; then ++ AM_RUN_LOG([$am__untar /dev/null 2>&1 && break ++ fi ++done ++rm -rf conftest.dir ++ ++AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) ++AC_MSG_RESULT([$am_cv_prog_tar_$1])]) ++AC_SUBST([am__tar]) ++AC_SUBST([am__untar]) ++]) ++m4trace:gnulib/m4/00gnulib.m4:30: -1- AC_DEFUN([gl_00GNULIB]) ++m4trace:gnulib/m4/alloca.m4:7: -1- AC_DEFUN([gl_FUNC_ALLOCA], [ ++ dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. ++ AC_REQUIRE([AC_PROG_CPP]) ++ AC_REQUIRE([AC_PROG_EGREP]) ++ ++ AC_REQUIRE([AC_FUNC_ALLOCA]) ++ if test $ac_cv_func_alloca_works = no; then ++ gl_PREREQ_ALLOCA ++ fi ++ ++ # Define an additional variable used in the Makefile substitution. ++ if test $ac_cv_working_alloca_h = yes; then ++ AC_CACHE_CHECK([for alloca as a compiler built-in], [gl_cv_rpl_alloca], [ ++ AC_EGREP_CPP([Need own alloca], [ ++#if defined __GNUC__ || defined _AIX || defined _MSC_VER ++ Need own alloca ++#endif ++ ], [gl_cv_rpl_alloca=yes], [gl_cv_rpl_alloca=no]) ++ ]) ++ if test $gl_cv_rpl_alloca = yes; then ++ dnl OK, alloca can be implemented through a compiler built-in. ++ AC_DEFINE([HAVE_ALLOCA], [1], ++ [Define to 1 if you have 'alloca' after including , ++ a header that may be supplied by this distribution.]) ++ ALLOCA_H=alloca.h ++ else ++ dnl alloca exists as a library function, i.e. it is slow and probably ++ dnl a memory leak. Don't define HAVE_ALLOCA in this case. ++ ALLOCA_H= ++ fi ++ else ++ ALLOCA_H=alloca.h ++ fi ++ AC_SUBST([ALLOCA_H]) ++]) ++m4trace:gnulib/m4/alloca.m4:46: -1- AC_DEFUN([gl_PREREQ_ALLOCA], [:]) ++m4trace:gnulib/m4/arpa_inet_h.m4:9: -1- AC_DEFUN([gl_HEADER_ARPA_INET], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) ++ ++ AC_CHECK_HEADERS_ONCE([arpa/inet.h]) ++ 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 ++ AC_SUBST([HAVE_ARPA_INET_H]) ++ dnl Execute this unconditionally, because ARPA_INET_H may be set by other ++ dnl modules, after this code is executed. ++ gl_CHECK_NEXT_HEADERS([arpa/inet.h]) ++]) ++m4trace:gnulib/m4/arpa_inet_h.m4:29: -1- AC_DEFUN([gl_REPLACE_ARPA_INET_H], [ ++ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) ++ ARPA_INET_H='arpa/inet.h' ++]) ++m4trace:gnulib/m4/arpa_inet_h.m4:35: -1- AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/arpa_inet_h.m4:42: -1- AC_DEFUN([gl_ARPA_INET_H_DEFAULTS], [ ++ GNULIB_INET_NTOP=0; AC_SUBST([GNULIB_INET_NTOP]) ++ GNULIB_INET_PTON=0; AC_SUBST([GNULIB_INET_PTON]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_DECL_INET_NTOP=1; AC_SUBST([HAVE_DECL_INET_NTOP]) ++ HAVE_DECL_INET_PTON=1; AC_SUBST([HAVE_DECL_INET_PTON]) ++ ARPA_INET_H=''; AC_SUBST([ARPA_INET_H]) ++]) ++m4trace:gnulib/m4/close.m4:7: -1- AC_DEFUN([gl_FUNC_CLOSE], [ ++ m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [ ++ gl_PREREQ_SYS_H_WINSOCK2 ++ if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then ++ gl_REPLACE_CLOSE ++ fi ++ ]) ++]) ++m4trace:gnulib/m4/close.m4:17: -1- AC_DEFUN([gl_REPLACE_CLOSE], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ if test $REPLACE_CLOSE != 1; then ++ AC_LIBOBJ([close]) ++ fi ++ REPLACE_CLOSE=1 ++ gl_REPLACE_FCLOSE ++]) ++m4trace:gnulib/m4/errno_h.m4:7: -1- AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [ ++ AC_EGREP_CPP([booboo],[ ++#include ++#if !defined ENOMSG ++booboo ++#endif ++#if !defined EIDRM ++booboo ++#endif ++#if !defined ENOLINK ++booboo ++#endif ++#if !defined EPROTO ++booboo ++#endif ++#if !defined EMULTIHOP ++booboo ++#endif ++#if !defined EBADMSG ++booboo ++#endif ++#if !defined EOVERFLOW ++booboo ++#endif ++#if !defined ENOTSUP ++booboo ++#endif ++#if !defined ESTALE ++booboo ++#endif ++#if !defined ECANCELED ++booboo ++#endif ++ ], ++ [gl_cv_header_errno_h_complete=no], ++ [gl_cv_header_errno_h_complete=yes]) ++ ]) ++ if test $gl_cv_header_errno_h_complete = yes; then ++ ERRNO_H='' ++ else ++ gl_CHECK_NEXT_HEADERS([errno.h]) ++ ERRNO_H='errno.h' ++ fi ++ AC_SUBST([ERRNO_H]) ++ gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) ++ gl_REPLACE_ERRNO_VALUE([ENOLINK]) ++ gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) ++]) ++m4trace:gnulib/m4/errno_h.m4:65: -1- AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [ ++ if test -n "$ERRNO_H"; then ++ AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [ ++ AC_EGREP_CPP([yes],[ ++#include ++#ifdef ]$1[ ++yes ++#endif ++ ], ++ [gl_cv_header_errno_h_]$1[=yes], ++ [gl_cv_header_errno_h_]$1[=no]) ++ if test $gl_cv_header_errno_h_]$1[ = no; then ++ AC_EGREP_CPP([yes],[ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef ]$1[ ++yes ++#endif ++ ], [gl_cv_header_errno_h_]$1[=hidden]) ++ if test $gl_cv_header_errno_h_]$1[ = hidden; then ++ dnl The macro exists but is hidden. ++ dnl Define it to the same value. ++ AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++]) ++ fi ++ fi ++ ]) ++ case $gl_cv_header_errno_h_$1 in ++ yes | no) ++ $1_HIDDEN=0; $1_VALUE= ++ ;; ++ *) ++ $1_HIDDEN=1; $1_VALUE="$gl_cv_header_errno_h_$1" ++ ;; ++ esac ++ AC_SUBST($1[_HIDDEN]) ++ AC_SUBST($1[_VALUE]) ++ fi ++]) ++m4trace:gnulib/m4/extensions.m4:23: -1- AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl ++AC_BEFORE([$0], [AC_RUN_IFELSE])dnl ++ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ ++ AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) ++ if test "$MINIX" = yes; then ++ AC_DEFINE([_POSIX_SOURCE], [1], ++ [Define to 1 if you need to in order for `stat' and other ++ things to work.]) ++ AC_DEFINE([_POSIX_1_SOURCE], [2], ++ [Define to 2 if the system does not provide POSIX.1 features ++ except with this defined.]) ++ AC_DEFINE([_MINIX], [1], ++ [Define to 1 if on MINIX.]) ++ fi ++ ++ dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, ++ dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already ++ dnl provided. ++ case "$host_os" in ++ hpux*) ++ AC_DEFINE([_XOPEN_SOURCE], [500], ++ [Define to 500 only on HP-UX.]) ++ ;; ++ esac ++ ++ AH_VERBATIM([__EXTENSIONS__], ++[/* Enable extensions on AIX 3, Interix. */ ++#ifndef _ALL_SOURCE ++# undef _ALL_SOURCE ++#endif ++/* Enable GNU extensions on systems that have them. */ ++#ifndef _GNU_SOURCE ++# undef _GNU_SOURCE ++#endif ++/* Enable threading extensions on Solaris. */ ++#ifndef _POSIX_PTHREAD_SEMANTICS ++# undef _POSIX_PTHREAD_SEMANTICS ++#endif ++/* Enable extensions on HP NonStop. */ ++#ifndef _TANDEM_SOURCE ++# undef _TANDEM_SOURCE ++#endif ++/* Enable general extensions on Solaris. */ ++#ifndef __EXTENSIONS__ ++# undef __EXTENSIONS__ ++#endif ++]) ++ AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], ++ [ac_cv_safe_to_define___extensions__], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[ ++# define __EXTENSIONS__ 1 ++ ]AC_INCLUDES_DEFAULT])], ++ [ac_cv_safe_to_define___extensions__=yes], ++ [ac_cv_safe_to_define___extensions__=no])]) ++ test $ac_cv_safe_to_define___extensions__ = yes && ++ AC_DEFINE([__EXTENSIONS__]) ++ AC_DEFINE([_ALL_SOURCE]) ++ AC_DEFINE([_GNU_SOURCE]) ++ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) ++ AC_DEFINE([_TANDEM_SOURCE]) ++]) ++m4trace:gnulib/m4/extensions.m4:93: -1- AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], [ ++ dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. ++ dnl gnulib does not need it. But if it gets required by third-party macros ++ dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a ++ dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". ++ dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, ++ dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. ++ AC_REQUIRE([AC_GNU_SOURCE]) ++ ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++]) ++m4trace:gnulib/m4/fclose.m4:7: -1- AC_DEFUN([gl_FUNC_FCLOSE], [ ++]) ++m4trace:gnulib/m4/fclose.m4:11: -1- AC_DEFUN([gl_REPLACE_FCLOSE], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ if test $REPLACE_FCLOSE != 1; then ++ AC_LIBOBJ([fclose]) ++ fi ++ REPLACE_FCLOSE=1 ++]) ++m4trace:gnulib/m4/float_h.m4:7: -1- AC_DEFUN([gl_FLOAT_H], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ FLOAT_H= ++ case "$host_os" in ++ beos* | openbsd*) ++ FLOAT_H=float.h ++ gl_CHECK_NEXT_HEADERS([float.h]) ++ ;; ++ esac ++ AC_SUBST([FLOAT_H]) ++]) ++m4trace:gnulib/m4/fseeko.m4:7: -1- AC_DEFUN([gl_FUNC_FSEEKO], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) ++ ++ dnl Persuade glibc to declare fseeko(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko], ++ [ ++ AC_TRY_LINK([#include ], [fseeko (stdin, 0, 0);], ++ [gl_cv_func_fseeko=yes], [gl_cv_func_fseeko=no]) ++ ]) ++ if test $gl_cv_func_fseeko = no; then ++ HAVE_FSEEKO=0 ++ gl_REPLACE_FSEEKO ++ elif test $gl_cv_var_stdin_large_offset = no; then ++ gl_REPLACE_FSEEKO ++ fi ++]) ++m4trace:gnulib/m4/fseeko.m4:29: -1- AC_DEFUN([gl_REPLACE_FSEEKO], [ ++ AC_LIBOBJ([fseeko]) ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ REPLACE_FSEEKO=1 ++]) ++m4trace:gnulib/m4/getaddrinfo.m4:7: -1- AC_DEFUN([gl_GETADDRINFO], [ ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H ++ AC_REQUIRE([gl_HEADER_NETDB])dnl for HAVE_NETDB_H ++ AC_MSG_NOTICE([checking how to do getaddrinfo, freeaddrinfo and getnameinfo]) ++ GETADDRINFO_LIB= ++ gai_saved_LIBS="$LIBS" ++ ++ dnl Where is getaddrinfo()? ++ dnl - On Solaris, it is in libsocket. ++ dnl - On Haiku, it is in libnetwork. ++ dnl - On BeOS, it is in libnet. ++ dnl - On native Windows, it is in ws2_32.dll. ++ dnl - Otherwise it is in libc. ++ AC_SEARCH_LIBS([getaddrinfo], [socket network net], ++ [if test "$ac_cv_search_getaddrinfo" != "none required"; then ++ GETADDRINFO_LIB="$ac_cv_search_getaddrinfo" ++ fi]) ++ LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" ++ ++ AC_CACHE_CHECK([for getaddrinfo], [gl_cv_func_getaddrinfo], [ ++ AC_TRY_LINK([ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#include ++], [getaddrinfo("", "", NULL, NULL);], ++ [gl_cv_func_getaddrinfo=yes], ++ [gl_cv_func_getaddrinfo=no])]) ++ if test $gl_cv_func_getaddrinfo = no; then ++ AC_CACHE_CHECK([for getaddrinfo in ws2tcpip.h and -lws2_32], ++ gl_cv_w32_getaddrinfo, [ ++ gl_cv_w32_getaddrinfo=no ++ am_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ AC_TRY_LINK([ ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++#include ++], [getaddrinfo(NULL, NULL, NULL, NULL);], gl_cv_w32_getaddrinfo=yes) ++ LIBS="$am_save_LIBS" ++ ]) ++ if test "$gl_cv_w32_getaddrinfo" = "yes"; then ++ GETADDRINFO_LIB="-lws2_32" ++ LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" ++ else ++ AC_LIBOBJ([getaddrinfo]) ++ fi ++ fi ++ ++ # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an ++ # inline function declared in ws2tcpip.h, so we need to get that ++ # header included somehow. ++ AC_CACHE_CHECK([for gai_strerror (possibly via ws2tcpip.h)], ++ gl_cv_func_gai_strerror, [ ++ AC_TRY_LINK([ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++#include ++], [gai_strerror (NULL);], ++ [gl_cv_func_gai_strerror=yes], ++ [gl_cv_func_gai_strerror=no])]) ++ if test $gl_cv_func_gai_strerror = no; then ++ AC_LIBOBJ([gai_strerror]) ++ fi ++ ++ LIBS="$gai_saved_LIBS" ++ ++ gl_PREREQ_GETADDRINFO ++ ++ AC_SUBST([GETADDRINFO_LIB]) ++]) ++m4trace:gnulib/m4/getaddrinfo.m4:94: -1- AC_DEFUN([gl_PREREQ_GETADDRINFO], [ ++ AC_REQUIRE([gl_NETDB_H_DEFAULTS]) ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H ++ AC_REQUIRE([gl_HOSTENT]) dnl for HOSTENT_LIB ++ AC_REQUIRE([gl_SERVENT]) dnl for SERVENT_LIB ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([gl_SOCKET_FAMILIES]) ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ dnl Including sys/socket.h is wrong for Windows, but Windows does not ++ dnl have sa_len so the result is correct anyway. ++ AC_CHECK_MEMBERS([struct sockaddr.sa_len], , , [#include ]) ++ ++ AC_CHECK_HEADERS_ONCE([netinet/in.h]) ++ ++ AC_CHECK_DECLS([getaddrinfo, freeaddrinfo, gai_strerror, getnameinfo],,,[ ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++]) ++ if test $ac_cv_have_decl_getaddrinfo = no; then ++ HAVE_DECL_GETADDRINFO=0 ++ fi ++ if test $ac_cv_have_decl_freeaddrinfo = no; then ++ HAVE_DECL_FREEADDRINFO=0 ++ fi ++ if test $ac_cv_have_decl_gai_strerror = no; then ++ HAVE_DECL_GAI_STRERROR=0 ++ fi ++ if test $ac_cv_have_decl_getnameinfo = no; then ++ HAVE_DECL_GETNAMEINFO=0 ++ fi ++ ++ AC_CHECK_TYPES([struct addrinfo],,,[ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++]) ++ if test $ac_cv_type_struct_addrinfo = no; then ++ HAVE_STRUCT_ADDRINFO=0 ++ fi ++ ++ dnl Append $HOSTENT_LIB to GETADDRINFO_LIB, avoiding gratuitous duplicates. ++ case " $GETADDRINFO_LIB " in ++ *" $HOSTENT_LIB "*) ;; ++ *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;; ++ esac ++ ++ dnl Append $SERVENT_LIB to GETADDRINFO_LIB, avoiding gratuitous duplicates. ++ case " $GETADDRINFO_LIB " in ++ *" $SERVENT_LIB "*) ;; ++ *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;; ++ esac ++]) ++m4trace:gnulib/m4/getdelim.m4:11: -1- AC_DEFUN([gl_FUNC_GETDELIM], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ ++ dnl Persuade glibc to declare getdelim(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_REPLACE_FUNCS([getdelim]) ++ AC_CHECK_DECLS_ONCE([getdelim]) ++ ++ if test $ac_cv_func_getdelim = no; then ++ gl_PREREQ_GETDELIM ++ fi ++ ++ if test $ac_cv_have_decl_getdelim = no; then ++ HAVE_DECL_GETDELIM=0 ++ fi ++]) ++m4trace:gnulib/m4/getdelim.m4:31: -1- AC_DEFUN([gl_PREREQ_GETDELIM], [ ++ AC_CHECK_FUNCS([flockfile funlockfile]) ++ AC_CHECK_DECLS([getc_unlocked]) ++]) ++m4trace:gnulib/m4/gethostname.m4:7: -1- AC_DEFUN([gl_FUNC_GETHOSTNAME], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ gl_PREREQ_SYS_H_WINSOCK2 ++ AC_REPLACE_FUNCS([gethostname]) ++ if test $ac_cv_func_gethostname = no; then ++ HAVE_GETHOSTNAME=0 ++ gl_PREREQ_GETHOSTNAME ++ fi ++]) ++m4trace:gnulib/m4/gethostname.m4:19: -1- AC_DEFUN([gl_PREREQ_GETHOSTNAME], [ ++ AC_CHECK_FUNCS([uname]) ++]) ++m4trace:gnulib/m4/getline.m4:15: -1- AC_DEFUN([gl_FUNC_GETLINE], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ ++ dnl Persuade glibc to declare getline(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_CHECK_DECLS_ONCE([getline]) ++ ++ gl_getline_needs_run_time_check=no ++ AC_CHECK_FUNC([getline], ++ dnl Found it in some library. Verify that it works. ++ gl_getline_needs_run_time_check=yes, ++ am_cv_func_working_getline=no) ++ if test $gl_getline_needs_run_time_check = yes; then ++ AC_CACHE_CHECK([for working getline function], [am_cv_func_working_getline], ++ [echo fooN |tr -d '\012'|tr N '\012' > conftest.data ++ AC_TRY_RUN([ ++# include ++# include ++# include ++ int main () ++ { /* Based on a test program from Karl Heuer. */ ++ char *line = NULL; ++ size_t siz = 0; ++ int len; ++ FILE *in = fopen ("./conftest.data", "r"); ++ if (!in) ++ return 1; ++ len = getline (&line, &siz, in); ++ exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); ++ } ++ ], am_cv_func_working_getline=yes dnl The library version works. ++ , am_cv_func_working_getline=no dnl The library version does NOT work. ++ , dnl We're cross compiling. Assume it works on glibc2 systems. ++ [AC_EGREP_CPP([Lucky GNU user], ++ [ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ >= 2) ++ Lucky GNU user ++ #endif ++#endif ++ ], ++ [am_cv_func_working_getline=yes], ++ [am_cv_func_working_getline=no])] ++ )]) ++ fi ++ ++ if test $ac_cv_have_decl_getline = no; then ++ HAVE_DECL_GETLINE=0 ++ fi ++ ++ if test $am_cv_func_working_getline = no; then ++ REPLACE_GETLINE=1 ++ AC_LIBOBJ([getline]) ++ ++ gl_PREREQ_GETLINE ++ fi ++]) ++m4trace:gnulib/m4/getline.m4:77: -1- AC_DEFUN([gl_PREREQ_GETLINE], [ ++ gl_FUNC_GETDELIM ++]) ++m4trace:gnulib/m4/getpagesize.m4:7: -1- AC_DEFUN([gl_FUNC_GETPAGESIZE], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CHECK_FUNCS([getpagesize]) ++ if test $ac_cv_func_getpagesize = no; then ++ HAVE_GETPAGESIZE=0 ++ AC_CHECK_HEADERS([OS.h]) ++ if test $ac_cv_header_OS_h = yes; then ++ HAVE_OS_H=1 ++ fi ++ AC_CHECK_HEADERS([sys/param.h]) ++ if test $ac_cv_header_sys_param_h = yes; then ++ HAVE_SYS_PARAM_H=1 ++ fi ++ fi ++ case "$host_os" in ++ mingw*) ++ REPLACE_GETPAGESIZE=1 ++ AC_LIBOBJ([getpagesize]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/getpass.m4:8: -1- AC_DEFUN([gl_FUNC_GETPASS], [ ++ AC_REPLACE_FUNCS([getpass]) ++ AC_CHECK_DECLS_ONCE([getpass]) ++ if test $ac_cv_func_getpass = no; then ++ gl_PREREQ_GETPASS ++ fi ++]) ++m4trace:gnulib/m4/getpass.m4:19: -1- AC_DEFUN([gl_FUNC_GETPASS_GNU], [ ++ AC_CHECK_DECLS_ONCE([getpass]) ++ dnl TODO: Detect when GNU getpass() is already found in glibc. ++ AC_LIBOBJ([getpass]) ++ gl_PREREQ_GETPASS ++ dnl We must choose a different name for our function, since on ELF systems ++ dnl an unusable getpass() in libc.so would override our getpass() if it is ++ dnl compiled into a shared library. ++ AC_DEFINE([getpass], [gnu_getpass], ++ [Define to a replacement function name for getpass().]) ++]) ++m4trace:gnulib/m4/getpass.m4:33: -1- AC_DEFUN([gl_PREREQ_GETPASS], [ ++ AC_CHECK_HEADERS_ONCE([stdio_ext.h termios.h]) ++ AC_CHECK_FUNCS_ONCE([__fsetlocking tcgetattr tcsetattr]) ++ AC_CHECK_DECLS([__fsetlocking],,, ++ [#include ++ #if HAVE_STDIO_EXT_H ++ #include ++ #endif]) ++ AC_CHECK_DECLS_ONCE([fflush_unlocked]) ++ AC_CHECK_DECLS_ONCE([flockfile]) ++ AC_CHECK_DECLS_ONCE([fputs_unlocked]) ++ AC_CHECK_DECLS_ONCE([funlockfile]) ++ AC_CHECK_DECLS_ONCE([putc_unlocked]) ++ : ++]) ++m4trace:gnulib/m4/gettimeofday.m4:10: -1- AC_DEFUN([gl_FUNC_GETTIMEOFDAY], [ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H]) ++ AC_CHECK_FUNCS_ONCE([gettimeofday]) ++ ++ AC_CACHE_CHECK([for gettimeofday with POSIX signature], ++ [gl_cv_func_gettimeofday_posix_signature], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ struct timeval c; ++ ]], ++ [[ ++ int (*f) (struct timeval *restrict, void *restrict) = gettimeofday; ++ int x = f (&c, 0); ++ return !(x | c.tv_sec | c.tv_usec); ++ ]])], ++ [gl_cv_func_gettimeofday_posix_signature=yes], ++ [gl_cv_func_gettimeofday_posix_signature=no])]) ++ ++ gl_FUNC_GETTIMEOFDAY_CLOBBER ++ ++ if test $gl_cv_func_gettimeofday_posix_signature != yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ SYS_TIME_H=sys/time.h ++ if test $gl_cv_func_gettimeofday_clobber != yes; then ++ AC_LIBOBJ([gettimeofday]) ++ gl_PREREQ_GETTIMEOFDAY ++ fi ++ fi ++]) ++m4trace:gnulib/m4/gettimeofday.m4:51: -1- AC_DEFUN([gl_FUNC_GETTIMEOFDAY_CLOBBER], [ ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H]) ++ ++ AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer], ++ [gl_cv_func_gettimeofday_clobber], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #include ++ #include ++ #include ++ ]], ++ [[ ++ time_t t = 0; ++ struct tm *lt; ++ struct tm saved_lt; ++ struct timeval tv; ++ lt = localtime (&t); ++ saved_lt = *lt; ++ gettimeofday (&tv, NULL); ++ return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ++ ]])], ++ [gl_cv_func_gettimeofday_clobber=no], ++ [gl_cv_func_gettimeofday_clobber=yes], ++ dnl When crosscompiling, assume it is broken. ++ [gl_cv_func_gettimeofday_clobber=yes])]) ++ ++ if test $gl_cv_func_gettimeofday_clobber = yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ SYS_TIME_H=sys/time.h ++ gl_GETTIMEOFDAY_REPLACE_LOCALTIME ++ AC_DEFINE([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [1], ++ [Define if gettimeofday clobbers the localtime buffer.]) ++ fi ++]) ++m4trace:gnulib/m4/gettimeofday.m4:88: -1- AC_DEFUN([gl_GETTIMEOFDAY_REPLACE_LOCALTIME], [ ++ AC_LIBOBJ([gettimeofday]) ++ gl_PREREQ_GETTIMEOFDAY ++ AC_DEFINE([gmtime], [rpl_gmtime], ++ [Define to rpl_gmtime if the replacement function should be used.]) ++ AC_DEFINE([localtime], [rpl_localtime], ++ [Define to rpl_localtime if the replacement function should be used.]) ++]) ++m4trace:gnulib/m4/gettimeofday.m4:98: -1- AC_DEFUN([gl_PREREQ_GETTIMEOFDAY], [ ++ AC_CHECK_HEADERS([sys/timeb.h]) ++ AC_CHECK_FUNCS([_ftime]) ++]) ++m4trace:gnulib/m4/gnulib-common.m4:9: -1- AC_DEFUN([gl_COMMON], [ ++ dnl Use AC_REQUIRE here, so that the code is expanded once only. ++ AC_REQUIRE([gl_00GNULIB]) ++ AC_REQUIRE([gl_COMMON_BODY]) ++]) ++m4trace:gnulib/m4/gnulib-common.m4:14: -1- AC_DEFUN([gl_COMMON_BODY], [ ++ AH_VERBATIM([isoc99_inline], ++[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports ++ the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of ++ earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. ++ __APPLE__ && __MACH__ test for MacOS X. ++ __APPLE_CC__ tests for the Apple compiler and its version. ++ __STDC_VERSION__ tests for the C99 mode. */ ++#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ ++# define __GNUC_STDC_INLINE__ 1 ++#endif]) ++ AH_VERBATIM([unused_parameter], ++[/* Define as a marker that can be attached to function parameter declarations ++ for parameters that are not used. This helps to reduce warnings, such as ++ from GCC -Wunused-parameter. */ ++#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) ++# define _UNUSED_PARAMETER_ __attribute__ ((__unused__)) ++#else ++# define _UNUSED_PARAMETER_ ++#endif ++]) ++]) ++m4trace:gnulib/m4/gnulib-common.m4:39: -1- AC_DEFUN([gl_MODULE_INDICATOR], [ ++ AC_DEFINE([GNULIB_]translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1], ++ [Define to 1 when using the gnulib module ]$1[.]) ++]) ++m4trace:gnulib/m4/gnulib-common.m4:66: -1- AC_DEFUN([AC_C_RESTRICT], [AC_CACHE_CHECK([for C/C++ restrict keyword], [ac_cv_c_restrict], ++ [ac_cv_c_restrict=no ++ # The order here caters to the fact that C++ does not require restrict. ++ for ac_kw in __restrict __restrict__ _Restrict restrict; do ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM( ++ [[typedef int * int_ptr; ++ int foo (int_ptr $ac_kw ip) { ++ return ip[0]; ++ }]], ++ [[int s[1]; ++ int * $ac_kw t = s; ++ t[0] = 0; ++ return foo(t)]])], ++ [ac_cv_c_restrict=$ac_kw]) ++ test "$ac_cv_c_restrict" != no && break ++ done ++ ]) ++ AH_VERBATIM([restrict], ++[/* Define to the equivalent of the C99 'restrict' keyword, or to ++ nothing if this is not supported. Do not define if restrict is ++ supported directly. */ ++#undef restrict ++/* Work around a bug in Sun C++: it does not support _Restrict, even ++ though the corresponding Sun C compiler does, which causes ++ "#define restrict _Restrict" in the previous line. Perhaps some future ++ version of Sun C++ will work with _Restrict; if so, it'll probably ++ define __RESTRICT, just as Sun C does. */ ++#if defined __SUNPRO_CC && !defined __RESTRICT ++# define _Restrict ++#endif]) ++ case $ac_cv_c_restrict in ++ restrict) ;; ++ no) AC_DEFINE([restrict], []) ;; ++ *) AC_DEFINE_UNQUOTED([restrict], [$ac_cv_c_restrict]) ;; ++ esac ++]) ++m4trace:gnulib/m4/gnulib-common.m4:108: -1- AC_DEFUN([gl_BIGENDIAN], [ ++ AC_C_BIGENDIAN ++]) ++m4trace:gnulib/m4/gnulib-common.m4:118: -1- AC_DEFUN([gl_CACHE_VAL_SILENT], [ ++ saved_as_echo_n="$as_echo_n" ++ as_echo_n=':' ++ AC_CACHE_VAL([$1], [$2]) ++ as_echo_n="$saved_as_echo_n" ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:21: -1- AC_DEFUN([gl_EARLY], [ ++ m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace ++ m4_pattern_allow([^gl_ES$])dnl a valid locale name ++ m4_pattern_allow([^gl_LIBOBJS$])dnl a variable ++ m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable ++ AC_REQUIRE([AC_PROG_RANLIB]) ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ AC_REQUIRE([AC_FUNC_FSEEKO]) ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:34: -1- AC_DEFUN([gl_INIT], [ ++ AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) ++ gl_cond_libtool=true ++ m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) ++ m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) ++ m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) ++ m4_pushdef([gl_LIBSOURCES_LIST], []) ++ m4_pushdef([gl_LIBSOURCES_DIR], []) ++ gl_COMMON ++ gl_source_base='gnulib/lib' ++changequote(,)dnl ++LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'` ++changequote([, ])dnl ++AC_SUBST([LTALLOCA]) ++ gl_FUNC_ALLOCA ++ gl_HEADER_ARPA_INET ++ AC_PROG_MKDIR_P ++ gl_FUNC_CLOSE ++ gl_UNISTD_MODULE_INDICATOR([close]) ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([connect]) ++ fi ++ gl_SYS_SOCKET_MODULE_INDICATOR([connect]) ++ gl_HEADER_ERRNO_H ++ gl_FUNC_FCLOSE ++ gl_STDIO_MODULE_INDICATOR([fclose]) ++ gl_FLOAT_H ++ gl_FUNC_FSEEKO ++ gl_STDIO_MODULE_INDICATOR([fseeko]) ++ gl_GETADDRINFO ++ gl_NETDB_MODULE_INDICATOR([getaddrinfo]) ++ gl_FUNC_GETDELIM ++ gl_STDIO_MODULE_INDICATOR([getdelim]) ++ gl_FUNC_GETHOSTNAME ++ gl_UNISTD_MODULE_INDICATOR([gethostname]) ++ gl_FUNC_GETLINE ++ gl_STDIO_MODULE_INDICATOR([getline]) ++ gl_FUNC_GETPAGESIZE ++ gl_UNISTD_MODULE_INDICATOR([getpagesize]) ++ gl_FUNC_GETPASS ++ dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac. ++ AM_GNU_GETTEXT_VERSION([0.17]) ++ AC_SUBST([LIBINTL]) ++ AC_SUBST([LTLIBINTL]) ++ gl_FUNC_GETTIMEOFDAY ++ # Autoconf 2.61a.99 and earlier don't support linking a file only ++ # in VPATH builds. But since GNUmakefile is for maintainer use ++ # only, it does not matter if we skip the link with older autoconf. ++ # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH ++ # builds, so use a shell variable to bypass this. ++ GNUmakefile=GNUmakefile ++ m4_if(m4_version_compare([2.61a.100], ++ m4_defn([m4_PACKAGE_VERSION])), [1], [], ++ [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], ++ [GNUmakefile=$GNUmakefile])]) ++ gl_HOSTENT ++ gl_INET_NTOP ++ gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) ++ gl_INET_PTON ++ gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([ioctl]) ++ gl_REPLACE_SYS_IOCTL_H ++ fi ++ gl_SYS_IOCTL_MODULE_INDICATOR([ioctl]) ++ gl_MODULE_INDICATOR([ioctl]) ++ gl_FUNC_LSEEK ++ gl_UNISTD_MODULE_INDICATOR([lseek]) ++ gl_FUNC_LSTAT ++ gl_SYS_STAT_MODULE_INDICATOR([lstat]) ++ gl_FUNC_MALLOC_POSIX ++ gl_STDLIB_MODULE_INDICATOR([malloc-posix]) ++ gl_FUNC_MEMCHR ++ gl_STRING_MODULE_INDICATOR([memchr]) ++ gl_FUNC_MKSTEMP ++ gl_STDLIB_MODULE_INDICATOR([mkstemp]) ++ gl_MULTIARCH ++ gl_HEADER_NETDB ++ gl_HEADER_NETINET_IN ++ AC_PROG_MKDIR_P ++ gl_FUNC_PERROR ++ gl_STRING_MODULE_INDICATOR([perror]) ++ gl_PHYSMEM ++ gl_FUNC_POLL ++ gl_POSIX_SHELL ++ gl_FUNC_RANDOM_R ++ gl_STDLIB_MODULE_INDICATOR([random_r]) ++ gl_FUNC_REALLOC_POSIX ++ gl_STDLIB_MODULE_INDICATOR([realloc-posix]) ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([recv]) ++ fi ++ gl_SYS_SOCKET_MODULE_INDICATOR([recv]) ++ gl_FUNC_SELECT ++ gl_SYS_SELECT_MODULE_INDICATOR([select]) ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([send]) ++ fi ++ gl_SYS_SOCKET_MODULE_INDICATOR([send]) ++ gl_SERVENT ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([setsockopt]) ++ fi ++ gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) ++ gl_SIZE_MAX ++ gl_FUNC_SNPRINTF ++ gl_STDIO_MODULE_INDICATOR([snprintf]) ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([socket]) ++ fi ++ gl_SYS_SOCKET_MODULE_INDICATOR([socket]) ++ gl_TYPE_SOCKLEN_T ++ AM_STDBOOL_H ++ gl_STDINT_H ++ gl_STDIO_H ++ gl_STDLIB_H ++ gl_FUNC_STPCPY ++ gl_STRING_MODULE_INDICATOR([stpcpy]) ++ gl_FUNC_STRDUP_POSIX ++ gl_STRING_MODULE_INDICATOR([strdup]) ++ gl_FUNC_STRERROR ++ gl_STRING_MODULE_INDICATOR([strerror]) ++ gl_HEADER_STRING_H ++ gl_FUNC_STRNDUP ++ gl_STRING_MODULE_INDICATOR([strndup]) ++ gl_FUNC_STRNLEN ++ gl_STRING_MODULE_INDICATOR([strnlen]) ++ gl_FUNC_STRSEP ++ gl_STRING_MODULE_INDICATOR([strsep]) ++ gl_SYS_IOCTL_H ++ AC_PROG_MKDIR_P ++ gl_HEADER_SYS_SELECT ++ AC_PROG_MKDIR_P ++ gl_HEADER_SYS_SOCKET ++ AC_PROG_MKDIR_P ++ gl_HEADER_SYS_STAT_H ++ AC_PROG_MKDIR_P ++ gl_HEADER_SYS_TIME_H ++ AC_PROG_MKDIR_P ++ gl_FUNC_GEN_TEMPNAME ++ gl_HEADER_TIME_H ++ gl_TIME_R ++ gl_UNISTD_H ++ gl_FUNC_VASNPRINTF ++ gl_FUNC_VASPRINTF ++ gl_STDIO_MODULE_INDICATOR([vasprintf]) ++ m4_ifdef([AM_XGETTEXT_OPTION], ++ [AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format]) ++ AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) ++ gl_WCHAR_H ++ gl_XSIZE ++ m4_ifval(gl_LIBSOURCES_LIST, [ ++ m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || ++ for gl_file in ]gl_LIBSOURCES_LIST[ ; do ++ if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then ++ echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 ++ exit 1 ++ fi ++ done])dnl ++ m4_if(m4_sysval, [0], [], ++ [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ++ ]) ++ m4_popdef([gl_LIBSOURCES_DIR]) ++ m4_popdef([gl_LIBSOURCES_LIST]) ++ m4_popdef([AC_LIBSOURCES]) ++ m4_popdef([AC_REPLACE_FUNCS]) ++ m4_popdef([AC_LIBOBJ]) ++ AC_CONFIG_COMMANDS_PRE([ ++ gl_libobjs= ++ gl_ltlibobjs= ++ if test -n "$gl_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do ++ gl_libobjs="$gl_libobjs $i.$ac_objext" ++ gl_ltlibobjs="$gl_ltlibobjs $i.lo" ++ done ++ fi ++ AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) ++ AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) ++ ]) ++ gltests_libdeps= ++ gltests_ltlibdeps= ++ m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) ++ m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) ++ m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) ++ m4_pushdef([gltests_LIBSOURCES_LIST], []) ++ m4_pushdef([gltests_LIBSOURCES_DIR], []) ++ gl_COMMON ++ gl_source_base='gnulib/tests' ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([accept]) ++ fi ++ gl_SYS_SOCKET_MODULE_INDICATOR([accept]) ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([bind]) ++ fi ++ gl_SYS_SOCKET_MODULE_INDICATOR([bind]) ++ gl_FUNC_UNGETC_WORKS ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([listen]) ++ fi ++ gl_SYS_SOCKET_MODULE_INDICATOR([listen]) ++ AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h]) ++ AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h]) ++ gl_SOCKETS ++ gt_TYPE_WCHAR_T ++ gt_TYPE_WINT_T ++ AC_CHECK_FUNCS([shutdown]) ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ AC_SUBST([abs_aux_dir]) ++ m4_ifval(gltests_LIBSOURCES_LIST, [ ++ m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || ++ for gl_file in ]gltests_LIBSOURCES_LIST[ ; do ++ if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then ++ echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 ++ exit 1 ++ fi ++ done])dnl ++ m4_if(m4_sysval, [0], [], ++ [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ++ ]) ++ m4_popdef([gltests_LIBSOURCES_DIR]) ++ m4_popdef([gltests_LIBSOURCES_LIST]) ++ m4_popdef([AC_LIBSOURCES]) ++ m4_popdef([AC_REPLACE_FUNCS]) ++ m4_popdef([AC_LIBOBJ]) ++ AC_CONFIG_COMMANDS_PRE([ ++ gltests_libobjs= ++ gltests_ltlibobjs= ++ if test -n "$gltests_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do ++ gltests_libobjs="$gltests_libobjs $i.$ac_objext" ++ gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" ++ done ++ fi ++ AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) ++ AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) ++ ]) ++ LIBTESTS_LIBDEPS="$gltests_libdeps" ++ AC_SUBST([LIBTESTS_LIBDEPS]) ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:291: -1- AC_DEFUN([gl_LIBOBJ], [ ++ AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl ++ gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:298: -1- AC_DEFUN([gl_REPLACE_FUNCS], [ ++ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl ++ AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:307: -1- AC_DEFUN([gl_LIBSOURCES], [ ++ m4_foreach([_gl_NAME], [$1], [ ++ m4_if(_gl_NAME, [alloca.c], [], [ ++ m4_define([gl_LIBSOURCES_DIR], [gnulib/lib]) ++ m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:318: -1- AC_DEFUN([gltests_LIBOBJ], [ ++ AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl ++ gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:325: -1- AC_DEFUN([gltests_REPLACE_FUNCS], [ ++ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl ++ AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:334: -1- AC_DEFUN([gltests_LIBSOURCES], [ ++ m4_foreach([_gl_NAME], [$1], [ ++ m4_if(_gl_NAME, [alloca.c], [], [ ++ m4_define([gltests_LIBSOURCES_DIR], [gnulib/tests]) ++ m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/gnulib-comp.m4:345: -1- AC_DEFUN([gl_FILE_LIST], [ ++ build-aux/config.rpath ++ build-aux/gitlog-to-changelog ++ build-aux/link-warning.h ++ build-aux/mktempd ++ build-aux/useless-if-before-free ++ build-aux/vc-list-files ++ lib/alignof.h ++ lib/alloca.c ++ lib/alloca.in.h ++ lib/arpa_inet.in.h ++ lib/asnprintf.c ++ lib/asprintf.c ++ lib/c-ctype.c ++ lib/c-ctype.h ++ lib/close-hook.c ++ lib/close-hook.h ++ lib/close.c ++ lib/connect.c ++ lib/errno.in.h ++ lib/fclose.c ++ lib/float+.h ++ lib/float.in.h ++ lib/fseeko.c ++ lib/gai_strerror.c ++ lib/getaddrinfo.c ++ lib/getdelim.c ++ lib/gethostname.c ++ lib/getline.c ++ lib/getpagesize.c ++ lib/getpass.c ++ lib/getpass.h ++ lib/gettext.h ++ lib/gettimeofday.c ++ lib/inet_ntop.c ++ lib/inet_pton.c ++ lib/intprops.h ++ lib/ioctl.c ++ lib/lseek.c ++ lib/lstat.c ++ lib/malloc.c ++ lib/memchr.c ++ lib/memchr.valgrind ++ lib/mkstemp.c ++ lib/netdb.in.h ++ lib/netinet_in.in.h ++ lib/perror.c ++ lib/physmem.c ++ lib/physmem.h ++ lib/poll.c ++ lib/poll.in.h ++ lib/printf-args.c ++ lib/printf-args.h ++ lib/printf-parse.c ++ lib/printf-parse.h ++ lib/random_r.c ++ lib/realloc.c ++ lib/recv.c ++ lib/select.c ++ lib/send.c ++ lib/setsockopt.c ++ lib/size_max.h ++ lib/snprintf.c ++ lib/socket.c ++ lib/stdbool.in.h ++ lib/stdint.in.h ++ lib/stdio-impl.h ++ lib/stdio-write.c ++ lib/stdio.in.h ++ lib/stdlib.in.h ++ lib/stpcpy.c ++ lib/strdup.c ++ lib/strerror.c ++ lib/string.in.h ++ lib/strndup.c ++ lib/strnlen.c ++ lib/strsep.c ++ lib/sys_ioctl.in.h ++ lib/sys_select.in.h ++ lib/sys_socket.in.h ++ lib/sys_stat.in.h ++ lib/sys_time.in.h ++ lib/tempname.c ++ lib/tempname.h ++ lib/time.in.h ++ lib/time_r.c ++ lib/unistd.in.h ++ lib/vasnprintf.c ++ lib/vasnprintf.h ++ lib/vasprintf.c ++ lib/verify.h ++ lib/w32sock.h ++ lib/wchar.in.h ++ lib/xsize.h ++ m4/00gnulib.m4 ++ m4/alloca.m4 ++ m4/arpa_inet_h.m4 ++ m4/close.m4 ++ m4/codeset.m4 ++ m4/errno_h.m4 ++ m4/extensions.m4 ++ m4/fclose.m4 ++ m4/float_h.m4 ++ m4/fseeko.m4 ++ m4/getaddrinfo.m4 ++ m4/getdelim.m4 ++ m4/gethostname.m4 ++ m4/getline.m4 ++ m4/getpagesize.m4 ++ m4/getpass.m4 ++ m4/gettext.m4 ++ m4/gettimeofday.m4 ++ m4/glibc2.m4 ++ m4/glibc21.m4 ++ m4/gnulib-common.m4 ++ m4/hostent.m4 ++ m4/iconv.m4 ++ m4/include_next.m4 ++ m4/inet_ntop.m4 ++ m4/inet_pton.m4 ++ m4/intdiv0.m4 ++ m4/intl.m4 ++ m4/intldir.m4 ++ m4/intlmacosx.m4 ++ m4/intmax.m4 ++ m4/intmax_t.m4 ++ m4/inttypes-pri.m4 ++ m4/inttypes_h.m4 ++ m4/lcmessage.m4 ++ m4/lib-ld.m4 ++ m4/lib-link.m4 ++ m4/lib-prefix.m4 ++ m4/lock.m4 ++ m4/longlong.m4 ++ m4/lseek.m4 ++ m4/lstat.m4 ++ m4/malloc.m4 ++ m4/memchr.m4 ++ m4/mkstemp.m4 ++ m4/mmap-anon.m4 ++ m4/multiarch.m4 ++ m4/netdb_h.m4 ++ m4/netinet_in_h.m4 ++ m4/nls.m4 ++ m4/onceonly.m4 ++ m4/perror.m4 ++ m4/physmem.m4 ++ m4/po.m4 ++ m4/poll.m4 ++ m4/posix-shell.m4 ++ m4/printf-posix.m4 ++ m4/printf.m4 ++ m4/progtest.m4 ++ m4/random_r.m4 ++ m4/realloc.m4 ++ m4/select.m4 ++ m4/servent.m4 ++ m4/size_max.m4 ++ m4/snprintf.m4 ++ m4/sockets.m4 ++ m4/socklen.m4 ++ m4/sockpfaf.m4 ++ m4/stdbool.m4 ++ m4/stdint.m4 ++ m4/stdint_h.m4 ++ m4/stdio_h.m4 ++ m4/stdlib_h.m4 ++ m4/stpcpy.m4 ++ m4/strdup.m4 ++ m4/strerror.m4 ++ m4/string_h.m4 ++ m4/strndup.m4 ++ m4/strnlen.m4 ++ m4/strsep.m4 ++ m4/sys_ioctl_h.m4 ++ m4/sys_select_h.m4 ++ m4/sys_socket_h.m4 ++ m4/sys_stat_h.m4 ++ m4/sys_time_h.m4 ++ m4/tempname.m4 ++ m4/threadlib.m4 ++ m4/time_h.m4 ++ m4/time_r.m4 ++ m4/uintmax_t.m4 ++ m4/ungetc.m4 ++ m4/unistd_h.m4 ++ m4/vasnprintf.m4 ++ m4/vasprintf.m4 ++ m4/visibility.m4 ++ m4/wchar.m4 ++ m4/wchar_t.m4 ++ m4/wint_t.m4 ++ m4/xsize.m4 ++ tests/test-alignof.c ++ tests/test-alloca-opt.c ++ tests/test-arpa_inet.c ++ tests/test-c-ctype.c ++ tests/test-errno.c ++ tests/test-fseeko.c ++ tests/test-fseeko.sh ++ tests/test-fseeko2.sh ++ tests/test-getaddrinfo.c ++ tests/test-getdelim.c ++ tests/test-gethostname.c ++ tests/test-getline.c ++ tests/test-gettimeofday.c ++ tests/test-lseek.c ++ tests/test-lseek.sh ++ tests/test-lstat.c ++ tests/test-memchr.c ++ tests/test-netdb.c ++ tests/test-netinet_in.c ++ tests/test-perror.c ++ tests/test-perror.sh ++ tests/test-poll.c ++ tests/test-random_r.c ++ tests/test-select-fd.c ++ tests/test-select-in.sh ++ tests/test-select-out.sh ++ tests/test-select-stdin.c ++ tests/test-select.c ++ tests/test-snprintf.c ++ tests/test-sockets.c ++ tests/test-stdbool.c ++ tests/test-stdint.c ++ tests/test-stdio.c ++ tests/test-stdlib.c ++ tests/test-strerror.c ++ tests/test-string.c ++ tests/test-sys_select.c ++ tests/test-sys_socket.c ++ tests/test-sys_stat.c ++ tests/test-sys_time.c ++ tests/test-time.c ++ tests/test-unistd.c ++ tests/test-vasnprintf.c ++ tests/test-vasprintf.c ++ tests/test-vc-list-files-cvs.sh ++ tests/test-vc-list-files-git.sh ++ tests/test-wchar.c ++ tests/zerosize-ptr.h ++ tests=lib/accept.c ++ tests=lib/bind.c ++ tests=lib/listen.c ++ tests=lib/sockets.c ++ tests=lib/sockets.h ++ tests=lib/w32sock.h ++ top/GNUmakefile ++ top/maint.mk ++]) ++m4trace:gnulib/m4/hostent.m4:7: -1- AC_DEFUN([gl_HOSTENT], [ ++ dnl Where are gethostent(), sethostent(), endhostent(), gethostbyname(), ++ dnl gethostbyaddr() defined? ++ dnl - On Solaris, they are in libnsl. Ignore libxnet. ++ dnl - On Haiku, they are in libnetwork. ++ dnl - On BeOS, they are in libnet. ++ dnl - On native Windows, they are in ws2_32.dll. ++ dnl - Otherwise they are in libc. ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H ++ HOSTENT_LIB= ++ gl_saved_libs="$LIBS" ++ AC_SEARCH_LIBS([gethostbyname], [nsl network net], ++ [if test "$ac_cv_search_gethostbyname" != "none required"; then ++ HOSTENT_LIB="$ac_cv_search_gethostbyname" ++ fi]) ++ LIBS="$gl_saved_libs" ++ if test -z "$HOSTENT_LIB"; then ++ AC_CHECK_FUNCS([gethostbyname], , [ ++ AC_CACHE_CHECK([for gethostbyname in winsock2.h and -lws2_32], ++ [gl_cv_w32_gethostbyname], ++ [gl_cv_w32_gethostbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ AC_TRY_LINK([ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++], [gethostbyname(NULL);], [gl_cv_w32_gethostbyname=yes]) ++ LIBS="$gl_save_LIBS" ++ ]) ++ if test "$gl_cv_w32_gethostbyname" = "yes"; then ++ HOSTENT_LIB="-lws2_32" ++ fi ++ ]) ++ fi ++ AC_SUBST([HOSTENT_LIB]) ++]) ++m4trace:gnulib/m4/include_next.m4:28: -1- AC_DEFUN([gl_INCLUDE_NEXT], [ ++ AC_LANG_PREPROC_REQUIRE() ++ AC_CACHE_CHECK([whether the preprocessor supports include_next], ++ [gl_cv_have_include_next], ++ [rm -rf conftestd1a conftestd1b conftestd2 ++ mkdir conftestd1a conftestd1b conftestd2 ++ dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on ++ dnl AIX 6.1 support include_next when used as first preprocessor directive ++ dnl in a file, but not when preceded by another include directive. Check ++ dnl for this bug by including . ++ dnl Additionally, with this same compiler, include_next is a no-op when ++ dnl used in a header file that was included by specifying its absolute ++ dnl file name. Despite these two bugs, include_next is used in the ++ dnl compiler's . By virtue of the second bug, we need to use ++ dnl include_next as well in this case. ++ cat < conftestd1a/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd1b/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd2/conftest.h ++#ifndef DEFINED_IN_CONFTESTD1 ++#error "include_next test doesn't work" ++#endif ++#define DEFINED_IN_CONFTESTD2 ++EOF ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" ++ AC_COMPILE_IFELSE([#include ], ++ [gl_cv_have_include_next=yes], ++ [CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" ++ AC_COMPILE_IFELSE([#include ], ++ [gl_cv_have_include_next=buggy], ++ [gl_cv_have_include_next=no]) ++ ]) ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ rm -rf conftestd1a conftestd1b conftestd2 ++ ]) ++ PRAGMA_SYSTEM_HEADER= ++ if test $gl_cv_have_include_next = yes; then ++ INCLUDE_NEXT=include_next ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ if test -n "$GCC"; then ++ PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' ++ fi ++ else ++ if test $gl_cv_have_include_next = buggy; then ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ else ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include ++ fi ++ fi ++ AC_SUBST([INCLUDE_NEXT]) ++ AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) ++ AC_SUBST([PRAGMA_SYSTEM_HEADER]) ++]) ++m4trace:gnulib/m4/include_next.m4:124: -1- AC_DEFUN([gl_CHECK_NEXT_HEADERS], [ ++ AC_REQUIRE([gl_INCLUDE_NEXT]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CHECK_HEADERS_ONCE([$1]) ++ ++ m4_foreach_w([gl_HEADER_NAME], [$1], ++ [AS_VAR_PUSHDEF([gl_next_header], ++ [gl_cv_next_]m4_defn([gl_HEADER_NAME])) ++ if test $gl_cv_have_include_next = yes; then ++ AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) ++ else ++ AC_CACHE_CHECK( ++ [absolute name of <]m4_defn([gl_HEADER_NAME])[>], ++ m4_defn([gl_next_header]), ++ [AS_VAR_PUSHDEF([gl_header_exists], ++ [ac_cv_header_]m4_defn([gl_HEADER_NAME])) ++ if test AS_VAR_GET(gl_header_exists) = yes; then ++ AC_LANG_CONFTEST( ++ [AC_LANG_SOURCE( ++ [[#include <]]m4_dquote(m4_defn([gl_HEADER_NAME]))[[>]] ++ )]) ++ dnl AIX "xlc -E" and "cc -E" omit #line directives for header files ++ dnl that contain only a #include of other header files and no ++ dnl non-comment tokens of their own. This leads to a failure to ++ dnl detect the absolute name of , , ++ dnl and others. The workaround is to force preservation of comments ++ dnl through option -C. This ensures all necessary #line directives ++ dnl are present. GCC supports option -C as well. ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ dnl eval is necessary to expand gl_absname_cpp. ++ dnl Ultrix and Pyramid sh refuse to redirect output of eval, ++ dnl so use subshell. ++ AS_VAR_SET([gl_next_header], ++ ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | ++ sed -n '\#/]m4_defn([gl_HEADER_NAME])[#{ ++ s#.*"\(.*/]m4_defn([gl_HEADER_NAME])[\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"']) ++ else ++ AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) ++ fi ++ AS_VAR_POPDEF([gl_header_exists])]) ++ fi ++ AC_SUBST( ++ AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), ++ [AS_VAR_GET([gl_next_header])]) ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'gl_HEADER_NAME'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=AS_VAR_GET([gl_next_header]) ++ fi ++ AC_SUBST( ++ AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), ++ [$gl_next_as_first_directive]) ++ AS_VAR_POPDEF([gl_next_header])]) ++]) ++m4trace:gnulib/m4/inet_ntop.m4:7: -1- AC_DEFUN([gl_INET_NTOP], [ ++ dnl Persuade Solaris to declare inet_ntop. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ ++ gl_REPLACE_ARPA_INET_H ++ ++ dnl The AC_SEARCH_LIBS call is a hack to persuade the Solaris 8 linker to ++ dnl find inet_ntop. ++ dnl ++ dnl It is the responsibility of gl_INET_NTOP's caller to arrange for ++ dnl -lnsl if it is needed. Normally -lnsl is not needed on Solaris 8, ++ dnl since inet_ntop is needed only by getaddrinfo, and getaddrinfo ++ dnl isn't built on Solaris 8. ++ gl_save_LIBS=$LIBS ++ AC_SEARCH_LIBS([inet_ntop], [nsl], [], ++ [AC_REPLACE_FUNCS([inet_ntop])]) ++ LIBS=$gl_save_LIBS ++ ++ gl_PREREQ_INET_NTOP ++]) ++m4trace:gnulib/m4/inet_ntop.m4:30: -1- AC_DEFUN([gl_PREREQ_INET_NTOP], [ ++ AC_CHECK_DECLS([inet_ntop],,,[#include ]) ++ if test $ac_cv_have_decl_inet_ntop = no; then ++ HAVE_DECL_INET_NTOP=0 ++ fi ++ AC_REQUIRE([gl_SOCKET_FAMILIES]) ++ AC_REQUIRE([AC_C_RESTRICT]) ++]) ++m4trace:gnulib/m4/inet_pton.m4:7: -1- AC_DEFUN([gl_INET_PTON], [ ++ dnl Persuade Solaris to declare inet_pton. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ ++ gl_REPLACE_ARPA_INET_H ++ ++ AC_REPLACE_FUNCS([inet_pton]) ++ gl_PREREQ_INET_PTON ++]) ++m4trace:gnulib/m4/inet_pton.m4:19: -1- AC_DEFUN([gl_PREREQ_INET_PTON], [ ++ AC_CHECK_DECLS([inet_pton],,,[#include ]) ++ if test $ac_cv_have_decl_inet_pton = no; then ++ HAVE_DECL_INET_PTON=0 ++ fi ++ AC_REQUIRE([gl_SOCKET_FAMILIES]) ++ AC_REQUIRE([AC_C_RESTRICT]) ++]) ++m4trace:gnulib/m4/intmax_t.m4:14: -1- AC_DEFUN([gl_AC_TYPE_INTMAX_T], [ ++ dnl For simplicity, we assume that a header file defines 'intmax_t' if and ++ dnl only if it defines 'uintmax_t'. ++ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) ++ if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' ++ AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], ++ [Define to long or long long if and don't define.]) ++ else ++ AC_DEFINE([HAVE_INTMAX_T], [1], ++ [Define if you have the 'intmax_t' type in or .]) ++ fi ++]) ++m4trace:gnulib/m4/intmax_t.m4:35: -1- AC_DEFUN([gt_AC_TYPE_INTMAX_T], [ ++ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) ++ AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], ++ [AC_TRY_COMPILE([ ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif ++], [intmax_t x = -1; return !x;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)]) ++ if test $gt_cv_c_intmax_t = yes; then ++ AC_DEFINE([HAVE_INTMAX_T], [1], ++ [Define if you have the 'intmax_t' type in or .]) ++ else ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' ++ AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], ++ [Define to long or long long if and don't define.]) ++ fi ++]) ++m4trace:gnulib/m4/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ ++ AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], ++ [AC_TRY_COMPILE( ++ [#include ++#include ], ++ [uintmax_t i = (uintmax_t) -1; return !i;], ++ [gl_cv_header_inttypes_h=yes], ++ [gl_cv_header_inttypes_h=no])]) ++ if test $gl_cv_header_inttypes_h = yes; then ++ AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], ++ [Define if exists, doesn't clash with , ++ and declares uintmax_t. ]) ++ fi ++]) ++m4trace:gnulib/m4/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ ++ AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], ++ [AC_LINK_IFELSE( ++ [_AC_TYPE_LONG_LONG_SNIPPET], ++ [dnl This catches a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. ++ dnl If cross compiling, assume the bug isn't important, since ++ dnl nobody cross compiles for this platform as far as we know. ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[@%:@include ++ @%:@ifndef LLONG_MAX ++ @%:@ define HALF \ ++ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) ++ @%:@ define LLONG_MAX (HALF - 1 + HALF) ++ @%:@endif]], ++ [[long long int n = 1; ++ int i; ++ for (i = 0; ; i++) ++ { ++ long long int m = n << i; ++ if (m >> i != n) ++ return 1; ++ if (LLONG_MAX / 2 < m) ++ break; ++ } ++ return 0;]])], ++ [ac_cv_type_long_long_int=yes], ++ [ac_cv_type_long_long_int=no], ++ [ac_cv_type_long_long_int=yes])], ++ [ac_cv_type_long_long_int=no])]) ++ if test $ac_cv_type_long_long_int = yes; then ++ AC_DEFINE([HAVE_LONG_LONG_INT], [1], ++ [Define to 1 if the system has the type `long long int'.]) ++ fi ++]) ++m4trace:gnulib/m4/longlong.m4:63: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ ++ AC_CACHE_CHECK([for unsigned long long int], ++ [ac_cv_type_unsigned_long_long_int], ++ [AC_LINK_IFELSE( ++ [_AC_TYPE_LONG_LONG_SNIPPET], ++ [ac_cv_type_unsigned_long_long_int=yes], ++ [ac_cv_type_unsigned_long_long_int=no])]) ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], ++ [Define to 1 if the system has the type `unsigned long long int'.]) ++ fi ++]) ++m4trace:gnulib/m4/longlong.m4:82: -1- AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [ ++ AC_LANG_PROGRAM( ++ [[/* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63;]], ++ [[/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull));]]) ++]) ++m4trace:gnulib/m4/lseek.m4:7: -1- AC_DEFUN([gl_FUNC_LSEEK], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe], ++ [if test $cross_compiling = no; then ++ AC_LINK_IFELSE([ ++#include /* for off_t */ ++#include /* for SEEK_CUR */ ++#include ++int main () ++{ ++ /* Exit with success only if stdin is seekable. */ ++ return lseek (0, (off_t)0, SEEK_CUR) < 0; ++}], ++ [if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext < conftest.$ac_ext \ ++ && { echo hi | ./conftest$ac_exeext; test $? = 1; }; then ++ gl_cv_func_lseek_pipe=yes ++ else ++ gl_cv_func_lseek_pipe=no ++ fi], ++ [gl_cv_func_lseek_pipe=no]) ++ else ++ AC_COMPILE_IFELSE([ ++#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__ ++/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */ ++ Choke me. ++#endif], ++ [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no]) ++ fi]) ++ if test $gl_cv_func_lseek_pipe = no; then ++ gl_REPLACE_LSEEK ++ fi ++]) ++m4trace:gnulib/m4/lseek.m4:43: -1- AC_DEFUN([gl_REPLACE_LSEEK], [ ++ AC_LIBOBJ([lseek]) ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ REPLACE_LSEEK=1 ++ AC_DEFINE([LSEEK_PIPE_BROKEN], [1], ++ [Define to 1 if lseek does not detect pipes.]) ++]) ++m4trace:gnulib/m4/lstat.m4:11: -1- AC_DEFUN([gl_FUNC_LSTAT], [ ++ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++ dnl If lstat does not exist, the replacement does ++ dnl "#define lstat stat", and lstat.c does not need to be compiled. ++ AC_CHECK_FUNCS_ONCE([lstat]) ++ if test $ac_cv_func_lstat = yes; then ++ AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK ++ dnl Note: AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK does AC_LIBOBJ([lstat]). ++ if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ REPLACE_LSTAT=1 ++ fi ++ # Prerequisites of lib/lstat.c. ++ AC_REQUIRE([AC_C_INLINE]) ++ fi ++]) ++m4trace:gnulib/m4/malloc.m4:11: -1- AC_DEFUN([gl_FUNC_MALLOC_POSIX], [ ++ AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) ++ if test $gl_cv_func_malloc_posix = yes; then ++ HAVE_MALLOC_POSIX=1 ++ AC_DEFINE([HAVE_MALLOC_POSIX], [1], ++ [Define if the 'malloc' function is POSIX compliant.]) ++ else ++ AC_LIBOBJ([malloc]) ++ HAVE_MALLOC_POSIX=0 ++ fi ++ AC_SUBST([HAVE_MALLOC_POSIX]) ++]) ++m4trace:gnulib/m4/malloc.m4:27: -1- AC_DEFUN([gl_CHECK_MALLOC_POSIX], [ ++ AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant], ++ [gl_cv_func_malloc_posix], ++ [ ++ dnl It is too dangerous to try to allocate a large amount of memory: ++ dnl some systems go to their knees when you do that. So assume that ++ dnl all Unix implementations of the function are POSIX compliant. ++ AC_TRY_COMPILE([], ++ [#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++ choke me ++ #endif ++ ], [gl_cv_func_malloc_posix=yes], [gl_cv_func_malloc_posix=no]) ++ ]) ++]) ++m4trace:gnulib/m4/memchr.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [ ++ dnl Check for prerequisites for memory fence checks. ++ gl_FUNC_MMAP_ANON ++ AC_CHECK_HEADERS_ONCE([sys/mman.h]) ++ AC_CHECK_FUNCS_ONCE([mprotect]) ++ ++ dnl These days, we assume memchr is present. But just in case... ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REPLACE_FUNCS([memchr]) ++ if test $ac_cv_func_memchr = no; then ++ gl_PREREQ_MEMCHR ++ REPLACE_MEMCHR=1 ++ fi ++ ++ if test $ac_cv_func_memchr = yes; then ++ # Detect platform-specific bugs in some versions of glibc: ++ # memchr should not dereference anything with length 0 ++ # http://bugzilla.redhat.com/499689 ++ # memchr should not dereference overestimated length after a match ++ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 ++ # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 ++ # Assume that memchr works on platforms that lack mprotect. ++ AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++#include ++#if HAVE_SYS_MMAN_H ++# include ++# include ++# include ++# include ++# ifndef MAP_FILE ++# define MAP_FILE 0 ++# endif ++#endif ++]], [[ ++ char *fence = NULL; ++#if HAVE_SYS_MMAN_H && HAVE_MPROTECT ++# if HAVE_MAP_ANONYMOUS ++ const int flags = MAP_ANONYMOUS | MAP_PRIVATE; ++ const int fd = -1; ++# else /* !HAVE_MAP_ANONYMOUS */ ++ const int flags = MAP_FILE | MAP_PRIVATE; ++ int fd = open ("/dev/zero", O_RDONLY, 0666); ++ if (fd >= 0) ++# endif ++ { ++ int pagesize = getpagesize (); ++ char *two_pages = ++ (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, ++ flags, fd, 0); ++ if (two_pages != (char *)(-1) ++ && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) ++ fence = two_pages + pagesize; ++ } ++#endif ++ if (fence) ++ { ++ if (memchr (fence, 0, 0)) ++ return 1; ++ strcpy (fence - 9, "12345678"); ++ if (memchr (fence - 9, 0, 79) != fence - 1) ++ return 2; ++ } ++ return 0; ++]])], [gl_cv_func_memchr_works=yes], [gl_cv_func_memchr_works=no], ++ [dnl Be pessimistic for now. ++ gl_cv_func_memchr_works="guessing no"])]) ++ if test "$gl_cv_func_memchr_works" != yes; then ++ gl_PREREQ_MEMCHR ++ REPLACE_MEMCHR=1 ++ AC_LIBOBJ([memchr]) ++ fi ++ fi ++]) ++m4trace:gnulib/m4/memchr.m4:84: -1- AC_DEFUN([gl_PREREQ_MEMCHR], [ ++ AC_CHECK_HEADERS([bp-sym.h]) ++]) ++m4trace:gnulib/m4/mkstemp.m4:14: -1- AC_DEFUN([gl_FUNC_MKSTEMP], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_REQUIRE([AC_SYS_LARGEFILE]) ++ ++ AC_CACHE_CHECK([for working mkstemp], ++ [gl_cv_func_working_mkstemp], ++ [ ++ mkdir conftest.mkstemp ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [AC_INCLUDES_DEFAULT], ++ [[int i; ++ off_t large = (off_t) 4294967295u; ++ if (large < 0) ++ large = 2147483647; ++ for (i = 0; i < 70; i++) ++ { ++ char templ[] = "conftest.mkstemp/coXXXXXX"; ++ int (*mkstemp_function) (char *) = mkstemp; ++ int fd = mkstemp_function (templ); ++ if (fd < 0 || lseek (fd, large, SEEK_SET) != large) ++ return 1; ++ close (fd); ++ } ++ return 0;]])], ++ [gl_cv_func_working_mkstemp=yes], ++ [gl_cv_func_working_mkstemp=no], ++ [gl_cv_func_working_mkstemp=no]) ++ rm -rf conftest.mkstemp ++ ]) ++ ++ if test $gl_cv_func_working_mkstemp != yes; then ++ REPLACE_MKSTEMP=1 ++ AC_LIBOBJ([mkstemp]) ++ gl_PREREQ_MKSTEMP ++ fi ++]) ++m4trace:gnulib/m4/mkstemp.m4:54: -1- AC_DEFUN([gl_PREREQ_MKSTEMP], [ ++]) ++m4trace:gnulib/m4/mmap-anon.m4:16: -1- AC_DEFUN([gl_FUNC_MMAP_ANON], [ ++ dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. ++ AC_REQUIRE([AC_PROG_CPP]) ++ AC_REQUIRE([AC_PROG_EGREP]) ++ ++ dnl Persuade glibc to define MAP_ANONYMOUS. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no]) ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ AC_MSG_CHECKING([for MAP_ANONYMOUS]) ++ AC_EGREP_CPP([I cant identify this map.], [ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++], ++ [gl_have_mmap_anonymous=yes]) ++ if test $gl_have_mmap_anonymous != yes; then ++ AC_EGREP_CPP([I cant identify this map.], [ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++], ++ [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], ++ [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.]) ++ gl_have_mmap_anonymous=yes]) ++ fi ++ AC_MSG_RESULT([$gl_have_mmap_anonymous]) ++ if test $gl_have_mmap_anonymous = yes; then ++ AC_DEFINE([HAVE_MAP_ANONYMOUS], [1], ++ [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including ++ config.h and .]) ++ fi ++ fi ++]) ++m4trace:gnulib/m4/multiarch.m4:22: -1- AC_DEFUN_ONCE([gl_MULTIARCH], [ ++ dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN. ++ gl_cv_c_multiarch=no ++ AC_COMPILE_IFELSE( ++ [AC_LANG_SOURCE( ++ [[#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ]])], ++ [ ++ dnl Check for potential -arch flags. It is not universal unless ++ dnl there are at least two -arch flags with different values. ++ arch= ++ prev= ++ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do ++ if test -n "$prev"; then ++ case $word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$arch" || test "$arch" = "$word"; then ++ arch="$word" ++ else ++ gl_cv_c_multiarch=yes ++ fi ++ ;; ++ esac ++ prev= ++ else ++ if test "x$word" = "x-arch"; then ++ prev=arch ++ fi ++ fi ++ done ++ ]) ++ if test $gl_cv_c_multiarch = yes; then ++ AC_DEFINE([AA_APPLE_UNIVERSAL_BUILD], [1], ++ [Define if the compiler is building for multiple architectures of Apple platforms at once.]) ++ APPLE_UNIVERSAL_BUILD=1 ++ else ++ APPLE_UNIVERSAL_BUILD=0 ++ fi ++ AC_SUBST([APPLE_UNIVERSAL_BUILD]) ++]) ++m4trace:gnulib/m4/netdb_h.m4:7: -1- AC_DEFUN([gl_HEADER_NETDB], [ ++ AC_REQUIRE([gl_NETDB_H_DEFAULTS]) ++ gl_CHECK_NEXT_HEADERS([netdb.h]) ++ if test $ac_cv_header_netdb_h = yes; then ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[ ++ #include ++ struct addrinfo a; ++ int b = EAI_OVERFLOW; ++ int c = AI_NUMERICSERV; ++ ]])], ++ [NETDB_H=''], [NETDB_H='netdb.h']) ++ HAVE_NETDB_H=1 ++ else ++ NETDB_H='netdb.h' ++ HAVE_NETDB_H=0 ++ fi ++ AC_SUBST([HAVE_NETDB_H]) ++ AC_SUBST([NETDB_H]) ++]) ++m4trace:gnulib/m4/netdb_h.m4:29: -1- AC_DEFUN([gl_NETDB_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_NETDB_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/netdb_h.m4:36: -1- AC_DEFUN([gl_NETDB_H_DEFAULTS], [ ++ GNULIB_GETADDRINFO=0; AC_SUBST([GNULIB_GETADDRINFO]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_STRUCT_ADDRINFO=1; AC_SUBST([HAVE_STRUCT_ADDRINFO]) ++ HAVE_DECL_FREEADDRINFO=1; AC_SUBST([HAVE_DECL_FREEADDRINFO]) ++ HAVE_DECL_GAI_STRERROR=1; AC_SUBST([HAVE_DECL_GAI_STRERROR]) ++ HAVE_DECL_GETADDRINFO=1; AC_SUBST([HAVE_DECL_GETADDRINFO]) ++ HAVE_DECL_GETNAMEINFO=1; AC_SUBST([HAVE_DECL_GETNAMEINFO]) ++]) ++m4trace:gnulib/m4/netinet_in_h.m4:7: -1- AC_DEFUN([gl_HEADER_NETINET_IN], [ ++ AC_CACHE_CHECK([whether is self-contained], ++ [gl_cv_header_netinet_in_h_selfcontained], ++ [ ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], ++ [gl_cv_header_netinet_in_h_selfcontained=yes], ++ [gl_cv_header_netinet_in_h_selfcontained=no]) ++ ]) ++ if test $gl_cv_header_netinet_in_h_selfcontained = yes; then ++ NETINET_IN_H='' ++ else ++ NETINET_IN_H='netinet/in.h' ++ AC_CHECK_HEADERS([netinet/in.h]) ++ gl_CHECK_NEXT_HEADERS([netinet/in.h]) ++ if test $ac_cv_header_netinet_in_h = yes; then ++ HAVE_NETINET_IN_H=1 ++ else ++ HAVE_NETINET_IN_H=0 ++ fi ++ AC_SUBST([HAVE_NETINET_IN_H]) ++ fi ++ AC_SUBST([NETINET_IN_H]) ++]) ++m4trace:gnulib/m4/onceonly.m4:38: -1- AC_DEFUN([AC_CHECK_HEADERS_ONCE], [ ++ : ++ m4_foreach_w([gl_HEADER_NAME], [$1], [ ++ AC_DEFUN([gl_CHECK_HEADER_]m4_quote(translit(gl_HEADER_NAME, ++ [./-], [___])), [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++ AC_REQUIRE([gl_CHECK_HEADER_]m4_quote(translit(gl_HEADER_NAME, ++ [./-], [___]))) ++ ]) ++]) ++m4trace:gnulib/m4/onceonly.m4:61: -1- AC_DEFUN([AC_CHECK_FUNCS_ONCE], [ ++ : ++ m4_foreach_w([gl_FUNC_NAME], [$1], [ ++ AC_DEFUN([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME]), [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++ AC_REQUIRE([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME])) ++ ]) ++]) ++m4trace:gnulib/m4/onceonly.m4:82: -1- AC_DEFUN([AC_CHECK_DECLS_ONCE], [ ++ : ++ m4_foreach_w([gl_DECL_NAME], [$1], [ ++ AC_DEFUN([gl_CHECK_DECL_]m4_defn([gl_DECL_NAME]), [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++ AC_REQUIRE([gl_CHECK_DECL_]m4_defn([gl_DECL_NAME])) ++ ]) ++]) ++m4trace:gnulib/m4/perror.m4:7: -1- AC_DEFUN([gl_FUNC_PERROR], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_REQUIRE([gl_HEADER_ERRNO_H]) ++ if test -n "$ERRNO_H"; then ++ dnl The system's perror() cannot know about the new errno values we add ++ dnl to . Replace it. ++ REPLACE_PERROR=1 ++ AC_LIBOBJ([perror]) ++ fi ++]) ++m4trace:gnulib/m4/physmem.m4:9: -1- AC_DEFUN([gl_SYS__SYSTEM_CONFIGURATION], [AC_CACHE_CHECK([for external symbol _system_configuration], ++ gl_cv_var__system_configuration, ++ [AC_LINK_IFELSE([AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[double x = _system_configuration.physmem; ++ if (x > 0.0) return 0;]])], ++ [gl_cv_var__system_configuration=yes], ++ [gl_cv_var__system_configuration=no])]) ++ ++ if test $gl_cv_var__system_configuration = yes; then ++ AC_DEFINE([HAVE__SYSTEM_CONFIGURATION], [1], ++ [Define to 1 if you have the external variable, ++ _system_configuration with a member named physmem.]) ++ fi ++ ++]) ++m4trace:gnulib/m4/physmem.m4:28: -1- AC_DEFUN([gl_PHYSMEM], [ ++ AC_LIBOBJ([physmem]) ++ ++ # Prerequisites of lib/physmem.c. ++ AC_CHECK_HEADERS([sys/pstat.h sys/sysmp.h sys/sysinfo.h \ ++ machine/hal_sysinfo.h sys/table.h sys/param.h sys/sysctl.h \ ++ sys/systemcfg.h],,, [AC_INCLUDES_DEFAULT]) ++ ++ AC_CHECK_FUNCS([pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table]) ++ AC_REQUIRE([gl_SYS__SYSTEM_CONFIGURATION]) ++]) ++m4trace:gnulib/m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [ ++ AC_REQUIRE([AC_PROG_MAKE_SET])dnl ++ AC_REQUIRE([AC_PROG_INSTALL])dnl ++ AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake ++ AC_REQUIRE([AM_NLS])dnl ++ ++ dnl Release version of the gettext macros. This is used to ensure that ++ dnl the gettext macros and po/Makefile.in.in are in sync. ++ AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) ++ ++ dnl Perform the following tests also if --disable-nls has been given, ++ dnl because they are needed for "make dist" to work. ++ ++ dnl Search for GNU msgfmt in the PATH. ++ dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. ++ dnl The second test excludes FreeBSD msgfmt. ++ AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, ++ [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && ++ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], ++ :) ++ AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) ++ ++ dnl Test whether it is GNU msgfmt >= 0.15. ++changequote(,)dnl ++ case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in ++ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; ++ *) MSGFMT_015=$MSGFMT ;; ++ esac ++changequote([,])dnl ++ AC_SUBST([MSGFMT_015]) ++changequote(,)dnl ++ case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in ++ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; ++ *) GMSGFMT_015=$GMSGFMT ;; ++ esac ++changequote([,])dnl ++ AC_SUBST([GMSGFMT_015]) ++ ++ dnl Search for GNU xgettext 0.12 or newer in the PATH. ++ dnl The first test excludes Solaris xgettext and early GNU xgettext versions. ++ dnl The second test excludes FreeBSD xgettext. ++ AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, ++ [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && ++ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], ++ :) ++ dnl Remove leftover from FreeBSD xgettext call. ++ rm -f messages.po ++ ++ dnl Test whether it is GNU xgettext >= 0.15. ++changequote(,)dnl ++ case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in ++ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; ++ *) XGETTEXT_015=$XGETTEXT ;; ++ esac ++changequote([,])dnl ++ AC_SUBST([XGETTEXT_015]) ++ ++ dnl Search for GNU msgmerge 0.11 or newer in the PATH. ++ AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, ++ [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) ++ ++ dnl Installation directories. ++ dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we ++ dnl have to define it here, so that it can be used in po/Makefile. ++ test -n "$localedir" || localedir='${datadir}/locale' ++ AC_SUBST([localedir]) ++ ++ dnl Support for AM_XGETTEXT_OPTION. ++ test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ++ AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) ++ ++ AC_CONFIG_COMMANDS([po-directories], [[ ++ for ac_file in $CONFIG_FILES; do ++ # Support "outfile[:infile[:infile...]]" ++ case "$ac_file" in ++ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; ++ esac ++ # PO directories have a Makefile.in generated from Makefile.in.in. ++ case "$ac_file" in */Makefile.in) ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ # Treat a directory as a PO directory if and only if it has a ++ # POTFILES.in file. This allows packages to have multiple PO ++ # directories under different names or in different locations. ++ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then ++ rm -f "$ac_dir/POTFILES" ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" ++ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" ++ POMAKEFILEDEPS="POTFILES.in" ++ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend ++ # on $ac_dir but don't depend on user-specified configuration ++ # parameters. ++ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then ++ # The LINGUAS file contains the set of available languages. ++ if test -n "$OBSOLETE_ALL_LINGUAS"; then ++ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" ++ fi ++ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` ++ # Hide the ALL_LINGUAS assigment from automake < 1.5. ++ eval 'ALL_LINGUAS''=$ALL_LINGUAS_' ++ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" ++ else ++ # The set of available languages was given in configure.in. ++ # Hide the ALL_LINGUAS assigment from automake < 1.5. ++ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' ++ fi ++ # Compute POFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) ++ # Compute UPDATEPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) ++ # Compute DUMMYPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) ++ # Compute GMOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) ++ case "$ac_given_srcdir" in ++ .) srcdirpre= ;; ++ *) srcdirpre='$(srcdir)/' ;; ++ esac ++ POFILES= ++ UPDATEPOFILES= ++ DUMMYPOFILES= ++ GMOFILES= ++ for lang in $ALL_LINGUAS; do ++ POFILES="$POFILES $srcdirpre$lang.po" ++ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" ++ DUMMYPOFILES="$DUMMYPOFILES $lang.nop" ++ GMOFILES="$GMOFILES $srcdirpre$lang.gmo" ++ done ++ # CATALOGS depends on both $ac_dir and the user's LINGUAS ++ # environment variable. ++ INST_LINGUAS= ++ if test -n "$ALL_LINGUAS"; then ++ for presentlang in $ALL_LINGUAS; do ++ useit=no ++ if test "%UNSET%" != "$LINGUAS"; then ++ desiredlanguages="$LINGUAS" ++ else ++ desiredlanguages="$ALL_LINGUAS" ++ fi ++ for desiredlang in $desiredlanguages; do ++ # Use the presentlang catalog if desiredlang is ++ # a. equal to presentlang, or ++ # b. a variant of presentlang (because in this case, ++ # presentlang can be used as a fallback for messages ++ # which are not translated in the desiredlang catalog). ++ case "$desiredlang" in ++ "$presentlang"*) useit=yes;; ++ esac ++ done ++ if test $useit = yes; then ++ INST_LINGUAS="$INST_LINGUAS $presentlang" ++ fi ++ done ++ fi ++ CATALOGS= ++ if test -n "$INST_LINGUAS"; then ++ for lang in $INST_LINGUAS; do ++ CATALOGS="$CATALOGS $lang.gmo" ++ done ++ fi ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" ++ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" ++ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do ++ if test -f "$f"; then ++ case "$f" in ++ *.orig | *.bak | *~) ;; ++ *) cat "$f" >> "$ac_dir/Makefile" ;; ++ esac ++ fi ++ done ++ fi ++ ;; ++ esac ++ done]], ++ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute ++ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it ++ # from automake < 1.5. ++ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' ++ # Capture the value of LINGUAS because we need it to compute CATALOGS. ++ LINGUAS="${LINGUAS-%UNSET%}" ++ ]) ++]) ++m4trace:gnulib/m4/po.m4:218: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ ++ # When this code is run, in config.status, two variables have already been ++ # set: ++ # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, ++ # - LINGUAS is the value of the environment variable LINGUAS at configure ++ # time. ++ ++changequote(,)dnl ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ ++ # Find a way to echo strings without interpreting backslash. ++ if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then ++ gt_echo='echo' ++ else ++ if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then ++ gt_echo='printf %s\n' ++ else ++ echo_func () { ++ cat < "$ac_file.tmp" ++ if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then ++ # Add dependencies that cannot be formulated as a simple suffix rule. ++ for lang in $ALL_LINGUAS; do ++ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` ++ cat >> "$ac_file.tmp" < /dev/null; then ++ # Add dependencies that cannot be formulated as a simple suffix rule. ++ for lang in $ALL_LINGUAS; do ++ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` ++ cat >> "$ac_file.tmp" <> "$ac_file.tmp" < ++#include ++ int main() ++ { ++ struct pollfd ufd; ++ /* Try /dev/null for reading. */ ++ ufd.fd = open ("/dev/null", O_RDONLY); ++ if (ufd.fd < 0) ++ /* If /dev/null does not exist, it's not MacOS X nor AIX. */ ++ return 0; ++ ufd.events = POLLIN; ++ ufd.revents = 0; ++ if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLIN)) ++ return 1; ++ /* Try /dev/null for writing. */ ++ ufd.fd = open ("/dev/null", O_WRONLY); ++ if (ufd.fd < 0) ++ /* If /dev/null does not exist, it's not MacOS X nor AIX. */ ++ return 0; ++ ufd.events = POLLOUT; ++ ufd.revents = 0; ++ if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLOUT)) ++ return 1; ++ /* Trying /dev/tty may be too environment dependent. */ ++ return 0; ++ }], ++ [gl_cv_func_poll=yes], ++ [gl_cv_func_poll=no], ++ [# When cross-compiling, assume that poll() works everywhere except on ++ # MacOS X or AIX, regardless of its version. ++ AC_EGREP_CPP([MacOSX], [ ++#if (defined(__APPLE__) && defined(__MACH__)) || defined(_AIX) ++This is MacOSX or AIX ++#endif ++], [gl_cv_func_poll=no], [gl_cv_func_poll=yes])])]) ++ fi ++ if test $gl_cv_func_poll = yes; then ++ AC_DEFINE([HAVE_POLL], [1], ++ [Define to 1 if you have the 'poll' function and it works.]) ++ POLL_H= ++ else ++ AC_LIBOBJ([poll]) ++ AC_DEFINE([poll], [rpl_poll], ++ [Define to poll if the replacement function should be used.]) ++ gl_PREREQ_POLL ++ POLL_H=poll.h ++ fi ++ AC_SUBST([POLL_H]) ++]) ++m4trace:gnulib/m4/poll.m4:68: -1- AC_DEFUN([gl_PREREQ_POLL], [ ++ AC_CHECK_HEADERS_ONCE([sys/ioctl.h sys/filio.h]) ++]) ++m4trace:gnulib/m4/posix-shell.m4:15: -1- AC_DEFUN([gl_POSIX_SHELL], [ ++ AC_CACHE_CHECK([for a shell that conforms to POSIX], [gl_cv_posix_shell], ++ [gl_test_posix_shell_script=' ++ func_return () { ++ (exit [$]1) ++ } ++ func_success () { ++ func_return 0 ++ } ++ func_failure () { ++ func_return 1 ++ } ++ func_ret_success () { ++ return 0 ++ } ++ func_ret_failure () { ++ return 1 ++ } ++ subshell_umask_sanity () { ++ (umask 22; (umask 0); test $(umask) -eq 22) ++ } ++ test "[$](echo foo)" = foo && ++ func_success && ++ ! func_failure && ++ func_ret_success && ++ ! func_ret_failure && ++ (set x && func_ret_success y && test x = "[$]1") && ++ subshell_umask_sanity ++ ' ++ for gl_cv_posix_shell in \ ++ "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do ++ case $gl_cv_posix_shell in ++ /*) ++ "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \ ++ && break;; ++ esac ++ done]) ++ ++ if test "$gl_cv_posix_shell" != no; then ++ POSIX_SHELL=$gl_cv_posix_shell ++ PREFERABLY_POSIX_SHELL=$POSIX_SHELL ++ else ++ POSIX_SHELL= ++ PREFERABLY_POSIX_SHELL=/bin/sh ++ fi ++ AC_SUBST([POSIX_SHELL]) ++ AC_SUBST([PREFERABLY_POSIX_SHELL]) ++]) ++m4trace:gnulib/m4/printf.m4:11: -1- AC_DEFUN([gl_PRINTF_SIZES_C99], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) ++ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports size specifiers as in C99], ++ [gl_cv_func_printf_sizes_c99], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++# include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++# include ++#endif ++static char buf[100]; ++int main () ++{ ++#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0 ++ || strcmp (buf, "12345671 33") != 0) ++ return 1; ++#endif ++ buf[0] = '\0'; ++ if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0 ++ || strcmp (buf, "12345672 33") != 0) ++ return 1; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 ++ || strcmp (buf, "12345673 33") != 0) ++ return 1; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 ++ || strcmp (buf, "1.5 33") != 0) ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_sizes_c99=yes], [gl_cv_func_printf_sizes_c99=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_printf_sizes_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";; ++ darwin*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_printf_sizes_c99="guessing no";; ++ openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[0-9]*) gl_cv_func_printf_sizes_c99="guessing no";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_sizes_c99="guessing no";; ++ netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_sizes_c99="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:88: -1- AC_DEFUN([gl_PRINTF_LONG_DOUBLE], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports 'long double' arguments], ++ [gl_cv_func_printf_long_double], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[10000]; ++int main () ++{ ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.750000 33") != 0) ++ return 1; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.750000e+00 33") != 0) ++ return 1; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.75 33") != 0) ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_long_double=yes], [gl_cv_func_printf_long_double=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ beos*) gl_cv_func_printf_long_double="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_long_double="guessing no";; ++ *) gl_cv_func_printf_long_double="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:132: -1- AC_DEFUN([gl_PRINTF_INFINITE], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports infinite 'double' arguments], ++ [gl_cv_func_printf_infinite], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static int ++strisnan (const char *string, size_t start_index, size_t end_index) ++{ ++ if (start_index < end_index) ++ { ++ if (string[start_index] == '-') ++ start_index++; ++ if (start_index + 3 <= end_index ++ && memcmp (string + start_index, "nan", 3) == 0) ++ { ++ start_index += 3; ++ if (start_index == end_index ++ || (string[start_index] == '(' && string[end_index - 1] == ')')) ++ return 1; ++ } ++ } ++ return 0; ++} ++static int ++have_minus_zero () ++{ ++ static double plus_zero = 0.0; ++ double minus_zero = - plus_zero; ++ return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0; ++} ++static char buf[10000]; ++static double zero = 0.0; ++int main () ++{ ++ if (sprintf (buf, "%f", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%f", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%f", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%e", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%e", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%e", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%g", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%g", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%g", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ /* This test fails on HP-UX 10.20. */ ++ if (have_minus_zero ()) ++ if (sprintf (buf, "%g", - zero) < 0 ++ || strcmp (buf, "-0") != 0) ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_infinite=yes], [gl_cv_func_printf_infinite=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_infinite="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";; ++ darwin*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";; ++ hpux*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_infinite="guessing no";; ++ netbsd*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_infinite="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_infinite="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:237: -1- AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE], [ ++ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_BIGENDIAN]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ dnl The user can set or unset the variable gl_printf_safe to indicate ++ dnl that he wishes a safe handling of non-IEEE-754 'long double' values. ++ if test -n "$gl_printf_safe"; then ++ AC_DEFINE([CHECK_PRINTF_SAFE], [1], ++ [Define if you wish *printf() functions that have a safe handling of ++ non-IEEE-754 'long double' values.]) ++ fi ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ AC_CACHE_CHECK([whether printf supports infinite 'long double' arguments], ++ [gl_cv_func_printf_infinite_long_double], ++ [ ++ AC_TRY_RUN([ ++]GL_NOCRASH[ ++#include ++#include ++#include ++static int ++strisnan (const char *string, size_t start_index, size_t end_index) ++{ ++ if (start_index < end_index) ++ { ++ if (string[start_index] == '-') ++ start_index++; ++ if (start_index + 3 <= end_index ++ && memcmp (string + start_index, "nan", 3) == 0) ++ { ++ start_index += 3; ++ if (start_index == end_index ++ || (string[start_index] == '(' && string[end_index - 1] == ')')) ++ return 1; ++ } ++ } ++ return 0; ++} ++static char buf[10000]; ++static long double zeroL = 0.0L; ++int main () ++{ ++ nocrash_init(); ++ if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%Le", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ return 1; ++ if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) ++/* Representation of an 80-bit 'long double' as an initializer for a sequence ++ of 'unsigned int' words. */ ++# ifdef WORDS_BIGENDIAN ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ++ ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \ ++ (unsigned int) (mantlo) << 16 \ ++ } ++# else ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { mantlo, manthi, exponent } ++# endif ++ { /* Quiet NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ } ++ { ++ /* Signalling NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ } ++ { /* Pseudo-NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ } ++ { /* Pseudo-Infinity. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ } ++ { /* Pseudo-Zero. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ } ++ { /* Unnormalized number. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ } ++ { /* Pseudo-Denormal. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ return 1; ++ } ++#endif ++ return 0; ++}], ++ [gl_cv_func_printf_infinite_long_double=yes], ++ [gl_cv_func_printf_infinite_long_double=no], ++ [ ++changequote(,)dnl ++ case "$host_cpu" in ++ # Guess no on ia64, x86_64, i386. ++ ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; ++ *) ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ darwin*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_infinite_long_double="guessing no";; ++ netbsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_infinite_long_double="guessing no";; ++ esac ++ ;; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++ ;; ++ *) ++ gl_cv_func_printf_infinite_long_double="irrelevant" ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/printf.m4:462: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives], ++ [gl_cv_func_printf_directive_a], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 ++ || (strcmp (buf, "0x1.922p+1 33") != 0 ++ && strcmp (buf, "0x3.244p+0 33") != 0 ++ && strcmp (buf, "0x6.488p-1 33") != 0 ++ && strcmp (buf, "0xc.91p-2 33") != 0)) ++ return 1; ++ if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 ++ || (strcmp (buf, "-0X1.922P+1 33") != 0 ++ && strcmp (buf, "-0X3.244P+0 33") != 0 ++ && strcmp (buf, "-0X6.488P-1 33") != 0 ++ && strcmp (buf, "-0XC.91P-2 33") != 0)) ++ return 1; ++ /* This catches a FreeBSD 6.1 bug: it doesn't round. */ ++ if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 ++ || (strcmp (buf, "0x1.83p+0 33") != 0 ++ && strcmp (buf, "0x3.05p-1 33") != 0 ++ && strcmp (buf, "0x6.0ap-2 33") != 0 ++ && strcmp (buf, "0xc.14p-3 33") != 0)) ++ return 1; ++ /* This catches a FreeBSD 6.1 bug. See ++ */ ++ if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0 ++ || buf[0] == '0') ++ return 1; ++ /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */ ++ if (sprintf (buf, "%.1a", 1.999) < 0 ++ || (strcmp (buf, "0x1.0p+1") != 0 ++ && strcmp (buf, "0x2.0p+0") != 0 ++ && strcmp (buf, "0x4.0p-1") != 0 ++ && strcmp (buf, "0x8.0p-2") != 0)) ++ return 1; ++ /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a ++ glibc 2.4 bug . */ ++ if (sprintf (buf, "%.1La", 1.999L) < 0 ++ || (strcmp (buf, "0x1.0p+1") != 0 ++ && strcmp (buf, "0x2.0p+0") != 0 ++ && strcmp (buf, "0x4.0p-1") != 0 ++ && strcmp (buf, "0x8.0p-2") != 0)) ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_directive_a=yes], [gl_cv_func_printf_directive_a=no], ++ [ ++ case "$host_os" in ++ # Guess yes on glibc >= 2.5 systems. ++ *-gnu*) ++ AC_EGREP_CPP([BZ2908], [ ++ #include ++ #ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2) ++ BZ2908 ++ #endif ++ #endif ++ ], ++ [gl_cv_func_printf_directive_a="guessing yes"], ++ [gl_cv_func_printf_directive_a="guessing no"]) ++ ;; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_directive_a="guessing no";; ++ esac ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:542: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_F], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the 'F' directive], ++ [gl_cv_func_printf_directive_f], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 ++ || strcmp (buf, "1234567.000000 33") != 0) ++ return 1; ++ if (sprintf (buf, "%F", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) ++ return 1; ++ /* This catches a Cygwin 1.5.x bug. */ ++ if (sprintf (buf, "%.F", 1234.0) < 0 ++ || strcmp (buf, "1234") != 0) ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_directive_f=yes], [gl_cv_func_printf_directive_f=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; ++ darwin*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[0-9]*) gl_cv_func_printf_directive_f="guessing no";; ++ solaris*) gl_cv_func_printf_directive_f="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_directive_f="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:593: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the 'n' directive], ++ [gl_cv_func_printf_directive_n], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char fmtstring[10]; ++static char buf[100]; ++int main () ++{ ++ int count = -1; ++ /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) ++ support %n in format strings in read-only memory but not in writable ++ memory. */ ++ strcpy (fmtstring, "%d %n"); ++ if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 ++ || strcmp (buf, "123 ") != 0 ++ || count != 4) ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_directive_n=yes], [gl_cv_func_printf_directive_n=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ *) gl_cv_func_printf_directive_n="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:635: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_LS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the 'ls' directive], ++ [gl_cv_func_printf_directive_ls], ++ [ ++ AC_TRY_RUN([ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++#include ++int main () ++{ ++ char buf[100]; ++ /* Test whether %ls works at all. ++ This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on ++ Cygwin 1.5. */ ++ { ++ static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ls", wstring) < 0 ++ || strcmp (buf, "abc") != 0) ++ return 1; ++ } ++ /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an ++ assertion failure inside libc), but not on OpenBSD 4.0. */ ++ { ++ static const wchar_t wstring[] = { 'a', 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ls", wstring) < 0 ++ || strcmp (buf, "a") != 0) ++ return 1; ++ } ++ /* Test whether precisions in %ls are supported as specified in ISO C 99 ++ section 7.19.6.1: ++ "If a precision is specified, no more than that many bytes are written ++ (including shift sequences, if any), and the array shall contain a ++ null wide character if, to equal the multibyte character sequence ++ length given by the precision, the function would need to access a ++ wide character one past the end of the array." ++ This test fails on Solaris 10. */ ++ { ++ static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%.2ls", wstring) < 0 ++ || strcmp (buf, "ab") != 0) ++ return 1; ++ } ++ return 0; ++}], [gl_cv_func_printf_directive_ls=yes], [gl_cv_func_printf_directive_ls=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ openbsd*) gl_cv_func_printf_directive_ls="guessing no";; ++ irix*) gl_cv_func_printf_directive_ls="guessing no";; ++ solaris*) gl_cv_func_printf_directive_ls="guessing no";; ++ cygwin*) gl_cv_func_printf_directive_ls="guessing no";; ++ beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; ++ *) gl_cv_func_printf_directive_ls="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:710: -1- AC_DEFUN([gl_PRINTF_POSITIONS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports POSIX/XSI format strings with positions], ++ [gl_cv_func_printf_positions], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++/* The string "%2$d %1$d", with dollar characters protected from the shell's ++ dollar expansion (possibly an autoconf bug). */ ++static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; ++static char buf[100]; ++int main () ++{ ++ sprintf (buf, format, 33, 55); ++ return (strcmp (buf, "55 33") != 0); ++}], [gl_cv_func_printf_positions=yes], [gl_cv_func_printf_positions=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) ++ gl_cv_func_printf_positions="guessing no";; ++ beos*) gl_cv_func_printf_positions="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_positions="guessing no";; ++ *) gl_cv_func_printf_positions="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:747: -1- AC_DEFUN([gl_PRINTF_FLAG_GROUPING], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the grouping flag], ++ [gl_cv_func_printf_flag_grouping], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%'d %d", 1234567, 99) < 0 ++ || buf[strlen (buf) - 1] != '9') ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_flag_grouping=yes], [gl_cv_func_printf_flag_grouping=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ cygwin*) gl_cv_func_printf_flag_grouping="guessing no";; ++ netbsd*) gl_cv_func_printf_flag_grouping="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";; ++ *) gl_cv_func_printf_flag_grouping="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:783: -1- AC_DEFUN([gl_PRINTF_FLAG_LEFTADJUST], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the left-adjust flag correctly], ++ [gl_cv_func_printf_flag_leftadjust], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ /* Check that a '-' flag is not annihilated by a negative width. */ ++ if (sprintf (buf, "a%-*sc", -3, "b") < 0 ++ || strcmp (buf, "ab c") != 0) ++ return 1; ++ return 0; ++}], ++ [gl_cv_func_printf_flag_leftadjust=yes], ++ [gl_cv_func_printf_flag_leftadjust=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on HP-UX 11. ++ hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";; ++ # Guess no on HP-UX 10 and older. ++ hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";; ++ # Guess yes otherwise. ++ *) gl_cv_func_printf_flag_leftadjust="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:824: -1- AC_DEFUN([gl_PRINTF_FLAG_ZERO], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the zero flag correctly], ++ [gl_cv_func_printf_flag_zero], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0 ++ || (strcmp (buf, " inf") != 0 ++ && strcmp (buf, " infinity") != 0)) ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_flag_zero=yes], [gl_cv_func_printf_flag_zero=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_flag_zero="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_flag_zero="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:864: -1- AC_DEFUN([gl_PRINTF_PRECISION], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports large precisions], ++ [gl_cv_func_printf_precision], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[5000]; ++int main () ++{ ++#ifdef __BEOS__ ++ /* On BeOS, this would crash and show a dialog box. Avoid the crash. */ ++ return 1; ++#endif ++ if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) ++ return 1; ++ return 0; ++}], [gl_cv_func_printf_precision=yes], [gl_cv_func_printf_precision=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no only on native Win32 and BeOS systems. ++ mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;; ++ beos*) gl_cv_func_printf_precision="guessing no" ;; ++ *) gl_cv_func_printf_precision="guessing yes" ;; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:902: -1- AC_DEFUN([gl_PRINTF_ENOMEM], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_MULTIARCH]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf survives out-of-memory conditions], ++ [gl_cv_func_printf_enomem], ++ [ ++ gl_cv_func_printf_enomem="guessing no" ++ if test "$cross_compiling" = no; then ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ AC_LANG_CONFTEST([AC_LANG_SOURCE([ ++]GL_NOCRASH[ ++changequote(,)dnl ++#include ++#include ++#include ++#include ++#include ++int main() ++{ ++ struct rlimit limit; ++ int ret; ++ nocrash_init (); ++ /* Some printf implementations allocate temporary space with malloc. */ ++ /* On BSD systems, malloc() is limited by RLIMIT_DATA. */ ++#ifdef RLIMIT_DATA ++ if (getrlimit (RLIMIT_DATA, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_DATA, &limit) < 0) ++ return 77; ++#endif ++ /* On Linux systems, malloc() is limited by RLIMIT_AS. */ ++#ifdef RLIMIT_AS ++ if (getrlimit (RLIMIT_AS, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_AS, &limit) < 0) ++ return 77; ++#endif ++ /* Some printf implementations allocate temporary space on the stack. */ ++#ifdef RLIMIT_STACK ++ if (getrlimit (RLIMIT_STACK, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_STACK, &limit) < 0) ++ return 77; ++#endif ++ ret = printf ("%.5000000f", 1.0); ++ return !(ret == 5000002 || (ret < 0 && errno == ENOMEM)); ++} ++changequote([,])dnl ++ ])]) ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ (./conftest ++ result=$? ++ if test $result != 0 && test $result != 77; then result=1; fi ++ exit $result ++ ) >/dev/null 2>/dev/null ++ case $? in ++ 0) gl_cv_func_printf_enomem="yes" ;; ++ 77) gl_cv_func_printf_enomem="guessing no" ;; ++ *) gl_cv_func_printf_enomem="no" ;; ++ esac ++ else ++ gl_cv_func_printf_enomem="guessing no" ++ fi ++ rm -fr conftest* ++ else ++ dnl A universal build on Apple MacOS X platforms. ++ dnl The result would be 'no' in 32-bit mode and 'yes' in 64-bit mode. ++ dnl But we need a configuration result that is valid in both modes. ++ gl_cv_func_printf_enomem="guessing no" ++ fi ++ fi ++ if test "$gl_cv_func_printf_enomem" = "guessing no"; then ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on Solaris. ++ solaris*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on AIX. ++ aix*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on HP-UX/hppa. ++ hpux*) case "$host_cpu" in ++ hppa*) gl_cv_func_printf_enomem="guessing yes";; ++ *) gl_cv_func_printf_enomem="guessing no";; ++ esac ++ ;; ++ # Guess yes on IRIX. ++ irix*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on OSF/1. ++ osf*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on Haiku. ++ haiku*) gl_cv_func_printf_enomem="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_enomem="guessing no";; ++ esac ++changequote([,])dnl ++ fi ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:1018: -1- AC_DEFUN([gl_SNPRINTF_PRESENCE], [ ++ AC_CHECK_FUNCS_ONCE([snprintf]) ++]) ++m4trace:gnulib/m4/printf.m4:1027: -1- AC_DEFUN([gl_SNPRINTF_TRUNCATION_C99], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether snprintf truncates the result as in C99], ++ [gl_cv_func_snprintf_truncation_c99], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ strcpy (buf, "ABCDEF"); ++ snprintf (buf, 3, "%d %d", 4567, 89); ++ if (memcmp (buf, "45\0DEF", 6) != 0) ++ return 1; ++ return 0; ++}], [gl_cv_func_snprintf_truncation_c99=yes], [gl_cv_func_snprintf_truncation_c99=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ darwin*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_snprintf_truncation_c99="guessing no";; ++ openbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.6. ++ solaris2.[0-5]*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ solaris*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ aix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on IRIX >= 6.5. ++ irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on OSF/1 >= 5. ++ osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_snprintf_truncation_c99="guessing no";; ++ netbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:1104: -1- AC_DEFUN([gl_SNPRINTF_RETVAL_C99], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether snprintf returns a byte count as in C99], ++ [gl_cv_func_snprintf_retval_c99], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ strcpy (buf, "ABCDEF"); ++ if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) ++ return 1; ++ return 0; ++}], [gl_cv_func_snprintf_retval_c99=yes], [gl_cv_func_snprintf_retval_c99=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_snprintf_retval_c99="guessing no";; ++ openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.6. ++ solaris2.[0-5]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ solaris*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_snprintf_retval_c99="guessing no";; ++ netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_snprintf_retval_c99="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:1161: -1- AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive], ++ [gl_cv_func_snprintf_directive_n], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static char fmtstring[10]; ++static char buf[100]; ++int main () ++{ ++ int count = -1; ++ /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) ++ support %n in format strings in read-only memory but not in writable ++ memory. */ ++ strcpy (fmtstring, "%d %n"); ++ snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55); ++ if (count != 6) ++ return 1; ++ return 0; ++}], [gl_cv_func_snprintf_directive_n=yes], [gl_cv_func_snprintf_directive_n=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_snprintf_directive_n="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_snprintf_directive_n="guessing no";; ++ darwin*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on Solaris >= 2.6. ++ solaris2.[0-5]*) gl_cv_func_snprintf_directive_n="guessing no";; ++ solaris*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_snprintf_directive_n="guessing no";; ++ aix*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on IRIX >= 6.5. ++ irix6.5) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on OSF/1 >= 5. ++ osf[3-4]*) gl_cv_func_snprintf_directive_n="guessing no";; ++ osf*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_snprintf_directive_n="guessing no";; ++ netbsd*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_snprintf_directive_n="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:1226: -1- AC_DEFUN([gl_SNPRINTF_SIZE1], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_CACHE_CHECK([whether snprintf respects a size of 1], ++ [gl_cv_func_snprintf_size1], ++ [ ++ AC_TRY_RUN([ ++#include ++int main() ++{ ++ static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ++ snprintf (buf, 1, "%d", 12345); ++ return buf[1] != 'E'; ++}], ++ [gl_cv_func_snprintf_size1=yes], ++ [gl_cv_func_snprintf_size1=no], ++ [gl_cv_func_snprintf_size1="guessing yes"]) ++ ]) ++]) ++m4trace:gnulib/m4/printf.m4:1282: -1- AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether vsnprintf respects a zero size as in C99], ++ [gl_cv_func_vsnprintf_zerosize_c99], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++static int my_snprintf (char *buf, int size, const char *format, ...) ++{ ++ va_list args; ++ int ret; ++ va_start (args, format); ++ ret = vsnprintf (buf, size, format, args); ++ va_end (args); ++ return ret; ++} ++int main() ++{ ++ static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ++ my_snprintf (buf, 0, "%d", 12345); ++ return buf[0] != 'D'; ++}], ++ [gl_cv_func_vsnprintf_zerosize_c99=yes], ++ [gl_cv_func_vsnprintf_zerosize_c99=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on Cygwin. ++ cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.6. ++ solaris2.[0-5]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on IRIX >= 6.5. ++ irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on mingw. ++ mingw* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:gnulib/m4/random_r.m4:7: -1- AC_DEFUN([gl_FUNC_RANDOM_R], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_CHECK_FUNCS([random_r]) ++ if test $ac_cv_func_random_r = no; then ++ HAVE_RANDOM_R=0 ++ AC_LIBOBJ([random_r]) ++ gl_PREREQ_RANDOM_R ++ fi ++]) ++m4trace:gnulib/m4/random_r.m4:19: -1- AC_DEFUN([gl_PREREQ_RANDOM_R], [ ++ : ++]) ++m4trace:gnulib/m4/realloc.m4:11: -1- AC_DEFUN([gl_FUNC_REALLOC_POSIX], [ ++ AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) ++ if test $gl_cv_func_malloc_posix = yes; then ++ HAVE_REALLOC_POSIX=1 ++ AC_DEFINE([HAVE_REALLOC_POSIX], [1], ++ [Define if the 'realloc' function is POSIX compliant.]) ++ else ++ AC_LIBOBJ([realloc]) ++ HAVE_REALLOC_POSIX=0 ++ fi ++ AC_SUBST([HAVE_REALLOC_POSIX]) ++]) ++m4trace:gnulib/m4/select.m4:7: -1- AC_DEFUN([gl_FUNC_SELECT], [ ++ AC_REQUIRE([gl_HEADER_SYS_SELECT]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ AC_LIBOBJ([select]) ++ else ++ dnl On Interix 3.5, select(0, NULL, NULL, NULL, timeout) fails with error ++ dnl EFAULT. ++ AC_CHECK_HEADERS_ONCE([sys/select.h]) ++ AC_CACHE_CHECK([whether select supports a 0 argument], ++ [gl_cv_func_select_supports0], ++ [ ++ AC_TRY_RUN([ ++#include ++#include ++#if HAVE_SYS_SELECT_H ++#include ++#endif ++int main () ++{ ++ struct timeval timeout; ++ timeout.tv_sec = 0; ++ timeout.tv_usec = 5; ++ return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; ++}], [gl_cv_func_select_supports0=yes], [gl_cv_func_select_supports0=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on Interix. ++ interix*) gl_cv_func_select_supports0="guessing no";; ++ # Guess yes otherwise. ++ *) gl_cv_func_select_supports0="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++ case "$gl_cv_func_select_supports0" in ++ *yes) ;; ++ *) ++ REPLACE_SELECT=1 ++ AC_LIBOBJ([select]) ++ ;; ++ esac ++ fi ++]) ++m4trace:gnulib/m4/servent.m4:7: -1- AC_DEFUN([gl_SERVENT], [ ++ dnl Where are getservent(), setservent(), endservent(), getservbyname(), ++ dnl getservbyport() defined? ++ dnl Where are getprotoent(), setprotoent(), endprotoent(), getprotobyname(), ++ dnl getprotobynumber() defined? ++ dnl - On Solaris, they are in libsocket. Ignore libxnet. ++ dnl - On Haiku, they are in libnetwork. ++ dnl - On BeOS, they are in libnet. ++ dnl - On native Windows, they are in ws2_32.dll. ++ dnl - Otherwise they are in libc. ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H ++ SERVENT_LIB= ++ gl_saved_libs="$LIBS" ++ AC_SEARCH_LIBS([getservbyname], [socket network net], ++ [if test "$ac_cv_search_getservbyname" != "none required"; then ++ SERVENT_LIB="$ac_cv_search_getservbyname" ++ fi]) ++ LIBS="$gl_saved_libs" ++ if test -z "$SERVENT_LIB"; then ++ AC_CHECK_FUNCS([getservbyname], , [ ++ AC_CACHE_CHECK([for getservbyname in winsock2.h and -lws2_32], ++ [gl_cv_w32_getservbyname], ++ [gl_cv_w32_getservbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ AC_TRY_LINK([ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++], [getservbyname(NULL,NULL);], [gl_cv_w32_getservbyname=yes]) ++ LIBS="$gl_save_LIBS" ++ ]) ++ if test "$gl_cv_w32_getservbyname" = "yes"; then ++ SERVENT_LIB="-lws2_32" ++ fi ++ ]) ++ fi ++ AC_SUBST([SERVENT_LIB]) ++]) ++m4trace:gnulib/m4/snprintf.m4:7: -1- AC_DEFUN([gl_FUNC_SNPRINTF], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ gl_cv_func_snprintf_usable=no ++ AC_CHECK_FUNCS([snprintf]) ++ if test $ac_cv_func_snprintf = yes; then ++ gl_SNPRINTF_SIZE1 ++ case "$gl_cv_func_snprintf_size1" in ++ *yes) ++ gl_cv_func_snprintf_usable=yes ++ ;; ++ esac ++ fi ++ if test $gl_cv_func_snprintf_usable = no; then ++ gl_REPLACE_SNPRINTF ++ fi ++ AC_CHECK_DECLS_ONCE([snprintf]) ++ if test $ac_cv_have_decl_snprintf = no; then ++ HAVE_DECL_SNPRINTF=0 ++ fi ++]) ++m4trace:gnulib/m4/snprintf.m4:29: -1- AC_DEFUN([gl_REPLACE_SNPRINTF], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_LIBOBJ([snprintf]) ++ if test $ac_cv_func_snprintf = yes; then ++ REPLACE_SNPRINTF=1 ++ fi ++ gl_PREREQ_SNPRINTF ++]) ++m4trace:gnulib/m4/snprintf.m4:40: -1- AC_DEFUN([gl_PREREQ_SNPRINTF], [:]) ++m4trace:gnulib/m4/sockets.m4:7: -1- AC_DEFUN([gl_SOCKETS], [ ++ AC_REQUIRE([AC_C_INLINE]) ++ ++ gl_PREREQ_SYS_H_WINSOCK2 dnl for HAVE_WINSOCK2_H ++ LIBSOCKET= ++ if test $HAVE_WINSOCK2_H = 1; then ++ dnl Native Windows API (not Cygwin). ++ AC_CACHE_CHECK([if we need to call WSAStartup in winsock2.h and -lws2_32], ++ [gl_cv_func_wsastartup], [ ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ AC_TRY_LINK([ ++#ifdef HAVE_WINSOCK2_H ++# include ++#endif], [ ++ WORD wVersionRequested = MAKEWORD(1, 1); ++ WSADATA wsaData; ++ int err = WSAStartup(wVersionRequested, &wsaData); ++ WSACleanup ();], ++ gl_cv_func_wsastartup=yes, gl_cv_func_wsastartup=no) ++ LIBS="$gl_save_LIBS" ++ ]) ++ if test "$gl_cv_func_wsastartup" = "yes"; then ++ AC_DEFINE([WINDOWS_SOCKETS], [1], [Define if WSAStartup is needed.]) ++ LIBSOCKET='-lws2_32' ++ fi ++ else ++ dnl Unix API. ++ dnl Solaris has most socket functions in libsocket. ++ dnl Haiku has most socket functions in libnetwork. ++ dnl BeOS has most socket functions in libnet. ++ AC_CACHE_CHECK([for library containing setsockopt], [gl_cv_lib_socket], [ ++ gl_cv_lib_socket= ++ AC_TRY_LINK([extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt();], [setsockopt();], ++ [], ++ [gl_save_LIBS="$LIBS" ++ LIBS="$gl_save_LIBS -lsocket" ++ AC_TRY_LINK([extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt();], [setsockopt();], ++ [gl_cv_lib_socket="-lsocket"]) ++ if test -z "$gl_cv_lib_socket"; then ++ LIBS="$gl_save_LIBS -lnetwork" ++ AC_TRY_LINK([extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt();], [setsockopt();], ++ [gl_cv_lib_socket="-lnetwork"]) ++ if test -z "$gl_cv_lib_socket"; then ++ LIBS="$gl_save_LIBS -lnet" ++ AC_TRY_LINK([extern ++#ifdef __cplusplus ++"C" ++#endif ++char setsockopt();], [setsockopt();], ++ [gl_cv_lib_socket="-lnet"]) ++ fi ++ fi ++ LIBS="$gl_save_LIBS" ++ ]) ++ if test -z "$gl_cv_lib_socket"; then ++ gl_cv_lib_socket="none needed" ++ fi ++ ]) ++ if test "$gl_cv_lib_socket" != "none needed"; then ++ LIBSOCKET="$gl_cv_lib_socket" ++ fi ++ fi ++ AC_SUBST([LIBSOCKET]) ++ gl_PREREQ_SOCKETS ++]) ++m4trace:gnulib/m4/sockets.m4:88: -1- AC_DEFUN([gl_PREREQ_SOCKETS], [ ++ : ++]) ++m4trace:gnulib/m4/socklen.m4:18: -1- AC_DEFUN([gl_TYPE_SOCKLEN_T], [AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl ++ AC_CHECK_TYPE([socklen_t], , ++ [AC_MSG_CHECKING([for socklen_t equivalent]) ++ AC_CACHE_VAL([gl_cv_socklen_t_equiv], ++ [# Systems have either "struct sockaddr *" or ++ # "void *" as the second argument to getpeername ++ gl_cv_socklen_t_equiv= ++ for arg2 in "struct sockaddr" void; do ++ for t in int size_t "unsigned int" "long int" "unsigned long int"; do ++ AC_TRY_COMPILE( ++ [#include ++ #include ++ ++ int getpeername (int, $arg2 *, $t *);], ++ [$t len; ++ getpeername (0, 0, &len);], ++ [gl_cv_socklen_t_equiv="$t"]) ++ test "$gl_cv_socklen_t_equiv" != "" && break ++ done ++ test "$gl_cv_socklen_t_equiv" != "" && break ++ done ++ ]) ++ if test "$gl_cv_socklen_t_equiv" = ""; then ++ AC_MSG_ERROR([Cannot find a type to use in place of socklen_t]) ++ fi ++ AC_MSG_RESULT([$gl_cv_socklen_t_equiv]) ++ AC_DEFINE_UNQUOTED([socklen_t], [$gl_cv_socklen_t_equiv], ++ [type to use in place of socklen_t if not defined])], ++ [#include ++ #if HAVE_SYS_SOCKET_H ++ # include ++ #elif HAVE_WS2TCPIP_H ++ # include ++ #endif])]) ++m4trace:gnulib/m4/sockpfaf.m4:14: -1- AC_DEFUN([gl_SOCKET_FAMILIES], [ ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_CHECK_HEADERS_ONCE([netinet/in.h]) ++ ++ AC_MSG_CHECKING([for IPv4 sockets]) ++ AC_CACHE_VAL([gl_cv_socket_ipv4], ++ [AC_TRY_COMPILE([#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include ++#endif ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif], ++[int x = AF_INET; struct in_addr y; struct sockaddr_in z; ++ if (&x && &y && &z) return 0;], ++ gl_cv_socket_ipv4=yes, gl_cv_socket_ipv4=no)]) ++ AC_MSG_RESULT([$gl_cv_socket_ipv4]) ++ if test $gl_cv_socket_ipv4 = yes; then ++ AC_DEFINE([HAVE_IPV4], [1], [Define to 1 if defines AF_INET.]) ++ fi ++ ++ AC_MSG_CHECKING([for IPv6 sockets]) ++ AC_CACHE_VAL([gl_cv_socket_ipv6], ++ [AC_TRY_COMPILE([#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include ++#endif ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif], ++[int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; ++ if (&x && &y && &z) return 0;], ++ gl_cv_socket_ipv6=yes, gl_cv_socket_ipv6=no)]) ++ AC_MSG_RESULT([$gl_cv_socket_ipv6]) ++ if test $gl_cv_socket_ipv6 = yes; then ++ AC_DEFINE([HAVE_IPV6], [1], [Define to 1 if defines AF_INET6.]) ++ fi ++]) ++m4trace:gnulib/m4/stdbool.m4:10: -1- AC_DEFUN([AM_STDBOOL_H], [ ++ AC_REQUIRE([AC_HEADER_STDBOOL]) ++ ++ # Define two additional variables used in the Makefile substitution. ++ ++ if test "$ac_cv_header_stdbool_h" = yes; then ++ STDBOOL_H='' ++ else ++ STDBOOL_H='stdbool.h' ++ fi ++ AC_SUBST([STDBOOL_H]) ++ ++ if test "$ac_cv_type__Bool" = yes; then ++ HAVE__BOOL=1 ++ else ++ HAVE__BOOL=0 ++ fi ++ AC_SUBST([HAVE__BOOL]) ++]) ++m4trace:gnulib/m4/stdbool.m4:32: -1- AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H]) ++m4trace:gnulib/m4/stdbool.m4:37: -1- AC_DEFUN([AC_HEADER_STDBOOL], [AC_CACHE_CHECK([for stdbool.h that conforms to C99], ++ [ac_cv_header_stdbool_h], ++ [AC_TRY_COMPILE( ++ [ ++ #include ++ #ifndef bool ++ "error: bool is not defined" ++ #endif ++ #ifndef false ++ "error: false is not defined" ++ #endif ++ #if false ++ "error: false is not 0" ++ #endif ++ #ifndef true ++ "error: true is not defined" ++ #endif ++ #if true != 1 ++ "error: true is not 1" ++ #endif ++ #ifndef __bool_true_false_are_defined ++ "error: __bool_true_false_are_defined is not defined" ++ #endif ++ ++ struct s { _Bool s: 1; _Bool t; } s; ++ ++ char a[true == 1 ? 1 : -1]; ++ char b[false == 0 ? 1 : -1]; ++ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; ++ char d[(bool) 0.5 == true ? 1 : -1]; ++ bool e = &s; ++ char f[(_Bool) 0.0 == false ? 1 : -1]; ++ char g[true]; ++ char h[sizeof (_Bool)]; ++ char i[sizeof s.t]; ++ enum { j = false, k = true, l = false * true, m = true * 256 }; ++ _Bool n[m]; ++ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; ++ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; ++ #if defined __xlc__ || defined __GNUC__ ++ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 ++ reported by James Lemley on 2005-10-05; see ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html ++ This test is not quite right, since xlc is allowed to ++ reject this program, as the initializer for xlcbug is ++ not one of the forms that C requires support for. ++ However, doing the test right would require a run-time ++ test, and that would make cross-compilation harder. ++ Let us hope that IBM fixes the xlc bug, and also adds ++ support for this kind of constant expression. In the ++ meantime, this test will reject xlc, which is OK, since ++ our stdbool.h substitute should suffice. We also test ++ this with GCC, where it should work, to detect more ++ quickly whether someone messes up the test in the ++ future. */ ++ char digs[] = "0123456789"; ++ int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); ++ #endif ++ /* Catch a bug in an HP-UX C compiler. See ++ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html ++ */ ++ _Bool q = true; ++ _Bool *pq = &q; ++ ], ++ [ ++ *pq |= q; ++ *pq |= ! q; ++ /* Refer to every declared value, to avoid compiler optimizations. */ ++ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ++ + !m + !n + !o + !p + !q + !pq); ++ ], ++ [ac_cv_header_stdbool_h=yes], ++ [ac_cv_header_stdbool_h=no])]) ++ AC_CHECK_TYPES([_Bool]) ++ if test $ac_cv_header_stdbool_h = yes; then ++ AC_DEFINE([HAVE_STDBOOL_H], [1], [Define to 1 if stdbool.h conforms to C99.]) ++ fi]) ++m4trace:gnulib/m4/stdint.m4:10: -1- AC_DEFUN([gl_STDINT_H], [ ++ AC_PREREQ([2.59])dnl ++ ++ dnl Check for long long int and unsigned long long int. ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ if test $ac_cv_type_long_long_int = yes; then ++ HAVE_LONG_LONG_INT=1 ++ else ++ HAVE_LONG_LONG_INT=0 ++ fi ++ AC_SUBST([HAVE_LONG_LONG_INT]) ++ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ HAVE_UNSIGNED_LONG_LONG_INT=1 ++ else ++ HAVE_UNSIGNED_LONG_LONG_INT=0 ++ fi ++ AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) ++ ++ dnl Check for . ++ dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h. ++ if test $ac_cv_header_inttypes_h = yes; then ++ HAVE_INTTYPES_H=1 ++ else ++ HAVE_INTTYPES_H=0 ++ fi ++ AC_SUBST([HAVE_INTTYPES_H]) ++ ++ dnl Check for . ++ dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h. ++ if test $ac_cv_header_sys_types_h = yes; then ++ HAVE_SYS_TYPES_H=1 ++ else ++ HAVE_SYS_TYPES_H=0 ++ fi ++ AC_SUBST([HAVE_SYS_TYPES_H]) ++ ++ gl_CHECK_NEXT_HEADERS([stdint.h]) ++ if test $ac_cv_header_stdint_h = yes; then ++ HAVE_STDINT_H=1 ++ else ++ HAVE_STDINT_H=0 ++ fi ++ AC_SUBST([HAVE_STDINT_H]) ++ ++ dnl Now see whether we need a substitute . ++ if test $ac_cv_header_stdint_h = yes; then ++ AC_CACHE_CHECK([whether stdint.h conforms to C99], ++ [gl_cv_header_working_stdint_h], ++ [gl_cv_header_working_stdint_h=no ++ AC_COMPILE_IFELSE([ ++ AC_LANG_PROGRAM([[ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ ++#if !(defined WCHAR_MIN && defined WCHAR_MAX) ++#error "WCHAR_MIN, WCHAR_MAX not defined in " ++#endif ++] ++gl_STDINT_INCLUDES ++[ ++#ifdef INT8_MAX ++int8_t a1 = INT8_MAX; ++int8_t a1min = INT8_MIN; ++#endif ++#ifdef INT16_MAX ++int16_t a2 = INT16_MAX; ++int16_t a2min = INT16_MIN; ++#endif ++#ifdef INT32_MAX ++int32_t a3 = INT32_MAX; ++int32_t a3min = INT32_MIN; ++#endif ++#ifdef INT64_MAX ++int64_t a4 = INT64_MAX; ++int64_t a4min = INT64_MIN; ++#endif ++#ifdef UINT8_MAX ++uint8_t b1 = UINT8_MAX; ++#else ++typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; ++#endif ++#ifdef UINT16_MAX ++uint16_t b2 = UINT16_MAX; ++#endif ++#ifdef UINT32_MAX ++uint32_t b3 = UINT32_MAX; ++#endif ++#ifdef UINT64_MAX ++uint64_t b4 = UINT64_MAX; ++#endif ++int_least8_t c1 = INT8_C (0x7f); ++int_least8_t c1max = INT_LEAST8_MAX; ++int_least8_t c1min = INT_LEAST8_MIN; ++int_least16_t c2 = INT16_C (0x7fff); ++int_least16_t c2max = INT_LEAST16_MAX; ++int_least16_t c2min = INT_LEAST16_MIN; ++int_least32_t c3 = INT32_C (0x7fffffff); ++int_least32_t c3max = INT_LEAST32_MAX; ++int_least32_t c3min = INT_LEAST32_MIN; ++int_least64_t c4 = INT64_C (0x7fffffffffffffff); ++int_least64_t c4max = INT_LEAST64_MAX; ++int_least64_t c4min = INT_LEAST64_MIN; ++uint_least8_t d1 = UINT8_C (0xff); ++uint_least8_t d1max = UINT_LEAST8_MAX; ++uint_least16_t d2 = UINT16_C (0xffff); ++uint_least16_t d2max = UINT_LEAST16_MAX; ++uint_least32_t d3 = UINT32_C (0xffffffff); ++uint_least32_t d3max = UINT_LEAST32_MAX; ++uint_least64_t d4 = UINT64_C (0xffffffffffffffff); ++uint_least64_t d4max = UINT_LEAST64_MAX; ++int_fast8_t e1 = INT_FAST8_MAX; ++int_fast8_t e1min = INT_FAST8_MIN; ++int_fast16_t e2 = INT_FAST16_MAX; ++int_fast16_t e2min = INT_FAST16_MIN; ++int_fast32_t e3 = INT_FAST32_MAX; ++int_fast32_t e3min = INT_FAST32_MIN; ++int_fast64_t e4 = INT_FAST64_MAX; ++int_fast64_t e4min = INT_FAST64_MIN; ++uint_fast8_t f1 = UINT_FAST8_MAX; ++uint_fast16_t f2 = UINT_FAST16_MAX; ++uint_fast32_t f3 = UINT_FAST32_MAX; ++uint_fast64_t f4 = UINT_FAST64_MAX; ++#ifdef INTPTR_MAX ++intptr_t g = INTPTR_MAX; ++intptr_t gmin = INTPTR_MIN; ++#endif ++#ifdef UINTPTR_MAX ++uintptr_t h = UINTPTR_MAX; ++#endif ++intmax_t i = INTMAX_MAX; ++uintmax_t j = UINTMAX_MAX; ++ ++#include /* for CHAR_BIT */ ++#define TYPE_MINIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) ++#define TYPE_MAXIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) ++struct s { ++ int check_PTRDIFF: ++ PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) ++ && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ++ ? 1 : -1; ++ /* Detect bug in FreeBSD 6.0 / ia64. */ ++ int check_SIG_ATOMIC: ++ SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) ++ && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ++ ? 1 : -1; ++ int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; ++ int check_WCHAR: ++ WCHAR_MIN == TYPE_MINIMUM (wchar_t) ++ && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ++ ? 1 : -1; ++ /* Detect bug in mingw. */ ++ int check_WINT: ++ WINT_MIN == TYPE_MINIMUM (wint_t) ++ && WINT_MAX == TYPE_MAXIMUM (wint_t) ++ ? 1 : -1; ++ ++ /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ ++ int check_UINT8_C: ++ (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; ++ int check_UINT16_C: ++ (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; ++ ++ /* Detect bugs in OpenBSD 3.9 stdint.h. */ ++#ifdef UINT8_MAX ++ int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; ++#endif ++#ifdef UINT16_MAX ++ int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; ++#endif ++#ifdef UINT32_MAX ++ int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; ++#endif ++#ifdef UINT64_MAX ++ int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; ++#endif ++ int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; ++ int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; ++ int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; ++ int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; ++ int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; ++ int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; ++ int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; ++ int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; ++ int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; ++ int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; ++ int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; ++}; ++ ]])], ++ [dnl Determine whether the various *_MIN, *_MAX macros are usable ++ dnl in preprocessor expression. We could do it by compiling a test ++ dnl program for each of these macros. It is faster to run a program ++ dnl that inspects the macro expansion. ++ dnl This detects a bug on HP-UX 11.23/ia64. ++ AC_RUN_IFELSE([ ++ AC_LANG_PROGRAM([[ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++] ++gl_STDINT_INCLUDES ++[ ++#include ++#include ++#define MVAL(macro) MVAL1(macro) ++#define MVAL1(expression) #expression ++static const char *macro_values[] = ++ { ++#ifdef INT8_MAX ++ MVAL (INT8_MAX), ++#endif ++#ifdef INT16_MAX ++ MVAL (INT16_MAX), ++#endif ++#ifdef INT32_MAX ++ MVAL (INT32_MAX), ++#endif ++#ifdef INT64_MAX ++ MVAL (INT64_MAX), ++#endif ++#ifdef UINT8_MAX ++ MVAL (UINT8_MAX), ++#endif ++#ifdef UINT16_MAX ++ MVAL (UINT16_MAX), ++#endif ++#ifdef UINT32_MAX ++ MVAL (UINT32_MAX), ++#endif ++#ifdef UINT64_MAX ++ MVAL (UINT64_MAX), ++#endif ++ NULL ++ }; ++]], [[ ++ const char **mv; ++ for (mv = macro_values; *mv != NULL; mv++) ++ { ++ const char *value = *mv; ++ /* Test whether it looks like a cast expression. */ ++ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 ++ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 ++ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 ++ || strncmp (value, "((int)"/*)*/, 6) == 0 ++ || strncmp (value, "((signed short)"/*)*/, 15) == 0 ++ || strncmp (value, "((signed char)"/*)*/, 14) == 0) ++ return 1; ++ } ++ return 0; ++]])], ++ [gl_cv_header_working_stdint_h=yes], ++ [], ++ [dnl When cross-compiling, assume it works. ++ gl_cv_header_working_stdint_h=yes ++ ]) ++ ]) ++ ]) ++ fi ++ if test "$gl_cv_header_working_stdint_h" = yes; then ++ STDINT_H= ++ else ++ dnl Check for , and for ++ dnl (used in Linux libc4 >= 4.6.7 and libc5). ++ AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h]) ++ if test $ac_cv_header_sys_inttypes_h = yes; then ++ HAVE_SYS_INTTYPES_H=1 ++ else ++ HAVE_SYS_INTTYPES_H=0 ++ fi ++ AC_SUBST([HAVE_SYS_INTTYPES_H]) ++ if test $ac_cv_header_sys_bitypes_h = yes; then ++ HAVE_SYS_BITYPES_H=1 ++ else ++ HAVE_SYS_BITYPES_H=0 ++ fi ++ AC_SUBST([HAVE_SYS_BITYPES_H]) ++ ++ dnl Check for (missing in Linux uClibc when built without wide ++ dnl character support). ++ AC_CHECK_HEADERS_ONCE([wchar.h]) ++ ++ gl_STDINT_TYPE_PROPERTIES ++ STDINT_H=stdint.h ++ fi ++ AC_SUBST([STDINT_H]) ++]) ++m4trace:gnulib/m4/stdint.m4:305: -1- AC_DEFUN([gl_STDINT_BITSIZEOF], [ ++ dnl Use a shell loop, to avoid bloating configure, and ++ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into ++ dnl config.h.in, ++ dnl - extra AC_SUBST calls, so that the right substitutions are made. ++ m4_foreach_w([gltype], [$1], ++ [AH_TEMPLATE([BITSIZEOF_]translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), ++ [Define to the number of bits in type ']gltype['.])]) ++ for gltype in $1 ; do ++ AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}], ++ [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], ++ [$2 ++#include ], [result=unknown]) ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ]) ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ dnl Use a nonempty default, because some compilers, such as IRIX 5 cc, ++ dnl do a syntax check even on unused #if conditions and give an error ++ dnl on valid C code like this: ++ dnl #if 0 ++ dnl # if > 32 ++ dnl # endif ++ dnl #endif ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result]) ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ m4_foreach_w([gltype], [$1], ++ [AC_SUBST([BITSIZEOF_]translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ++]) ++m4trace:gnulib/m4/stdint.m4:343: -1- AC_DEFUN([gl_CHECK_TYPES_SIGNED], [ ++ dnl Use a shell loop, to avoid bloating configure, and ++ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into ++ dnl config.h.in, ++ dnl - extra AC_SUBST calls, so that the right substitutions are made. ++ m4_foreach_w([gltype], [$1], ++ [AH_TEMPLATE([HAVE_SIGNED_]translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), ++ [Define to 1 if ']gltype[' is a signed integer type.])]) ++ for gltype in $1 ; do ++ AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([$2[ ++ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])], ++ result=yes, result=no) ++ eval gl_cv_type_${gltype}_signed=\$result ++ ]) ++ eval result=\$gl_cv_type_${gltype}_signed ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ if test "$result" = yes; then ++ AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1]) ++ eval HAVE_SIGNED_${GLTYPE}=1 ++ else ++ eval HAVE_SIGNED_${GLTYPE}=0 ++ fi ++ done ++ m4_foreach_w([gltype], [$1], ++ [AC_SUBST([HAVE_SIGNED_]translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ++]) ++m4trace:gnulib/m4/stdint.m4:376: -1- AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], [ ++ dnl Use a shell loop, to avoid bloating configure, and ++ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into ++ dnl config.h.in, ++ dnl - extra AC_SUBST calls, so that the right substitutions are made. ++ m4_foreach_w([gltype], [$1], ++ [AH_TEMPLATE(translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX], ++ [Define to l, ll, u, ul, ull, etc., as suitable for ++ constants of type ']gltype['.])]) ++ for gltype in $1 ; do ++ AC_CACHE_CHECK([for $gltype integer literal suffix], ++ [gl_cv_type_${gltype}_suffix], ++ [eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([$2[ ++ extern $gltype foo; ++ extern $gltype1 foo;]])], ++ [eval gl_cv_type_${gltype}_suffix=\$glsuf]) ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done]) ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result]) ++ done ++ m4_foreach_w([gltype], [$1], ++ [AC_SUBST(translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])]) ++]) ++m4trace:gnulib/m4/stdint.m4:426: -1- AC_DEFUN([gl_STDINT_INCLUDES], [[ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++]]) ++m4trace:gnulib/m4/stdint.m4:442: -1- AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], [ ++ AC_REQUIRE([gl_MULTIARCH]) ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ gl_STDINT_BITSIZEOF([ptrdiff_t size_t], ++ [gl_STDINT_INCLUDES]) ++ fi ++ gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], ++ [gl_STDINT_INCLUDES]) ++ gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], ++ [gl_STDINT_INCLUDES]) ++ gl_cv_type_ptrdiff_t_signed=yes ++ gl_cv_type_size_t_signed=no ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], ++ [gl_STDINT_INCLUDES]) ++ fi ++ gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], ++ [gl_STDINT_INCLUDES]) ++]) ++m4trace:gnulib/m4/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [ ++ AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], ++ [AC_TRY_COMPILE( ++ [#include ++#include ], ++ [uintmax_t i = (uintmax_t) -1; return !i;], ++ [gl_cv_header_stdint_h=yes], ++ [gl_cv_header_stdint_h=no])]) ++ if test $gl_cv_header_stdint_h = yes; then ++ AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], ++ [Define if exists, doesn't clash with , ++ and declares uintmax_t. ]) ++ fi ++]) ++m4trace:gnulib/m4/stdio_h.m4:7: -1- AC_DEFUN([gl_STDIO_H], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ gl_CHECK_NEXT_HEADERS([stdio.h]) ++ dnl No need to create extra modules for these functions. Everyone who uses ++ dnl likely needs them. ++ GNULIB_FPRINTF=1 ++ GNULIB_PRINTF=1 ++ GNULIB_VFPRINTF=1 ++ GNULIB_VPRINTF=1 ++ GNULIB_FPUTC=1 ++ GNULIB_PUTC=1 ++ GNULIB_PUTCHAR=1 ++ GNULIB_FPUTS=1 ++ GNULIB_PUTS=1 ++ GNULIB_FWRITE=1 ++ dnl This ifdef is just an optimization, to avoid performing a configure ++ dnl check whose result is not used. It does not make the test of ++ dnl GNULIB_STDIO_H_SIGPIPE or GNULIB_SIGPIPE redundant. ++ m4_ifdef([gl_SIGNAL_SIGPIPE], [ ++ gl_SIGNAL_SIGPIPE ++ if test $gl_cv_header_signal_h_SIGPIPE != yes; then ++ REPLACE_STDIO_WRITE_FUNCS=1 ++ AC_LIBOBJ([stdio-write]) ++ fi ++ ]) ++]) ++m4trace:gnulib/m4/stdio_h.m4:35: -1- AC_DEFUN([gl_STDIO_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/stdio_h.m4:42: -1- AC_DEFUN([gl_STDIO_H_DEFAULTS], [ ++ GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF]) ++ GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX]) ++ GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF]) ++ GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX]) ++ GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF]) ++ GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX]) ++ GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF]) ++ GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX]) ++ GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF]) ++ GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX]) ++ GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF]) ++ GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX]) ++ GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF]) ++ GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF]) ++ GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF]) ++ GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF]) ++ GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) ++ GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN]) ++ GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN]) ++ GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK]) ++ GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO]) ++ GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL]) ++ GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO]) ++ GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH]) ++ GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE]) ++ GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE]) ++ GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC]) ++ GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC]) ++ GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR]) ++ GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS]) ++ GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS]) ++ GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE]) ++ GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM]) ++ GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE]) ++ GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR]) ++ GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) ++ REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF]) ++ REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF]) ++ REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF]) ++ REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF]) ++ REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF]) ++ HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF]) ++ REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF]) ++ HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF]) ++ REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF]) ++ REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF]) ++ HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF]) ++ REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF]) ++ HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF]) ++ REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF]) ++ HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF]) ++ REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF]) ++ HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) ++ REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF]) ++ REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN]) ++ REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN]) ++ HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO]) ++ REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO]) ++ REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK]) ++ HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO]) ++ REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO]) ++ REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL]) ++ REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH]) ++ REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE]) ++ HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) ++ REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE]) ++ HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM]) ++ HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE]) ++ REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE]) ++ REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR]) ++]) ++m4trace:gnulib/m4/stdio_h.m4:120: -1- AC_DEFUN([gl_STDIN_LARGE_OFFSET], [ ++ AC_CACHE_CHECK([whether stdin defaults to large file offsets], ++ [gl_cv_var_stdin_large_offset], ++ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], ++[[#if defined __SL64 && defined __SCLE /* cygwin */ ++ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making ++ fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and ++ it is easier to do a version check than building a runtime test. */ ++# include ++# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) ++ choke me ++# endif ++#endif]])], ++ [gl_cv_var_stdin_large_offset=yes], ++ [gl_cv_var_stdin_large_offset=no])]) ++]) ++m4trace:gnulib/m4/stdlib_h.m4:7: -1- AC_DEFUN([gl_STDLIB_H], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ gl_CHECK_NEXT_HEADERS([stdlib.h]) ++ AC_CHECK_HEADERS([random.h], [], [], [AC_INCLUDES_DEFAULT]) ++ if test $ac_cv_header_random_h = yes; then ++ HAVE_RANDOM_H=1 ++ else ++ HAVE_RANDOM_H=0 ++ fi ++ AC_SUBST([HAVE_RANDOM_H]) ++ AC_CHECK_TYPES([struct random_data], ++ [], [HAVE_STRUCT_RANDOM_DATA=0], ++ [[#include ++ #if HAVE_RANDOM_H ++ # include ++ #endif ++ ]]) ++]) ++m4trace:gnulib/m4/stdlib_h.m4:27: -1- AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/stdlib_h.m4:34: -1- AC_DEFUN([gl_STDLIB_H_DEFAULTS], [ ++ GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) ++ GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) ++ GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) ++ GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL]) ++ GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG]) ++ GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) ++ GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) ++ GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) ++ GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) ++ GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R]) ++ GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH]) ++ GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) ++ GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD]) ++ GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL]) ++ GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL]) ++ GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) ++ HAVE_CALLOC_POSIX=1; AC_SUBST([HAVE_CALLOC_POSIX]) ++ HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) ++ HAVE_MALLOC_POSIX=1; AC_SUBST([HAVE_MALLOC_POSIX]) ++ HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) ++ HAVE_REALLOC_POSIX=1; AC_SUBST([HAVE_REALLOC_POSIX]) ++ HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R]) ++ HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH]) ++ HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) ++ HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD]) ++ HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL]) ++ HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL]) ++ HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) ++ HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H]) ++ HAVE_UNSETENV=1; AC_SUBST([HAVE_UNSETENV]) ++ HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG]) ++ REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) ++ REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) ++ REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) ++ VOID_UNSETENV=0; AC_SUBST([VOID_UNSETENV]) ++]) ++m4trace:gnulib/m4/stpcpy.m4:7: -1- AC_DEFUN([gl_FUNC_STPCPY], [ ++ dnl Persuade glibc to declare stpcpy(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ dnl The stpcpy() declaration in lib/string.in.h uses 'restrict'. ++ AC_REQUIRE([AC_C_RESTRICT]) ++ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REPLACE_FUNCS([stpcpy]) ++ if test $ac_cv_func_stpcpy = no; then ++ HAVE_STPCPY=0 ++ gl_PREREQ_STPCPY ++ fi ++]) ++m4trace:gnulib/m4/stpcpy.m4:24: -1- AC_DEFUN([gl_PREREQ_STPCPY], [ ++ : ++]) ++m4trace:gnulib/m4/strdup.m4:9: -1- AC_DEFUN([gl_FUNC_STRDUP], [ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REPLACE_FUNCS([strdup]) ++ AC_CHECK_DECLS_ONCE([strdup]) ++ if test $ac_cv_have_decl_strdup = no; then ++ HAVE_DECL_STRDUP=0 ++ fi ++ gl_PREREQ_STRDUP ++]) ++m4trace:gnulib/m4/strdup.m4:20: -1- AC_DEFUN([gl_FUNC_STRDUP_POSIX], [ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) ++ if test $gl_cv_func_malloc_posix != yes; then ++ REPLACE_STRDUP=1 ++ AC_LIBOBJ([strdup]) ++ else ++ AC_REPLACE_FUNCS([strdup]) ++ fi ++ AC_CHECK_DECLS_ONCE([strdup]) ++ if test $ac_cv_have_decl_strdup = no; then ++ HAVE_DECL_STRDUP=0 ++ fi ++ gl_PREREQ_STRDUP ++]) ++m4trace:gnulib/m4/strdup.m4:38: -1- AC_DEFUN([gl_PREREQ_STRDUP], [:]) ++m4trace:gnulib/m4/strerror.m4:7: -1- AC_DEFUN([gl_FUNC_STRERROR], [ ++ AC_REQUIRE([gl_FUNC_STRERROR_SEPARATE]) ++ if test $REPLACE_STRERROR = 1; then ++ AC_LIBOBJ([strerror]) ++ AC_DEFINE_UNQUOTED([REPLACE_STRERROR], [$REPLACE_STRERROR], ++ [Define this to 1 if strerror is broken.]) ++ fi ++]) ++m4trace:gnulib/m4/strerror.m4:18: -1- AC_DEFUN([gl_FUNC_STRERROR_SEPARATE], [ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_HEADER_ERRNO_H]) ++ if test -z "$ERRNO_H"; then ++ AC_CACHE_CHECK([for working strerror function], ++ [gl_cv_func_working_strerror], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[return !*strerror (-2);]])], ++ [gl_cv_func_working_strerror=yes], ++ [gl_cv_func_working_strerror=no], ++ [dnl Assume crossbuild works if it compiles. ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[return !*strerror (-2);]])], ++ [gl_cv_func_working_strerror=yes], ++ [gl_cv_func_working_strerror=no]) ++ ]) ++ ]) ++ if test $gl_cv_func_working_strerror = no; then ++ dnl The system's strerror() fails to return a string for out-of-range ++ dnl integers. Replace it. ++ REPLACE_STRERROR=1 ++ fi ++ else ++ dnl The system's strerror() cannot know about the new errno values we add ++ dnl to . Replace it. ++ REPLACE_STRERROR=1 ++ fi ++ if test $REPLACE_STRERROR = 1; then ++ gl_PREREQ_STRERROR ++ fi ++]) ++m4trace:gnulib/m4/strerror.m4:58: -1- AC_DEFUN([gl_PREREQ_STRERROR], [ ++ AC_CHECK_DECLS([strerror]) ++ AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++ if test $ac_cv_header_sys_socket_h != yes; then ++ dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make ++ dnl the check for those headers unconditional; yet cygwin reports ++ dnl that the headers are present but cannot be compiled (since on ++ dnl cygwin, all socket information should come from sys/socket.h). ++ AC_CHECK_HEADERS([winsock2.h]) ++ fi ++]) ++m4trace:gnulib/m4/string_h.m4:12: -1- AC_DEFUN([gl_HEADER_STRING_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_HEADER_STRING_H_BODY]) ++]) ++m4trace:gnulib/m4/string_h.m4:19: -1- AC_DEFUN([gl_HEADER_STRING_H_BODY], [ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ gl_CHECK_NEXT_HEADERS([string.h]) ++]) ++m4trace:gnulib/m4/string_h.m4:26: -1- AC_DEFUN([gl_STRING_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/string_h.m4:33: -1- AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], [ ++ GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR]) ++ GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM]) ++ GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY]) ++ GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR]) ++ GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR]) ++ GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY]) ++ GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY]) ++ GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL]) ++ GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP]) ++ GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP]) ++ GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN]) ++ GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK]) ++ GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP]) ++ GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR]) ++ GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR]) ++ GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R]) ++ GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN]) ++ GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN]) ++ GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR]) ++ GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR]) ++ GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR]) ++ GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP]) ++ GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP]) ++ GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP]) ++ GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR]) ++ GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN]) ++ GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK]) ++ GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN]) ++ GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP]) ++ GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R]) ++ GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR]) ++ GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL]) ++ GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM]) ++ HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY]) ++ HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR]) ++ HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR]) ++ HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY]) ++ HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY]) ++ HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL]) ++ HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP]) ++ HAVE_STRNDUP=1; AC_SUBST([HAVE_STRNDUP]) ++ HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP]) ++ HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN]) ++ HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK]) ++ HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP]) ++ HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR]) ++ HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R]) ++ HAVE_DECL_STRERROR=1; AC_SUBST([HAVE_DECL_STRERROR]) ++ HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL]) ++ HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP]) ++ REPLACE_MEMCHR=0; AC_SUBST([REPLACE_MEMCHR]) ++ REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM]) ++ REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP]) ++ REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR]) ++ REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR]) ++ REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR]) ++ REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL]) ++]) ++m4trace:gnulib/m4/strndup.m4:7: -1- AC_DEFUN([gl_FUNC_STRNDUP], [ ++ dnl Persuade glibc to declare strndup(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_CHECK_DECLS_ONCE([strndup]) ++ if test $ac_cv_have_decl_strndup = no; then ++ HAVE_DECL_STRNDUP=0 ++ fi ++ ++ # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. ++ AC_CACHE_CHECK([for working strndup], [gl_cv_func_strndup], ++ [AC_RUN_IFELSE([ ++ AC_LANG_PROGRAM([[#include ++ #include ]], [[ ++#ifndef HAVE_DECL_STRNDUP ++ extern char *strndup (const char *, size_t); ++#endif ++ char *s; ++ s = strndup ("some longer string", 15); ++ free (s); ++ s = strndup ("shorter string", 13); ++ return s[13] != '\0';]])], ++ [gl_cv_func_strndup=yes], ++ [gl_cv_func_strndup=no], ++ [AC_CHECK_FUNC([strndup], ++ [AC_EGREP_CPP([too risky], [ ++#ifdef _AIX ++ too risky ++#endif ++ ], ++ [gl_cv_func_strndup=no], ++ [gl_cv_func_strndup=yes])], ++ [gl_cv_func_strndup=no])])]) ++ if test $gl_cv_func_strndup = yes; then ++ AC_DEFINE([HAVE_STRNDUP], [1], ++ [Define if you have the strndup() function and it works.]) ++ else ++ HAVE_STRNDUP=0 ++ AC_LIBOBJ([strndup]) ++ gl_PREREQ_STRNDUP ++ fi ++]) ++m4trace:gnulib/m4/strndup.m4:53: -1- AC_DEFUN([gl_PREREQ_STRNDUP], [:]) ++m4trace:gnulib/m4/strnlen.m4:7: -1- AC_DEFUN([gl_FUNC_STRNLEN], [ ++ dnl Persuade glibc to declare strnlen(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_CHECK_DECLS_ONCE([strnlen]) ++ if test $ac_cv_have_decl_strnlen = no; then ++ HAVE_DECL_STRNLEN=0 ++ fi ++ ++ AC_FUNC_STRNLEN ++ if test $ac_cv_func_strnlen_working = no; then ++ # This is necessary because automake-1.6.1 doesn't understand ++ # that the above use of AC_FUNC_STRNLEN means we may have to use ++ # lib/strnlen.c. ++ #AC_LIBOBJ([strnlen]) ++ AC_DEFINE([strnlen], [rpl_strnlen], ++ [Define to rpl_strnlen if the replacement function should be used.]) ++ gl_PREREQ_STRNLEN ++ fi ++]) ++m4trace:gnulib/m4/strnlen.m4:31: -1- AC_DEFUN([gl_PREREQ_STRNLEN], [:]) ++m4trace:gnulib/m4/strsep.m4:7: -1- AC_DEFUN([gl_FUNC_STRSEP], [ ++ dnl Persuade glibc to declare strsep(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ dnl The strsep() declaration in lib/string.in.h uses 'restrict'. ++ AC_REQUIRE([AC_C_RESTRICT]) ++ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REPLACE_FUNCS([strsep]) ++ if test $ac_cv_func_strsep = no; then ++ HAVE_STRSEP=0 ++ gl_PREREQ_STRSEP ++ fi ++]) ++m4trace:gnulib/m4/strsep.m4:24: -1- AC_DEFUN([gl_PREREQ_STRSEP], [:]) ++m4trace:gnulib/m4/sys_ioctl_h.m4:9: -1- AC_DEFUN([gl_SYS_IOCTL_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS]) ++ ++ AC_CHECK_HEADERS_ONCE([sys/ioctl.h]) ++ if test $ac_cv_header_sys_ioctl_h = yes; then ++ HAVE_SYS_IOCTL_H=1 ++ dnl Test whether declares ioctl(), or whether some other ++ dnl header file, such as or , is needed for that. ++ AC_CACHE_CHECK([whether declares ioctl], ++ [gl_cv_decl_ioctl_in_sys_ioctl_h], ++ [dnl We cannot use AC_CHECK_DECL because it produces its own messages. ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [AC_INCLUDES_DEFAULT([#include ])], ++ [(void) ioctl;])], ++ [gl_cv_decl_ioctl_in_sys_ioctl_h=yes], ++ [gl_cv_decl_ioctl_in_sys_ioctl_h=no]) ++ ]) ++ 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 ++ AC_SUBST([HAVE_SYS_IOCTL_H]) ++ dnl Execute this unconditionally, because SYS_IOCTL_H may be set by other ++ dnl modules, after this code is executed. ++ gl_CHECK_NEXT_HEADERS([sys/ioctl.h]) ++]) ++m4trace:gnulib/m4/sys_ioctl_h.m4:44: -1- AC_DEFUN([gl_REPLACE_SYS_IOCTL_H], [ ++ AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS]) ++ SYS_IOCTL_H='sys/ioctl.h' ++]) ++m4trace:gnulib/m4/sys_ioctl_h.m4:50: -1- AC_DEFUN([gl_SYS_IOCTL_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/sys_ioctl_h.m4:57: -1- AC_DEFUN([gl_SYS_IOCTL_H_DEFAULTS], [ ++ GNULIB_IOCTL=0; AC_SUBST([GNULIB_IOCTL]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=0; AC_SUBST([SYS_IOCTL_H_HAVE_WINSOCK2_H]) ++ SYS_IOCTL_H=''; AC_SUBST([SYS_IOCTL_H]) ++]) ++m4trace:gnulib/m4/sys_select_h.m4:7: -1- AC_DEFUN([gl_HEADER_SYS_SELECT], [ ++ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) ++ AC_CACHE_CHECK([whether is self-contained], ++ [gl_cv_header_sys_select_h_selfcontained], ++ [ ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], ++ [[struct timeval b;]])], ++ [gl_cv_header_sys_select_h_selfcontained=yes], ++ [gl_cv_header_sys_select_h_selfcontained=no]) ++ ]) ++ if test $gl_cv_header_sys_select_h_selfcontained = yes; then ++ SYS_SELECT_H='' ++ else ++ SYS_SELECT_H='sys/select.h' ++ gl_CHECK_NEXT_HEADERS([sys/select.h]) ++ if test $ac_cv_header_sys_select_h = yes; then ++ HAVE_SYS_SELECT_H=1 ++ else ++ HAVE_SYS_SELECT_H=0 ++ fi ++ AC_SUBST([HAVE_SYS_SELECT_H]) ++ gl_PREREQ_SYS_H_WINSOCK2 ++ fi ++ AC_SUBST([SYS_SELECT_H]) ++]) ++m4trace:gnulib/m4/sys_select_h.m4:35: -1- AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/sys_select_h.m4:42: -1- AC_DEFUN([gl_SYS_SELECT_H_DEFAULTS], [ ++ GNULIB_SELECT=0; AC_SUBST([GNULIB_SELECT]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ REPLACE_SELECT=0; AC_SUBST([REPLACE_SELECT]) ++]) ++m4trace:gnulib/m4/sys_socket_h.m4:9: -1- AC_DEFUN([gl_HEADER_SYS_SOCKET], [ ++ AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) ++ AC_REQUIRE([AC_C_INLINE]) ++ ++ AC_CACHE_CHECK([whether is self-contained], ++ [gl_cv_header_sys_socket_h_selfcontained], ++ [ ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], ++ [gl_cv_header_sys_socket_h_selfcontained=yes], ++ [gl_cv_header_sys_socket_h_selfcontained=no]) ++ ]) ++ if test $gl_cv_header_sys_socket_h_selfcontained = yes; then ++ SYS_SOCKET_H='' ++ dnl If the shutdown function exists, should define ++ dnl SHUT_RD, SHUT_WR, SHUT_RDWR. ++ AC_CHECK_FUNCS([shutdown]) ++ if test $ac_cv_func_shutdown = yes; then ++ AC_CACHE_CHECK([whether defines the SHUT_* macros], ++ [gl_cv_header_sys_socket_h_shut], ++ [ ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[#include ]], ++ [[int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };]])], ++ [gl_cv_header_sys_socket_h_shut=yes], ++ [gl_cv_header_sys_socket_h_shut=no]) ++ ]) ++ if test $gl_cv_header_sys_socket_h_shut = no; then ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ fi ++ else ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ # We need to check for ws2tcpip.h now. ++ gl_PREREQ_SYS_H_SOCKET ++ AC_CHECK_TYPES([struct sockaddr_storage, sa_family_t],,,[ ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++]) ++ if test $ac_cv_type_struct_sockaddr_storage = no; then ++ HAVE_STRUCT_SOCKADDR_STORAGE=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test $ac_cv_type_sa_family_t = no; then ++ HAVE_SA_FAMILY_T=0 ++ SYS_SOCKET_H='sys/socket.h' ++ fi ++ if test -n "$SYS_SOCKET_H"; then ++ gl_PREREQ_SYS_H_WINSOCK2 ++ fi ++ AC_SUBST([SYS_SOCKET_H]) ++]) ++m4trace:gnulib/m4/sys_socket_h.m4:71: -1- AC_DEFUN([gl_PREREQ_SYS_H_SOCKET], [ ++ dnl Check prerequisites of the replacement. ++ gl_CHECK_NEXT_HEADERS([sys/socket.h]) ++ if test $ac_cv_header_sys_socket_h = yes; then ++ HAVE_SYS_SOCKET_H=1 ++ HAVE_WS2TCPIP_H=0 ++ else ++ HAVE_SYS_SOCKET_H=0 ++ dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make ++ dnl the check for those headers unconditional; yet cygwin reports ++ dnl that the headers are present but cannot be compiled (since on ++ dnl cygwin, all socket information should come from sys/socket.h). ++ AC_CHECK_HEADERS([ws2tcpip.h]) ++ if test $ac_cv_header_ws2tcpip_h = yes; then ++ HAVE_WS2TCPIP_H=1 ++ else ++ HAVE_WS2TCPIP_H=0 ++ fi ++ fi ++ AC_SUBST([HAVE_SYS_SOCKET_H]) ++ AC_SUBST([HAVE_WS2TCPIP_H]) ++]) ++m4trace:gnulib/m4/sys_socket_h.m4:98: -1- AC_DEFUN([gl_PREREQ_SYS_H_WINSOCK2], [ ++ m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) ++ m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) ++ AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++ if test $ac_cv_header_sys_socket_h != yes; then ++ dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make ++ dnl the check for those headers unconditional; yet cygwin reports ++ dnl that the headers are present but cannot be compiled (since on ++ dnl cygwin, all socket information should come from sys/socket.h). ++ AC_CHECK_HEADERS([winsock2.h]) ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ AC_SUBST([HAVE_WINSOCK2_H]) ++]) ++m4trace:gnulib/m4/sys_socket_h.m4:120: -1- AC_DEFUN([gl_SYS_SOCKET_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/sys_socket_h.m4:127: -1- AC_DEFUN([gl_SYS_SOCKET_H_DEFAULTS], [ ++ GNULIB_SOCKET=0; AC_SUBST([GNULIB_SOCKET]) ++ GNULIB_CONNECT=0; AC_SUBST([GNULIB_CONNECT]) ++ GNULIB_ACCEPT=0; AC_SUBST([GNULIB_ACCEPT]) ++ GNULIB_BIND=0; AC_SUBST([GNULIB_BIND]) ++ GNULIB_GETPEERNAME=0; AC_SUBST([GNULIB_GETPEERNAME]) ++ GNULIB_GETSOCKNAME=0; AC_SUBST([GNULIB_GETSOCKNAME]) ++ GNULIB_GETSOCKOPT=0; AC_SUBST([GNULIB_GETSOCKOPT]) ++ GNULIB_LISTEN=0; AC_SUBST([GNULIB_LISTEN]) ++ GNULIB_RECV=0; AC_SUBST([GNULIB_RECV]) ++ GNULIB_SEND=0; AC_SUBST([GNULIB_SEND]) ++ GNULIB_RECVFROM=0; AC_SUBST([GNULIB_RECVFROM]) ++ GNULIB_SENDTO=0; AC_SUBST([GNULIB_SENDTO]) ++ GNULIB_SETSOCKOPT=0; AC_SUBST([GNULIB_SETSOCKOPT]) ++ GNULIB_SHUTDOWN=0; AC_SUBST([GNULIB_SHUTDOWN]) ++ HAVE_STRUCT_SOCKADDR_STORAGE=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE]) ++ HAVE_SA_FAMILY_T=1; AC_SUBST([HAVE_SA_FAMILY_T]) ++]) ++m4trace:gnulib/m4/sys_stat_h.m4:10: -1- AC_DEFUN([gl_HEADER_SYS_STAT_H], [ ++ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++ ++ dnl Check for lstat. Systems that lack it (mingw) also lack symlinks, so ++ dnl stat is a good replacement. ++ AC_CHECK_FUNCS_ONCE([lstat]) ++ if test $ac_cv_func_lstat = yes; then ++ HAVE_LSTAT=1 ++ else ++ HAVE_LSTAT=0 ++ fi ++ AC_SUBST([HAVE_LSTAT]) ++ ++ dnl For the mkdir substitute. ++ AC_REQUIRE([AC_C_INLINE]) ++ ++ dnl Check for broken stat macros. ++ AC_REQUIRE([AC_HEADER_STAT]) ++ ++ gl_CHECK_NEXT_HEADERS([sys/stat.h]) ++ SYS_STAT_H='sys/stat.h' ++ AC_SUBST([SYS_STAT_H]) ++ ++ dnl Define types that are supposed to be defined in or ++ dnl . ++ AC_CHECK_TYPE([nlink_t], [], ++ [AC_DEFINE([nlink_t], [int], ++ [Define to the type of st_nlink in struct stat, or a supertype.])], ++ [#include ++ #include ]) ++ ++]) ++m4trace:gnulib/m4/sys_stat_h.m4:44: -1- AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/sys_stat_h.m4:51: -1- AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], [ ++ GNULIB_LCHMOD=0; AC_SUBST([GNULIB_LCHMOD]) ++ GNULIB_LSTAT=0; AC_SUBST([GNULIB_LSTAT]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_LCHMOD=1; AC_SUBST([HAVE_LCHMOD]) ++ REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT]) ++ REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR]) ++]) ++m4trace:gnulib/m4/sys_time_h.m4:10: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H], [ ++ dnl Use AC_REQUIRE here, so that the REPLACE_GETTIMEOFDAY=0 statement ++ dnl below is expanded once only, before all REPLACE_GETTIMEOFDAY=1 ++ dnl statements that occur in other macros. ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H_BODY]) ++]) ++m4trace:gnulib/m4/sys_time_h.m4:18: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY], [ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ gl_CHECK_NEXT_HEADERS([sys/time.h]) ++ ++ if test $ac_cv_header_sys_time_h = yes; then ++ HAVE_SYS_TIME_H=1 ++ else ++ HAVE_SYS_TIME_H=0 ++ fi ++ AC_SUBST([HAVE_SYS_TIME_H]) ++ ++ AC_CACHE_CHECK([for struct timeval], [gl_cv_sys_struct_timeval], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#if HAVE_SYS_TIME_H ++ #include ++ #endif ++ #include ++ ]], ++ [[static struct timeval x; x.tv_sec = x.tv_usec;]])], ++ [gl_cv_sys_struct_timeval=yes], ++ [gl_cv_sys_struct_timeval=no])]) ++ if test $gl_cv_sys_struct_timeval = yes; then ++ HAVE_STRUCT_TIMEVAL=1 ++ else ++ HAVE_STRUCT_TIMEVAL=0 ++ fi ++ AC_SUBST([HAVE_STRUCT_TIMEVAL]) ++ ++ dnl Assume POSIX behavior unless another module says otherwise. ++ REPLACE_GETTIMEOFDAY=0 ++ AC_SUBST([REPLACE_GETTIMEOFDAY]) ++ if test $HAVE_SYS_TIME_H = 0 || test $HAVE_STRUCT_TIMEVAL = 0; then ++ SYS_TIME_H=sys/time.h ++ else ++ SYS_TIME_H= ++ fi ++ AC_SUBST([SYS_TIME_H]) ++]) ++m4trace:gnulib/m4/tempname.m4:10: -1- AC_DEFUN([gl_FUNC_GEN_TEMPNAME], [ ++ AC_REQUIRE([AC_SYS_LARGEFILE]) ++ ++ AC_LIBOBJ([tempname]) ++ gl_PREREQ_TEMPNAME ++]) ++m4trace:gnulib/m4/tempname.m4:19: -1- AC_DEFUN([gl_PREREQ_TEMPNAME], [ ++ : ++]) ++m4trace:gnulib/m4/time_h.m4:12: -1- AC_DEFUN([gl_HEADER_TIME_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_HEADER_TIME_H_BODY]) ++]) ++m4trace:gnulib/m4/time_h.m4:19: -1- AC_DEFUN([gl_HEADER_TIME_H_BODY], [ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ gl_CHECK_NEXT_HEADERS([time.h]) ++ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) ++]) ++m4trace:gnulib/m4/time_h.m4:27: -1- AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], [ ++ dnl If another module says to replace or to not replace, do that. ++ dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK; ++ dnl this lets maintainers check for portability. ++ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; AC_SUBST([REPLACE_LOCALTIME_R]) ++ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; AC_SUBST([REPLACE_NANOSLEEP]) ++ REPLACE_STRPTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_STRPTIME]) ++ REPLACE_TIMEGM=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TIMEGM]) ++]) ++m4trace:gnulib/m4/time_h.m4:41: -1- AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], [ ++ AC_CHECK_HEADERS_ONCE([sys/time.h]) ++ AC_CACHE_CHECK([for struct timespec in ], ++ [gl_cv_sys_struct_timespec_in_time_h], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], ++ [gl_cv_sys_struct_timespec_in_time_h=yes], ++ [gl_cv_sys_struct_timespec_in_time_h=no])]) ++ ++ TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then ++ TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ AC_CACHE_CHECK([for struct timespec in ], ++ [gl_cv_sys_struct_timespec_in_sys_time_h], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], ++ [gl_cv_sys_struct_timespec_in_sys_time_h=yes], ++ [gl_cv_sys_struct_timespec_in_sys_time_h=no])]) ++ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ fi ++ fi ++ AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC]) ++ AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) ++]) ++m4trace:gnulib/m4/time_r.m4:10: -1- AC_DEFUN([gl_TIME_R], [ ++ dnl Persuade glibc and Solaris to declare localtime_r. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ AC_REQUIRE([AC_C_RESTRICT]) ++ ++ AC_CACHE_CHECK([whether localtime_r is compatible with its POSIX signature], ++ [gl_cv_time_r_posix], ++ [AC_TRY_COMPILE( ++ [#include ], ++ [/* We don't need to append 'restrict's to the argument types, ++ even though the POSIX signature has the 'restrict's, ++ since C99 says they can't affect type compatibility. */ ++ struct tm * (*ptr) (time_t const *, struct tm *) = localtime_r; ++ if (ptr) return 0; ++ /* Check the return type is a pointer. On HP-UX 10 it is 'int'. */ ++ *localtime_r (0, 0);], ++ [gl_cv_time_r_posix=yes], ++ [gl_cv_time_r_posix=no])]) ++ if test $gl_cv_time_r_posix = yes; then ++ REPLACE_LOCALTIME_R=0 ++ else ++ REPLACE_LOCALTIME_R=1 ++ AC_LIBOBJ([time_r]) ++ gl_PREREQ_TIME_R ++ fi ++]) ++m4trace:gnulib/m4/time_r.m4:41: -1- AC_DEFUN([gl_PREREQ_TIME_R], [ ++ : ++]) ++m4trace:gnulib/m4/ungetc.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ ++ AC_CACHE_CHECK([whether ungetc works on arbitrary bytes], ++ [gl_cv_func_ungetc_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++#include ++ ]], [FILE *f; long l; ++ if (!(f = fopen ("conftest.tmp", "w+"))) return 1; ++ if (fputs ("abc", f) < 0) return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != 'b') return 4; ++ if (ungetc ('d', f) != 'd') return 5; ++ if (ftell (f) != 1) return 6; ++ if (fgetc (f) != 'd') return 7; ++ if (ftell (f) != 2) return 8; ++ if (fseek (f, 0, SEEK_CUR) != 0) return 9; ++ if (ftell (f) != 2) return 10; ++ if (fgetc (f) != 'c') return 11; ++ fclose (f); remove ("conftest.tmp");])], ++ [gl_cv_func_ungetc_works=yes], [gl_cv_func_ungetc_works=no], ++ [gl_cv_func_ungetc_works='guessing no']) ++ ]) ++ if test "$gl_cv_func_ungetc_works" != yes; then ++ AC_DEFINE([FUNC_UNGETC_BROKEN], [1], ++ [Define to 1 if ungetc is broken when used on arbitrary bytes.]) ++ fi ++]) ++m4trace:gnulib/m4/unistd_h.m4:9: -1- AC_DEFUN([gl_UNISTD_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ ++ gl_CHECK_NEXT_HEADERS([unistd.h]) ++ ++ AC_CHECK_HEADERS_ONCE([unistd.h]) ++ if test $ac_cv_header_unistd_h = yes; then ++ HAVE_UNISTD_H=1 ++ else ++ HAVE_UNISTD_H=0 ++ fi ++ AC_SUBST([HAVE_UNISTD_H]) ++]) ++m4trace:gnulib/m4/unistd_h.m4:26: -1- AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/unistd_h.m4:33: -1- AC_DEFUN([gl_UNISTD_H_DEFAULTS], [ ++ GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) ++ GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE]) ++ GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2]) ++ GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON]) ++ GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS]) ++ GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR]) ++ GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC]) ++ GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE]) ++ GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD]) ++ GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME]) ++ GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE]) ++ GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME]) ++ GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R]) ++ GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE]) ++ GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL]) ++ GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN]) ++ GNULIB_LINK=0; AC_SUBST([GNULIB_LINK]) ++ GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK]) ++ GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK]) ++ GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP]) ++ GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) ++ GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_DUP2=1; AC_SUBST([HAVE_DUP2]) ++ HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS]) ++ HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC]) ++ HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE]) ++ HAVE_GETDOMAINNAME=1; AC_SUBST([HAVE_GETDOMAINNAME]) ++ HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE]) ++ HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME]) ++ HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE]) ++ HAVE_GETUSERSHELL=1; AC_SUBST([HAVE_GETUSERSHELL]) ++ HAVE_LINK=1; AC_SUBST([HAVE_LINK]) ++ HAVE_READLINK=1; AC_SUBST([HAVE_READLINK]) ++ HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP]) ++ HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON]) ++ HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) ++ HAVE_OS_H=0; AC_SUBST([HAVE_OS_H]) ++ HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H]) ++ REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN]) ++ REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE]) ++ REPLACE_FCHDIR=0; AC_SUBST([REPLACE_FCHDIR]) ++ REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD]) ++ REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE]) ++ REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN]) ++ REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK]) ++ REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE]) ++ UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) ++]) ++m4trace:gnulib/m4/vasnprintf.m4:7: -1- AC_DEFUN([gl_FUNC_VASNPRINTF], [ ++ AC_CHECK_FUNCS_ONCE([vasnprintf]) ++ if test $ac_cv_func_vasnprintf = no; then ++ gl_REPLACE_VASNPRINTF ++ fi ++]) ++m4trace:gnulib/m4/vasnprintf.m4:15: -1- AC_DEFUN([gl_REPLACE_VASNPRINTF], [ ++ AC_CHECK_FUNCS_ONCE([vasnprintf]) ++ AC_LIBOBJ([vasnprintf]) ++ AC_LIBOBJ([printf-args]) ++ AC_LIBOBJ([printf-parse]) ++ AC_LIBOBJ([asnprintf]) ++ if test $ac_cv_func_vasnprintf = yes; then ++ AC_DEFINE([REPLACE_VASNPRINTF], [1], ++ [Define if vasnprintf exists but is overridden by gnulib.]) ++ fi ++ gl_PREREQ_PRINTF_ARGS ++ gl_PREREQ_PRINTF_PARSE ++ gl_PREREQ_VASNPRINTF ++ gl_PREREQ_ASNPRINTF ++]) ++m4trace:gnulib/m4/vasnprintf.m4:33: -1- AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [ ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ AC_REQUIRE([gt_TYPE_WCHAR_T]) ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++]) ++m4trace:gnulib/m4/vasnprintf.m4:41: -1- AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [ ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ AC_REQUIRE([gt_TYPE_WCHAR_T]) ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++ AC_REQUIRE([AC_TYPE_SIZE_T]) ++ AC_CHECK_TYPE([ptrdiff_t], , ++ [AC_DEFINE([ptrdiff_t], [long], ++ [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ++ ]) ++ AC_REQUIRE([gt_AC_TYPE_INTMAX_T]) ++]) ++m4trace:gnulib/m4/vasnprintf.m4:55: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [ ++ AC_REQUIRE([AC_FUNC_ALLOCA]) ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ AC_REQUIRE([gt_TYPE_WCHAR_T]) ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++ AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) ++ dnl Use the _snprintf function only if it is declared (because on NetBSD it ++ dnl is defined as a weak alias of snprintf; we prefer to use the latter). ++ AC_CHECK_DECLS([_snprintf], , , [#include ]) ++]) ++m4trace:gnulib/m4/vasnprintf.m4:69: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [ ++ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'long double' arguments.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:85: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE], [ ++ AC_REQUIRE([gl_PRINTF_INFINITE]) ++ case "$gl_cv_func_printf_infinite" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_INFINITE_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ infinite 'double' arguments.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:101: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE], [ ++ AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE]) ++ dnl There is no need to set NEED_PRINTF_INFINITE_LONG_DOUBLE if ++ dnl NEED_PRINTF_LONG_DOUBLE is already set. ++ AC_REQUIRE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE]) ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_infinite_long_double" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_INFINITE_LONG_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ infinite 'long double' arguments.]) ++ ;; ++ esac ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:123: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A], [ ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_A]) ++ case "$gl_cv_func_printf_directive_a" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], [1], ++ [Define if the vasnprintf implementation needs special code for ++ the 'a' and 'A' directives.]) ++ AC_CHECK_FUNCS([nl_langinfo]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:139: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F], [ ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_F]) ++ case "$gl_cv_func_printf_directive_f" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_DIRECTIVE_F], [1], ++ [Define if the vasnprintf implementation needs special code for ++ the 'F' directive.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:154: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LS], [ ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS]) ++ case "$gl_cv_func_printf_directive_ls" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_DIRECTIVE_LS], [1], ++ [Define if the vasnprintf implementation needs special code for ++ the 'ls' directive.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:169: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING], [ ++ AC_REQUIRE([gl_PRINTF_FLAG_GROUPING]) ++ case "$gl_cv_func_printf_flag_grouping" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], [1], ++ [Define if the vasnprintf implementation needs special code for the ++ ' flag.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:184: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST], [ ++ AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST]) ++ case "$gl_cv_func_printf_flag_leftadjust" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_FLAG_LEFTADJUST], [1], ++ [Define if the vasnprintf implementation needs special code for the ++ '-' flag.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:199: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ZERO], [ ++ AC_REQUIRE([gl_PRINTF_FLAG_ZERO]) ++ case "$gl_cv_func_printf_flag_zero" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_FLAG_ZERO], [1], ++ [Define if the vasnprintf implementation needs special code for the ++ 0 flag.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:214: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_PRECISION], [ ++ AC_REQUIRE([gl_PRINTF_PRECISION]) ++ case "$gl_cv_func_printf_precision" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_UNBOUNDED_PRECISION], [1], ++ [Define if the vasnprintf implementation needs special code for ++ supporting large precisions without arbitrary bounds.]) ++ AC_DEFINE([NEED_PRINTF_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'double' arguments.]) ++ AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'long double' arguments.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:236: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_ENOMEM], [ ++ AC_REQUIRE([gl_PRINTF_ENOMEM]) ++ case "$gl_cv_func_printf_enomem" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_ENOMEM], [1], ++ [Define if the vasnprintf implementation needs special code for ++ surviving out-of-memory conditions.]) ++ AC_DEFINE([NEED_PRINTF_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'double' arguments.]) ++ AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'long double' arguments.]) ++ ;; ++ esac ++]) ++m4trace:gnulib/m4/vasnprintf.m4:257: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_EXTRAS], [ ++ AC_REQUIRE([gl_PREREQ_VASNPRINTF]) ++ gl_PREREQ_VASNPRINTF_LONG_DOUBLE ++ gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE ++ gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_A ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_F ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_LS ++ gl_PREREQ_VASNPRINTF_FLAG_GROUPING ++ gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST ++ gl_PREREQ_VASNPRINTF_FLAG_ZERO ++ gl_PREREQ_VASNPRINTF_PRECISION ++ gl_PREREQ_VASNPRINTF_ENOMEM ++]) ++m4trace:gnulib/m4/vasnprintf.m4:274: -1- AC_DEFUN([gl_PREREQ_ASNPRINTF], [ ++]) ++m4trace:gnulib/m4/vasprintf.m4:7: -1- AC_DEFUN([gl_FUNC_VASPRINTF], [ ++ AC_CHECK_FUNCS([vasprintf]) ++ if test $ac_cv_func_vasprintf = no; then ++ gl_REPLACE_VASPRINTF ++ fi ++]) ++m4trace:gnulib/m4/vasprintf.m4:15: -1- AC_DEFUN([gl_REPLACE_VASPRINTF], [ ++ AC_LIBOBJ([vasprintf]) ++ AC_LIBOBJ([asprintf]) ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ if test $ac_cv_func_vasprintf = yes; then ++ REPLACE_VASPRINTF=1 ++ else ++ HAVE_VASPRINTF=0 ++ fi ++ gl_PREREQ_VASPRINTF_H ++ gl_PREREQ_VASPRINTF ++ gl_PREREQ_ASPRINTF ++]) ++m4trace:gnulib/m4/vasprintf.m4:31: -1- AC_DEFUN([gl_PREREQ_VASPRINTF_H], [ ++ dnl Persuade glibc to declare asprintf() and vasprintf(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++]) ++m4trace:gnulib/m4/vasprintf.m4:38: -1- AC_DEFUN([gl_PREREQ_VASPRINTF], [ ++]) ++m4trace:gnulib/m4/vasprintf.m4:43: -1- AC_DEFUN([gl_PREREQ_ASPRINTF], [ ++]) ++m4trace:gnulib/m4/wchar.m4:12: -1- AC_DEFUN([gl_WCHAR_H], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ AC_CACHE_CHECK([whether is standalone], ++ [gl_cv_header_wchar_h_standalone], ++ [AC_COMPILE_IFELSE([[#include ++wchar_t w;]], ++ [gl_cv_header_wchar_h_standalone=yes], ++ [gl_cv_header_wchar_h_standalone=no])]) ++ ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++ if test $gt_cv_c_wint_t = yes; then ++ HAVE_WINT_T=1 ++ else ++ HAVE_WINT_T=0 ++ fi ++ AC_SUBST([HAVE_WINT_T]) ++ ++ if test $gl_cv_header_wchar_h_standalone != yes || test $gt_cv_c_wint_t != yes; then ++ WCHAR_H=wchar.h ++ fi ++ ++ dnl Prepare for creating substitute . ++ dnl Do it always: WCHAR_H may be empty here but can be set later. ++ dnl Check for (missing in Linux uClibc when built without wide ++ dnl character support). ++ AC_CHECK_HEADERS_ONCE([wchar.h]) ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ AC_SUBST([HAVE_WCHAR_H]) ++ gl_CHECK_NEXT_HEADERS([wchar.h]) ++]) ++m4trace:gnulib/m4/wchar.m4:49: -1- AC_DEFUN([gl_REPLACE_WCHAR_H], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ WCHAR_H=wchar.h ++]) ++m4trace:gnulib/m4/wchar.m4:55: -1- AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 ++]) ++m4trace:gnulib/m4/wchar.m4:62: -1- AC_DEFUN([gl_WCHAR_H_DEFAULTS], [ ++ GNULIB_BTOWC=0; AC_SUBST([GNULIB_BTOWC]) ++ GNULIB_WCTOB=0; AC_SUBST([GNULIB_WCTOB]) ++ GNULIB_MBSINIT=0; AC_SUBST([GNULIB_MBSINIT]) ++ GNULIB_MBRTOWC=0; AC_SUBST([GNULIB_MBRTOWC]) ++ GNULIB_MBRLEN=0; AC_SUBST([GNULIB_MBRLEN]) ++ GNULIB_MBSRTOWCS=0; AC_SUBST([GNULIB_MBSRTOWCS]) ++ GNULIB_MBSNRTOWCS=0; AC_SUBST([GNULIB_MBSNRTOWCS]) ++ GNULIB_WCRTOMB=0; AC_SUBST([GNULIB_WCRTOMB]) ++ GNULIB_WCSRTOMBS=0; AC_SUBST([GNULIB_WCSRTOMBS]) ++ GNULIB_WCSNRTOMBS=0; AC_SUBST([GNULIB_WCSNRTOMBS]) ++ GNULIB_WCWIDTH=0; AC_SUBST([GNULIB_WCWIDTH]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC]) ++ HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT]) ++ HAVE_MBRTOWC=1; AC_SUBST([HAVE_MBRTOWC]) ++ HAVE_MBRLEN=1; AC_SUBST([HAVE_MBRLEN]) ++ HAVE_MBSRTOWCS=1; AC_SUBST([HAVE_MBSRTOWCS]) ++ HAVE_MBSNRTOWCS=1; AC_SUBST([HAVE_MBSNRTOWCS]) ++ HAVE_WCRTOMB=1; AC_SUBST([HAVE_WCRTOMB]) ++ HAVE_WCSRTOMBS=1; AC_SUBST([HAVE_WCSRTOMBS]) ++ HAVE_WCSNRTOMBS=1; AC_SUBST([HAVE_WCSNRTOMBS]) ++ HAVE_DECL_WCTOB=1; AC_SUBST([HAVE_DECL_WCTOB]) ++ HAVE_DECL_WCWIDTH=1; AC_SUBST([HAVE_DECL_WCWIDTH]) ++ REPLACE_MBSTATE_T=0; AC_SUBST([REPLACE_MBSTATE_T]) ++ REPLACE_BTOWC=0; AC_SUBST([REPLACE_BTOWC]) ++ REPLACE_WCTOB=0; AC_SUBST([REPLACE_WCTOB]) ++ REPLACE_MBSINIT=0; AC_SUBST([REPLACE_MBSINIT]) ++ REPLACE_MBRTOWC=0; AC_SUBST([REPLACE_MBRTOWC]) ++ REPLACE_MBRLEN=0; AC_SUBST([REPLACE_MBRLEN]) ++ REPLACE_MBSRTOWCS=0; AC_SUBST([REPLACE_MBSRTOWCS]) ++ REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS]) ++ REPLACE_WCRTOMB=0; AC_SUBST([REPLACE_WCRTOMB]) ++ REPLACE_WCSRTOMBS=0; AC_SUBST([REPLACE_WCSRTOMBS]) ++ REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS]) ++ REPLACE_WCWIDTH=0; AC_SUBST([REPLACE_WCWIDTH]) ++ WCHAR_H=''; AC_SUBST([WCHAR_H]) ++]) ++m4trace:m4/compiler-flags.m4:23: -1- AC_DEFUN([gl_COMPILER_FLAGS], [AC_MSG_CHECKING(whether compiler accepts $1) ++ AC_SUBST(COMPILER_FLAGS) ++ ac_save_CFLAGS="$CFLAGS" ++ dnl Some flags are dependant, so we set all previously checked ++ dnl flags when testing. Except for -Werror which we have to ++ dnl check on its own, because some of our compiler flags cause ++ dnl warnings from the autoconf test program! ++ if test "$1" = "-Werror" ; then ++ CFLAGS="$CFLAGS $1" ++ else ++ CFLAGS="$CFLAGS $COMPILER_FLAGS $1" ++ fi ++ AC_TRY_LINK([], [], has_option=yes, has_option=no,) ++ echo 'int x;' >conftest.c ++ $CC $CFLAGS -c conftest.c 2>conftest.err ++ ret=$? ++ if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then ++ AC_MSG_RESULT(no) ++ else ++ AC_MSG_RESULT(yes) ++ COMPILER_FLAGS="$COMPILER_FLAGS $1" ++ fi ++ CFLAGS="$ac_save_CFLAGS" ++ rm -f conftest* ++ ]) ++m4trace:m4/gettext.m4:59: -1- AC_DEFUN([AM_GNU_GETTEXT], [ ++ dnl Argument checking. ++ ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , ++ [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ++])])])])]) ++ ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , ++ [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ++])])])]) ++ define(gt_included_intl, ifelse([$1], [external], [no], [yes])) ++ define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) ++ ++ AC_REQUIRE([AM_PO_SUBDIRS])dnl ++ ifelse(gt_included_intl, yes, [ ++ AC_REQUIRE([AM_INTL_SUBDIR])dnl ++ ]) ++ ++ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ ++ dnl Sometimes libintl requires libiconv, so first search for libiconv. ++ dnl Ideally we would do this search only after the ++ dnl if test "$USE_NLS" = "yes"; then ++ dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then ++ dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT ++ dnl the configure script would need to contain the same shell code ++ dnl again, outside any 'if'. There are two solutions: ++ dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. ++ dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. ++ dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not ++ dnl documented, we avoid it. ++ ifelse(gt_included_intl, yes, , [ ++ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ++ ]) ++ ++ dnl Set USE_NLS. ++ AM_NLS ++ ++ ifelse(gt_included_intl, yes, [ ++ BUILD_INCLUDED_LIBINTL=no ++ USE_INCLUDED_LIBINTL=no ++ ]) ++ LIBINTL= ++ LTLIBINTL= ++ POSUB= ++ ++ dnl If we use NLS figure out what method ++ if test "$USE_NLS" = "yes"; then ++ gt_use_preinstalled_gnugettext=no ++ ifelse(gt_included_intl, yes, [ ++ AC_MSG_CHECKING([whether included gettext is requested]) ++ AC_ARG_WITH(included-gettext, ++ [ --with-included-gettext use the GNU gettext library included here], ++ nls_cv_force_use_gnu_gettext=$withval, ++ nls_cv_force_use_gnu_gettext=no) ++ AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) ++ ++ nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" ++ if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ++ ]) ++ dnl User does not insist on using GNU NLS library. Figure out what ++ dnl to use. If GNU gettext is available we use this. Else we have ++ dnl to fall back to GNU NLS library. ++ ++ dnl Add a version number to the cache macros. ++ define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1))) ++ define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc]) ++ define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl]) ++ ++ AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, ++ [AC_TRY_LINK([#include ++]ifelse([$2], [need-formatstring-macros], ++[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION ++#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) ++#endif ++changequote(,)dnl ++typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ++changequote([,])dnl ++], [])[extern int _nl_msg_cat_cntr; ++extern int *_nl_domain_bindings;], ++ [bindtextdomain ("", ""); ++return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], ++ gt_cv_func_gnugettext_libc=yes, ++ gt_cv_func_gnugettext_libc=no)]) ++ ++ if test "$gt_cv_func_gnugettext_libc" != "yes"; then ++ dnl Sometimes libintl requires libiconv, so first search for libiconv. ++ ifelse(gt_included_intl, yes, , [ ++ AM_ICONV_LINK ++ ]) ++ dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL ++ dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) ++ dnl because that would add "-liconv" to LIBINTL and LTLIBINTL ++ dnl even if libiconv doesn't exist. ++ AC_LIB_LINKFLAGS_BODY([intl]) ++ AC_CACHE_CHECK([for GNU gettext in libintl], ++ gt_cv_func_gnugettext_libintl, ++ [gt_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$CPPFLAGS $INCINTL" ++ gt_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBINTL" ++ dnl Now see whether libintl exists and does not depend on libiconv. ++ AC_TRY_LINK([#include ++]ifelse([$2], [need-formatstring-macros], ++[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION ++#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) ++#endif ++changequote(,)dnl ++typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ++changequote([,])dnl ++], [])[extern int _nl_msg_cat_cntr; ++extern ++#ifdef __cplusplus ++"C" ++#endif ++const char *_nl_expand_alias ();], ++ [bindtextdomain ("", ""); ++return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], ++ gt_cv_func_gnugettext_libintl=yes, ++ gt_cv_func_gnugettext_libintl=no) ++ dnl Now see whether libintl exists and depends on libiconv. ++ if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then ++ LIBS="$LIBS $LIBICONV" ++ AC_TRY_LINK([#include ++]ifelse([$2], [need-formatstring-macros], ++[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION ++#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) ++#endif ++changequote(,)dnl ++typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ++changequote([,])dnl ++], [])[extern int _nl_msg_cat_cntr; ++extern ++#ifdef __cplusplus ++"C" ++#endif ++const char *_nl_expand_alias ();], ++ [bindtextdomain ("", ""); ++return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], ++ [LIBINTL="$LIBINTL $LIBICONV" ++ LTLIBINTL="$LTLIBINTL $LTLIBICONV" ++ gt_cv_func_gnugettext_libintl=yes ++ ]) ++ fi ++ CPPFLAGS="$gt_save_CPPFLAGS" ++ LIBS="$gt_save_LIBS"]) ++ fi ++ ++ dnl If an already present or preinstalled GNU gettext() is found, ++ dnl use it. But if this macro is used in GNU gettext, and GNU ++ dnl gettext is already preinstalled in libintl, we update this ++ dnl libintl. (Cf. the install rule in intl/Makefile.in.) ++ if test "$gt_cv_func_gnugettext_libc" = "yes" \ ++ || { test "$gt_cv_func_gnugettext_libintl" = "yes" \ ++ && test "$PACKAGE" != gettext-runtime \ ++ && test "$PACKAGE" != gettext-tools; }; then ++ gt_use_preinstalled_gnugettext=yes ++ else ++ dnl Reset the values set by searching for libintl. ++ LIBINTL= ++ LTLIBINTL= ++ INCINTL= ++ fi ++ ++ ifelse(gt_included_intl, yes, [ ++ if test "$gt_use_preinstalled_gnugettext" != "yes"; then ++ dnl GNU gettext is not found in the C library. ++ dnl Fall back on included GNU gettext library. ++ nls_cv_use_gnu_gettext=yes ++ fi ++ fi ++ ++ if test "$nls_cv_use_gnu_gettext" = "yes"; then ++ dnl Mark actions used to generate GNU NLS library. ++ BUILD_INCLUDED_LIBINTL=yes ++ USE_INCLUDED_LIBINTL=yes ++ LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" ++ LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV" ++ LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` ++ fi ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes" \ ++ || test "$nls_cv_use_gnu_gettext" = "yes"; then ++ dnl Mark actions to use GNU gettext tools. ++ CATOBJEXT=.gmo ++ fi ++ ]) ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes" \ ++ || test "$nls_cv_use_gnu_gettext" = "yes"; then ++ AC_DEFINE(ENABLE_NLS, 1, ++ [Define to 1 if translation of program messages to the user's native language ++ is requested.]) ++ else ++ USE_NLS=no ++ fi ++ fi ++ ++ AC_MSG_CHECKING([whether to use NLS]) ++ AC_MSG_RESULT([$USE_NLS]) ++ if test "$USE_NLS" = "yes"; then ++ AC_MSG_CHECKING([where the gettext function comes from]) ++ if test "$gt_use_preinstalled_gnugettext" = "yes"; then ++ if test "$gt_cv_func_gnugettext_libintl" = "yes"; then ++ gt_source="external libintl" ++ else ++ gt_source="libc" ++ fi ++ else ++ gt_source="included intl directory" ++ fi ++ AC_MSG_RESULT([$gt_source]) ++ fi ++ ++ if test "$USE_NLS" = "yes"; then ++ ++ if test "$gt_use_preinstalled_gnugettext" = "yes"; then ++ if test "$gt_cv_func_gnugettext_libintl" = "yes"; then ++ AC_MSG_CHECKING([how to link with libintl]) ++ AC_MSG_RESULT([$LIBINTL]) ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) ++ fi ++ ++ dnl For backward compatibility. Some packages may be using this. ++ AC_DEFINE(HAVE_GETTEXT, 1, ++ [Define if the GNU gettext() function is already present or preinstalled.]) ++ AC_DEFINE(HAVE_DCGETTEXT, 1, ++ [Define if the GNU dcgettext() function is already present or preinstalled.]) ++ fi ++ ++ dnl We need to process the po/ directory. ++ POSUB=po ++ fi ++ ++ ifelse(gt_included_intl, yes, [ ++ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL ++ dnl to 'yes' because some of the testsuite requires it. ++ if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then ++ BUILD_INCLUDED_LIBINTL=yes ++ fi ++ ++ dnl Make all variables we use known to autoconf. ++ AC_SUBST(BUILD_INCLUDED_LIBINTL) ++ AC_SUBST(USE_INCLUDED_LIBINTL) ++ AC_SUBST(CATOBJEXT) ++ ++ dnl For backward compatibility. Some configure.ins may be using this. ++ nls_cv_header_intl= ++ nls_cv_header_libgt= ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ DATADIRNAME=share ++ AC_SUBST(DATADIRNAME) ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ INSTOBJEXT=.mo ++ AC_SUBST(INSTOBJEXT) ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ GENCAT=gencat ++ AC_SUBST(GENCAT) ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ if test "$USE_INCLUDED_LIBINTL" = yes; then ++ INTLOBJS="\$(GETTOBJS)" ++ fi ++ AC_SUBST(INTLOBJS) ++ ++ dnl Enable libtool support if the surrounding package wishes it. ++ INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix ++ AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) ++ ]) ++ ++ dnl For backward compatibility. Some Makefiles may be using this. ++ INTLLIBS="$LIBINTL" ++ AC_SUBST(INTLLIBS) ++ ++ dnl Make all documented variables known to autoconf. ++ AC_SUBST(LIBINTL) ++ AC_SUBST(LTLIBINTL) ++ AC_SUBST(POSUB) ++]) ++m4trace:m4/gettext.m4:347: -1- AC_DEFUN([AM_INTL_SUBDIR], [ ++ AC_REQUIRE([AC_PROG_INSTALL])dnl ++ AC_REQUIRE([AM_MKINSTALLDIRS])dnl ++ AC_REQUIRE([AC_PROG_CC])dnl ++ AC_REQUIRE([AC_CANONICAL_HOST])dnl ++ AC_REQUIRE([AC_PROG_RANLIB])dnl ++ AC_REQUIRE([AC_ISC_POSIX])dnl ++ AC_REQUIRE([AC_HEADER_STDC])dnl ++ AC_REQUIRE([AC_C_CONST])dnl ++ AC_REQUIRE([bh_C_SIGNED])dnl ++ AC_REQUIRE([AC_C_INLINE])dnl ++ AC_REQUIRE([AC_TYPE_OFF_T])dnl ++ AC_REQUIRE([AC_TYPE_SIZE_T])dnl ++ AC_REQUIRE([jm_AC_TYPE_LONG_LONG])dnl ++ AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl ++ AC_REQUIRE([gt_TYPE_WCHAR_T])dnl ++ AC_REQUIRE([gt_TYPE_WINT_T])dnl ++ AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([jm_AC_HEADER_STDINT_H]) ++ AC_REQUIRE([gt_TYPE_INTMAX_T]) ++ AC_REQUIRE([gt_PRINTF_POSIX]) ++ AC_REQUIRE([AC_FUNC_ALLOCA])dnl ++ AC_REQUIRE([AC_FUNC_MMAP])dnl ++ AC_REQUIRE([jm_GLIBC21])dnl ++ AC_REQUIRE([gt_INTDIV0])dnl ++ AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl ++ AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl ++ AC_REQUIRE([gt_INTTYPES_PRI])dnl ++ AC_REQUIRE([gl_XSIZE])dnl ++ ++ AC_CHECK_TYPE([ptrdiff_t], , ++ [AC_DEFINE([ptrdiff_t], [long], ++ [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ++ ]) ++ AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ ++stdlib.h string.h unistd.h sys/param.h]) ++ AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \ ++mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \ ++strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \ ++__fsetlocking]) ++ ++ dnl Use the _snprintf function only if it is declared (because on NetBSD it ++ dnl is defined as a weak alias of snprintf; we prefer to use the latter). ++ gt_CHECK_DECL(_snprintf, [#include ]) ++ gt_CHECK_DECL(_snwprintf, [#include ]) ++ ++ dnl Use the *_unlocked functions only if they are declared. ++ dnl (because some of them were defined without being declared in Solaris ++ dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built ++ dnl on Solaris 2.5.1 to run on Solaris 2.6). ++ dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. ++ gt_CHECK_DECL(feof_unlocked, [#include ]) ++ gt_CHECK_DECL(fgets_unlocked, [#include ]) ++ gt_CHECK_DECL(getc_unlocked, [#include ]) ++ ++ case $gt_cv_func_printf_posix in ++ *yes) HAVE_POSIX_PRINTF=1 ;; ++ *) HAVE_POSIX_PRINTF=0 ;; ++ esac ++ AC_SUBST([HAVE_POSIX_PRINTF]) ++ if test "$ac_cv_func_asprintf" = yes; then ++ HAVE_ASPRINTF=1 ++ else ++ HAVE_ASPRINTF=0 ++ fi ++ AC_SUBST([HAVE_ASPRINTF]) ++ if test "$ac_cv_func_snprintf" = yes; then ++ HAVE_SNPRINTF=1 ++ else ++ HAVE_SNPRINTF=0 ++ fi ++ AC_SUBST([HAVE_SNPRINTF]) ++ if test "$ac_cv_func_wprintf" = yes; then ++ HAVE_WPRINTF=1 ++ else ++ HAVE_WPRINTF=0 ++ fi ++ AC_SUBST([HAVE_WPRINTF]) ++ ++ AM_ICONV ++ AM_LANGINFO_CODESET ++ if test $ac_cv_header_locale_h = yes; then ++ AM_LC_MESSAGES ++ fi ++ ++ dnl intl/plural.c is generated from intl/plural.y. It requires bison, ++ dnl because plural.y uses bison specific features. It requires at least ++ dnl bison-1.26 because earlier versions generate a plural.c that doesn't ++ dnl compile. ++ dnl bison is only needed for the maintainer (who touches plural.y). But in ++ dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put ++ dnl the rule in general Makefile. Now, some people carelessly touch the ++ dnl files or have a broken "make" program, hence the plural.c rule will ++ dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not ++ dnl present or too old. ++ AC_CHECK_PROGS([INTLBISON], [bison]) ++ if test -z "$INTLBISON"; then ++ ac_verc_fail=yes ++ else ++ dnl Found it, now check the version. ++ AC_MSG_CHECKING([version of bison]) ++changequote(<<,>>)dnl ++ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` ++ case $ac_prog_version in ++ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; ++ 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) ++changequote([,])dnl ++ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; ++ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; ++ esac ++ AC_MSG_RESULT([$ac_prog_version]) ++ fi ++ if test $ac_verc_fail = yes; then ++ INTLBISON=: ++ fi ++]) ++m4trace:m4/gettext.m4:468: -1- AC_DEFUN([gt_CHECK_DECL], [ ++ AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1, ++ [AC_TRY_COMPILE([$2], [ ++#ifndef $1 ++ char *p = (char *) $1; ++#endif ++], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)]) ++ if test $ac_cv_have_decl_$1 = yes; then ++ gt_value=1 ++ else ++ gt_value=0 ++ fi ++ AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value], ++ [Define to 1 if you have the declaration of `$1', and to 0 if you don't.]) ++]) ++m4trace:m4/gettext.m4:487: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) ++m4trace:m4/iconv.m4:11: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ ++ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ ++ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV ++ dnl accordingly. ++ AC_LIB_LINKFLAGS_BODY([iconv]) ++]) ++m4trace:m4/iconv.m4:22: -1- AC_DEFUN([AM_ICONV_LINK], [ ++ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and ++ dnl those with the standalone portable GNU libiconv installed). ++ ++ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV ++ dnl accordingly. ++ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ++ ++ dnl Add $INCICONV to CPPFLAGS before performing the following checks, ++ dnl because if the user has installed libiconv and not disabled its use ++ dnl via --without-libiconv-prefix, he wants to use it. The first ++ dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. ++ am_save_CPPFLAGS="$CPPFLAGS" ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) ++ ++ AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ ++ am_cv_func_iconv="no, consider installing GNU libiconv" ++ am_cv_lib_iconv=no ++ AC_TRY_LINK([#include ++#include ], ++ [iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd);], ++ am_cv_func_iconv=yes) ++ if test "$am_cv_func_iconv" != yes; then ++ am_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBICONV" ++ AC_TRY_LINK([#include ++#include ], ++ [iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd);], ++ am_cv_lib_iconv=yes ++ am_cv_func_iconv=yes) ++ LIBS="$am_save_LIBS" ++ fi ++ ]) ++ if test "$am_cv_func_iconv" = yes; then ++ AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) ++ fi ++ if test "$am_cv_lib_iconv" = yes; then ++ AC_MSG_CHECKING([how to link with libiconv]) ++ AC_MSG_RESULT([$LIBICONV]) ++ else ++ dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV ++ dnl either. ++ CPPFLAGS="$am_save_CPPFLAGS" ++ LIBICONV= ++ LTLIBICONV= ++ fi ++ AC_SUBST(LIBICONV) ++ AC_SUBST(LTLIBICONV) ++]) ++m4trace:m4/iconv.m4:77: -1- AC_DEFUN([AM_ICONV], [ ++ AM_ICONV_LINK ++ if test "$am_cv_func_iconv" = yes; then ++ AC_MSG_CHECKING([for iconv declaration]) ++ AC_CACHE_VAL(am_cv_proto_iconv, [ ++ AC_TRY_COMPILE([ ++#include ++#include ++extern ++#ifdef __cplusplus ++"C" ++#endif ++#if defined(__STDC__) || defined(__cplusplus) ++size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); ++#else ++size_t iconv(); ++#endif ++], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") ++ am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) ++ am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` ++ AC_MSG_RESULT([$]{ac_t:- ++ }[$]am_cv_proto_iconv) ++ AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, ++ [Define as const if the declaration of iconv() needs const.]) ++ fi ++]) ++m4trace:m4/lib-ld.m4:14: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, ++[# I'd rather use --version here, but apparently some GNU ld's only accept -v. ++case `$LD -v 2>&1 conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ AC_MSG_CHECKING([for ld used by GCC]) ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [[\\/]* | [A-Za-z]:[\\/]*)] ++ [re_direlt='/[^/][^/]*/\.\./'] ++ # Canonicalize the path of ld ++ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ++ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ AC_MSG_CHECKING([for GNU ld]) ++else ++ AC_MSG_CHECKING([for non-GNU ld]) ++fi ++AC_CACHE_VAL(acl_cv_path_LD, ++[if test -z "$LD"; then ++ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ++ for ac_dir in $PATH; do ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ acl_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some GNU ld's only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in ++ *GNU* | *'with BFD'*) ++ test "$with_gnu_ld" != no && break ;; ++ *) ++ test "$with_gnu_ld" != yes && break ;; ++ esac ++ fi ++ done ++ IFS="$ac_save_ifs" ++else ++ acl_cv_path_LD="$LD" # Let the user override the test with a path. ++fi]) ++LD="$acl_cv_path_LD" ++if test -n "$LD"; then ++ AC_MSG_RESULT($LD) ++else ++ AC_MSG_RESULT(no) ++fi ++test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) ++AC_LIB_PROG_LD_GNU ++]) ++m4trace:m4/lib-link.m4:15: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [ ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ define([Name],[translit([$1],[./-], [___])]) ++ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ++ AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ ++ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ++ ac_cv_lib[]Name[]_libs="$LIB[]NAME" ++ ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ++ ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ++ ]) ++ LIB[]NAME="$ac_cv_lib[]Name[]_libs" ++ LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" ++ INC[]NAME="$ac_cv_lib[]Name[]_cppflags" ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) ++ AC_SUBST([LIB]NAME) ++ AC_SUBST([LTLIB]NAME) ++ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the ++ dnl results of this search when this library appears as a dependency. ++ HAVE_LIB[]NAME=yes ++ undefine([Name]) ++ undefine([NAME]) ++]) ++m4trace:m4/lib-link.m4:49: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ define([Name],[translit([$1],[./-], [___])]) ++ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ++ ++ dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME ++ dnl accordingly. ++ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ++ ++ dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, ++ dnl because if the user has installed lib[]Name and not disabled its use ++ dnl via --without-lib[]Name-prefix, he wants to use it. ++ ac_save_CPPFLAGS="$CPPFLAGS" ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) ++ ++ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ++ ac_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIB[]NAME" ++ AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) ++ LIBS="$ac_save_LIBS" ++ ]) ++ if test "$ac_cv_lib[]Name" = yes; then ++ HAVE_LIB[]NAME=yes ++ AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) ++ AC_MSG_CHECKING([how to link with lib[]$1]) ++ AC_MSG_RESULT([$LIB[]NAME]) ++ else ++ HAVE_LIB[]NAME=no ++ dnl If $LIB[]NAME didn't lead to a usable library, we don't need ++ dnl $INC[]NAME either. ++ CPPFLAGS="$ac_save_CPPFLAGS" ++ LIB[]NAME= ++ LTLIB[]NAME= ++ fi ++ AC_SUBST([HAVE_LIB]NAME) ++ AC_SUBST([LIB]NAME) ++ AC_SUBST([LTLIB]NAME) ++ undefine([Name]) ++ undefine([NAME]) ++]) ++m4trace:m4/lib-link.m4:96: -1- AC_DEFUN([AC_LIB_RPATH], [ ++ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS ++ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host ++ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir ++ AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ ++ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ++ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ++ . ./conftest.sh ++ rm -f ./conftest.sh ++ acl_cv_rpath=done ++ ]) ++ wl="$acl_cv_wl" ++ libext="$acl_cv_libext" ++ shlibext="$acl_cv_shlibext" ++ hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ++ hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ++ hardcode_direct="$acl_cv_hardcode_direct" ++ hardcode_minus_L="$acl_cv_hardcode_minus_L" ++ dnl Determine whether the user wants rpath handling at all. ++ AC_ARG_ENABLE(rpath, ++ [ --disable-rpath do not hardcode runtime library paths], ++ :, enable_rpath=yes) ++]) ++m4trace:m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ ++ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ++ dnl By default, look in $includedir and $libdir. ++ use_additional=yes ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ AC_LIB_ARG_WITH([lib$1-prefix], ++[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib ++ --without-lib$1-prefix don't search for lib$1 in includedir and libdir], ++[ ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++]) ++ dnl Search the library and its dependencies in $additional_libdir and ++ dnl $LDFLAGS. Using breadth-first-seach. ++ LIB[]NAME= ++ LTLIB[]NAME= ++ INC[]NAME= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='$1 $2' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS ++ dnl or AC_LIB_HAVE_LINKFLAGS call. ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" ++ else ++ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined ++ dnl that this library doesn't exist. So just drop it. ++ : ++ fi ++ else ++ dnl Search the library lib$name in $additional_libdir and $LDFLAGS ++ dnl and the already constructed $LIBNAME/$LTLIBNAME. ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ if test $use_additional = yes; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ++ found_dir="$additional_libdir" ++ found_so="$additional_libdir/lib$name.$shlibext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ else ++ if test -f "$additional_libdir/lib$name.$libext"; then ++ found_dir="$additional_libdir" ++ found_a="$additional_libdir/lib$name.$libext" ++ if test -f "$additional_libdir/lib$name.la"; then ++ found_la="$additional_libdir/lib$name.la" ++ fi ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then ++ found_dir="$dir" ++ found_so="$dir/lib$name.$shlibext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ else ++ if test -f "$dir/lib$name.$libext"; then ++ found_dir="$dir" ++ found_a="$dir/lib$name.$libext" ++ if test -f "$dir/lib$name.la"; then ++ found_la="$dir/lib$name.la" ++ fi ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ dnl Found the library. ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ dnl Linking with a shared library. We attempt to hardcode its ++ dnl directory into the executable's runpath, unless it's the ++ dnl standard /usr/lib. ++ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then ++ dnl No hardcoding is needed. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ dnl Use an explicit option to hardcode DIR into the resulting ++ dnl binary. ++ dnl Potentially add DIR to ltrpathdirs. ++ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ dnl The hardcoding into $LIBNAME is system dependent. ++ if test "$hardcode_direct" = yes; then ++ dnl Using DIR/libNAME.so during linking hardcodes DIR into the ++ dnl resulting binary. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then ++ dnl Use an explicit option to hardcode DIR into the resulting ++ dnl binary. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ dnl Potentially add DIR to rpathdirs. ++ dnl The rpathdirs will be appended to $LIBNAME at the end. ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ dnl Rely on "-L$found_dir". ++ dnl But don't add it if it's already contained in the LDFLAGS ++ dnl or the already constructed $LIBNAME ++ haveit= ++ for x in $LDFLAGS $LIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" ++ fi ++ if test "$hardcode_minus_L" != no; then ++ dnl FIXME: Not sure whether we should use ++ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" ++ dnl here. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH ++ dnl here, because this doesn't fit in flags passed to the ++ dnl compiler. So give up. No hardcoding. This affects only ++ dnl very old systems. ++ dnl FIXME: Not sure whether we should use ++ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" ++ dnl here. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ dnl Linking with a static library. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" ++ else ++ dnl We shouldn't come here, but anyway it's good to have a ++ dnl fallback. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" ++ fi ++ fi ++ dnl Assume the include files are nearby. ++ additional_includedir= ++ case "$found_dir" in ++ */lib | */lib/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ dnl Potentially add $additional_includedir to $INCNAME. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/include, ++ dnl 2. if it's /usr/local/include and we are using GCC on Linux, ++ dnl 3. if it's already present in $CPPFLAGS or the already ++ dnl constructed $INCNAME, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INC[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ dnl Really add $additional_includedir to $INCNAME. ++ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ dnl Look for dependencies. ++ if test -n "$found_la"; then ++ dnl Read the .la file. It defines the variables ++ dnl dlname, library_names, old_library, dependency_libs, current, ++ dnl age, revision, installed, dlopen, dlpreopen, libdir. ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ dnl We use only dependency_libs. ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/lib, ++ dnl 2. if it's /usr/local/lib and we are using GCC on Linux, ++ dnl 3. if it's already present in $LDFLAGS or the already ++ dnl constructed $LIBNAME, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_libdir" != "X/usr/lib"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/lib"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LIBNAME. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LTLIBNAME. ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ dnl Potentially add DIR to rpathdirs. ++ dnl The rpathdirs will be appended to $LIBNAME at the end. ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ dnl Potentially add DIR to ltrpathdirs. ++ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ dnl Handle this in the next round. ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ dnl Handle this in the next round. Throw away the .la's ++ dnl directory; it is already contained in a preceding -L ++ dnl option. ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ dnl Most likely an immediate library name. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ dnl Didn't find the library; assume it is in the system directories ++ dnl known to the linker and runtime loader. (All the system ++ dnl directories known to the linker should also be known to the ++ dnl runtime loader, otherwise the system is severely misconfigured.) ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$hardcode_libdir_separator"; then ++ dnl Weird platform: only the last -rpath option counts, the user must ++ dnl pass all path elements in one option. We can arrange that for a ++ dnl single library, but not when more than one $LIBNAMEs are used. ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" ++ done ++ dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" ++ else ++ dnl The -rpath options are cumulative. ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ dnl When using libtool, the option that works for both libraries and ++ dnl executables is -R. The -R options are cumulative. ++ for found_dir in $ltrpathdirs; do ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" ++ done ++ fi ++]) ++m4trace:m4/lib-link.m4:536: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [ ++ for element in [$2]; do ++ haveit= ++ for x in $[$1]; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ [$1]="${[$1]}${[$1]:+ }$element" ++ fi ++ done ++]) ++m4trace:m4/lib-prefix.m4:14: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])]) ++m4trace:m4/lib-prefix.m4:24: -1- AC_DEFUN([AC_LIB_PREFIX], [ ++ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ dnl By default, look in $includedir and $libdir. ++ use_additional=yes ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ AC_LIB_ARG_WITH([lib-prefix], ++[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib ++ --without-lib-prefix don't search for libraries in includedir and libdir], ++[ ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++]) ++ if test $use_additional = yes; then ++ dnl Potentially add $additional_includedir to $CPPFLAGS. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/include, ++ dnl 2. if it's already present in $CPPFLAGS, ++ dnl 3. if it's /usr/local/include and we are using GCC on Linux, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ for x in $CPPFLAGS; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ dnl Really add $additional_includedir to $CPPFLAGS. ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ dnl Potentially add $additional_libdir to $LDFLAGS. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/lib, ++ dnl 2. if it's already present in $LDFLAGS, ++ dnl 3. if it's /usr/local/lib and we are using GCC on Linux, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_libdir" != "X/usr/lib"; then ++ haveit= ++ for x in $LDFLAGS; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test "X$additional_libdir" = "X/usr/local/lib"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LDFLAGS. ++ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ fi ++]) ++m4trace:m4/lib-prefix.m4:123: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ ++ dnl Unfortunately, prefix and exec_prefix get only finally determined ++ dnl at the end of configure. ++ if test "X$prefix" = "XNONE"; then ++ acl_final_prefix="$ac_default_prefix" ++ else ++ acl_final_prefix="$prefix" ++ fi ++ if test "X$exec_prefix" = "XNONE"; then ++ acl_final_exec_prefix='${prefix}' ++ else ++ acl_final_exec_prefix="$exec_prefix" ++ fi ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" ++ prefix="$acl_save_prefix" ++]) ++m4trace:m4/lib-prefix.m4:146: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ $1 ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++]) ++m4trace:m4/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT ++AC_BEFORE([$0], [LT_LANG])dnl ++AC_BEFORE([$0], [LT_OUTPUT])dnl ++AC_BEFORE([$0], [LTDL_INIT])dnl ++m4_require([_LT_CHECK_BUILDDIR])dnl ++ ++dnl Autoconf doesn't catch unexpanded LT_ macros by default: ++m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl ++m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl ++dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 ++dnl unless we require an AC_DEFUNed macro: ++AC_REQUIRE([LTOPTIONS_VERSION])dnl ++AC_REQUIRE([LTSUGAR_VERSION])dnl ++AC_REQUIRE([LTVERSION_VERSION])dnl ++AC_REQUIRE([LTOBSOLETE_VERSION])dnl ++m4_require([_LT_PROG_LTMAIN])dnl ++ ++dnl Parse OPTIONS ++_LT_SET_OPTIONS([$0], [$1]) ++ ++# This can be used to rebuild libtool when needed ++LIBTOOL_DEPS="$ltmain" ++ ++# Always use our own libtool. ++LIBTOOL='$(SHELL) $(top_builddir)/libtool' ++AC_SUBST(LIBTOOL)dnl ++ ++_LT_SETUP ++ ++# Only expand once: ++m4_define([LT_INIT]) ++]) ++m4trace:m4/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) ++m4trace:m4/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) ++m4trace:m4/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) ++m4trace:m4/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) ++m4trace:m4/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} ++AC_MSG_NOTICE([creating $CONFIG_LT]) ++cat >"$CONFIG_LT" <<_LTEOF ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate a libtool stub with the current configuration. ++ ++lt_cl_silent=false ++SHELL=\${CONFIG_SHELL-$SHELL} ++_LTEOF ++ ++cat >>"$CONFIG_LT" <<\_LTEOF ++AS_SHELL_SANITIZE ++_AS_PREPARE ++ ++exec AS_MESSAGE_FD>&1 ++exec AS_MESSAGE_LOG_FD>>config.log ++{ ++ echo ++ AS_BOX([Running $as_me.]) ++} >&AS_MESSAGE_LOG_FD ++ ++lt_cl_help="\ ++\`$as_me' creates a local libtool stub from the current configuration, ++for use in further configure time tests before the real libtool is ++generated. ++ ++Usage: $[0] [[OPTIONS]] ++ ++ -h, --help print this help, then exit ++ -V, --version print version number, then exit ++ -q, --quiet do not print progress messages ++ -d, --debug don't remove temporary files ++ ++Report bugs to ." ++ ++lt_cl_version="\ ++m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl ++m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) ++configured by $[0], generated by m4_PACKAGE_STRING. ++ ++Copyright (C) 2008 Free Software Foundation, Inc. ++This config.lt script is free software; the Free Software Foundation ++gives unlimited permision to copy, distribute and modify it." ++ ++while test $[#] != 0 ++do ++ case $[1] in ++ --version | --v* | -V ) ++ echo "$lt_cl_version"; exit 0 ;; ++ --help | --h* | -h ) ++ echo "$lt_cl_help"; exit 0 ;; ++ --debug | --d* | -d ) ++ debug=: ;; ++ --quiet | --q* | --silent | --s* | -q ) ++ lt_cl_silent=: ;; ++ ++ -*) AC_MSG_ERROR([unrecognized option: $[1] ++Try \`$[0] --help' for more information.]) ;; ++ ++ *) AC_MSG_ERROR([unrecognized argument: $[1] ++Try \`$[0] --help' for more information.]) ;; ++ esac ++ shift ++done ++ ++if $lt_cl_silent; then ++ exec AS_MESSAGE_FD>/dev/null ++fi ++_LTEOF ++ ++cat >>"$CONFIG_LT" <<_LTEOF ++_LT_OUTPUT_LIBTOOL_COMMANDS_INIT ++_LTEOF ++ ++cat >>"$CONFIG_LT" <<\_LTEOF ++AC_MSG_NOTICE([creating $ofile]) ++_LT_OUTPUT_LIBTOOL_COMMANDS ++AS_EXIT(0) ++_LTEOF ++chmod +x "$CONFIG_LT" ++ ++# configure is writing to config.log, but config.lt does its own redirection, ++# appending to config.log, which fails on DOS, as config.log is still kept ++# open by configure. Here we exec the FD to /dev/null, effectively closing ++# config.log, so it can be properly (re)opened and appended to by config.lt. ++if test "$no_create" != yes; then ++ lt_cl_success=: ++ test "$silent" = yes && ++ lt_config_lt_args="$lt_config_lt_args --quiet" ++ exec AS_MESSAGE_LOG_FD>/dev/null ++ $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false ++ exec AS_MESSAGE_LOG_FD>>config.log ++ $lt_cl_success || AS_EXIT(1) ++fi ++]) ++m4trace:m4/libtool.m4:757: -1- AC_DEFUN([LT_SUPPORTED_TAG], []) ++m4trace:m4/libtool.m4:768: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl ++m4_case([$1], ++ [C], [_LT_LANG(C)], ++ [C++], [_LT_LANG(CXX)], ++ [Java], [_LT_LANG(GCJ)], ++ [Fortran 77], [_LT_LANG(F77)], ++ [Fortran], [_LT_LANG(FC)], ++ [Windows Resource], [_LT_LANG(RC)], ++ [m4_ifdef([_LT_LANG_]$1[_CONFIG], ++ [_LT_LANG($1)], ++ [m4_fatal([$0: unsupported language: "$1"])])])dnl ++]) ++m4trace:m4/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) ++m4trace:m4/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete. ++You should run autoupdate.])dnl ++LT_LANG(C++)]) ++m4trace:m4/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) ++m4trace:m4/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete. ++You should run autoupdate.])dnl ++LT_LANG(Fortran 77)]) ++m4trace:m4/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) ++m4trace:m4/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete. ++You should run autoupdate.])dnl ++LT_LANG(Fortran)]) ++m4trace:m4/libtool.m4:833: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) ++m4trace:m4/libtool.m4:833: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete. ++You should run autoupdate.])dnl ++LT_LANG(Java)]) ++m4trace:m4/libtool.m4:1402: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl ++m4_require([_LT_DECL_SED])dnl ++AC_CACHE_CHECK([$1], [$2], ++ [$2=no ++ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) ++ echo "$lt_simple_compile_test_code" > conftest.$ac_ext ++ lt_compiler_flag="$3" ++ # Insert the option either (1) after the last *FLAGS variable, or ++ # (2) before a word containing "conftest.", or (3) at the end. ++ # Note that $ac_compile itself does not contain backslashes and begins ++ # with a dollar sign (not a hyphen), so the echo should work correctly. ++ # The option is referenced via a variable to avoid confusing sed. ++ lt_compile=`echo "$ac_compile" | $SED \ ++ -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:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) ++ (eval "$lt_compile" 2>conftest.err) ++ ac_status=$? ++ cat conftest.err >&AS_MESSAGE_LOG_FD ++ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD ++ 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. ++ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then ++ $2=yes ++ fi ++ fi ++ $RM conftest* ++]) ++ ++if test x"[$]$2" = xyes; then ++ m4_if([$5], , :, [$5]) ++else ++ m4_if([$6], , :, [$6]) ++fi ++]) ++m4trace:m4/libtool.m4:1444: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) ++m4trace:m4/libtool.m4:1444: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) ++m4trace:m4/libtool.m4:1453: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl ++m4_require([_LT_DECL_SED])dnl ++AC_CACHE_CHECK([$1], [$2], ++ [$2=no ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $3" ++ echo "$lt_simple_link_test_code" > conftest.$ac_ext ++ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then ++ # The linker can only warn and ignore the option if not recognized ++ # So say no if there are warnings ++ if test -s conftest.err; then ++ # Append any errors to the config.log. ++ cat conftest.err 1>&AS_MESSAGE_LOG_FD ++ $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if diff conftest.exp conftest.er2 >/dev/null; then ++ $2=yes ++ fi ++ else ++ $2=yes ++ fi ++ fi ++ $RM -r conftest* ++ LDFLAGS="$save_LDFLAGS" ++]) ++ ++if test x"[$]$2" = xyes; then ++ m4_if([$4], , :, [$4]) ++else ++ m4_if([$5], , :, [$5]) ++fi ++]) ++m4trace:m4/libtool.m4:1488: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) ++m4trace:m4/libtool.m4:1488: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) ++m4trace:m4/libtool.m4:1495: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl ++# find the maximum length of command line arguments ++AC_MSG_CHECKING([the maximum length of command line arguments]) ++AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl ++ i=0 ++ teststring="ABCD" ++ ++ case $build_os in ++ msdosdjgpp*) ++ # On DJGPP, this test can blow up pretty badly due to problems in libc ++ # (any single argument exceeding 2000 bytes causes a buffer overrun ++ # during glob expansion). Even if it were fixed, the result of this ++ # check would be larger than it should be. ++ lt_cv_sys_max_cmd_len=12288; # 12K is about right ++ ;; ++ ++ gnu*) ++ # Under GNU Hurd, this test is not required because there is ++ # no limit to the length of command line arguments. ++ # Libtool will interpret -1 as no limit whatsoever ++ lt_cv_sys_max_cmd_len=-1; ++ ;; ++ ++ cygwin* | mingw* | cegcc*) ++ # On Win9x/ME, this test blows up -- it succeeds, but takes ++ # about 5 minutes as the teststring grows exponentially. ++ # Worse, since 9x/ME are not pre-emptively multitasking, ++ # you end up with a "frozen" computer, even though with patience ++ # the test eventually succeeds (with a max line length of 256k). ++ # Instead, let's just punt: use the minimum linelength reported by ++ # all of the supported platforms: 8192 (on NT/2K/XP). ++ lt_cv_sys_max_cmd_len=8192; ++ ;; ++ ++ amigaos*) ++ # On AmigaOS with pdksh, this test takes hours, literally. ++ # So we just punt and use a minimum line length of 8192. ++ lt_cv_sys_max_cmd_len=8192; ++ ;; ++ ++ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) ++ # This has been around since 386BSD, at least. Likely further. ++ if test -x /sbin/sysctl; then ++ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` ++ elif test -x /usr/sbin/sysctl; then ++ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` ++ else ++ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs ++ fi ++ # And add a safety zone ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ++ ;; ++ ++ interix*) ++ # We know the value 262144 and hardcode it with a safety zone (like BSD) ++ lt_cv_sys_max_cmd_len=196608 ++ ;; ++ ++ osf*) ++ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure ++ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not ++ # nice to cause kernel panics so lets avoid the loop below. ++ # First set a reasonable default. ++ lt_cv_sys_max_cmd_len=16384 ++ # ++ if test -x /sbin/sysconfig; then ++ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in ++ *1*) lt_cv_sys_max_cmd_len=-1 ;; ++ esac ++ fi ++ ;; ++ sco3.2v5*) ++ lt_cv_sys_max_cmd_len=102400 ++ ;; ++ sysv5* | sco5v6* | sysv4.2uw2*) ++ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` ++ if test -n "$kargmax"; then ++ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` ++ else ++ lt_cv_sys_max_cmd_len=32768 ++ fi ++ ;; ++ *) ++ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` ++ if test -n "$lt_cv_sys_max_cmd_len"; then ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ++ else ++ # Make teststring a little bigger before we do anything with it. ++ # a 1K string should be a reasonable start. ++ for i in 1 2 3 4 5 6 7 8 ; do ++ teststring=$teststring$teststring ++ done ++ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} ++ # If test is not a shell built-in, we'll probably end up computing a ++ # maximum length that is only half of the actual maximum length, but ++ # we can't tell. ++ while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ ++ = "XX$teststring$teststring"; } >/dev/null 2>&1 && ++ test $i != 17 # 1/2 MB should be enough ++ do ++ i=`expr $i + 1` ++ teststring=$teststring$teststring ++ done ++ # Only check the string length outside the loop. ++ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` ++ teststring= ++ # Add a significant safety factor because C++ compilers can tack on ++ # massive amounts of additional arguments before passing them to the ++ # linker. It appears as though 1/2 is a usable value. ++ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ++ fi ++ ;; ++ esac ++]) ++if test -n $lt_cv_sys_max_cmd_len ; then ++ AC_MSG_RESULT($lt_cv_sys_max_cmd_len) ++else ++ AC_MSG_RESULT(none) ++fi ++max_cmd_len=$lt_cv_sys_max_cmd_len ++_LT_DECL([], [max_cmd_len], [0], ++ [What is the maximum length of a command?]) ++]) ++m4trace:m4/libtool.m4:1623: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) ++m4trace:m4/libtool.m4:1623: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) ++m4trace:m4/libtool.m4:1724: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl ++if test "x$enable_dlopen" != xyes; then ++ enable_dlopen=unknown ++ enable_dlopen_self=unknown ++ enable_dlopen_self_static=unknown ++else ++ lt_cv_dlopen=no ++ lt_cv_dlopen_libs= ++ ++ case $host_os in ++ beos*) ++ lt_cv_dlopen="load_add_on" ++ lt_cv_dlopen_libs= ++ lt_cv_dlopen_self=yes ++ ;; ++ ++ mingw* | pw32* | cegcc*) ++ lt_cv_dlopen="LoadLibrary" ++ lt_cv_dlopen_libs= ++ ;; ++ ++ cygwin*) ++ lt_cv_dlopen="dlopen" ++ lt_cv_dlopen_libs= ++ ;; ++ ++ darwin*) ++ # if libdl is installed we need to link against it ++ AC_CHECK_LIB([dl], [dlopen], ++ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ ++ lt_cv_dlopen="dyld" ++ lt_cv_dlopen_libs= ++ lt_cv_dlopen_self=yes ++ ]) ++ ;; ++ ++ *) ++ AC_CHECK_FUNC([shl_load], ++ [lt_cv_dlopen="shl_load"], ++ [AC_CHECK_LIB([dld], [shl_load], ++ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], ++ [AC_CHECK_FUNC([dlopen], ++ [lt_cv_dlopen="dlopen"], ++ [AC_CHECK_LIB([dl], [dlopen], ++ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], ++ [AC_CHECK_LIB([svld], [dlopen], ++ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], ++ [AC_CHECK_LIB([dld], [dld_link], ++ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) ++ ]) ++ ]) ++ ]) ++ ]) ++ ]) ++ ;; ++ esac ++ ++ if test "x$lt_cv_dlopen" != xno; then ++ enable_dlopen=yes ++ else ++ enable_dlopen=no ++ fi ++ ++ case $lt_cv_dlopen in ++ dlopen) ++ save_CPPFLAGS="$CPPFLAGS" ++ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" ++ ++ save_LDFLAGS="$LDFLAGS" ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" ++ ++ save_LIBS="$LIBS" ++ LIBS="$lt_cv_dlopen_libs $LIBS" ++ ++ AC_CACHE_CHECK([whether a program can dlopen itself], ++ lt_cv_dlopen_self, [dnl ++ _LT_TRY_DLOPEN_SELF( ++ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, ++ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ++ ]) ++ ++ if test "x$lt_cv_dlopen_self" = xyes; then ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" ++ AC_CACHE_CHECK([whether a statically linked program can dlopen itself], ++ lt_cv_dlopen_self_static, [dnl ++ _LT_TRY_DLOPEN_SELF( ++ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, ++ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ++ ]) ++ fi ++ ++ CPPFLAGS="$save_CPPFLAGS" ++ LDFLAGS="$save_LDFLAGS" ++ LIBS="$save_LIBS" ++ ;; ++ esac ++ ++ case $lt_cv_dlopen_self in ++ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; ++ *) enable_dlopen_self=unknown ;; ++ esac ++ ++ case $lt_cv_dlopen_self_static in ++ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; ++ *) enable_dlopen_self_static=unknown ;; ++ esac ++fi ++_LT_DECL([dlopen_support], [enable_dlopen], [0], ++ [Whether dlopen is supported]) ++_LT_DECL([dlopen_self], [enable_dlopen_self], [0], ++ [Whether dlopen of programs is supported]) ++_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], ++ [Whether dlopen of statically linked programs is supported]) ++]) ++m4trace:m4/libtool.m4:1841: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) ++m4trace:m4/libtool.m4:1841: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) ++m4trace:m4/libtool.m4:2732: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl ++AC_MSG_CHECKING([for $1]) ++AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, ++[case $MAGIC_CMD in ++[[\\/*] | ?:[\\/]*]) ++ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ++ ;; ++*) ++ lt_save_MAGIC_CMD="$MAGIC_CMD" ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++dnl $ac_dummy forces splitting on constant user-supplied paths. ++dnl POSIX.2 word splitting is done only on the output of word expansions, ++dnl not every word. This closes a longstanding sh security hole. ++ ac_dummy="m4_if([$2], , $PATH, [$2])" ++ for ac_dir in $ac_dummy; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ if test -f $ac_dir/$1; then ++ lt_cv_path_MAGIC_CMD="$ac_dir/$1" ++ if test -n "$file_magic_test_file"; then ++ case $deplibs_check_method in ++ "file_magic "*) ++ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` ++ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | ++ $EGREP "$file_magic_regex" > /dev/null; then ++ : ++ else ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: the command libtool uses to detect shared libraries, ++*** $file_magic_cmd, produces output that libtool cannot recognize. ++*** The result is that libtool may fail to recognize shared libraries ++*** as such. This will affect the creation of libtool libraries that ++*** depend on shared libraries, but programs linked with such libtool ++*** libraries will work regardless of this problem. Nevertheless, you ++*** may want to report the problem to your system manager and/or to ++*** bug-libtool@gnu.org ++ ++_LT_EOF ++ fi ;; ++ esac ++ fi ++ break ++ fi ++ done ++ IFS="$lt_save_ifs" ++ MAGIC_CMD="$lt_save_MAGIC_CMD" ++ ;; ++esac]) ++MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ++if test -n "$MAGIC_CMD"; then ++ AC_MSG_RESULT($MAGIC_CMD) ++else ++ AC_MSG_RESULT(no) ++fi ++_LT_DECL([], [MAGIC_CMD], [0], ++ [Used to examine libraries when file_magic_cmd begins with "file"])dnl ++]) ++m4trace:m4/libtool.m4:2794: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) ++m4trace:m4/libtool.m4:2794: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) ++m4trace:m4/libtool.m4:2817: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl ++AC_REQUIRE([AC_CANONICAL_HOST])dnl ++AC_REQUIRE([AC_CANONICAL_BUILD])dnl ++m4_require([_LT_DECL_SED])dnl ++m4_require([_LT_DECL_EGREP])dnl ++ ++AC_ARG_WITH([gnu-ld], ++ [AS_HELP_STRING([--with-gnu-ld], ++ [assume the C compiler uses GNU ld @<:@default=no@:>@])], ++ [test "$withval" = no || with_gnu_ld=yes], ++ [with_gnu_ld=no])dnl ++ ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ AC_MSG_CHECKING([for ld used by $CC]) ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [[\\/]]* | ?:[[\\/]]*) ++ re_direlt='/[[^/]][[^/]]*/\.\./' ++ # Canonicalize the pathname of ld ++ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` ++ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ AC_MSG_CHECKING([for GNU ld]) ++else ++ AC_MSG_CHECKING([for non-GNU ld]) ++fi ++AC_CACHE_VAL(lt_cv_path_LD, ++[if test -z "$LD"; then ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ lt_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some variants of GNU ld only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$lt_cv_path_LD" -v 2>&1 &1 | sed '1q'` in ++ */dev/null* | *'Invalid file or object type'*) ++ lt_cv_path_NM="$tmp_nm -B" ++ break ++ ;; ++ *) ++ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in ++ */dev/null*) ++ lt_cv_path_NM="$tmp_nm -p" ++ break ++ ;; ++ *) ++ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but ++ continue # so that we can try to find one that supports BSD flags ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ done ++ IFS="$lt_save_ifs" ++ done ++ : ${lt_cv_path_NM=no} ++fi]) ++if test "$lt_cv_path_NM" != "no"; then ++ NM="$lt_cv_path_NM" ++else ++ # Didn't find any BSD compatible name lister, look for dumpbin. ++ AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) ++ AC_SUBST([DUMPBIN]) ++ if test "$DUMPBIN" != ":"; then ++ NM="$DUMPBIN" ++ fi ++fi ++test -z "$NM" && NM=nm ++AC_SUBST([NM]) ++_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl ++ ++AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], ++ [lt_cv_nm_interface="BSD nm" ++ echo "int some_variable = 0;" > conftest.$ac_ext ++ (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) ++ (eval "$ac_compile" 2>conftest.err) ++ cat conftest.err >&AS_MESSAGE_LOG_FD ++ (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) ++ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) ++ cat conftest.err >&AS_MESSAGE_LOG_FD ++ (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) ++ cat conftest.out >&AS_MESSAGE_LOG_FD ++ if $GREP 'External.*some_variable' conftest.out > /dev/null; then ++ lt_cv_nm_interface="MS dumpbin" ++ fi ++ rm -f conftest*]) ++]) ++m4trace:m4/libtool.m4:3248: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) ++m4trace:m4/libtool.m4:3248: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) ++m4trace:m4/libtool.m4:3249: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) ++m4trace:m4/libtool.m4:3249: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) ++m4trace:m4/libtool.m4:3258: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl ++LIBM= ++case $host in ++*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) ++ # These system don't have libm, or don't need it ++ ;; ++*-ncr-sysv4.3*) ++ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") ++ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ++ ;; ++*) ++ AC_CHECK_LIB(m, cos, LIBM="-lm") ++ ;; ++esac ++AC_SUBST([LIBM]) ++]) ++m4trace:m4/libtool.m4:3277: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) ++m4trace:m4/libtool.m4:3277: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) ++m4trace:m4/libtool.m4:6970: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], ++ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], ++ [AC_CHECK_TOOL(GCJ, gcj,) ++ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" ++ AC_SUBST(GCJFLAGS)])])[]dnl ++]) ++m4trace:m4/libtool.m4:6979: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) ++m4trace:m4/libtool.m4:6979: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) ++m4trace:m4/libtool.m4:6986: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ++]) ++m4trace:m4/libtool.m4:6991: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) ++m4trace:m4/libtool.m4:6991: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) ++m4trace:m4/libtool.m4:7102: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) ++m4trace:m4/libtool.m4:7102: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete. ++You should run autoupdate.])dnl ++m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) ++m4trace:m4/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) ++m4trace:m4/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you ++put the `dlopen' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete. ++You should run autoupdate.])dnl ++_LT_SET_OPTION([LT_INIT], [dlopen]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you ++put the `dlopen' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl ++_LT_SET_OPTION([LT_INIT], [win32-dll]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you ++put the `win32-dll' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. ++You should run autoupdate.])dnl ++AC_REQUIRE([AC_CANONICAL_HOST])dnl ++_LT_SET_OPTION([LT_INIT], [win32-dll]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you ++put the `win32-dll' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ++]) ++m4trace:m4/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ++]) ++m4trace:m4/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) ++m4trace:m4/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete. ++You should run autoupdate.])dnl ++AC_ENABLE_SHARED($@)]) ++m4trace:m4/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) ++m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete. ++You should run autoupdate.])dnl ++AC_DISABLE_SHARED($@)]) ++m4trace:m4/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ++]) ++m4trace:m4/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ++]) ++m4trace:m4/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) ++m4trace:m4/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete. ++You should run autoupdate.])dnl ++AC_ENABLE_STATIC($@)]) ++m4trace:m4/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) ++m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete. ++You should run autoupdate.])dnl ++AC_DISABLE_STATIC($@)]) ++m4trace:m4/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you put ++the `fast-install' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete. ++You should run autoupdate.])dnl ++_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you put ++the `fast-install' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you put ++the `disable-fast-install' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete. ++You should run autoupdate.])dnl ++_LT_SET_OPTION([LT_INIT], [disable-fast-install]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you put ++the `disable-fast-install' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you ++put the `pic-only' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete. ++You should run autoupdate.])dnl ++_LT_SET_OPTION([LT_INIT], [pic-only]) ++AC_DIAGNOSE([obsolete], ++[$0: Remove this warning and the call to _LT_SET_OPTION when you ++put the `pic-only' option into LT_INIT's first parameter.]) ++]) ++m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) ++m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6' ++macro_revision='1.3012' ++_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) ++_LT_DECL(, macro_revision, 0) ++]) ++m4trace:m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) ++m4trace:m4/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH]) ++m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT]) ++m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX]) ++m4trace:m4/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR]) ++m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL]) ++m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN]) ++m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER]) ++m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK]) ++m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE]) ++m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF]) ++m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O]) ++m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS]) ++m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR]) ++m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR]) ++m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH]) ++m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP]) ++m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC]) ++m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU]) ++m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG]) ++m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD]) ++m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI]) ++m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) ++m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC]) ++m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS]) ++m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP]) ++m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP]) ++m4trace:m4/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL]) ++m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP]) ++m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN]) ++m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER]) ++m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG]) ++m4trace:m4/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX]) ++m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77]) ++m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ]) ++m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC]) ++m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG]) ++m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG]) ++m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG]) ++m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG]) ++m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG]) ++m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG]) ++m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG]) ++m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG]) ++m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG]) ++m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG]) ++m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG]) ++m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C]) ++m4trace:m4/nls.m4:22: -1- AC_DEFUN([AM_NLS], [ ++ AC_MSG_CHECKING([whether NLS is requested]) ++ dnl Default is enabled NLS ++ AC_ARG_ENABLE(nls, ++ [ --disable-nls do not use Native Language Support], ++ USE_NLS=$enableval, USE_NLS=yes) ++ AC_MSG_RESULT($USE_NLS) ++ AC_SUBST(USE_NLS) ++]) ++m4trace:m4/nls.m4:33: -1- AC_DEFUN([AM_MKINSTALLDIRS], [ ++ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly ++ dnl find the mkinstalldirs script in another subdir but $(top_srcdir). ++ dnl Try to locate it. ++ MKINSTALLDIRS= ++ if test -n "$ac_aux_dir"; then ++ case "$ac_aux_dir" in ++ /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; ++ *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; ++ esac ++ fi ++ if test -z "$MKINSTALLDIRS"; then ++ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" ++ fi ++ AC_SUBST(MKINSTALLDIRS) ++]) ++m4trace:m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [ ++ AC_REQUIRE([AC_PROG_MAKE_SET])dnl ++ AC_REQUIRE([AC_PROG_INSTALL])dnl ++ AC_REQUIRE([AM_MKINSTALLDIRS])dnl ++ AC_REQUIRE([AM_NLS])dnl ++ ++ dnl Perform the following tests also if --disable-nls has been given, ++ dnl because they are needed for "make dist" to work. ++ ++ dnl Search for GNU msgfmt in the PATH. ++ dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. ++ dnl The second test excludes FreeBSD msgfmt. ++ AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, ++ [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], ++ :) ++ AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) ++ ++ dnl Search for GNU xgettext 0.12 or newer in the PATH. ++ dnl The first test excludes Solaris xgettext and early GNU xgettext versions. ++ dnl The second test excludes FreeBSD xgettext. ++ AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, ++ [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], ++ :) ++ dnl Remove leftover from FreeBSD xgettext call. ++ rm -f messages.po ++ ++ dnl Search for GNU msgmerge 0.11 or newer in the PATH. ++ AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, ++ [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :) ++ ++ dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. ++ dnl Test whether we really found GNU msgfmt. ++ if test "$GMSGFMT" != ":"; then ++ dnl If it is no GNU msgfmt we define it as : so that the ++ dnl Makefiles still can work. ++ if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && ++ (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ : ; ++ else ++ GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` ++ AC_MSG_RESULT( ++ [found $GMSGFMT program is not GNU msgfmt; ignore it]) ++ GMSGFMT=":" ++ fi ++ fi ++ ++ dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. ++ dnl Test whether we really found GNU xgettext. ++ if test "$XGETTEXT" != ":"; then ++ dnl If it is no GNU xgettext we define it as : so that the ++ dnl Makefiles still can work. ++ if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ++ : ; ++ else ++ AC_MSG_RESULT( ++ [found xgettext program is not GNU xgettext; ignore it]) ++ XGETTEXT=":" ++ fi ++ dnl Remove leftover from FreeBSD xgettext call. ++ rm -f messages.po ++ fi ++ ++ AC_OUTPUT_COMMANDS([ ++ for ac_file in $CONFIG_FILES; do ++ # Support "outfile[:infile[:infile...]]" ++ case "$ac_file" in ++ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; ++ esac ++ # PO directories have a Makefile.in generated from Makefile.in.in. ++ case "$ac_file" in */Makefile.in) ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then ++ rm -f "$ac_dir/POTFILES" ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" ++ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" ++ POMAKEFILEDEPS="POTFILES.in" ++ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend ++ # on $ac_dir but don't depend on user-specified configuration ++ # parameters. ++ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then ++ # The LINGUAS file contains the set of available languages. ++ if test -n "$OBSOLETE_ALL_LINGUAS"; then ++ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" ++ fi ++ ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` ++ # Hide the ALL_LINGUAS assigment from automake. ++ eval 'ALL_LINGUAS''=$ALL_LINGUAS_' ++ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" ++ else ++ # The set of available languages was given in configure.in. ++ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' ++ fi ++ # Compute POFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) ++ # Compute UPDATEPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) ++ # Compute DUMMYPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) ++ # Compute GMOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) ++ case "$ac_given_srcdir" in ++ .) srcdirpre= ;; ++ *) srcdirpre='$(srcdir)/' ;; ++ esac ++ POFILES= ++ UPDATEPOFILES= ++ DUMMYPOFILES= ++ GMOFILES= ++ for lang in $ALL_LINGUAS; do ++ POFILES="$POFILES $srcdirpre$lang.po" ++ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" ++ DUMMYPOFILES="$DUMMYPOFILES $lang.nop" ++ GMOFILES="$GMOFILES $srcdirpre$lang.gmo" ++ done ++ # CATALOGS depends on both $ac_dir and the user's LINGUAS ++ # environment variable. ++ INST_LINGUAS= ++ if test -n "$ALL_LINGUAS"; then ++ for presentlang in $ALL_LINGUAS; do ++ useit=no ++ if test "%UNSET%" != "$LINGUAS"; then ++ desiredlanguages="$LINGUAS" ++ else ++ desiredlanguages="$ALL_LINGUAS" ++ fi ++ for desiredlang in $desiredlanguages; do ++ # Use the presentlang catalog if desiredlang is ++ # a. equal to presentlang, or ++ # b. a variant of presentlang (because in this case, ++ # presentlang can be used as a fallback for messages ++ # which are not translated in the desiredlang catalog). ++ case "$desiredlang" in ++ "$presentlang"*) useit=yes;; ++ esac ++ done ++ if test $useit = yes; then ++ INST_LINGUAS="$INST_LINGUAS $presentlang" ++ fi ++ done ++ fi ++ CATALOGS= ++ if test -n "$INST_LINGUAS"; then ++ for lang in $INST_LINGUAS; do ++ CATALOGS="$CATALOGS $lang.gmo" ++ done ++ fi ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" ++ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" ++ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do ++ if test -f "$f"; then ++ case "$f" in ++ *.orig | *.bak | *~) ;; ++ *) cat "$f" >> "$ac_dir/Makefile" ;; ++ esac ++ fi ++ done ++ fi ++ ;; ++ esac ++ done], ++ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute ++ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it ++ # from automake. ++ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' ++ # Capture the value of LINGUAS because we need it to compute CATALOGS. ++ LINGUAS="${LINGUAS-%UNSET%}" ++ ]) ++]) ++m4trace:m4/po.m4:208: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ ++ # When this code is run, in config.status, two variables have already been ++ # set: ++ # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, ++ # - LINGUAS is the value of the environment variable LINGUAS at configure ++ # time. ++ ++changequote(,)dnl ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ ++ # Find a way to echo strings without interpreting backslash. ++ if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then ++ gt_echo='echo' ++ else ++ if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then ++ gt_echo='printf %s\n' ++ else ++ echo_func () { ++ cat < "$ac_file.tmp" ++ if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then ++ # Add dependencies that cannot be formulated as a simple suffix rule. ++ for lang in $ALL_LINGUAS; do ++ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` ++ cat >> "$ac_file.tmp" < /dev/null; then ++ # Add dependencies that cannot be formulated as a simple suffix rule. ++ for lang in $ALL_LINGUAS; do ++ frobbedlang=`echo $lang | sed -e 's/_/-/g'` ++ cat >> "$ac_file.tmp" <> "$ac_file.tmp" <conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "$2", so it can be a program name with args. ++set dummy $2; ac_word=[$]2 ++AC_MSG_CHECKING([for $ac_word]) ++AC_CACHE_VAL(ac_cv_path_$1, ++[case "[$]$1" in ++ [[\\/]]* | ?:[[\\/]]*) ++ ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in ifelse([$5], , $PATH, [$5]); do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ if [$3]; then ++ ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++dnl If no 4th arg is given, leave the cache variable unset, ++dnl so AC_PATH_PROGS will keep looking. ++ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ++])dnl ++ ;; ++esac])dnl ++$1="$ac_cv_path_$1" ++if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then ++ AC_MSG_RESULT([$]$1) ++else ++ AC_MSG_RESULT(no) ++fi ++AC_SUBST($1)dnl ++]) ++m4trace:m4/size_max.m4:11: -1- AC_DEFUN([gl_SIZE_MAX], [ ++ AC_CHECK_HEADERS(stdint.h) ++ dnl First test whether the system already has SIZE_MAX. ++ AC_MSG_CHECKING([for SIZE_MAX]) ++ result= ++ AC_EGREP_CPP([Found it], [ ++#include ++#if HAVE_STDINT_H ++#include ++#endif ++#ifdef SIZE_MAX ++Found it ++#endif ++], result=yes) ++ if test -z "$result"; then ++ dnl Define it ourselves. Here we assume that the type 'size_t' is not wider ++ dnl than the type 'unsigned long'. ++ dnl The _AC_COMPUTE_INT macro works up to LONG_MAX, since it uses 'expr', ++ dnl which is guaranteed to work from LONG_MIN to LONG_MAX. ++ _AC_COMPUTE_INT([~(size_t)0 / 10], res_hi, ++ [#include ], result=?) ++ _AC_COMPUTE_INT([~(size_t)0 % 10], res_lo, ++ [#include ], result=?) ++ _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint, ++ [#include ], result=?) ++ if test "$fits_in_uint" = 1; then ++ dnl Even though SIZE_MAX fits in an unsigned int, it must be of type ++ dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. ++ AC_TRY_COMPILE([#include ++ extern size_t foo; ++ extern unsigned long foo; ++ ], [], fits_in_uint=0) ++ fi ++ if test -z "$result"; then ++ if test "$fits_in_uint" = 1; then ++ result="$res_hi$res_lo"U ++ else ++ result="$res_hi$res_lo"UL ++ fi ++ else ++ dnl Shouldn't happen, but who knows... ++ result='~(size_t)0' ++ fi ++ fi ++ AC_MSG_RESULT([$result]) ++ if test "$result" != yes; then ++ AC_DEFINE_UNQUOTED([SIZE_MAX], [$result], ++ [Define as the maximum value of type 'size_t', if the system doesn't define it.]) ++ fi ++]) ++m4trace:m4/wchar_t.m4:13: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [ ++ AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, ++ [AC_TRY_COMPILE([#include ++ wchar_t foo = (wchar_t)'\0';], , ++ gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) ++ if test $gt_cv_c_wchar_t = yes; then ++ AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) ++ fi ++]) ++m4trace:m4/wint_t.m4:13: -1- AC_DEFUN([gt_TYPE_WINT_T], [ ++ AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, ++ [AC_TRY_COMPILE([#include ++ wint_t foo = (wchar_t)'\0';], , ++ gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) ++ if test $gt_cv_c_wint_t = yes; then ++ AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) ++ fi ++]) ++m4trace:m4/xsize.m4:9: -1- AC_DEFUN([gl_XSIZE], [ ++ dnl Prerequisites of lib/xsize.h. ++ AC_REQUIRE([gl_SIZE_MAX]) ++ AC_CHECK_HEADERS(stdint.h) ++]) ++m4trace:acinclude.m4:10: -1- AC_DEFUN([LIBVIRT_COMPILE_WARNINGS], [ ++ dnl ****************************** ++ dnl More compiler warnings ++ dnl ****************************** ++ ++ AC_ARG_ENABLE(compile-warnings, ++ AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], ++ [Turn on compiler warnings]),, ++ [enable_compile_warnings="m4_default([$1],[maximum])"]) ++ ++ warnCFLAGS= ++ ++ common_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables" ++ ++ case "$enable_compile_warnings" in ++ no) ++ try_compiler_flags="" ++ ;; ++ minimum) ++ try_compiler_flags="-Wall -Wformat -Wformat-security $common_flags" ++ ;; ++ yes) ++ try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes $common_flags" ++ ;; ++ maximum|error) ++ try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith" ++ try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return" ++ try_compiler_flags="$try_compiler_flags -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare" ++ try_compiler_flags="$try_compiler_flags $common_flags" ++ if test "$enable_compile_warnings" = "error" ; then ++ try_compiler_flags="$try_compiler_flags -Werror" ++ fi ++ ;; ++ *) ++ AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) ++ ;; ++ esac ++ ++ COMPILER_FLAGS= ++ for option in $try_compiler_flags; do ++ gl_COMPILER_FLAGS($option) ++ done ++ unset option ++ unset try_compiler_flags ++ ++ AC_ARG_ENABLE(iso-c, ++ AC_HELP_STRING([--enable-iso-c], ++ [Try to warn if code is not ISO C ]),, ++ [enable_iso_c=no]) ++ ++ AC_MSG_CHECKING(what language compliance flags to pass to the C compiler) ++ complCFLAGS= ++ if test "x$enable_iso_c" != "xno"; then ++ if test "x$GCC" = "xyes"; then ++ case " $CFLAGS " in ++ *[\ \ ]-ansi[\ \ ]*) ;; ++ *) complCFLAGS="$complCFLAGS -ansi" ;; ++ esac ++ case " $CFLAGS " in ++ *[\ \ ]-pedantic[\ \ ]*) ;; ++ *) complCFLAGS="$complCFLAGS -pedantic" ;; ++ esac ++ fi ++ fi ++ AC_MSG_RESULT($complCFLAGS) ++ ++ WARN_CFLAGS="$COMPILER_FLAGS $complCFLAGS" ++ AC_SUBST(WARN_CFLAGS) ++ ++ dnl Needed to keep compile quiet on python 2.4 ++ COMPILER_FLAGS= ++ gl_COMPILER_FLAGS(-Wno-redundant-decls) ++ WARN_PYTHON_CFLAGS=$COMPILER_FLAGS ++ AC_SUBST(WARN_PYTHON_CFLAGS) ++]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([_AC_]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) ++m4trace:configure.in:3: -1- m4_pattern_allow([^AS_FLAGS$]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^_?m4_]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^dnl$]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^_?AS_]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^SHELL$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PATH_SEPARATOR$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^exec_prefix$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^prefix$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^program_transform_name$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^bindir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^sbindir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^libexecdir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^datarootdir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^datadir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^sysconfdir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^sharedstatedir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^localstatedir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^includedir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^oldincludedir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^docdir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^infodir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^htmldir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^dvidir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^pdfdir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^psdir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^libdir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^localedir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^mandir$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^DEFS$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_C$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_N$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_T$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^build_alias$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^host_alias$]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^target_alias$]) ++m4trace:configure.in:6: -1- AM_CONFIG_HEADER([config.h]) ++m4trace:configure.in:6: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. ++You should run autoupdate.], [/usr/share/aclocal-1.10/header.m4:12: AM_CONFIG_HEADER is expanded from... ++configure.in:6: the top level]) ++m4trace:configure.in:8: -1- AM_INIT_AUTOMAKE([-Wno-portability]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) ++m4trace:configure.in:8: -1- AM_SET_CURRENT_AUTOMAKE_VERSION ++m4trace:configure.in:8: -1- AM_AUTOMAKE_VERSION([1.10.2]) ++m4trace:configure.in:8: -1- _AM_AUTOCONF_VERSION([2.64]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_DATA$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^am__isrc$]) ++m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([am__isrc]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^CYGPATH_W$]) ++m4trace:configure.in:8: -1- _AM_SET_OPTIONS([-Wno-portability]) ++m4trace:configure.in:8: -1- _AM_SET_OPTION([-Wno-portability]) ++m4trace:configure.in:8: -2- _AM_MANGLE_OPTION([-Wno-portability]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^VERSION$]) ++m4trace:configure.in:8: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) ++ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) ++m4trace:configure.in:8: -2- _AM_MANGLE_OPTION([no-define]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^VERSION$]) ++m4trace:configure.in:8: -1- AM_SANITY_CHECK ++m4trace:configure.in:8: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) ++m4trace:configure.in:8: -1- AM_MISSING_HAS_RUN ++m4trace:configure.in:8: -1- AM_AUX_DIR_EXPAND ++m4trace:configure.in:8: -1- m4_pattern_allow([^ACLOCAL$]) ++m4trace:configure.in:8: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AUTOCONF$]) ++m4trace:configure.in:8: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AUTOMAKE$]) ++m4trace:configure.in:8: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AUTOHEADER$]) ++m4trace:configure.in:8: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^MAKEINFO$]) ++m4trace:configure.in:8: -1- AM_PROG_INSTALL_SH ++m4trace:configure.in:8: -1- m4_pattern_allow([^install_sh$]) ++m4trace:configure.in:8: -1- AM_PROG_INSTALL_STRIP ++m4trace:configure.in:8: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) ++m4trace:configure.in:8: -1- AM_PROG_MKDIR_P ++m4trace:configure.in:8: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:8: -1- m4_pattern_allow([^MKDIR_P$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^mkdir_p$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AWK$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^SET_MAKE$]) ++m4trace:configure.in:8: -1- AM_SET_LEADING_DOT ++m4trace:configure.in:8: -1- m4_pattern_allow([^am__leading_dot$]) ++m4trace:configure.in:8: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], ++ [_AM_PROG_TAR([v7])])]) ++m4trace:configure.in:8: -2- _AM_MANGLE_OPTION([tar-ustar]) ++m4trace:configure.in:8: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) ++m4trace:configure.in:8: -2- _AM_MANGLE_OPTION([tar-pax]) ++m4trace:configure.in:8: -1- _AM_PROG_TAR([v7]) ++m4trace:configure.in:8: -1- AM_MISSING_PROG([AMTAR], [tar]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AMTAR$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^am__tar$]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^am__untar$]) ++m4trace:configure.in:8: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], ++ [_AM_DEPENDENCIES(CC)], ++ [define([AC_PROG_CC], ++ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_CXX], ++ [_AM_DEPENDENCIES(CXX)], ++ [define([AC_PROG_CXX], ++ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_OBJC], ++ [_AM_DEPENDENCIES(OBJC)], ++ [define([AC_PROG_OBJC], ++ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ++]) ++m4trace:configure.in:8: -2- _AM_MANGLE_OPTION([no-dependencies]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^build$]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^build_cpu$]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^build_vendor$]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^build_os$]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^host$]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^host_cpu$]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^host_vendor$]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^host_os$]) ++m4trace:configure.in:23: -1- m4_pattern_allow([^LIBVIRT_MAJOR_VERSION$]) ++m4trace:configure.in:24: -1- m4_pattern_allow([^LIBVIRT_MINOR_VERSION$]) ++m4trace:configure.in:25: -1- m4_pattern_allow([^LIBVIRT_MICRO_VERSION$]) ++m4trace:configure.in:26: -1- m4_pattern_allow([^LIBVIRT_VERSION$]) ++m4trace:configure.in:27: -1- m4_pattern_allow([^LIBVIRT_VERSION_INFO$]) ++m4trace:configure.in:28: -1- m4_pattern_allow([^LIBVIRT_VERSION_NUMBER$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CFLAGS$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^LDFLAGS$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^ac_ct_CC$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^EXEEXT$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^OBJEXT$]) ++m4trace:configure.in:39: -1- _AM_DEPENDENCIES([CC]) ++m4trace:configure.in:39: -1- AM_SET_DEPDIR ++m4trace:configure.in:39: -1- m4_pattern_allow([^DEPDIR$]) ++m4trace:configure.in:39: -1- AM_OUTPUT_DEPENDENCY_COMMANDS ++m4trace:configure.in:39: -1- AM_MAKE_INCLUDE ++m4trace:configure.in:39: -1- m4_pattern_allow([^am__include$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^am__quote$]) ++m4trace:configure.in:39: -1- AM_DEP_TRACK ++m4trace:configure.in:39: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^AMDEP_TRUE$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^AMDEP_FALSE$]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CCDEPMODE$]) ++m4trace:configure.in:39: -1- AM_CONDITIONAL([am__fastdepCC], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) ++m4trace:configure.in:41: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.in:41: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.in:41: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.in:52: -1- gl_EARLY ++m4trace:configure.in:52: -1- m4_pattern_forbid([^gl_[A-Z]]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^gl_ES$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^gl_LIBOBJS$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.in:52: -1- gl_USE_SYSTEM_EXTENSIONS ++m4trace:configure.in:52: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from... ++gnulib/m4/gnulib-comp.m4:21: gl_EARLY is expanded from... ++configure.in:52: the top level]) ++m4trace:configure.in:52: -1- AC_USE_SYSTEM_EXTENSIONS ++m4trace:configure.in:52: -1- AC_PROG_EGREP ++m4trace:configure.in:52: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^STDC_HEADERS$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_POSIX_SOURCE$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_MINIX$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_XOPEN_SOURCE$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^__EXTENSIONS__$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_ALL_SOURCE$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_GNU_SOURCE$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_LARGEFILE_SOURCE$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^HAVE_FSEEKO$]) ++m4trace:configure.in:53: -1- gl_INIT ++m4trace:configure.in:53: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$]) ++m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE]) ++m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE]) ++m4trace:configure.in:53: -1- gl_COMMON ++m4trace:configure.in:53: -1- gl_00GNULIB ++m4trace:configure.in:53: -1- gl_COMMON_BODY ++m4trace:configure.in:53: -1- m4_pattern_allow([^LTALLOCA$]) ++m4trace:configure.in:53: -1- gl_FUNC_ALLOCA ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ALLOCA_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ALLOCA$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ALLOCA$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^C_ALLOCA$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^CRAY_STACKSEG_END$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^STACK_DIRECTION$]) ++m4trace:configure.in:53: -1- gl_PREREQ_ALLOCA ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ALLOCA$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ALLOCA_H$]) ++m4trace:configure.in:53: -1- gl_HEADER_ARPA_INET ++m4trace:configure.in:53: -1- gl_ARPA_INET_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_INET_NTOP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_INET_PTON$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_INET_PTON$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ARPA_INET_H$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([arpa/inet.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_arpa_inet_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([arpa/inet.h]) ++m4trace:configure.in:53: -1- gl_INCLUDE_NEXT ++m4trace:configure.in:53: -1- m4_pattern_allow([^INCLUDE_NEXT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([arpa/inet.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_arpa_inet_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_ARPA_INET_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H$]) ++m4trace:configure.in:53: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:53: -1- gl_FUNC_CLOSE ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_WINSOCK2 ++m4trace:configure.in:53: -1- gl_UNISTD_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_CHOWN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_CLOSE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_DUP2$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_ENVIRON$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FCHDIR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FSYNC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETCWD$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LCHOWN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LINK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LSEEK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_READLINK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SLEEP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WRITE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DUP2$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_EUIDACCESS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_FSYNC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETDOMAINNAME$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETUSERSHELL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LINK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_READLINK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SLEEP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_OS_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_CHOWN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_CLOSE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FCHDIR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_GETCWD$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_LCHOWN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_LSEEK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WRITE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- gl_SYS_IOCTL_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_IOCTL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_IOCTL_H_HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_IOCTL_H$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- gl_REPLACE_CLOSE ++m4trace:configure.in:53: -1- gl_LIBSOURCES([close.c]) ++m4trace:configure.in:53: -1- gl_REPLACE_FCLOSE ++m4trace:configure.in:53: -1- gl_STDIO_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SNPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VFPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_DPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VDPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VASPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FOPEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FREOPEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FSEEK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FSEEKO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FTELL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FTELLO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FFLUSH$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPURGE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FCLOSE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPUTC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PUTC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PUTCHAR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPUTS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PUTS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FWRITE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETDELIM$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETLINE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PERROR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VFPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_PRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_SNPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_SPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VSPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_DPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_VDPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VDPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VASPRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FOPEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FREOPEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_FSEEKO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FSEEKO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FSEEK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_FTELLO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FTELLO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FTELL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FFLUSH$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FPURGE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FCLOSE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_GETLINE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_PERROR$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([fclose.c]) ++m4trace:configure.in:53: -1- gl_UNISTD_MODULE_INDICATOR([close]) ++m4trace:configure.in:53: -1- gl_HEADER_SYS_SOCKET ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SOCKET$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_CONNECT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_ACCEPT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_BIND$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETPEERNAME$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETSOCKNAME$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETSOCKOPT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LISTEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RECV$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SEND$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RECVFROM$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SENDTO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SETSOCKOPT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SHUTDOWN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SHUTDOWN$]) ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_SOCKET ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$]) ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_WINSOCK2 ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([connect.c]) ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_MODULE_INDICATOR([connect]) ++m4trace:configure.in:53: -1- gl_HEADER_ERRNO_H ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([errno.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([errno.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_errno_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_ERRNO_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ERRNO_H$]) ++m4trace:configure.in:53: -1- gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) ++m4trace:configure.in:53: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EMULTIHOP], [EMULTIHOP], [ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^EMULTIHOP_VALUE$]) ++m4trace:configure.in:53: -1- gl_REPLACE_ERRNO_VALUE([ENOLINK]) ++m4trace:configure.in:53: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_ENOLINK], [ENOLINK], [ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ENOLINK_HIDDEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ENOLINK_VALUE$]) ++m4trace:configure.in:53: -1- gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) ++m4trace:configure.in:53: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EOVERFLOW], [EOVERFLOW], [ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^EOVERFLOW_VALUE$]) ++m4trace:configure.in:53: -1- gl_FUNC_FCLOSE ++m4trace:configure.in:53: -1- gl_STDIO_MODULE_INDICATOR([fclose]) ++m4trace:configure.in:53: -1- gl_FLOAT_H ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([float.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([float.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_float_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_FLOAT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^FLOAT_H$]) ++m4trace:configure.in:53: -1- gl_FUNC_FSEEKO ++m4trace:configure.in:53: -1- gl_STDIN_LARGE_OFFSET ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/fseeko.m4:7: gl_FUNC_FSEEKO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- gl_REPLACE_FSEEKO ++m4trace:configure.in:53: -1- gl_LIBSOURCES([fseeko.c]) ++m4trace:configure.in:53: -1- gl_REPLACE_FSEEKO ++m4trace:configure.in:53: -1- gl_LIBSOURCES([fseeko.c]) ++m4trace:configure.in:53: -1- gl_STDIO_MODULE_INDICATOR([fseeko]) ++m4trace:configure.in:53: -1- gl_GETADDRINFO ++m4trace:configure.in:53: -1- gl_HEADER_NETDB ++m4trace:configure.in:53: -1- gl_NETDB_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETADDRINFO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_ADDRINFO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FREEADDRINFO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERROR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETADDRINFO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETNAMEINFO$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([netdb.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([netdb.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_netdb_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_NETDB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETDB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NETDB_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([getaddrinfo.c]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([gai_strerror.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_GETADDRINFO ++m4trace:configure.in:53: -1- gl_HOSTENT ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ++../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ++gnulib/m4/hostent.m4:7: gl_HOSTENT is expanded from... ++gnulib/m4/getaddrinfo.m4:94: gl_PREREQ_GETADDRINFO is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HOSTENT_LIB$]) ++m4trace:configure.in:53: -1- gl_SERVENT ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETSERVBYNAME$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ++../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ++gnulib/m4/servent.m4:7: gl_SERVENT is expanded from... ++gnulib/m4/getaddrinfo.m4:94: gl_PREREQ_GETADDRINFO is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SERVENT_LIB$]) ++m4trace:configure.in:53: -1- AC_C_RESTRICT ++m4trace:configure.in:53: -1- m4_pattern_allow([^restrict$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^restrict$]) ++m4trace:configure.in:53: -1- gl_SOCKET_FAMILIES ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([netinet/in.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_netinet_in_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++gnulib/m4/sockpfaf.m4:14: gl_SOCKET_FAMILIES is expanded from... ++gnulib/m4/getaddrinfo.m4:94: gl_PREREQ_GETADDRINFO is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_IPV4$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++gnulib/m4/sockpfaf.m4:14: gl_SOCKET_FAMILIES is expanded from... ++gnulib/m4/getaddrinfo.m4:94: gl_PREREQ_GETADDRINFO is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_IPV6$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([netinet/in.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_netinet_in_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETADDRINFO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FREEADDRINFO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERROR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETNAMEINFO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_ADDRINFO$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GETADDRINFO_LIB$]) ++m4trace:configure.in:53: -1- gl_NETDB_MODULE_INDICATOR([getaddrinfo]) ++m4trace:configure.in:53: -1- gl_FUNC_GETDELIM ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETDELIM$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([getdelim]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_getdelim], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) ++m4trace:configure.in:53: -1- gl_PREREQ_GETDELIM ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) ++m4trace:configure.in:53: -1- gl_STDIO_MODULE_INDICATOR([getdelim]) ++m4trace:configure.in:53: -1- gl_FUNC_GETHOSTNAME ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_WINSOCK2 ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- gl_PREREQ_GETHOSTNAME ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNAME$]) ++m4trace:configure.in:53: -1- gl_UNISTD_MODULE_INDICATOR([gethostname]) ++m4trace:configure.in:53: -1- gl_FUNC_GETLINE ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([getline]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_getline], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/getline.m4:15: gl_FUNC_GETLINE is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([getline.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_GETLINE ++m4trace:configure.in:53: -1- gl_FUNC_GETDELIM ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETDELIM$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([getdelim]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_getdelim], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- gl_PREREQ_GETDELIM ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) ++m4trace:configure.in:53: -1- gl_STDIO_MODULE_INDICATOR([getline]) ++m4trace:configure.in:53: -1- gl_FUNC_GETPAGESIZE ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_OS_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([getpagesize.c]) ++m4trace:configure.in:53: -1- gl_UNISTD_MODULE_INDICATOR([getpagesize]) ++m4trace:configure.in:53: -1- gl_FUNC_GETPASS ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETPASS$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([getpass]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_getpass], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETPASS$]) ++m4trace:configure.in:53: -1- gl_PREREQ_GETPASS ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([stdio_ext.h termios.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_stdio_ext_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_termios_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- AC_CHECK_FUNCS_ONCE([__fsetlocking tcgetattr tcsetattr]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC___fsetlocking], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC_tcgetattr], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC_tcsetattr], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL___FSETLOCKING$]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([fflush_unlocked]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_fflush_unlocked], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([flockfile]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_flockfile], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FLOCKFILE$]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([fputs_unlocked]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_fputs_unlocked], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([funlockfile]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_funlockfile], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FUNLOCKFILE$]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([putc_unlocked]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_putc_unlocked], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$]) ++m4trace:configure.in:53: -1- AM_GNU_GETTEXT_VERSION([0.17]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LIBINTL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LTLIBINTL$]) ++m4trace:configure.in:53: -1- gl_FUNC_GETTIMEOFDAY ++m4trace:configure.in:53: -1- gl_HEADER_SYS_TIME_H ++m4trace:configure.in:53: -1- gl_HEADER_SYS_TIME_H_BODY ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([sys/time.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/time.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_time_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_TIME_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_GETTIMEOFDAY$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_TIME_H$]) ++m4trace:configure.in:53: -1- AC_CHECK_FUNCS_ONCE([gettimeofday]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC_gettimeofday], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- gl_FUNC_GETTIMEOFDAY_CLOBBER ++m4trace:configure.in:53: -1- gl_GETTIMEOFDAY_REPLACE_LOCALTIME ++m4trace:configure.in:53: -1- gl_LIBSOURCES([gettimeofday.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_GETTIMEOFDAY ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^gmtime$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^localtime$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GETTIMEOFDAY_CLOBBERS_LOCALTIME$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([gettimeofday.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_GETTIMEOFDAY ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.in:53: -1- gl_HOSTENT ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ++../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ++gnulib/m4/hostent.m4:7: gl_HOSTENT is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HOSTENT_LIB$]) ++m4trace:configure.in:53: -1- gl_INET_NTOP ++m4trace:configure.in:53: -1- gl_REPLACE_ARPA_INET_H ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- gl_PREREQ_INET_NTOP ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$]) ++m4trace:configure.in:53: -1- gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) ++m4trace:configure.in:53: -1- gl_INET_PTON ++m4trace:configure.in:53: -1- gl_REPLACE_ARPA_INET_H ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INET_PTON$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- gl_PREREQ_INET_PTON ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_INET_PTON$]) ++m4trace:configure.in:53: -1- gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([ioctl.c]) ++m4trace:configure.in:53: -1- gl_REPLACE_SYS_IOCTL_H ++m4trace:configure.in:53: -1- gl_SYS_IOCTL_MODULE_INDICATOR([ioctl]) ++m4trace:configure.in:53: -1- gl_MODULE_INDICATOR([ioctl]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_IOCTL$]) ++m4trace:configure.in:53: -1- gl_FUNC_LSEEK ++m4trace:configure.in:53: -1- gl_REPLACE_LSEEK ++m4trace:configure.in:53: -1- gl_LIBSOURCES([lseek.c]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LSEEK_PIPE_BROKEN$]) ++m4trace:configure.in:53: -1- gl_UNISTD_MODULE_INDICATOR([lseek]) ++m4trace:configure.in:53: -1- gl_FUNC_LSTAT ++m4trace:configure.in:53: -1- gl_SYS_STAT_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LCHMOD$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LSTAT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LCHMOD$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_LSTAT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MKDIR$]) ++m4trace:configure.in:53: -1- AC_CHECK_FUNCS_ONCE([lstat]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC_lstat], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([lstat.c]) ++m4trace:configure.in:53: -1- gl_SYS_STAT_MODULE_INDICATOR([lstat]) ++m4trace:configure.in:53: -1- gl_FUNC_MALLOC_POSIX ++m4trace:configure.in:53: -1- gl_CHECK_MALLOC_POSIX ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/malloc.m4:27: gl_CHECK_MALLOC_POSIX is expanded from... ++gnulib/m4/malloc.m4:11: gl_FUNC_MALLOC_POSIX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([malloc.c]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) ++m4trace:configure.in:53: -1- gl_STDLIB_MODULE_INDICATOR([malloc-posix]) ++m4trace:configure.in:53: -1- gl_STDLIB_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_ATOLL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MKDTEMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MKSTEMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PUTENV$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RANDOM_R$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RPMATCH$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SETENV$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRTOD$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRTOLL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRTOULL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_UNSETENV$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ATOLL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_CALLOC_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETSUBOPT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MKDTEMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RANDOM_R$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RPMATCH$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SETENV$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRTOD$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRTOLL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRTOULL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNSETENV$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MKSTEMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_PUTENV$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRTOD$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^VOID_UNSETENV$]) ++m4trace:configure.in:53: -1- gl_FUNC_MEMCHR ++m4trace:configure.in:53: -1- gl_FUNC_MMAP_ANON ++m4trace:configure.in:53: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/mman.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_mman_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- AC_CHECK_FUNCS_ONCE([mprotect]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC_mprotect], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- gl_HEADER_STRING_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MEMCHR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MEMMEM$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MEMPCPY$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MEMRCHR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STPCPY$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STPNCPY$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRDUP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRNDUP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRNLEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRPBRK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRSEP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRSTR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRCASESTR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRTOK_R$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSLEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSNLEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSCHR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSRCHR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSSTR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSCSPN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSPBRK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSSPN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSSEP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRERROR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MEMPCPY$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STPCPY$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STPNCPY$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRNDUP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRPBRK$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRSEP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRCASESTR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRVERSCMP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MEMCHR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MEMMEM$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRDUP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRSTR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRCASESTR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRERROR$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MEMCHR$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- gl_PREREQ_MEMCHR ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_BP_SYM_H$]) ++m4trace:configure.in:53: -1- gl_PREREQ_MEMCHR ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_BP_SYM_H$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([memchr.c]) ++m4trace:configure.in:53: -1- gl_STRING_MODULE_INDICATOR([memchr]) ++m4trace:configure.in:53: -1- gl_FUNC_MKSTEMP ++m4trace:configure.in:53: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([mkstemp.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_MKSTEMP ++m4trace:configure.in:53: -1- gl_STDLIB_MODULE_INDICATOR([mkstemp]) ++m4trace:configure.in:53: -1- gl_MULTIARCH ++m4trace:configure.in:53: -1- m4_pattern_allow([^AA_APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.in:53: -1- gl_HEADER_NETDB ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([netdb.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([netdb.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_netdb_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_NETDB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETDB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NETDB_H$]) ++m4trace:configure.in:53: -1- gl_HEADER_NETINET_IN ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([netinet/in.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([netinet/in.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_netinet_in_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_NETINET_IN_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NETINET_IN_H$]) ++m4trace:configure.in:53: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:53: -1- gl_FUNC_PERROR ++m4trace:configure.in:53: -1- gl_LIBSOURCES([perror.c]) ++m4trace:configure.in:53: -1- gl_STRING_MODULE_INDICATOR([perror]) ++m4trace:configure.in:53: -1- gl_PHYSMEM ++m4trace:configure.in:53: -1- gl_LIBSOURCES([physmem.c]) ++m4trace:configure.in:53: -1- gl_SYS__SYSTEM_CONFIGURATION ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__SYSTEM_CONFIGURATION$]) ++m4trace:configure.in:53: -1- gl_FUNC_POLL ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++gnulib/m4/poll.m4:7: gl_FUNC_POLL is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_POLL$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([poll.c]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^poll$]) ++m4trace:configure.in:53: -1- gl_PREREQ_POLL ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/ioctl.h sys/filio.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_ioctl_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_filio_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^POLL_H$]) ++m4trace:configure.in:53: -1- gl_POSIX_SHELL ++m4trace:configure.in:53: -1- m4_pattern_allow([^POSIX_SHELL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^PREFERABLY_POSIX_SHELL$]) ++m4trace:configure.in:53: -1- gl_FUNC_RANDOM_R ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RANDOM_R$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([random_r.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_RANDOM_R ++m4trace:configure.in:53: -1- gl_STDLIB_MODULE_INDICATOR([random_r]) ++m4trace:configure.in:53: -1- gl_FUNC_REALLOC_POSIX ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([realloc.c]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$]) ++m4trace:configure.in:53: -1- gl_STDLIB_MODULE_INDICATOR([realloc-posix]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([recv.c]) ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_MODULE_INDICATOR([recv]) ++m4trace:configure.in:53: -1- gl_FUNC_SELECT ++m4trace:configure.in:53: -1- gl_HEADER_SYS_SELECT ++m4trace:configure.in:53: -1- gl_SYS_SELECT_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SELECT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_SELECT$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([sys/select.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/select.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_select_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_WINSOCK2 ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([select.c]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/select.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_select_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/select.m4:7: gl_FUNC_SELECT is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([select.c]) ++m4trace:configure.in:53: -1- gl_SYS_SELECT_MODULE_INDICATOR([select]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([send.c]) ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_MODULE_INDICATOR([send]) ++m4trace:configure.in:53: -1- gl_SERVENT ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETSERVBYNAME$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ++../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ++gnulib/m4/servent.m4:7: gl_SERVENT is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SERVENT_LIB$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([setsockopt.c]) ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) ++m4trace:configure.in:53: -1- gl_SIZE_MAX ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.in:53: -1- AC_COMPUTE_INT([res_hi], [~(size_t)0 / 10], [#include ], [result=?]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `_AC_COMPUTE_INT' is obsolete and will be deleted in a ++future version or Autoconf. Hence, it is suggested that you use ++instead the public AC_COMPUTE_INT macro. Note that the arguments are ++slightly different between the two.], [../../lib/autoconf/general.m4:3055: _AC_COMPUTE_INT is expanded from... ++m4/size_max.m4:11: gl_SIZE_MAX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_COMPUTE_INT([res_lo], [~(size_t)0 % 10], [#include ], [result=?]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `_AC_COMPUTE_INT' is obsolete and will be deleted in a ++future version or Autoconf. Hence, it is suggested that you use ++instead the public AC_COMPUTE_INT macro. Note that the arguments are ++slightly different between the two.], [../../lib/autoconf/general.m4:3055: _AC_COMPUTE_INT is expanded from... ++m4/size_max.m4:11: gl_SIZE_MAX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include ], [result=?]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `_AC_COMPUTE_INT' is obsolete and will be deleted in a ++future version or Autoconf. Hence, it is suggested that you use ++instead the public AC_COMPUTE_INT macro. Note that the arguments are ++slightly different between the two.], [../../lib/autoconf/general.m4:3055: _AC_COMPUTE_INT is expanded from... ++m4/size_max.m4:11: gl_SIZE_MAX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++m4/size_max.m4:11: gl_SIZE_MAX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SIZE_MAX$]) ++m4trace:configure.in:53: -1- gl_FUNC_SNPRINTF ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SNPRINTF$]) ++m4trace:configure.in:53: -1- gl_SNPRINTF_SIZE1 ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/printf.m4:1226: gl_SNPRINTF_SIZE1 is expanded from... ++gnulib/m4/snprintf.m4:7: gl_FUNC_SNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- gl_REPLACE_SNPRINTF ++m4trace:configure.in:53: -1- gl_LIBSOURCES([snprintf.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_SNPRINTF ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([snprintf]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_snprintf], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) ++m4trace:configure.in:53: -1- gl_STDIO_MODULE_INDICATOR([snprintf]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([socket.c]) ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_MODULE_INDICATOR([socket]) ++m4trace:configure.in:53: -1- gl_TYPE_SOCKLEN_T ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/types.m4:169: _AC_CHECK_TYPE_NEW is expanded from... ++../../lib/autoconf/types.m4:253: AC_CHECK_TYPE is expanded from... ++gnulib/m4/socklen.m4:18: gl_TYPE_SOCKLEN_T is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^socklen_t$]) ++m4trace:configure.in:53: -1- AM_STDBOOL_H ++m4trace:configure.in:53: -1- AC_HEADER_STDBOOL ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/stdbool.m4:37: AC_HEADER_STDBOOL is expanded from... ++gnulib/m4/stdbool.m4:10: AM_STDBOOL_H is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__BOOL$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^STDBOOL_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__BOOL$]) ++m4trace:configure.in:53: -1- gl_STDINT_H ++m4trace:configure.in:53: -1- AC_TYPE_LONG_LONG_INT ++m4trace:configure.in:53: -1- _AC_TYPE_LONG_LONG_SNIPPET ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.in:53: -1- AC_TYPE_UNSIGNED_LONG_LONG_INT ++m4trace:configure.in:53: -1- _AC_TYPE_LONG_LONG_SNIPPET ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INTTYPES_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([stdint.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([stdint.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_stdint_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_STDINT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.in:53: -1- gl_STDINT_INCLUDES ++m4trace:configure.in:53: -1- gl_STDINT_INCLUDES ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([wchar.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_wchar_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- gl_STDINT_TYPE_PROPERTIES ++m4trace:configure.in:53: -1- gl_STDINT_BITSIZEOF([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.in:53: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES ++#include ], [result=unknown]) ++m4trace:configure.in:53: -1- gl_STDINT_INCLUDES ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$]) ++m4trace:configure.in:53: -1- gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.in:53: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES ++#include ], [result=unknown]) ++m4trace:configure.in:53: -1- gl_STDINT_INCLUDES ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$]) ++m4trace:configure.in:53: -1- gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.in:53: -1- gl_STDINT_INCLUDES ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$]) ++m4trace:configure.in:53: -1- gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.in:53: -1- gl_STDINT_INCLUDES ++m4trace:configure.in:53: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SIZE_T_SUFFIX$]) ++m4trace:configure.in:53: -1- gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.in:53: -1- gl_STDINT_INCLUDES ++m4trace:configure.in:53: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^WINT_T_SUFFIX$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^STDINT_H$]) ++m4trace:configure.in:53: -1- gl_STDIO_H ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([stdio.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([stdio.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_stdio_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_STDIO_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$]) ++m4trace:configure.in:53: -1- gl_STDLIB_H ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([stdlib.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([stdlib.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_stdlib_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_STDLIB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) ++m4trace:configure.in:53: -1- gl_FUNC_STPCPY ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STPCPY$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- gl_PREREQ_STPCPY ++m4trace:configure.in:53: -1- gl_STRING_MODULE_INDICATOR([stpcpy]) ++m4trace:configure.in:53: -1- gl_FUNC_STRDUP_POSIX ++m4trace:configure.in:53: -1- gl_LIBSOURCES([strdup.c]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRDUP$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([strdup]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_strdup], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) ++m4trace:configure.in:53: -1- gl_PREREQ_STRDUP ++m4trace:configure.in:53: -1- gl_STRING_MODULE_INDICATOR([strdup]) ++m4trace:configure.in:53: -1- gl_FUNC_STRERROR ++m4trace:configure.in:53: -1- gl_FUNC_STRERROR_SEPARATE ++m4trace:configure.in:53: -1- gl_PREREQ_STRERROR ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([strerror.c]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRERROR$]) ++m4trace:configure.in:53: -1- gl_STRING_MODULE_INDICATOR([strerror]) ++m4trace:configure.in:53: -1- gl_HEADER_STRING_H ++m4trace:configure.in:53: -1- gl_HEADER_STRING_H_BODY ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([string.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([string.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_string_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_STRING_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$]) ++m4trace:configure.in:53: -1- gl_FUNC_STRNDUP ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([strndup]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_strndup], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRNDUP$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([strndup.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_STRNDUP ++m4trace:configure.in:53: -1- gl_STRING_MODULE_INDICATOR([strndup]) ++m4trace:configure.in:53: -1- gl_FUNC_STRNLEN ++m4trace:configure.in:53: -1- AC_CHECK_DECLS_ONCE([strnlen]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_DECL_strnlen], [ ++ AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([strnlen.c]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^strnlen$]) ++m4trace:configure.in:53: -1- gl_PREREQ_STRNLEN ++m4trace:configure.in:53: -1- gl_STRING_MODULE_INDICATOR([strnlen]) ++m4trace:configure.in:53: -1- gl_FUNC_STRSEP ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRSEP$]) ++m4trace:configure.in:53: -1- gl_LIBOBJ([$ac_func]) ++m4trace:configure.in:53: -1- gl_PREREQ_STRSEP ++m4trace:configure.in:53: -1- gl_STRING_MODULE_INDICATOR([strsep]) ++m4trace:configure.in:53: -1- gl_SYS_IOCTL_H ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/ioctl.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_ioctl_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([sys/ioctl.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/ioctl.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_ioctl_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_IOCTL_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H$]) ++m4trace:configure.in:53: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:53: -1- gl_HEADER_SYS_SELECT ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([sys/select.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/select.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_select_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_WINSOCK2 ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:53: -1- gl_HEADER_SYS_SOCKET ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SHUTDOWN$]) ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_SOCKET ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$]) ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_WINSOCK2 ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:53: -1- gl_HEADER_SYS_STAT_H ++m4trace:configure.in:53: -1- AC_CHECK_FUNCS_ONCE([lstat]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC_lstat], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LSTAT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^STAT_MACROS_BROKEN$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([sys/stat.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/stat.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_stat_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_STAT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_STAT_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^nlink_t$]) ++m4trace:configure.in:53: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:53: -1- gl_HEADER_SYS_TIME_H ++m4trace:configure.in:53: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:53: -1- gl_FUNC_GEN_TEMPNAME ++m4trace:configure.in:53: -1- gl_LIBSOURCES([tempname.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_TEMPNAME ++m4trace:configure.in:53: -1- gl_HEADER_TIME_H ++m4trace:configure.in:53: -1- gl_HEADER_TIME_H_BODY ++m4trace:configure.in:53: -1- gl_HEADER_TIME_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_LOCALTIME_R$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_NANOSLEEP$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRPTIME$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_TIMEGM$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([time.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([time.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_time_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_TIME_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TIME_H$]) ++m4trace:configure.in:53: -1- gl_CHECK_TYPE_STRUCT_TIMESPEC ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/time.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_time_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^TIME_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.in:53: -1- gl_TIME_R ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/time_r.m4:10: gl_TIME_R is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([time_r.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_TIME_R ++m4trace:configure.in:53: -1- gl_UNISTD_H ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([unistd.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([unistd.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_unistd_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_UNISTD_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([unistd.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_unistd_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.in:53: -1- gl_FUNC_VASNPRINTF ++m4trace:configure.in:53: -1- AC_CHECK_FUNCS_ONCE([vasnprintf]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC_vasnprintf], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- gl_REPLACE_VASNPRINTF ++m4trace:configure.in:53: -1- AC_CHECK_FUNCS_ONCE([vasnprintf]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_FUNC_vasnprintf], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_func_list="$gl_func_list gl_FUNC_NAME"]) ++ gl_FUNCS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), ++ [Define to 1 if you have the `]m4_defn([gl_FUNC_NAME])[' function.]) ++ ]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([vasnprintf.c]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([printf-args.c]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([printf-parse.c]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([asnprintf.c]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$]) ++m4trace:configure.in:53: -1- gl_PREREQ_PRINTF_ARGS ++m4trace:configure.in:53: -1- gt_TYPE_WCHAR_T ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/wchar_t.m4:13: gt_TYPE_WCHAR_T is expanded from... ++gnulib/m4/vasnprintf.m4:33: gl_PREREQ_PRINTF_ARGS is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.in:53: -1- gt_TYPE_WINT_T ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/wint_t.m4:13: gt_TYPE_WINT_T is expanded from... ++gnulib/m4/vasnprintf.m4:33: gl_PREREQ_PRINTF_ARGS is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.in:53: -1- gl_PREREQ_PRINTF_PARSE ++m4trace:configure.in:53: -1- m4_pattern_allow([^size_t$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ptrdiff_t$]) ++m4trace:configure.in:53: -1- gt_AC_TYPE_INTMAX_T ++m4trace:configure.in:53: -1- gl_AC_HEADER_INTTYPES_H ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/inttypes_h.m4:12: gl_AC_HEADER_INTTYPES_H is expanded from... ++gnulib/m4/intmax_t.m4:35: gt_AC_TYPE_INTMAX_T is expanded from... ++gnulib/m4/vasnprintf.m4:41: gl_PREREQ_PRINTF_PARSE is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$]) ++m4trace:configure.in:53: -1- gl_AC_HEADER_STDINT_H ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/stdint_h.m4:12: gl_AC_HEADER_STDINT_H is expanded from... ++gnulib/m4/intmax_t.m4:35: gt_AC_TYPE_INTMAX_T is expanded from... ++gnulib/m4/vasnprintf.m4:41: gl_PREREQ_PRINTF_PARSE is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/intmax_t.m4:35: gt_AC_TYPE_INTMAX_T is expanded from... ++gnulib/m4/vasnprintf.m4:41: gl_PREREQ_PRINTF_PARSE is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INTMAX_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^intmax_t$]) ++m4trace:configure.in:53: -1- gl_PREREQ_VASNPRINTF ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$]) ++m4trace:configure.in:53: -1- gl_PREREQ_ASNPRINTF ++m4trace:configure.in:53: -1- gl_FUNC_VASPRINTF ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.in:53: -1- gl_REPLACE_VASPRINTF ++m4trace:configure.in:53: -1- gl_LIBSOURCES([vasprintf.c]) ++m4trace:configure.in:53: -1- gl_LIBSOURCES([asprintf.c]) ++m4trace:configure.in:53: -1- gl_PREREQ_VASPRINTF_H ++m4trace:configure.in:53: -1- gl_PREREQ_VASPRINTF ++m4trace:configure.in:53: -1- gl_PREREQ_ASPRINTF ++m4trace:configure.in:53: -1- gl_STDIO_MODULE_INDICATOR([vasprintf]) ++m4trace:configure.in:53: -1- AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format]) ++m4trace:configure.in:53: -1- AM_XGETTEXT_OPTION_INIT ++m4trace:configure.in:53: -1- AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format]) ++m4trace:configure.in:53: -1- gl_WCHAR_H ++m4trace:configure.in:53: -1- gl_WCHAR_H_DEFAULTS ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_BTOWC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCTOB$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSINIT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBRTOWC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBRLEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCRTOMB$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCWIDTH$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_BTOWC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBSINIT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBRTOWC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBRLEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCRTOMB$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_BTOWC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCTOB$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBSINIT$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBRTOWC$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBRLEN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCRTOMB$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCWIDTH$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^WCHAR_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([wchar.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_wchar_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) ++m4trace:configure.in:53: -1- gl_CHECK_NEXT_HEADERS([wchar.h]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([wchar.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_wchar_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_WCHAR_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$]) ++m4trace:configure.in:53: -1- gl_XSIZE ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.in:53: -1- gl_COMMON ++m4trace:configure.in:53: -1- gltests_LIBSOURCES([accept.c]) ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_MODULE_INDICATOR([accept]) ++m4trace:configure.in:53: -1- gltests_LIBSOURCES([bind.c]) ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_MODULE_INDICATOR([bind]) ++m4trace:configure.in:53: -1- gl_FUNC_UNGETC_WORKS ++m4trace:configure.in:53: -1- m4_pattern_allow([^FUNC_UNGETC_BROKEN$]) ++m4trace:configure.in:53: -1- gltests_LIBSOURCES([listen.c]) ++m4trace:configure.in:53: -1- gl_SYS_SOCKET_MODULE_INDICATOR([listen]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_unistd_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_wait_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_unistd_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_wait_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- gl_SOCKETS ++m4trace:configure.in:53: -1- gl_PREREQ_SYS_H_WINSOCK2 ++m4trace:configure.in:53: -1- AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++m4trace:configure.in:53: -1- AC_DEFUN([gl_CHECK_HEADER_sys_socket_h], [ ++ m4_divert_text([INIT_PREPARE], ++ [gl_header_list="$gl_header_list gl_HEADER_NAME"]) ++ gl_HEADERS_EXPANSION ++ AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), ++ [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) ++ ]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^WINDOWS_SOCKETS$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2648: _AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2648: _AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2648: _AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LIBSOCKET$]) ++m4trace:configure.in:53: -1- gl_PREREQ_SOCKETS ++m4trace:configure.in:53: -1- gt_TYPE_WCHAR_T ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/wchar_t.m4:13: gt_TYPE_WCHAR_T is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.in:53: -1- gt_TYPE_WINT_T ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/wint_t.m4:13: gt_TYPE_WINT_T is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SHUTDOWN$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^abs_aux_dir$]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LIBTESTS_LIBDEPS$]) ++m4trace:configure.in:55: -1- AM_PROG_CC_STDC ++m4trace:configure.in:55: -1- _m4_warn([obsolete], [The macro `AM_PROG_CC_STDC' is obsolete. ++You should run autoupdate.], [/usr/share/aclocal-1.10/ccstdc.m4:17: AM_PROG_CC_STDC is expanded from... ++configure.in:55: the top level]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CFLAGS$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^LDFLAGS$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^ac_ct_CC$]) ++m4trace:configure.in:55: -1- _AM_DEPENDENCIES([CC]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CCDEPMODE$]) ++m4trace:configure.in:55: -1- AM_CONDITIONAL([am__fastdepCC], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) ++m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) ++m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) ++m4trace:configure.in:55: -1- _m4_warn([obsolete], [AM_PROG_CC_STDC: ++ your code should no longer depend upon `am_cv_prog_cc_stdc', but upon ++ `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when ++ you adjust the code. You can also remove the above call to ++ AC_PROG_CC if you already called it elsewhere.], [/usr/share/aclocal-1.10/ccstdc.m4:17: AM_PROG_CC_STDC is expanded from... ++configure.in:55: the top level]) ++m4trace:configure.in:56: -1- m4_pattern_allow([^const$]) ++m4trace:configure.in:59: -1- AM_C_PROTOTYPES ++m4trace:configure.in:59: -1- m4_pattern_allow([^PROTOTYPES$]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^__PROTOTYPES$]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^HAVE_STRING_H$]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^U$]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^ANSI2KNR$]) ++m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([ANSI2KNR]) ++m4trace:configure.in:63: -1- AC_LIBTOOL_WIN32_DLL ++m4trace:configure.in:63: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. ++You should run autoupdate.], [m4/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from... ++configure.in:63: the top level]) ++m4trace:configure.in:63: -1- m4_pattern_allow([^AS$]) ++m4trace:configure.in:63: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.in:63: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.in:63: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you ++put the `win32-dll' option into LT_INIT's first parameter.], [m4/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from... ++configure.in:63: the top level]) ++m4trace:configure.in:65: -1- AM_PROG_LIBTOOL ++m4trace:configure.in:65: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete. ++You should run autoupdate.], [m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from... ++configure.in:65: the top level]) ++m4trace:configure.in:65: -1- LT_INIT ++m4trace:configure.in:65: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) ++m4trace:configure.in:65: -1- LTOPTIONS_VERSION ++m4trace:configure.in:65: -1- LTSUGAR_VERSION ++m4trace:configure.in:65: -1- LTVERSION_VERSION ++m4trace:configure.in:65: -1- LTOBSOLETE_VERSION ++m4trace:configure.in:65: -1- _LT_PROG_LTMAIN ++m4trace:configure.in:65: -1- m4_pattern_allow([^LIBTOOL$]) ++m4trace:configure.in:65: -1- LT_PATH_LD ++m4trace:configure.in:65: -1- m4_pattern_allow([^SED$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^FGREP$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LD$]) ++m4trace:configure.in:65: -1- LT_PATH_NM ++m4trace:configure.in:65: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^NM$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LN_S$]) ++m4trace:configure.in:65: -1- LT_CMD_MAX_LEN ++m4trace:configure.in:65: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^AR$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([LT_OBJDIR]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LT_OBJDIR$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^lt_ECHO$]) ++m4trace:configure.in:65: -1- _LT_CC_BASENAME([$compiler]) ++m4trace:configure.in:65: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH]) ++m4trace:configure.in:65: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH]) ++m4trace:configure.in:65: -1- LT_SUPPORTED_TAG([CC]) ++m4trace:configure.in:65: -1- _LT_COMPILER_BOILERPLATE ++m4trace:configure.in:65: -1- _LT_LINKER_BOILERPLATE ++m4trace:configure.in:65: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"]) ++m4trace:configure.in:65: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in ++ "" | " "*) ;; ++ *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;; ++ esac], [_LT_TAGVAR(lt_prog_compiler_pic, )= ++ _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no]) ++m4trace:configure.in:65: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^DSYMUTIL$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^NMEDIT$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LIPO$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^OTOOL$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^OTOOL64$]) ++m4trace:configure.in:65: -1- LT_SYS_DLOPEN_SELF ++m4trace:configure.in:65: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) ++m4trace:configure.in:66: -1- AM_PROG_CC_C_O ++m4trace:configure.in:66: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$]) ++m4trace:configure.in:71: -1- m4_pattern_allow([^VERSION_SCRIPT_FLAGS$]) ++m4trace:configure.in:73: -1- LIBVIRT_COMPILE_WARNINGS([maximum]) ++m4trace:configure.in:73: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++acinclude.m4:10: LIBVIRT_COMPILE_WARNINGS is expanded from... ++configure.in:73: the top level]) ++m4trace:configure.in:73: -1- gl_COMPILER_FLAGS([$option]) ++m4trace:configure.in:73: -1- m4_pattern_allow([^COMPILER_FLAGS$]) ++m4trace:configure.in:73: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++m4/compiler-flags.m4:23: gl_COMPILER_FLAGS is expanded from... ++acinclude.m4:10: LIBVIRT_COMPILE_WARNINGS is expanded from... ++configure.in:73: the top level]) ++m4trace:configure.in:73: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++acinclude.m4:10: LIBVIRT_COMPILE_WARNINGS is expanded from... ++configure.in:73: the top level]) ++m4trace:configure.in:73: -1- m4_pattern_allow([^WARN_CFLAGS$]) ++m4trace:configure.in:73: -1- gl_COMPILER_FLAGS([-Wno-redundant-decls]) ++m4trace:configure.in:73: -1- m4_pattern_allow([^COMPILER_FLAGS$]) ++m4trace:configure.in:73: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++m4/compiler-flags.m4:23: gl_COMPILER_FLAGS is expanded from... ++acinclude.m4:10: LIBVIRT_COMPILE_WARNINGS is expanded from... ++configure.in:73: the top level]) ++m4trace:configure.in:73: -1- m4_pattern_allow([^WARN_PYTHON_CFLAGS$]) ++m4trace:configure.in:77: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.in:77: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.in:92: -1- m4_pattern_allow([^HAVE_LIBPORTABLEXDR$]) ++m4trace:configure.in:96: -1- m4_pattern_allow([^HAVE_LIBINTL$]) ++m4trace:configure.in:99: -1- m4_pattern_allow([^RPCGEN$]) ++m4trace:configure.in:100: -1- AM_CONDITIONAL([HAVE_RPCGEN], [test "x$ac_cv_path_RPCGEN" != "xno"]) ++m4trace:configure.in:100: -1- m4_pattern_allow([^HAVE_RPCGEN_TRUE$]) ++m4trace:configure.in:100: -1- m4_pattern_allow([^HAVE_RPCGEN_FALSE$]) ++m4trace:configure.in:100: -1- _AM_SUBST_NOTMAKE([HAVE_RPCGEN_TRUE]) ++m4trace:configure.in:100: -1- _AM_SUBST_NOTMAKE([HAVE_RPCGEN_FALSE]) ++m4trace:configure.in:102: -1- AM_CONDITIONAL([HAVE_GLIBC_RPCGEN], [test "x$ac_cv_path_RPCGEN" != "xno" && ++ $ac_cv_path_RPCGEN -t /dev/null 2>&1]) ++m4trace:configure.in:102: -1- m4_pattern_allow([^HAVE_GLIBC_RPCGEN_TRUE$]) ++m4trace:configure.in:102: -1- m4_pattern_allow([^HAVE_GLIBC_RPCGEN_FALSE$]) ++m4trace:configure.in:102: -1- _AM_SUBST_NOTMAKE([HAVE_GLIBC_RPCGEN_TRUE]) ++m4trace:configure.in:102: -1- _AM_SUBST_NOTMAKE([HAVE_GLIBC_RPCGEN_FALSE]) ++m4trace:configure.in:107: -1- m4_pattern_allow([^HAVE_LIBPTHREAD$]) ++m4trace:configure.in:107: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) ++m4trace:configure.in:115: -1- m4_pattern_allow([^RM$]) ++m4trace:configure.in:116: -1- m4_pattern_allow([^MV$]) ++m4trace:configure.in:117: -1- m4_pattern_allow([^TAR$]) ++m4trace:configure.in:118: -1- m4_pattern_allow([^XMLLINT$]) ++m4trace:configure.in:119: -1- m4_pattern_allow([^XMLCATALOG$]) ++m4trace:configure.in:120: -1- m4_pattern_allow([^XSLTPROC$]) ++m4trace:configure.in:121: -1- m4_pattern_allow([^AUGPARSE$]) ++m4trace:configure.in:122: -1- AC_PROG_MKDIR_P ++m4trace:configure.in:128: -1- m4_pattern_allow([^DNSMASQ$]) ++m4trace:configure.in:130: -1- m4_pattern_allow([^BRCTL$]) ++m4trace:configure.in:132: -1- m4_pattern_allow([^UDEVADM$]) ++m4trace:configure.in:134: -1- m4_pattern_allow([^UDEVSETTLE$]) ++m4trace:configure.in:136: -1- m4_pattern_allow([^MODPROBE$]) ++m4trace:configure.in:139: -1- m4_pattern_allow([^DNSMASQ$]) ++m4trace:configure.in:141: -1- m4_pattern_allow([^BRCTL$]) ++m4trace:configure.in:144: -1- m4_pattern_allow([^UDEVADM$]) ++m4trace:configure.in:148: -1- m4_pattern_allow([^UDEVSETTLE$]) ++m4trace:configure.in:152: -1- m4_pattern_allow([^MODPROBE$]) ++m4trace:configure.in:157: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:157: the top level]) ++m4trace:configure.in:161: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:161: the top level]) ++m4trace:configure.in:165: -1- m4_pattern_allow([^HTML_DIR$]) ++m4trace:configure.in:217: -1- m4_pattern_allow([^STATIC_BINARIES$]) ++m4trace:configure.in:220: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1474: AC_ARG_ENABLE is expanded from... ++configure.in:220: the top level]) ++m4trace:configure.in:223: -1- AM_CONDITIONAL([ENABLE_DEBUG], [test x"$enable_debug" = x"yes"]) ++m4trace:configure.in:223: -1- m4_pattern_allow([^ENABLE_DEBUG_TRUE$]) ++m4trace:configure.in:223: -1- m4_pattern_allow([^ENABLE_DEBUG_FALSE$]) ++m4trace:configure.in:223: -1- _AM_SUBST_NOTMAKE([ENABLE_DEBUG_TRUE]) ++m4trace:configure.in:223: -1- _AM_SUBST_NOTMAKE([ENABLE_DEBUG_FALSE]) ++m4trace:configure.in:225: -1- m4_pattern_allow([^ENABLE_DEBUG$]) ++m4trace:configure.in:230: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:230: the top level]) ++m4trace:configure.in:238: -1- m4_pattern_allow([^REMOTE_PID_FILE$]) ++m4trace:configure.in:245: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:245: the top level]) ++m4trace:configure.in:255: -1- AM_CONDITIONAL([LIBVIRT_INIT_SCRIPTS_RED_HAT], [test x$with_init_scripts = xredhat]) ++m4trace:configure.in:255: -1- m4_pattern_allow([^LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE$]) ++m4trace:configure.in:255: -1- m4_pattern_allow([^LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE$]) ++m4trace:configure.in:255: -1- _AM_SUBST_NOTMAKE([LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE]) ++m4trace:configure.in:255: -1- _AM_SUBST_NOTMAKE([LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE]) ++m4trace:configure.in:259: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:259: the top level]) ++m4trace:configure.in:263: -1- m4_pattern_allow([^WITH_RHEL5_API$]) ++m4trace:configure.in:270: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1474: AC_ARG_ENABLE is expanded from... ++configure.in:270: the top level]) ++m4trace:configure.in:275: -1- m4_pattern_allow([^LOKKIT_PATH$]) ++m4trace:configure.in:283: -1- m4_pattern_allow([^ENABLE_IPTABLES_LOKKIT$]) ++m4trace:configure.in:284: -1- m4_pattern_allow([^LOKKIT_PATH$]) ++m4trace:configure.in:287: -1- m4_pattern_allow([^IPTABLES_PATH$]) ++m4trace:configure.in:288: -1- m4_pattern_allow([^IPTABLES_PATH$]) ++m4trace:configure.in:291: -1- m4_pattern_allow([^WITH_OPENVZ$]) ++m4trace:configure.in:293: -1- AM_CONDITIONAL([WITH_OPENVZ], [test "$with_openvz" = "yes"]) ++m4trace:configure.in:293: -1- m4_pattern_allow([^WITH_OPENVZ_TRUE$]) ++m4trace:configure.in:293: -1- m4_pattern_allow([^WITH_OPENVZ_FALSE$]) ++m4trace:configure.in:293: -1- _AM_SUBST_NOTMAKE([WITH_OPENVZ_TRUE]) ++m4trace:configure.in:293: -1- _AM_SUBST_NOTMAKE([WITH_OPENVZ_FALSE]) ++m4trace:configure.in:296: -1- m4_pattern_allow([^WITH_VBOX$]) ++m4trace:configure.in:298: -1- AM_CONDITIONAL([WITH_VBOX], [test "$with_vbox" = "yes"]) ++m4trace:configure.in:298: -1- m4_pattern_allow([^WITH_VBOX_TRUE$]) ++m4trace:configure.in:298: -1- m4_pattern_allow([^WITH_VBOX_FALSE$]) ++m4trace:configure.in:298: -1- _AM_SUBST_NOTMAKE([WITH_VBOX_TRUE]) ++m4trace:configure.in:298: -1- _AM_SUBST_NOTMAKE([WITH_VBOX_FALSE]) ++m4trace:configure.in:304: -1- m4_pattern_allow([^WITH_QEMU$]) ++m4trace:configure.in:306: -1- AM_CONDITIONAL([WITH_QEMU], [test "$with_qemu" = "yes"]) ++m4trace:configure.in:306: -1- m4_pattern_allow([^WITH_QEMU_TRUE$]) ++m4trace:configure.in:306: -1- m4_pattern_allow([^WITH_QEMU_FALSE$]) ++m4trace:configure.in:306: -1- _AM_SUBST_NOTMAKE([WITH_QEMU_TRUE]) ++m4trace:configure.in:306: -1- _AM_SUBST_NOTMAKE([WITH_QEMU_FALSE]) ++m4trace:configure.in:309: -1- m4_pattern_allow([^WITH_ONE$]) ++m4trace:configure.in:311: -1- AM_CONDITIONAL([WITH_ONE], [test "$with_one" = "yes"]) ++m4trace:configure.in:311: -1- m4_pattern_allow([^WITH_ONE_TRUE$]) ++m4trace:configure.in:311: -1- m4_pattern_allow([^WITH_ONE_FALSE$]) ++m4trace:configure.in:311: -1- _AM_SUBST_NOTMAKE([WITH_ONE_TRUE]) ++m4trace:configure.in:311: -1- _AM_SUBST_NOTMAKE([WITH_ONE_FALSE]) ++m4trace:configure.in:314: -1- m4_pattern_allow([^WITH_TEST$]) ++m4trace:configure.in:316: -1- AM_CONDITIONAL([WITH_TEST], [test "$with_test" = "yes"]) ++m4trace:configure.in:316: -1- m4_pattern_allow([^WITH_TEST_TRUE$]) ++m4trace:configure.in:316: -1- m4_pattern_allow([^WITH_TEST_FALSE$]) ++m4trace:configure.in:316: -1- _AM_SUBST_NOTMAKE([WITH_TEST_TRUE]) ++m4trace:configure.in:316: -1- _AM_SUBST_NOTMAKE([WITH_TEST_FALSE]) ++m4trace:configure.in:319: -1- m4_pattern_allow([^WITH_REMOTE$]) ++m4trace:configure.in:321: -1- AM_CONDITIONAL([WITH_REMOTE], [test "$with_remote" = "yes"]) ++m4trace:configure.in:321: -1- m4_pattern_allow([^WITH_REMOTE_TRUE$]) ++m4trace:configure.in:321: -1- m4_pattern_allow([^WITH_REMOTE_FALSE$]) ++m4trace:configure.in:321: -1- _AM_SUBST_NOTMAKE([WITH_REMOTE_TRUE]) ++m4trace:configure.in:321: -1- _AM_SUBST_NOTMAKE([WITH_REMOTE_FALSE]) ++m4trace:configure.in:324: -1- m4_pattern_allow([^WITH_LIBVIRTD$]) ++m4trace:configure.in:326: -1- AM_CONDITIONAL([WITH_LIBVIRTD], [test "$with_libvirtd" = "yes"]) ++m4trace:configure.in:326: -1- m4_pattern_allow([^WITH_LIBVIRTD_TRUE$]) ++m4trace:configure.in:326: -1- m4_pattern_allow([^WITH_LIBVIRTD_FALSE$]) ++m4trace:configure.in:326: -1- _AM_SUBST_NOTMAKE([WITH_LIBVIRTD_TRUE]) ++m4trace:configure.in:326: -1- _AM_SUBST_NOTMAKE([WITH_LIBVIRTD_FALSE]) ++m4trace:configure.in:364: -1- m4_pattern_allow([^HAVE_XEN_SYS_PRIVCMD_H$]) ++m4trace:configure.in:364: -1- m4_pattern_allow([^HAVE_XEN_LINUX_PRIVCMD_H$]) ++m4trace:configure.in:381: -1- m4_pattern_allow([^WITH_XEN$]) ++m4trace:configure.in:383: -1- AM_CONDITIONAL([WITH_XEN], [test "$with_xen" = "yes"]) ++m4trace:configure.in:383: -1- m4_pattern_allow([^WITH_XEN_TRUE$]) ++m4trace:configure.in:383: -1- m4_pattern_allow([^WITH_XEN_FALSE$]) ++m4trace:configure.in:383: -1- _AM_SUBST_NOTMAKE([WITH_XEN_TRUE]) ++m4trace:configure.in:383: -1- _AM_SUBST_NOTMAKE([WITH_XEN_FALSE]) ++m4trace:configure.in:384: -1- m4_pattern_allow([^XEN_CFLAGS$]) ++m4trace:configure.in:385: -1- m4_pattern_allow([^XEN_LIBS$]) ++m4trace:configure.in:406: -1- m4_pattern_allow([^WITH_XEN_INOTIFY$]) ++m4trace:configure.in:408: -1- AM_CONDITIONAL([WITH_XEN_INOTIFY], [test "$with_xen_inotify" = "yes"]) ++m4trace:configure.in:408: -1- m4_pattern_allow([^WITH_XEN_INOTIFY_TRUE$]) ++m4trace:configure.in:408: -1- m4_pattern_allow([^WITH_XEN_INOTIFY_FALSE$]) ++m4trace:configure.in:408: -1- _AM_SUBST_NOTMAKE([WITH_XEN_INOTIFY_TRUE]) ++m4trace:configure.in:408: -1- _AM_SUBST_NOTMAKE([WITH_XEN_INOTIFY_FALSE]) ++m4trace:configure.in:413: -1- m4_pattern_allow([^HAVE_LINUX_KVM_H$]) ++m4trace:configure.in:419: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/headers.m4:151: _AC_CHECK_HEADER_MONGREL is expanded from... ++../../lib/autoconf/headers.m4:89: AC_CHECK_HEADER is expanded from... ++configure.in:419: the top level]) ++m4trace:configure.in:452: -1- m4_pattern_allow([^WITH_LXC$]) ++m4trace:configure.in:454: -1- AM_CONDITIONAL([WITH_LXC], [test "$with_lxc" = "yes"]) ++m4trace:configure.in:454: -1- m4_pattern_allow([^WITH_LXC_TRUE$]) ++m4trace:configure.in:454: -1- m4_pattern_allow([^WITH_LXC_FALSE$]) ++m4trace:configure.in:454: -1- _AM_SUBST_NOTMAKE([WITH_LXC_TRUE]) ++m4trace:configure.in:454: -1- _AM_SUBST_NOTMAKE([WITH_LXC_FALSE]) ++m4trace:configure.in:474: -1- PKG_CHECK_MODULES([XMLRPC], [xmlrpc_client >= $XMLRPC_REQUIRED], [with_one=yes], [ ++ if test "x$with_one" = "xcheck" ; then ++ with_one=no ++ else ++ AC_MSG_ERROR( ++ [You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver]) ++ fi ++ ]) ++m4trace:configure.in:474: -1- PKG_PROG_PKG_CONFIG ++m4trace:configure.in:474: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^XMLRPC_CFLAGS$]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^XMLRPC_LIBS$]) ++m4trace:configure.in:474: -1- PKG_CHECK_EXISTS([xmlrpc_client >= $XMLRPC_REQUIRED], [pkg_cv_[]XMLRPC_CFLAGS=`$PKG_CONFIG --[]cflags "xmlrpc_client >= $XMLRPC_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:474: -1- PKG_CHECK_EXISTS([xmlrpc_client >= $XMLRPC_REQUIRED], [pkg_cv_[]XMLRPC_LIBS=`$PKG_CONFIG --[]libs "xmlrpc_client >= $XMLRPC_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:474: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:484: -1- m4_pattern_allow([^HAVE_XMLRPC$]) ++m4trace:configure.in:488: -1- AM_CONDITIONAL([HAVE_XMLRPC], [test "x$with_one" = "xyes"]) ++m4trace:configure.in:488: -1- m4_pattern_allow([^HAVE_XMLRPC_TRUE$]) ++m4trace:configure.in:488: -1- m4_pattern_allow([^HAVE_XMLRPC_FALSE$]) ++m4trace:configure.in:488: -1- _AM_SUBST_NOTMAKE([HAVE_XMLRPC_TRUE]) ++m4trace:configure.in:488: -1- _AM_SUBST_NOTMAKE([HAVE_XMLRPC_FALSE]) ++m4trace:configure.in:489: -1- AM_CONDITIONAL([WITH_ONE], [test "x$with_one" = "xyes"]) ++m4trace:configure.in:489: -1- m4_pattern_allow([^WITH_ONE_TRUE$]) ++m4trace:configure.in:489: -1- m4_pattern_allow([^WITH_ONE_FALSE$]) ++m4trace:configure.in:489: -1- _AM_SUBST_NOTMAKE([WITH_ONE_TRUE]) ++m4trace:configure.in:489: -1- _AM_SUBST_NOTMAKE([WITH_ONE_FALSE]) ++m4trace:configure.in:490: -1- m4_pattern_allow([^XMLRPC_CFLAGS$]) ++m4trace:configure.in:491: -1- m4_pattern_allow([^XMLRPC_LIBS$]) ++m4trace:configure.in:495: -1- PKG_PROG_PKG_CONFIG ++m4trace:configure.in:495: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) ++m4trace:configure.in:495: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) ++m4trace:configure.in:495: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.in:495: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.in:510: -1- PKG_CHECK_MODULES([LIBXML], [libxml-2.0 >= $LIBXML_REQUIRED], [LIBXML_FOUND=yes], [LIBXML_FOUND=no]) ++m4trace:configure.in:510: -1- m4_pattern_allow([^LIBXML_CFLAGS$]) ++m4trace:configure.in:510: -1- m4_pattern_allow([^LIBXML_LIBS$]) ++m4trace:configure.in:510: -1- PKG_CHECK_EXISTS([libxml-2.0 >= $LIBXML_REQUIRED], [pkg_cv_[]LIBXML_CFLAGS=`$PKG_CONFIG --[]cflags "libxml-2.0 >= $LIBXML_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:510: -1- PKG_CHECK_EXISTS([libxml-2.0 >= $LIBXML_REQUIRED], [pkg_cv_[]LIBXML_LIBS=`$PKG_CONFIG --[]libs "libxml-2.0 >= $LIBXML_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:510: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:533: -1- m4_pattern_allow([^LIBXML_CFLAGS$]) ++m4trace:configure.in:534: -1- m4_pattern_allow([^LIBXML_LIBS$]) ++m4trace:configure.in:541: -1- m4_pattern_allow([^HAVE_XMLURI_QUERY_RAW$]) ++m4trace:configure.in:552: -1- PKG_CHECK_MODULES([GNUTLS], [gnutls >= $GNUTLS_REQUIRED], [GNUTLS_FOUND=yes], [GNUTLS_FOUND=no]) ++m4trace:configure.in:552: -1- m4_pattern_allow([^GNUTLS_CFLAGS$]) ++m4trace:configure.in:552: -1- m4_pattern_allow([^GNUTLS_LIBS$]) ++m4trace:configure.in:552: -1- PKG_CHECK_EXISTS([gnutls >= $GNUTLS_REQUIRED], [pkg_cv_[]GNUTLS_CFLAGS=`$PKG_CONFIG --[]cflags "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:552: -1- PKG_CHECK_EXISTS([gnutls >= $GNUTLS_REQUIRED], [pkg_cv_[]GNUTLS_LIBS=`$PKG_CONFIG --[]libs "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:552: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:559: -1- m4_pattern_allow([^HAVE_LIBGNUTLS$]) ++m4trace:configure.in:568: -1- m4_pattern_allow([^GNUTLS_CFLAGS$]) ++m4trace:configure.in:569: -1- m4_pattern_allow([^GNUTLS_LIBS$]) ++m4trace:configure.in:579: -2- m4_pattern_allow([^GNUTLS_1_0_COMPAT$]) ++m4trace:configure.in:632: -1- m4_pattern_allow([^HAVE_SASL$]) ++m4trace:configure.in:636: -1- AM_CONDITIONAL([HAVE_SASL], [test "x$with_sasl" = "xyes"]) ++m4trace:configure.in:636: -1- m4_pattern_allow([^HAVE_SASL_TRUE$]) ++m4trace:configure.in:636: -1- m4_pattern_allow([^HAVE_SASL_FALSE$]) ++m4trace:configure.in:636: -1- _AM_SUBST_NOTMAKE([HAVE_SASL_TRUE]) ++m4trace:configure.in:636: -1- _AM_SUBST_NOTMAKE([HAVE_SASL_FALSE]) ++m4trace:configure.in:637: -1- m4_pattern_allow([^SASL_CFLAGS$]) ++m4trace:configure.in:638: -1- m4_pattern_allow([^SASL_LIBS$]) ++m4trace:configure.in:650: -1- PKG_CHECK_MODULES([POLKIT], [polkit-dbus >= $POLKIT_REQUIRED], [with_polkit=yes], [ ++ if test "x$with_polkit" = "xcheck" ; then ++ with_polkit=no ++ else ++ AC_MSG_ERROR( ++ [You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt]) ++ fi ++ ]) ++m4trace:configure.in:650: -1- m4_pattern_allow([^POLKIT_CFLAGS$]) ++m4trace:configure.in:650: -1- m4_pattern_allow([^POLKIT_LIBS$]) ++m4trace:configure.in:650: -1- PKG_CHECK_EXISTS([polkit-dbus >= $POLKIT_REQUIRED], [pkg_cv_[]POLKIT_CFLAGS=`$PKG_CONFIG --[]cflags "polkit-dbus >= $POLKIT_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:650: -1- PKG_CHECK_EXISTS([polkit-dbus >= $POLKIT_REQUIRED], [pkg_cv_[]POLKIT_LIBS=`$PKG_CONFIG --[]libs "polkit-dbus >= $POLKIT_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:650: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:660: -1- m4_pattern_allow([^HAVE_POLKIT$]) ++m4trace:configure.in:667: -1- m4_pattern_allow([^HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED$]) ++m4trace:configure.in:671: -1- m4_pattern_allow([^POLKIT_AUTH$]) ++m4trace:configure.in:673: -1- m4_pattern_allow([^POLKIT_AUTH$]) ++m4trace:configure.in:677: -1- AM_CONDITIONAL([HAVE_POLKIT], [test "x$with_polkit" = "xyes"]) ++m4trace:configure.in:677: -1- m4_pattern_allow([^HAVE_POLKIT_TRUE$]) ++m4trace:configure.in:677: -1- m4_pattern_allow([^HAVE_POLKIT_FALSE$]) ++m4trace:configure.in:677: -1- _AM_SUBST_NOTMAKE([HAVE_POLKIT_TRUE]) ++m4trace:configure.in:677: -1- _AM_SUBST_NOTMAKE([HAVE_POLKIT_FALSE]) ++m4trace:configure.in:678: -1- m4_pattern_allow([^POLKIT_CFLAGS$]) ++m4trace:configure.in:679: -1- m4_pattern_allow([^POLKIT_LIBS$]) ++m4trace:configure.in:690: -1- PKG_CHECK_MODULES([AVAHI], [avahi-client >= $AVAHI_REQUIRED], [with_avahi=yes], [ ++ if test "x$with_avahi" = "xcheck" ; then ++ with_avahi=no ++ else ++ AC_MSG_ERROR( ++ [You must install Avahi >= $AVAHI_REQUIRED to compile libvirt]) ++ fi ++ ]) ++m4trace:configure.in:690: -1- m4_pattern_allow([^AVAHI_CFLAGS$]) ++m4trace:configure.in:690: -1- m4_pattern_allow([^AVAHI_LIBS$]) ++m4trace:configure.in:690: -1- PKG_CHECK_EXISTS([avahi-client >= $AVAHI_REQUIRED], [pkg_cv_[]AVAHI_CFLAGS=`$PKG_CONFIG --[]cflags "avahi-client >= $AVAHI_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:690: -1- PKG_CHECK_EXISTS([avahi-client >= $AVAHI_REQUIRED], [pkg_cv_[]AVAHI_LIBS=`$PKG_CONFIG --[]libs "avahi-client >= $AVAHI_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:690: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:700: -1- m4_pattern_allow([^HAVE_AVAHI$]) ++m4trace:configure.in:704: -1- AM_CONDITIONAL([HAVE_AVAHI], [test "x$with_avahi" = "xyes"]) ++m4trace:configure.in:704: -1- m4_pattern_allow([^HAVE_AVAHI_TRUE$]) ++m4trace:configure.in:704: -1- m4_pattern_allow([^HAVE_AVAHI_FALSE$]) ++m4trace:configure.in:704: -1- _AM_SUBST_NOTMAKE([HAVE_AVAHI_TRUE]) ++m4trace:configure.in:704: -1- _AM_SUBST_NOTMAKE([HAVE_AVAHI_FALSE]) ++m4trace:configure.in:705: -1- m4_pattern_allow([^AVAHI_CFLAGS$]) ++m4trace:configure.in:706: -1- m4_pattern_allow([^AVAHI_LIBS$]) ++m4trace:configure.in:721: -1- m4_pattern_allow([^HAVE_LIBSELINUX$]) ++m4trace:configure.in:728: -1- m4_pattern_allow([^HAVE_LIBSELINUX$]) ++m4trace:configure.in:737: -1- m4_pattern_allow([^HAVE_SELINUX$]) ++m4trace:configure.in:739: -1- AM_CONDITIONAL([HAVE_SELINUX], [test "$with_selinux" != "no"]) ++m4trace:configure.in:739: -1- m4_pattern_allow([^HAVE_SELINUX_TRUE$]) ++m4trace:configure.in:739: -1- m4_pattern_allow([^HAVE_SELINUX_FALSE$]) ++m4trace:configure.in:739: -1- _AM_SUBST_NOTMAKE([HAVE_SELINUX_TRUE]) ++m4trace:configure.in:739: -1- _AM_SUBST_NOTMAKE([HAVE_SELINUX_FALSE]) ++m4trace:configure.in:740: -1- m4_pattern_allow([^SELINUX_CFLAGS$]) ++m4trace:configure.in:741: -1- m4_pattern_allow([^SELINUX_LIBS$]) ++m4trace:configure.in:775: -1- m4_pattern_allow([^WITH_SECDRIVER_SELINUX$]) ++m4trace:configure.in:778: -1- AM_CONDITIONAL([WITH_SECDRIVER_SELINUX], [test "$with_secdriver_selinux" != "no"]) ++m4trace:configure.in:778: -1- m4_pattern_allow([^WITH_SECDRIVER_SELINUX_TRUE$]) ++m4trace:configure.in:778: -1- m4_pattern_allow([^WITH_SECDRIVER_SELINUX_FALSE$]) ++m4trace:configure.in:778: -1- _AM_SUBST_NOTMAKE([WITH_SECDRIVER_SELINUX_TRUE]) ++m4trace:configure.in:778: -1- _AM_SUBST_NOTMAKE([WITH_SECDRIVER_SELINUX_FALSE]) ++m4trace:configure.in:794: -1- m4_pattern_allow([^HAVE_LIBAPPARMOR$]) ++m4trace:configure.in:795: -1- m4_pattern_allow([^HAVE_LIBAPPARMOR$]) ++m4trace:configure.in:802: -1- m4_pattern_allow([^HAVE_LIBAPPARMOR$]) ++m4trace:configure.in:803: -1- m4_pattern_allow([^HAVE_LIBAPPARMOR$]) ++m4trace:configure.in:812: -1- m4_pattern_allow([^HAVE_APPARMOR$]) ++m4trace:configure.in:813: -1- m4_pattern_allow([^APPARMOR_DIR$]) ++m4trace:configure.in:814: -1- m4_pattern_allow([^APPARMOR_PROFILES_PATH$]) ++m4trace:configure.in:815: -1- m4_pattern_allow([^VIRT_AA_HELPER_PATH$]) ++m4trace:configure.in:817: -1- AM_CONDITIONAL([HAVE_APPARMOR], [test "$with_apparmor" != "no"]) ++m4trace:configure.in:817: -1- m4_pattern_allow([^HAVE_APPARMOR_TRUE$]) ++m4trace:configure.in:817: -1- m4_pattern_allow([^HAVE_APPARMOR_FALSE$]) ++m4trace:configure.in:817: -1- _AM_SUBST_NOTMAKE([HAVE_APPARMOR_TRUE]) ++m4trace:configure.in:817: -1- _AM_SUBST_NOTMAKE([HAVE_APPARMOR_FALSE]) ++m4trace:configure.in:818: -1- m4_pattern_allow([^APPARMOR_CFLAGS$]) ++m4trace:configure.in:819: -1- m4_pattern_allow([^APPARMOR_LIBS$]) ++m4trace:configure.in:853: -1- m4_pattern_allow([^WITH_SECDRIVER_APPARMOR$]) ++m4trace:configure.in:856: -1- AM_CONDITIONAL([WITH_SECDRIVER_APPARMOR], [test "$with_secdriver_apparmor" != "no"]) ++m4trace:configure.in:856: -1- m4_pattern_allow([^WITH_SECDRIVER_APPARMOR_TRUE$]) ++m4trace:configure.in:856: -1- m4_pattern_allow([^WITH_SECDRIVER_APPARMOR_FALSE$]) ++m4trace:configure.in:856: -1- _AM_SUBST_NOTMAKE([WITH_SECDRIVER_APPARMOR_TRUE]) ++m4trace:configure.in:856: -1- _AM_SUBST_NOTMAKE([WITH_SECDRIVER_APPARMOR_FALSE]) ++m4trace:configure.in:873: -1- m4_pattern_allow([^HAVE_LIBNUMA$]) ++m4trace:configure.in:880: -1- m4_pattern_allow([^HAVE_LIBNUMA$]) ++m4trace:configure.in:889: -1- m4_pattern_allow([^HAVE_NUMACTL$]) ++m4trace:configure.in:891: -1- AM_CONDITIONAL([HAVE_NUMACTL], [test "$with_numactl" != "no"]) ++m4trace:configure.in:891: -1- m4_pattern_allow([^HAVE_NUMACTL_TRUE$]) ++m4trace:configure.in:891: -1- m4_pattern_allow([^HAVE_NUMACTL_FALSE$]) ++m4trace:configure.in:891: -1- _AM_SUBST_NOTMAKE([HAVE_NUMACTL_TRUE]) ++m4trace:configure.in:891: -1- _AM_SUBST_NOTMAKE([HAVE_NUMACTL_FALSE]) ++m4trace:configure.in:892: -1- m4_pattern_allow([^NUMACTL_CFLAGS$]) ++m4trace:configure.in:893: -1- m4_pattern_allow([^NUMACTL_LIBS$]) ++m4trace:configure.in:916: -1- m4_pattern_allow([^WITH_UML$]) ++m4trace:configure.in:918: -1- AM_CONDITIONAL([WITH_UML], [test "$with_uml" = "yes"]) ++m4trace:configure.in:918: -1- m4_pattern_allow([^WITH_UML_TRUE$]) ++m4trace:configure.in:918: -1- m4_pattern_allow([^WITH_UML_FALSE$]) ++m4trace:configure.in:918: -1- _AM_SUBST_NOTMAKE([WITH_UML_TRUE]) ++m4trace:configure.in:918: -1- _AM_SUBST_NOTMAKE([WITH_UML_FALSE]) ++m4trace:configure.in:935: -1- m4_pattern_allow([^LIBSSH_LIBS$]) ++m4trace:configure.in:943: -1- m4_pattern_allow([^HAVE_LIBSSH_LIBSSH_H$]) ++m4trace:configure.in:943: -1- m4_pattern_allow([^LIBSSH_CFLAGS$]) ++m4trace:configure.in:943: -1- m4_pattern_allow([^WITH_PHYP$]) ++m4trace:configure.in:955: -1- m4_pattern_allow([^LIBSSH_LIBS$]) ++m4trace:configure.in:961: -1- m4_pattern_allow([^HAVE_LIBSSH_LIBSSH_H$]) ++m4trace:configure.in:961: -1- m4_pattern_allow([^LIBSSH_CFLAGS$]) ++m4trace:configure.in:966: -1- m4_pattern_allow([^WITH_PHYP$]) ++m4trace:configure.in:969: -1- AM_CONDITIONAL([WITH_PHYP], [test "$with_phyp" = "yes"]) ++m4trace:configure.in:969: -1- m4_pattern_allow([^WITH_PHYP_TRUE$]) ++m4trace:configure.in:969: -1- m4_pattern_allow([^WITH_PHYP_FALSE$]) ++m4trace:configure.in:969: -1- _AM_SUBST_NOTMAKE([WITH_PHYP_TRUE]) ++m4trace:configure.in:969: -1- _AM_SUBST_NOTMAKE([WITH_PHYP_FALSE]) ++m4trace:configure.in:988: -1- m4_pattern_allow([^HAVE_LIBCAP_NG$]) ++m4trace:configure.in:995: -1- m4_pattern_allow([^HAVE_LIBCAP_NG$]) ++m4trace:configure.in:1004: -1- m4_pattern_allow([^HAVE_CAPNG$]) ++m4trace:configure.in:1006: -1- AM_CONDITIONAL([HAVE_CAPNG], [test "$with_capng" != "no"]) ++m4trace:configure.in:1006: -1- m4_pattern_allow([^HAVE_CAPNG_TRUE$]) ++m4trace:configure.in:1006: -1- m4_pattern_allow([^HAVE_CAPNG_FALSE$]) ++m4trace:configure.in:1006: -1- _AM_SUBST_NOTMAKE([HAVE_CAPNG_TRUE]) ++m4trace:configure.in:1006: -1- _AM_SUBST_NOTMAKE([HAVE_CAPNG_FALSE]) ++m4trace:configure.in:1007: -1- m4_pattern_allow([^CAPNG_CFLAGS$]) ++m4trace:configure.in:1008: -1- m4_pattern_allow([^CAPNG_LIBS$]) ++m4trace:configure.in:1013: -1- m4_pattern_allow([^HAVE_READLINE_READLINE_H$]) ++m4trace:configure.in:1045: -1- m4_pattern_allow([^USE_READLINE$]) ++m4trace:configure.in:1051: -1- m4_pattern_allow([^READLINE_CFLAGS$]) ++m4trace:configure.in:1052: -1- m4_pattern_allow([^VIRSH_LIBS$]) ++m4trace:configure.in:1061: -1- m4_pattern_allow([^WITH_NETWORK$]) ++m4trace:configure.in:1063: -1- AM_CONDITIONAL([WITH_NETWORK], [test "$with_network" = "yes"]) ++m4trace:configure.in:1063: -1- m4_pattern_allow([^WITH_NETWORK_TRUE$]) ++m4trace:configure.in:1063: -1- m4_pattern_allow([^WITH_NETWORK_FALSE$]) ++m4trace:configure.in:1063: -1- _AM_SUBST_NOTMAKE([WITH_NETWORK_TRUE]) ++m4trace:configure.in:1063: -1- _AM_SUBST_NOTMAKE([WITH_NETWORK_FALSE]) ++m4trace:configure.in:1068: -1- m4_pattern_allow([^WITH_BRIDGE$]) ++m4trace:configure.in:1070: -1- AM_CONDITIONAL([WITH_BRIDGE], [test "$with_bridge" = "yes"]) ++m4trace:configure.in:1070: -1- m4_pattern_allow([^WITH_BRIDGE_TRUE$]) ++m4trace:configure.in:1070: -1- m4_pattern_allow([^WITH_BRIDGE_FALSE$]) ++m4trace:configure.in:1070: -1- _AM_SUBST_NOTMAKE([WITH_BRIDGE_TRUE]) ++m4trace:configure.in:1070: -1- _AM_SUBST_NOTMAKE([WITH_BRIDGE_FALSE]) ++m4trace:configure.in:1080: -1- PKG_CHECK_MODULES([NETCF], [netcf >= $NETCF_REQUIRED], [with_netcf=yes], [ ++ if test "$with_netcf" = "check" ; then ++ with_netcf=no ++ else ++ AC_MSG_ERROR( ++ [You must install libnetcf >= $NETCF_REQUIRED to compile libvirt]) ++ fi ++ ]) ++m4trace:configure.in:1080: -1- m4_pattern_allow([^NETCF_CFLAGS$]) ++m4trace:configure.in:1080: -1- m4_pattern_allow([^NETCF_LIBS$]) ++m4trace:configure.in:1080: -1- PKG_CHECK_EXISTS([netcf >= $NETCF_REQUIRED], [pkg_cv_[]NETCF_CFLAGS=`$PKG_CONFIG --[]cflags "netcf >= $NETCF_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1080: -1- PKG_CHECK_EXISTS([netcf >= $NETCF_REQUIRED], [pkg_cv_[]NETCF_LIBS=`$PKG_CONFIG --[]libs "netcf >= $NETCF_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1080: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:1090: -1- m4_pattern_allow([^WITH_NETCF$]) ++m4trace:configure.in:1094: -1- AM_CONDITIONAL([WITH_NETCF], [test "$with_netcf" = "yes"]) ++m4trace:configure.in:1094: -1- m4_pattern_allow([^WITH_NETCF_TRUE$]) ++m4trace:configure.in:1094: -1- m4_pattern_allow([^WITH_NETCF_FALSE$]) ++m4trace:configure.in:1094: -1- _AM_SUBST_NOTMAKE([WITH_NETCF_TRUE]) ++m4trace:configure.in:1094: -1- _AM_SUBST_NOTMAKE([WITH_NETCF_FALSE]) ++m4trace:configure.in:1095: -1- m4_pattern_allow([^NETCF_CFLAGS$]) ++m4trace:configure.in:1096: -1- m4_pattern_allow([^NETCF_LIBS$]) ++m4trace:configure.in:1119: -1- m4_pattern_allow([^WITH_STORAGE_DIR$]) ++m4trace:configure.in:1121: -1- AM_CONDITIONAL([WITH_STORAGE_DIR], [test "$with_storage_dir" = "yes"]) ++m4trace:configure.in:1121: -1- m4_pattern_allow([^WITH_STORAGE_DIR_TRUE$]) ++m4trace:configure.in:1121: -1- m4_pattern_allow([^WITH_STORAGE_DIR_FALSE$]) ++m4trace:configure.in:1121: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_DIR_TRUE]) ++m4trace:configure.in:1121: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_DIR_FALSE]) ++m4trace:configure.in:1125: -1- m4_pattern_allow([^MOUNT$]) ++m4trace:configure.in:1126: -1- m4_pattern_allow([^UMOUNT$]) ++m4trace:configure.in:1138: -1- m4_pattern_allow([^WITH_STORAGE_FS$]) ++m4trace:configure.in:1139: -1- m4_pattern_allow([^MOUNT$]) ++m4trace:configure.in:1141: -1- m4_pattern_allow([^UMOUNT$]) ++m4trace:configure.in:1145: -1- AM_CONDITIONAL([WITH_STORAGE_FS], [test "$with_storage_fs" = "yes"]) ++m4trace:configure.in:1145: -1- m4_pattern_allow([^WITH_STORAGE_FS_TRUE$]) ++m4trace:configure.in:1145: -1- m4_pattern_allow([^WITH_STORAGE_FS_FALSE$]) ++m4trace:configure.in:1145: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_FS_TRUE]) ++m4trace:configure.in:1145: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_FS_FALSE]) ++m4trace:configure.in:1147: -1- m4_pattern_allow([^SHOWMOUNT$]) ++m4trace:configure.in:1148: -1- m4_pattern_allow([^SHOWMOUNT$]) ++m4trace:configure.in:1153: -1- m4_pattern_allow([^PVCREATE$]) ++m4trace:configure.in:1154: -1- m4_pattern_allow([^VGCREATE$]) ++m4trace:configure.in:1155: -1- m4_pattern_allow([^LVCREATE$]) ++m4trace:configure.in:1156: -1- m4_pattern_allow([^PVREMOVE$]) ++m4trace:configure.in:1157: -1- m4_pattern_allow([^VGREMOVE$]) ++m4trace:configure.in:1158: -1- m4_pattern_allow([^LVREMOVE$]) ++m4trace:configure.in:1159: -1- m4_pattern_allow([^VGCHANGE$]) ++m4trace:configure.in:1160: -1- m4_pattern_allow([^VGSCAN$]) ++m4trace:configure.in:1161: -1- m4_pattern_allow([^PVS$]) ++m4trace:configure.in:1162: -1- m4_pattern_allow([^VGS$]) ++m4trace:configure.in:1163: -1- m4_pattern_allow([^LVS$]) ++m4trace:configure.in:1194: -1- m4_pattern_allow([^WITH_STORAGE_LVM$]) ++m4trace:configure.in:1195: -1- m4_pattern_allow([^PVCREATE$]) ++m4trace:configure.in:1196: -1- m4_pattern_allow([^VGCREATE$]) ++m4trace:configure.in:1197: -1- m4_pattern_allow([^LVCREATE$]) ++m4trace:configure.in:1198: -1- m4_pattern_allow([^PVREMOVE$]) ++m4trace:configure.in:1199: -1- m4_pattern_allow([^VGREMOVE$]) ++m4trace:configure.in:1200: -1- m4_pattern_allow([^LVREMOVE$]) ++m4trace:configure.in:1201: -1- m4_pattern_allow([^VGCHANGE$]) ++m4trace:configure.in:1202: -1- m4_pattern_allow([^VGSCAN$]) ++m4trace:configure.in:1203: -1- m4_pattern_allow([^PVS$]) ++m4trace:configure.in:1204: -1- m4_pattern_allow([^VGS$]) ++m4trace:configure.in:1205: -1- m4_pattern_allow([^LVS$]) ++m4trace:configure.in:1208: -1- AM_CONDITIONAL([WITH_STORAGE_LVM], [test "$with_storage_lvm" = "yes"]) ++m4trace:configure.in:1208: -1- m4_pattern_allow([^WITH_STORAGE_LVM_TRUE$]) ++m4trace:configure.in:1208: -1- m4_pattern_allow([^WITH_STORAGE_LVM_FALSE$]) ++m4trace:configure.in:1208: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_LVM_TRUE]) ++m4trace:configure.in:1208: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_LVM_FALSE]) ++m4trace:configure.in:1213: -1- m4_pattern_allow([^ISCSIADM$]) ++m4trace:configure.in:1223: -1- m4_pattern_allow([^WITH_STORAGE_ISCSI$]) ++m4trace:configure.in:1224: -1- m4_pattern_allow([^ISCSIADM$]) ++m4trace:configure.in:1227: -1- AM_CONDITIONAL([WITH_STORAGE_ISCSI], [test "$with_storage_iscsi" = "yes"]) ++m4trace:configure.in:1227: -1- m4_pattern_allow([^WITH_STORAGE_ISCSI_TRUE$]) ++m4trace:configure.in:1227: -1- m4_pattern_allow([^WITH_STORAGE_ISCSI_FALSE$]) ++m4trace:configure.in:1227: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_ISCSI_TRUE]) ++m4trace:configure.in:1227: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_ISCSI_FALSE]) ++m4trace:configure.in:1232: -1- m4_pattern_allow([^WITH_STORAGE_SCSI$]) ++m4trace:configure.in:1235: -1- AM_CONDITIONAL([WITH_STORAGE_SCSI], [test "$with_storage_scsi" = "yes"]) ++m4trace:configure.in:1235: -1- m4_pattern_allow([^WITH_STORAGE_SCSI_TRUE$]) ++m4trace:configure.in:1235: -1- m4_pattern_allow([^WITH_STORAGE_SCSI_FALSE$]) ++m4trace:configure.in:1235: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_SCSI_TRUE]) ++m4trace:configure.in:1235: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_SCSI_FALSE]) ++m4trace:configure.in:1241: -1- m4_pattern_allow([^PARTED$]) ++m4trace:configure.in:1250: -1- PKG_CHECK_MODULES([LIBPARTED], [libparted >= $PARTED_REQUIRED], [], [PARTED_FOUND=no]) ++m4trace:configure.in:1250: -1- m4_pattern_allow([^LIBPARTED_CFLAGS$]) ++m4trace:configure.in:1250: -1- m4_pattern_allow([^LIBPARTED_LIBS$]) ++m4trace:configure.in:1250: -1- PKG_CHECK_EXISTS([libparted >= $PARTED_REQUIRED], [pkg_cv_[]LIBPARTED_CFLAGS=`$PKG_CONFIG --[]cflags "libparted >= $PARTED_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1250: -1- PKG_CHECK_EXISTS([libparted >= $PARTED_REQUIRED], [pkg_cv_[]LIBPARTED_LIBS=`$PKG_CONFIG --[]libs "libparted >= $PARTED_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1250: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:1258: -1- m4_pattern_allow([^HAVE_LIBUUID$]) ++m4trace:configure.in:1259: -1- m4_pattern_allow([^HAVE_LIBPARTED$]) ++m4trace:configure.in:1276: -1- m4_pattern_allow([^WITH_STORAGE_DISK$]) ++m4trace:configure.in:1277: -1- m4_pattern_allow([^PARTED$]) ++m4trace:configure.in:1280: -1- AM_CONDITIONAL([WITH_STORAGE_DISK], [test "$with_storage_disk" = "yes"]) ++m4trace:configure.in:1280: -1- m4_pattern_allow([^WITH_STORAGE_DISK_TRUE$]) ++m4trace:configure.in:1280: -1- m4_pattern_allow([^WITH_STORAGE_DISK_FALSE$]) ++m4trace:configure.in:1280: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_DISK_TRUE]) ++m4trace:configure.in:1280: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_DISK_FALSE]) ++m4trace:configure.in:1281: -1- m4_pattern_allow([^LIBPARTED_CFLAGS$]) ++m4trace:configure.in:1282: -1- m4_pattern_allow([^LIBPARTED_LIBS$]) ++m4trace:configure.in:1294: -1- PKG_CHECK_MODULES([LIBCURL], [libcurl >= $LIBCURL_REQUIRED], [ ++ LIBCURL_FOUND=yes ++ with_esx="yes" ++ ], [ ++ if test "$with_esx" = "check"; then ++ with_esx=no ++ AC_MSG_NOTICE([libcurl is required for ESX driver, disabling it]) ++ else ++ AC_MSG_ERROR([libcurl >= $LIBCURL_REQUIRED is required for the ESX driver]) ++ fi ++ ]) ++m4trace:configure.in:1294: -1- m4_pattern_allow([^LIBCURL_CFLAGS$]) ++m4trace:configure.in:1294: -1- m4_pattern_allow([^LIBCURL_LIBS$]) ++m4trace:configure.in:1294: -1- PKG_CHECK_EXISTS([libcurl >= $LIBCURL_REQUIRED], [pkg_cv_[]LIBCURL_CFLAGS=`$PKG_CONFIG --[]cflags "libcurl >= $LIBCURL_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1294: -1- PKG_CHECK_EXISTS([libcurl >= $LIBCURL_REQUIRED], [pkg_cv_[]LIBCURL_LIBS=`$PKG_CONFIG --[]libs "libcurl >= $LIBCURL_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1294: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:1307: -1- m4_pattern_allow([^WITH_ESX$]) ++m4trace:configure.in:1309: -1- AM_CONDITIONAL([WITH_ESX], [test "$with_esx" = "yes"]) ++m4trace:configure.in:1309: -1- m4_pattern_allow([^WITH_ESX_TRUE$]) ++m4trace:configure.in:1309: -1- m4_pattern_allow([^WITH_ESX_FALSE$]) ++m4trace:configure.in:1309: -1- _AM_SUBST_NOTMAKE([WITH_ESX_TRUE]) ++m4trace:configure.in:1309: -1- _AM_SUBST_NOTMAKE([WITH_ESX_FALSE]) ++m4trace:configure.in:1311: -1- m4_pattern_allow([^LIBCURL_CFLAGS$]) ++m4trace:configure.in:1312: -1- m4_pattern_allow([^LIBCURL_LIBS$]) ++m4trace:configure.in:1339: -1- m4_pattern_allow([^PYTHON$]) ++m4trace:configure.in:1384: -1- AM_CONDITIONAL([WITH_PYTHON], [test "$PYTHON_INCLUDES" != ""]) ++m4trace:configure.in:1384: -1- m4_pattern_allow([^WITH_PYTHON_TRUE$]) ++m4trace:configure.in:1384: -1- m4_pattern_allow([^WITH_PYTHON_FALSE$]) ++m4trace:configure.in:1384: -1- _AM_SUBST_NOTMAKE([WITH_PYTHON_TRUE]) ++m4trace:configure.in:1384: -1- _AM_SUBST_NOTMAKE([WITH_PYTHON_FALSE]) ++m4trace:configure.in:1385: -1- m4_pattern_allow([^pythondir$]) ++m4trace:configure.in:1386: -1- m4_pattern_allow([^PYTHON_VERSION$]) ++m4trace:configure.in:1387: -1- m4_pattern_allow([^PYTHON_INCLUDES$]) ++m4trace:configure.in:1388: -1- m4_pattern_allow([^PYTHON_SITE_PACKAGES$]) ++m4trace:configure.in:1410: -1- AM_CONDITIONAL([ENABLE_XEN_TESTS], [test "$RUNNING_XEN" != "no" -a "$RUNNING_XEND" != "no"]) ++m4trace:configure.in:1410: -1- m4_pattern_allow([^ENABLE_XEN_TESTS_TRUE$]) ++m4trace:configure.in:1410: -1- m4_pattern_allow([^ENABLE_XEN_TESTS_FALSE$]) ++m4trace:configure.in:1410: -1- _AM_SUBST_NOTMAKE([ENABLE_XEN_TESTS_TRUE]) ++m4trace:configure.in:1410: -1- _AM_SUBST_NOTMAKE([ENABLE_XEN_TESTS_FALSE]) ++m4trace:configure.in:1422: -1- gl_COMPILER_FLAGS([-fprofile-arcs]) ++m4trace:configure.in:1422: -1- m4_pattern_allow([^COMPILER_FLAGS$]) ++m4trace:configure.in:1422: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++m4/compiler-flags.m4:23: gl_COMPILER_FLAGS is expanded from... ++configure.in:1422: the top level]) ++m4trace:configure.in:1423: -1- gl_COMPILER_FLAGS([-ftest-coverage]) ++m4trace:configure.in:1423: -1- m4_pattern_allow([^COMPILER_FLAGS$]) ++m4trace:configure.in:1423: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++m4/compiler-flags.m4:23: gl_COMPILER_FLAGS is expanded from... ++configure.in:1423: the top level]) ++m4trace:configure.in:1424: -1- m4_pattern_allow([^COVERAGE_CFLAGS$]) ++m4trace:configure.in:1425: -1- m4_pattern_allow([^COVERAGE_LDFLAGS$]) ++m4trace:configure.in:1443: -1- m4_pattern_allow([^TEST_OOM_TRACE$]) ++m4trace:configure.in:1445: -1- m4_pattern_allow([^TEST_OOM$]) ++m4trace:configure.in:1460: -1- m4_pattern_allow([^LOCK_CHECKING_CFLAGS$]) ++m4trace:configure.in:1462: -1- AM_CONDITIONAL([WITH_CIL], [test "$enable_locking" = "yes"]) ++m4trace:configure.in:1462: -1- m4_pattern_allow([^WITH_CIL_TRUE$]) ++m4trace:configure.in:1462: -1- m4_pattern_allow([^WITH_CIL_FALSE$]) ++m4trace:configure.in:1462: -1- _AM_SUBST_NOTMAKE([WITH_CIL_TRUE]) ++m4trace:configure.in:1462: -1- _AM_SUBST_NOTMAKE([WITH_CIL_FALSE]) ++m4trace:configure.in:1482: -1- AM_CONDITIONAL([WITH_PROXY], [test "$with_xen_proxy" = "yes"]) ++m4trace:configure.in:1482: -1- m4_pattern_allow([^WITH_PROXY_TRUE$]) ++m4trace:configure.in:1482: -1- m4_pattern_allow([^WITH_PROXY_FALSE$]) ++m4trace:configure.in:1482: -1- _AM_SUBST_NOTMAKE([WITH_PROXY_TRUE]) ++m4trace:configure.in:1482: -1- _AM_SUBST_NOTMAKE([WITH_PROXY_FALSE]) ++m4trace:configure.in:1484: -1- m4_pattern_allow([^WITH_PROXY$]) ++m4trace:configure.in:1488: -1- AM_CONDITIONAL([WITH_LIBVIRTD], [test "x$with_libvirtd" = "xyes"]) ++m4trace:configure.in:1488: -1- m4_pattern_allow([^WITH_LIBVIRTD_TRUE$]) ++m4trace:configure.in:1488: -1- m4_pattern_allow([^WITH_LIBVIRTD_FALSE$]) ++m4trace:configure.in:1488: -1- _AM_SUBST_NOTMAKE([WITH_LIBVIRTD_TRUE]) ++m4trace:configure.in:1488: -1- _AM_SUBST_NOTMAKE([WITH_LIBVIRTD_FALSE]) ++m4trace:configure.in:1491: -1- AM_GNU_GETTEXT_VERSION([0.14.1]) ++m4trace:configure.in:1492: -1- AM_GNU_GETTEXT([external]) ++m4trace:configure.in:1492: -1- AM_PO_SUBDIRS ++m4trace:configure.in:1492: -1- AM_MKINSTALLDIRS ++m4trace:configure.in:1492: -1- m4_pattern_allow([^MKINSTALLDIRS$]) ++m4trace:configure.in:1492: -1- AM_NLS ++m4trace:configure.in:1492: -1- m4_pattern_allow([^USE_NLS$]) ++m4trace:configure.in:1492: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^MSGFMT$]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^GMSGFMT$]) ++m4trace:configure.in:1492: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && ++ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^XGETTEXT$]) ++m4trace:configure.in:1492: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], [:]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^MSGMERGE$]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/status.m4:1040: AC_OUTPUT_COMMANDS is expanded from... ++m4/po.m4:23: AM_PO_SUBDIRS is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- AC_LIB_PREPARE_PREFIX ++m4trace:configure.in:1492: -1- AC_LIB_RPATH ++m4trace:configure.in:1492: -1- AC_LIB_PROG_LD ++m4trace:configure.in:1492: -1- AC_LIB_PROG_LD_GNU ++m4trace:configure.in:1492: -1- AM_ICONV_LINKFLAGS_BODY ++m4trace:configure.in:1492: -1- AC_LIB_LINKFLAGS_BODY([iconv]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.in:1492: -1- AC_LIB_ARG_WITH([libiconv-prefix], [ --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], [ ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AM_NLS ++m4trace:configure.in:1492: -1- m4_pattern_allow([^USE_NLS$]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- AM_ICONV_LINK ++m4trace:configure.in:1492: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/iconv.m4:22: AM_ICONV_LINK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/iconv.m4:22: AM_ICONV_LINK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^HAVE_ICONV$]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^LIBICONV$]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^LTLIBICONV$]) ++m4trace:configure.in:1492: -1- AC_LIB_LINKFLAGS_BODY([intl]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.in:1492: -1- AC_LIB_ARG_WITH([libintl-prefix], [ --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], [ ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/lib" ++ fi ++ fi ++]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^ENABLE_NLS$]) ++m4trace:configure.in:1492: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) ++m4trace:configure.in:1492: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^HAVE_GETTEXT$]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^HAVE_DCGETTEXT$]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^INTLLIBS$]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^LIBINTL$]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^LTLIBINTL$]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^POSUB$]) ++m4trace:configure.in:1514: -1- m4_pattern_allow([^CYGWIN_EXTRA_LDFLAGS$]) ++m4trace:configure.in:1515: -1- m4_pattern_allow([^CYGWIN_EXTRA_LIBADD$]) ++m4trace:configure.in:1516: -1- m4_pattern_allow([^CYGWIN_EXTRA_PYTHON_LIBADD$]) ++m4trace:configure.in:1517: -1- m4_pattern_allow([^MINGW_EXTRA_LDFLAGS$]) ++m4trace:configure.in:1520: -1- m4_pattern_allow([^WINDRES$]) ++m4trace:configure.in:1521: -1- AM_CONDITIONAL([WITH_WIN_ICON], [test "$WINDRES" != "no"]) ++m4trace:configure.in:1521: -1- m4_pattern_allow([^WITH_WIN_ICON_TRUE$]) ++m4trace:configure.in:1521: -1- m4_pattern_allow([^WITH_WIN_ICON_FALSE$]) ++m4trace:configure.in:1521: -1- _AM_SUBST_NOTMAKE([WITH_WIN_ICON_TRUE]) ++m4trace:configure.in:1521: -1- _AM_SUBST_NOTMAKE([WITH_WIN_ICON_FALSE]) ++m4trace:configure.in:1538: -1- m4_pattern_allow([^HAVE_LIBDL$]) ++m4trace:configure.in:1548: -1- m4_pattern_allow([^WITH_DRIVER_MODULES$]) ++m4trace:configure.in:1550: -1- AM_CONDITIONAL([WITH_DRIVER_MODULES], [test "$with_driver_modules" != "no"]) ++m4trace:configure.in:1550: -1- m4_pattern_allow([^WITH_DRIVER_MODULES_TRUE$]) ++m4trace:configure.in:1550: -1- m4_pattern_allow([^WITH_DRIVER_MODULES_FALSE$]) ++m4trace:configure.in:1550: -1- _AM_SUBST_NOTMAKE([WITH_DRIVER_MODULES_TRUE]) ++m4trace:configure.in:1550: -1- _AM_SUBST_NOTMAKE([WITH_DRIVER_MODULES_FALSE]) ++m4trace:configure.in:1551: -1- m4_pattern_allow([^DRIVER_MODULES_CFLAGS$]) ++m4trace:configure.in:1552: -1- m4_pattern_allow([^DRIVER_MODULES_LIBS$]) ++m4trace:configure.in:1560: -1- m4_pattern_allow([^LV_LIBTOOL_OBJDIR$]) ++m4trace:configure.in:1575: -1- PKG_CHECK_MODULES([HAL], [hal >= $HAL_REQUIRED], [with_hal=yes], [ ++ if test "x$with_hal" = "xcheck" ; then ++ with_hal=no ++ else ++ AC_MSG_ERROR( ++ [You must install hal-devel >= $HAL_REQUIRED to compile libvirt]) ++ fi ++ ]) ++m4trace:configure.in:1575: -1- m4_pattern_allow([^HAL_CFLAGS$]) ++m4trace:configure.in:1575: -1- m4_pattern_allow([^HAL_LIBS$]) ++m4trace:configure.in:1575: -1- PKG_CHECK_EXISTS([hal >= $HAL_REQUIRED], [pkg_cv_[]HAL_CFLAGS=`$PKG_CONFIG --[]cflags "hal >= $HAL_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1575: -1- PKG_CHECK_EXISTS([hal >= $HAL_REQUIRED], [pkg_cv_[]HAL_LIBS=`$PKG_CONFIG --[]libs "hal >= $HAL_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1575: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:1585: -1- m4_pattern_allow([^HAVE_HAL$]) ++m4trace:configure.in:1592: -1- m4_pattern_allow([^HAVE_LIBHAL_GET_ALL_DEVICES$]) ++m4trace:configure.in:1593: -1- m4_pattern_allow([^HAVE_DBUS_WATCH_GET_UNIX_FD$]) ++m4trace:configure.in:1598: -1- AM_CONDITIONAL([HAVE_HAL], [test "x$with_hal" = "xyes"]) ++m4trace:configure.in:1598: -1- m4_pattern_allow([^HAVE_HAL_TRUE$]) ++m4trace:configure.in:1598: -1- m4_pattern_allow([^HAVE_HAL_FALSE$]) ++m4trace:configure.in:1598: -1- _AM_SUBST_NOTMAKE([HAVE_HAL_TRUE]) ++m4trace:configure.in:1598: -1- _AM_SUBST_NOTMAKE([HAVE_HAL_FALSE]) ++m4trace:configure.in:1599: -1- m4_pattern_allow([^HAL_CFLAGS$]) ++m4trace:configure.in:1600: -1- m4_pattern_allow([^HAL_LIBS$]) ++m4trace:configure.in:1615: -1- PKG_CHECK_MODULES([GLIB2], [glib-2.0 >= 0.0], [], [ ++ if test "x$with_devkit" = "xcheck"; then ++ with_devkit=no ++ elif test "x$with_devkit" = "xyes"; then ++ AC_MSG_ERROR([required package DeviceKit requires package glib-2.0]) ++ fi]) ++m4trace:configure.in:1615: -1- m4_pattern_allow([^GLIB2_CFLAGS$]) ++m4trace:configure.in:1615: -1- m4_pattern_allow([^GLIB2_LIBS$]) ++m4trace:configure.in:1615: -1- PKG_CHECK_EXISTS([glib-2.0 >= 0.0], [pkg_cv_[]GLIB2_CFLAGS=`$PKG_CONFIG --[]cflags "glib-2.0 >= 0.0" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1615: -1- PKG_CHECK_EXISTS([glib-2.0 >= 0.0], [pkg_cv_[]GLIB2_LIBS=`$PKG_CONFIG --[]libs "glib-2.0 >= 0.0" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1615: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:1623: -1- PKG_CHECK_MODULES([DEVKIT], [devkit-gobject >= $DEVKIT_REQUIRED], [with_devkit=yes], [ ++ if test "x$with_devkit" = "xcheck" ; then ++ with_devkit=no ++ else ++ AC_MSG_ERROR( ++ [You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt]) ++ fi ++ ]) ++m4trace:configure.in:1623: -1- m4_pattern_allow([^DEVKIT_CFLAGS$]) ++m4trace:configure.in:1623: -1- m4_pattern_allow([^DEVKIT_LIBS$]) ++m4trace:configure.in:1623: -1- PKG_CHECK_EXISTS([devkit-gobject >= $DEVKIT_REQUIRED], [pkg_cv_[]DEVKIT_CFLAGS=`$PKG_CONFIG --[]cflags "devkit-gobject >= $DEVKIT_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1623: -1- PKG_CHECK_EXISTS([devkit-gobject >= $DEVKIT_REQUIRED], [pkg_cv_[]DEVKIT_LIBS=`$PKG_CONFIG --[]libs "devkit-gobject >= $DEVKIT_REQUIRED" 2>/dev/null`], [pkg_failed=yes]) ++m4trace:configure.in:1623: -1- _PKG_SHORT_ERRORS_SUPPORTED ++m4trace:configure.in:1633: -1- m4_pattern_allow([^HAVE_DEVKIT$]) ++m4trace:configure.in:1647: -1- m4_pattern_allow([^HAVE_DEVKIT_CLIENT_CONNECT$]) ++m4trace:configure.in:1652: -1- AM_CONDITIONAL([HAVE_DEVKIT], [test "x$with_devkit" = "xyes"]) ++m4trace:configure.in:1652: -1- m4_pattern_allow([^HAVE_DEVKIT_TRUE$]) ++m4trace:configure.in:1652: -1- m4_pattern_allow([^HAVE_DEVKIT_FALSE$]) ++m4trace:configure.in:1652: -1- _AM_SUBST_NOTMAKE([HAVE_DEVKIT_TRUE]) ++m4trace:configure.in:1652: -1- _AM_SUBST_NOTMAKE([HAVE_DEVKIT_FALSE]) ++m4trace:configure.in:1653: -1- m4_pattern_allow([^DEVKIT_CFLAGS$]) ++m4trace:configure.in:1654: -1- m4_pattern_allow([^DEVKIT_LIBS$]) ++m4trace:configure.in:1660: -1- m4_pattern_allow([^WITH_NODE_DEVICES$]) ++m4trace:configure.in:1662: -1- AM_CONDITIONAL([WITH_NODE_DEVICES], [test "$with_nodedev" = "yes"]) ++m4trace:configure.in:1662: -1- m4_pattern_allow([^WITH_NODE_DEVICES_TRUE$]) ++m4trace:configure.in:1662: -1- m4_pattern_allow([^WITH_NODE_DEVICES_FALSE$]) ++m4trace:configure.in:1662: -1- _AM_SUBST_NOTMAKE([WITH_NODE_DEVICES_TRUE]) ++m4trace:configure.in:1662: -1- _AM_SUBST_NOTMAKE([WITH_NODE_DEVICES_FALSE]) ++m4trace:configure.in:1664: -1- AM_CONDITIONAL([WITH_LINUX], [test `uname -s` = "Linux"]) ++m4trace:configure.in:1664: -1- m4_pattern_allow([^WITH_LINUX_TRUE$]) ++m4trace:configure.in:1664: -1- m4_pattern_allow([^WITH_LINUX_FALSE$]) ++m4trace:configure.in:1664: -1- _AM_SUBST_NOTMAKE([WITH_LINUX_TRUE]) ++m4trace:configure.in:1664: -1- _AM_SUBST_NOTMAKE([WITH_LINUX_FALSE]) ++m4trace:configure.in:1675: -1- m4_pattern_allow([^QEMU_USER$]) ++m4trace:configure.in:1676: -1- m4_pattern_allow([^QEMU_GROUP$]) ++m4trace:configure.in:1686: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. ++You should run autoupdate.], []) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^gl_LIBOBJS$]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^gltests_LIBOBJS$]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^gltests_LTLIBOBJS$]) ++m4trace:configure.in:1686: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) ++m4trace:configure.in:1686: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS ++m4trace:configure.in:1686: -1- _LT_PROG_LTMAIN +diff -Nur libvirt-0.7.0/autom4te.cache/traces.1 libvirt-0.7.0.new/autom4te.cache/traces.1 +--- libvirt-0.7.0/autom4te.cache/traces.1 1969-12-31 18:00:00.000000000 -0600 ++++ libvirt-0.7.0.new/autom4te.cache/traces.1 2009-08-13 22:45:13.082506218 -0500 +@@ -0,0 +1,4529 @@ ++m4trace:aclocal.m4:1134: -1- m4_include([gnulib/m4/00gnulib.m4]) ++m4trace:aclocal.m4:1135: -1- m4_include([gnulib/m4/alloca.m4]) ++m4trace:aclocal.m4:1136: -1- m4_include([gnulib/m4/arpa_inet_h.m4]) ++m4trace:aclocal.m4:1137: -1- m4_include([gnulib/m4/close.m4]) ++m4trace:aclocal.m4:1138: -1- m4_include([gnulib/m4/errno_h.m4]) ++m4trace:aclocal.m4:1139: -1- m4_include([gnulib/m4/extensions.m4]) ++m4trace:aclocal.m4:1140: -1- m4_include([gnulib/m4/fclose.m4]) ++m4trace:aclocal.m4:1141: -1- m4_include([gnulib/m4/float_h.m4]) ++m4trace:aclocal.m4:1142: -1- m4_include([gnulib/m4/fseeko.m4]) ++m4trace:aclocal.m4:1143: -1- m4_include([gnulib/m4/getaddrinfo.m4]) ++m4trace:aclocal.m4:1144: -1- m4_include([gnulib/m4/getdelim.m4]) ++m4trace:aclocal.m4:1145: -1- m4_include([gnulib/m4/gethostname.m4]) ++m4trace:aclocal.m4:1146: -1- m4_include([gnulib/m4/getline.m4]) ++m4trace:aclocal.m4:1147: -1- m4_include([gnulib/m4/getpagesize.m4]) ++m4trace:aclocal.m4:1148: -1- m4_include([gnulib/m4/getpass.m4]) ++m4trace:aclocal.m4:1149: -1- m4_include([gnulib/m4/gettimeofday.m4]) ++m4trace:aclocal.m4:1150: -1- m4_include([gnulib/m4/gnulib-common.m4]) ++m4trace:aclocal.m4:1151: -1- m4_include([gnulib/m4/gnulib-comp.m4]) ++m4trace:aclocal.m4:1152: -1- m4_include([gnulib/m4/hostent.m4]) ++m4trace:aclocal.m4:1153: -1- m4_include([gnulib/m4/include_next.m4]) ++m4trace:aclocal.m4:1154: -1- m4_include([gnulib/m4/inet_ntop.m4]) ++m4trace:aclocal.m4:1155: -1- m4_include([gnulib/m4/inet_pton.m4]) ++m4trace:aclocal.m4:1156: -1- m4_include([gnulib/m4/intmax_t.m4]) ++m4trace:aclocal.m4:1157: -1- m4_include([gnulib/m4/inttypes_h.m4]) ++m4trace:aclocal.m4:1158: -1- m4_include([gnulib/m4/longlong.m4]) ++m4trace:aclocal.m4:1159: -1- m4_include([gnulib/m4/lseek.m4]) ++m4trace:aclocal.m4:1160: -1- m4_include([gnulib/m4/lstat.m4]) ++m4trace:aclocal.m4:1161: -1- m4_include([gnulib/m4/malloc.m4]) ++m4trace:aclocal.m4:1162: -1- m4_include([gnulib/m4/memchr.m4]) ++m4trace:aclocal.m4:1163: -1- m4_include([gnulib/m4/mkstemp.m4]) ++m4trace:aclocal.m4:1164: -1- m4_include([gnulib/m4/mmap-anon.m4]) ++m4trace:aclocal.m4:1165: -1- m4_include([gnulib/m4/multiarch.m4]) ++m4trace:aclocal.m4:1166: -1- m4_include([gnulib/m4/netdb_h.m4]) ++m4trace:aclocal.m4:1167: -1- m4_include([gnulib/m4/netinet_in_h.m4]) ++m4trace:aclocal.m4:1168: -1- m4_include([gnulib/m4/onceonly.m4]) ++m4trace:aclocal.m4:1169: -1- m4_include([gnulib/m4/perror.m4]) ++m4trace:aclocal.m4:1170: -1- m4_include([gnulib/m4/physmem.m4]) ++m4trace:aclocal.m4:1171: -1- m4_include([gnulib/m4/po.m4]) ++m4trace:aclocal.m4:1172: -1- m4_include([gnulib/m4/poll.m4]) ++m4trace:aclocal.m4:1173: -1- m4_include([gnulib/m4/posix-shell.m4]) ++m4trace:aclocal.m4:1174: -1- m4_include([gnulib/m4/printf.m4]) ++m4trace:aclocal.m4:1175: -1- m4_include([gnulib/m4/random_r.m4]) ++m4trace:aclocal.m4:1176: -1- m4_include([gnulib/m4/realloc.m4]) ++m4trace:aclocal.m4:1177: -1- m4_include([gnulib/m4/select.m4]) ++m4trace:aclocal.m4:1178: -1- m4_include([gnulib/m4/servent.m4]) ++m4trace:aclocal.m4:1179: -1- m4_include([gnulib/m4/snprintf.m4]) ++m4trace:aclocal.m4:1180: -1- m4_include([gnulib/m4/sockets.m4]) ++m4trace:aclocal.m4:1181: -1- m4_include([gnulib/m4/socklen.m4]) ++m4trace:aclocal.m4:1182: -1- m4_include([gnulib/m4/sockpfaf.m4]) ++m4trace:aclocal.m4:1183: -1- m4_include([gnulib/m4/stdbool.m4]) ++m4trace:aclocal.m4:1184: -1- m4_include([gnulib/m4/stdint.m4]) ++m4trace:aclocal.m4:1185: -1- m4_include([gnulib/m4/stdint_h.m4]) ++m4trace:aclocal.m4:1186: -1- m4_include([gnulib/m4/stdio_h.m4]) ++m4trace:aclocal.m4:1187: -1- m4_include([gnulib/m4/stdlib_h.m4]) ++m4trace:aclocal.m4:1188: -1- m4_include([gnulib/m4/stpcpy.m4]) ++m4trace:aclocal.m4:1189: -1- m4_include([gnulib/m4/strdup.m4]) ++m4trace:aclocal.m4:1190: -1- m4_include([gnulib/m4/strerror.m4]) ++m4trace:aclocal.m4:1191: -1- m4_include([gnulib/m4/string_h.m4]) ++m4trace:aclocal.m4:1192: -1- m4_include([gnulib/m4/strndup.m4]) ++m4trace:aclocal.m4:1193: -1- m4_include([gnulib/m4/strnlen.m4]) ++m4trace:aclocal.m4:1194: -1- m4_include([gnulib/m4/strsep.m4]) ++m4trace:aclocal.m4:1195: -1- m4_include([gnulib/m4/sys_ioctl_h.m4]) ++m4trace:aclocal.m4:1196: -1- m4_include([gnulib/m4/sys_select_h.m4]) ++m4trace:aclocal.m4:1197: -1- m4_include([gnulib/m4/sys_socket_h.m4]) ++m4trace:aclocal.m4:1198: -1- m4_include([gnulib/m4/sys_stat_h.m4]) ++m4trace:aclocal.m4:1199: -1- m4_include([gnulib/m4/sys_time_h.m4]) ++m4trace:aclocal.m4:1200: -1- m4_include([gnulib/m4/tempname.m4]) ++m4trace:aclocal.m4:1201: -1- m4_include([gnulib/m4/time_h.m4]) ++m4trace:aclocal.m4:1202: -1- m4_include([gnulib/m4/time_r.m4]) ++m4trace:aclocal.m4:1203: -1- m4_include([gnulib/m4/ungetc.m4]) ++m4trace:aclocal.m4:1204: -1- m4_include([gnulib/m4/unistd_h.m4]) ++m4trace:aclocal.m4:1205: -1- m4_include([gnulib/m4/vasnprintf.m4]) ++m4trace:aclocal.m4:1206: -1- m4_include([gnulib/m4/vasprintf.m4]) ++m4trace:aclocal.m4:1207: -1- m4_include([gnulib/m4/wchar.m4]) ++m4trace:aclocal.m4:1208: -1- m4_include([m4/compiler-flags.m4]) ++m4trace:aclocal.m4:1209: -1- m4_include([m4/gettext.m4]) ++m4trace:aclocal.m4:1210: -1- m4_include([m4/iconv.m4]) ++m4trace:aclocal.m4:1211: -1- m4_include([m4/lib-ld.m4]) ++m4trace:aclocal.m4:1212: -1- m4_include([m4/lib-link.m4]) ++m4trace:aclocal.m4:1213: -1- m4_include([m4/lib-prefix.m4]) ++m4trace:aclocal.m4:1214: -1- m4_include([m4/libtool.m4]) ++m4trace:aclocal.m4:1215: -1- m4_include([m4/ltoptions.m4]) ++m4trace:aclocal.m4:1216: -1- m4_include([m4/ltsugar.m4]) ++m4trace:aclocal.m4:1217: -1- m4_include([m4/ltversion.m4]) ++m4trace:aclocal.m4:1218: -1- m4_include([m4/lt~obsolete.m4]) ++m4trace:aclocal.m4:1219: -1- m4_include([m4/nls.m4]) ++m4trace:aclocal.m4:1220: -1- m4_include([m4/po.m4]) ++m4trace:aclocal.m4:1221: -1- m4_include([m4/progtest.m4]) ++m4trace:aclocal.m4:1222: -1- m4_include([m4/size_max.m4]) ++m4trace:aclocal.m4:1223: -1- m4_include([m4/wchar_t.m4]) ++m4trace:aclocal.m4:1224: -1- m4_include([m4/wint_t.m4]) ++m4trace:aclocal.m4:1225: -1- m4_include([m4/xsize.m4]) ++m4trace:aclocal.m4:1226: -1- m4_include([acinclude.m4]) ++m4trace:configure.in:3: -1- AC_INIT([libvirt], [0.7.0]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([_AC_]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) ++m4trace:configure.in:3: -1- m4_pattern_allow([^AS_FLAGS$]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^_?m4_]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^dnl$]) ++m4trace:configure.in:3: -1- m4_pattern_forbid([^_?AS_]) ++m4trace:configure.in:3: -1- AC_SUBST([SHELL]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([SHELL]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^SHELL$]) ++m4trace:configure.in:3: -1- AC_SUBST([PATH_SEPARATOR]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PATH_SEPARATOR$]) ++m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_NAME]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_STRING]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_URL]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.in:3: -1- AC_SUBST([exec_prefix], [NONE]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([exec_prefix]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^exec_prefix$]) ++m4trace:configure.in:3: -1- AC_SUBST([prefix], [NONE]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([prefix]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^prefix$]) ++m4trace:configure.in:3: -1- AC_SUBST([program_transform_name], [s,x,x,]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([program_transform_name]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^program_transform_name$]) ++m4trace:configure.in:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([bindir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^bindir$]) ++m4trace:configure.in:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([sbindir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^sbindir$]) ++m4trace:configure.in:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([libexecdir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^libexecdir$]) ++m4trace:configure.in:3: -1- AC_SUBST([datarootdir], ['${prefix}/share']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([datarootdir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^datarootdir$]) ++m4trace:configure.in:3: -1- AC_SUBST([datadir], ['${datarootdir}']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([datadir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^datadir$]) ++m4trace:configure.in:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([sysconfdir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^sysconfdir$]) ++m4trace:configure.in:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([sharedstatedir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^sharedstatedir$]) ++m4trace:configure.in:3: -1- AC_SUBST([localstatedir], ['${prefix}/var']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([localstatedir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^localstatedir$]) ++m4trace:configure.in:3: -1- AC_SUBST([includedir], ['${prefix}/include']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([includedir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^includedir$]) ++m4trace:configure.in:3: -1- AC_SUBST([oldincludedir], ['/usr/include']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([oldincludedir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^oldincludedir$]) ++m4trace:configure.in:3: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], ++ ['${datarootdir}/doc/${PACKAGE_TARNAME}'], ++ ['${datarootdir}/doc/${PACKAGE}'])]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([docdir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^docdir$]) ++m4trace:configure.in:3: -1- AC_SUBST([infodir], ['${datarootdir}/info']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([infodir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^infodir$]) ++m4trace:configure.in:3: -1- AC_SUBST([htmldir], ['${docdir}']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([htmldir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^htmldir$]) ++m4trace:configure.in:3: -1- AC_SUBST([dvidir], ['${docdir}']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([dvidir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^dvidir$]) ++m4trace:configure.in:3: -1- AC_SUBST([pdfdir], ['${docdir}']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([pdfdir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^pdfdir$]) ++m4trace:configure.in:3: -1- AC_SUBST([psdir], ['${docdir}']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([psdir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^psdir$]) ++m4trace:configure.in:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([libdir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^libdir$]) ++m4trace:configure.in:3: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([localedir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^localedir$]) ++m4trace:configure.in:3: -1- AC_SUBST([mandir], ['${datarootdir}/man']) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([mandir]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^mandir$]) ++m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ ++@%:@undef PACKAGE_NAME]) ++m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ ++@%:@undef PACKAGE_TARNAME]) ++m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ ++@%:@undef PACKAGE_VERSION]) ++m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ ++@%:@undef PACKAGE_STRING]) ++m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ ++@%:@undef PACKAGE_BUGREPORT]) ++m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ ++@%:@undef PACKAGE_URL]) ++m4trace:configure.in:3: -1- AC_SUBST([DEFS]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([DEFS]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^DEFS$]) ++m4trace:configure.in:3: -1- AC_SUBST([ECHO_C]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([ECHO_C]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_C$]) ++m4trace:configure.in:3: -1- AC_SUBST([ECHO_N]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([ECHO_N]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_N$]) ++m4trace:configure.in:3: -1- AC_SUBST([ECHO_T]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([ECHO_T]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_T$]) ++m4trace:configure.in:3: -1- AC_SUBST([LIBS]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([LIBS]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.in:3: -1- AC_SUBST([build_alias]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([build_alias]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^build_alias$]) ++m4trace:configure.in:3: -1- AC_SUBST([host_alias]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([host_alias]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^host_alias$]) ++m4trace:configure.in:3: -1- AC_SUBST([target_alias]) ++m4trace:configure.in:3: -1- AC_SUBST_TRACE([target_alias]) ++m4trace:configure.in:3: -1- m4_pattern_allow([^target_alias$]) ++m4trace:configure.in:5: -1- AC_CONFIG_AUX_DIR([build-aux]) ++m4trace:configure.in:6: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. ++You should run autoupdate.], [aclocal.m4:575: AM_CONFIG_HEADER is expanded from... ++configure.in:6: the top level]) ++m4trace:configure.in:6: -1- AC_CONFIG_HEADERS([config.h]) ++m4trace:configure.in:8: -1- AM_INIT_AUTOMAKE([-Wno-portability]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) ++m4trace:configure.in:8: -1- AM_AUTOMAKE_VERSION([1.10.2]) ++m4trace:configure.in:8: -1- AC_REQUIRE_AUX_FILE([install-sh]) ++m4trace:configure.in:8: -1- AC_SUBST([INSTALL_PROGRAM]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) ++m4trace:configure.in:8: -1- AC_SUBST([INSTALL_SCRIPT]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) ++m4trace:configure.in:8: -1- AC_SUBST([INSTALL_DATA]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([INSTALL_DATA]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_DATA$]) ++m4trace:configure.in:8: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([am__isrc]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^am__isrc$]) ++m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([am__isrc]) ++m4trace:configure.in:8: -1- AC_SUBST([CYGPATH_W]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([CYGPATH_W]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^CYGPATH_W$]) ++m4trace:configure.in:8: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([PACKAGE]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE$]) ++m4trace:configure.in:8: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([VERSION]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^VERSION$]) ++m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^PACKAGE$]) ++m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ ++@%:@undef PACKAGE]) ++m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^VERSION$]) ++m4trace:configure.in:8: -1- AH_OUTPUT([VERSION], [/* Version number of package */ ++@%:@undef VERSION]) ++m4trace:configure.in:8: -1- AC_REQUIRE_AUX_FILE([missing]) ++m4trace:configure.in:8: -1- AC_SUBST([ACLOCAL]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([ACLOCAL]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^ACLOCAL$]) ++m4trace:configure.in:8: -1- AC_SUBST([AUTOCONF]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([AUTOCONF]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AUTOCONF$]) ++m4trace:configure.in:8: -1- AC_SUBST([AUTOMAKE]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([AUTOMAKE]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AUTOMAKE$]) ++m4trace:configure.in:8: -1- AC_SUBST([AUTOHEADER]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([AUTOHEADER]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AUTOHEADER$]) ++m4trace:configure.in:8: -1- AC_SUBST([MAKEINFO]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([MAKEINFO]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^MAKEINFO$]) ++m4trace:configure.in:8: -1- AC_SUBST([install_sh]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([install_sh]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^install_sh$]) ++m4trace:configure.in:8: -1- AC_SUBST([STRIP]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([STRIP]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.in:8: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) ++m4trace:configure.in:8: -1- AC_REQUIRE_AUX_FILE([install-sh]) ++m4trace:configure.in:8: -1- AC_SUBST([MKDIR_P]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([MKDIR_P]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^MKDIR_P$]) ++m4trace:configure.in:8: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([mkdir_p]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^mkdir_p$]) ++m4trace:configure.in:8: -1- AC_SUBST([AWK]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([AWK]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AWK$]) ++m4trace:configure.in:8: -1- AC_SUBST([SET_MAKE]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([SET_MAKE]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^SET_MAKE$]) ++m4trace:configure.in:8: -1- AC_SUBST([am__leading_dot]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([am__leading_dot]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^am__leading_dot$]) ++m4trace:configure.in:8: -1- AC_SUBST([AMTAR]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([AMTAR]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^AMTAR$]) ++m4trace:configure.in:8: -1- AC_SUBST([am__tar]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([am__tar]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^am__tar$]) ++m4trace:configure.in:8: -1- AC_SUBST([am__untar]) ++m4trace:configure.in:8: -1- AC_SUBST_TRACE([am__untar]) ++m4trace:configure.in:8: -1- m4_pattern_allow([^am__untar$]) ++m4trace:configure.in:12: -1- AM_SILENT_RULES([yes]) ++m4trace:configure.in:14: -1- AC_CANONICAL_HOST ++m4trace:configure.in:14: -1- AC_CANONICAL_BUILD ++m4trace:configure.in:14: -1- AC_REQUIRE_AUX_FILE([config.sub]) ++m4trace:configure.in:14: -1- AC_REQUIRE_AUX_FILE([config.guess]) ++m4trace:configure.in:14: -1- AC_SUBST([build], [$ac_cv_build]) ++m4trace:configure.in:14: -1- AC_SUBST_TRACE([build]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^build$]) ++m4trace:configure.in:14: -1- AC_SUBST([build_cpu], [$[1]]) ++m4trace:configure.in:14: -1- AC_SUBST_TRACE([build_cpu]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^build_cpu$]) ++m4trace:configure.in:14: -1- AC_SUBST([build_vendor], [$[2]]) ++m4trace:configure.in:14: -1- AC_SUBST_TRACE([build_vendor]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^build_vendor$]) ++m4trace:configure.in:14: -1- AC_SUBST([build_os]) ++m4trace:configure.in:14: -1- AC_SUBST_TRACE([build_os]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^build_os$]) ++m4trace:configure.in:14: -1- AC_SUBST([host], [$ac_cv_host]) ++m4trace:configure.in:14: -1- AC_SUBST_TRACE([host]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^host$]) ++m4trace:configure.in:14: -1- AC_SUBST([host_cpu], [$[1]]) ++m4trace:configure.in:14: -1- AC_SUBST_TRACE([host_cpu]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^host_cpu$]) ++m4trace:configure.in:14: -1- AC_SUBST([host_vendor], [$[2]]) ++m4trace:configure.in:14: -1- AC_SUBST_TRACE([host_vendor]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^host_vendor$]) ++m4trace:configure.in:14: -1- AC_SUBST([host_os]) ++m4trace:configure.in:14: -1- AC_SUBST_TRACE([host_os]) ++m4trace:configure.in:14: -1- m4_pattern_allow([^host_os$]) ++m4trace:configure.in:23: -1- AC_SUBST([LIBVIRT_MAJOR_VERSION]) ++m4trace:configure.in:23: -1- AC_SUBST_TRACE([LIBVIRT_MAJOR_VERSION]) ++m4trace:configure.in:23: -1- m4_pattern_allow([^LIBVIRT_MAJOR_VERSION$]) ++m4trace:configure.in:24: -1- AC_SUBST([LIBVIRT_MINOR_VERSION]) ++m4trace:configure.in:24: -1- AC_SUBST_TRACE([LIBVIRT_MINOR_VERSION]) ++m4trace:configure.in:24: -1- m4_pattern_allow([^LIBVIRT_MINOR_VERSION$]) ++m4trace:configure.in:25: -1- AC_SUBST([LIBVIRT_MICRO_VERSION]) ++m4trace:configure.in:25: -1- AC_SUBST_TRACE([LIBVIRT_MICRO_VERSION]) ++m4trace:configure.in:25: -1- m4_pattern_allow([^LIBVIRT_MICRO_VERSION$]) ++m4trace:configure.in:26: -1- AC_SUBST([LIBVIRT_VERSION]) ++m4trace:configure.in:26: -1- AC_SUBST_TRACE([LIBVIRT_VERSION]) ++m4trace:configure.in:26: -1- m4_pattern_allow([^LIBVIRT_VERSION$]) ++m4trace:configure.in:27: -1- AC_SUBST([LIBVIRT_VERSION_INFO]) ++m4trace:configure.in:27: -1- AC_SUBST_TRACE([LIBVIRT_VERSION_INFO]) ++m4trace:configure.in:27: -1- m4_pattern_allow([^LIBVIRT_VERSION_INFO$]) ++m4trace:configure.in:28: -1- AC_SUBST([LIBVIRT_VERSION_NUMBER]) ++m4trace:configure.in:28: -1- AC_SUBST_TRACE([LIBVIRT_VERSION_NUMBER]) ++m4trace:configure.in:28: -1- m4_pattern_allow([^LIBVIRT_VERSION_NUMBER$]) ++m4trace:configure.in:39: -1- AC_SUBST([CC]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- AC_SUBST([CFLAGS]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([CFLAGS]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CFLAGS$]) ++m4trace:configure.in:39: -1- AC_SUBST([LDFLAGS]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([LDFLAGS]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^LDFLAGS$]) ++m4trace:configure.in:39: -1- AC_SUBST([LIBS]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([LIBS]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.in:39: -1- AC_SUBST([CPPFLAGS]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([CPPFLAGS]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.in:39: -1- AC_SUBST([CC]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- AC_SUBST([CC]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- AC_SUBST([CC]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- AC_SUBST([CC]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:39: -1- AC_SUBST([ac_ct_CC]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([ac_ct_CC]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^ac_ct_CC$]) ++m4trace:configure.in:39: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([EXEEXT]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^EXEEXT$]) ++m4trace:configure.in:39: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([OBJEXT]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^OBJEXT$]) ++m4trace:configure.in:39: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([DEPDIR]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^DEPDIR$]) ++m4trace:configure.in:39: -1- AC_SUBST([am__include]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([am__include]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^am__include$]) ++m4trace:configure.in:39: -1- AC_SUBST([am__quote]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([am__quote]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^am__quote$]) ++m4trace:configure.in:39: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) ++m4trace:configure.in:39: -1- AC_SUBST([AMDEP_TRUE]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([AMDEP_TRUE]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^AMDEP_TRUE$]) ++m4trace:configure.in:39: -1- AC_SUBST([AMDEP_FALSE]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([AMDEP_FALSE]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^AMDEP_FALSE$]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) ++m4trace:configure.in:39: -1- AC_SUBST([AMDEPBACKSLASH]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) ++m4trace:configure.in:39: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([CCDEPMODE]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^CCDEPMODE$]) ++m4trace:configure.in:39: -1- AM_CONDITIONAL([am__fastdepCC], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) ++m4trace:configure.in:39: -1- AC_SUBST([am__fastdepCC_TRUE]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) ++m4trace:configure.in:39: -1- AC_SUBST([am__fastdepCC_FALSE]) ++m4trace:configure.in:39: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) ++m4trace:configure.in:39: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) ++m4trace:configure.in:39: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) ++m4trace:configure.in:41: -1- AC_SUBST([CPP]) ++m4trace:configure.in:41: -1- AC_SUBST_TRACE([CPP]) ++m4trace:configure.in:41: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.in:41: -1- AC_SUBST([CPPFLAGS]) ++m4trace:configure.in:41: -1- AC_SUBST_TRACE([CPPFLAGS]) ++m4trace:configure.in:41: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.in:41: -1- AC_SUBST([CPP]) ++m4trace:configure.in:41: -1- AC_SUBST_TRACE([CPP]) ++m4trace:configure.in:41: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.in:52: -1- m4_pattern_forbid([^gl_[A-Z]]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^gl_ES$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^gl_LIBOBJS$]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) ++m4trace:configure.in:52: -1- AC_SUBST([RANLIB]) ++m4trace:configure.in:52: -1- AC_SUBST_TRACE([RANLIB]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.in:52: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from... ++gnulib/m4/gnulib-comp.m4:21: gl_EARLY is expanded from... ++configure.in:52: the top level]) ++m4trace:configure.in:52: -1- AC_SUBST([GREP]) ++m4trace:configure.in:52: -1- AC_SUBST_TRACE([GREP]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.in:52: -1- AC_SUBST([EGREP]) ++m4trace:configure.in:52: -1- AC_SUBST_TRACE([EGREP]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^STDC_HEADERS$]) ++m4trace:configure.in:52: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ ++@%:@undef STDC_HEADERS]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TYPES_H]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_STAT_H]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDLIB_H]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRING_H]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_MEMORY_H]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRINGS_H]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_INTTYPES_H]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_SOURCE]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_POSIX_SOURCE$]) ++m4trace:configure.in:52: -1- AH_OUTPUT([_POSIX_SOURCE], [/* Define to 1 if you need to in order for `stat\' and other things to work. */ ++@%:@undef _POSIX_SOURCE]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_1_SOURCE]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) ++m4trace:configure.in:52: -1- AH_OUTPUT([_POSIX_1_SOURCE], [/* Define to 2 if the system does not provide POSIX.1 features except with ++ this defined. */ ++@%:@undef _POSIX_1_SOURCE]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_MINIX]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_MINIX$]) ++m4trace:configure.in:52: -1- AH_OUTPUT([_MINIX], [/* Define to 1 if on MINIX. */ ++@%:@undef _MINIX]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_XOPEN_SOURCE]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_XOPEN_SOURCE$]) ++m4trace:configure.in:52: -1- AH_OUTPUT([_XOPEN_SOURCE], [/* Define to 500 only on HP-UX. */ ++@%:@undef _XOPEN_SOURCE]) ++m4trace:configure.in:52: -1- AH_OUTPUT([__EXTENSIONS__], [/* Enable extensions on AIX 3, Interix. */ ++#ifndef _ALL_SOURCE ++# undef _ALL_SOURCE ++#endif ++/* Enable GNU extensions on systems that have them. */ ++#ifndef _GNU_SOURCE ++# undef _GNU_SOURCE ++#endif ++/* Enable threading extensions on Solaris. */ ++#ifndef _POSIX_PTHREAD_SEMANTICS ++# undef _POSIX_PTHREAD_SEMANTICS ++#endif ++/* Enable extensions on HP NonStop. */ ++#ifndef _TANDEM_SOURCE ++# undef _TANDEM_SOURCE ++#endif ++/* Enable general extensions on Solaris. */ ++#ifndef __EXTENSIONS__ ++# undef __EXTENSIONS__ ++#endif ++]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([__EXTENSIONS__]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^__EXTENSIONS__$]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_ALL_SOURCE$]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_GNU_SOURCE$]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PTHREAD_SEMANTICS]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_TANDEM_SOURCE]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([_LARGEFILE_SOURCE]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^_LARGEFILE_SOURCE$]) ++m4trace:configure.in:52: -1- AH_OUTPUT([_LARGEFILE_SOURCE], [/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ ++@%:@undef _LARGEFILE_SOURCE]) ++m4trace:configure.in:52: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSEEKO]) ++m4trace:configure.in:52: -1- m4_pattern_allow([^HAVE_FSEEKO$]) ++m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ ++@%:@undef HAVE_FSEEKO]) ++m4trace:configure.in:53: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) ++m4trace:configure.in:53: -1- AC_SUBST([GL_COND_LIBTOOL_TRUE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_TRUE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GL_COND_LIBTOOL_FALSE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_FALSE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$]) ++m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE]) ++m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE]) ++m4trace:configure.in:53: -1- AH_OUTPUT([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports ++ the ISO C 99 semantics of \'extern inline\' (unlike the GNU C semantics of ++ earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. ++ __APPLE__ && __MACH__ test for MacOS X. ++ __APPLE_CC__ tests for the Apple compiler and its version. ++ __STDC_VERSION__ tests for the C99 mode. */ ++#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ ++# define __GNUC_STDC_INLINE__ 1 ++#endif]) ++m4trace:configure.in:53: -1- AH_OUTPUT([unused_parameter], [/* Define as a marker that can be attached to function parameter declarations ++ for parameters that are not used. This helps to reduce warnings, such as ++ from GCC -Wunused-parameter. */ ++#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) ++# define _UNUSED_PARAMETER_ __attribute__ ((__unused__)) ++#else ++# define _UNUSED_PARAMETER_ ++#endif ++]) ++m4trace:configure.in:53: -1- AC_SUBST([LTALLOCA]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([LTALLOCA]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LTALLOCA$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ALLOCA_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have and it should be used (not on Ultrix). ++ */ ++@%:@undef HAVE_ALLOCA_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ALLOCA$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */ ++@%:@undef HAVE_ALLOCA]) ++m4trace:configure.in:53: -1- AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([ALLOCA]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ALLOCA$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^C_ALLOCA$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */ ++@%:@undef C_ALLOCA]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^CRAY_STACKSEG_END$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP ++ systems. This function is required for `alloca.c\' support on those systems. ++ */ ++@%:@undef CRAY_STACKSEG_END]) ++m4trace:configure.in:53: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the ++ direction of stack growth for your system; otherwise it will be ++ automatically deduced at runtime. ++ STACK_DIRECTION > 0 => grows toward higher addresses ++ STACK_DIRECTION < 0 => grows toward lower addresses ++ STACK_DIRECTION = 0 => direction of growth unknown */ ++@%:@undef STACK_DIRECTION]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^STACK_DIRECTION$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ALLOCA$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have \'alloca\' after including , a header that ++ may be supplied by this distribution. */ ++@%:@undef HAVE_ALLOCA]) ++m4trace:configure.in:53: -1- AC_SUBST([ALLOCA_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([ALLOCA_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ALLOCA_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_INET_NTOP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_INET_NTOP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_INET_NTOP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_INET_PTON]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_INET_PTON]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_INET_PTON$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_INET_NTOP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_INET_NTOP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_INET_PTON]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_INET_PTON]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_INET_PTON$]) ++m4trace:configure.in:53: -1- AC_SUBST([ARPA_INET_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([ARPA_INET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ARPA_INET_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_ARPA_INET_H]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_ARPA_INET_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_ARPA_INET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([INCLUDE_NEXT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([INCLUDE_NEXT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^INCLUDE_NEXT$]) ++m4trace:configure.in:53: -1- AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$]) ++m4trace:configure.in:53: -1- AC_SUBST([PRAGMA_SYSTEM_HEADER]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([PRAGMA_SYSTEM_HEADER]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_ARPA_INET_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_ARPA_INET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_ARPA_INET_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_CHOWN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_CHOWN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_CHOWN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_CLOSE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_CLOSE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_CLOSE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_DUP2]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_DUP2]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_DUP2$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_ENVIRON]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_ENVIRON]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_ENVIRON$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_EUIDACCESS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_EUIDACCESS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FCHDIR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FCHDIR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FCHDIR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FSYNC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FSYNC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FSYNC$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FTRUNCATE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FTRUNCATE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETCWD]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETCWD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETCWD$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETDOMAINNAME]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETDOMAINNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETDTABLESIZE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETDTABLESIZE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETHOSTNAME]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETHOSTNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETLOGIN_R]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETPAGESIZE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETPAGESIZE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETUSERSHELL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETUSERSHELL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_LCHOWN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_LCHOWN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LCHOWN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_LINK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_LINK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LINK$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_LSEEK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_LSEEK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LSEEK$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_READLINK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_READLINK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_READLINK$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SLEEP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SLEEP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SLEEP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_SIGPIPE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_WRITE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_WRITE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WRITE$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DUP2]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DUP2]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DUP2$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_EUIDACCESS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_EUIDACCESS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_EUIDACCESS$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_FSYNC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_FSYNC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_FSYNC$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_FTRUNCATE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_FTRUNCATE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_GETDOMAINNAME]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_GETDOMAINNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETDOMAINNAME$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_GETDTABLESIZE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_GETDTABLESIZE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_GETHOSTNAME]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_GETHOSTNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_GETPAGESIZE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_GETPAGESIZE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_GETUSERSHELL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_GETUSERSHELL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETUSERSHELL$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_LINK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_LINK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LINK$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_READLINK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_READLINK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_READLINK$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SLEEP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SLEEP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SLEEP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_ENVIRON]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_ENVIRON]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_GETLOGIN_R]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOGIN_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_OS_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_OS_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_OS_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_PARAM_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_PARAM_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_CHOWN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_CHOWN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_CHOWN$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_CLOSE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_CLOSE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_CLOSE$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FCHDIR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FCHDIR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FCHDIR$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_GETCWD]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_GETCWD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_GETCWD$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_GETPAGESIZE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_GETPAGESIZE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_LCHOWN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_LCHOWN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_LCHOWN$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_LSEEK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_LSEEK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_LSEEK$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_WRITE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_WRITE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WRITE$]) ++m4trace:configure.in:53: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_IOCTL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_IOCTL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_IOCTL$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_IOCTL_H_HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_IOCTL_H_HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_IOCTL_H_HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_IOCTL_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_IOCTL_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_IOCTL_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FPRINTF_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FPRINTF_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_PRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_PRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_PRINTF_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_PRINTF_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SNPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SNPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SPRINTF_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SPRINTF_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_VFPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VFPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_VFPRINTF_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_VPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_VPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_VPRINTF_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_VPRINTF_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_VSNPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_VSNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_VSPRINTF_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_VSPRINTF_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_DPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_DPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_DPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_VDPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_VDPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VDPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_VASPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_VASPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_VASPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FOPEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FOPEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FOPEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FREOPEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FREOPEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FREOPEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FSEEK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FSEEK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FSEEK$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FSEEKO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FSEEKO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FSEEKO$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FTELL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FTELL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FTELL$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FTELLO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FTELLO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FTELLO$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FFLUSH]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FFLUSH]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FFLUSH$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FPURGE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FPURGE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPURGE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FCLOSE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FCLOSE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FCLOSE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FPUTC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FPUTC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPUTC$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_PUTC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_PUTC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PUTC$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_PUTCHAR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_PUTCHAR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PUTCHAR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FPUTS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FPUTS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FPUTS$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_PUTS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_PUTS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PUTS$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_FWRITE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_FWRITE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_FWRITE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETDELIM]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETDELIM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETDELIM$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETLINE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETLINE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETLINE$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_PERROR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_PERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PERROR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STDIO_H_SIGPIPE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_STDIO_WRITE_FUNCS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_VFPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_VFPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VFPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_PRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_PRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_PRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_VPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_VPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_SNPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_SNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_SNPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_SNPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_SNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_VSNPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_VSNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_VSNPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_VSNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_SPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_SPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_SPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_VSPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_VSPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VSPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_DPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_DPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_DPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_VDPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_VDPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_VDPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_VDPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_VDPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VDPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_VASPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_VASPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_VASPRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_VASPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VASPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_OBSTACK_PRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_OBSTACK_PRINTF]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_OBSTACK_PRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FOPEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FOPEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FOPEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FREOPEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FREOPEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FREOPEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_FSEEKO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_FSEEKO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_FSEEKO$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FSEEKO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FSEEKO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FSEEKO$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FSEEK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FSEEK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FSEEK$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_FTELLO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_FTELLO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_FTELLO$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FTELLO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FTELLO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FTELLO$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FTELL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FTELL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FTELL$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FFLUSH]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FFLUSH]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FFLUSH$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FPURGE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FPURGE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FPURGE$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_FPURGE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_FPURGE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_FCLOSE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_FCLOSE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_FCLOSE$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_GETDELIM]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_GETDELIM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_GETLINE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_GETLINE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_GETLINE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_GETLINE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_GETLINE$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_PERROR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_PERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_PERROR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SOCKET]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SOCKET]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SOCKET$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_CONNECT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_CONNECT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_CONNECT$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_ACCEPT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_ACCEPT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_ACCEPT$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_BIND]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_BIND]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_BIND$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETPEERNAME]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETPEERNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETPEERNAME$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETSOCKNAME]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETSOCKNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETSOCKNAME$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETSOCKOPT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETSOCKOPT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETSOCKOPT$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_LISTEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_LISTEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LISTEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_RECV]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_RECV]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RECV$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SEND]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SEND]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SEND$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_RECVFROM]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_RECVFROM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RECVFROM$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SENDTO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SENDTO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SENDTO$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SETSOCKOPT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SETSOCKOPT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SETSOCKOPT$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SHUTDOWN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SHUTDOWN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SHUTDOWN$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRUCT_SOCKADDR_STORAGE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SA_FAMILY_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SA_FAMILY_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler ++ calls it, or to nothing if \'inline\' is not supported under any name. */ ++#ifndef __cplusplus ++#undef inline ++#endif]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SHUTDOWN], [/* Define to 1 if you have the `shutdown\' function. */ ++@%:@undef HAVE_SHUTDOWN]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SHUTDOWN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SHUTDOWN$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_SYS_SOCKET_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WS2TCPIP_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WS2TCPIP_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WS2TCPIP_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WS2TCPIP_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WS2TCPIP_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type `struct sockaddr_storage\'. */ ++@%:@undef HAVE_STRUCT_SOCKADDR_STORAGE]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type `sa_family_t\'. */ ++@%:@undef HAVE_SA_FAMILY_T]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_ERRNO_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_ERRNO_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_ERRNO_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_ERRNO_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([ERRNO_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([ERRNO_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ERRNO_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([EMULTIHOP_HIDDEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([EMULTIHOP_HIDDEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([EMULTIHOP_VALUE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([EMULTIHOP_VALUE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^EMULTIHOP_VALUE$]) ++m4trace:configure.in:53: -1- AC_SUBST([ENOLINK_HIDDEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([ENOLINK_HIDDEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ENOLINK_HIDDEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([ENOLINK_VALUE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([ENOLINK_VALUE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ENOLINK_VALUE$]) ++m4trace:configure.in:53: -1- AC_SUBST([EOVERFLOW_HIDDEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([EOVERFLOW_HIDDEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([EOVERFLOW_VALUE]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([EOVERFLOW_VALUE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^EOVERFLOW_VALUE$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_FLOAT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_FLOAT_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_FLOAT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_FLOAT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_FLOAT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([FLOAT_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([FLOAT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^FLOAT_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/fseeko.m4:7: gl_FUNC_FSEEKO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETADDRINFO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETADDRINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETADDRINFO$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRUCT_ADDRINFO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRUCT_ADDRINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_ADDRINFO$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_FREEADDRINFO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_FREEADDRINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FREEADDRINFO$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_GAI_STRERROR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_GAI_STRERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERROR$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_GETADDRINFO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_GETADDRINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETADDRINFO$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_GETNAMEINFO]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_GETNAMEINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETNAMEINFO$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NETDB_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_NETDB_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_NETDB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_NETDB_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_NETDB_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_NETDB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETDB_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_NETDB_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_NETDB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NETDB_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NETDB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NETDB_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */ ++@%:@undef HAVE_GETHOSTBYNAME]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ++../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ++gnulib/m4/hostent.m4:7: gl_HOSTENT is expanded from... ++gnulib/m4/getaddrinfo.m4:94: gl_PREREQ_GETADDRINFO is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_SUBST([HOSTENT_LIB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HOSTENT_LIB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HOSTENT_LIB$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETSERVBYNAME], [/* Define to 1 if you have the `getservbyname\' function. */ ++@%:@undef HAVE_GETSERVBYNAME]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSERVBYNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETSERVBYNAME$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ++../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ++gnulib/m4/servent.m4:7: gl_SERVENT is expanded from... ++gnulib/m4/getaddrinfo.m4:94: gl_PREREQ_GETADDRINFO is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_SUBST([SERVENT_LIB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SERVENT_LIB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SERVENT_LIB$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([restrict], [/* Define to the equivalent of the C99 \'restrict\' keyword, or to ++ nothing if this is not supported. Do not define if restrict is ++ supported directly. */ ++#undef restrict ++/* Work around a bug in Sun C++: it does not support _Restrict, even ++ though the corresponding Sun C compiler does, which causes ++ "#define restrict _Restrict" in the previous line. Perhaps some future ++ version of Sun C++ will work with _Restrict; if so, it\'ll probably ++ define __RESTRICT, just as Sun C does. */ ++#if defined __SUNPRO_CC && !defined __RESTRICT ++# define _Restrict ++#endif]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([restrict]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^restrict$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([restrict]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^restrict$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NETINET_IN_H]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++gnulib/m4/sockpfaf.m4:14: gl_SOCKET_FAMILIES is expanded from... ++gnulib/m4/getaddrinfo.m4:94: gl_PREREQ_GETADDRINFO is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV4]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_IPV4$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_IPV4], [/* Define to 1 if defines AF_INET. */ ++@%:@undef HAVE_IPV4]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++gnulib/m4/sockpfaf.m4:14: gl_SOCKET_FAMILIES is expanded from... ++gnulib/m4/getaddrinfo.m4:94: gl_PREREQ_GETADDRINFO is expanded from... ++gnulib/m4/getaddrinfo.m4:7: gl_GETADDRINFO is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV6]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_IPV6$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_IPV6], [/* Define to 1 if defines AF_INET6. */ ++@%:@undef HAVE_IPV6]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define to 1 if `struct sockaddr\' is a member of `sa_len\'. */ ++@%:@undef HAVE_STRUCT_SOCKADDR_SA_LEN]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETADDRINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETADDRINFO$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_GETADDRINFO], [/* Define to 1 if you have the declaration of `getaddrinfo\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GETADDRINFO]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FREEADDRINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FREEADDRINFO$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_FREEADDRINFO], [/* Define to 1 if you have the declaration of `freeaddrinfo\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_FREEADDRINFO]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GAI_STRERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERROR$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_GAI_STRERROR], [/* Define to 1 if you have the declaration of `gai_strerror\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GAI_STRERROR]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETNAMEINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETNAMEINFO$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_GETNAMEINFO], [/* Define to 1 if you have the declaration of `getnameinfo\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GETNAMEINFO]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_ADDRINFO$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRUCT_ADDRINFO], [/* Define to 1 if the system has the type `struct addrinfo\'. */ ++@%:@undef HAVE_STRUCT_ADDRINFO]) ++m4trace:configure.in:53: -1- AC_SUBST([GETADDRINFO_LIB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GETADDRINFO_LIB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GETADDRINFO_LIB$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETDELIM], [/* Define to 1 if you have the `getdelim\' function. */ ++@%:@undef HAVE_GETDELIM]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETDELIM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETDELIM$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETDELIM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_GETDELIM], [/* Define to 1 if you have the declaration of `getdelim\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GETDELIM]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_FLOCKFILE], [/* Define to 1 if you have the `flockfile\' function. */ ++@%:@undef HAVE_FLOCKFILE]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_FUNLOCKFILE], [/* Define to 1 if you have the `funlockfile\' function. */ ++@%:@undef HAVE_FUNLOCKFILE]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GETC_UNLOCKED]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define to 1 if you have the `gethostname\' function. */ ++@%:@undef HAVE_GETHOSTNAME]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */ ++@%:@undef HAVE_UNAME]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNAME$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETLINE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_GETLINE], [/* Define to 1 if you have the declaration of `getline\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GETLINE]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/getline.m4:15: gl_FUNC_GETLINE is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETDELIM], [/* Define to 1 if you have the `getdelim\' function. */ ++@%:@undef HAVE_GETDELIM]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETDELIM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETDELIM$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_FLOCKFILE], [/* Define to 1 if you have the `flockfile\' function. */ ++@%:@undef HAVE_FLOCKFILE]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_FUNLOCKFILE], [/* Define to 1 if you have the `funlockfile\' function. */ ++@%:@undef HAVE_FUNLOCKFILE]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GETC_UNLOCKED]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */ ++@%:@undef HAVE_GETPAGESIZE]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_OS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_OS_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OS_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_OS_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_PARAM_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PARAM_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETPASS], [/* Define to 1 if you have the `getpass\' function. */ ++@%:@undef HAVE_GETPASS]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPASS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETPASS$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPASS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETPASS$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_GETPASS], [/* Define to 1 if you have the declaration of `getpass\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GETPASS]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STDIO_EXT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDIO_EXT_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_TERMIOS_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE___FSETLOCKING], [/* Define to 1 if you have the `__fsetlocking\' function. */ ++@%:@undef HAVE___FSETLOCKING]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_TCGETATTR], [/* Define to 1 if you have the `tcgetattr\' function. */ ++@%:@undef HAVE_TCGETATTR]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_TCSETATTR], [/* Define to 1 if you have the `tcsetattr\' function. */ ++@%:@undef HAVE_TCSETATTR]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL___FSETLOCKING]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL___FSETLOCKING$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL___FSETLOCKING], [/* Define to 1 if you have the declaration of `__fsetlocking\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL___FSETLOCKING]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FFLUSH_UNLOCKED]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_FFLUSH_UNLOCKED], [/* Define to 1 if you have the declaration of `fflush_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FFLUSH_UNLOCKED]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FLOCKFILE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FLOCKFILE$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_FLOCKFILE], [/* Define to 1 if you have the declaration of `flockfile\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_FLOCKFILE]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTS_UNLOCKED]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_FPUTS_UNLOCKED], [/* Define to 1 if you have the declaration of `fputs_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FPUTS_UNLOCKED]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FUNLOCKFILE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_FUNLOCKFILE$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_FUNLOCKFILE], [/* Define to 1 if you have the declaration of `funlockfile\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_FUNLOCKFILE]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTC_UNLOCKED]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_PUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `putc_unlocked\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_PUTC_UNLOCKED]) ++m4trace:configure.in:53: -1- AC_SUBST([LIBINTL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([LIBINTL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LIBINTL$]) ++m4trace:configure.in:53: -1- AC_SUBST([LTLIBINTL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([LTLIBINTL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LTLIBINTL$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIME_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_SYS_TIME_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_SYS_TIME_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_TIME_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_TIME_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_TIME_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRUCT_TIMEVAL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRUCT_TIMEVAL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_GETTIMEOFDAY]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_GETTIMEOFDAY]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_GETTIMEOFDAY$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_TIME_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_TIME_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_TIME_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */ ++@%:@undef HAVE_GETTIMEOFDAY]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIMEB_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */ ++@%:@undef HAVE__FTIME]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([gmtime]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^gmtime$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([gmtime], [/* Define to rpl_gmtime if the replacement function should be used. */ ++@%:@undef gmtime]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([localtime]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^localtime$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([localtime], [/* Define to rpl_localtime if the replacement function should be used. */ ++@%:@undef localtime]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([GETTIMEOFDAY_CLOBBERS_LOCALTIME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GETTIMEOFDAY_CLOBBERS_LOCALTIME$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [/* Define if gettimeofday clobbers the localtime buffer. */ ++@%:@undef GETTIMEOFDAY_CLOBBERS_LOCALTIME]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIMEB_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */ ++@%:@undef HAVE__FTIME]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.in:53: -1- AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], [GNUmakefile=$GNUmakefile]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */ ++@%:@undef HAVE_GETHOSTBYNAME]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ++../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ++gnulib/m4/hostent.m4:7: gl_HOSTENT is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_SUBST([HOSTENT_LIB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HOSTENT_LIB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HOSTENT_LIB$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the `inet_ntop\' function. */ ++@%:@undef HAVE_INET_NTOP]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_INET_NTOP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_INET_NTOP], [/* Define to 1 if you have the declaration of `inet_ntop\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_INET_NTOP]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_INET_PTON], [/* Define to 1 if you have the `inet_pton\' function. */ ++@%:@undef HAVE_INET_PTON]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INET_PTON$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_INET_PTON]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_INET_PTON$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_INET_PTON], [/* Define to 1 if you have the declaration of `inet_pton\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_INET_PTON]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_IOCTL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_IOCTL$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([GNULIB_IOCTL], [/* Define to 1 when using the gnulib module ioctl. */ ++@%:@undef GNULIB_IOCTL]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([LSEEK_PIPE_BROKEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LSEEK_PIPE_BROKEN$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([LSEEK_PIPE_BROKEN], [/* Define to 1 if lseek does not detect pipes. */ ++@%:@undef LSEEK_PIPE_BROKEN]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_LCHMOD]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_LCHMOD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LCHMOD$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_LSTAT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_LSTAT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_LSTAT$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_LCHMOD]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_LCHMOD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LCHMOD$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_LSTAT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_LSTAT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_LSTAT$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MKDIR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MKDIR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MKDIR$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */ ++@%:@undef HAVE_LSTAT]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing ++ slash. */ ++@%:@undef LSTAT_FOLLOWS_SLASHED_SYMLINK]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/malloc.m4:27: gl_CHECK_MALLOC_POSIX is expanded from... ++gnulib/m4/malloc.m4:11: gl_FUNC_MALLOC_POSIX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_MALLOC_POSIX], [/* Define if the \'malloc\' function is POSIX compliant. */ ++@%:@undef HAVE_MALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_REALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_REALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_CALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_CALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_ATOLL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_ATOLL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_ATOLL$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETLOADAVG]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETLOADAVG]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_GETSUBOPT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_GETSUBOPT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MKDTEMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MKDTEMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MKDTEMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MKSTEMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MKSTEMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MKSTEMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_PUTENV]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_PUTENV]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_PUTENV$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_RANDOM_R]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_RANDOM_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RANDOM_R$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_RPMATCH]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_RPMATCH]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RPMATCH$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SETENV]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SETENV]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SETENV$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRTOD]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRTOD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRTOD$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRTOLL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRTOLL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRTOLL$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRTOULL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRTOULL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRTOULL$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_UNSETENV]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_UNSETENV]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_UNSETENV$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_ATOLL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_ATOLL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_ATOLL$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_CALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_CALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_CALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_GETSUBOPT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_GETSUBOPT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETSUBOPT$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MKDTEMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MKDTEMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MKDTEMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_REALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_REALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_RANDOM_R]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_RANDOM_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RANDOM_R$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_RPMATCH]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_RPMATCH]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RPMATCH$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SETENV]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SETENV]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SETENV$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRTOD]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRTOD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRTOD$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRTOLL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRTOLL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRTOLL$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRTOULL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRTOULL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRTOULL$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRUCT_RANDOM_DATA]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_LOADAVG_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_LOADAVG_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_UNSETENV]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_UNSETENV]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNSETENV$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_GETLOADAVG]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOADAVG]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MKSTEMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MKSTEMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MKSTEMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_PUTENV]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_PUTENV]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_PUTENV$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_STRTOD]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_STRTOD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRTOD$]) ++m4trace:configure.in:53: -1- AC_SUBST([VOID_UNSETENV]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([VOID_UNSETENV]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^VOID_UNSETENV$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */ ++@%:@undef MAP_ANONYMOUS]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++@%:@undef HAVE_MAP_ANONYMOUS]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MMAN_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */ ++@%:@undef HAVE_MPROTECT]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MEMCHR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MEMCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MEMCHR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MEMMEM]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MEMMEM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MEMMEM$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MEMPCPY]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MEMPCPY]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MEMPCPY$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MEMRCHR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MEMRCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MEMRCHR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_RAWMEMCHR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_RAWMEMCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STPCPY]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STPCPY]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STPCPY$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STPNCPY]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STPNCPY]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STPNCPY$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRCHRNUL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRCHRNUL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRDUP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRDUP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRNDUP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRNDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRNDUP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRNLEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRNLEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRNLEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRPBRK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRPBRK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRPBRK$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRSEP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRSEP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRSEP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRSTR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRSTR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRSTR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRCASESTR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRCASESTR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRCASESTR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRTOK_R]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRTOK_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRTOK_R$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSLEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSLEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSLEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSNLEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSNLEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSNLEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSCHR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSCHR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSRCHR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSRCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSRCHR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSSTR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSSTR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSSTR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSCASECMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSCASECMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSNCASECMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSNCASECMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSPCASECMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSPCASECMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSCASESTR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSCASESTR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSCSPN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSCSPN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSCSPN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSPBRK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSPBRK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSPBRK$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSSPN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSSPN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSSPN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSSEP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSSEP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSSEP$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSTOK_R]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSTOK_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRERROR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRERROR$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRSIGNAL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRSIGNAL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_STRVERSCMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_STRVERSCMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_MEMMEM]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_MEMMEM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MEMPCPY]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MEMPCPY]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MEMPCPY$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_MEMRCHR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_MEMRCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_RAWMEMCHR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_RAWMEMCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STPCPY]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STPCPY]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STPCPY$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STPNCPY]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STPNCPY]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STPNCPY$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRCHRNUL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRCHRNUL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_STRDUP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_STRDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRNDUP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRNDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRNDUP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_STRNDUP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_STRNDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_STRNLEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_STRNLEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRPBRK]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRPBRK]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRPBRK$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRSEP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRSEP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRSEP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRCASESTR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRCASESTR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRCASESTR$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_STRTOK_R]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_STRTOK_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_STRERROR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_STRERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_STRSIGNAL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_STRSIGNAL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STRVERSCMP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STRVERSCMP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRVERSCMP$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MEMCHR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MEMCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MEMCHR$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MEMMEM]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MEMMEM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MEMMEM$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_STRDUP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_STRDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRDUP$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_STRSTR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_STRSTR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRSTR$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_STRCASESTR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_STRCASESTR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRCASESTR$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_STRERROR]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_STRERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRERROR$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_STRSIGNAL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_STRSIGNAL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_MEMCHR], [/* Define to 1 if you have the `memchr\' function. */ ++@%:@undef HAVE_MEMCHR]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMCHR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MEMCHR$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_BP_SYM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_BP_SYM_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BP_SYM_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_BP_SYM_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_BP_SYM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_BP_SYM_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BP_SYM_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_BP_SYM_H$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ ++@%:@undef _FILE_OFFSET_BITS]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ ++@%:@undef _LARGE_FILES]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([AA_APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^AA_APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([AA_APPLE_UNIVERSAL_BUILD], [/* Define if the compiler is building for multiple architectures of Apple ++ platforms at once. */ ++@%:@undef AA_APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.in:53: -1- AC_SUBST([APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_NETDB_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_NETDB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_NETDB_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_NETDB_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_NETDB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETDB_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_NETDB_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_NETDB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NETDB_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NETDB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NETDB_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NETINET_IN_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_NETINET_IN_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_NETINET_IN_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_NETINET_IN_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_NETINET_IN_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_NETINET_IN_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NETINET_IN_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NETINET_IN_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NETINET_IN_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_PSTAT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_PSTAT_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_SYSMP_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SYSMP_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_SYSINFO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SYSINFO_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_MACHINE_HAL_SYSINFO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_MACHINE_HAL_SYSINFO_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_TABLE_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TABLE_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_PARAM_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SYSCTL_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_SYSTEMCFG_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SYSTEMCFG_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_PSTAT_GETSTATIC], [/* Define to 1 if you have the `pstat_getstatic\' function. */ ++@%:@undef HAVE_PSTAT_GETSTATIC]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_PSTAT_GETDYNAMIC], [/* Define to 1 if you have the `pstat_getdynamic\' function. */ ++@%:@undef HAVE_PSTAT_GETDYNAMIC]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYSMP], [/* Define to 1 if you have the `sysmp\' function. */ ++@%:@undef HAVE_SYSMP]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETSYSINFO], [/* Define to 1 if you have the `getsysinfo\' function. */ ++@%:@undef HAVE_GETSYSINFO]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the `sysctl\' function. */ ++@%:@undef HAVE_SYSCTL]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_TABLE], [/* Define to 1 if you have the `table\' function. */ ++@%:@undef HAVE_TABLE]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE__SYSTEM_CONFIGURATION]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__SYSTEM_CONFIGURATION$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE__SYSTEM_CONFIGURATION], [/* Define to 1 if you have the external variable, _system_configuration with a ++ member named physmem. */ ++@%:@undef HAVE__SYSTEM_CONFIGURATION]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_POLL_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++gnulib/m4/poll.m4:7: gl_FUNC_POLL is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_POLL$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_POLL], [/* Define to 1 if you have the \'poll\' function and it works. */ ++@%:@undef HAVE_POLL]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([poll]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^poll$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([poll], [/* Define to poll if the replacement function should be used. */ ++@%:@undef poll]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_IOCTL_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_FILIO_H]) ++m4trace:configure.in:53: -1- AC_SUBST([POLL_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([POLL_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^POLL_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([POSIX_SHELL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([POSIX_SHELL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^POSIX_SHELL$]) ++m4trace:configure.in:53: -1- AC_SUBST([PREFERABLY_POSIX_SHELL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([PREFERABLY_POSIX_SHELL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^PREFERABLY_POSIX_SHELL$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_RANDOM_R], [/* Define to 1 if you have the `random_r\' function. */ ++@%:@undef HAVE_RANDOM_R]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RANDOM_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RANDOM_R$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_REALLOC_POSIX], [/* Define if the \'realloc\' function is POSIX compliant. */ ++@%:@undef HAVE_REALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_REALLOC_POSIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_REALLOC_POSIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_SELECT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_SELECT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_SELECT$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_SELECT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_SELECT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_SELECT$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_SYS_SELECT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_SELECT_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_SELECT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/select.m4:7: gl_FUNC_SELECT is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_GETSERVBYNAME], [/* Define to 1 if you have the `getservbyname\' function. */ ++@%:@undef HAVE_GETSERVBYNAME]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSERVBYNAME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_GETSERVBYNAME$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ++../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ++../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ++gnulib/m4/servent.m4:7: gl_SERVENT is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_SUBST([SERVENT_LIB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SERVENT_LIB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SERVENT_LIB$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `_AC_COMPUTE_INT' is obsolete and will be deleted in a ++future version or Autoconf. Hence, it is suggested that you use ++instead the public AC_COMPUTE_INT macro. Note that the arguments are ++slightly different between the two.], [../../lib/autoconf/general.m4:3055: _AC_COMPUTE_INT is expanded from... ++m4/size_max.m4:11: gl_SIZE_MAX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `_AC_COMPUTE_INT' is obsolete and will be deleted in a ++future version or Autoconf. Hence, it is suggested that you use ++instead the public AC_COMPUTE_INT macro. Note that the arguments are ++slightly different between the two.], [../../lib/autoconf/general.m4:3055: _AC_COMPUTE_INT is expanded from... ++m4/size_max.m4:11: gl_SIZE_MAX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `_AC_COMPUTE_INT' is obsolete and will be deleted in a ++future version or Autoconf. Hence, it is suggested that you use ++instead the public AC_COMPUTE_INT macro. Note that the arguments are ++slightly different between the two.], [../../lib/autoconf/general.m4:3055: _AC_COMPUTE_INT is expanded from... ++m4/size_max.m4:11: gl_SIZE_MAX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++m4/size_max.m4:11: gl_SIZE_MAX is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([SIZE_MAX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SIZE_MAX$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define ++ it. */ ++@%:@undef SIZE_MAX]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ ++@%:@undef HAVE_SNPRINTF]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SNPRINTF$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/printf.m4:1226: gl_SNPRINTF_SIZE1 is expanded from... ++gnulib/m4/snprintf.m4:7: gl_FUNC_SNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_SNPRINTF], [/* Define to 1 if you have the declaration of `snprintf\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_SNPRINTF]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/types.m4:169: _AC_CHECK_TYPE_NEW is expanded from... ++../../lib/autoconf/types.m4:253: AC_CHECK_TYPE is expanded from... ++gnulib/m4/socklen.m4:18: gl_TYPE_SOCKLEN_T is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([socklen_t]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^socklen_t$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([socklen_t], [/* type to use in place of socklen_t if not defined */ ++@%:@undef socklen_t]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/stdbool.m4:37: AC_HEADER_STDBOOL is expanded from... ++gnulib/m4/stdbool.m4:10: AM_STDBOOL_H is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__BOOL$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */ ++@%:@undef HAVE__BOOL]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */ ++@%:@undef HAVE_STDBOOL_H]) ++m4trace:configure.in:53: -1- AC_SUBST([STDBOOL_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([STDBOOL_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^STDBOOL_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE__BOOL]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE__BOOL]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE__BOOL$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG_INT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_LONG_LONG_INT], [/* Define to 1 if the system has the type `long long int\'. */ ++@%:@undef HAVE_LONG_LONG_INT]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_LONG_LONG_INT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_LONG_LONG_INT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_UNSIGNED_LONG_LONG_INT], [/* Define to 1 if the system has the type `unsigned long long int\'. */ ++@%:@undef HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_INTTYPES_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_INTTYPES_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INTTYPES_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_TYPES_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_TYPES_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_STDINT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_STDINT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_STDINT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDINT_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDINT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_STDINT_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_STDINT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_INTTYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_INTTYPES_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_BITYPES_H]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_INTTYPES_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_INTTYPES_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_BITYPES_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_BITYPES_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WCHAR_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([BITSIZEOF_PTRDIFF_T], [/* Define to the number of bits in type \'ptrdiff_t\'. */ ++@%:@undef BITSIZEOF_PTRDIFF_T]) ++m4trace:configure.in:53: -1- AH_OUTPUT([BITSIZEOF_SIZE_T], [/* Define to the number of bits in type \'size_t\'. */ ++@%:@undef BITSIZEOF_SIZE_T]) ++m4trace:configure.in:53: -1- AC_SUBST([BITSIZEOF_PTRDIFF_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([BITSIZEOF_PTRDIFF_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$]) ++m4trace:configure.in:53: -1- AC_SUBST([BITSIZEOF_SIZE_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([BITSIZEOF_SIZE_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([BITSIZEOF_SIG_ATOMIC_T], [/* Define to the number of bits in type \'sig_atomic_t\'. */ ++@%:@undef BITSIZEOF_SIG_ATOMIC_T]) ++m4trace:configure.in:53: -1- AH_OUTPUT([BITSIZEOF_WCHAR_T], [/* Define to the number of bits in type \'wchar_t\'. */ ++@%:@undef BITSIZEOF_WCHAR_T]) ++m4trace:configure.in:53: -1- AH_OUTPUT([BITSIZEOF_WINT_T], [/* Define to the number of bits in type \'wint_t\'. */ ++@%:@undef BITSIZEOF_WINT_T]) ++m4trace:configure.in:53: -1- AC_SUBST([BITSIZEOF_SIG_ATOMIC_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([BITSIZEOF_SIG_ATOMIC_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$]) ++m4trace:configure.in:53: -1- AC_SUBST([BITSIZEOF_WCHAR_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([BITSIZEOF_WCHAR_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$]) ++m4trace:configure.in:53: -1- AC_SUBST([BITSIZEOF_WINT_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([BITSIZEOF_WINT_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SIGNED_SIG_ATOMIC_T], [/* Define to 1 if \'sig_atomic_t\' is a signed integer type. */ ++@%:@undef HAVE_SIGNED_SIG_ATOMIC_T]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SIGNED_WCHAR_T], [/* Define to 1 if \'wchar_t\' is a signed integer type. */ ++@%:@undef HAVE_SIGNED_WCHAR_T]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SIGNED_WINT_T], [/* Define to 1 if \'wint_t\' is a signed integer type. */ ++@%:@undef HAVE_SIGNED_WINT_T]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SIGNED_SIG_ATOMIC_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SIGNED_SIG_ATOMIC_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SIGNED_WCHAR_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SIGNED_WCHAR_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SIGNED_WINT_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SIGNED_WINT_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([PTRDIFF_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'ptrdiff_t\'. */ ++@%:@undef PTRDIFF_T_SUFFIX]) ++m4trace:configure.in:53: -1- AH_OUTPUT([SIZE_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'size_t\'. */ ++@%:@undef SIZE_T_SUFFIX]) ++m4trace:configure.in:53: -1- AC_SUBST([PTRDIFF_T_SUFFIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([PTRDIFF_T_SUFFIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([SIZE_T_SUFFIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SIZE_T_SUFFIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SIZE_T_SUFFIX$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([SIG_ATOMIC_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'sig_atomic_t\'. */ ++@%:@undef SIG_ATOMIC_T_SUFFIX]) ++m4trace:configure.in:53: -1- AH_OUTPUT([WCHAR_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'wchar_t\'. */ ++@%:@undef WCHAR_T_SUFFIX]) ++m4trace:configure.in:53: -1- AH_OUTPUT([WINT_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'wint_t\'. */ ++@%:@undef WINT_T_SUFFIX]) ++m4trace:configure.in:53: -1- AC_SUBST([SIG_ATOMIC_T_SUFFIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SIG_ATOMIC_T_SUFFIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([WCHAR_T_SUFFIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([WCHAR_T_SUFFIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([WINT_T_SUFFIX]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([WINT_T_SUFFIX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^WINT_T_SUFFIX$]) ++m4trace:configure.in:53: -1- AC_SUBST([STDINT_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([STDINT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^STDINT_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDIO_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_STDIO_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_STDIO_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_STDIO_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDIO_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDIO_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDLIB_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_STDLIB_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_STDLIB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_STDLIB_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_RANDOM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_RANDOM_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RANDOM_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_RANDOM_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_RANDOM_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_RANDOM_DATA]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRUCT_RANDOM_DATA], [/* Define to 1 if the system has the type `struct random_data\'. */ ++@%:@undef HAVE_STRUCT_RANDOM_DATA]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STPCPY], [/* Define to 1 if you have the `stpcpy\' function. */ ++@%:@undef HAVE_STPCPY]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STPCPY]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STPCPY$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */ ++@%:@undef HAVE_STRDUP]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRDUP$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_STRDUP], [/* Define to 1 if you have the declaration of `strdup\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_STRDUP]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_STRERROR], [/* Define to 1 if you have the declaration of `strerror\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_STRERROR]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_STRERROR]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRERROR$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([REPLACE_STRERROR], [/* Define this to 1 if strerror is broken. */ ++@%:@undef REPLACE_STRERROR]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRING_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_STRING_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_STRING_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_STRING_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STRING_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STRING_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_STRNDUP], [/* Define to 1 if you have the declaration of `strndup\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_STRNDUP]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNDUP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRNDUP$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define if you have the strndup() function and it works. */ ++@%:@undef HAVE_STRNDUP]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNLEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL_STRNLEN], [/* Define to 1 if you have the declaration of `strnlen\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_STRNLEN]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([strnlen]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^strnlen$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([strnlen], [/* Define to rpl_strnlen if the replacement function should be used. */ ++@%:@undef strnlen]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define to 1 if you have the `strsep\' function. */ ++@%:@undef HAVE_STRSEP]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRSEP$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_IOCTL_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_IOCTL_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_SYS_IOCTL_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_SYS_IOCTL_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_IOCTL_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_SYS_SELECT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_SELECT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_SELECT_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_SELECT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_SELECT_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SHUTDOWN], [/* Define to 1 if you have the `shutdown\' function. */ ++@%:@undef HAVE_SHUTDOWN]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SHUTDOWN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SHUTDOWN$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_SYS_SOCKET_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WS2TCPIP_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WS2TCPIP_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WS2TCPIP_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WS2TCPIP_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WS2TCPIP_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type `struct sockaddr_storage\'. */ ++@%:@undef HAVE_STRUCT_SOCKADDR_STORAGE]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type `sa_family_t\'. */ ++@%:@undef HAVE_SA_FAMILY_T]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_SOCKET_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_SOCKET_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_LSTAT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_LSTAT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LSTAT$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([STAT_MACROS_BROKEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^STAT_MACROS_BROKEN$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([STAT_MACROS_BROKEN], [/* Define to 1 if the `S_IS*\' macros in do not work properly. */ ++@%:@undef STAT_MACROS_BROKEN]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_STAT_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_SYS_STAT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_SYS_STAT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_SYS_STAT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_STAT_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_STAT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_STAT_H$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([nlink_t]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^nlink_t$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([nlink_t], [/* Define to the type of st_nlink in struct stat, or a supertype. */ ++@%:@undef nlink_t]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_LOCALTIME_R]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_LOCALTIME_R]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_LOCALTIME_R$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_NANOSLEEP]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_NANOSLEEP]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_NANOSLEEP$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_STRPTIME]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_STRPTIME]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_STRPTIME$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_TIMEGM]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_TIMEGM]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_TIMEGM$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_TIME_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_TIME_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_TIME_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_TIME_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_TIME_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_TIME_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TIME_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([TIME_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^TIME_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.in:53: -1- AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/time_r.m4:10: gl_TIME_R is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_UNISTD_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_UNISTD_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_UNISTD_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_UNISTD_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_UNISTD_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */ ++@%:@undef HAVE_VASNPRINTF]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */ ++@%:@undef REPLACE_VASNPRINTF]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/wchar_t.m4:13: gt_TYPE_WCHAR_T is expanded from... ++gnulib/m4/vasnprintf.m4:33: gl_PREREQ_PRINTF_ARGS is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */ ++@%:@undef HAVE_WCHAR_T]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/wint_t.m4:13: gt_TYPE_WINT_T is expanded from... ++gnulib/m4/vasnprintf.m4:33: gl_PREREQ_PRINTF_ARGS is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */ ++@%:@undef HAVE_WINT_T]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([size_t]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^size_t$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ ++@%:@undef size_t]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^ptrdiff_t$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system ++ doesn\'t define it. */ ++@%:@undef ptrdiff_t]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/inttypes_h.m4:12: gl_AC_HEADER_INTTYPES_H is expanded from... ++gnulib/m4/intmax_t.m4:35: gt_AC_TYPE_INTMAX_T is expanded from... ++gnulib/m4/vasnprintf.m4:41: gl_PREREQ_PRINTF_PARSE is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTTYPES_H_WITH_UINTMAX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_INTTYPES_H_WITH_UINTMAX], [/* Define if exists, doesn\'t clash with , and ++ declares uintmax_t. */ ++@%:@undef HAVE_INTTYPES_H_WITH_UINTMAX]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/stdint_h.m4:12: gl_AC_HEADER_STDINT_H is expanded from... ++gnulib/m4/intmax_t.m4:35: gt_AC_TYPE_INTMAX_T is expanded from... ++gnulib/m4/vasnprintf.m4:41: gl_PREREQ_PRINTF_PARSE is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H_WITH_UINTMAX]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STDINT_H_WITH_UINTMAX], [/* Define if exists, doesn\'t clash with , and declares ++ uintmax_t. */ ++@%:@undef HAVE_STDINT_H_WITH_UINTMAX]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/intmax_t.m4:35: gt_AC_TYPE_INTMAX_T is expanded from... ++gnulib/m4/vasnprintf.m4:41: gl_PREREQ_PRINTF_PARSE is expanded from... ++gnulib/m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from... ++gnulib/m4/vasnprintf.m4:7: gl_FUNC_VASNPRINTF is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTMAX_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_INTMAX_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_INTMAX_T], [/* Define if you have the \'intmax_t\' type in or . */ ++@%:@undef HAVE_INTMAX_T]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([intmax_t]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^intmax_t$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([intmax_t], [/* Define to long or long long if and don\'t define. */ ++@%:@undef intmax_t]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ ++@%:@undef HAVE_SNPRINTF]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define to 1 if you have the `strnlen\' function. */ ++@%:@undef HAVE_STRNLEN]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WCSLEN], [/* Define to 1 if you have the `wcslen\' function. */ ++@%:@undef HAVE_WCSLEN]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WCSNLEN], [/* Define to 1 if you have the `wcsnlen\' function. */ ++@%:@undef HAVE_WCSNLEN]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ ++@%:@undef HAVE_MBRTOWC]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */ ++@%:@undef HAVE_WCRTOMB]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SNPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_DECL__SNPRINTF], [/* Define to 1 if you have the declaration of `_snprintf\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL__SNPRINTF]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */ ++@%:@undef HAVE_VASPRINTF]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VASPRINTF]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_BTOWC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_BTOWC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_BTOWC$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_WCTOB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_WCTOB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCTOB$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSINIT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSINIT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSINIT$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBRTOWC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBRTOWC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBRTOWC$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBRLEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBRLEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBRLEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSRTOWCS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSRTOWCS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_MBSNRTOWCS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_MBSNRTOWCS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_WCRTOMB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_WCRTOMB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCRTOMB$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_WCSRTOMBS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_WCSRTOMBS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_WCSNRTOMBS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_WCSNRTOMBS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$]) ++m4trace:configure.in:53: -1- AC_SUBST([GNULIB_WCWIDTH]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([GNULIB_WCWIDTH]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^GNULIB_WCWIDTH$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_BTOWC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_BTOWC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_BTOWC$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MBSINIT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MBSINIT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBSINIT$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MBRTOWC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MBRTOWC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBRTOWC$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MBRLEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MBRLEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBRLEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MBSRTOWCS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MBSRTOWCS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_MBSNRTOWCS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_MBSNRTOWCS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WCRTOMB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WCRTOMB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCRTOMB$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WCSRTOMBS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WCSRTOMBS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WCSNRTOMBS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WCSNRTOMBS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_WCTOB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_WCTOB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_DECL_WCWIDTH]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_DECL_WCWIDTH]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MBSTATE_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MBSTATE_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_BTOWC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_BTOWC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_BTOWC$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_WCTOB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_WCTOB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCTOB$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MBSINIT]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MBSINIT]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBSINIT$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MBRTOWC]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MBRTOWC]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBRTOWC$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MBRLEN]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MBRLEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBRLEN$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MBSRTOWCS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MBSRTOWCS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_MBSNRTOWCS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_MBSNRTOWCS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_WCRTOMB]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_WCRTOMB]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCRTOMB$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_WCSRTOMBS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_WCSRTOMBS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_WCSNRTOMBS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_WCSNRTOMBS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$]) ++m4trace:configure.in:53: -1- AC_SUBST([REPLACE_WCWIDTH]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([REPLACE_WCWIDTH]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^REPLACE_WCWIDTH$]) ++m4trace:configure.in:53: -1- AC_SUBST([WCHAR_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([WCHAR_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^WCHAR_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WINT_T]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WINT_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WCHAR_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WCHAR_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_WCHAR_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_WCHAR_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_WCHAR_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H], [$gl_next_as_first_directive]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([FUNC_UNGETC_BROKEN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^FUNC_UNGETC_BROKEN$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([FUNC_UNGETC_BROKEN], [/* Define to 1 if ungetc is broken when used on arbitrary bytes. */ ++@%:@undef FUNC_UNGETC_BROKEN]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_WAIT_H]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- AC_SUBST([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([WINDOWS_SOCKETS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^WINDOWS_SOCKETS$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([WINDOWS_SOCKETS], [/* Define if WSAStartup is needed. */ ++@%:@undef WINDOWS_SOCKETS]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2648: _AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2648: _AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2648: _AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ++../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++gnulib/m4/sockets.m4:7: gl_SOCKETS is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_SUBST([LIBSOCKET]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([LIBSOCKET]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LIBSOCKET$]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/wchar_t.m4:13: gt_TYPE_WCHAR_T is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */ ++@%:@undef HAVE_WCHAR_T]) ++m4trace:configure.in:53: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/wint_t.m4:13: gt_TYPE_WINT_T is expanded from... ++gnulib/m4/gnulib-comp.m4:34: gl_INIT is expanded from... ++configure.in:53: the top level]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */ ++@%:@undef HAVE_WINT_T]) ++m4trace:configure.in:53: -1- AH_OUTPUT([HAVE_SHUTDOWN], [/* Define to 1 if you have the `shutdown\' function. */ ++@%:@undef HAVE_SHUTDOWN]) ++m4trace:configure.in:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SHUTDOWN]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_SHUTDOWN$]) ++m4trace:configure.in:53: -1- AC_SUBST([abs_aux_dir]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([abs_aux_dir]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^abs_aux_dir$]) ++m4trace:configure.in:53: -1- AC_SUBST([LIBTESTS_LIBDEPS]) ++m4trace:configure.in:53: -1- AC_SUBST_TRACE([LIBTESTS_LIBDEPS]) ++m4trace:configure.in:53: -1- m4_pattern_allow([^LIBTESTS_LIBDEPS$]) ++m4trace:configure.in:55: -1- _m4_warn([obsolete], [The macro `AM_PROG_CC_STDC' is obsolete. ++You should run autoupdate.], [aclocal.m4:281: AM_PROG_CC_STDC is expanded from... ++configure.in:55: the top level]) ++m4trace:configure.in:55: -1- AC_SUBST([CC]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- AC_SUBST([CFLAGS]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([CFLAGS]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CFLAGS$]) ++m4trace:configure.in:55: -1- AC_SUBST([LDFLAGS]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([LDFLAGS]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^LDFLAGS$]) ++m4trace:configure.in:55: -1- AC_SUBST([LIBS]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([LIBS]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.in:55: -1- AC_SUBST([CPPFLAGS]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([CPPFLAGS]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.in:55: -1- AC_SUBST([CC]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- AC_SUBST([CC]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- AC_SUBST([CC]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- AC_SUBST([CC]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.in:55: -1- AC_SUBST([ac_ct_CC]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([ac_ct_CC]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^ac_ct_CC$]) ++m4trace:configure.in:55: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([CCDEPMODE]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^CCDEPMODE$]) ++m4trace:configure.in:55: -1- AM_CONDITIONAL([am__fastdepCC], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) ++m4trace:configure.in:55: -1- AC_SUBST([am__fastdepCC_TRUE]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) ++m4trace:configure.in:55: -1- AC_SUBST([am__fastdepCC_FALSE]) ++m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) ++m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) ++m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) ++m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) ++m4trace:configure.in:55: -1- _m4_warn([obsolete], [AM_PROG_CC_STDC: ++ your code should no longer depend upon `am_cv_prog_cc_stdc', but upon ++ `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when ++ you adjust the code. You can also remove the above call to ++ AC_PROG_CC if you already called it elsewhere.], [aclocal.m4:281: AM_PROG_CC_STDC is expanded from... ++configure.in:55: the top level]) ++m4trace:configure.in:56: -1- AC_DEFINE_TRACE_LITERAL([const]) ++m4trace:configure.in:56: -1- m4_pattern_allow([^const$]) ++m4trace:configure.in:56: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ ++@%:@undef const]) ++m4trace:configure.in:59: -1- AC_DEFINE_TRACE_LITERAL([PROTOTYPES]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^PROTOTYPES$]) ++m4trace:configure.in:59: -1- AH_OUTPUT([PROTOTYPES], [/* Define to 1 if the C compiler supports function prototypes. */ ++@%:@undef PROTOTYPES]) ++m4trace:configure.in:59: -1- AC_DEFINE_TRACE_LITERAL([__PROTOTYPES]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^__PROTOTYPES$]) ++m4trace:configure.in:59: -1- AH_OUTPUT([__PROTOTYPES], [/* Define like PROTOTYPES; this can be used by system headers. */ ++@%:@undef __PROTOTYPES]) ++m4trace:configure.in:59: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRING_H]) ++m4trace:configure.in:59: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRING_H]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^HAVE_STRING_H$]) ++m4trace:configure.in:59: -1- AC_SUBST([U]) ++m4trace:configure.in:59: -1- AC_SUBST_TRACE([U]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^U$]) ++m4trace:configure.in:59: -1- AC_SUBST([ANSI2KNR]) ++m4trace:configure.in:59: -1- AC_SUBST_TRACE([ANSI2KNR]) ++m4trace:configure.in:59: -1- m4_pattern_allow([^ANSI2KNR$]) ++m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([ANSI2KNR]) ++m4trace:configure.in:63: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. ++You should run autoupdate.], [m4/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from... ++configure.in:63: the top level]) ++m4trace:configure.in:63: -1- AC_SUBST([AS]) ++m4trace:configure.in:63: -1- AC_SUBST_TRACE([AS]) ++m4trace:configure.in:63: -1- m4_pattern_allow([^AS$]) ++m4trace:configure.in:63: -1- AC_SUBST([DLLTOOL]) ++m4trace:configure.in:63: -1- AC_SUBST_TRACE([DLLTOOL]) ++m4trace:configure.in:63: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.in:63: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.in:63: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.in:63: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.in:63: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you ++put the `win32-dll' option into LT_INIT's first parameter.], [m4/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from... ++configure.in:63: the top level]) ++m4trace:configure.in:65: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete. ++You should run autoupdate.], [m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from... ++configure.in:65: the top level]) ++m4trace:configure.in:65: -1- LT_INIT ++m4trace:configure.in:65: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) ++m4trace:configure.in:65: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) ++m4trace:configure.in:65: -1- AC_SUBST([LIBTOOL]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([LIBTOOL]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LIBTOOL$]) ++m4trace:configure.in:65: -1- AC_SUBST([SED]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([SED]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^SED$]) ++m4trace:configure.in:65: -1- AC_SUBST([FGREP]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([FGREP]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^FGREP$]) ++m4trace:configure.in:65: -1- AC_SUBST([GREP]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([GREP]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.in:65: -1- AC_SUBST([LD]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([LD]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LD$]) ++m4trace:configure.in:65: -1- AC_SUBST([DUMPBIN]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([DUMPBIN]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.in:65: -1- AC_SUBST([ac_ct_DUMPBIN]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) ++m4trace:configure.in:65: -1- AC_SUBST([DUMPBIN]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([DUMPBIN]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.in:65: -1- AC_SUBST([NM]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([NM]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^NM$]) ++m4trace:configure.in:65: -1- AC_SUBST([LN_S], [$as_ln_s]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([LN_S]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LN_S$]) ++m4trace:configure.in:65: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.in:65: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.in:65: -1- AC_SUBST([AR]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([AR]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^AR$]) ++m4trace:configure.in:65: -1- AC_SUBST([STRIP]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([STRIP]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.in:65: -1- AC_SUBST([RANLIB]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([RANLIB]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.in:65: -1- m4_pattern_allow([LT_OBJDIR]) ++m4trace:configure.in:65: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LT_OBJDIR$]) ++m4trace:configure.in:65: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries. ++ */ ++@%:@undef LT_OBJDIR]) ++m4trace:configure.in:65: -1- AC_SUBST([lt_ECHO]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([lt_ECHO]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^lt_ECHO$]) ++m4trace:configure.in:65: -1- LT_SUPPORTED_TAG([CC]) ++m4trace:configure.in:65: -1- AC_SUBST([DSYMUTIL]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([DSYMUTIL]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^DSYMUTIL$]) ++m4trace:configure.in:65: -1- AC_SUBST([NMEDIT]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([NMEDIT]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^NMEDIT$]) ++m4trace:configure.in:65: -1- AC_SUBST([LIPO]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([LIPO]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^LIPO$]) ++m4trace:configure.in:65: -1- AC_SUBST([OTOOL]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([OTOOL]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^OTOOL$]) ++m4trace:configure.in:65: -1- AC_SUBST([OTOOL64]) ++m4trace:configure.in:65: -1- AC_SUBST_TRACE([OTOOL64]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^OTOOL64$]) ++m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_DLFCN_H]) ++m4trace:configure.in:65: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H]) ++m4trace:configure.in:65: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) ++m4trace:configure.in:66: -1- AM_PROG_CC_C_O ++m4trace:configure.in:66: -1- AC_DEFINE_TRACE_LITERAL([NO_MINUS_C_MINUS_O]) ++m4trace:configure.in:66: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$]) ++m4trace:configure.in:66: -1- AH_OUTPUT([NO_MINUS_C_MINUS_O], [/* Define to 1 if your C compiler doesn\'t accept -c and -o together. */ ++@%:@undef NO_MINUS_C_MINUS_O]) ++m4trace:configure.in:66: -1- AC_REQUIRE_AUX_FILE([compile]) ++m4trace:configure.in:71: -1- AC_SUBST([VERSION_SCRIPT_FLAGS]) ++m4trace:configure.in:71: -1- AC_SUBST_TRACE([VERSION_SCRIPT_FLAGS]) ++m4trace:configure.in:71: -1- m4_pattern_allow([^VERSION_SCRIPT_FLAGS$]) ++m4trace:configure.in:73: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++acinclude.m4:10: LIBVIRT_COMPILE_WARNINGS is expanded from... ++configure.in:73: the top level]) ++m4trace:configure.in:73: -1- AC_SUBST([COMPILER_FLAGS]) ++m4trace:configure.in:73: -1- AC_SUBST_TRACE([COMPILER_FLAGS]) ++m4trace:configure.in:73: -1- m4_pattern_allow([^COMPILER_FLAGS$]) ++m4trace:configure.in:73: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++m4/compiler-flags.m4:23: gl_COMPILER_FLAGS is expanded from... ++acinclude.m4:10: LIBVIRT_COMPILE_WARNINGS is expanded from... ++configure.in:73: the top level]) ++m4trace:configure.in:73: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++acinclude.m4:10: LIBVIRT_COMPILE_WARNINGS is expanded from... ++configure.in:73: the top level]) ++m4trace:configure.in:73: -1- AC_SUBST([WARN_CFLAGS]) ++m4trace:configure.in:73: -1- AC_SUBST_TRACE([WARN_CFLAGS]) ++m4trace:configure.in:73: -1- m4_pattern_allow([^WARN_CFLAGS$]) ++m4trace:configure.in:73: -1- AC_SUBST([COMPILER_FLAGS]) ++m4trace:configure.in:73: -1- AC_SUBST_TRACE([COMPILER_FLAGS]) ++m4trace:configure.in:73: -1- m4_pattern_allow([^COMPILER_FLAGS$]) ++m4trace:configure.in:73: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++m4/compiler-flags.m4:23: gl_COMPILER_FLAGS is expanded from... ++acinclude.m4:10: LIBVIRT_COMPILE_WARNINGS is expanded from... ++configure.in:73: the top level]) ++m4trace:configure.in:73: -1- AC_SUBST([WARN_PYTHON_CFLAGS]) ++m4trace:configure.in:73: -1- AC_SUBST_TRACE([WARN_PYTHON_CFLAGS]) ++m4trace:configure.in:73: -1- m4_pattern_allow([^WARN_PYTHON_CFLAGS$]) ++m4trace:configure.in:77: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) ++m4trace:configure.in:77: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.in:77: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ ++@%:@undef _FILE_OFFSET_BITS]) ++m4trace:configure.in:77: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) ++m4trace:configure.in:77: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.in:77: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ ++@%:@undef _LARGE_FILES]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_CFMAKERAW], [/* Define to 1 if you have the `cfmakeraw\' function. */ ++@%:@undef HAVE_CFMAKERAW]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_REGEXEC], [/* Define to 1 if you have the `regexec\' function. */ ++@%:@undef HAVE_REGEXEC]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */ ++@%:@undef HAVE_UNAME]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_SCHED_GETAFFINITY], [/* Define to 1 if you have the `sched_getaffinity\' function. */ ++@%:@undef HAVE_SCHED_GETAFFINITY]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_GETUID], [/* Define to 1 if you have the `getuid\' function. */ ++@%:@undef HAVE_GETUID]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_GETGID], [/* Define to 1 if you have the `getgid\' function. */ ++@%:@undef HAVE_GETGID]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_POSIX_FALLOCATE], [/* Define to 1 if you have the `posix_fallocate\' function. */ ++@%:@undef HAVE_POSIX_FALLOCATE]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have the `mmap\' function. */ ++@%:@undef HAVE_MMAP]) ++m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_READLINK], [/* Define to 1 if you have the `readlink\' function. */ ++@%:@undef HAVE_READLINK]) ++m4trace:configure.in:83: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the `strerror_r\' function. */ ++@%:@undef HAVE_STRERROR_R]) ++m4trace:configure.in:83: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define to 1 if you have the `strtok_r\' function. */ ++@%:@undef HAVE_STRTOK_R]) ++m4trace:configure.in:83: -1- AH_OUTPUT([HAVE_GETMNTENT_R], [/* Define to 1 if you have the `getmntent_r\' function. */ ++@%:@undef HAVE_GETMNTENT_R]) ++m4trace:configure.in:83: -1- AH_OUTPUT([HAVE_GETGRNAM_R], [/* Define to 1 if you have the `getgrnam_r\' function. */ ++@%:@undef HAVE_GETGRNAM_R]) ++m4trace:configure.in:83: -1- AH_OUTPUT([HAVE_GETPWUID_R], [/* Define to 1 if you have the `getpwuid_r\' function. */ ++@%:@undef HAVE_GETPWUID_R]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_PWD_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_PATHS_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_REGEX_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_REGEX_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_SYS_SYSLIMITS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SYSLIMITS_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_SYS_UTSNAME_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_UTSNAME_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_WAIT_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_SCHED_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SCHED_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_TERMIOS_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_POLL_H]) ++m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYSLOG_H]) ++m4trace:configure.in:92: -1- AH_OUTPUT([HAVE_LIBPORTABLEXDR], [/* Define to 1 if you have the `portablexdr\' library (-lportablexdr). */ ++@%:@undef HAVE_LIBPORTABLEXDR]) ++m4trace:configure.in:92: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPORTABLEXDR]) ++m4trace:configure.in:92: -1- m4_pattern_allow([^HAVE_LIBPORTABLEXDR$]) ++m4trace:configure.in:96: -1- AH_OUTPUT([HAVE_LIBINTL], [/* Define to 1 if you have the `intl\' library (-lintl). */ ++@%:@undef HAVE_LIBINTL]) ++m4trace:configure.in:96: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBINTL]) ++m4trace:configure.in:96: -1- m4_pattern_allow([^HAVE_LIBINTL$]) ++m4trace:configure.in:99: -1- AC_SUBST([RPCGEN]) ++m4trace:configure.in:99: -1- AC_SUBST_TRACE([RPCGEN]) ++m4trace:configure.in:99: -1- m4_pattern_allow([^RPCGEN$]) ++m4trace:configure.in:100: -1- AM_CONDITIONAL([HAVE_RPCGEN], [test "x$ac_cv_path_RPCGEN" != "xno"]) ++m4trace:configure.in:100: -1- AC_SUBST([HAVE_RPCGEN_TRUE]) ++m4trace:configure.in:100: -1- AC_SUBST_TRACE([HAVE_RPCGEN_TRUE]) ++m4trace:configure.in:100: -1- m4_pattern_allow([^HAVE_RPCGEN_TRUE$]) ++m4trace:configure.in:100: -1- AC_SUBST([HAVE_RPCGEN_FALSE]) ++m4trace:configure.in:100: -1- AC_SUBST_TRACE([HAVE_RPCGEN_FALSE]) ++m4trace:configure.in:100: -1- m4_pattern_allow([^HAVE_RPCGEN_FALSE$]) ++m4trace:configure.in:100: -1- _AM_SUBST_NOTMAKE([HAVE_RPCGEN_TRUE]) ++m4trace:configure.in:100: -1- _AM_SUBST_NOTMAKE([HAVE_RPCGEN_FALSE]) ++m4trace:configure.in:102: -1- AM_CONDITIONAL([HAVE_GLIBC_RPCGEN], [test "x$ac_cv_path_RPCGEN" != "xno" && ++ $ac_cv_path_RPCGEN -t /dev/null 2>&1]) ++m4trace:configure.in:102: -1- AC_SUBST([HAVE_GLIBC_RPCGEN_TRUE]) ++m4trace:configure.in:102: -1- AC_SUBST_TRACE([HAVE_GLIBC_RPCGEN_TRUE]) ++m4trace:configure.in:102: -1- m4_pattern_allow([^HAVE_GLIBC_RPCGEN_TRUE$]) ++m4trace:configure.in:102: -1- AC_SUBST([HAVE_GLIBC_RPCGEN_FALSE]) ++m4trace:configure.in:102: -1- AC_SUBST_TRACE([HAVE_GLIBC_RPCGEN_FALSE]) ++m4trace:configure.in:102: -1- m4_pattern_allow([^HAVE_GLIBC_RPCGEN_FALSE$]) ++m4trace:configure.in:102: -1- _AM_SUBST_NOTMAKE([HAVE_GLIBC_RPCGEN_TRUE]) ++m4trace:configure.in:102: -1- _AM_SUBST_NOTMAKE([HAVE_GLIBC_RPCGEN_FALSE]) ++m4trace:configure.in:107: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPTHREAD]) ++m4trace:configure.in:107: -1- m4_pattern_allow([^HAVE_LIBPTHREAD$]) ++m4trace:configure.in:107: -1- AH_OUTPUT([HAVE_LIBPTHREAD], [/* Define if pthread (-lpthread) */ ++@%:@undef HAVE_LIBPTHREAD]) ++m4trace:configure.in:107: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_H]) ++m4trace:configure.in:107: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) ++m4trace:configure.in:107: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* Define if */ ++@%:@undef HAVE_PTHREAD_H]) ++m4trace:configure.in:115: -1- AC_SUBST([RM]) ++m4trace:configure.in:115: -1- AC_SUBST_TRACE([RM]) ++m4trace:configure.in:115: -1- m4_pattern_allow([^RM$]) ++m4trace:configure.in:116: -1- AC_SUBST([MV]) ++m4trace:configure.in:116: -1- AC_SUBST_TRACE([MV]) ++m4trace:configure.in:116: -1- m4_pattern_allow([^MV$]) ++m4trace:configure.in:117: -1- AC_SUBST([TAR]) ++m4trace:configure.in:117: -1- AC_SUBST_TRACE([TAR]) ++m4trace:configure.in:117: -1- m4_pattern_allow([^TAR$]) ++m4trace:configure.in:118: -1- AC_SUBST([XMLLINT]) ++m4trace:configure.in:118: -1- AC_SUBST_TRACE([XMLLINT]) ++m4trace:configure.in:118: -1- m4_pattern_allow([^XMLLINT$]) ++m4trace:configure.in:119: -1- AC_SUBST([XMLCATALOG]) ++m4trace:configure.in:119: -1- AC_SUBST_TRACE([XMLCATALOG]) ++m4trace:configure.in:119: -1- m4_pattern_allow([^XMLCATALOG$]) ++m4trace:configure.in:120: -1- AC_SUBST([XSLTPROC]) ++m4trace:configure.in:120: -1- AC_SUBST_TRACE([XSLTPROC]) ++m4trace:configure.in:120: -1- m4_pattern_allow([^XSLTPROC$]) ++m4trace:configure.in:121: -1- AC_SUBST([AUGPARSE]) ++m4trace:configure.in:121: -1- AC_SUBST_TRACE([AUGPARSE]) ++m4trace:configure.in:121: -1- m4_pattern_allow([^AUGPARSE$]) ++m4trace:configure.in:128: -1- AC_SUBST([DNSMASQ]) ++m4trace:configure.in:128: -1- AC_SUBST_TRACE([DNSMASQ]) ++m4trace:configure.in:128: -1- m4_pattern_allow([^DNSMASQ$]) ++m4trace:configure.in:130: -1- AC_SUBST([BRCTL]) ++m4trace:configure.in:130: -1- AC_SUBST_TRACE([BRCTL]) ++m4trace:configure.in:130: -1- m4_pattern_allow([^BRCTL$]) ++m4trace:configure.in:132: -1- AC_SUBST([UDEVADM]) ++m4trace:configure.in:132: -1- AC_SUBST_TRACE([UDEVADM]) ++m4trace:configure.in:132: -1- m4_pattern_allow([^UDEVADM$]) ++m4trace:configure.in:134: -1- AC_SUBST([UDEVSETTLE]) ++m4trace:configure.in:134: -1- AC_SUBST_TRACE([UDEVSETTLE]) ++m4trace:configure.in:134: -1- m4_pattern_allow([^UDEVSETTLE$]) ++m4trace:configure.in:136: -1- AC_SUBST([MODPROBE]) ++m4trace:configure.in:136: -1- AC_SUBST_TRACE([MODPROBE]) ++m4trace:configure.in:136: -1- m4_pattern_allow([^MODPROBE$]) ++m4trace:configure.in:139: -1- AC_DEFINE_TRACE_LITERAL([DNSMASQ]) ++m4trace:configure.in:139: -1- m4_pattern_allow([^DNSMASQ$]) ++m4trace:configure.in:139: -1- AH_OUTPUT([DNSMASQ], [/* Location or name of the dnsmasq program */ ++@%:@undef DNSMASQ]) ++m4trace:configure.in:141: -1- AC_DEFINE_TRACE_LITERAL([BRCTL]) ++m4trace:configure.in:141: -1- m4_pattern_allow([^BRCTL$]) ++m4trace:configure.in:141: -1- AH_OUTPUT([BRCTL], [/* Location or name of the brctl program (see bridge-utils) */ ++@%:@undef BRCTL]) ++m4trace:configure.in:144: -1- AC_DEFINE_TRACE_LITERAL([UDEVADM]) ++m4trace:configure.in:144: -1- m4_pattern_allow([^UDEVADM$]) ++m4trace:configure.in:144: -1- AH_OUTPUT([UDEVADM], [/* Location or name of the udevadm program */ ++@%:@undef UDEVADM]) ++m4trace:configure.in:148: -1- AC_DEFINE_TRACE_LITERAL([UDEVSETTLE]) ++m4trace:configure.in:148: -1- m4_pattern_allow([^UDEVSETTLE$]) ++m4trace:configure.in:148: -1- AH_OUTPUT([UDEVSETTLE], [/* Location or name of the udevsettle program */ ++@%:@undef UDEVSETTLE]) ++m4trace:configure.in:152: -1- AC_DEFINE_TRACE_LITERAL([MODPROBE]) ++m4trace:configure.in:152: -1- m4_pattern_allow([^MODPROBE$]) ++m4trace:configure.in:152: -1- AH_OUTPUT([MODPROBE], [/* Location or name of the modprobe program */ ++@%:@undef MODPROBE]) ++m4trace:configure.in:157: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:157: the top level]) ++m4trace:configure.in:161: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:161: the top level]) ++m4trace:configure.in:165: -1- AC_SUBST([HTML_DIR]) ++m4trace:configure.in:165: -1- AC_SUBST_TRACE([HTML_DIR]) ++m4trace:configure.in:165: -1- m4_pattern_allow([^HTML_DIR$]) ++m4trace:configure.in:217: -1- AC_SUBST([STATIC_BINARIES]) ++m4trace:configure.in:217: -1- AC_SUBST_TRACE([STATIC_BINARIES]) ++m4trace:configure.in:217: -1- m4_pattern_allow([^STATIC_BINARIES$]) ++m4trace:configure.in:220: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1474: AC_ARG_ENABLE is expanded from... ++configure.in:220: the top level]) ++m4trace:configure.in:223: -1- AM_CONDITIONAL([ENABLE_DEBUG], [test x"$enable_debug" = x"yes"]) ++m4trace:configure.in:223: -1- AC_SUBST([ENABLE_DEBUG_TRUE]) ++m4trace:configure.in:223: -1- AC_SUBST_TRACE([ENABLE_DEBUG_TRUE]) ++m4trace:configure.in:223: -1- m4_pattern_allow([^ENABLE_DEBUG_TRUE$]) ++m4trace:configure.in:223: -1- AC_SUBST([ENABLE_DEBUG_FALSE]) ++m4trace:configure.in:223: -1- AC_SUBST_TRACE([ENABLE_DEBUG_FALSE]) ++m4trace:configure.in:223: -1- m4_pattern_allow([^ENABLE_DEBUG_FALSE$]) ++m4trace:configure.in:223: -1- _AM_SUBST_NOTMAKE([ENABLE_DEBUG_TRUE]) ++m4trace:configure.in:223: -1- _AM_SUBST_NOTMAKE([ENABLE_DEBUG_FALSE]) ++m4trace:configure.in:225: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_DEBUG]) ++m4trace:configure.in:225: -1- m4_pattern_allow([^ENABLE_DEBUG$]) ++m4trace:configure.in:225: -1- AH_OUTPUT([ENABLE_DEBUG], [/* whether debugging is enabled */ ++@%:@undef ENABLE_DEBUG]) ++m4trace:configure.in:230: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:230: the top level]) ++m4trace:configure.in:238: -1- AC_SUBST([REMOTE_PID_FILE]) ++m4trace:configure.in:238: -1- AC_SUBST_TRACE([REMOTE_PID_FILE]) ++m4trace:configure.in:238: -1- m4_pattern_allow([^REMOTE_PID_FILE$]) ++m4trace:configure.in:245: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:245: the top level]) ++m4trace:configure.in:255: -1- AM_CONDITIONAL([LIBVIRT_INIT_SCRIPTS_RED_HAT], [test x$with_init_scripts = xredhat]) ++m4trace:configure.in:255: -1- AC_SUBST([LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE]) ++m4trace:configure.in:255: -1- AC_SUBST_TRACE([LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE]) ++m4trace:configure.in:255: -1- m4_pattern_allow([^LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE$]) ++m4trace:configure.in:255: -1- AC_SUBST([LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE]) ++m4trace:configure.in:255: -1- AC_SUBST_TRACE([LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE]) ++m4trace:configure.in:255: -1- m4_pattern_allow([^LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE$]) ++m4trace:configure.in:255: -1- _AM_SUBST_NOTMAKE([LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE]) ++m4trace:configure.in:255: -1- _AM_SUBST_NOTMAKE([LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE]) ++m4trace:configure.in:259: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1493: AC_ARG_WITH is expanded from... ++configure.in:259: the top level]) ++m4trace:configure.in:263: -1- AC_DEFINE_TRACE_LITERAL([WITH_RHEL5_API]) ++m4trace:configure.in:263: -1- m4_pattern_allow([^WITH_RHEL5_API$]) ++m4trace:configure.in:263: -1- AH_OUTPUT([WITH_RHEL5_API], [/* whether building for the RHEL-5 API */ ++@%:@undef WITH_RHEL5_API]) ++m4trace:configure.in:270: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:230: AC_HELP_STRING is expanded from... ++../../lib/autoconf/general.m4:1474: AC_ARG_ENABLE is expanded from... ++configure.in:270: the top level]) ++m4trace:configure.in:275: -1- AC_SUBST([LOKKIT_PATH]) ++m4trace:configure.in:275: -1- AC_SUBST_TRACE([LOKKIT_PATH]) ++m4trace:configure.in:275: -1- m4_pattern_allow([^LOKKIT_PATH$]) ++m4trace:configure.in:283: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_IPTABLES_LOKKIT]) ++m4trace:configure.in:283: -1- m4_pattern_allow([^ENABLE_IPTABLES_LOKKIT$]) ++m4trace:configure.in:283: -1- AH_OUTPUT([ENABLE_IPTABLES_LOKKIT], [/* whether support for Fedora\'s lokkit is enabled */ ++@%:@undef ENABLE_IPTABLES_LOKKIT]) ++m4trace:configure.in:284: -1- AC_DEFINE_TRACE_LITERAL([LOKKIT_PATH]) ++m4trace:configure.in:284: -1- m4_pattern_allow([^LOKKIT_PATH$]) ++m4trace:configure.in:284: -1- AH_OUTPUT([LOKKIT_PATH], [/* path to lokkit binary */ ++@%:@undef LOKKIT_PATH]) ++m4trace:configure.in:287: -1- AC_SUBST([IPTABLES_PATH]) ++m4trace:configure.in:287: -1- AC_SUBST_TRACE([IPTABLES_PATH]) ++m4trace:configure.in:287: -1- m4_pattern_allow([^IPTABLES_PATH$]) ++m4trace:configure.in:288: -1- AC_DEFINE_TRACE_LITERAL([IPTABLES_PATH]) ++m4trace:configure.in:288: -1- m4_pattern_allow([^IPTABLES_PATH$]) ++m4trace:configure.in:288: -1- AH_OUTPUT([IPTABLES_PATH], [/* path to iptables binary */ ++@%:@undef IPTABLES_PATH]) ++m4trace:configure.in:291: -1- AC_DEFINE_TRACE_LITERAL([WITH_OPENVZ]) ++m4trace:configure.in:291: -1- m4_pattern_allow([^WITH_OPENVZ$]) ++m4trace:configure.in:291: -1- AH_OUTPUT([WITH_OPENVZ], [/* whether OpenVZ driver is enabled */ ++@%:@undef WITH_OPENVZ]) ++m4trace:configure.in:293: -1- AM_CONDITIONAL([WITH_OPENVZ], [test "$with_openvz" = "yes"]) ++m4trace:configure.in:293: -1- AC_SUBST([WITH_OPENVZ_TRUE]) ++m4trace:configure.in:293: -1- AC_SUBST_TRACE([WITH_OPENVZ_TRUE]) ++m4trace:configure.in:293: -1- m4_pattern_allow([^WITH_OPENVZ_TRUE$]) ++m4trace:configure.in:293: -1- AC_SUBST([WITH_OPENVZ_FALSE]) ++m4trace:configure.in:293: -1- AC_SUBST_TRACE([WITH_OPENVZ_FALSE]) ++m4trace:configure.in:293: -1- m4_pattern_allow([^WITH_OPENVZ_FALSE$]) ++m4trace:configure.in:293: -1- _AM_SUBST_NOTMAKE([WITH_OPENVZ_TRUE]) ++m4trace:configure.in:293: -1- _AM_SUBST_NOTMAKE([WITH_OPENVZ_FALSE]) ++m4trace:configure.in:296: -1- AC_DEFINE_TRACE_LITERAL([WITH_VBOX]) ++m4trace:configure.in:296: -1- m4_pattern_allow([^WITH_VBOX$]) ++m4trace:configure.in:296: -1- AH_OUTPUT([WITH_VBOX], [/* whether VirtualBox driver is enabled */ ++@%:@undef WITH_VBOX]) ++m4trace:configure.in:298: -1- AM_CONDITIONAL([WITH_VBOX], [test "$with_vbox" = "yes"]) ++m4trace:configure.in:298: -1- AC_SUBST([WITH_VBOX_TRUE]) ++m4trace:configure.in:298: -1- AC_SUBST_TRACE([WITH_VBOX_TRUE]) ++m4trace:configure.in:298: -1- m4_pattern_allow([^WITH_VBOX_TRUE$]) ++m4trace:configure.in:298: -1- AC_SUBST([WITH_VBOX_FALSE]) ++m4trace:configure.in:298: -1- AC_SUBST_TRACE([WITH_VBOX_FALSE]) ++m4trace:configure.in:298: -1- m4_pattern_allow([^WITH_VBOX_FALSE$]) ++m4trace:configure.in:298: -1- _AM_SUBST_NOTMAKE([WITH_VBOX_TRUE]) ++m4trace:configure.in:298: -1- _AM_SUBST_NOTMAKE([WITH_VBOX_FALSE]) ++m4trace:configure.in:304: -1- AC_DEFINE_TRACE_LITERAL([WITH_QEMU]) ++m4trace:configure.in:304: -1- m4_pattern_allow([^WITH_QEMU$]) ++m4trace:configure.in:304: -1- AH_OUTPUT([WITH_QEMU], [/* whether QEMU driver is enabled */ ++@%:@undef WITH_QEMU]) ++m4trace:configure.in:306: -1- AM_CONDITIONAL([WITH_QEMU], [test "$with_qemu" = "yes"]) ++m4trace:configure.in:306: -1- AC_SUBST([WITH_QEMU_TRUE]) ++m4trace:configure.in:306: -1- AC_SUBST_TRACE([WITH_QEMU_TRUE]) ++m4trace:configure.in:306: -1- m4_pattern_allow([^WITH_QEMU_TRUE$]) ++m4trace:configure.in:306: -1- AC_SUBST([WITH_QEMU_FALSE]) ++m4trace:configure.in:306: -1- AC_SUBST_TRACE([WITH_QEMU_FALSE]) ++m4trace:configure.in:306: -1- m4_pattern_allow([^WITH_QEMU_FALSE$]) ++m4trace:configure.in:306: -1- _AM_SUBST_NOTMAKE([WITH_QEMU_TRUE]) ++m4trace:configure.in:306: -1- _AM_SUBST_NOTMAKE([WITH_QEMU_FALSE]) ++m4trace:configure.in:309: -1- AC_DEFINE_TRACE_LITERAL([WITH_ONE]) ++m4trace:configure.in:309: -1- m4_pattern_allow([^WITH_ONE$]) ++m4trace:configure.in:309: -1- AH_OUTPUT([WITH_ONE], [/* whether ONE driver is enabled */ ++@%:@undef WITH_ONE]) ++m4trace:configure.in:311: -1- AM_CONDITIONAL([WITH_ONE], [test "$with_one" = "yes"]) ++m4trace:configure.in:311: -1- AC_SUBST([WITH_ONE_TRUE]) ++m4trace:configure.in:311: -1- AC_SUBST_TRACE([WITH_ONE_TRUE]) ++m4trace:configure.in:311: -1- m4_pattern_allow([^WITH_ONE_TRUE$]) ++m4trace:configure.in:311: -1- AC_SUBST([WITH_ONE_FALSE]) ++m4trace:configure.in:311: -1- AC_SUBST_TRACE([WITH_ONE_FALSE]) ++m4trace:configure.in:311: -1- m4_pattern_allow([^WITH_ONE_FALSE$]) ++m4trace:configure.in:311: -1- _AM_SUBST_NOTMAKE([WITH_ONE_TRUE]) ++m4trace:configure.in:311: -1- _AM_SUBST_NOTMAKE([WITH_ONE_FALSE]) ++m4trace:configure.in:314: -1- AC_DEFINE_TRACE_LITERAL([WITH_TEST]) ++m4trace:configure.in:314: -1- m4_pattern_allow([^WITH_TEST$]) ++m4trace:configure.in:314: -1- AH_OUTPUT([WITH_TEST], [/* whether Test driver is enabled */ ++@%:@undef WITH_TEST]) ++m4trace:configure.in:316: -1- AM_CONDITIONAL([WITH_TEST], [test "$with_test" = "yes"]) ++m4trace:configure.in:316: -1- AC_SUBST([WITH_TEST_TRUE]) ++m4trace:configure.in:316: -1- AC_SUBST_TRACE([WITH_TEST_TRUE]) ++m4trace:configure.in:316: -1- m4_pattern_allow([^WITH_TEST_TRUE$]) ++m4trace:configure.in:316: -1- AC_SUBST([WITH_TEST_FALSE]) ++m4trace:configure.in:316: -1- AC_SUBST_TRACE([WITH_TEST_FALSE]) ++m4trace:configure.in:316: -1- m4_pattern_allow([^WITH_TEST_FALSE$]) ++m4trace:configure.in:316: -1- _AM_SUBST_NOTMAKE([WITH_TEST_TRUE]) ++m4trace:configure.in:316: -1- _AM_SUBST_NOTMAKE([WITH_TEST_FALSE]) ++m4trace:configure.in:319: -1- AC_DEFINE_TRACE_LITERAL([WITH_REMOTE]) ++m4trace:configure.in:319: -1- m4_pattern_allow([^WITH_REMOTE$]) ++m4trace:configure.in:319: -1- AH_OUTPUT([WITH_REMOTE], [/* whether Remote driver is enabled */ ++@%:@undef WITH_REMOTE]) ++m4trace:configure.in:321: -1- AM_CONDITIONAL([WITH_REMOTE], [test "$with_remote" = "yes"]) ++m4trace:configure.in:321: -1- AC_SUBST([WITH_REMOTE_TRUE]) ++m4trace:configure.in:321: -1- AC_SUBST_TRACE([WITH_REMOTE_TRUE]) ++m4trace:configure.in:321: -1- m4_pattern_allow([^WITH_REMOTE_TRUE$]) ++m4trace:configure.in:321: -1- AC_SUBST([WITH_REMOTE_FALSE]) ++m4trace:configure.in:321: -1- AC_SUBST_TRACE([WITH_REMOTE_FALSE]) ++m4trace:configure.in:321: -1- m4_pattern_allow([^WITH_REMOTE_FALSE$]) ++m4trace:configure.in:321: -1- _AM_SUBST_NOTMAKE([WITH_REMOTE_TRUE]) ++m4trace:configure.in:321: -1- _AM_SUBST_NOTMAKE([WITH_REMOTE_FALSE]) ++m4trace:configure.in:324: -1- AC_DEFINE_TRACE_LITERAL([WITH_LIBVIRTD]) ++m4trace:configure.in:324: -1- m4_pattern_allow([^WITH_LIBVIRTD$]) ++m4trace:configure.in:324: -1- AH_OUTPUT([WITH_LIBVIRTD], [/* whether libvirtd daemon is enabled */ ++@%:@undef WITH_LIBVIRTD]) ++m4trace:configure.in:326: -1- AM_CONDITIONAL([WITH_LIBVIRTD], [test "$with_libvirtd" = "yes"]) ++m4trace:configure.in:326: -1- AC_SUBST([WITH_LIBVIRTD_TRUE]) ++m4trace:configure.in:326: -1- AC_SUBST_TRACE([WITH_LIBVIRTD_TRUE]) ++m4trace:configure.in:326: -1- m4_pattern_allow([^WITH_LIBVIRTD_TRUE$]) ++m4trace:configure.in:326: -1- AC_SUBST([WITH_LIBVIRTD_FALSE]) ++m4trace:configure.in:326: -1- AC_SUBST_TRACE([WITH_LIBVIRTD_FALSE]) ++m4trace:configure.in:326: -1- m4_pattern_allow([^WITH_LIBVIRTD_FALSE$]) ++m4trace:configure.in:326: -1- _AM_SUBST_NOTMAKE([WITH_LIBVIRTD_TRUE]) ++m4trace:configure.in:326: -1- _AM_SUBST_NOTMAKE([WITH_LIBVIRTD_FALSE]) ++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_XEN_XEN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_XEN_XEN_H]) ++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_XEN_VERSION_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_XEN_VERSION_H]) ++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_XEN_DOM0_OPS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_XEN_DOM0_OPS_H]) ++m4trace:configure.in:364: -1- AH_OUTPUT([HAVE_XEN_SYS_PRIVCMD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_XEN_SYS_PRIVCMD_H]) ++m4trace:configure.in:364: -1- AC_DEFINE_TRACE_LITERAL([HAVE_XEN_SYS_PRIVCMD_H]) ++m4trace:configure.in:364: -1- m4_pattern_allow([^HAVE_XEN_SYS_PRIVCMD_H$]) ++m4trace:configure.in:364: -1- AH_OUTPUT([HAVE_XEN_LINUX_PRIVCMD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_XEN_LINUX_PRIVCMD_H]) ++m4trace:configure.in:364: -1- AC_DEFINE_TRACE_LITERAL([HAVE_XEN_LINUX_PRIVCMD_H]) ++m4trace:configure.in:364: -1- m4_pattern_allow([^HAVE_XEN_LINUX_PRIVCMD_H$]) ++m4trace:configure.in:381: -1- AC_DEFINE_TRACE_LITERAL([WITH_XEN]) ++m4trace:configure.in:381: -1- m4_pattern_allow([^WITH_XEN$]) ++m4trace:configure.in:381: -1- AH_OUTPUT([WITH_XEN], [/* whether Xen driver is enabled */ ++@%:@undef WITH_XEN]) ++m4trace:configure.in:383: -1- AM_CONDITIONAL([WITH_XEN], [test "$with_xen" = "yes"]) ++m4trace:configure.in:383: -1- AC_SUBST([WITH_XEN_TRUE]) ++m4trace:configure.in:383: -1- AC_SUBST_TRACE([WITH_XEN_TRUE]) ++m4trace:configure.in:383: -1- m4_pattern_allow([^WITH_XEN_TRUE$]) ++m4trace:configure.in:383: -1- AC_SUBST([WITH_XEN_FALSE]) ++m4trace:configure.in:383: -1- AC_SUBST_TRACE([WITH_XEN_FALSE]) ++m4trace:configure.in:383: -1- m4_pattern_allow([^WITH_XEN_FALSE$]) ++m4trace:configure.in:383: -1- _AM_SUBST_NOTMAKE([WITH_XEN_TRUE]) ++m4trace:configure.in:383: -1- _AM_SUBST_NOTMAKE([WITH_XEN_FALSE]) ++m4trace:configure.in:384: -1- AC_SUBST([XEN_CFLAGS]) ++m4trace:configure.in:384: -1- AC_SUBST_TRACE([XEN_CFLAGS]) ++m4trace:configure.in:384: -1- m4_pattern_allow([^XEN_CFLAGS$]) ++m4trace:configure.in:385: -1- AC_SUBST([XEN_LIBS]) ++m4trace:configure.in:385: -1- AC_SUBST_TRACE([XEN_LIBS]) ++m4trace:configure.in:385: -1- m4_pattern_allow([^XEN_LIBS$]) ++m4trace:configure.in:406: -1- AC_DEFINE_TRACE_LITERAL([WITH_XEN_INOTIFY]) ++m4trace:configure.in:406: -1- m4_pattern_allow([^WITH_XEN_INOTIFY$]) ++m4trace:configure.in:406: -1- AH_OUTPUT([WITH_XEN_INOTIFY], [/* whether Xen inotify sub-driver is enabled */ ++@%:@undef WITH_XEN_INOTIFY]) ++m4trace:configure.in:408: -1- AM_CONDITIONAL([WITH_XEN_INOTIFY], [test "$with_xen_inotify" = "yes"]) ++m4trace:configure.in:408: -1- AC_SUBST([WITH_XEN_INOTIFY_TRUE]) ++m4trace:configure.in:408: -1- AC_SUBST_TRACE([WITH_XEN_INOTIFY_TRUE]) ++m4trace:configure.in:408: -1- m4_pattern_allow([^WITH_XEN_INOTIFY_TRUE$]) ++m4trace:configure.in:408: -1- AC_SUBST([WITH_XEN_INOTIFY_FALSE]) ++m4trace:configure.in:408: -1- AC_SUBST_TRACE([WITH_XEN_INOTIFY_FALSE]) ++m4trace:configure.in:408: -1- m4_pattern_allow([^WITH_XEN_INOTIFY_FALSE$]) ++m4trace:configure.in:408: -1- _AM_SUBST_NOTMAKE([WITH_XEN_INOTIFY_TRUE]) ++m4trace:configure.in:408: -1- _AM_SUBST_NOTMAKE([WITH_XEN_INOTIFY_FALSE]) ++m4trace:configure.in:413: -1- AH_OUTPUT([HAVE_LINUX_KVM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LINUX_KVM_H]) ++m4trace:configure.in:413: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LINUX_KVM_H]) ++m4trace:configure.in:413: -1- m4_pattern_allow([^HAVE_LINUX_KVM_H$]) ++m4trace:configure.in:419: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/headers.m4:151: _AC_CHECK_HEADER_MONGREL is expanded from... ++../../lib/autoconf/headers.m4:89: AC_CHECK_HEADER is expanded from... ++configure.in:419: the top level]) ++m4trace:configure.in:452: -1- AC_DEFINE_TRACE_LITERAL([WITH_LXC]) ++m4trace:configure.in:452: -1- m4_pattern_allow([^WITH_LXC$]) ++m4trace:configure.in:452: -1- AH_OUTPUT([WITH_LXC], [/* whether LXC driver is enabled */ ++@%:@undef WITH_LXC]) ++m4trace:configure.in:454: -1- AM_CONDITIONAL([WITH_LXC], [test "$with_lxc" = "yes"]) ++m4trace:configure.in:454: -1- AC_SUBST([WITH_LXC_TRUE]) ++m4trace:configure.in:454: -1- AC_SUBST_TRACE([WITH_LXC_TRUE]) ++m4trace:configure.in:454: -1- m4_pattern_allow([^WITH_LXC_TRUE$]) ++m4trace:configure.in:454: -1- AC_SUBST([WITH_LXC_FALSE]) ++m4trace:configure.in:454: -1- AC_SUBST_TRACE([WITH_LXC_FALSE]) ++m4trace:configure.in:454: -1- m4_pattern_allow([^WITH_LXC_FALSE$]) ++m4trace:configure.in:454: -1- _AM_SUBST_NOTMAKE([WITH_LXC_TRUE]) ++m4trace:configure.in:454: -1- _AM_SUBST_NOTMAKE([WITH_LXC_FALSE]) ++m4trace:configure.in:461: -1- AH_OUTPUT([HAVE_LINUX_PARAM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LINUX_PARAM_H]) ++m4trace:configure.in:461: -1- AH_OUTPUT([HAVE_LINUX_SOCKIOS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LINUX_SOCKIOS_H]) ++m4trace:configure.in:461: -1- AH_OUTPUT([HAVE_LINUX_IF_BRIDGE_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LINUX_IF_BRIDGE_H]) ++m4trace:configure.in:461: -1- AH_OUTPUT([HAVE_LINUX_IF_TUN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LINUX_IF_TUN_H]) ++m4trace:configure.in:474: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) ++m4trace:configure.in:474: -1- AC_SUBST([PKG_CONFIG]) ++m4trace:configure.in:474: -1- AC_SUBST_TRACE([PKG_CONFIG]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.in:474: -1- AC_SUBST([PKG_CONFIG]) ++m4trace:configure.in:474: -1- AC_SUBST_TRACE([PKG_CONFIG]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.in:474: -1- AC_SUBST([XMLRPC_CFLAGS]) ++m4trace:configure.in:474: -1- AC_SUBST_TRACE([XMLRPC_CFLAGS]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^XMLRPC_CFLAGS$]) ++m4trace:configure.in:474: -1- AC_SUBST([XMLRPC_LIBS]) ++m4trace:configure.in:474: -1- AC_SUBST_TRACE([XMLRPC_LIBS]) ++m4trace:configure.in:474: -1- m4_pattern_allow([^XMLRPC_LIBS$]) ++m4trace:configure.in:484: -1- AC_DEFINE_TRACE_LITERAL([HAVE_XMLRPC]) ++m4trace:configure.in:484: -1- m4_pattern_allow([^HAVE_XMLRPC$]) ++m4trace:configure.in:484: -1- AH_OUTPUT([HAVE_XMLRPC], [/* whether One is used to broadcast server presence */ ++@%:@undef HAVE_XMLRPC]) ++m4trace:configure.in:488: -1- AM_CONDITIONAL([HAVE_XMLRPC], [test "x$with_one" = "xyes"]) ++m4trace:configure.in:488: -1- AC_SUBST([HAVE_XMLRPC_TRUE]) ++m4trace:configure.in:488: -1- AC_SUBST_TRACE([HAVE_XMLRPC_TRUE]) ++m4trace:configure.in:488: -1- m4_pattern_allow([^HAVE_XMLRPC_TRUE$]) ++m4trace:configure.in:488: -1- AC_SUBST([HAVE_XMLRPC_FALSE]) ++m4trace:configure.in:488: -1- AC_SUBST_TRACE([HAVE_XMLRPC_FALSE]) ++m4trace:configure.in:488: -1- m4_pattern_allow([^HAVE_XMLRPC_FALSE$]) ++m4trace:configure.in:488: -1- _AM_SUBST_NOTMAKE([HAVE_XMLRPC_TRUE]) ++m4trace:configure.in:488: -1- _AM_SUBST_NOTMAKE([HAVE_XMLRPC_FALSE]) ++m4trace:configure.in:489: -1- AM_CONDITIONAL([WITH_ONE], [test "x$with_one" = "xyes"]) ++m4trace:configure.in:489: -1- AC_SUBST([WITH_ONE_TRUE]) ++m4trace:configure.in:489: -1- AC_SUBST_TRACE([WITH_ONE_TRUE]) ++m4trace:configure.in:489: -1- m4_pattern_allow([^WITH_ONE_TRUE$]) ++m4trace:configure.in:489: -1- AC_SUBST([WITH_ONE_FALSE]) ++m4trace:configure.in:489: -1- AC_SUBST_TRACE([WITH_ONE_FALSE]) ++m4trace:configure.in:489: -1- m4_pattern_allow([^WITH_ONE_FALSE$]) ++m4trace:configure.in:489: -1- _AM_SUBST_NOTMAKE([WITH_ONE_TRUE]) ++m4trace:configure.in:489: -1- _AM_SUBST_NOTMAKE([WITH_ONE_FALSE]) ++m4trace:configure.in:490: -1- AC_SUBST([XMLRPC_CFLAGS]) ++m4trace:configure.in:490: -1- AC_SUBST_TRACE([XMLRPC_CFLAGS]) ++m4trace:configure.in:490: -1- m4_pattern_allow([^XMLRPC_CFLAGS$]) ++m4trace:configure.in:491: -1- AC_SUBST([XMLRPC_LIBS]) ++m4trace:configure.in:491: -1- AC_SUBST_TRACE([XMLRPC_LIBS]) ++m4trace:configure.in:491: -1- m4_pattern_allow([^XMLRPC_LIBS$]) ++m4trace:configure.in:495: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) ++m4trace:configure.in:495: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) ++m4trace:configure.in:495: -1- AC_SUBST([PKG_CONFIG]) ++m4trace:configure.in:495: -1- AC_SUBST_TRACE([PKG_CONFIG]) ++m4trace:configure.in:495: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.in:495: -1- AC_SUBST([PKG_CONFIG]) ++m4trace:configure.in:495: -1- AC_SUBST_TRACE([PKG_CONFIG]) ++m4trace:configure.in:495: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.in:510: -1- AC_SUBST([LIBXML_CFLAGS]) ++m4trace:configure.in:510: -1- AC_SUBST_TRACE([LIBXML_CFLAGS]) ++m4trace:configure.in:510: -1- m4_pattern_allow([^LIBXML_CFLAGS$]) ++m4trace:configure.in:510: -1- AC_SUBST([LIBXML_LIBS]) ++m4trace:configure.in:510: -1- AC_SUBST_TRACE([LIBXML_LIBS]) ++m4trace:configure.in:510: -1- m4_pattern_allow([^LIBXML_LIBS$]) ++m4trace:configure.in:533: -1- AC_SUBST([LIBXML_CFLAGS]) ++m4trace:configure.in:533: -1- AC_SUBST_TRACE([LIBXML_CFLAGS]) ++m4trace:configure.in:533: -1- m4_pattern_allow([^LIBXML_CFLAGS$]) ++m4trace:configure.in:534: -1- AC_SUBST([LIBXML_LIBS]) ++m4trace:configure.in:534: -1- AC_SUBST_TRACE([LIBXML_LIBS]) ++m4trace:configure.in:534: -1- m4_pattern_allow([^LIBXML_LIBS$]) ++m4trace:configure.in:541: -1- AC_DEFINE_TRACE_LITERAL([HAVE_XMLURI_QUERY_RAW]) ++m4trace:configure.in:541: -1- m4_pattern_allow([^HAVE_XMLURI_QUERY_RAW$]) ++m4trace:configure.in:541: -1- AH_OUTPUT([HAVE_XMLURI_QUERY_RAW], [/* Have query_raw field in libxml2 xmlURI structure */ ++@%:@undef HAVE_XMLURI_QUERY_RAW]) ++m4trace:configure.in:552: -1- AC_SUBST([GNUTLS_CFLAGS]) ++m4trace:configure.in:552: -1- AC_SUBST_TRACE([GNUTLS_CFLAGS]) ++m4trace:configure.in:552: -1- m4_pattern_allow([^GNUTLS_CFLAGS$]) ++m4trace:configure.in:552: -1- AC_SUBST([GNUTLS_LIBS]) ++m4trace:configure.in:552: -1- AC_SUBST_TRACE([GNUTLS_LIBS]) ++m4trace:configure.in:552: -1- m4_pattern_allow([^GNUTLS_LIBS$]) ++m4trace:configure.in:559: -1- AH_OUTPUT([HAVE_LIBGNUTLS], [/* Define to 1 if you have the `gnutls\' library (-lgnutls). */ ++@%:@undef HAVE_LIBGNUTLS]) ++m4trace:configure.in:559: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGNUTLS]) ++m4trace:configure.in:559: -1- m4_pattern_allow([^HAVE_LIBGNUTLS$]) ++m4trace:configure.in:568: -1- AC_SUBST([GNUTLS_CFLAGS]) ++m4trace:configure.in:568: -1- AC_SUBST_TRACE([GNUTLS_CFLAGS]) ++m4trace:configure.in:568: -1- m4_pattern_allow([^GNUTLS_CFLAGS$]) ++m4trace:configure.in:569: -1- AC_SUBST([GNUTLS_LIBS]) ++m4trace:configure.in:569: -1- AC_SUBST_TRACE([GNUTLS_LIBS]) ++m4trace:configure.in:569: -1- m4_pattern_allow([^GNUTLS_LIBS$]) ++m4trace:configure.in:579: -2- AC_DEFINE_TRACE_LITERAL([GNUTLS_1_0_COMPAT]) ++m4trace:configure.in:579: -2- m4_pattern_allow([^GNUTLS_1_0_COMPAT$]) ++m4trace:configure.in:579: -2- AH_OUTPUT([GNUTLS_1_0_COMPAT], [/* enable GnuTLS 1.0 compatibility macros */ ++@%:@undef GNUTLS_1_0_COMPAT]) ++m4trace:configure.in:632: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SASL]) ++m4trace:configure.in:632: -1- m4_pattern_allow([^HAVE_SASL$]) ++m4trace:configure.in:632: -1- AH_OUTPUT([HAVE_SASL], [/* whether Cyrus SASL is available for authentication */ ++@%:@undef HAVE_SASL]) ++m4trace:configure.in:636: -1- AM_CONDITIONAL([HAVE_SASL], [test "x$with_sasl" = "xyes"]) ++m4trace:configure.in:636: -1- AC_SUBST([HAVE_SASL_TRUE]) ++m4trace:configure.in:636: -1- AC_SUBST_TRACE([HAVE_SASL_TRUE]) ++m4trace:configure.in:636: -1- m4_pattern_allow([^HAVE_SASL_TRUE$]) ++m4trace:configure.in:636: -1- AC_SUBST([HAVE_SASL_FALSE]) ++m4trace:configure.in:636: -1- AC_SUBST_TRACE([HAVE_SASL_FALSE]) ++m4trace:configure.in:636: -1- m4_pattern_allow([^HAVE_SASL_FALSE$]) ++m4trace:configure.in:636: -1- _AM_SUBST_NOTMAKE([HAVE_SASL_TRUE]) ++m4trace:configure.in:636: -1- _AM_SUBST_NOTMAKE([HAVE_SASL_FALSE]) ++m4trace:configure.in:637: -1- AC_SUBST([SASL_CFLAGS]) ++m4trace:configure.in:637: -1- AC_SUBST_TRACE([SASL_CFLAGS]) ++m4trace:configure.in:637: -1- m4_pattern_allow([^SASL_CFLAGS$]) ++m4trace:configure.in:638: -1- AC_SUBST([SASL_LIBS]) ++m4trace:configure.in:638: -1- AC_SUBST_TRACE([SASL_LIBS]) ++m4trace:configure.in:638: -1- m4_pattern_allow([^SASL_LIBS$]) ++m4trace:configure.in:650: -1- AC_SUBST([POLKIT_CFLAGS]) ++m4trace:configure.in:650: -1- AC_SUBST_TRACE([POLKIT_CFLAGS]) ++m4trace:configure.in:650: -1- m4_pattern_allow([^POLKIT_CFLAGS$]) ++m4trace:configure.in:650: -1- AC_SUBST([POLKIT_LIBS]) ++m4trace:configure.in:650: -1- AC_SUBST_TRACE([POLKIT_LIBS]) ++m4trace:configure.in:650: -1- m4_pattern_allow([^POLKIT_LIBS$]) ++m4trace:configure.in:660: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLKIT]) ++m4trace:configure.in:660: -1- m4_pattern_allow([^HAVE_POLKIT$]) ++m4trace:configure.in:660: -1- AH_OUTPUT([HAVE_POLKIT], [/* use PolicyKit for UNIX socket access checks */ ++@%:@undef HAVE_POLKIT]) ++m4trace:configure.in:667: -1- AH_OUTPUT([HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED], [/* Define to 1 if you have the `polkit_context_is_caller_authorized\' function. ++ */ ++@%:@undef HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED]) ++m4trace:configure.in:667: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED]) ++m4trace:configure.in:667: -1- m4_pattern_allow([^HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED$]) ++m4trace:configure.in:671: -1- AC_SUBST([POLKIT_AUTH]) ++m4trace:configure.in:671: -1- AC_SUBST_TRACE([POLKIT_AUTH]) ++m4trace:configure.in:671: -1- m4_pattern_allow([^POLKIT_AUTH$]) ++m4trace:configure.in:673: -1- AC_DEFINE_TRACE_LITERAL([POLKIT_AUTH]) ++m4trace:configure.in:673: -1- m4_pattern_allow([^POLKIT_AUTH$]) ++m4trace:configure.in:673: -1- AH_OUTPUT([POLKIT_AUTH], [/* Location of polkit-auth program */ ++@%:@undef POLKIT_AUTH]) ++m4trace:configure.in:677: -1- AM_CONDITIONAL([HAVE_POLKIT], [test "x$with_polkit" = "xyes"]) ++m4trace:configure.in:677: -1- AC_SUBST([HAVE_POLKIT_TRUE]) ++m4trace:configure.in:677: -1- AC_SUBST_TRACE([HAVE_POLKIT_TRUE]) ++m4trace:configure.in:677: -1- m4_pattern_allow([^HAVE_POLKIT_TRUE$]) ++m4trace:configure.in:677: -1- AC_SUBST([HAVE_POLKIT_FALSE]) ++m4trace:configure.in:677: -1- AC_SUBST_TRACE([HAVE_POLKIT_FALSE]) ++m4trace:configure.in:677: -1- m4_pattern_allow([^HAVE_POLKIT_FALSE$]) ++m4trace:configure.in:677: -1- _AM_SUBST_NOTMAKE([HAVE_POLKIT_TRUE]) ++m4trace:configure.in:677: -1- _AM_SUBST_NOTMAKE([HAVE_POLKIT_FALSE]) ++m4trace:configure.in:678: -1- AC_SUBST([POLKIT_CFLAGS]) ++m4trace:configure.in:678: -1- AC_SUBST_TRACE([POLKIT_CFLAGS]) ++m4trace:configure.in:678: -1- m4_pattern_allow([^POLKIT_CFLAGS$]) ++m4trace:configure.in:679: -1- AC_SUBST([POLKIT_LIBS]) ++m4trace:configure.in:679: -1- AC_SUBST_TRACE([POLKIT_LIBS]) ++m4trace:configure.in:679: -1- m4_pattern_allow([^POLKIT_LIBS$]) ++m4trace:configure.in:690: -1- AC_SUBST([AVAHI_CFLAGS]) ++m4trace:configure.in:690: -1- AC_SUBST_TRACE([AVAHI_CFLAGS]) ++m4trace:configure.in:690: -1- m4_pattern_allow([^AVAHI_CFLAGS$]) ++m4trace:configure.in:690: -1- AC_SUBST([AVAHI_LIBS]) ++m4trace:configure.in:690: -1- AC_SUBST_TRACE([AVAHI_LIBS]) ++m4trace:configure.in:690: -1- m4_pattern_allow([^AVAHI_LIBS$]) ++m4trace:configure.in:700: -1- AC_DEFINE_TRACE_LITERAL([HAVE_AVAHI]) ++m4trace:configure.in:700: -1- m4_pattern_allow([^HAVE_AVAHI$]) ++m4trace:configure.in:700: -1- AH_OUTPUT([HAVE_AVAHI], [/* whether Avahi is used to broadcast server presense */ ++@%:@undef HAVE_AVAHI]) ++m4trace:configure.in:704: -1- AM_CONDITIONAL([HAVE_AVAHI], [test "x$with_avahi" = "xyes"]) ++m4trace:configure.in:704: -1- AC_SUBST([HAVE_AVAHI_TRUE]) ++m4trace:configure.in:704: -1- AC_SUBST_TRACE([HAVE_AVAHI_TRUE]) ++m4trace:configure.in:704: -1- m4_pattern_allow([^HAVE_AVAHI_TRUE$]) ++m4trace:configure.in:704: -1- AC_SUBST([HAVE_AVAHI_FALSE]) ++m4trace:configure.in:704: -1- AC_SUBST_TRACE([HAVE_AVAHI_FALSE]) ++m4trace:configure.in:704: -1- m4_pattern_allow([^HAVE_AVAHI_FALSE$]) ++m4trace:configure.in:704: -1- _AM_SUBST_NOTMAKE([HAVE_AVAHI_TRUE]) ++m4trace:configure.in:704: -1- _AM_SUBST_NOTMAKE([HAVE_AVAHI_FALSE]) ++m4trace:configure.in:705: -1- AC_SUBST([AVAHI_CFLAGS]) ++m4trace:configure.in:705: -1- AC_SUBST_TRACE([AVAHI_CFLAGS]) ++m4trace:configure.in:705: -1- m4_pattern_allow([^AVAHI_CFLAGS$]) ++m4trace:configure.in:706: -1- AC_SUBST([AVAHI_LIBS]) ++m4trace:configure.in:706: -1- AC_SUBST_TRACE([AVAHI_LIBS]) ++m4trace:configure.in:706: -1- m4_pattern_allow([^AVAHI_LIBS$]) ++m4trace:configure.in:721: -1- AH_OUTPUT([HAVE_LIBSELINUX], [/* Define to 1 if you have the `selinux\' library (-lselinux). */ ++@%:@undef HAVE_LIBSELINUX]) ++m4trace:configure.in:721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSELINUX]) ++m4trace:configure.in:721: -1- m4_pattern_allow([^HAVE_LIBSELINUX$]) ++m4trace:configure.in:728: -1- AH_OUTPUT([HAVE_LIBSELINUX], [/* Define to 1 if you have the `selinux\' library (-lselinux). */ ++@%:@undef HAVE_LIBSELINUX]) ++m4trace:configure.in:728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSELINUX]) ++m4trace:configure.in:728: -1- m4_pattern_allow([^HAVE_LIBSELINUX$]) ++m4trace:configure.in:737: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELINUX]) ++m4trace:configure.in:737: -1- m4_pattern_allow([^HAVE_SELINUX$]) ++m4trace:configure.in:737: -1- AH_OUTPUT([HAVE_SELINUX], [/* whether SELinux is available for security */ ++@%:@undef HAVE_SELINUX]) ++m4trace:configure.in:739: -1- AM_CONDITIONAL([HAVE_SELINUX], [test "$with_selinux" != "no"]) ++m4trace:configure.in:739: -1- AC_SUBST([HAVE_SELINUX_TRUE]) ++m4trace:configure.in:739: -1- AC_SUBST_TRACE([HAVE_SELINUX_TRUE]) ++m4trace:configure.in:739: -1- m4_pattern_allow([^HAVE_SELINUX_TRUE$]) ++m4trace:configure.in:739: -1- AC_SUBST([HAVE_SELINUX_FALSE]) ++m4trace:configure.in:739: -1- AC_SUBST_TRACE([HAVE_SELINUX_FALSE]) ++m4trace:configure.in:739: -1- m4_pattern_allow([^HAVE_SELINUX_FALSE$]) ++m4trace:configure.in:739: -1- _AM_SUBST_NOTMAKE([HAVE_SELINUX_TRUE]) ++m4trace:configure.in:739: -1- _AM_SUBST_NOTMAKE([HAVE_SELINUX_FALSE]) ++m4trace:configure.in:740: -1- AC_SUBST([SELINUX_CFLAGS]) ++m4trace:configure.in:740: -1- AC_SUBST_TRACE([SELINUX_CFLAGS]) ++m4trace:configure.in:740: -1- m4_pattern_allow([^SELINUX_CFLAGS$]) ++m4trace:configure.in:741: -1- AC_SUBST([SELINUX_LIBS]) ++m4trace:configure.in:741: -1- AC_SUBST_TRACE([SELINUX_LIBS]) ++m4trace:configure.in:741: -1- m4_pattern_allow([^SELINUX_LIBS$]) ++m4trace:configure.in:775: -1- AC_DEFINE_TRACE_LITERAL([WITH_SECDRIVER_SELINUX]) ++m4trace:configure.in:775: -1- m4_pattern_allow([^WITH_SECDRIVER_SELINUX$]) ++m4trace:configure.in:775: -1- AH_OUTPUT([WITH_SECDRIVER_SELINUX], [/* whether SELinux security driver is available */ ++@%:@undef WITH_SECDRIVER_SELINUX]) ++m4trace:configure.in:778: -1- AM_CONDITIONAL([WITH_SECDRIVER_SELINUX], [test "$with_secdriver_selinux" != "no"]) ++m4trace:configure.in:778: -1- AC_SUBST([WITH_SECDRIVER_SELINUX_TRUE]) ++m4trace:configure.in:778: -1- AC_SUBST_TRACE([WITH_SECDRIVER_SELINUX_TRUE]) ++m4trace:configure.in:778: -1- m4_pattern_allow([^WITH_SECDRIVER_SELINUX_TRUE$]) ++m4trace:configure.in:778: -1- AC_SUBST([WITH_SECDRIVER_SELINUX_FALSE]) ++m4trace:configure.in:778: -1- AC_SUBST_TRACE([WITH_SECDRIVER_SELINUX_FALSE]) ++m4trace:configure.in:778: -1- m4_pattern_allow([^WITH_SECDRIVER_SELINUX_FALSE$]) ++m4trace:configure.in:778: -1- _AM_SUBST_NOTMAKE([WITH_SECDRIVER_SELINUX_TRUE]) ++m4trace:configure.in:778: -1- _AM_SUBST_NOTMAKE([WITH_SECDRIVER_SELINUX_FALSE]) ++m4trace:configure.in:794: -1- AH_OUTPUT([HAVE_LIBAPPARMOR], [/* Define to 1 if you have the `apparmor\' library (-lapparmor). */ ++@%:@undef HAVE_LIBAPPARMOR]) ++m4trace:configure.in:794: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBAPPARMOR]) ++m4trace:configure.in:794: -1- m4_pattern_allow([^HAVE_LIBAPPARMOR$]) ++m4trace:configure.in:795: -1- AH_OUTPUT([HAVE_LIBAPPARMOR], [/* Define to 1 if you have the `apparmor\' library (-lapparmor). */ ++@%:@undef HAVE_LIBAPPARMOR]) ++m4trace:configure.in:795: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBAPPARMOR]) ++m4trace:configure.in:795: -1- m4_pattern_allow([^HAVE_LIBAPPARMOR$]) ++m4trace:configure.in:802: -1- AH_OUTPUT([HAVE_LIBAPPARMOR], [/* Define to 1 if you have the `apparmor\' library (-lapparmor). */ ++@%:@undef HAVE_LIBAPPARMOR]) ++m4trace:configure.in:802: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBAPPARMOR]) ++m4trace:configure.in:802: -1- m4_pattern_allow([^HAVE_LIBAPPARMOR$]) ++m4trace:configure.in:803: -1- AH_OUTPUT([HAVE_LIBAPPARMOR], [/* Define to 1 if you have the `apparmor\' library (-lapparmor). */ ++@%:@undef HAVE_LIBAPPARMOR]) ++m4trace:configure.in:803: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBAPPARMOR]) ++m4trace:configure.in:803: -1- m4_pattern_allow([^HAVE_LIBAPPARMOR$]) ++m4trace:configure.in:812: -1- AC_DEFINE_TRACE_LITERAL([HAVE_APPARMOR]) ++m4trace:configure.in:812: -1- m4_pattern_allow([^HAVE_APPARMOR$]) ++m4trace:configure.in:812: -1- AH_OUTPUT([HAVE_APPARMOR], [/* whether AppArmor is available for security */ ++@%:@undef HAVE_APPARMOR]) ++m4trace:configure.in:813: -1- AC_DEFINE_TRACE_LITERAL([APPARMOR_DIR]) ++m4trace:configure.in:813: -1- m4_pattern_allow([^APPARMOR_DIR$]) ++m4trace:configure.in:813: -1- AH_OUTPUT([APPARMOR_DIR], [/* path to apparmor directory */ ++@%:@undef APPARMOR_DIR]) ++m4trace:configure.in:814: -1- AC_DEFINE_TRACE_LITERAL([APPARMOR_PROFILES_PATH]) ++m4trace:configure.in:814: -1- m4_pattern_allow([^APPARMOR_PROFILES_PATH$]) ++m4trace:configure.in:814: -1- AH_OUTPUT([APPARMOR_PROFILES_PATH], [/* path to kernel profiles */ ++@%:@undef APPARMOR_PROFILES_PATH]) ++m4trace:configure.in:815: -1- AC_DEFINE_TRACE_LITERAL([VIRT_AA_HELPER_PATH]) ++m4trace:configure.in:815: -1- m4_pattern_allow([^VIRT_AA_HELPER_PATH$]) ++m4trace:configure.in:815: -1- AH_OUTPUT([VIRT_AA_HELPER_PATH], [/* path to virt-aa-helper */ ++@%:@undef VIRT_AA_HELPER_PATH]) ++m4trace:configure.in:817: -1- AM_CONDITIONAL([HAVE_APPARMOR], [test "$with_apparmor" != "no"]) ++m4trace:configure.in:817: -1- AC_SUBST([HAVE_APPARMOR_TRUE]) ++m4trace:configure.in:817: -1- AC_SUBST_TRACE([HAVE_APPARMOR_TRUE]) ++m4trace:configure.in:817: -1- m4_pattern_allow([^HAVE_APPARMOR_TRUE$]) ++m4trace:configure.in:817: -1- AC_SUBST([HAVE_APPARMOR_FALSE]) ++m4trace:configure.in:817: -1- AC_SUBST_TRACE([HAVE_APPARMOR_FALSE]) ++m4trace:configure.in:817: -1- m4_pattern_allow([^HAVE_APPARMOR_FALSE$]) ++m4trace:configure.in:817: -1- _AM_SUBST_NOTMAKE([HAVE_APPARMOR_TRUE]) ++m4trace:configure.in:817: -1- _AM_SUBST_NOTMAKE([HAVE_APPARMOR_FALSE]) ++m4trace:configure.in:818: -1- AC_SUBST([APPARMOR_CFLAGS]) ++m4trace:configure.in:818: -1- AC_SUBST_TRACE([APPARMOR_CFLAGS]) ++m4trace:configure.in:818: -1- m4_pattern_allow([^APPARMOR_CFLAGS$]) ++m4trace:configure.in:819: -1- AC_SUBST([APPARMOR_LIBS]) ++m4trace:configure.in:819: -1- AC_SUBST_TRACE([APPARMOR_LIBS]) ++m4trace:configure.in:819: -1- m4_pattern_allow([^APPARMOR_LIBS$]) ++m4trace:configure.in:853: -1- AC_DEFINE_TRACE_LITERAL([WITH_SECDRIVER_APPARMOR]) ++m4trace:configure.in:853: -1- m4_pattern_allow([^WITH_SECDRIVER_APPARMOR$]) ++m4trace:configure.in:853: -1- AH_OUTPUT([WITH_SECDRIVER_APPARMOR], [/* whether AppArmor security driver is available */ ++@%:@undef WITH_SECDRIVER_APPARMOR]) ++m4trace:configure.in:856: -1- AM_CONDITIONAL([WITH_SECDRIVER_APPARMOR], [test "$with_secdriver_apparmor" != "no"]) ++m4trace:configure.in:856: -1- AC_SUBST([WITH_SECDRIVER_APPARMOR_TRUE]) ++m4trace:configure.in:856: -1- AC_SUBST_TRACE([WITH_SECDRIVER_APPARMOR_TRUE]) ++m4trace:configure.in:856: -1- m4_pattern_allow([^WITH_SECDRIVER_APPARMOR_TRUE$]) ++m4trace:configure.in:856: -1- AC_SUBST([WITH_SECDRIVER_APPARMOR_FALSE]) ++m4trace:configure.in:856: -1- AC_SUBST_TRACE([WITH_SECDRIVER_APPARMOR_FALSE]) ++m4trace:configure.in:856: -1- m4_pattern_allow([^WITH_SECDRIVER_APPARMOR_FALSE$]) ++m4trace:configure.in:856: -1- _AM_SUBST_NOTMAKE([WITH_SECDRIVER_APPARMOR_TRUE]) ++m4trace:configure.in:856: -1- _AM_SUBST_NOTMAKE([WITH_SECDRIVER_APPARMOR_FALSE]) ++m4trace:configure.in:873: -1- AH_OUTPUT([HAVE_LIBNUMA], [/* Define to 1 if you have the `numa\' library (-lnuma). */ ++@%:@undef HAVE_LIBNUMA]) ++m4trace:configure.in:873: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNUMA]) ++m4trace:configure.in:873: -1- m4_pattern_allow([^HAVE_LIBNUMA$]) ++m4trace:configure.in:880: -1- AH_OUTPUT([HAVE_LIBNUMA], [/* Define to 1 if you have the `numa\' library (-lnuma). */ ++@%:@undef HAVE_LIBNUMA]) ++m4trace:configure.in:880: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNUMA]) ++m4trace:configure.in:880: -1- m4_pattern_allow([^HAVE_LIBNUMA$]) ++m4trace:configure.in:889: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NUMACTL]) ++m4trace:configure.in:889: -1- m4_pattern_allow([^HAVE_NUMACTL$]) ++m4trace:configure.in:889: -1- AH_OUTPUT([HAVE_NUMACTL], [/* whether numactl is available for topology info */ ++@%:@undef HAVE_NUMACTL]) ++m4trace:configure.in:891: -1- AM_CONDITIONAL([HAVE_NUMACTL], [test "$with_numactl" != "no"]) ++m4trace:configure.in:891: -1- AC_SUBST([HAVE_NUMACTL_TRUE]) ++m4trace:configure.in:891: -1- AC_SUBST_TRACE([HAVE_NUMACTL_TRUE]) ++m4trace:configure.in:891: -1- m4_pattern_allow([^HAVE_NUMACTL_TRUE$]) ++m4trace:configure.in:891: -1- AC_SUBST([HAVE_NUMACTL_FALSE]) ++m4trace:configure.in:891: -1- AC_SUBST_TRACE([HAVE_NUMACTL_FALSE]) ++m4trace:configure.in:891: -1- m4_pattern_allow([^HAVE_NUMACTL_FALSE$]) ++m4trace:configure.in:891: -1- _AM_SUBST_NOTMAKE([HAVE_NUMACTL_TRUE]) ++m4trace:configure.in:891: -1- _AM_SUBST_NOTMAKE([HAVE_NUMACTL_FALSE]) ++m4trace:configure.in:892: -1- AC_SUBST([NUMACTL_CFLAGS]) ++m4trace:configure.in:892: -1- AC_SUBST_TRACE([NUMACTL_CFLAGS]) ++m4trace:configure.in:892: -1- m4_pattern_allow([^NUMACTL_CFLAGS$]) ++m4trace:configure.in:893: -1- AC_SUBST([NUMACTL_LIBS]) ++m4trace:configure.in:893: -1- AC_SUBST_TRACE([NUMACTL_LIBS]) ++m4trace:configure.in:893: -1- m4_pattern_allow([^NUMACTL_LIBS$]) ++m4trace:configure.in:916: -1- AC_DEFINE_TRACE_LITERAL([WITH_UML]) ++m4trace:configure.in:916: -1- m4_pattern_allow([^WITH_UML$]) ++m4trace:configure.in:916: -1- AH_OUTPUT([WITH_UML], [/* whether UML driver is enabled */ ++@%:@undef WITH_UML]) ++m4trace:configure.in:918: -1- AM_CONDITIONAL([WITH_UML], [test "$with_uml" = "yes"]) ++m4trace:configure.in:918: -1- AC_SUBST([WITH_UML_TRUE]) ++m4trace:configure.in:918: -1- AC_SUBST_TRACE([WITH_UML_TRUE]) ++m4trace:configure.in:918: -1- m4_pattern_allow([^WITH_UML_TRUE$]) ++m4trace:configure.in:918: -1- AC_SUBST([WITH_UML_FALSE]) ++m4trace:configure.in:918: -1- AC_SUBST_TRACE([WITH_UML_FALSE]) ++m4trace:configure.in:918: -1- m4_pattern_allow([^WITH_UML_FALSE$]) ++m4trace:configure.in:918: -1- _AM_SUBST_NOTMAKE([WITH_UML_TRUE]) ++m4trace:configure.in:918: -1- _AM_SUBST_NOTMAKE([WITH_UML_FALSE]) ++m4trace:configure.in:935: -1- AC_SUBST([LIBSSH_LIBS]) ++m4trace:configure.in:935: -1- AC_SUBST_TRACE([LIBSSH_LIBS]) ++m4trace:configure.in:935: -1- m4_pattern_allow([^LIBSSH_LIBS$]) ++m4trace:configure.in:943: -1- AH_OUTPUT([HAVE_LIBSSH_LIBSSH_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LIBSSH_LIBSSH_H]) ++m4trace:configure.in:943: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH_LIBSSH_H]) ++m4trace:configure.in:943: -1- m4_pattern_allow([^HAVE_LIBSSH_LIBSSH_H$]) ++m4trace:configure.in:943: -1- AC_SUBST([LIBSSH_CFLAGS]) ++m4trace:configure.in:943: -1- AC_SUBST_TRACE([LIBSSH_CFLAGS]) ++m4trace:configure.in:943: -1- m4_pattern_allow([^LIBSSH_CFLAGS$]) ++m4trace:configure.in:943: -1- AC_DEFINE_TRACE_LITERAL([WITH_PHYP]) ++m4trace:configure.in:943: -1- m4_pattern_allow([^WITH_PHYP$]) ++m4trace:configure.in:943: -1- AH_OUTPUT([WITH_PHYP], [/* whether IBM HMC / IVM driver is enabled */ ++@%:@undef WITH_PHYP]) ++m4trace:configure.in:955: -1- AC_SUBST([LIBSSH_LIBS]) ++m4trace:configure.in:955: -1- AC_SUBST_TRACE([LIBSSH_LIBS]) ++m4trace:configure.in:955: -1- m4_pattern_allow([^LIBSSH_LIBS$]) ++m4trace:configure.in:961: -1- AH_OUTPUT([HAVE_LIBSSH_LIBSSH_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LIBSSH_LIBSSH_H]) ++m4trace:configure.in:961: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH_LIBSSH_H]) ++m4trace:configure.in:961: -1- m4_pattern_allow([^HAVE_LIBSSH_LIBSSH_H$]) ++m4trace:configure.in:961: -1- AC_SUBST([LIBSSH_CFLAGS]) ++m4trace:configure.in:961: -1- AC_SUBST_TRACE([LIBSSH_CFLAGS]) ++m4trace:configure.in:961: -1- m4_pattern_allow([^LIBSSH_CFLAGS$]) ++m4trace:configure.in:966: -1- AC_DEFINE_TRACE_LITERAL([WITH_PHYP]) ++m4trace:configure.in:966: -1- m4_pattern_allow([^WITH_PHYP$]) ++m4trace:configure.in:966: -1- AH_OUTPUT([WITH_PHYP], [/* whether IBM HMC / IVM driver is enabled */ ++@%:@undef WITH_PHYP]) ++m4trace:configure.in:969: -1- AM_CONDITIONAL([WITH_PHYP], [test "$with_phyp" = "yes"]) ++m4trace:configure.in:969: -1- AC_SUBST([WITH_PHYP_TRUE]) ++m4trace:configure.in:969: -1- AC_SUBST_TRACE([WITH_PHYP_TRUE]) ++m4trace:configure.in:969: -1- m4_pattern_allow([^WITH_PHYP_TRUE$]) ++m4trace:configure.in:969: -1- AC_SUBST([WITH_PHYP_FALSE]) ++m4trace:configure.in:969: -1- AC_SUBST_TRACE([WITH_PHYP_FALSE]) ++m4trace:configure.in:969: -1- m4_pattern_allow([^WITH_PHYP_FALSE$]) ++m4trace:configure.in:969: -1- _AM_SUBST_NOTMAKE([WITH_PHYP_TRUE]) ++m4trace:configure.in:969: -1- _AM_SUBST_NOTMAKE([WITH_PHYP_FALSE]) ++m4trace:configure.in:988: -1- AH_OUTPUT([HAVE_LIBCAP_NG], [/* Define to 1 if you have the `cap-ng\' library (-lcap-ng). */ ++@%:@undef HAVE_LIBCAP_NG]) ++m4trace:configure.in:988: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCAP_NG]) ++m4trace:configure.in:988: -1- m4_pattern_allow([^HAVE_LIBCAP_NG$]) ++m4trace:configure.in:995: -1- AH_OUTPUT([HAVE_LIBCAP_NG], [/* Define to 1 if you have the `cap-ng\' library (-lcap-ng). */ ++@%:@undef HAVE_LIBCAP_NG]) ++m4trace:configure.in:995: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCAP_NG]) ++m4trace:configure.in:995: -1- m4_pattern_allow([^HAVE_LIBCAP_NG$]) ++m4trace:configure.in:1004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CAPNG]) ++m4trace:configure.in:1004: -1- m4_pattern_allow([^HAVE_CAPNG$]) ++m4trace:configure.in:1004: -1- AH_OUTPUT([HAVE_CAPNG], [/* whether capng is available for privilege reduction */ ++@%:@undef HAVE_CAPNG]) ++m4trace:configure.in:1006: -1- AM_CONDITIONAL([HAVE_CAPNG], [test "$with_capng" != "no"]) ++m4trace:configure.in:1006: -1- AC_SUBST([HAVE_CAPNG_TRUE]) ++m4trace:configure.in:1006: -1- AC_SUBST_TRACE([HAVE_CAPNG_TRUE]) ++m4trace:configure.in:1006: -1- m4_pattern_allow([^HAVE_CAPNG_TRUE$]) ++m4trace:configure.in:1006: -1- AC_SUBST([HAVE_CAPNG_FALSE]) ++m4trace:configure.in:1006: -1- AC_SUBST_TRACE([HAVE_CAPNG_FALSE]) ++m4trace:configure.in:1006: -1- m4_pattern_allow([^HAVE_CAPNG_FALSE$]) ++m4trace:configure.in:1006: -1- _AM_SUBST_NOTMAKE([HAVE_CAPNG_TRUE]) ++m4trace:configure.in:1006: -1- _AM_SUBST_NOTMAKE([HAVE_CAPNG_FALSE]) ++m4trace:configure.in:1007: -1- AC_SUBST([CAPNG_CFLAGS]) ++m4trace:configure.in:1007: -1- AC_SUBST_TRACE([CAPNG_CFLAGS]) ++m4trace:configure.in:1007: -1- m4_pattern_allow([^CAPNG_CFLAGS$]) ++m4trace:configure.in:1008: -1- AC_SUBST([CAPNG_LIBS]) ++m4trace:configure.in:1008: -1- AC_SUBST_TRACE([CAPNG_LIBS]) ++m4trace:configure.in:1008: -1- m4_pattern_allow([^CAPNG_LIBS$]) ++m4trace:configure.in:1013: -1- AH_OUTPUT([HAVE_READLINE_READLINE_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_READLINE_READLINE_H]) ++m4trace:configure.in:1013: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE_READLINE_H]) ++m4trace:configure.in:1013: -1- m4_pattern_allow([^HAVE_READLINE_READLINE_H$]) ++m4trace:configure.in:1045: -1- AC_DEFINE_TRACE_LITERAL([USE_READLINE]) ++m4trace:configure.in:1045: -1- m4_pattern_allow([^USE_READLINE$]) ++m4trace:configure.in:1045: -1- AH_OUTPUT([USE_READLINE], [/* whether virsh can use readline */ ++@%:@undef USE_READLINE]) ++m4trace:configure.in:1051: -1- AC_SUBST([READLINE_CFLAGS]) ++m4trace:configure.in:1051: -1- AC_SUBST_TRACE([READLINE_CFLAGS]) ++m4trace:configure.in:1051: -1- m4_pattern_allow([^READLINE_CFLAGS$]) ++m4trace:configure.in:1052: -1- AC_SUBST([VIRSH_LIBS]) ++m4trace:configure.in:1052: -1- AC_SUBST_TRACE([VIRSH_LIBS]) ++m4trace:configure.in:1052: -1- m4_pattern_allow([^VIRSH_LIBS$]) ++m4trace:configure.in:1061: -1- AC_DEFINE_TRACE_LITERAL([WITH_NETWORK]) ++m4trace:configure.in:1061: -1- m4_pattern_allow([^WITH_NETWORK$]) ++m4trace:configure.in:1061: -1- AH_OUTPUT([WITH_NETWORK], [/* whether network driver is enabled */ ++@%:@undef WITH_NETWORK]) ++m4trace:configure.in:1063: -1- AM_CONDITIONAL([WITH_NETWORK], [test "$with_network" = "yes"]) ++m4trace:configure.in:1063: -1- AC_SUBST([WITH_NETWORK_TRUE]) ++m4trace:configure.in:1063: -1- AC_SUBST_TRACE([WITH_NETWORK_TRUE]) ++m4trace:configure.in:1063: -1- m4_pattern_allow([^WITH_NETWORK_TRUE$]) ++m4trace:configure.in:1063: -1- AC_SUBST([WITH_NETWORK_FALSE]) ++m4trace:configure.in:1063: -1- AC_SUBST_TRACE([WITH_NETWORK_FALSE]) ++m4trace:configure.in:1063: -1- m4_pattern_allow([^WITH_NETWORK_FALSE$]) ++m4trace:configure.in:1063: -1- _AM_SUBST_NOTMAKE([WITH_NETWORK_TRUE]) ++m4trace:configure.in:1063: -1- _AM_SUBST_NOTMAKE([WITH_NETWORK_FALSE]) ++m4trace:configure.in:1068: -1- AC_DEFINE_TRACE_LITERAL([WITH_BRIDGE]) ++m4trace:configure.in:1068: -1- m4_pattern_allow([^WITH_BRIDGE$]) ++m4trace:configure.in:1068: -1- AH_OUTPUT([WITH_BRIDGE], [/* whether bridge code is needed */ ++@%:@undef WITH_BRIDGE]) ++m4trace:configure.in:1070: -1- AM_CONDITIONAL([WITH_BRIDGE], [test "$with_bridge" = "yes"]) ++m4trace:configure.in:1070: -1- AC_SUBST([WITH_BRIDGE_TRUE]) ++m4trace:configure.in:1070: -1- AC_SUBST_TRACE([WITH_BRIDGE_TRUE]) ++m4trace:configure.in:1070: -1- m4_pattern_allow([^WITH_BRIDGE_TRUE$]) ++m4trace:configure.in:1070: -1- AC_SUBST([WITH_BRIDGE_FALSE]) ++m4trace:configure.in:1070: -1- AC_SUBST_TRACE([WITH_BRIDGE_FALSE]) ++m4trace:configure.in:1070: -1- m4_pattern_allow([^WITH_BRIDGE_FALSE$]) ++m4trace:configure.in:1070: -1- _AM_SUBST_NOTMAKE([WITH_BRIDGE_TRUE]) ++m4trace:configure.in:1070: -1- _AM_SUBST_NOTMAKE([WITH_BRIDGE_FALSE]) ++m4trace:configure.in:1080: -1- AC_SUBST([NETCF_CFLAGS]) ++m4trace:configure.in:1080: -1- AC_SUBST_TRACE([NETCF_CFLAGS]) ++m4trace:configure.in:1080: -1- m4_pattern_allow([^NETCF_CFLAGS$]) ++m4trace:configure.in:1080: -1- AC_SUBST([NETCF_LIBS]) ++m4trace:configure.in:1080: -1- AC_SUBST_TRACE([NETCF_LIBS]) ++m4trace:configure.in:1080: -1- m4_pattern_allow([^NETCF_LIBS$]) ++m4trace:configure.in:1090: -1- AC_DEFINE_TRACE_LITERAL([WITH_NETCF]) ++m4trace:configure.in:1090: -1- m4_pattern_allow([^WITH_NETCF$]) ++m4trace:configure.in:1090: -1- AH_OUTPUT([WITH_NETCF], [/* whether libnetcf is available to configure physical host network interfaces ++ */ ++@%:@undef WITH_NETCF]) ++m4trace:configure.in:1094: -1- AM_CONDITIONAL([WITH_NETCF], [test "$with_netcf" = "yes"]) ++m4trace:configure.in:1094: -1- AC_SUBST([WITH_NETCF_TRUE]) ++m4trace:configure.in:1094: -1- AC_SUBST_TRACE([WITH_NETCF_TRUE]) ++m4trace:configure.in:1094: -1- m4_pattern_allow([^WITH_NETCF_TRUE$]) ++m4trace:configure.in:1094: -1- AC_SUBST([WITH_NETCF_FALSE]) ++m4trace:configure.in:1094: -1- AC_SUBST_TRACE([WITH_NETCF_FALSE]) ++m4trace:configure.in:1094: -1- m4_pattern_allow([^WITH_NETCF_FALSE$]) ++m4trace:configure.in:1094: -1- _AM_SUBST_NOTMAKE([WITH_NETCF_TRUE]) ++m4trace:configure.in:1094: -1- _AM_SUBST_NOTMAKE([WITH_NETCF_FALSE]) ++m4trace:configure.in:1095: -1- AC_SUBST([NETCF_CFLAGS]) ++m4trace:configure.in:1095: -1- AC_SUBST_TRACE([NETCF_CFLAGS]) ++m4trace:configure.in:1095: -1- m4_pattern_allow([^NETCF_CFLAGS$]) ++m4trace:configure.in:1096: -1- AC_SUBST([NETCF_LIBS]) ++m4trace:configure.in:1096: -1- AC_SUBST_TRACE([NETCF_LIBS]) ++m4trace:configure.in:1096: -1- m4_pattern_allow([^NETCF_LIBS$]) ++m4trace:configure.in:1119: -1- AC_DEFINE_TRACE_LITERAL([WITH_STORAGE_DIR]) ++m4trace:configure.in:1119: -1- m4_pattern_allow([^WITH_STORAGE_DIR$]) ++m4trace:configure.in:1119: -1- AH_OUTPUT([WITH_STORAGE_DIR], [/* whether directory backend for storage driver is enabled */ ++@%:@undef WITH_STORAGE_DIR]) ++m4trace:configure.in:1121: -1- AM_CONDITIONAL([WITH_STORAGE_DIR], [test "$with_storage_dir" = "yes"]) ++m4trace:configure.in:1121: -1- AC_SUBST([WITH_STORAGE_DIR_TRUE]) ++m4trace:configure.in:1121: -1- AC_SUBST_TRACE([WITH_STORAGE_DIR_TRUE]) ++m4trace:configure.in:1121: -1- m4_pattern_allow([^WITH_STORAGE_DIR_TRUE$]) ++m4trace:configure.in:1121: -1- AC_SUBST([WITH_STORAGE_DIR_FALSE]) ++m4trace:configure.in:1121: -1- AC_SUBST_TRACE([WITH_STORAGE_DIR_FALSE]) ++m4trace:configure.in:1121: -1- m4_pattern_allow([^WITH_STORAGE_DIR_FALSE$]) ++m4trace:configure.in:1121: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_DIR_TRUE]) ++m4trace:configure.in:1121: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_DIR_FALSE]) ++m4trace:configure.in:1125: -1- AC_SUBST([MOUNT]) ++m4trace:configure.in:1125: -1- AC_SUBST_TRACE([MOUNT]) ++m4trace:configure.in:1125: -1- m4_pattern_allow([^MOUNT$]) ++m4trace:configure.in:1126: -1- AC_SUBST([UMOUNT]) ++m4trace:configure.in:1126: -1- AC_SUBST_TRACE([UMOUNT]) ++m4trace:configure.in:1126: -1- m4_pattern_allow([^UMOUNT$]) ++m4trace:configure.in:1138: -1- AC_DEFINE_TRACE_LITERAL([WITH_STORAGE_FS]) ++m4trace:configure.in:1138: -1- m4_pattern_allow([^WITH_STORAGE_FS$]) ++m4trace:configure.in:1138: -1- AH_OUTPUT([WITH_STORAGE_FS], [/* whether FS backend for storage driver is enabled */ ++@%:@undef WITH_STORAGE_FS]) ++m4trace:configure.in:1139: -1- AC_DEFINE_TRACE_LITERAL([MOUNT]) ++m4trace:configure.in:1139: -1- m4_pattern_allow([^MOUNT$]) ++m4trace:configure.in:1139: -1- AH_OUTPUT([MOUNT], [/* Location or name of the mount program */ ++@%:@undef MOUNT]) ++m4trace:configure.in:1141: -1- AC_DEFINE_TRACE_LITERAL([UMOUNT]) ++m4trace:configure.in:1141: -1- m4_pattern_allow([^UMOUNT$]) ++m4trace:configure.in:1141: -1- AH_OUTPUT([UMOUNT], [/* Location or name of the mount program */ ++@%:@undef UMOUNT]) ++m4trace:configure.in:1145: -1- AM_CONDITIONAL([WITH_STORAGE_FS], [test "$with_storage_fs" = "yes"]) ++m4trace:configure.in:1145: -1- AC_SUBST([WITH_STORAGE_FS_TRUE]) ++m4trace:configure.in:1145: -1- AC_SUBST_TRACE([WITH_STORAGE_FS_TRUE]) ++m4trace:configure.in:1145: -1- m4_pattern_allow([^WITH_STORAGE_FS_TRUE$]) ++m4trace:configure.in:1145: -1- AC_SUBST([WITH_STORAGE_FS_FALSE]) ++m4trace:configure.in:1145: -1- AC_SUBST_TRACE([WITH_STORAGE_FS_FALSE]) ++m4trace:configure.in:1145: -1- m4_pattern_allow([^WITH_STORAGE_FS_FALSE$]) ++m4trace:configure.in:1145: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_FS_TRUE]) ++m4trace:configure.in:1145: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_FS_FALSE]) ++m4trace:configure.in:1147: -1- AC_SUBST([SHOWMOUNT]) ++m4trace:configure.in:1147: -1- AC_SUBST_TRACE([SHOWMOUNT]) ++m4trace:configure.in:1147: -1- m4_pattern_allow([^SHOWMOUNT$]) ++m4trace:configure.in:1148: -1- AC_DEFINE_TRACE_LITERAL([SHOWMOUNT]) ++m4trace:configure.in:1148: -1- m4_pattern_allow([^SHOWMOUNT$]) ++m4trace:configure.in:1148: -1- AH_OUTPUT([SHOWMOUNT], [/* Location or name of the showmount program */ ++@%:@undef SHOWMOUNT]) ++m4trace:configure.in:1153: -1- AC_SUBST([PVCREATE]) ++m4trace:configure.in:1153: -1- AC_SUBST_TRACE([PVCREATE]) ++m4trace:configure.in:1153: -1- m4_pattern_allow([^PVCREATE$]) ++m4trace:configure.in:1154: -1- AC_SUBST([VGCREATE]) ++m4trace:configure.in:1154: -1- AC_SUBST_TRACE([VGCREATE]) ++m4trace:configure.in:1154: -1- m4_pattern_allow([^VGCREATE$]) ++m4trace:configure.in:1155: -1- AC_SUBST([LVCREATE]) ++m4trace:configure.in:1155: -1- AC_SUBST_TRACE([LVCREATE]) ++m4trace:configure.in:1155: -1- m4_pattern_allow([^LVCREATE$]) ++m4trace:configure.in:1156: -1- AC_SUBST([PVREMOVE]) ++m4trace:configure.in:1156: -1- AC_SUBST_TRACE([PVREMOVE]) ++m4trace:configure.in:1156: -1- m4_pattern_allow([^PVREMOVE$]) ++m4trace:configure.in:1157: -1- AC_SUBST([VGREMOVE]) ++m4trace:configure.in:1157: -1- AC_SUBST_TRACE([VGREMOVE]) ++m4trace:configure.in:1157: -1- m4_pattern_allow([^VGREMOVE$]) ++m4trace:configure.in:1158: -1- AC_SUBST([LVREMOVE]) ++m4trace:configure.in:1158: -1- AC_SUBST_TRACE([LVREMOVE]) ++m4trace:configure.in:1158: -1- m4_pattern_allow([^LVREMOVE$]) ++m4trace:configure.in:1159: -1- AC_SUBST([VGCHANGE]) ++m4trace:configure.in:1159: -1- AC_SUBST_TRACE([VGCHANGE]) ++m4trace:configure.in:1159: -1- m4_pattern_allow([^VGCHANGE$]) ++m4trace:configure.in:1160: -1- AC_SUBST([VGSCAN]) ++m4trace:configure.in:1160: -1- AC_SUBST_TRACE([VGSCAN]) ++m4trace:configure.in:1160: -1- m4_pattern_allow([^VGSCAN$]) ++m4trace:configure.in:1161: -1- AC_SUBST([PVS]) ++m4trace:configure.in:1161: -1- AC_SUBST_TRACE([PVS]) ++m4trace:configure.in:1161: -1- m4_pattern_allow([^PVS$]) ++m4trace:configure.in:1162: -1- AC_SUBST([VGS]) ++m4trace:configure.in:1162: -1- AC_SUBST_TRACE([VGS]) ++m4trace:configure.in:1162: -1- m4_pattern_allow([^VGS$]) ++m4trace:configure.in:1163: -1- AC_SUBST([LVS]) ++m4trace:configure.in:1163: -1- AC_SUBST_TRACE([LVS]) ++m4trace:configure.in:1163: -1- m4_pattern_allow([^LVS$]) ++m4trace:configure.in:1194: -1- AC_DEFINE_TRACE_LITERAL([WITH_STORAGE_LVM]) ++m4trace:configure.in:1194: -1- m4_pattern_allow([^WITH_STORAGE_LVM$]) ++m4trace:configure.in:1194: -1- AH_OUTPUT([WITH_STORAGE_LVM], [/* whether LVM backend for storage driver is enabled */ ++@%:@undef WITH_STORAGE_LVM]) ++m4trace:configure.in:1195: -1- AC_DEFINE_TRACE_LITERAL([PVCREATE]) ++m4trace:configure.in:1195: -1- m4_pattern_allow([^PVCREATE$]) ++m4trace:configure.in:1195: -1- AH_OUTPUT([PVCREATE], [/* Location of pvcreate program */ ++@%:@undef PVCREATE]) ++m4trace:configure.in:1196: -1- AC_DEFINE_TRACE_LITERAL([VGCREATE]) ++m4trace:configure.in:1196: -1- m4_pattern_allow([^VGCREATE$]) ++m4trace:configure.in:1196: -1- AH_OUTPUT([VGCREATE], [/* Location of vgcreate program */ ++@%:@undef VGCREATE]) ++m4trace:configure.in:1197: -1- AC_DEFINE_TRACE_LITERAL([LVCREATE]) ++m4trace:configure.in:1197: -1- m4_pattern_allow([^LVCREATE$]) ++m4trace:configure.in:1197: -1- AH_OUTPUT([LVCREATE], [/* Location of lvcreate program */ ++@%:@undef LVCREATE]) ++m4trace:configure.in:1198: -1- AC_DEFINE_TRACE_LITERAL([PVREMOVE]) ++m4trace:configure.in:1198: -1- m4_pattern_allow([^PVREMOVE$]) ++m4trace:configure.in:1198: -1- AH_OUTPUT([PVREMOVE], [/* Location of pvcreate program */ ++@%:@undef PVREMOVE]) ++m4trace:configure.in:1199: -1- AC_DEFINE_TRACE_LITERAL([VGREMOVE]) ++m4trace:configure.in:1199: -1- m4_pattern_allow([^VGREMOVE$]) ++m4trace:configure.in:1199: -1- AH_OUTPUT([VGREMOVE], [/* Location of vgcreate program */ ++@%:@undef VGREMOVE]) ++m4trace:configure.in:1200: -1- AC_DEFINE_TRACE_LITERAL([LVREMOVE]) ++m4trace:configure.in:1200: -1- m4_pattern_allow([^LVREMOVE$]) ++m4trace:configure.in:1200: -1- AH_OUTPUT([LVREMOVE], [/* Location of lvcreate program */ ++@%:@undef LVREMOVE]) ++m4trace:configure.in:1201: -1- AC_DEFINE_TRACE_LITERAL([VGCHANGE]) ++m4trace:configure.in:1201: -1- m4_pattern_allow([^VGCHANGE$]) ++m4trace:configure.in:1201: -1- AH_OUTPUT([VGCHANGE], [/* Location of vgchange program */ ++@%:@undef VGCHANGE]) ++m4trace:configure.in:1202: -1- AC_DEFINE_TRACE_LITERAL([VGSCAN]) ++m4trace:configure.in:1202: -1- m4_pattern_allow([^VGSCAN$]) ++m4trace:configure.in:1202: -1- AH_OUTPUT([VGSCAN], [/* Location of vgscan program */ ++@%:@undef VGSCAN]) ++m4trace:configure.in:1203: -1- AC_DEFINE_TRACE_LITERAL([PVS]) ++m4trace:configure.in:1203: -1- m4_pattern_allow([^PVS$]) ++m4trace:configure.in:1203: -1- AH_OUTPUT([PVS], [/* Location of pvs program */ ++@%:@undef PVS]) ++m4trace:configure.in:1204: -1- AC_DEFINE_TRACE_LITERAL([VGS]) ++m4trace:configure.in:1204: -1- m4_pattern_allow([^VGS$]) ++m4trace:configure.in:1204: -1- AH_OUTPUT([VGS], [/* Location of vgs program */ ++@%:@undef VGS]) ++m4trace:configure.in:1205: -1- AC_DEFINE_TRACE_LITERAL([LVS]) ++m4trace:configure.in:1205: -1- m4_pattern_allow([^LVS$]) ++m4trace:configure.in:1205: -1- AH_OUTPUT([LVS], [/* Location of lvs program */ ++@%:@undef LVS]) ++m4trace:configure.in:1208: -1- AM_CONDITIONAL([WITH_STORAGE_LVM], [test "$with_storage_lvm" = "yes"]) ++m4trace:configure.in:1208: -1- AC_SUBST([WITH_STORAGE_LVM_TRUE]) ++m4trace:configure.in:1208: -1- AC_SUBST_TRACE([WITH_STORAGE_LVM_TRUE]) ++m4trace:configure.in:1208: -1- m4_pattern_allow([^WITH_STORAGE_LVM_TRUE$]) ++m4trace:configure.in:1208: -1- AC_SUBST([WITH_STORAGE_LVM_FALSE]) ++m4trace:configure.in:1208: -1- AC_SUBST_TRACE([WITH_STORAGE_LVM_FALSE]) ++m4trace:configure.in:1208: -1- m4_pattern_allow([^WITH_STORAGE_LVM_FALSE$]) ++m4trace:configure.in:1208: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_LVM_TRUE]) ++m4trace:configure.in:1208: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_LVM_FALSE]) ++m4trace:configure.in:1213: -1- AC_SUBST([ISCSIADM]) ++m4trace:configure.in:1213: -1- AC_SUBST_TRACE([ISCSIADM]) ++m4trace:configure.in:1213: -1- m4_pattern_allow([^ISCSIADM$]) ++m4trace:configure.in:1223: -1- AC_DEFINE_TRACE_LITERAL([WITH_STORAGE_ISCSI]) ++m4trace:configure.in:1223: -1- m4_pattern_allow([^WITH_STORAGE_ISCSI$]) ++m4trace:configure.in:1223: -1- AH_OUTPUT([WITH_STORAGE_ISCSI], [/* whether iSCSI backend for storage driver is enabled */ ++@%:@undef WITH_STORAGE_ISCSI]) ++m4trace:configure.in:1224: -1- AC_DEFINE_TRACE_LITERAL([ISCSIADM]) ++m4trace:configure.in:1224: -1- m4_pattern_allow([^ISCSIADM$]) ++m4trace:configure.in:1224: -1- AH_OUTPUT([ISCSIADM], [/* Location of iscsiadm program */ ++@%:@undef ISCSIADM]) ++m4trace:configure.in:1227: -1- AM_CONDITIONAL([WITH_STORAGE_ISCSI], [test "$with_storage_iscsi" = "yes"]) ++m4trace:configure.in:1227: -1- AC_SUBST([WITH_STORAGE_ISCSI_TRUE]) ++m4trace:configure.in:1227: -1- AC_SUBST_TRACE([WITH_STORAGE_ISCSI_TRUE]) ++m4trace:configure.in:1227: -1- m4_pattern_allow([^WITH_STORAGE_ISCSI_TRUE$]) ++m4trace:configure.in:1227: -1- AC_SUBST([WITH_STORAGE_ISCSI_FALSE]) ++m4trace:configure.in:1227: -1- AC_SUBST_TRACE([WITH_STORAGE_ISCSI_FALSE]) ++m4trace:configure.in:1227: -1- m4_pattern_allow([^WITH_STORAGE_ISCSI_FALSE$]) ++m4trace:configure.in:1227: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_ISCSI_TRUE]) ++m4trace:configure.in:1227: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_ISCSI_FALSE]) ++m4trace:configure.in:1232: -1- AC_DEFINE_TRACE_LITERAL([WITH_STORAGE_SCSI]) ++m4trace:configure.in:1232: -1- m4_pattern_allow([^WITH_STORAGE_SCSI$]) ++m4trace:configure.in:1232: -1- AH_OUTPUT([WITH_STORAGE_SCSI], [/* whether SCSI backend for storage driver is enabled */ ++@%:@undef WITH_STORAGE_SCSI]) ++m4trace:configure.in:1235: -1- AM_CONDITIONAL([WITH_STORAGE_SCSI], [test "$with_storage_scsi" = "yes"]) ++m4trace:configure.in:1235: -1- AC_SUBST([WITH_STORAGE_SCSI_TRUE]) ++m4trace:configure.in:1235: -1- AC_SUBST_TRACE([WITH_STORAGE_SCSI_TRUE]) ++m4trace:configure.in:1235: -1- m4_pattern_allow([^WITH_STORAGE_SCSI_TRUE$]) ++m4trace:configure.in:1235: -1- AC_SUBST([WITH_STORAGE_SCSI_FALSE]) ++m4trace:configure.in:1235: -1- AC_SUBST_TRACE([WITH_STORAGE_SCSI_FALSE]) ++m4trace:configure.in:1235: -1- m4_pattern_allow([^WITH_STORAGE_SCSI_FALSE$]) ++m4trace:configure.in:1235: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_SCSI_TRUE]) ++m4trace:configure.in:1235: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_SCSI_FALSE]) ++m4trace:configure.in:1241: -1- AC_SUBST([PARTED]) ++m4trace:configure.in:1241: -1- AC_SUBST_TRACE([PARTED]) ++m4trace:configure.in:1241: -1- m4_pattern_allow([^PARTED$]) ++m4trace:configure.in:1250: -1- AC_SUBST([LIBPARTED_CFLAGS]) ++m4trace:configure.in:1250: -1- AC_SUBST_TRACE([LIBPARTED_CFLAGS]) ++m4trace:configure.in:1250: -1- m4_pattern_allow([^LIBPARTED_CFLAGS$]) ++m4trace:configure.in:1250: -1- AC_SUBST([LIBPARTED_LIBS]) ++m4trace:configure.in:1250: -1- AC_SUBST_TRACE([LIBPARTED_LIBS]) ++m4trace:configure.in:1250: -1- m4_pattern_allow([^LIBPARTED_LIBS$]) ++m4trace:configure.in:1258: -1- AH_OUTPUT([HAVE_LIBUUID], [/* Define to 1 if you have the `uuid\' library (-luuid). */ ++@%:@undef HAVE_LIBUUID]) ++m4trace:configure.in:1258: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBUUID]) ++m4trace:configure.in:1258: -1- m4_pattern_allow([^HAVE_LIBUUID$]) ++m4trace:configure.in:1259: -1- AH_OUTPUT([HAVE_LIBPARTED], [/* Define to 1 if you have the `parted\' library (-lparted). */ ++@%:@undef HAVE_LIBPARTED]) ++m4trace:configure.in:1259: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPARTED]) ++m4trace:configure.in:1259: -1- m4_pattern_allow([^HAVE_LIBPARTED$]) ++m4trace:configure.in:1276: -1- AC_DEFINE_TRACE_LITERAL([WITH_STORAGE_DISK]) ++m4trace:configure.in:1276: -1- m4_pattern_allow([^WITH_STORAGE_DISK$]) ++m4trace:configure.in:1276: -1- AH_OUTPUT([WITH_STORAGE_DISK], [/* whether Disk backend for storage driver is enabled */ ++@%:@undef WITH_STORAGE_DISK]) ++m4trace:configure.in:1277: -1- AC_DEFINE_TRACE_LITERAL([PARTED]) ++m4trace:configure.in:1277: -1- m4_pattern_allow([^PARTED$]) ++m4trace:configure.in:1277: -1- AH_OUTPUT([PARTED], [/* Location or name of the parted program */ ++@%:@undef PARTED]) ++m4trace:configure.in:1280: -1- AM_CONDITIONAL([WITH_STORAGE_DISK], [test "$with_storage_disk" = "yes"]) ++m4trace:configure.in:1280: -1- AC_SUBST([WITH_STORAGE_DISK_TRUE]) ++m4trace:configure.in:1280: -1- AC_SUBST_TRACE([WITH_STORAGE_DISK_TRUE]) ++m4trace:configure.in:1280: -1- m4_pattern_allow([^WITH_STORAGE_DISK_TRUE$]) ++m4trace:configure.in:1280: -1- AC_SUBST([WITH_STORAGE_DISK_FALSE]) ++m4trace:configure.in:1280: -1- AC_SUBST_TRACE([WITH_STORAGE_DISK_FALSE]) ++m4trace:configure.in:1280: -1- m4_pattern_allow([^WITH_STORAGE_DISK_FALSE$]) ++m4trace:configure.in:1280: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_DISK_TRUE]) ++m4trace:configure.in:1280: -1- _AM_SUBST_NOTMAKE([WITH_STORAGE_DISK_FALSE]) ++m4trace:configure.in:1281: -1- AC_SUBST([LIBPARTED_CFLAGS]) ++m4trace:configure.in:1281: -1- AC_SUBST_TRACE([LIBPARTED_CFLAGS]) ++m4trace:configure.in:1281: -1- m4_pattern_allow([^LIBPARTED_CFLAGS$]) ++m4trace:configure.in:1282: -1- AC_SUBST([LIBPARTED_LIBS]) ++m4trace:configure.in:1282: -1- AC_SUBST_TRACE([LIBPARTED_LIBS]) ++m4trace:configure.in:1282: -1- m4_pattern_allow([^LIBPARTED_LIBS$]) ++m4trace:configure.in:1294: -1- AC_SUBST([LIBCURL_CFLAGS]) ++m4trace:configure.in:1294: -1- AC_SUBST_TRACE([LIBCURL_CFLAGS]) ++m4trace:configure.in:1294: -1- m4_pattern_allow([^LIBCURL_CFLAGS$]) ++m4trace:configure.in:1294: -1- AC_SUBST([LIBCURL_LIBS]) ++m4trace:configure.in:1294: -1- AC_SUBST_TRACE([LIBCURL_LIBS]) ++m4trace:configure.in:1294: -1- m4_pattern_allow([^LIBCURL_LIBS$]) ++m4trace:configure.in:1307: -1- AC_DEFINE_TRACE_LITERAL([WITH_ESX]) ++m4trace:configure.in:1307: -1- m4_pattern_allow([^WITH_ESX$]) ++m4trace:configure.in:1307: -1- AH_OUTPUT([WITH_ESX], [/* whether ESX driver is enabled */ ++@%:@undef WITH_ESX]) ++m4trace:configure.in:1309: -1- AM_CONDITIONAL([WITH_ESX], [test "$with_esx" = "yes"]) ++m4trace:configure.in:1309: -1- AC_SUBST([WITH_ESX_TRUE]) ++m4trace:configure.in:1309: -1- AC_SUBST_TRACE([WITH_ESX_TRUE]) ++m4trace:configure.in:1309: -1- m4_pattern_allow([^WITH_ESX_TRUE$]) ++m4trace:configure.in:1309: -1- AC_SUBST([WITH_ESX_FALSE]) ++m4trace:configure.in:1309: -1- AC_SUBST_TRACE([WITH_ESX_FALSE]) ++m4trace:configure.in:1309: -1- m4_pattern_allow([^WITH_ESX_FALSE$]) ++m4trace:configure.in:1309: -1- _AM_SUBST_NOTMAKE([WITH_ESX_TRUE]) ++m4trace:configure.in:1309: -1- _AM_SUBST_NOTMAKE([WITH_ESX_FALSE]) ++m4trace:configure.in:1311: -1- AC_SUBST([LIBCURL_CFLAGS]) ++m4trace:configure.in:1311: -1- AC_SUBST_TRACE([LIBCURL_CFLAGS]) ++m4trace:configure.in:1311: -1- m4_pattern_allow([^LIBCURL_CFLAGS$]) ++m4trace:configure.in:1312: -1- AC_SUBST([LIBCURL_LIBS]) ++m4trace:configure.in:1312: -1- AC_SUBST_TRACE([LIBCURL_LIBS]) ++m4trace:configure.in:1312: -1- m4_pattern_allow([^LIBCURL_LIBS$]) ++m4trace:configure.in:1339: -1- AC_SUBST([PYTHON]) ++m4trace:configure.in:1339: -1- AC_SUBST_TRACE([PYTHON]) ++m4trace:configure.in:1339: -1- m4_pattern_allow([^PYTHON$]) ++m4trace:configure.in:1384: -1- AM_CONDITIONAL([WITH_PYTHON], [test "$PYTHON_INCLUDES" != ""]) ++m4trace:configure.in:1384: -1- AC_SUBST([WITH_PYTHON_TRUE]) ++m4trace:configure.in:1384: -1- AC_SUBST_TRACE([WITH_PYTHON_TRUE]) ++m4trace:configure.in:1384: -1- m4_pattern_allow([^WITH_PYTHON_TRUE$]) ++m4trace:configure.in:1384: -1- AC_SUBST([WITH_PYTHON_FALSE]) ++m4trace:configure.in:1384: -1- AC_SUBST_TRACE([WITH_PYTHON_FALSE]) ++m4trace:configure.in:1384: -1- m4_pattern_allow([^WITH_PYTHON_FALSE$]) ++m4trace:configure.in:1384: -1- _AM_SUBST_NOTMAKE([WITH_PYTHON_TRUE]) ++m4trace:configure.in:1384: -1- _AM_SUBST_NOTMAKE([WITH_PYTHON_FALSE]) ++m4trace:configure.in:1385: -1- AC_SUBST([pythondir]) ++m4trace:configure.in:1385: -1- AC_SUBST_TRACE([pythondir]) ++m4trace:configure.in:1385: -1- m4_pattern_allow([^pythondir$]) ++m4trace:configure.in:1386: -1- AC_SUBST([PYTHON_VERSION]) ++m4trace:configure.in:1386: -1- AC_SUBST_TRACE([PYTHON_VERSION]) ++m4trace:configure.in:1386: -1- m4_pattern_allow([^PYTHON_VERSION$]) ++m4trace:configure.in:1387: -1- AC_SUBST([PYTHON_INCLUDES]) ++m4trace:configure.in:1387: -1- AC_SUBST_TRACE([PYTHON_INCLUDES]) ++m4trace:configure.in:1387: -1- m4_pattern_allow([^PYTHON_INCLUDES$]) ++m4trace:configure.in:1388: -1- AC_SUBST([PYTHON_SITE_PACKAGES]) ++m4trace:configure.in:1388: -1- AC_SUBST_TRACE([PYTHON_SITE_PACKAGES]) ++m4trace:configure.in:1388: -1- m4_pattern_allow([^PYTHON_SITE_PACKAGES$]) ++m4trace:configure.in:1410: -1- AM_CONDITIONAL([ENABLE_XEN_TESTS], [test "$RUNNING_XEN" != "no" -a "$RUNNING_XEND" != "no"]) ++m4trace:configure.in:1410: -1- AC_SUBST([ENABLE_XEN_TESTS_TRUE]) ++m4trace:configure.in:1410: -1- AC_SUBST_TRACE([ENABLE_XEN_TESTS_TRUE]) ++m4trace:configure.in:1410: -1- m4_pattern_allow([^ENABLE_XEN_TESTS_TRUE$]) ++m4trace:configure.in:1410: -1- AC_SUBST([ENABLE_XEN_TESTS_FALSE]) ++m4trace:configure.in:1410: -1- AC_SUBST_TRACE([ENABLE_XEN_TESTS_FALSE]) ++m4trace:configure.in:1410: -1- m4_pattern_allow([^ENABLE_XEN_TESTS_FALSE$]) ++m4trace:configure.in:1410: -1- _AM_SUBST_NOTMAKE([ENABLE_XEN_TESTS_TRUE]) ++m4trace:configure.in:1410: -1- _AM_SUBST_NOTMAKE([ENABLE_XEN_TESTS_FALSE]) ++m4trace:configure.in:1422: -1- AC_SUBST([COMPILER_FLAGS]) ++m4trace:configure.in:1422: -1- AC_SUBST_TRACE([COMPILER_FLAGS]) ++m4trace:configure.in:1422: -1- m4_pattern_allow([^COMPILER_FLAGS$]) ++m4trace:configure.in:1422: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++m4/compiler-flags.m4:23: gl_COMPILER_FLAGS is expanded from... ++configure.in:1422: the top level]) ++m4trace:configure.in:1423: -1- AC_SUBST([COMPILER_FLAGS]) ++m4trace:configure.in:1423: -1- AC_SUBST_TRACE([COMPILER_FLAGS]) ++m4trace:configure.in:1423: -1- m4_pattern_allow([^COMPILER_FLAGS$]) ++m4trace:configure.in:1423: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++m4/compiler-flags.m4:23: gl_COMPILER_FLAGS is expanded from... ++configure.in:1423: the top level]) ++m4trace:configure.in:1424: -1- AC_SUBST([COVERAGE_CFLAGS], [$COMPILER_FLAGS]) ++m4trace:configure.in:1424: -1- AC_SUBST_TRACE([COVERAGE_CFLAGS]) ++m4trace:configure.in:1424: -1- m4_pattern_allow([^COVERAGE_CFLAGS$]) ++m4trace:configure.in:1425: -1- AC_SUBST([COVERAGE_LDFLAGS], [$COMPILER_FLAGS]) ++m4trace:configure.in:1425: -1- AC_SUBST_TRACE([COVERAGE_LDFLAGS]) ++m4trace:configure.in:1425: -1- m4_pattern_allow([^COVERAGE_LDFLAGS$]) ++m4trace:configure.in:1443: -1- AC_DEFINE_TRACE_LITERAL([TEST_OOM_TRACE]) ++m4trace:configure.in:1443: -1- m4_pattern_allow([^TEST_OOM_TRACE$]) ++m4trace:configure.in:1443: -1- AH_OUTPUT([TEST_OOM_TRACE], [/* Whether backtrace() is available */ ++@%:@undef TEST_OOM_TRACE]) ++m4trace:configure.in:1445: -1- AC_DEFINE_TRACE_LITERAL([TEST_OOM]) ++m4trace:configure.in:1445: -1- m4_pattern_allow([^TEST_OOM$]) ++m4trace:configure.in:1445: -1- AH_OUTPUT([TEST_OOM], [/* Whether malloc OOM checking is enabled */ ++@%:@undef TEST_OOM]) ++m4trace:configure.in:1460: -1- AC_SUBST([LOCK_CHECKING_CFLAGS]) ++m4trace:configure.in:1460: -1- AC_SUBST_TRACE([LOCK_CHECKING_CFLAGS]) ++m4trace:configure.in:1460: -1- m4_pattern_allow([^LOCK_CHECKING_CFLAGS$]) ++m4trace:configure.in:1462: -1- AM_CONDITIONAL([WITH_CIL], [test "$enable_locking" = "yes"]) ++m4trace:configure.in:1462: -1- AC_SUBST([WITH_CIL_TRUE]) ++m4trace:configure.in:1462: -1- AC_SUBST_TRACE([WITH_CIL_TRUE]) ++m4trace:configure.in:1462: -1- m4_pattern_allow([^WITH_CIL_TRUE$]) ++m4trace:configure.in:1462: -1- AC_SUBST([WITH_CIL_FALSE]) ++m4trace:configure.in:1462: -1- AC_SUBST_TRACE([WITH_CIL_FALSE]) ++m4trace:configure.in:1462: -1- m4_pattern_allow([^WITH_CIL_FALSE$]) ++m4trace:configure.in:1462: -1- _AM_SUBST_NOTMAKE([WITH_CIL_TRUE]) ++m4trace:configure.in:1462: -1- _AM_SUBST_NOTMAKE([WITH_CIL_FALSE]) ++m4trace:configure.in:1482: -1- AM_CONDITIONAL([WITH_PROXY], [test "$with_xen_proxy" = "yes"]) ++m4trace:configure.in:1482: -1- AC_SUBST([WITH_PROXY_TRUE]) ++m4trace:configure.in:1482: -1- AC_SUBST_TRACE([WITH_PROXY_TRUE]) ++m4trace:configure.in:1482: -1- m4_pattern_allow([^WITH_PROXY_TRUE$]) ++m4trace:configure.in:1482: -1- AC_SUBST([WITH_PROXY_FALSE]) ++m4trace:configure.in:1482: -1- AC_SUBST_TRACE([WITH_PROXY_FALSE]) ++m4trace:configure.in:1482: -1- m4_pattern_allow([^WITH_PROXY_FALSE$]) ++m4trace:configure.in:1482: -1- _AM_SUBST_NOTMAKE([WITH_PROXY_TRUE]) ++m4trace:configure.in:1482: -1- _AM_SUBST_NOTMAKE([WITH_PROXY_FALSE]) ++m4trace:configure.in:1484: -1- AC_DEFINE_TRACE_LITERAL([WITH_PROXY]) ++m4trace:configure.in:1484: -1- m4_pattern_allow([^WITH_PROXY$]) ++m4trace:configure.in:1484: -1- AH_OUTPUT([WITH_PROXY], [/* Whether Xen proxy is enabled */ ++@%:@undef WITH_PROXY]) ++m4trace:configure.in:1488: -1- AM_CONDITIONAL([WITH_LIBVIRTD], [test "x$with_libvirtd" = "xyes"]) ++m4trace:configure.in:1488: -1- AC_SUBST([WITH_LIBVIRTD_TRUE]) ++m4trace:configure.in:1488: -1- AC_SUBST_TRACE([WITH_LIBVIRTD_TRUE]) ++m4trace:configure.in:1488: -1- m4_pattern_allow([^WITH_LIBVIRTD_TRUE$]) ++m4trace:configure.in:1488: -1- AC_SUBST([WITH_LIBVIRTD_FALSE]) ++m4trace:configure.in:1488: -1- AC_SUBST_TRACE([WITH_LIBVIRTD_FALSE]) ++m4trace:configure.in:1488: -1- m4_pattern_allow([^WITH_LIBVIRTD_FALSE$]) ++m4trace:configure.in:1488: -1- _AM_SUBST_NOTMAKE([WITH_LIBVIRTD_TRUE]) ++m4trace:configure.in:1488: -1- _AM_SUBST_NOTMAKE([WITH_LIBVIRTD_FALSE]) ++m4trace:configure.in:1492: -1- AM_GNU_GETTEXT([external]) ++m4trace:configure.in:1492: -1- AC_SUBST([MKINSTALLDIRS]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([MKINSTALLDIRS]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^MKINSTALLDIRS$]) ++m4trace:configure.in:1492: -1- AC_SUBST([USE_NLS]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([USE_NLS]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^USE_NLS$]) ++m4trace:configure.in:1492: -1- AC_SUBST([MSGFMT]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([MSGFMT]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^MSGFMT$]) ++m4trace:configure.in:1492: -1- AC_SUBST([GMSGFMT]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([GMSGFMT]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^GMSGFMT$]) ++m4trace:configure.in:1492: -1- AC_SUBST([XGETTEXT]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([XGETTEXT]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^XGETTEXT$]) ++m4trace:configure.in:1492: -1- AC_SUBST([MSGMERGE]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([MSGMERGE]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^MSGMERGE$]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/status.m4:1040: AC_OUTPUT_COMMANDS is expanded from... ++m4/po.m4:23: AM_PO_SUBDIRS is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- AC_SUBST([USE_NLS]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([USE_NLS]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^USE_NLS$]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/iconv.m4:22: AM_ICONV_LINK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/iconv.m4:22: AM_ICONV_LINK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ICONV]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^HAVE_ICONV$]) ++m4trace:configure.in:1492: -1- AH_OUTPUT([HAVE_ICONV], [/* Define if you have the iconv() function. */ ++@%:@undef HAVE_ICONV]) ++m4trace:configure.in:1492: -1- AC_SUBST([LIBICONV]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([LIBICONV]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^LIBICONV$]) ++m4trace:configure.in:1492: -1- AC_SUBST([LTLIBICONV]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([LTLIBICONV]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^LTLIBICONV$]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from... ++../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ++m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from... ++configure.in:1492: the top level]) ++m4trace:configure.in:1492: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^ENABLE_NLS$]) ++m4trace:configure.in:1492: -1- AH_OUTPUT([ENABLE_NLS], [/* Define to 1 if translation of program messages to the user\'s native ++ language is requested. */ ++@%:@undef ENABLE_NLS]) ++m4trace:configure.in:1492: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTEXT]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^HAVE_GETTEXT$]) ++m4trace:configure.in:1492: -1- AH_OUTPUT([HAVE_GETTEXT], [/* Define if the GNU gettext() function is already present or preinstalled. */ ++@%:@undef HAVE_GETTEXT]) ++m4trace:configure.in:1492: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DCGETTEXT]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^HAVE_DCGETTEXT$]) ++m4trace:configure.in:1492: -1- AH_OUTPUT([HAVE_DCGETTEXT], [/* Define if the GNU dcgettext() function is already present or preinstalled. ++ */ ++@%:@undef HAVE_DCGETTEXT]) ++m4trace:configure.in:1492: -1- AC_SUBST([INTLLIBS]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([INTLLIBS]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^INTLLIBS$]) ++m4trace:configure.in:1492: -1- AC_SUBST([LIBINTL]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([LIBINTL]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^LIBINTL$]) ++m4trace:configure.in:1492: -1- AC_SUBST([LTLIBINTL]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([LTLIBINTL]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^LTLIBINTL$]) ++m4trace:configure.in:1492: -1- AC_SUBST([POSUB]) ++m4trace:configure.in:1492: -1- AC_SUBST_TRACE([POSUB]) ++m4trace:configure.in:1492: -1- m4_pattern_allow([^POSUB$]) ++m4trace:configure.in:1514: -1- AC_SUBST([CYGWIN_EXTRA_LDFLAGS]) ++m4trace:configure.in:1514: -1- AC_SUBST_TRACE([CYGWIN_EXTRA_LDFLAGS]) ++m4trace:configure.in:1514: -1- m4_pattern_allow([^CYGWIN_EXTRA_LDFLAGS$]) ++m4trace:configure.in:1515: -1- AC_SUBST([CYGWIN_EXTRA_LIBADD]) ++m4trace:configure.in:1515: -1- AC_SUBST_TRACE([CYGWIN_EXTRA_LIBADD]) ++m4trace:configure.in:1515: -1- m4_pattern_allow([^CYGWIN_EXTRA_LIBADD$]) ++m4trace:configure.in:1516: -1- AC_SUBST([CYGWIN_EXTRA_PYTHON_LIBADD]) ++m4trace:configure.in:1516: -1- AC_SUBST_TRACE([CYGWIN_EXTRA_PYTHON_LIBADD]) ++m4trace:configure.in:1516: -1- m4_pattern_allow([^CYGWIN_EXTRA_PYTHON_LIBADD$]) ++m4trace:configure.in:1517: -1- AC_SUBST([MINGW_EXTRA_LDFLAGS]) ++m4trace:configure.in:1517: -1- AC_SUBST_TRACE([MINGW_EXTRA_LDFLAGS]) ++m4trace:configure.in:1517: -1- m4_pattern_allow([^MINGW_EXTRA_LDFLAGS$]) ++m4trace:configure.in:1520: -1- AC_SUBST([WINDRES]) ++m4trace:configure.in:1520: -1- AC_SUBST_TRACE([WINDRES]) ++m4trace:configure.in:1520: -1- m4_pattern_allow([^WINDRES$]) ++m4trace:configure.in:1521: -1- AM_CONDITIONAL([WITH_WIN_ICON], [test "$WINDRES" != "no"]) ++m4trace:configure.in:1521: -1- AC_SUBST([WITH_WIN_ICON_TRUE]) ++m4trace:configure.in:1521: -1- AC_SUBST_TRACE([WITH_WIN_ICON_TRUE]) ++m4trace:configure.in:1521: -1- m4_pattern_allow([^WITH_WIN_ICON_TRUE$]) ++m4trace:configure.in:1521: -1- AC_SUBST([WITH_WIN_ICON_FALSE]) ++m4trace:configure.in:1521: -1- AC_SUBST_TRACE([WITH_WIN_ICON_FALSE]) ++m4trace:configure.in:1521: -1- m4_pattern_allow([^WITH_WIN_ICON_FALSE$]) ++m4trace:configure.in:1521: -1- _AM_SUBST_NOTMAKE([WITH_WIN_ICON_TRUE]) ++m4trace:configure.in:1521: -1- _AM_SUBST_NOTMAKE([WITH_WIN_ICON_FALSE]) ++m4trace:configure.in:1538: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */ ++@%:@undef HAVE_LIBDL]) ++m4trace:configure.in:1538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL]) ++m4trace:configure.in:1538: -1- m4_pattern_allow([^HAVE_LIBDL$]) ++m4trace:configure.in:1548: -1- AC_DEFINE_TRACE_LITERAL([WITH_DRIVER_MODULES]) ++m4trace:configure.in:1548: -1- m4_pattern_allow([^WITH_DRIVER_MODULES$]) ++m4trace:configure.in:1548: -1- AH_OUTPUT([WITH_DRIVER_MODULES], [/* whether to build drivers as modules */ ++@%:@undef WITH_DRIVER_MODULES]) ++m4trace:configure.in:1550: -1- AM_CONDITIONAL([WITH_DRIVER_MODULES], [test "$with_driver_modules" != "no"]) ++m4trace:configure.in:1550: -1- AC_SUBST([WITH_DRIVER_MODULES_TRUE]) ++m4trace:configure.in:1550: -1- AC_SUBST_TRACE([WITH_DRIVER_MODULES_TRUE]) ++m4trace:configure.in:1550: -1- m4_pattern_allow([^WITH_DRIVER_MODULES_TRUE$]) ++m4trace:configure.in:1550: -1- AC_SUBST([WITH_DRIVER_MODULES_FALSE]) ++m4trace:configure.in:1550: -1- AC_SUBST_TRACE([WITH_DRIVER_MODULES_FALSE]) ++m4trace:configure.in:1550: -1- m4_pattern_allow([^WITH_DRIVER_MODULES_FALSE$]) ++m4trace:configure.in:1550: -1- _AM_SUBST_NOTMAKE([WITH_DRIVER_MODULES_TRUE]) ++m4trace:configure.in:1550: -1- _AM_SUBST_NOTMAKE([WITH_DRIVER_MODULES_FALSE]) ++m4trace:configure.in:1551: -1- AC_SUBST([DRIVER_MODULES_CFLAGS]) ++m4trace:configure.in:1551: -1- AC_SUBST_TRACE([DRIVER_MODULES_CFLAGS]) ++m4trace:configure.in:1551: -1- m4_pattern_allow([^DRIVER_MODULES_CFLAGS$]) ++m4trace:configure.in:1552: -1- AC_SUBST([DRIVER_MODULES_LIBS]) ++m4trace:configure.in:1552: -1- AC_SUBST_TRACE([DRIVER_MODULES_LIBS]) ++m4trace:configure.in:1552: -1- m4_pattern_allow([^DRIVER_MODULES_LIBS$]) ++m4trace:configure.in:1560: -1- AC_SUBST([LV_LIBTOOL_OBJDIR]) ++m4trace:configure.in:1560: -1- AC_SUBST_TRACE([LV_LIBTOOL_OBJDIR]) ++m4trace:configure.in:1560: -1- m4_pattern_allow([^LV_LIBTOOL_OBJDIR$]) ++m4trace:configure.in:1575: -1- AC_SUBST([HAL_CFLAGS]) ++m4trace:configure.in:1575: -1- AC_SUBST_TRACE([HAL_CFLAGS]) ++m4trace:configure.in:1575: -1- m4_pattern_allow([^HAL_CFLAGS$]) ++m4trace:configure.in:1575: -1- AC_SUBST([HAL_LIBS]) ++m4trace:configure.in:1575: -1- AC_SUBST_TRACE([HAL_LIBS]) ++m4trace:configure.in:1575: -1- m4_pattern_allow([^HAL_LIBS$]) ++m4trace:configure.in:1585: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HAL]) ++m4trace:configure.in:1585: -1- m4_pattern_allow([^HAVE_HAL$]) ++m4trace:configure.in:1585: -1- AH_OUTPUT([HAVE_HAL], [/* use HAL for host device enumeration */ ++@%:@undef HAVE_HAL]) ++m4trace:configure.in:1592: -1- AH_OUTPUT([HAVE_LIBHAL_GET_ALL_DEVICES], [/* Define to 1 if you have the `libhal_get_all_devices\' function. */ ++@%:@undef HAVE_LIBHAL_GET_ALL_DEVICES]) ++m4trace:configure.in:1592: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBHAL_GET_ALL_DEVICES]) ++m4trace:configure.in:1592: -1- m4_pattern_allow([^HAVE_LIBHAL_GET_ALL_DEVICES$]) ++m4trace:configure.in:1593: -1- AH_OUTPUT([HAVE_DBUS_WATCH_GET_UNIX_FD], [/* Define to 1 if you have the `dbus_watch_get_unix_fd\' function. */ ++@%:@undef HAVE_DBUS_WATCH_GET_UNIX_FD]) ++m4trace:configure.in:1593: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DBUS_WATCH_GET_UNIX_FD]) ++m4trace:configure.in:1593: -1- m4_pattern_allow([^HAVE_DBUS_WATCH_GET_UNIX_FD$]) ++m4trace:configure.in:1598: -1- AM_CONDITIONAL([HAVE_HAL], [test "x$with_hal" = "xyes"]) ++m4trace:configure.in:1598: -1- AC_SUBST([HAVE_HAL_TRUE]) ++m4trace:configure.in:1598: -1- AC_SUBST_TRACE([HAVE_HAL_TRUE]) ++m4trace:configure.in:1598: -1- m4_pattern_allow([^HAVE_HAL_TRUE$]) ++m4trace:configure.in:1598: -1- AC_SUBST([HAVE_HAL_FALSE]) ++m4trace:configure.in:1598: -1- AC_SUBST_TRACE([HAVE_HAL_FALSE]) ++m4trace:configure.in:1598: -1- m4_pattern_allow([^HAVE_HAL_FALSE$]) ++m4trace:configure.in:1598: -1- _AM_SUBST_NOTMAKE([HAVE_HAL_TRUE]) ++m4trace:configure.in:1598: -1- _AM_SUBST_NOTMAKE([HAVE_HAL_FALSE]) ++m4trace:configure.in:1599: -1- AC_SUBST([HAL_CFLAGS]) ++m4trace:configure.in:1599: -1- AC_SUBST_TRACE([HAL_CFLAGS]) ++m4trace:configure.in:1599: -1- m4_pattern_allow([^HAL_CFLAGS$]) ++m4trace:configure.in:1600: -1- AC_SUBST([HAL_LIBS]) ++m4trace:configure.in:1600: -1- AC_SUBST_TRACE([HAL_LIBS]) ++m4trace:configure.in:1600: -1- m4_pattern_allow([^HAL_LIBS$]) ++m4trace:configure.in:1615: -1- AC_SUBST([GLIB2_CFLAGS]) ++m4trace:configure.in:1615: -1- AC_SUBST_TRACE([GLIB2_CFLAGS]) ++m4trace:configure.in:1615: -1- m4_pattern_allow([^GLIB2_CFLAGS$]) ++m4trace:configure.in:1615: -1- AC_SUBST([GLIB2_LIBS]) ++m4trace:configure.in:1615: -1- AC_SUBST_TRACE([GLIB2_LIBS]) ++m4trace:configure.in:1615: -1- m4_pattern_allow([^GLIB2_LIBS$]) ++m4trace:configure.in:1623: -1- AC_SUBST([DEVKIT_CFLAGS]) ++m4trace:configure.in:1623: -1- AC_SUBST_TRACE([DEVKIT_CFLAGS]) ++m4trace:configure.in:1623: -1- m4_pattern_allow([^DEVKIT_CFLAGS$]) ++m4trace:configure.in:1623: -1- AC_SUBST([DEVKIT_LIBS]) ++m4trace:configure.in:1623: -1- AC_SUBST_TRACE([DEVKIT_LIBS]) ++m4trace:configure.in:1623: -1- m4_pattern_allow([^DEVKIT_LIBS$]) ++m4trace:configure.in:1633: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEVKIT]) ++m4trace:configure.in:1633: -1- m4_pattern_allow([^HAVE_DEVKIT$]) ++m4trace:configure.in:1633: -1- AH_OUTPUT([HAVE_DEVKIT], [/* use DeviceKit for host device enumeration */ ++@%:@undef HAVE_DEVKIT]) ++m4trace:configure.in:1647: -1- AH_OUTPUT([HAVE_DEVKIT_CLIENT_CONNECT], [/* Define to 1 if you have the `devkit_client_connect\' function. */ ++@%:@undef HAVE_DEVKIT_CLIENT_CONNECT]) ++m4trace:configure.in:1647: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEVKIT_CLIENT_CONNECT]) ++m4trace:configure.in:1647: -1- m4_pattern_allow([^HAVE_DEVKIT_CLIENT_CONNECT$]) ++m4trace:configure.in:1652: -1- AM_CONDITIONAL([HAVE_DEVKIT], [test "x$with_devkit" = "xyes"]) ++m4trace:configure.in:1652: -1- AC_SUBST([HAVE_DEVKIT_TRUE]) ++m4trace:configure.in:1652: -1- AC_SUBST_TRACE([HAVE_DEVKIT_TRUE]) ++m4trace:configure.in:1652: -1- m4_pattern_allow([^HAVE_DEVKIT_TRUE$]) ++m4trace:configure.in:1652: -1- AC_SUBST([HAVE_DEVKIT_FALSE]) ++m4trace:configure.in:1652: -1- AC_SUBST_TRACE([HAVE_DEVKIT_FALSE]) ++m4trace:configure.in:1652: -1- m4_pattern_allow([^HAVE_DEVKIT_FALSE$]) ++m4trace:configure.in:1652: -1- _AM_SUBST_NOTMAKE([HAVE_DEVKIT_TRUE]) ++m4trace:configure.in:1652: -1- _AM_SUBST_NOTMAKE([HAVE_DEVKIT_FALSE]) ++m4trace:configure.in:1653: -1- AC_SUBST([DEVKIT_CFLAGS]) ++m4trace:configure.in:1653: -1- AC_SUBST_TRACE([DEVKIT_CFLAGS]) ++m4trace:configure.in:1653: -1- m4_pattern_allow([^DEVKIT_CFLAGS$]) ++m4trace:configure.in:1654: -1- AC_SUBST([DEVKIT_LIBS]) ++m4trace:configure.in:1654: -1- AC_SUBST_TRACE([DEVKIT_LIBS]) ++m4trace:configure.in:1654: -1- m4_pattern_allow([^DEVKIT_LIBS$]) ++m4trace:configure.in:1660: -1- AC_DEFINE_TRACE_LITERAL([WITH_NODE_DEVICES]) ++m4trace:configure.in:1660: -1- m4_pattern_allow([^WITH_NODE_DEVICES$]) ++m4trace:configure.in:1660: -1- AH_OUTPUT([WITH_NODE_DEVICES], [/* with node device driver */ ++@%:@undef WITH_NODE_DEVICES]) ++m4trace:configure.in:1662: -1- AM_CONDITIONAL([WITH_NODE_DEVICES], [test "$with_nodedev" = "yes"]) ++m4trace:configure.in:1662: -1- AC_SUBST([WITH_NODE_DEVICES_TRUE]) ++m4trace:configure.in:1662: -1- AC_SUBST_TRACE([WITH_NODE_DEVICES_TRUE]) ++m4trace:configure.in:1662: -1- m4_pattern_allow([^WITH_NODE_DEVICES_TRUE$]) ++m4trace:configure.in:1662: -1- AC_SUBST([WITH_NODE_DEVICES_FALSE]) ++m4trace:configure.in:1662: -1- AC_SUBST_TRACE([WITH_NODE_DEVICES_FALSE]) ++m4trace:configure.in:1662: -1- m4_pattern_allow([^WITH_NODE_DEVICES_FALSE$]) ++m4trace:configure.in:1662: -1- _AM_SUBST_NOTMAKE([WITH_NODE_DEVICES_TRUE]) ++m4trace:configure.in:1662: -1- _AM_SUBST_NOTMAKE([WITH_NODE_DEVICES_FALSE]) ++m4trace:configure.in:1664: -1- AM_CONDITIONAL([WITH_LINUX], [test `uname -s` = "Linux"]) ++m4trace:configure.in:1664: -1- AC_SUBST([WITH_LINUX_TRUE]) ++m4trace:configure.in:1664: -1- AC_SUBST_TRACE([WITH_LINUX_TRUE]) ++m4trace:configure.in:1664: -1- m4_pattern_allow([^WITH_LINUX_TRUE$]) ++m4trace:configure.in:1664: -1- AC_SUBST([WITH_LINUX_FALSE]) ++m4trace:configure.in:1664: -1- AC_SUBST_TRACE([WITH_LINUX_FALSE]) ++m4trace:configure.in:1664: -1- m4_pattern_allow([^WITH_LINUX_FALSE$]) ++m4trace:configure.in:1664: -1- _AM_SUBST_NOTMAKE([WITH_LINUX_TRUE]) ++m4trace:configure.in:1664: -1- _AM_SUBST_NOTMAKE([WITH_LINUX_FALSE]) ++m4trace:configure.in:1675: -1- AC_DEFINE_TRACE_LITERAL([QEMU_USER]) ++m4trace:configure.in:1675: -1- m4_pattern_allow([^QEMU_USER$]) ++m4trace:configure.in:1675: -1- AH_OUTPUT([QEMU_USER], [/* QEMU user account */ ++@%:@undef QEMU_USER]) ++m4trace:configure.in:1676: -1- AC_DEFINE_TRACE_LITERAL([QEMU_GROUP]) ++m4trace:configure.in:1676: -1- m4_pattern_allow([^QEMU_GROUP$]) ++m4trace:configure.in:1676: -1- AH_OUTPUT([QEMU_GROUP], [/* QEMU group account */ ++@%:@undef QEMU_GROUP]) ++m4trace:configure.in:1686: -1- AC_CONFIG_FILES([Makefile src/Makefile include/Makefile docs/Makefile \ ++ docs/examples/Makefile docs/devhelp/Makefile \ ++ docs/examples/python/Makefile \ ++ docs/schemas/Makefile \ ++ gnulib/lib/Makefile \ ++ gnulib/tests/Makefile \ ++ libvirt.pc libvirt.spec mingw32-libvirt.spec \ ++ po/Makefile.in \ ++ include/libvirt/Makefile include/libvirt/libvirt.h \ ++ python/Makefile python/tests/Makefile \ ++ qemud/Makefile \ ++ tools/Makefile \ ++ tests/Makefile proxy/Makefile \ ++ tests/xml2sexprdata/Makefile \ ++ tests/sexpr2xmldata/Makefile \ ++ tests/xmconfigdata/Makefile \ ++ tests/xencapsdata/Makefile \ ++ tests/confdata/Makefile \ ++ examples/domain-events/events-c/Makefile \ ++ examples/hellolibvirt/Makefile]) ++m4trace:configure.in:1686: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. ++You should run autoupdate.], []) ++m4trace:configure.in:1686: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.in:1686: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([LTLIBOBJS]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.in:1686: -1- AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([gl_LIBOBJS]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^gl_LIBOBJS$]) ++m4trace:configure.in:1686: -1- AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([gl_LTLIBOBJS]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) ++m4trace:configure.in:1686: -1- AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([gltests_LIBOBJS]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^gltests_LIBOBJS$]) ++m4trace:configure.in:1686: -1- AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([gltests_LTLIBOBJS]) ++m4trace:configure.in:1686: -1- m4_pattern_allow([^gltests_LTLIBOBJS$]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([top_builddir]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([top_build_prefix]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([srcdir]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([abs_srcdir]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([top_srcdir]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([abs_top_srcdir]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([builddir]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([abs_builddir]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([abs_top_builddir]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([INSTALL]) ++m4trace:configure.in:1686: -1- AC_SUBST_TRACE([MKDIR_P]) ++m4trace:configure.in:1686: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) +diff -Nur libvirt-0.7.0/config.h.in libvirt-0.7.0.new/config.h.in +--- libvirt-0.7.0/config.h.in 2009-08-05 08:57:35.000000000 -0500 ++++ libvirt-0.7.0.new/config.h.in 2009-08-13 22:45:24.122005962 -0500 +@@ -4,6 +4,12 @@ + platforms at once. */ + #undef AA_APPLE_UNIVERSAL_BUILD + ++/* path to apparmor directory */ ++#undef APPARMOR_DIR ++ ++/* path to kernel profiles */ ++#undef APPARMOR_PROFILES_PATH ++ + /* Define to the number of bits in type 'ptrdiff_t'. */ + #undef BITSIZEOF_PTRDIFF_T + +@@ -63,6 +69,9 @@ + */ + #undef HAVE_ALLOCA_H + ++/* whether AppArmor is available for security */ ++#undef HAVE_APPARMOR ++ + /* Define to 1 if you have the header file. */ + #undef HAVE_ARPA_INET_H + +@@ -267,6 +276,9 @@ + /* Define to 1 if defines AF_INET6. */ + #undef HAVE_IPV6 + ++/* Define to 1 if you have the `apparmor' library (-lapparmor). */ ++#undef HAVE_LIBAPPARMOR ++ + /* Define to 1 if you have the `cap-ng' library (-lcap-ng). */ + #undef HAVE_LIBCAP_NG + +@@ -495,7 +507,7 @@ + /* Define to 1 if the system has the type `struct random_data'. */ + #undef HAVE_STRUCT_RANDOM_DATA + +-/* Define to 1 if `sa_len' is member of `struct sockaddr'. */ ++/* Define to 1 if `struct sockaddr' is a member of `sa_len'. */ + #undef HAVE_STRUCT_SOCKADDR_SA_LEN + + /* Define to 1 if the system has the type `struct sockaddr_storage'. */ +@@ -720,6 +732,9 @@ + /* Define to the one symbol short name of this package. */ + #undef PACKAGE_TARNAME + ++/* Define to the home page for this package. */ ++#undef PACKAGE_URL ++ + /* Define to the version of this package. */ + #undef PACKAGE_VERSION + +@@ -822,6 +837,9 @@ + /* Location of vgscan program */ + #undef VGSCAN + ++/* path to virt-aa-helper */ ++#undef VIRT_AA_HELPER_PATH ++ + /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + 'wchar_t'. */ + #undef WCHAR_T_SUFFIX +@@ -879,6 +897,9 @@ + /* whether building for the RHEL-5 API */ + #undef WITH_RHEL5_API + ++/* whether AppArmor security driver is available */ ++#undef WITH_SECDRIVER_APPARMOR ++ + /* whether SELinux security driver is available */ + #undef WITH_SECDRIVER_SELINUX + +diff -Nur libvirt-0.7.0/config.h.in~ libvirt-0.7.0.new/config.h.in~ +--- libvirt-0.7.0/config.h.in~ 1969-12-31 18:00:00.000000000 -0600 ++++ libvirt-0.7.0.new/config.h.in~ 2009-08-05 08:57:35.000000000 -0500 +@@ -0,0 +1,1033 @@ ++/* config.h.in. Generated from configure.in by autoheader. */ ++ ++/* Define if the compiler is building for multiple architectures of Apple ++ platforms at once. */ ++#undef AA_APPLE_UNIVERSAL_BUILD ++ ++/* Define to the number of bits in type 'ptrdiff_t'. */ ++#undef BITSIZEOF_PTRDIFF_T ++ ++/* Define to the number of bits in type 'sig_atomic_t'. */ ++#undef BITSIZEOF_SIG_ATOMIC_T ++ ++/* Define to the number of bits in type 'size_t'. */ ++#undef BITSIZEOF_SIZE_T ++ ++/* Define to the number of bits in type 'wchar_t'. */ ++#undef BITSIZEOF_WCHAR_T ++ ++/* Define to the number of bits in type 'wint_t'. */ ++#undef BITSIZEOF_WINT_T ++ ++/* Location or name of the brctl program (see bridge-utils) */ ++#undef BRCTL ++ ++/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP ++ systems. This function is required for `alloca.c' support on those systems. ++ */ ++#undef CRAY_STACKSEG_END ++ ++/* Define to 1 if using `alloca.c'. */ ++#undef C_ALLOCA ++ ++/* Location or name of the dnsmasq program */ ++#undef DNSMASQ ++ ++/* whether debugging is enabled */ ++#undef ENABLE_DEBUG ++ ++/* whether support for Fedora's lokkit is enabled */ ++#undef ENABLE_IPTABLES_LOKKIT ++ ++/* Define to 1 if translation of program messages to the user's native ++ language is requested. */ ++#undef ENABLE_NLS ++ ++/* Define to 1 if ungetc is broken when used on arbitrary bytes. */ ++#undef FUNC_UNGETC_BROKEN ++ ++/* Define if gettimeofday clobbers the localtime buffer. */ ++#undef GETTIMEOFDAY_CLOBBERS_LOCALTIME ++ ++/* Define to 1 when using the gnulib module ioctl. */ ++#undef GNULIB_IOCTL ++ ++/* enable GnuTLS 1.0 compatibility macros */ ++#undef GNUTLS_1_0_COMPAT ++ ++/* Define to 1 if you have 'alloca' after including , a header that ++ may be supplied by this distribution. */ ++#undef HAVE_ALLOCA ++ ++/* Define to 1 if you have and it should be used (not on Ultrix). ++ */ ++#undef HAVE_ALLOCA_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_ARPA_INET_H ++ ++/* whether Avahi is used to broadcast server presense */ ++#undef HAVE_AVAHI ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_BP_SYM_H ++ ++/* whether capng is available for privilege reduction */ ++#undef HAVE_CAPNG ++ ++/* Define to 1 if you have the `cfmakeraw' function. */ ++#undef HAVE_CFMAKERAW ++ ++/* Define to 1 if you have the `dbus_watch_get_unix_fd' function. */ ++#undef HAVE_DBUS_WATCH_GET_UNIX_FD ++ ++/* Define if the GNU dcgettext() function is already present or preinstalled. ++ */ ++#undef HAVE_DCGETTEXT ++ ++/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FFLUSH_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `flockfile', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_FLOCKFILE ++ ++/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FPUTS_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `freeaddrinfo', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_FREEADDRINFO ++ ++/* Define to 1 if you have the declaration of `funlockfile', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_FUNLOCKFILE ++ ++/* Define to 1 if you have the declaration of `gai_strerror', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_GAI_STRERROR ++ ++/* Define to 1 if you have the declaration of `getaddrinfo', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_GETADDRINFO ++ ++/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_GETC_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `getdelim', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_GETDELIM ++ ++/* Define to 1 if you have the declaration of `getline', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_GETLINE ++ ++/* Define to 1 if you have the declaration of `getnameinfo', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_GETNAMEINFO ++ ++/* Define to 1 if you have the declaration of `getpass', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_GETPASS ++ ++/* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_INET_NTOP ++ ++/* Define to 1 if you have the declaration of `inet_pton', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_INET_PTON ++ ++/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_PUTC_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `snprintf', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_SNPRINTF ++ ++/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_STRDUP ++ ++/* Define to 1 if you have the declaration of `strerror', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_STRERROR ++ ++/* Define to 1 if you have the declaration of `strndup', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_STRNDUP ++ ++/* Define to 1 if you have the declaration of `strnlen', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_STRNLEN ++ ++/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you ++ don't. */ ++#undef HAVE_DECL__SNPRINTF ++ ++/* Define to 1 if you have the declaration of `__fsetlocking', and to 0 if you ++ don't. */ ++#undef HAVE_DECL___FSETLOCKING ++ ++/* use DeviceKit for host device enumeration */ ++#undef HAVE_DEVKIT ++ ++/* Define to 1 if you have the `devkit_client_connect' function. */ ++#undef HAVE_DEVKIT_CLIENT_CONNECT ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_DLFCN_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_ERRNO_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_FLOAT_H ++ ++/* Define to 1 if you have the `flockfile' function. */ ++#undef HAVE_FLOCKFILE ++ ++/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ ++#undef HAVE_FSEEKO ++ ++/* Define to 1 if you have the `funlockfile' function. */ ++#undef HAVE_FUNLOCKFILE ++ ++/* Define to 1 if you have the `getdelim' function. */ ++#undef HAVE_GETDELIM ++ ++/* Define to 1 if you have the `getgid' function. */ ++#undef HAVE_GETGID ++ ++/* Define to 1 if you have the `getgrnam_r' function. */ ++#undef HAVE_GETGRNAM_R ++ ++/* Define to 1 if you have the `gethostbyname' function. */ ++#undef HAVE_GETHOSTBYNAME ++ ++/* Define to 1 if you have the `gethostname' function. */ ++#undef HAVE_GETHOSTNAME ++ ++/* Define to 1 if you have the `getmntent_r' function. */ ++#undef HAVE_GETMNTENT_R ++ ++/* Define to 1 if you have the `getpagesize' function. */ ++#undef HAVE_GETPAGESIZE ++ ++/* Define to 1 if you have the `getpass' function. */ ++#undef HAVE_GETPASS ++ ++/* Define to 1 if you have the `getpwuid_r' function. */ ++#undef HAVE_GETPWUID_R ++ ++/* Define to 1 if you have the `getservbyname' function. */ ++#undef HAVE_GETSERVBYNAME ++ ++/* Define to 1 if you have the `getsysinfo' function. */ ++#undef HAVE_GETSYSINFO ++ ++/* Define if the GNU gettext() function is already present or preinstalled. */ ++#undef HAVE_GETTEXT ++ ++/* Define to 1 if you have the `gettimeofday' function. */ ++#undef HAVE_GETTIMEOFDAY ++ ++/* Define to 1 if you have the `getuid' function. */ ++#undef HAVE_GETUID ++ ++/* use HAL for host device enumeration */ ++#undef HAVE_HAL ++ ++/* Define if you have the iconv() function. */ ++#undef HAVE_ICONV ++ ++/* Define to 1 if you have the `inet_ntop' function. */ ++#undef HAVE_INET_NTOP ++ ++/* Define to 1 if you have the `inet_pton' function. */ ++#undef HAVE_INET_PTON ++ ++/* Define if you have the 'intmax_t' type in or . */ ++#undef HAVE_INTMAX_T ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_INTTYPES_H ++ ++/* Define if exists, doesn't clash with , and ++ declares uintmax_t. */ ++#undef HAVE_INTTYPES_H_WITH_UINTMAX ++ ++/* Define to 1 if defines AF_INET. */ ++#undef HAVE_IPV4 ++ ++/* Define to 1 if defines AF_INET6. */ ++#undef HAVE_IPV6 ++ ++/* Define to 1 if you have the `cap-ng' library (-lcap-ng). */ ++#undef HAVE_LIBCAP_NG ++ ++/* Define to 1 if you have the `dl' library (-ldl). */ ++#undef HAVE_LIBDL ++ ++/* Define to 1 if you have the `gnutls' library (-lgnutls). */ ++#undef HAVE_LIBGNUTLS ++ ++/* Define to 1 if you have the `libhal_get_all_devices' function. */ ++#undef HAVE_LIBHAL_GET_ALL_DEVICES ++ ++/* Define to 1 if you have the `intl' library (-lintl). */ ++#undef HAVE_LIBINTL ++ ++/* Define to 1 if you have the `numa' library (-lnuma). */ ++#undef HAVE_LIBNUMA ++ ++/* Define to 1 if you have the `parted' library (-lparted). */ ++#undef HAVE_LIBPARTED ++ ++/* Define to 1 if you have the `portablexdr' library (-lportablexdr). */ ++#undef HAVE_LIBPORTABLEXDR ++ ++/* Define if pthread (-lpthread) */ ++#undef HAVE_LIBPTHREAD ++ ++/* Define to 1 if you have the `selinux' library (-lselinux). */ ++#undef HAVE_LIBSELINUX ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_LIBSSH_LIBSSH_H ++ ++/* Define to 1 if you have the `uuid' library (-luuid). */ ++#undef HAVE_LIBUUID ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_LINUX_IF_BRIDGE_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_LINUX_IF_TUN_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_LINUX_KVM_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_LINUX_PARAM_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_LINUX_SOCKIOS_H ++ ++/* Define to 1 if the system has the type `long long int'. */ ++#undef HAVE_LONG_LONG_INT ++ ++/* Define to 1 if you have the `lstat' function. */ ++#undef HAVE_LSTAT ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_MACHINE_HAL_SYSINFO_H ++ ++/* Define if the 'malloc' function is POSIX compliant. */ ++#undef HAVE_MALLOC_POSIX ++ ++/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++#undef HAVE_MAP_ANONYMOUS ++ ++/* Define to 1 if you have the `mbrtowc' function. */ ++#undef HAVE_MBRTOWC ++ ++/* Define to 1 if you have the `memchr' function. */ ++#undef HAVE_MEMCHR ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_MEMORY_H ++ ++/* Define to 1 if you have the `mmap' function. */ ++#undef HAVE_MMAP ++ ++/* Define to 1 if you have the `mprotect' function. */ ++#undef HAVE_MPROTECT ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_NETDB_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_NETINET_IN_H ++ ++/* whether numactl is available for topology info */ ++#undef HAVE_NUMACTL ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_OS_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_PATHS_H ++ ++/* use PolicyKit for UNIX socket access checks */ ++#undef HAVE_POLKIT ++ ++/* Define to 1 if you have the `polkit_context_is_caller_authorized' function. ++ */ ++#undef HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED ++ ++/* Define to 1 if you have the 'poll' function and it works. */ ++#undef HAVE_POLL ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_POLL_H ++ ++/* Define to 1 if you have the `posix_fallocate' function. */ ++#undef HAVE_POSIX_FALLOCATE ++ ++/* Define to 1 if you have the `pstat_getdynamic' function. */ ++#undef HAVE_PSTAT_GETDYNAMIC ++ ++/* Define to 1 if you have the `pstat_getstatic' function. */ ++#undef HAVE_PSTAT_GETSTATIC ++ ++/* Define if */ ++#undef HAVE_PTHREAD_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_PWD_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_RANDOM_H ++ ++/* Define to 1 if you have the `random_r' function. */ ++#undef HAVE_RANDOM_R ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_READLINE_READLINE_H ++ ++/* Define to 1 if you have the `readlink' function. */ ++#undef HAVE_READLINK ++ ++/* Define if the 'realloc' function is POSIX compliant. */ ++#undef HAVE_REALLOC_POSIX ++ ++/* Define to 1 if you have the `regexec' function. */ ++#undef HAVE_REGEXEC ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_REGEX_H ++ ++/* whether Cyrus SASL is available for authentication */ ++#undef HAVE_SASL ++ ++/* Define to 1 if the system has the type `sa_family_t'. */ ++#undef HAVE_SA_FAMILY_T ++ ++/* Define to 1 if you have the `sched_getaffinity' function. */ ++#undef HAVE_SCHED_GETAFFINITY ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SCHED_H ++ ++/* whether SELinux is available for security */ ++#undef HAVE_SELINUX ++ ++/* Define to 1 if you have the `shutdown' function. */ ++#undef HAVE_SHUTDOWN ++ ++/* Define to 1 if 'sig_atomic_t' is a signed integer type. */ ++#undef HAVE_SIGNED_SIG_ATOMIC_T ++ ++/* Define to 1 if 'wchar_t' is a signed integer type. */ ++#undef HAVE_SIGNED_WCHAR_T ++ ++/* Define to 1 if 'wint_t' is a signed integer type. */ ++#undef HAVE_SIGNED_WINT_T ++ ++/* Define to 1 if you have the `snprintf' function. */ ++#undef HAVE_SNPRINTF ++ ++/* Define to 1 if stdbool.h conforms to C99. */ ++#undef HAVE_STDBOOL_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STDINT_H ++ ++/* Define if exists, doesn't clash with , and declares ++ uintmax_t. */ ++#undef HAVE_STDINT_H_WITH_UINTMAX ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STDIO_EXT_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STDIO_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STDLIB_H ++ ++/* Define to 1 if you have the `stpcpy' function. */ ++#undef HAVE_STPCPY ++ ++/* Define to 1 if you have the `strdup' function. */ ++#undef HAVE_STRDUP ++ ++/* Define to 1 if you have the `strerror_r' function. */ ++#undef HAVE_STRERROR_R ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STRINGS_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STRING_H ++ ++/* Define if you have the strndup() function and it works. */ ++#undef HAVE_STRNDUP ++ ++/* Define to 1 if you have the `strnlen' function. */ ++#undef HAVE_STRNLEN ++ ++/* Define to 1 if you have the `strsep' function. */ ++#undef HAVE_STRSEP ++ ++/* Define to 1 if you have the `strtok_r' function. */ ++#undef HAVE_STRTOK_R ++ ++/* Define to 1 if the system has the type `struct addrinfo'. */ ++#undef HAVE_STRUCT_ADDRINFO ++ ++/* Define to 1 if the system has the type `struct random_data'. */ ++#undef HAVE_STRUCT_RANDOM_DATA ++ ++/* Define to 1 if `sa_len' is member of `struct sockaddr'. */ ++#undef HAVE_STRUCT_SOCKADDR_SA_LEN ++ ++/* Define to 1 if the system has the type `struct sockaddr_storage'. */ ++#undef HAVE_STRUCT_SOCKADDR_STORAGE ++ ++/* Define to 1 if you have the `sysctl' function. */ ++#undef HAVE_SYSCTL ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYSLOG_H ++ ++/* Define to 1 if you have the `sysmp' function. */ ++#undef HAVE_SYSMP ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_BITYPES_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_FILIO_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_INTTYPES_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_IOCTL_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_MMAN_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_PARAM_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_POLL_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_PSTAT_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SELECT_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SOCKET_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_STAT_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SYSCTL_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SYSINFO_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SYSLIMITS_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SYSMP_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SYSTEMCFG_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_TABLE_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_TIMEB_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_TIME_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_TYPES_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_UTSNAME_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_WAIT_H ++ ++/* Define to 1 if you have the `table' function. */ ++#undef HAVE_TABLE ++ ++/* Define to 1 if you have the `tcgetattr' function. */ ++#undef HAVE_TCGETATTR ++ ++/* Define to 1 if you have the `tcsetattr' function. */ ++#undef HAVE_TCSETATTR ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_TERMIOS_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_TIME_H ++ ++/* Define to 1 if you have the `uname' function. */ ++#undef HAVE_UNAME ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_UNISTD_H ++ ++/* Define to 1 if the system has the type `unsigned long long int'. */ ++#undef HAVE_UNSIGNED_LONG_LONG_INT ++ ++/* Define to 1 if you have the `vasnprintf' function. */ ++#undef HAVE_VASNPRINTF ++ ++/* Define to 1 if you have the `vasprintf' function. */ ++#undef HAVE_VASPRINTF ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_WCHAR_H ++ ++/* Define if you have the 'wchar_t' type. */ ++#undef HAVE_WCHAR_T ++ ++/* Define to 1 if you have the `wcrtomb' function. */ ++#undef HAVE_WCRTOMB ++ ++/* Define to 1 if you have the `wcslen' function. */ ++#undef HAVE_WCSLEN ++ ++/* Define to 1 if you have the `wcsnlen' function. */ ++#undef HAVE_WCSNLEN ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_WINSOCK2_H ++ ++/* Define if you have the 'wint_t' type. */ ++#undef HAVE_WINT_T ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_WS2TCPIP_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_XEN_DOM0_OPS_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_XEN_LINUX_PRIVCMD_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_XEN_SYS_PRIVCMD_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_XEN_VERSION_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_XEN_XEN_H ++ ++/* whether One is used to broadcast server presence */ ++#undef HAVE_XMLRPC ++ ++/* Have query_raw field in libxml2 xmlURI structure */ ++#undef HAVE_XMLURI_QUERY_RAW ++ ++/* Define to 1 if the system has the type `_Bool'. */ ++#undef HAVE__BOOL ++ ++/* Define to 1 if you have the `_ftime' function. */ ++#undef HAVE__FTIME ++ ++/* Define to 1 if you have the external variable, _system_configuration with a ++ member named physmem. */ ++#undef HAVE__SYSTEM_CONFIGURATION ++ ++/* Define to 1 if you have the `__fsetlocking' function. */ ++#undef HAVE___FSETLOCKING ++ ++/* path to iptables binary */ ++#undef IPTABLES_PATH ++ ++/* Location of iscsiadm program */ ++#undef ISCSIADM ++ ++/* path to lokkit binary */ ++#undef LOKKIT_PATH ++ ++/* Define to 1 if lseek does not detect pipes. */ ++#undef LSEEK_PIPE_BROKEN ++ ++/* Define to 1 if `lstat' dereferences a symlink specified with a trailing ++ slash. */ ++#undef LSTAT_FOLLOWS_SLASHED_SYMLINK ++ ++/* Define to the sub-directory in which libtool stores uninstalled libraries. ++ */ ++#undef LT_OBJDIR ++ ++/* Location of lvcreate program */ ++#undef LVCREATE ++ ++/* Location of lvcreate program */ ++#undef LVREMOVE ++ ++/* Location of lvs program */ ++#undef LVS ++ ++/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ ++#undef MAP_ANONYMOUS ++ ++/* Location or name of the modprobe program */ ++#undef MODPROBE ++ ++/* Location or name of the mount program */ ++#undef MOUNT ++ ++/* Define to 1 if your C compiler doesn't accept -c and -o together. */ ++#undef NO_MINUS_C_MINUS_O ++ ++/* Name of package */ ++#undef PACKAGE ++ ++/* Define to the address where bug reports for this package should be sent. */ ++#undef PACKAGE_BUGREPORT ++ ++/* Define to the full name of this package. */ ++#undef PACKAGE_NAME ++ ++/* Define to the full name and version of this package. */ ++#undef PACKAGE_STRING ++ ++/* Define to the one symbol short name of this package. */ ++#undef PACKAGE_TARNAME ++ ++/* Define to the version of this package. */ ++#undef PACKAGE_VERSION ++ ++/* Location or name of the parted program */ ++#undef PARTED ++ ++/* Location of polkit-auth program */ ++#undef POLKIT_AUTH ++ ++/* Define to 1 if the C compiler supports function prototypes. */ ++#undef PROTOTYPES ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'ptrdiff_t'. */ ++#undef PTRDIFF_T_SUFFIX ++ ++/* Location of pvcreate program */ ++#undef PVCREATE ++ ++/* Location of pvcreate program */ ++#undef PVREMOVE ++ ++/* Location of pvs program */ ++#undef PVS ++ ++/* QEMU group account */ ++#undef QEMU_GROUP ++ ++/* QEMU user account */ ++#undef QEMU_USER ++ ++/* Define this to 1 if strerror is broken. */ ++#undef REPLACE_STRERROR ++ ++/* Define if vasnprintf exists but is overridden by gnulib. */ ++#undef REPLACE_VASNPRINTF ++ ++/* Location or name of the showmount program */ ++#undef SHOWMOUNT ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'sig_atomic_t'. */ ++#undef SIG_ATOMIC_T_SUFFIX ++ ++/* Define as the maximum value of type 'size_t', if the system doesn't define ++ it. */ ++#undef SIZE_MAX ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'size_t'. */ ++#undef SIZE_T_SUFFIX ++ ++/* If using the C implementation of alloca, define if you know the ++ direction of stack growth for your system; otherwise it will be ++ automatically deduced at runtime. ++ STACK_DIRECTION > 0 => grows toward higher addresses ++ STACK_DIRECTION < 0 => grows toward lower addresses ++ STACK_DIRECTION = 0 => direction of growth unknown */ ++#undef STACK_DIRECTION ++ ++/* Define to 1 if the `S_IS*' macros in do not work properly. */ ++#undef STAT_MACROS_BROKEN ++ ++/* Define to 1 if you have the ANSI C header files. */ ++#undef STDC_HEADERS ++ ++/* Whether malloc OOM checking is enabled */ ++#undef TEST_OOM ++ ++/* Whether backtrace() is available */ ++#undef TEST_OOM_TRACE ++ ++/* Location or name of the udevadm program */ ++#undef UDEVADM ++ ++/* Location or name of the udevsettle program */ ++#undef UDEVSETTLE ++ ++/* Location or name of the mount program */ ++#undef UMOUNT ++ ++/* whether virsh can use readline */ ++#undef USE_READLINE ++ ++/* Version number of package */ ++#undef VERSION ++ ++/* Location of vgchange program */ ++#undef VGCHANGE ++ ++/* Location of vgcreate program */ ++#undef VGCREATE ++ ++/* Location of vgcreate program */ ++#undef VGREMOVE ++ ++/* Location of vgs program */ ++#undef VGS ++ ++/* Location of vgscan program */ ++#undef VGSCAN ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'wchar_t'. */ ++#undef WCHAR_T_SUFFIX ++ ++/* Define if WSAStartup is needed. */ ++#undef WINDOWS_SOCKETS ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'wint_t'. */ ++#undef WINT_T_SUFFIX ++ ++/* whether bridge code is needed */ ++#undef WITH_BRIDGE ++ ++/* whether to build drivers as modules */ ++#undef WITH_DRIVER_MODULES ++ ++/* whether ESX driver is enabled */ ++#undef WITH_ESX ++ ++/* whether libvirtd daemon is enabled */ ++#undef WITH_LIBVIRTD ++ ++/* whether LXC driver is enabled */ ++#undef WITH_LXC ++ ++/* whether libnetcf is available to configure physical host network interfaces ++ */ ++#undef WITH_NETCF ++ ++/* whether network driver is enabled */ ++#undef WITH_NETWORK ++ ++/* with node device driver */ ++#undef WITH_NODE_DEVICES ++ ++/* whether ONE driver is enabled */ ++#undef WITH_ONE ++ ++/* whether OpenVZ driver is enabled */ ++#undef WITH_OPENVZ ++ ++/* whether IBM HMC / IVM driver is enabled */ ++#undef WITH_PHYP ++ ++/* Whether Xen proxy is enabled */ ++#undef WITH_PROXY ++ ++/* whether QEMU driver is enabled */ ++#undef WITH_QEMU ++ ++/* whether Remote driver is enabled */ ++#undef WITH_REMOTE ++ ++/* whether building for the RHEL-5 API */ ++#undef WITH_RHEL5_API ++ ++/* whether SELinux security driver is available */ ++#undef WITH_SECDRIVER_SELINUX ++ ++/* whether directory backend for storage driver is enabled */ ++#undef WITH_STORAGE_DIR ++ ++/* whether Disk backend for storage driver is enabled */ ++#undef WITH_STORAGE_DISK ++ ++/* whether FS backend for storage driver is enabled */ ++#undef WITH_STORAGE_FS ++ ++/* whether iSCSI backend for storage driver is enabled */ ++#undef WITH_STORAGE_ISCSI ++ ++/* whether LVM backend for storage driver is enabled */ ++#undef WITH_STORAGE_LVM ++ ++/* whether SCSI backend for storage driver is enabled */ ++#undef WITH_STORAGE_SCSI ++ ++/* whether Test driver is enabled */ ++#undef WITH_TEST ++ ++/* whether UML driver is enabled */ ++#undef WITH_UML ++ ++/* whether VirtualBox driver is enabled */ ++#undef WITH_VBOX ++ ++/* whether Xen driver is enabled */ ++#undef WITH_XEN ++ ++/* whether Xen inotify sub-driver is enabled */ ++#undef WITH_XEN_INOTIFY ++ ++/* Number of bits in a file offset, on hosts where this is settable. */ ++#undef _FILE_OFFSET_BITS ++ ++/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ ++#undef _LARGEFILE_SOURCE ++ ++/* Define for large files, on AIX-style hosts. */ ++#undef _LARGE_FILES ++ ++/* Define to 1 if on MINIX. */ ++#undef _MINIX ++ ++/* Define to 2 if the system does not provide POSIX.1 features except with ++ this defined. */ ++#undef _POSIX_1_SOURCE ++ ++/* Define to 1 if you need to in order for `stat' and other things to work. */ ++#undef _POSIX_SOURCE ++ ++/* Define to 500 only on HP-UX. */ ++#undef _XOPEN_SOURCE ++ ++/* Enable extensions on AIX 3, Interix. */ ++#ifndef _ALL_SOURCE ++# undef _ALL_SOURCE ++#endif ++/* Enable GNU extensions on systems that have them. */ ++#ifndef _GNU_SOURCE ++# undef _GNU_SOURCE ++#endif ++/* Enable threading extensions on Solaris. */ ++#ifndef _POSIX_PTHREAD_SEMANTICS ++# undef _POSIX_PTHREAD_SEMANTICS ++#endif ++/* Enable extensions on HP NonStop. */ ++#ifndef _TANDEM_SOURCE ++# undef _TANDEM_SOURCE ++#endif ++/* Enable general extensions on Solaris. */ ++#ifndef __EXTENSIONS__ ++# undef __EXTENSIONS__ ++#endif ++ ++ ++/* Define like PROTOTYPES; this can be used by system headers. */ ++#undef __PROTOTYPES ++ ++/* Define to empty if `const' does not conform to ANSI C. */ ++#undef const ++ ++/* Define to rpl_gmtime if the replacement function should be used. */ ++#undef gmtime ++ ++/* Define to `__inline__' or `__inline' if that's what the C compiler ++ calls it, or to nothing if 'inline' is not supported under any name. */ ++#ifndef __cplusplus ++#undef inline ++#endif ++ ++/* Define to long or long long if and don't define. */ ++#undef intmax_t ++ ++/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports ++ the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of ++ earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. ++ __APPLE__ && __MACH__ test for MacOS X. ++ __APPLE_CC__ tests for the Apple compiler and its version. ++ __STDC_VERSION__ tests for the C99 mode. */ ++#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ ++# define __GNUC_STDC_INLINE__ 1 ++#endif ++ ++/* Define to rpl_localtime if the replacement function should be used. */ ++#undef localtime ++ ++/* Define to the type of st_nlink in struct stat, or a supertype. */ ++#undef nlink_t ++ ++/* Define to poll if the replacement function should be used. */ ++#undef poll ++ ++/* Define as the type of the result of subtracting two pointers, if the system ++ doesn't define it. */ ++#undef ptrdiff_t ++ ++/* Define to the equivalent of the C99 'restrict' keyword, or to ++ nothing if this is not supported. Do not define if restrict is ++ supported directly. */ ++#undef restrict ++/* Work around a bug in Sun C++: it does not support _Restrict, even ++ though the corresponding Sun C compiler does, which causes ++ "#define restrict _Restrict" in the previous line. Perhaps some future ++ version of Sun C++ will work with _Restrict; if so, it'll probably ++ define __RESTRICT, just as Sun C does. */ ++#if defined __SUNPRO_CC && !defined __RESTRICT ++# define _Restrict ++#endif ++ ++/* Define to `unsigned int' if does not define. */ ++#undef size_t ++ ++/* type to use in place of socklen_t if not defined */ ++#undef socklen_t ++ ++/* Define to rpl_strnlen if the replacement function should be used. */ ++#undef strnlen ++ ++/* Define as a marker that can be attached to function parameter declarations ++ for parameters that are not used. This helps to reduce warnings, such as ++ from GCC -Wunused-parameter. */ ++#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) ++# define _UNUSED_PARAMETER_ __attribute__ ((__unused__)) ++#else ++# define _UNUSED_PARAMETER_ ++#endif ++ +diff -Nur libvirt-0.7.0/configure libvirt-0.7.0.new/configure +--- libvirt-0.7.0/configure 2009-08-05 08:57:32.000000000 -0500 ++++ libvirt-0.7.0.new/configure 2009-08-13 22:45:23.430505958 -0500 +@@ -1,18 +1,20 @@ + #! /bin/sh + # Guess values for system-dependent variables and create Makefiles. +-# Generated by GNU Autoconf 2.63 for libvirt 0.7.0. ++# Generated by GNU Autoconf 2.64 for libvirt 0.7.0. + # + # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. ++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software ++# Foundation, Inc. ++# + # This configure script is free software; the Free Software Foundation + # gives unlimited permission to copy, distribute and modify it. +-## --------------------- ## +-## M4sh Initialization. ## +-## --------------------- ## ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## + + # Be more Bourne compatible + DUALCASE=1; export DUALCASE # for MKS sh +-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which +@@ -20,23 +22,15 @@ + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST + else +- case `(set -o) 2>/dev/null` in +- *posix*) set -o posix ;; ++ case `(set -o) 2>/dev/null` in #( ++ *posix*) : ++ set -o posix ;; #( ++ *) : ++ ;; + esac +- + fi + + +- +- +-# PATH needs CR +-# Avoid depending upon Character Ranges. +-as_cr_letters='abcdefghijklmnopqrstuvwxyz' +-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +-as_cr_Letters=$as_cr_letters$as_cr_LETTERS +-as_cr_digits='0123456789' +-as_cr_alnum=$as_cr_Letters$as_cr_digits +- + as_nl=' + ' + export as_nl +@@ -44,7 +38,13 @@ + as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' + else +@@ -55,7 +55,7 @@ + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; +- case $arg in ++ case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; +@@ -78,13 +78,6 @@ + } + fi + +-# Support unset when possible. +-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then +- as_unset=unset +-else +- as_unset=false +-fi +- + + # IFS + # We need space, tab and new line, in precisely that order. Quoting is +@@ -94,15 +87,15 @@ + IFS=" "" $as_nl" + + # Find who we are. Look in the path if we contain no directory separator. +-case $0 in ++case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +-done ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done + IFS=$as_save_IFS + + ;; +@@ -114,12 +107,16 @@ + fi + if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 +- { (exit 1); exit 1; } ++ exit 1 + fi + +-# Work around bugs in pre-3.0 UWIN ksh. +-for as_var in ENV MAIL MAILPATH +-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : + done + PS1='$ ' + PS2='> ' +@@ -131,330 +128,299 @@ + LANGUAGE=C + export LANGUAGE + +-# Required to use basename. +-if expr a : '\(a\)' >/dev/null 2>&1 && +- test "X`expr 00001 : '.*\(...\)'`" = X001; then +- as_expr=expr +-else +- as_expr=false +-fi +- +-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then +- as_basename=basename +-else +- as_basename=false +-fi +- +- +-# Name of the executable. +-as_me=`$as_basename -- "$0" || +-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ +- X"$0" : 'X\(//\)$' \| \ +- X"$0" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X/"$0" | +- sed '/^.*\/\([^/][^/]*\)\/*$/{ +- s//\1/ +- q +- } +- /^X\/\(\/\/\)$/{ +- s//\1/ +- q +- } +- /^X\/\(\/\).*/{ +- s//\1/ +- q +- } +- s/.*/./; q'` +- + # CDPATH. +-$as_unset CDPATH +- ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + if test "x$CONFIG_SHELL" = x; then +- if (eval ":") 2>/dev/null; then +- as_have_required=yes ++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '\${1+\"\$@\"}'='\"\$@\"' ++ setopt NO_GLOB_SUBST + else +- as_have_required=no ++ case \`(set -o) 2>/dev/null\` in #( ++ *posix*) : ++ set -o posix ;; #( ++ *) : ++ ;; ++esac + fi +- +- if test $as_have_required = yes && (eval ": +-(as_func_return () { +- (exit \$1) +-} +-as_func_success () { +- as_func_return 0 +-} +-as_func_failure () { +- as_func_return 1 +-} +-as_func_ret_success () { +- return 0 +-} +-as_func_ret_failure () { +- return 1 +-} ++" ++ as_required="as_fn_return () { (exit \$1); } ++as_fn_success () { as_fn_return 0; } ++as_fn_failure () { as_fn_return 1; } ++as_fn_ret_success () { return 0; } ++as_fn_ret_failure () { return 1; } + + exitcode=0 +-if as_func_success; then +- : +-else +- exitcode=1 +- echo as_func_success failed. +-fi +- +-if as_func_failure; then +- exitcode=1 +- echo as_func_failure succeeded. +-fi +- +-if as_func_ret_success; then +- : +-else +- exitcode=1 +- echo as_func_ret_success failed. +-fi +- +-if as_func_ret_failure; then +- exitcode=1 +- echo as_func_ret_failure succeeded. +-fi +- +-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then +- : ++as_fn_success || { exitcode=1; echo as_fn_success failed.; } ++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ++ ++else ++ exitcode=1; echo positional parameters were not saved. ++fi ++test x\$exitcode = x0 || exit 1" ++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ++test \$(( 1 + 1 )) = 2 || exit 1" ++ if (eval "$as_required") 2>/dev/null; then : ++ as_have_required=yes + else +- exitcode=1 +- echo positional parameters were not saved. ++ as_have_required=no + fi ++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +-test \$exitcode = 0) || { (exit 1); exit 1; } +- +-( +- as_lineno_1=\$LINENO +- as_lineno_2=\$LINENO +- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && +- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } +-") 2> /dev/null; then +- : + else +- as_candidate_shells= +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- case $as_dir in ++ as_found=: ++ case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do +- as_candidate_shells="$as_candidate_shells $as_dir/$as_base" ++ # Try only shells that exist, to save several forks. ++ as_shell=$as_dir/$as_base ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ CONFIG_SHELL=$as_shell as_have_required=yes ++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ break 2 ++fi ++fi + done;; + esac ++ as_found=false + done ++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : ++ CONFIG_SHELL=$SHELL as_have_required=yes ++fi; } + IFS=$as_save_IFS + + +- for as_shell in $as_candidate_shells $SHELL; do +- # Try only shells that exist, to save several forks. +- if { test -f "$as_shell" || test -f "$as_shell.exe"; } && +- { ("$as_shell") 2> /dev/null <<\_ASEOF +-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +- emulate sh +- NULLCMD=: +- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which +- # is contrary to our usage. Disable this feature. +- alias -g '${1+"$@"}'='"$@"' +- setopt NO_GLOB_SUBST +-else +- case `(set -o) 2>/dev/null` in +- *posix*) set -o posix ;; +-esac +- +-fi +- +- +-: +-_ASEOF +-}; then +- CONFIG_SHELL=$as_shell +- as_have_required=yes +- if { "$as_shell" 2> /dev/null <<\_ASEOF +-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +- emulate sh +- NULLCMD=: +- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which +- # is contrary to our usage. Disable this feature. +- alias -g '${1+"$@"}'='"$@"' +- setopt NO_GLOB_SUBST +-else +- case `(set -o) 2>/dev/null` in +- *posix*) set -o posix ;; +-esac +- +-fi +- +- +-: +-(as_func_return () { +- (exit $1) +-} +-as_func_success () { +- as_func_return 0 +-} +-as_func_failure () { +- as_func_return 1 +-} +-as_func_ret_success () { +- return 0 +-} +-as_func_ret_failure () { +- return 1 +-} +- +-exitcode=0 +-if as_func_success; then +- : +-else +- exitcode=1 +- echo as_func_success failed. +-fi +- +-if as_func_failure; then +- exitcode=1 +- echo as_func_failure succeeded. +-fi +- +-if as_func_ret_success; then +- : +-else +- exitcode=1 +- echo as_func_ret_success failed. +-fi +- +-if as_func_ret_failure; then +- exitcode=1 +- echo as_func_ret_failure succeeded. +-fi +- +-if ( set x; as_func_ret_success y && test x = "$1" ); then +- : +-else +- exitcode=1 +- echo positional parameters were not saved. +-fi +- +-test $exitcode = 0) || { (exit 1); exit 1; } +- +-( +- as_lineno_1=$LINENO +- as_lineno_2=$LINENO +- test "x$as_lineno_1" != "x$as_lineno_2" && +- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } +- +-_ASEOF +-}; then +- break +-fi +- +-fi +- +- done +- +- if test "x$CONFIG_SHELL" != x; then +- for as_var in BASH_ENV ENV +- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +- done ++ if test "x$CONFIG_SHELL" != x; then : ++ # We cannot yet assume a decent shell, so we have to provide a ++ # neutralization value for shells without unset; and this also ++ # works around shells that cannot unset nonexistent variables. ++ BASH_ENV=/dev/null ++ ENV=/dev/null ++ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} + fi + +- +- if test $as_have_required = no; then +- echo This script requires a shell more modern than all the +- echo shells that I found on your system. Please install a +- echo modern shell, or manually run the script under such a +- echo shell if you do have one. +- { (exit 1); exit 1; } ++ if test x$as_have_required = xno; then : ++ $as_echo "$0: This script requires a shell more modern than all" ++ $as_echo "$0: the shells that I found on your system." ++ if test x${ZSH_VERSION+set} = xset ; then ++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" ++ $as_echo "$0: be upgraded to zsh 4.3.4 or later." ++ else ++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, ++$0: including any error possibly output before this ++$0: message. Then install a modern shell, or manually run ++$0: the script under such a shell if you do have one." ++ fi ++ exit 1 + fi +- +- + fi +- + fi ++SHELL=${CONFIG_SHELL-/bin/sh} ++export SHELL ++# Unset more variables known to interfere with behavior of common tools. ++CLICOLOR_FORCE= GREP_OPTIONS= ++unset CLICOLOR_FORCE GREP_OPTIONS ++ ++## --------------------- ## ++## M4sh Shell Functions. ## ++## --------------------- ## ++# as_fn_unset VAR ++# --------------- ++# Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++# as_fn_set_status STATUS ++# ----------------------- ++# Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} # as_fn_set_status ++ ++# as_fn_exit STATUS ++# ----------------- ++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} # as_fn_exit ++ ++# as_fn_mkdir_p ++# ------------- ++# Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ + ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +-(eval "as_func_return () { +- (exit \$1) +-} +-as_func_success () { +- as_func_return 0 +-} +-as_func_failure () { +- as_func_return 1 +-} +-as_func_ret_success () { +- return 0 +-} +-as_func_ret_failure () { +- return 1 +-} ++} # as_fn_mkdir_p ++# as_fn_append VAR VALUE ++# ---------------------- ++# Append the text in VALUE to the end of the definition contained in VAR. Take ++# advantage of any shell optimizations that allow amortized linear growth over ++# repeated appends, instead of the typical quadratic growth present in naive ++# implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append + +-exitcode=0 +-if as_func_success; then +- : ++# as_fn_arith ARG... ++# ------------------ ++# Perform arithmetic evaluation on the ARGs, and store the result in the ++# global $as_val. Take advantage of shells that can avoid forks. The arguments ++# must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' + else +- exitcode=1 +- echo as_func_success failed. +-fi ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith + +-if as_func_failure; then +- exitcode=1 +- echo as_func_failure succeeded. +-fi + +-if as_func_ret_success; then +- : ++# as_fn_error ERROR [LINENO LOG_FD] ++# --------------------------------- ++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++# script with status $?, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$?; test $as_status -eq 0 && as_status=1 ++ if test "$3"; then ++ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 ++ fi ++ $as_echo "$as_me: error: $1" >&2 ++ as_fn_exit $as_status ++} # as_fn_error ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr + else +- exitcode=1 +- echo as_func_ret_success failed. ++ as_expr=false + fi + +-if as_func_ret_failure; then +- exitcode=1 +- echo as_func_ret_failure succeeded. ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false + fi + +-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then +- : ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname + else +- exitcode=1 +- echo positional parameters were not saved. ++ as_dirname=false + fi + +-test \$exitcode = 0") || { +- echo No shell found that supports shell functions. +- echo Please tell bug-autoconf@gnu.org about your system, +- echo including any error possibly output before this message. +- echo This can help us improve future autoconf versions. +- echo Configuration will now proceed without shell functions. +-} ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` + ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits + + +- as_lineno_1=$LINENO +- as_lineno_2=$LINENO +- test "x$as_lineno_1" != "x$as_lineno_2" && +- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { +- +- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO +- # uniformly replaced by the line number. The first 'sed' inserts a +- # line-number line after each line using $LINENO; the second 'sed' +- # does the real work. The second script uses 'N' to pair each +- # line-number line with the line containing $LINENO, and appends +- # trailing '-' during substitution so that $LINENO is not a special +- # case at line end. +- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the +- # scripts with optimization help from Paolo Bonzini. Blame Lee +- # E. McMahon (1931-1989) for sed's syntax. :-) ++ as_lineno_1=$LINENO as_lineno_1a=$LINENO ++ as_lineno_2=$LINENO as_lineno_2a=$LINENO ++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= +@@ -471,8 +437,7 @@ + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || +- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 +- { (exit 1); exit 1; }; } ++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the +@@ -482,29 +447,18 @@ + exit + } + +- +-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then +- as_dirname=dirname +-else +- as_dirname=false +-fi +- + ECHO_C= ECHO_N= ECHO_T= +-case `echo -n x` in ++case `echo -n x` in #((((( + -n*) +- case `echo 'x\c'` in ++ case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. +- *) ECHO_C='\c';; ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; + esac;; + *) + ECHO_N='-n';; + esac +-if expr a : '\(a\)' >/dev/null 2>&1 && +- test "X`expr 00001 : '.*\(...\)'`" = X001; then +- as_expr=expr +-else +- as_expr=false +-fi + + rm -f conf$$ conf$$.exe conf$$.file + if test -d conf$$.dir; then +@@ -534,7 +488,7 @@ + rmdir conf$$.dir 2>/dev/null + + if mkdir -p . 2>/dev/null; then +- as_mkdir_p=: ++ as_mkdir_p='mkdir -p "$as_dir"' + else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +@@ -553,10 +507,10 @@ + if test -d "$1"; then + test -d "$1/."; + else +- case $1 in ++ case $1 in #( + -*)set "./$1";; + esac; +- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +@@ -571,7 +525,6 @@ + + + +- + # Check that we are running under the correct shell. + SHELL=${CONFIG_SHELL-/bin/sh} + +@@ -738,7 +691,6 @@ + subdirs= + MFLAGS= + MAKEFLAGS= +-SHELL=${CONFIG_SHELL-/bin/sh} + + # Identity of this package. + PACKAGE_NAME='libvirt' +@@ -746,6 +698,7 @@ + PACKAGE_VERSION='0.7.0' + PACKAGE_STRING='libvirt 0.7.0' + PACKAGE_BUGREPORT='' ++PACKAGE_URL='' + + ac_unique_file="src/libvirt.c" + # Factoring default headers for most tests. +@@ -790,8 +743,6 @@ + gltests_LIBOBJS + gl_LTLIBOBJS + gl_LIBOBJS +-am__EXEEXT_FALSE +-am__EXEEXT_TRUE + LTLIBOBJS + LIBOBJS + WITH_LINUX_FALSE +@@ -904,6 +855,12 @@ + NUMACTL_CFLAGS + HAVE_NUMACTL_FALSE + HAVE_NUMACTL_TRUE ++WITH_SECDRIVER_APPARMOR_FALSE ++WITH_SECDRIVER_APPARMOR_TRUE ++APPARMOR_LIBS ++APPARMOR_CFLAGS ++HAVE_APPARMOR_FALSE ++HAVE_APPARMOR_TRUE + WITH_SECDRIVER_SELINUX_FALSE + WITH_SECDRIVER_SELINUX_TRUE + SELINUX_LIBS +@@ -1435,8 +1392,6 @@ + build_vendor + build_cpu + build +-AM_BACKSLASH +-AM_DEFAULT_VERBOSITY + am__untar + am__tar + AMTAR +@@ -1490,6 +1445,7 @@ + program_transform_name + prefix + exec_prefix ++PACKAGE_URL + PACKAGE_BUGREPORT + PACKAGE_STRING + PACKAGE_VERSION +@@ -1500,7 +1456,6 @@ + ac_subst_files='' + ac_user_opts=' + enable_option_checking +-enable_silent_rules + enable_dependency_tracking + enable_largefile + enable_shared +@@ -1538,6 +1493,8 @@ + with_avahi + with_selinux + with_secdriver_selinux ++with_apparmor ++with_secdriver_apparmor + with_numactl + with_capng + with_network +@@ -1701,8 +1658,7 @@ + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in +@@ -1728,8 +1684,7 @@ + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in +@@ -1933,8 +1888,7 @@ + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in +@@ -1950,8 +1904,7 @@ + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in +@@ -1981,17 +1934,17 @@ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + +- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option +-Try \`$0 --help' for more information." >&2 +- { (exit 1); exit 1; }; } ++ -*) as_fn_error "unrecognized option: \`$ac_option' ++Try \`$0 --help' for more information." + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. +- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && +- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 +- { (exit 1); exit 1; }; } ++ case $ac_envvar in #( ++ '' | [0-9]* | *[!_$as_cr_alnum]* ) ++ as_fn_error "invalid variable name: \`$ac_envvar'" ;; ++ esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + +@@ -2008,15 +1961,13 @@ + + if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` +- { $as_echo "$as_me: error: missing argument to $ac_option" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "missing argument to $ac_option" + fi + + if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; +- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 +- { (exit 1); exit 1; }; } ;; ++ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac + fi +@@ -2039,8 +1990,7 @@ + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac +- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" + done + + # There might be people who depend on the old broken behavior: `$host' +@@ -2070,11 +2020,9 @@ + ac_pwd=`pwd` && test -n "$ac_pwd" && + ac_ls_di=`ls -di .` && + ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || +- { $as_echo "$as_me: error: working directory cannot be determined" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "working directory cannot be determined" + test "X$ac_ls_di" = "X$ac_pwd_ls_di" || +- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "pwd does not report name of working directory" + + + # Find the source files, if location was not specified. +@@ -2113,13 +2061,11 @@ + fi + if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." +- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 +- { (exit 1); exit 1; }; } ++ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" + fi + ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" + ac_abs_confdir=`( +- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 +- { (exit 1); exit 1; }; } ++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" + pwd)` + # When building in place, set srcdir=. + if test "$ac_abs_confdir" = "$ac_pwd"; then +@@ -2223,8 +2169,6 @@ + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] +- --enable-silent-rules less verbose build output (undo: `make V=1') +- --disable-silent-rules verbose build output (undo: `make V=0') + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-largefile omit support for large files +@@ -2281,6 +2225,8 @@ + --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) +@@ -2350,6 +2296,7 @@ + Use these variables to override the choices made by `configure' or to help + it to find libraries and programs with nonstandard names/locations. + ++Report bugs to the package provider. + _ACEOF + ac_status=$? + fi +@@ -2413,186 +2360,865 @@ + if $ac_init_version; then + cat <<\_ACEOF + libvirt configure 0.7.0 +-generated by GNU Autoconf 2.63 ++generated by GNU Autoconf 2.64 + +-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. ++Copyright (C) 2009 Free Software Foundation, Inc. + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + _ACEOF + exit + fi +-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.0, which was +-generated by GNU Autoconf 2.63. Invocation command line was ++## ------------------------ ## ++## Autoconf initialization. ## ++## ------------------------ ## ++ ++# ac_fn_c_try_compile LINENO ++# -------------------------- ++# Try to compile conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ 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:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- $ $0 $@ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval + +-_ACEOF +-exec 5>>config.log ++} # ac_fn_c_try_compile ++ ++# ac_fn_c_try_cpp LINENO ++# ---------------------- ++# Try to preprocess conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_cpp () + { +-cat <<_ASUNAME +-## --------- ## +-## Platform. ## +-## --------- ## ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +-uname -m = `(uname -m) 2>/dev/null || echo unknown` +-uname -r = `(uname -r) 2>/dev/null || echo unknown` +-uname -s = `(uname -s) 2>/dev/null || echo unknown` +-uname -v = `(uname -v) 2>/dev/null || echo unknown` ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval + +-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ++} # ac_fn_c_try_cpp + +-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ++# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES ++# ------------------------------------------------------- ++# Tests whether HEADER exists, giving a warning if it cannot be compiled using ++# the include files in INCLUDES and setting the cache variable VAR ++# accordingly. ++ac_fn_c_check_header_mongrel () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ++$as_echo_n "checking $2 usability... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++#include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_header_compiler=yes ++else ++ ac_header_compiler=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } + +-_ASUNAME ++# Is the header present? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 ++$as_echo_n "checking $2 presence... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include <$2> ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ac_header_preproc=yes ++else ++ ac_header_preproc=no ++fi ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } + +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- $as_echo "PATH: $as_dir" +-done +-IFS=$as_save_IFS ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( ++ yes:no: ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=\$ac_header_compiler" ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++fi ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +-} >&5 ++} # ac_fn_c_check_header_mongrel + +-cat >&5 <<_ACEOF ++# ac_fn_c_try_run LINENO ++# ---------------------- ++# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes ++# that executables *can* be run. ++ac_fn_c_try_run () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + ++ ac_retval=$ac_status ++fi ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval + +-## ----------- ## +-## Core tests. ## +-## ----------- ## ++} # ac_fn_c_try_run + ++# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ++# ------------------------------------------------------- ++# Tests whether HEADER exists and can be compiled using the include files in ++# INCLUDES, setting the cache variable VAR accordingly. ++ac_fn_c_check_header_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++#include <$2> + _ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + ++} # ac_fn_c_check_header_compile + +-# Keep a trace of the command line. +-# Strip out --no-create and --no-recursion so they do not pile up. +-# Strip out --silent because we don't want to record it for future runs. +-# Also quote any args containing shell meta-characters. +-# Make two passes to allow for proper duplicate-argument suppression. +-ac_configure_args= +-ac_configure_args0= +-ac_configure_args1= +-ac_must_keep_next=false +-for ac_pass in 1 2 +-do +- for ac_arg +- do +- case $ac_arg in +- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; +- -q | -quiet | --quiet | --quie | --qui | --qu | --q \ +- | -silent | --silent | --silen | --sile | --sil) +- continue ;; +- *\'*) +- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; +- esac +- case $ac_pass in +- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; +- 2) +- ac_configure_args1="$ac_configure_args1 '$ac_arg'" +- if test $ac_must_keep_next = true; then +- ac_must_keep_next=false # Got value, back to normal. +- else +- case $ac_arg in +- *=* | --config-cache | -C | -disable-* | --disable-* \ +- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ +- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ +- | -with-* | --with-* | -without-* | --without-* | --x) +- case "$ac_configure_args0 " in +- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; +- esac +- ;; +- -* ) ac_must_keep_next=true ;; +- esac +- fi +- ac_configure_args="$ac_configure_args '$ac_arg'" +- ;; +- esac +- done +-done +-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } +- +-# When interrupted or exit'd, cleanup temporary files, and complete +-# config.log. We remove comments because anyway the quotes in there +-# would cause problems or look ugly. +-# WARNING: Use '\'' to represent an apostrophe within the trap. +-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +-trap 'exit_status=$? +- # Save into config.log some information that might help in debugging. +- { +- echo ++# ac_fn_c_try_link LINENO ++# ----------------------- ++# Try to link conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_link () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest$ac_exeext ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- cat <<\_ASBOX +-## ---------------- ## +-## Cache variables. ## +-## ---------------- ## +-_ASBOX +- echo +- # The following way of writing the cache mishandles newlines in values, +-( +- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do +- eval ac_val=\$$ac_var +- case $ac_val in #( +- *${as_nl}*) +- case $ac_var in #( +- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 +-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; +- esac +- case $ac_var in #( +- _ | IFS | as_nl) ;; #( +- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( +- *) $as_unset $ac_var ;; +- esac ;; +- esac +- done +- (set) 2>&1 | +- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( +- *${as_nl}ac_space=\ *) +- sed -n \ +- "s/'\''/'\''\\\\'\'''\''/g; +- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" +- ;; #( +- *) +- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" +- ;; +- esac | +- sort +-) +- echo ++ ac_retval=1 ++fi ++ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ++ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ++ # interfere with the next link command; also delete a directory that is ++ # left behind by Apple's compiler. We do this before executing the actions. ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ return $ac_retval + +- cat <<\_ASBOX +-## ----------------- ## +-## Output variables. ## +-## ----------------- ## +-_ASBOX +- echo +- for ac_var in $ac_subst_vars +- do +- eval ac_val=\$$ac_var +- case $ac_val in +- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; +- esac +- $as_echo "$ac_var='\''$ac_val'\''" +- done | sort +- echo ++} # ac_fn_c_try_link + +- if test -n "$ac_subst_files"; then +- cat <<\_ASBOX ++# ac_fn_c_check_func LINENO FUNC VAR ++# ---------------------------------- ++# Tests whether FUNC exists, setting the cache variable VAR accordingly ++ac_fn_c_check_func () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Define $2 to an innocuous variant, in case declares $2. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $2 innocuous_$2 ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $2 (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef $2 ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char $2 (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$2 || defined __stub___$2 ++choke me ++#endif ++ ++int ++main () ++{ ++return $2 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} # ac_fn_c_check_func ++ ++# ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++# ------------------------------------------- ++# Tests whether TYPE exists after having included INCLUDES, setting cache ++# variable VAR accordingly. ++ac_fn_c_check_type () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ eval "$3=yes" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} # ac_fn_c_check_type ++ ++# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES ++# -------------------------------------------- ++# Tries to find the compile-time value of EXPR in a program that includes ++# INCLUDES, setting VAR accordingly. Returns whether the value could be ++# computed ++ac_fn_c_compute_int () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array [1 - 2 * !(($2) >= 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array [1 - 2 * !(($2) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid; break ++else ++ as_fn_arith $ac_mid + 1 && ac_lo=$as_val ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array [1 - 2 * !(($2) < 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array [1 - 2 * !(($2) >= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=$ac_mid; break ++else ++ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ ac_lo= ac_hi= ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array [1 - 2 * !(($2) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid ++else ++ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in #(( ++?*) eval "$3=\$ac_lo"; ac_retval=0 ;; ++'') ac_retval=1 ;; ++esac ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++static long int longval () { return $2; } ++static unsigned long int ulongval () { return $2; } ++#include ++#include ++int ++main () ++{ ++ ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (($2) < 0) ++ { ++ long int i = longval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ echo >>conftest.val; read $3 &5 ++$as_echo_n "checking for $2.$3... " >&6; } ++if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (sizeof ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ eval "$4=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$4 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} # ac_fn_c_check_member ++ ++# ac_fn_c_check_decl LINENO SYMBOL VAR ++# ------------------------------------ ++# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. ++ac_fn_c_check_decl () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 ++$as_echo_n "checking whether $2 is declared... " >&6; } ++if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++#ifndef $2 ++ (void) $2; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ ++} # ac_fn_c_check_decl ++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.0, which was ++generated by GNU Autoconf 2.64. Invocation command line was ++ ++ $ $0 $@ ++ ++_ACEOF ++exec 5>>config.log ++{ ++cat <<_ASUNAME ++## --------- ## ++## Platform. ## ++## --------- ## ++ ++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ++uname -m = `(uname -m) 2>/dev/null || echo unknown` ++uname -r = `(uname -r) 2>/dev/null || echo unknown` ++uname -s = `(uname -s) 2>/dev/null || echo unknown` ++uname -v = `(uname -v) 2>/dev/null || echo unknown` ++ ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ++ ++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ++ ++_ASUNAME ++ ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ $as_echo "PATH: $as_dir" ++ done ++IFS=$as_save_IFS ++ ++} >&5 ++ ++cat >&5 <<_ACEOF ++ ++ ++## ----------- ## ++## Core tests. ## ++## ----------- ## ++ ++_ACEOF ++ ++ ++# Keep a trace of the command line. ++# Strip out --no-create and --no-recursion so they do not pile up. ++# Strip out --silent because we don't want to record it for future runs. ++# Also quote any args containing shell meta-characters. ++# Make two passes to allow for proper duplicate-argument suppression. ++ac_configure_args= ++ac_configure_args0= ++ac_configure_args1= ++ac_must_keep_next=false ++for ac_pass in 1 2 ++do ++ for ac_arg ++ do ++ case $ac_arg in ++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ continue ;; ++ *\'*) ++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ case $ac_pass in ++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ++ 2) ++ as_fn_append ac_configure_args1 " '$ac_arg'" ++ if test $ac_must_keep_next = true; then ++ ac_must_keep_next=false # Got value, back to normal. ++ else ++ case $ac_arg in ++ *=* | --config-cache | -C | -disable-* | --disable-* \ ++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ++ | -with-* | --with-* | -without-* | --without-* | --x) ++ case "$ac_configure_args0 " in ++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ++ esac ++ ;; ++ -* ) ac_must_keep_next=true ;; ++ esac ++ fi ++ as_fn_append ac_configure_args " '$ac_arg'" ++ ;; ++ esac ++ done ++done ++{ ac_configure_args0=; unset ac_configure_args0;} ++{ ac_configure_args1=; unset ac_configure_args1;} ++ ++# When interrupted or exit'd, cleanup temporary files, and complete ++# config.log. We remove comments because anyway the quotes in there ++# would cause problems or look ugly. ++# WARNING: Use '\'' to represent an apostrophe within the trap. ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ++trap 'exit_status=$? ++ # Save into config.log some information that might help in debugging. ++ { ++ echo ++ ++ cat <<\_ASBOX ++## ---------------- ## ++## Cache variables. ## ++## ---------------- ## ++_ASBOX ++ echo ++ # The following way of writing the cache mishandles newlines in values, ++( ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ (set) 2>&1 | ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ sed -n \ ++ "s/'\''/'\''\\\\'\'''\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ++ ;; #( ++ *) ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) ++ echo ++ ++ cat <<\_ASBOX ++## ----------------- ## ++## Output variables. ## ++## ----------------- ## ++_ASBOX ++ echo ++ for ac_var in $ac_subst_vars ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ ++ if test -n "$ac_subst_files"; then ++ cat <<\_ASBOX + ## ------------------- ## + ## File substitutions. ## + ## ------------------- ## +@@ -2628,39 +3254,41 @@ + exit $exit_status + ' 0 + for ac_signal in 1 2 13 15; do +- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal ++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal + done + ac_signal=0 + + # confdefs.h avoids OS command line length limits that DEFS can exceed. + rm -f -r conftest* confdefs.h + ++$as_echo "/* confdefs.h */" > confdefs.h ++ + # Predefined preprocessor variables. + + cat >>confdefs.h <<_ACEOF + #define PACKAGE_NAME "$PACKAGE_NAME" + _ACEOF + +- + cat >>confdefs.h <<_ACEOF + #define PACKAGE_TARNAME "$PACKAGE_TARNAME" + _ACEOF + +- + cat >>confdefs.h <<_ACEOF + #define PACKAGE_VERSION "$PACKAGE_VERSION" + _ACEOF + +- + cat >>confdefs.h <<_ACEOF + #define PACKAGE_STRING "$PACKAGE_STRING" + _ACEOF + +- + cat >>confdefs.h <<_ACEOF + #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" + _ACEOF + ++cat >>confdefs.h <<_ACEOF ++#define PACKAGE_URL "$PACKAGE_URL" ++_ACEOF ++ + + # Let the site file select an alternate cache file if it wants to. + # Prefer an explicitly selected file to automatically selected ones. +@@ -2679,7 +3307,7 @@ + do + test "x$ac_site_file" = xNONE && continue + if test -r "$ac_site_file"; then +- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 + $as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" +@@ -2690,7 +3318,7 @@ + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then +- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 + $as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; +@@ -2698,7 +3326,7 @@ + esac + fi + else +- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 + $as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file + fi +@@ -2742,11 +3370,11 @@ + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) +- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 + $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) +- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 + $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; +@@ -2756,17 +3384,17 @@ + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then +- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 + $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else +- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 + $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi +- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 + $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} +- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 + $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac +@@ -2778,43 +3406,20 @@ + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. +- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; ++ *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi + done + if $ac_cache_corrupted; then +- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 + $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} +- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 + fi +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- ++## -------------------- ## ++## Main body of script. ## ++## -------------------- ## + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' +@@ -2826,24 +3431,16 @@ + + ac_aux_dir= + for ac_dir in build-aux "$srcdir"/build-aux; do +- if test -f "$ac_dir/install-sh"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/install-sh -c" +- break +- elif test -f "$ac_dir/install.sh"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/install.sh -c" +- break +- elif test -f "$ac_dir/shtool"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/shtool install -c" +- break +- fi ++ for ac_t in install-sh install.sh shtool; do ++ if test -f "$ac_dir/$ac_t"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/$ac_t -c" ++ break 2 ++ fi ++ done + done + if test -z "$ac_aux_dir"; then +- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5 +-$as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 + fi + + # These three variables are undocumented and unsupported, +@@ -2857,7 +3454,7 @@ + + ac_config_headers="$ac_config_headers config.h" + +-am__api_version='1.11' ++am__api_version='1.10' + + # Find a good install program. We prefer a C program (faster), + # so one script is as good as another. But avoid the broken or +@@ -2873,10 +3470,10 @@ + # OS/2's system install, which has a completely different semantic + # ./install, which can be erroneously created by make from ./install.sh. + # Reject install programs that cannot install multiple files. +-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 + $as_echo_n "checking for a BSD-compatible install... " >&6; } + if test -z "$INSTALL"; then +-if test "${ac_cv_path_install+set}" = set; then ++if test "${ac_cv_path_install+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +@@ -2884,11 +3481,11 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- # Account for people who put trailing slashes in PATH elements. +-case $as_dir/ in +- ./ | .// | /cC/* | \ ++ # Account for people who put trailing slashes in PATH elements. ++case $as_dir/ in #(( ++ ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ +- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ ++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. +@@ -2925,7 +3522,7 @@ + ;; + esac + +-done ++ done + IFS=$as_save_IFS + + rm -rf conftest.one conftest.two conftest.dir +@@ -2941,7 +3538,7 @@ + INSTALL=$ac_install_sh + fi + fi +-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 + $as_echo "$INSTALL" >&6; } + + # Use test -z because SunOS4 sh mishandles braces in ${var-val}. +@@ -2952,38 +3549,21 @@ + + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +-{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 + $as_echo_n "checking whether build environment is sane... " >&6; } + # Just in case + sleep 1 + echo timestamp > conftest.file +-# Reject unsafe characters in $srcdir or the absolute working directory +-# name. Accept space and tab only in the latter. +-am_lf=' +-' +-case `pwd` in +- *[\\\"\#\$\&\'\`$am_lf]*) +- { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 +-$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} +- { (exit 1); exit 1; }; };; +-esac +-case $srcdir in +- *[\\\"\#\$\&\'\`$am_lf\ \ ]*) +- { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 +-$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} +- { (exit 1); exit 1; }; };; +-esac +- + # Do `set' in a subshell so we don't clobber the current shell's + # arguments. Must try -L first in case configure is actually a + # symlink; some systems play weird games with the mod time of symlinks + # (eg FreeBSD returns the mod time of the symlink's containing + # directory). + if ( +- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` ++ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. +- set X `ls -t "$srcdir/configure" conftest.file` ++ set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ +@@ -2993,11 +3573,8 @@ + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". +- { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken +-alias in your environment" >&5 +-$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +-alias in your environment" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "ls -t appears to fail. Make sure there is not a broken ++alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file +@@ -3006,13 +3583,10 @@ + # Ok. + : + else +- { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! +-Check your system clock" >&5 +-$as_echo "$as_me: error: newly created file is older than distributed files! +-Check your system clock" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "newly created file is older than distributed files! ++Check your system clock" "$LINENO" 5 + fi +-{ $as_echo "$as_me:$LINENO: result: yes" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +@@ -3027,156 +3601,40 @@ + # expand $ac_aux_dir to an absolute path + am_aux_dir=`cd $ac_aux_dir && pwd` + +-if test x"${MISSING+set}" != xset; then +- case $am_aux_dir in +- *\ * | *\ *) +- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; +- *) +- MISSING="\${SHELL} $am_aux_dir/missing" ;; +- esac +-fi ++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" + # Use eval to expand $SHELL + if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " + else + am_missing_run= +- { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 + $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} + fi + +-if test x"${install_sh}" != xset; then +- case $am_aux_dir in +- *\ * | *\ *) +- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; +- *) +- install_sh="\${SHELL} $am_aux_dir/install-sh" +- esac +-fi +- +-# Installed binaries are usually stripped using `strip' when the user +-# run `make install-strip'. However `strip' might not be the right +-# tool to use in cross-compilation environments, therefore Automake +-# will honor the `STRIP' environment variable to overrule this program. +-if test "$cross_compiling" != no; then +- if test -n "$ac_tool_prefix"; then +- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +-set dummy ${ac_tool_prefix}strip; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_STRIP+set}" = set; then ++{ $as_echo "$as_me:${as_lineno-$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 ++ if test "${ac_cv_path_mkdir+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- if test -n "$STRIP"; then +- ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin + 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_prog_STRIP="${ac_tool_prefix}strip" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS +- +-fi +-fi +-STRIP=$ac_cv_prog_STRIP +-if test -n "$STRIP"; then +- { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 +-$as_echo "$STRIP" >&6; } +-else +- { $as_echo "$as_me:$LINENO: result: no" >&5 +-$as_echo "no" >&6; } +-fi +- +- +-fi +-if test -z "$ac_cv_prog_STRIP"; then +- ac_ct_STRIP=$STRIP +- # Extract the first word of "strip", so it can be a program name with args. +-set dummy strip; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- if test -n "$ac_ct_STRIP"; then +- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-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_prog_ac_ct_STRIP="strip" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS +- +-fi +-fi +-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +-if test -n "$ac_ct_STRIP"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +-$as_echo "$ac_ct_STRIP" >&6; } +-else +- { $as_echo "$as_me:$LINENO: result: no" >&5 +-$as_echo "no" >&6; } +-fi +- +- if test "x$ac_ct_STRIP" = x; then +- STRIP=":" +- else +- case $cross_compiling:$ac_tool_warned in +-yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +-ac_tool_warned=yes ;; +-esac +- STRIP=$ac_ct_STRIP +- fi +-else +- STRIP="$ac_cv_prog_STRIP" +-fi +- +-fi +-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +- +-{ $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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done ++ for ac_prog in mkdir gmkdir; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue ++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( ++ 'mkdir (GNU coreutils) '* | \ ++ 'mkdir (coreutils) '* | \ ++ 'mkdir (fileutils) '4.1*) ++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext ++ break 3;; ++ esac ++ done ++ done ++ done + IFS=$as_save_IFS + + fi +@@ -3192,7 +3650,7 @@ + MKDIR_P="$ac_install_sh -d" + fi + fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 + $as_echo "$MKDIR_P" >&6; } + + mkdir_p="$MKDIR_P" +@@ -3205,9 +3663,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_AWK+set}" = set; then ++if test "${ac_cv_prog_AWK+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$AWK"; then +@@ -3218,24 +3676,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_AWK="$ac_prog" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + AWK=$ac_cv_prog_AWK + if test -n "$AWK"; then +- { $as_echo "$as_me:$LINENO: result: $AWK" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 + $as_echo "$AWK" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -3243,11 +3701,11 @@ + test -n "$AWK" && break + done + +-{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 + $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } + set x ${MAKE-make} + ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then ++if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 + else + cat >conftest.make <<\_ACEOF +@@ -3265,11 +3723,11 @@ + rm -f conftest.make + fi + if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + SET_MAKE= + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" + fi +@@ -3289,9 +3747,7 @@ + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then +- { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +-$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi + fi + +@@ -3335,6 +3791,108 @@ + + MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + ++install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} ++ ++# Installed binaries are usually stripped using `strip' when the user ++# run `make install-strip'. However `strip' might not be the right ++# tool to use in cross-compilation environments, therefore Automake ++# will honor the `STRIP' environment variable to overrule this program. ++if test "$cross_compiling" != no; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. ++set dummy ${ac_tool_prefix}strip; 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_prog_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$STRIP"; then ++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_STRIP="${ac_tool_prefix}strip" ++ $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 ++ ++fi ++fi ++STRIP=$ac_cv_prog_STRIP ++if test -n "$STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++$as_echo "$STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_STRIP"; then ++ ac_ct_STRIP=$STRIP ++ # Extract the first word of "strip", so it can be a program name with args. ++set dummy strip; 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_prog_ac_ct_STRIP+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_STRIP"; then ++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++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_prog_ac_ct_STRIP="strip" ++ $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 ++ ++fi ++fi ++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP ++if test -n "$ac_ct_STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++$as_echo "$ac_ct_STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_STRIP" = x; then ++ STRIP=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ STRIP=$ac_ct_STRIP ++ fi ++else ++ STRIP="$ac_cv_prog_STRIP" ++fi ++ ++fi ++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ++ + # We need awk for the "check" target. The system "awk" is bad on + # some platforms. + # Always define AMTAR for backward compatibility. +@@ -3350,50 +3908,31 @@ + + # Use the silent-rules feature when possible. + +-# Check whether --enable-silent-rules was given. +-if test "${enable_silent_rules+set}" = set; then +- enableval=$enable_silent_rules; +-fi +- +-case $enable_silent_rules in +-yes) AM_DEFAULT_VERBOSITY=0;; +-no) AM_DEFAULT_VERBOSITY=1;; +-*) AM_DEFAULT_VERBOSITY=0;; +-esac +-AM_BACKSLASH='\' + + + # Make sure we can run config.sub. + $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || +- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 +-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +-{ $as_echo "$as_me:$LINENO: checking build system type" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 + $as_echo_n "checking build system type... " >&6; } +-if test "${ac_cv_build+set}" = set; then ++if test "${ac_cv_build+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_build_alias=$build_alias + test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` + test "x$ac_build_alias" = x && +- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 +-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 + ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || +- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 +-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 + $as_echo "$ac_cv_build" >&6; } + case $ac_cv_build in + *-*-*) ;; +-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 +-$as_echo "$as_me: error: invalid value of canonical build" >&2;} +- { (exit 1); exit 1; }; };; ++*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; + esac + build=$ac_cv_build + ac_save_IFS=$IFS; IFS='-' +@@ -3409,28 +3948,24 @@ + case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +-{ $as_echo "$as_me:$LINENO: checking host system type" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 + $as_echo_n "checking host system type... " >&6; } +-if test "${ac_cv_host+set}" = set; then ++if test "${ac_cv_host+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build + else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || +- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 +-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 + $as_echo "$ac_cv_host" >&6; } + case $ac_cv_host in + *-*-*) ;; +-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 +-$as_echo "$as_me: error: invalid value of canonical host" >&2;} +- { (exit 1); exit 1; }; };; ++*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; + esac + host=$ac_cv_host + ac_save_IFS=$IFS; IFS='-' +@@ -3476,9 +4011,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. + set dummy ${ac_tool_prefix}gcc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then ++if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -3489,24 +4024,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_CC="${ac_tool_prefix}gcc" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:$LINENO: result: $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -3516,9 +4051,9 @@ + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. + set dummy gcc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then ++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -3529,24 +4064,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_CC="gcc" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 + $as_echo "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -3555,7 +4090,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -3569,9 +4104,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. + set dummy ${ac_tool_prefix}cc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then ++if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -3582,24 +4117,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_CC="${ac_tool_prefix}cc" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:$LINENO: result: $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -3609,9 +4144,9 @@ + if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. + set dummy cc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then ++if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -3623,18 +4158,18 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + if test $ac_prog_rejected = yes; then +@@ -3653,10 +4188,10 @@ + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:$LINENO: result: $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -3668,9 +4203,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then ++if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -3681,24 +4216,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_CC="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:$LINENO: result: $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -3712,9 +4247,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then ++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -3725,24 +4260,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_CC="$ac_prog" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 + $as_echo "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -3755,7 +4290,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -3766,73 +4301,55 @@ + fi + + +-test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: no acceptable C compiler found in \$PATH +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++as_fn_error "no acceptable C compiler found in \$PATH ++See \`config.log' for more details." "$LINENO" 5; } + + # Provide some information about the compiler. +-$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 + set X $ac_compile + ac_compiler=$2 +-{ (ac_try="$ac_compiler --version >&5" +-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_compiler --version >&5") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } +-{ (ac_try="$ac_compiler -v >&5" +-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_compiler -v >&5") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } +-{ (ac_try="$ac_compiler -V >&5" ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" + 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_compiler -V >&5") 2>&5 ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ rm -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done + +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +- ++#include + int + main () + { ++FILE *f = fopen ("conftest.out", "w"); ++ return ferror (f) || fclose (f) != 0; + + ; + return 0; + } + _ACEOF + ac_clean_files_save=$ac_clean_files +-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" ++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" + # Try to create an executable without -o first, disregard a.out. + # It will help us diagnose broken compilers, and finding out an intuition + # of exeext. +-{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 + $as_echo_n "checking for C compiler default output file name... " >&6; } + ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +@@ -3849,17 +4366,17 @@ + done + rm -f $ac_rmfiles + +-if { (ac_try="$ac_link_default" ++if { { ac_try="$ac_link_default" + 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. + # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' + # in a Makefile. We should not override ac_cv_exeext if it was cached, +@@ -3876,7 +4393,7 @@ + # certainly right. + break;; + *.* ) +- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi +@@ -3895,84 +4412,75 @@ + else + ac_file='' + fi +- +-{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 + $as_echo "$ac_file" >&6; } +-if test -z "$ac_file"; then ++if test -z "$ac_file"; then : + $as_echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: C compiler cannot create executables +-See \`config.log' for more details." >&2;} +- { (exit 77); exit 77; }; }; } ++{ as_fn_set_status 77 ++as_fn_error "C compiler cannot create executables ++See \`config.log' for more details." "$LINENO" 5; }; } + fi +- + ac_exeext=$ac_cv_exeext + + # Check that the compiler produces executables we can run. If not, either + # the compiler is broken, or we cross compile. +-{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 + $as_echo_n "checking whether the C compiler works... " >&6; } +-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 + # If not cross compiling, check that we can run a simple program. + if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' +- { (case "(($ac_try" in ++ { { 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. +-If you meant to cross compile, use \`--host'. +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot run C compiled programs. ++as_fn_error "cannot run C compiled programs. + If you meant to cross compile, use \`--host'. +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++See \`config.log' for more details." "$LINENO" 5; } + fi + fi + fi +-{ $as_echo "$as_me:$LINENO: result: yes" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + +-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out + ac_clean_files=$ac_clean_files_save + # Check that the compiler produces executables we can run. If not, either + # the compiler is broken, or we cross compile. +-{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 + $as_echo_n "checking whether we are cross compiling... " >&6; } +-{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 + $as_echo "$cross_compiling" >&6; } + +-{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 + $as_echo_n "checking for suffix of executables... " >&6; } +-if { (ac_try="$ac_link" ++if { { ac_try="$ac_link" + 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) + # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will + # work properly (i.e., refer to `conftest.exe'), while it won't with +@@ -3987,32 +4495,24 @@ + esac + done + else +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++as_fn_error "cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details." "$LINENO" 5; } + fi +- + rm -f conftest$ac_cv_exeext +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 + $as_echo "$ac_cv_exeext" >&6; } + + rm -f conftest.$ac_ext + EXEEXT=$ac_cv_exeext + ac_exeext=$EXEEXT +-{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 + $as_echo_n "checking for suffix of object files... " >&6; } +-if test "${ac_cv_objext+set}" = set; then ++if test "${ac_cv_objext+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -4024,17 +4524,17 @@ + } + _ACEOF + rm -f conftest.o conftest.obj +-if { (ac_try="$ac_compile" ++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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in +@@ -4047,31 +4547,23 @@ + $as_echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++as_fn_error "cannot compute suffix of object files: cannot compile ++See \`config.log' for more details." "$LINENO" 5; } + fi +- + rm -f conftest.$ac_cv_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 + $as_echo "$ac_cv_objext" >&6; } + OBJEXT=$ac_cv_objext + ac_objext=$OBJEXT +-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +-if test "${ac_cv_c_compiler_gnu+set}" = set; then ++if test "${ac_cv_c_compiler_gnu+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -4085,37 +4577,16 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_compiler_gnu=no ++ ac_compiler_gnu=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_c_compiler_gnu=$ac_compiler_gnu + + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 + $as_echo "$ac_cv_c_compiler_gnu" >&6; } + if test $ac_compiler_gnu = yes; then + GCC=yes +@@ -4124,20 +4595,16 @@ + fi + ac_test_CFLAGS=${CFLAGS+set} + ac_save_CFLAGS=$CFLAGS +-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 + $as_echo_n "checking whether $CC accepts -g... " >&6; } +-if test "${ac_cv_prog_cc_g+set}" = set; then ++if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -4148,35 +4615,11 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- CFLAGS="" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -4187,36 +4630,12 @@ + 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if ac_fn_c_try_compile "$LINENO"; then : + +- ac_c_werror_flag=$ac_save_c_werror_flag ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -4227,42 +4646,17 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 + $as_echo "$ac_cv_prog_cc_g" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +@@ -4279,18 +4673,14 @@ + CFLAGS= + fi + fi +-{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +-if test "${ac_cv_prog_cc_c89+set}" = set; then ++if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_prog_cc_c89=no + ac_save_CC=$CC +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include +@@ -4347,32 +4737,9 @@ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" + do + CC="$ac_save_CC $ac_arg" +- 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 ++ if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break + done +@@ -4383,17 +4750,19 @@ + # AC_CACHE_VAL + case "x$ac_cv_prog_cc_c89" in + x) +- { $as_echo "$as_me:$LINENO: result: none needed" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 + $as_echo "none needed" >&6; } ;; + xno) +- { $as_echo "$as_me:$LINENO: result: unsupported" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 + $as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" +- { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 + $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; + esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : + ++fi + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' +@@ -4408,44 +4777,44 @@ + am_make=${MAKE-make} + cat > confinc << 'END' + am__doit: +- @echo this is the am__doit target ++ @echo done + .PHONY: am__doit + END + # If we don't find an include directive, just comment out the code. +-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 + $as_echo_n "checking for style of include used by $am_make... " >&6; } + am__include="#" + am__quote= + _am_result=none + # First try GNU make style include. + echo "include confinc" > confmf +-# Ignore all kinds of additional output from `make'. +-case `$am_make -s -f confmf 2> /dev/null` in #( +-*the\ am__doit\ target*) +- am__include=include +- am__quote= +- _am_result=GNU +- ;; +-esac ++# We grep out `Entering directory' and `Leaving directory' ++# messages which can occur if `w' ends up in MAKEFLAGS. ++# In particular we don't look at `^make:' because GNU make might ++# be invoked under some other name (usually "gmake"), in which ++# case it prints its new name instead of `make'. ++if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then ++ am__include=include ++ am__quote= ++ _am_result=GNU ++fi + # Now try BSD make style include. + if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf +- case `$am_make -s -f confmf 2> /dev/null` in #( +- *the\ am__doit\ target*) +- am__include=.include +- am__quote="\"" +- _am_result=BSD +- ;; +- esac ++ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then ++ am__include=.include ++ am__quote="\"" ++ _am_result=BSD ++ fi + fi + + +-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 + $as_echo "$_am_result" >&6; } + rm -f confinc confmf + + # Check whether --enable-dependency-tracking was given. +-if test "${enable_dependency_tracking+set}" = set; then ++if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; + fi + +@@ -4465,9 +4834,9 @@ + + depcc="$CC" am_compiler_list= + +-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then ++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +@@ -4493,11 +4862,6 @@ + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi +- am__universal=false +- case " $depcc " in #( +- *\ -arch\ *\ -arch\ *) am__universal=true ;; +- esac +- + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and +@@ -4515,17 +4879,7 @@ + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + +- # We check with `-c' and `-o' for the sake of the "dashmstdout" +- # mode. It turns out that the SunPro C++ compiler does not properly +- # handle `-M -o', and we need to detect this. Also, some Intel +- # versions had trouble with output in subdirs +- am__obj=sub/conftest.${OBJEXT-o} +- am__minus_obj="-o $am__obj" + case $depmode in +- gcc) +- # This depmode causes a compiler race in universal mode. +- test "$am__universal" = false || continue +- ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested +@@ -4535,23 +4889,19 @@ + break + fi + ;; +- msvisualcpp | msvcmsys) +- # This compiler won't grok `-c -o', but also, the minuso test has +- # not run yet. These depmodes are late enough in the game, and +- # so weak that their functioning should not be impacted. +- am__obj=conftest.${OBJEXT-o} +- am__minus_obj= +- ;; + none) break ;; + esac ++ # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle `-M -o', and we need to detect this. + if depmode=$depmode \ +- source=sub/conftest.c object=$am__obj \ ++ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ +- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ++ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && +- grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message +@@ -4575,7 +4925,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 + $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } + CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + +@@ -4590,112 +4940,20 @@ + fi + + +-# Find a good install program. We prefer a C program (faster), +-# so one script is as good as another. But avoid the broken or +-# incompatible versions: +-# SysV /etc/install, /usr/sbin/install +-# SunOS /usr/etc/install +-# IRIX /sbin/install +-# AIX /bin/install +-# AmigaOS /C/install, which installs bootblocks on floppy discs +-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +-# AFS /usr/afsws/bin/install, which mishandles nonexistent args +-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +-# OS/2's system install, which has a completely different semantic +-# ./install, which can be erroneously created by make from ./install.sh. +-# Reject install programs that cannot install multiple files. +-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +-$as_echo_n "checking for a BSD-compatible install... " >&6; } +-if test -z "$INSTALL"; then +-if test "${ac_cv_path_install+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- # Account for people who put trailing slashes in PATH elements. +-case $as_dir/ in +- ./ | .// | /cC/* | \ +- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ +- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ +- /usr/ucb/* ) ;; +- *) +- # OSF1 and SCO ODT 3.0 have their own names for install. +- # Don't use installbsd from OSF since it installs stuff as root +- # by default. +- for ac_prog in ginstall scoinst install; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then +- if test $ac_prog = install && +- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then +- # AIX install. It has an incompatible calling convention. +- : +- elif test $ac_prog = install && +- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then +- # program-specific install script used by HP pwplus--don't use. +- : +- else +- rm -rf conftest.one conftest.two conftest.dir +- echo one > conftest.one +- echo two > conftest.two +- mkdir conftest.dir +- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && +- test -s conftest.one && test -s conftest.two && +- test -s conftest.dir/conftest.one && +- test -s conftest.dir/conftest.two +- then +- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" +- break 3 +- fi +- fi +- fi +- done +- done +- ;; +-esac +- +-done +-IFS=$as_save_IFS +- +-rm -rf conftest.one conftest.two conftest.dir +- +-fi +- if test "${ac_cv_path_install+set}" = set; then +- INSTALL=$ac_cv_path_install +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for INSTALL within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- INSTALL=$ac_install_sh +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 +-$as_echo "$INSTALL" >&6; } +- +-# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +-# It thinks the first close brace ends the variable substitution. +-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' +- +-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' +- +-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu +-{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 + $as_echo_n "checking how to run the C preprocessor... " >&6; } + # On Suns, sometimes $CPP names a directory. + if test -n "$CPP" && test -d "$CPP"; then + CPP= + fi + if test -z "$CPP"; then +- if test "${ac_cv_prog_CPP+set}" = set; then ++ if test "${ac_cv_prog_CPP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + # Double quotes because CPP needs to be expanded +@@ -4710,11 +4968,7 @@ + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #ifdef __STDC__ + # include +@@ -4723,78 +4977,34 @@ + #endif + Syntax error + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if ac_fn_c_try_cpp "$LINENO"; then : + ++else + # Broken: fails on valid input. + continue + fi +- + rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then ++if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. + continue + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- + # Passes both tests. + ac_preproc_ok=: + break + fi +- + rm -f conftest.err conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then ++if $ac_preproc_ok; then : + break + fi + +@@ -4806,7 +5016,7 @@ + else + ac_cv_prog_CPP=$CPP + fi +-{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 + $as_echo "$CPP" >&6; } + ac_preproc_ok=false + for ac_c_preproc_warn_flag in '' yes +@@ -4817,11 +5027,7 @@ + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #ifdef __STDC__ + # include +@@ -4830,87 +5036,40 @@ + #endif + Syntax error + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if ac_fn_c_try_cpp "$LINENO"; then : + ++else + # Broken: fails on valid input. + continue + fi +- + rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then ++if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. + continue + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- + # Passes both tests. + ac_preproc_ok=: + break + fi +- + rm -f conftest.err conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then +- : ++if $ac_preproc_ok; then : ++ + else +- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++as_fn_error "C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details." "$LINENO" 5; } + fi + + ac_ext=c +@@ -4927,9 +5086,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. + set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_RANLIB+set}" = set; then ++if test "${ac_cv_prog_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$RANLIB"; then +@@ -4940,24 +5099,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_RANLIB="${ac_tool_prefix}ranlib" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + RANLIB=$ac_cv_prog_RANLIB + if test -n "$RANLIB"; then +- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 + $as_echo "$RANLIB" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4967,9 +5126,9 @@ + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. + set dummy ranlib; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then ++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_RANLIB"; then +@@ -4980,24 +5139,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_RANLIB="ranlib" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB + if test -n "$ac_ct_RANLIB"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 + $as_echo "$ac_ct_RANLIB" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -5006,7 +5165,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -5018,9 +5177,9 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 + $as_echo_n "checking for grep that handles long lines and -e... " >&6; } +-if test "${ac_cv_path_GREP+set}" = set; then ++if test "${ac_cv_path_GREP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$GREP"; then +@@ -5031,7 +5190,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in grep ggrep; do ++ for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +@@ -5051,7 +5210,7 @@ + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- ac_count=`expr $ac_count + 1` ++ as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" +@@ -5066,26 +5225,24 @@ + $ac_path_GREP_found && break 3 + done + done +-done ++ done + IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then +- { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +-$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi + else + ac_cv_path_GREP=$GREP + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 + $as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +-{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 + $as_echo_n "checking for egrep... " >&6; } +-if test "${ac_cv_path_EGREP+set}" = set; then ++if test "${ac_cv_path_EGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 +@@ -5099,7 +5256,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in egrep; do ++ for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +@@ -5119,7 +5276,7 @@ + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- ac_count=`expr $ac_count + 1` ++ as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" +@@ -5134,12 +5291,10 @@ + $ac_path_EGREP_found && break 3 + done + done +-done ++ done + IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then +- { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +-$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi + else + ac_cv_path_EGREP=$EGREP +@@ -5147,21 +5302,17 @@ + + fi + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 + $as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +-{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 + $as_echo_n "checking for ANSI C header files... " >&6; } +-if test "${ac_cv_header_stdc+set}" = set; then ++if test "${ac_cv_header_stdc+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include +@@ -5176,48 +5327,23 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_header_stdc=no ++ ac_cv_header_stdc=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "memchr" >/dev/null 2>&1; then +- : ++ $EGREP "memchr" >/dev/null 2>&1; then : ++ + else + ac_cv_header_stdc=no + fi +@@ -5227,18 +5353,14 @@ + + if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "free" >/dev/null 2>&1; then +- : ++ $EGREP "free" >/dev/null 2>&1; then : ++ + else + ac_cv_header_stdc=no + fi +@@ -5248,14 +5370,10 @@ + + if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. +- if test "$cross_compiling" = yes; then ++ if test "$cross_compiling" = yes; then : + : + else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include +@@ -5282,304 +5400,81 @@ + return 0; + } + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- : +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if ac_fn_c_try_run "$LINENO"; then : + +-( exit $ac_status ) +-ac_cv_header_stdc=no ++else ++ ac_cv_header_stdc=no + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + +- + fi + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 + $as_echo "$ac_cv_header_stdc" >&6; } + if test $ac_cv_header_stdc = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define STDC_HEADERS 1 +-_ACEOF ++$as_echo "#define STDC_HEADERS 1" >>confdefs.h + + fi + + # On IRIX 5.3, sys/types and inttypes.h are conflicting. ++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ++ inttypes.h stdint.h unistd.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF + ++fi + ++done + + + + + ++ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" ++if test "x$ac_cv_header_minix_config_h" = x""yes; then : ++ MINIX=yes ++else ++ MINIX= ++fi + + +-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ +- inttypes.h stdint.h unistd.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. */ +-$ac_includes_default ++ if test "$MINIX" = yes; then + +-#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 +- +-fi +- +-done +- +- +- +- +- +- if test "${ac_cv_header_minix_config_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 +-$as_echo_n "checking for minix/config.h... " >&6; } +-if test "${ac_cv_header_minix_config_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 +-$as_echo "$ac_cv_header_minix_config_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 +-$as_echo_n "checking minix/config.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 +-$as_echo_n "checking minix/config.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 +-$as_echo_n "checking for minix/config.h... " >&6; } +-if test "${ac_cv_header_minix_config_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_minix_config_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 +-$as_echo "$ac_cv_header_minix_config_h" >&6; } +- +-fi +-if test "x$ac_cv_header_minix_config_h" = x""yes; then +- MINIX=yes +-else +- MINIX= +-fi +- +- +- if test "$MINIX" = yes; then +- +-cat >>confdefs.h <<\_ACEOF +-#define _POSIX_SOURCE 1 +-_ACEOF ++$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h + + +-cat >>confdefs.h <<\_ACEOF +-#define _POSIX_1_SOURCE 2 +-_ACEOF ++$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h + + +-cat >>confdefs.h <<\_ACEOF +-#define _MINIX 1 +-_ACEOF ++$as_echo "#define _MINIX 1" >>confdefs.h + + fi + + case "$host_os" in + hpux*) + +-cat >>confdefs.h <<\_ACEOF +-#define _XOPEN_SOURCE 500 +-_ACEOF ++$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h + + ;; + esac + + +- +- { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 + $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } +-if test "${ac_cv_safe_to_define___extensions__+set}" = set; then ++if test "${ac_cv_safe_to_define___extensions__+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + # define __EXTENSIONS__ 1 +@@ -5592,57 +5487,25 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_safe_to_define___extensions__=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_safe_to_define___extensions__=no ++ ac_cv_safe_to_define___extensions__=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 + $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } + test $ac_cv_safe_to_define___extensions__ = yes && +- cat >>confdefs.h <<\_ACEOF +-#define __EXTENSIONS__ 1 +-_ACEOF +- +- cat >>confdefs.h <<\_ACEOF +-#define _ALL_SOURCE 1 +-_ACEOF ++ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h + +- cat >>confdefs.h <<\_ACEOF +-#define _GNU_SOURCE 1 +-_ACEOF ++ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + +- cat >>confdefs.h <<\_ACEOF +-#define _POSIX_PTHREAD_SEMANTICS 1 +-_ACEOF ++ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h + +- cat >>confdefs.h <<\_ACEOF +-#define _TANDEM_SOURCE 1 +-_ACEOF ++ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + ++ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h + + + +@@ -5651,17 +5514,13 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 + $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } +-if test "${ac_cv_sys_largefile_source+set}" = set; then ++if test "${ac_cv_sys_largefile_source+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include /* for off_t */ + #include +@@ -5674,43 +5533,12 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_sys_largefile_source=no; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #define _LARGEFILE_SOURCE 1 + #include /* for off_t */ +@@ -5724,43 +5552,16 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_sys_largefile_source=1; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + ac_cv_sys_largefile_source=unknown + break + done + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 + $as_echo "$ac_cv_sys_largefile_source" >&6; } + case $ac_cv_sys_largefile_source in #( + no | unknown) ;; +@@ -5777,9 +5578,7 @@ + # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. + if test $ac_cv_sys_largefile_source != unknown; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_FSEEKO 1 +-_ACEOF ++$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h + + fi + +@@ -5793,20 +5592,14 @@ + + + +- +- + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! +-{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 + $as_echo_n "checking for working alloca.h... " >&6; } +-if test "${ac_cv_working_alloca_h+set}" = set; then ++if test "${ac_cv_working_alloca_h+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +@@ -5818,59 +5611,28 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_working_alloca_h=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_working_alloca_h=no ++ ac_cv_working_alloca_h=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 + $as_echo "$ac_cv_working_alloca_h" >&6; } + if test $ac_cv_working_alloca_h = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_ALLOCA_H 1 +-_ACEOF ++$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h + + fi + +-{ $as_echo "$as_me:$LINENO: checking for alloca" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 + $as_echo_n "checking for alloca... " >&6; } +-if test "${ac_cv_func_alloca_works+set}" = set; then ++if test "${ac_cv_func_alloca_works+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #ifdef __GNUC__ + # define alloca __builtin_alloca +@@ -5902,47 +5664,20 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_func_alloca_works=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_alloca_works=no ++ ac_cv_func_alloca_works=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 + $as_echo "$ac_cv_func_alloca_works" >&6; } + + if test $ac_cv_func_alloca_works = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_ALLOCA 1 +-_ACEOF ++$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h + + else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +@@ -5956,21 +5691,15 @@ + + ALLOCA=\${LIBOBJDIR}alloca.$ac_objext + +-cat >>confdefs.h <<\_ACEOF +-#define C_ALLOCA 1 +-_ACEOF ++$as_echo "#define C_ALLOCA 1" >>confdefs.h + + +-{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 + $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } +-if test "${ac_cv_os_cray+set}" = set; then ++if test "${ac_cv_os_cray+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #if defined CRAY && ! defined CRAY2 + webecray +@@ -5980,7 +5709,7 @@ + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "webecray" >/dev/null 2>&1; then ++ $EGREP "webecray" >/dev/null 2>&1; then : + ac_cv_os_cray=yes + else + ac_cv_os_cray=no +@@ -5988,101 +5717,14 @@ + rm -f conftest* + + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 + $as_echo "$ac_cv_os_cray" >&6; } + if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : + + cat >>confdefs.h <<_ACEOF + #define CRAY_STACKSEG_END $ac_func +@@ -6094,19 +5736,15 @@ + done + fi + +-{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 + $as_echo_n "checking stack direction for C alloca... " >&6; } +-if test "${ac_cv_c_stack_direction+set}" = set; then ++if test "${ac_cv_c_stack_direction+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- if test "$cross_compiling" = yes; then ++ if test "$cross_compiling" = yes; then : + ac_cv_c_stack_direction=0 + else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + $ac_includes_default + int +@@ -6129,46 +5767,18 @@ + return find_stack_direction () < 0; + } + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then ++if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_stack_direction=1 + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-ac_cv_c_stack_direction=-1 ++ ac_cv_c_stack_direction=-1 + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + +- + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 + $as_echo "$ac_cv_c_stack_direction" >&6; } +- + cat >>confdefs.h <<_ACEOF + #define STACK_DIRECTION $ac_cv_c_stack_direction + _ACEOF +@@ -6187,144 +5797,12 @@ + + + +- +-for ac_header in $gl_header_list +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in $gl_header_list ++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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF +@@ -6339,10 +5817,9 @@ + + + +- +- { $as_echo "$as_me:$LINENO: checking whether the preprocessor supports include_next" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 + $as_echo_n "checking whether the preprocessor supports include_next... " >&6; } +-if test "${gl_cv_have_include_next+set}" = set; then ++if test "${gl_cv_have_include_next+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + rm -rf conftestd1a conftestd1b conftestd2 +@@ -6374,72 +5851,32 @@ + EOF + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" +- cat >conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + #include + _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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_have_include_next=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" +- cat >conftest.$ac_ext <<_ACEOF ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + #include + _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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_have_include_next=buggy + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_have_include_next=no ++ gl_cv_have_include_next=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + rm -rf conftestd1a conftestd1b conftestd2 + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_have_include_next" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 + $as_echo "$gl_cv_have_include_next" >&6; } + PRAGMA_SYSTEM_HEADER= + if test $gl_cv_have_include_next = yes; then +@@ -6521,7 +5958,6 @@ + + + +- + GNULIB_FPRINTF=0; + GNULIB_FPRINTF_POSIX=0; + GNULIB_PRINTF=0; +@@ -6612,18 +6048,14 @@ + HAVE_STRUCT_SOCKADDR_STORAGE=1; + HAVE_SA_FAMILY_T=1; + +-{ $as_echo "$as_me:$LINENO: checking for inline" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 + $as_echo_n "checking for inline... " >&6; } +-if test "${ac_cv_c_inline+set}" = set; then ++if test "${ac_cv_c_inline+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_c_inline=no + for ac_kw in inline __inline__ __inline; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #ifndef __cplusplus + typedef int foo_t; +@@ -6632,41 +6064,17 @@ + #endif + + _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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break + done + + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 + $as_echo "$ac_cv_c_inline" >&6; } + +- + case $ac_cv_c_inline in + inline | yes) ;; + *) +@@ -6686,17 +6094,13 @@ + + + +- { $as_echo "$as_me:$LINENO: checking whether is self-contained" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 + $as_echo_n "checking whether is self-contained... " >&6; } +-if test "${gl_cv_header_sys_socket_h_selfcontained+set}" = set; then ++if test "${gl_cv_header_sys_socket_h_selfcontained+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +@@ -6707,152 +6111,37 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_sys_socket_h_selfcontained=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_header_sys_socket_h_selfcontained=no ++ gl_cv_header_sys_socket_h_selfcontained=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 + $as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } + if test $gl_cv_header_sys_socket_h_selfcontained = yes; then + SYS_SOCKET_H='' +- +-for ac_func in shutdown +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_SHUTDOWN 1 + _ACEOF + + fi + done + + if test $ac_cv_func_shutdown = yes; then +- { $as_echo "$as_me:$LINENO: checking whether defines the SHUT_* macros" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 + $as_echo_n "checking whether defines the SHUT_* macros... " >&6; } +-if test "${gl_cv_header_sys_socket_h_shut+set}" = set; then ++if test "${gl_cv_header_sys_socket_h_shut+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +@@ -6863,36 +6152,15 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_sys_socket_h_shut=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_header_sys_socket_h_shut=no ++ gl_cv_header_sys_socket_h_shut=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_sys_socket_h_shut" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 + $as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } + if test $gl_cv_header_sys_socket_h_shut = no; then + SYS_SOCKET_H='sys/socket.h' +@@ -6918,18 +6186,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_socket_h='<'sys/socket.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_socket_h+set}" = set; then ++if test "${gl_cv_next_sys_socket_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_sys_socket_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -6950,7 +6214,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_sys_socket_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 + $as_echo "$gl_cv_next_sys_socket_h" >&6; } + fi + NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h +@@ -6971,220 +6235,28 @@ + HAVE_WS2TCPIP_H=0 + else + HAVE_SYS_SOCKET_H=0 +- +-for ac_header in ws2tcpip.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include <$ac_header> ++ for ac_header in ws2tcpip.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ++if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_WS2TCPIP_H 1 + _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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_compiler=no + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } ++done + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ if test $ac_cv_header_ws2tcpip_h = yes; then ++ HAVE_WS2TCPIP_H=1 ++ else ++ HAVE_WS2TCPIP_H=0 ++ fi ++ fi + +- ac_header_preproc=no +-fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- if test $ac_cv_header_ws2tcpip_h = yes; then +- HAVE_WS2TCPIP_H=1 +- else +- HAVE_WS2TCPIP_H=0 +- fi +- fi +- +- +- +- { $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 +-$as_echo_n "checking for struct sockaddr_storage... " >&6; } +-if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_struct_sockaddr_storage=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* sys/types.h is not needed according to POSIX, but the +- sys/socket.h in i386-unknown-freebsd4.10 and +- powerpc-apple-darwin5.5 required it. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif +- +- +-int +-main () +-{ +-if (sizeof (struct sockaddr_storage)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + ++ ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " + /* sys/types.h is not needed according to POSIX, but the + sys/socket.h in i386-unknown-freebsd4.10 and + powerpc-apple-darwin5.5 required it. */ +@@ -7196,55 +6268,8 @@ + #include + #endif + +- +-int +-main () +-{ +-if (sizeof ((struct sockaddr_storage))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_struct_sockaddr_storage=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 +-$as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; } +-if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then ++" ++if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +@@ -7252,65 +6277,7 @@ + + + fi +-{ $as_echo "$as_me:$LINENO: checking for sa_family_t" >&5 +-$as_echo_n "checking for sa_family_t... " >&6; } +-if test "${ac_cv_type_sa_family_t+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_sa_family_t=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* sys/types.h is not needed according to POSIX, but the +- sys/socket.h in i386-unknown-freebsd4.10 and +- powerpc-apple-darwin5.5 required it. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif +- +- +-int +-main () +-{ +-if (sizeof (sa_family_t)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- ++ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " + /* sys/types.h is not needed according to POSIX, but the + sys/socket.h in i386-unknown-freebsd4.10 and + powerpc-apple-darwin5.5 required it. */ +@@ -7322,55 +6289,8 @@ + #include + #endif + +- +-int +-main () +-{ +-if (sizeof ((sa_family_t))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_sa_family_t=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5 +-$as_echo "$ac_cv_type_sa_family_t" >&6; } +-if test "x$ac_cv_type_sa_family_t" = x""yes; then ++" ++if test "x$ac_cv_type_sa_family_t" = x""yes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_SA_FAMILY_T 1 +@@ -7399,146 +6319,12 @@ + + + if test $ac_cv_header_sys_socket_h != yes; then +- +-for ac_header in winsock2.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_WINSOCK2_H 1 + _ACEOF + + fi +@@ -7565,18 +6351,13 @@ + + + +- +- { $as_echo "$as_me:$LINENO: checking for complete errno.h" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 + $as_echo_n "checking for complete errno.h... " >&6; } +-if test "${gl_cv_header_errno_h_complete+set}" = set; then ++if test "${gl_cv_header_errno_h_complete+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include +@@ -7613,7 +6394,7 @@ + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "booboo" >/dev/null 2>&1; then ++ $EGREP "booboo" >/dev/null 2>&1; then : + gl_cv_header_errno_h_complete=no + else + gl_cv_header_errno_h_complete=yes +@@ -7622,7 +6403,7 @@ + + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_errno_h_complete" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 + $as_echo "$gl_cv_header_errno_h_complete" >&6; } + if test $gl_cv_header_errno_h_complete = yes; then + ERRNO_H='' +@@ -7642,18 +6423,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_errno_h='<'errno.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_errno_h+set}" = set; then ++if test "${gl_cv_next_errno_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_errno_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -7674,7 +6451,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_errno_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 + $as_echo "$gl_cv_next_errno_h" >&6; } + fi + NEXT_ERRNO_H=$gl_cv_next_errno_h +@@ -7695,17 +6472,13 @@ + + + if test -n "$ERRNO_H"; then +- { $as_echo "$as_me:$LINENO: checking for EMULTIHOP value" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 + $as_echo_n "checking for EMULTIHOP value... " >&6; } +-if test "${gl_cv_header_errno_h_EMULTIHOP+set}" = set; then ++if test "${gl_cv_header_errno_h_EMULTIHOP+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include +@@ -7715,7 +6488,7 @@ + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "yes" >/dev/null 2>&1; then ++ $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EMULTIHOP=yes + else + gl_cv_header_errno_h_EMULTIHOP=no +@@ -7723,11 +6496,7 @@ + rm -f conftest* + + if test $gl_cv_header_errno_h_EMULTIHOP = no; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #define _XOPEN_SOURCE_EXTENDED 1 +@@ -7738,377 +6507,105 @@ + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "yes" >/dev/null 2>&1; then ++ $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EMULTIHOP=hidden + fi + rm -f conftest* + + if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include +- +-int +-main () +-{ +-static int test_array [1 - 2 * !((EMULTIHOP) >= 0)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_lo=0 ac_mid=0 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- ++ if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " + #define _XOPEN_SOURCE_EXTENDED 1 + #include + /* The following two lines are a workaround against an autoconf-2.52 bug. */ + #include + #include ++"; then : + +-int +-main () +-{ +-static int test_array [1 - 2 * !((EMULTIHOP) <= $ac_mid)]; +-test_array [0] = 0 ++fi + +- ; +- 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 +- ac_hi=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ fi ++ fi + +- ac_lo=`expr $ac_mid + 1` +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid + 1` + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 ++$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } ++ case $gl_cv_header_errno_h_EMULTIHOP in ++ yes | no) ++ EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ++ ;; ++ *) ++ EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ++ ;; ++ esac + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++ fi + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include + +-int +-main () +-{ +-static int test_array [1 - 2 * !((EMULTIHOP) < 0)]; +-test_array [0] = 0 ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 ++$as_echo_n "checking for ENOLINK value... " >&6; } ++if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else + +- ; +- 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 +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 + #include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include +- +-int +-main () +-{ +-static int test_array [1 - 2 * !((EMULTIHOP) >= $ac_mid)]; +-test_array [0] = 0 ++#ifdef ENOLINK ++yes ++#endif + +- ; +- 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 +- ac_lo=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_hi=`expr '(' $ac_mid ')' - 1` +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid` +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo= ac_hi= +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ gl_cv_header_errno_h_ENOLINK=no + fi ++rm -f conftest* + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test $gl_cv_header_errno_h_ENOLINK = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #define _XOPEN_SOURCE_EXTENDED 1 + #include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include +- +-int +-main () +-{ +-static int test_array [1 - 2 * !((EMULTIHOP) <= $ac_mid)]; +-test_array [0] = 0 ++#ifdef ENOLINK ++yes ++#endif + +- ; +- 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 +- ac_hi=$ac_mid +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo=`expr '(' $ac_mid ')' + 1` ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=hidden + fi ++rm -f conftest* + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-done +-case $ac_lo in +-?*) gl_cv_header_errno_h_EMULTIHOP=$ac_lo;; +-'') ;; +-esac +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- ++ if test $gl_cv_header_errno_h_ENOLINK = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " + #define _XOPEN_SOURCE_EXTENDED 1 + #include + /* The following two lines are a workaround against an autoconf-2.52 bug. */ + #include + #include +- +-static long int longval () { return EMULTIHOP; } +-static unsigned long int ulongval () { return EMULTIHOP; } +-#include +-#include +-int +-main () +-{ +- +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if ((EMULTIHOP) < 0) +- { +- long int i = longval (); +- if (i != (EMULTIHOP)) +- return 1; +- fprintf (f, "%ld", i); +- } +- else +- { +- unsigned long int i = ulongval (); +- if (i != (EMULTIHOP)) +- return 1; +- fprintf (f, "%lu", i); +- } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; +- +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_header_errno_h_EMULTIHOP=`cat conftest.val` +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++"; then : + + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +-rm -f conftest.val ++ + fi + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 +-$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } +- case $gl_cv_header_errno_h_EMULTIHOP in ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 ++$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } ++ case $gl_cv_header_errno_h_ENOLINK in + yes | no) +- EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ++ ENOLINK_HIDDEN=0; ENOLINK_VALUE= + ;; + *) +- EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ++ ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" + ;; + esac + +@@ -8117,849 +6614,503 @@ + + + if test -n "$ERRNO_H"; then +- { $as_echo "$as_me:$LINENO: checking for ENOLINK value" >&5 +-$as_echo_n "checking for ENOLINK value... " >&6; } +-if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 ++$as_echo_n "checking for EOVERFLOW value... " >&6; } ++if test "${gl_cv_header_errno_h_EOVERFLOW+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include +-#ifdef ENOLINK ++#ifdef EOVERFLOW + yes + #endif + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "yes" >/dev/null 2>&1; then +- gl_cv_header_errno_h_ENOLINK=yes ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=yes + else +- gl_cv_header_errno_h_ENOLINK=no ++ gl_cv_header_errno_h_EOVERFLOW=no + fi + rm -f conftest* + +- if test $gl_cv_header_errno_h_ENOLINK = no; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test $gl_cv_header_errno_h_EOVERFLOW = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #define _XOPEN_SOURCE_EXTENDED 1 + #include +-#ifdef ENOLINK ++#ifdef EOVERFLOW + yes + #endif + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "yes" >/dev/null 2>&1; then +- gl_cv_header_errno_h_ENOLINK=hidden ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=hidden + fi + rm -f conftest* + +- if test $gl_cv_header_errno_h_ENOLINK = hidden; then +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- ++ if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " + #define _XOPEN_SOURCE_EXTENDED 1 + #include + /* The following two lines are a workaround against an autoconf-2.52 bug. */ + #include + #include ++"; then : + +-int +-main () +-{ +-static int test_array [1 - 2 * !((ENOLINK) >= 0)]; +-test_array [0] = 0 ++fi + +- ; +- 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 +- ac_lo=0 ac_mid=0 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++ fi ++ fi + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 ++$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } ++ case $gl_cv_header_errno_h_EOVERFLOW in ++ yes | no) ++ EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= ++ ;; ++ *) ++ EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" ++ ;; ++ esac + +-int +-main () +-{ +-static int test_array [1 - 2 * !((ENOLINK) <= $ac_mid)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_hi=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ fi + +- ac_lo=`expr $ac_mid + 1` +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid + 1` +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include + +-int +-main () +-{ +-static int test_array [1 - 2 * !((ENOLINK) < 0)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include + ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 ++$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } ++if test "${gl_cv_var_stdin_large_offset+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include + int + main () + { +-static int test_array [1 - 2 * !((ENOLINK) >= $ac_mid)]; +-test_array [0] = 0 +- ++#if defined __SL64 && defined __SCLE /* cygwin */ ++ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making ++ fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and ++ it is easier to do a version check than building a runtime test. */ ++# include ++# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) ++ choke me ++# endif ++#endif + ; + 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 +- ac_lo=$ac_mid; break ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_var_stdin_large_offset=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_hi=`expr '(' $ac_mid ')' - 1` +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid` ++ gl_cv_var_stdin_large_offset=no + fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo= ac_hi= ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5 ++$as_echo "$gl_cv_var_stdin_large_offset" >&6; } + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++ GNULIB_GETADDRINFO=0; ++ HAVE_STRUCT_ADDRINFO=1; ++ HAVE_DECL_FREEADDRINFO=1; ++ HAVE_DECL_GAI_STRERROR=1; ++ HAVE_DECL_GETADDRINFO=1; ++ HAVE_DECL_GETNAMEINFO=1; + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include + +-int +-main () +-{ +-static int test_array [1 - 2 * !((ENOLINK) <= $ac_mid)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_hi=$ac_mid +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_lo=`expr '(' $ac_mid ')' + 1` +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-done +-case $ac_lo in +-?*) gl_cv_header_errno_h_ENOLINK=$ac_lo;; +-'') ;; +-esac +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include + +-static long int longval () { return ENOLINK; } +-static unsigned long int ulongval () { return ENOLINK; } +-#include +-#include +-int +-main () +-{ + +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if ((ENOLINK) < 0) +- { +- long int i = longval (); +- if (i != (ENOLINK)) +- return 1; +- fprintf (f, "%ld", i); +- } +- else +- { +- unsigned long int i = ulongval (); +- if (i != (ENOLINK)) +- return 1; +- fprintf (f, "%lu", i); +- } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; + +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_header_errno_h_ENOLINK=`cat conftest.val` +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +-rm -f conftest.val +- fi +- fi + +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_errno_h_ENOLINK" >&5 +-$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } +- case $gl_cv_header_errno_h_ENOLINK in +- yes | no) +- ENOLINK_HIDDEN=0; ENOLINK_VALUE= +- ;; +- *) +- ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" +- ;; +- esac + ++ : + +- fi + + +- if test -n "$ERRNO_H"; then +- { $as_echo "$as_me:$LINENO: checking for EOVERFLOW value" >&5 +-$as_echo_n "checking for EOVERFLOW value... " >&6; } +-if test "${gl_cv_header_errno_h_EOVERFLOW+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 +-#ifdef EOVERFLOW +-yes +-#endif + +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "yes" >/dev/null 2>&1; then +- gl_cv_header_errno_h_EOVERFLOW=yes ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netdb_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 + else +- gl_cv_header_errno_h_EOVERFLOW=no +-fi +-rm -f conftest* + +- if test $gl_cv_header_errno_h_EOVERFLOW = no; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +- +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-#ifdef EOVERFLOW +-yes +-#endif ++#include + + _ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "yes" >/dev/null 2>&1; then +- gl_cv_header_errno_h_EOVERFLOW=hidden ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netdb.h#{ ++ s#.*"\(.*/netdb.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ fi ++ + fi +-rm -f conftest* ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 ++$as_echo "$gl_cv_next_netdb_h" >&6; } ++ fi ++ NEXT_NETDB_H=$gl_cv_next_netdb_h + +- if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'netdb.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_netdb_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include + +-int +-main () +-{ +-static int test_array [1 - 2 * !((EOVERFLOW) >= 0)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_lo=0 ac_mid=0 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include ++ #include ++ struct addrinfo a; ++ int b = EAI_OVERFLOW; ++ int c = AI_NUMERICSERV; + + int + main () + { +-static int test_array [1 - 2 * !((EOVERFLOW) <= $ac_mid)]; +-test_array [0] = 0 + + ; + 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 +- ac_hi=$ac_mid; break ++if ac_fn_c_try_compile "$LINENO"; then : ++ NETDB_H='' + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo=`expr $ac_mid + 1` +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid + 1` ++ NETDB_H='netdb.h' + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ HAVE_NETDB_H=1 ++ else ++ NETDB_H='netdb.h' ++ HAVE_NETDB_H=0 ++ fi + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include + +-int +-main () +-{ +-static int test_array [1 - 2 * !((EOVERFLOW) < 0)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ HOSTENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 ++$as_echo_n "checking for library containing gethostbyname... " >&6; } ++if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include +- ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gethostbyname (); + int + main () + { +-static int test_array [1 - 2 * !((EOVERFLOW) >= $ac_mid)]; +-test_array [0] = 0 +- ++return gethostbyname (); + ; + 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 +- ac_lo=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_hi=`expr '(' $ac_mid ')' - 1` +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid` ++for ac_lib in '' nsl network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_gethostbyname=$ac_res + fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_gethostbyname+set}" = set; then : + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo= ac_hi= ++ ac_cv_search_gethostbyname=no + fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 ++$as_echo "$ac_cv_search_gethostbyname" >&6; } ++ac_res=$ac_cv_search_gethostbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_gethostbyname" != "none required"; then ++ HOSTENT_LIB="$ac_cv_search_gethostbyname" ++ fi + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ LIBS="$gl_saved_libs" ++ if test -z "$HOSTENT_LIB"; then ++ for ac_func in gethostbyname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" ++if test "x$ac_cv_func_gethostbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_GETHOSTBYNAME 1 + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_gethostbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_gethostbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include + + int + main () + { +-static int test_array [1 - 2 * !((EOVERFLOW) <= $ac_mid)]; +-test_array [0] = 0 +- ++gethostbyname(NULL); + ; + 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 +- ac_hi=$ac_mid +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_gethostbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" + +- ac_lo=`expr '(' $ac_mid ')' + 1` + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 ++$as_echo "$gl_cv_w32_gethostbyname" >&6; } ++ if test "$gl_cv_w32_gethostbyname" = "yes"; then ++ HOSTENT_LIB="-lws2_32" ++ fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi + done +-case $ac_lo in +-?*) gl_cv_header_errno_h_EOVERFLOW=$ac_lo;; +-'') ;; +-esac ++ ++ fi ++ ++ ++ ++ SERVENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 ++$as_echo_n "checking for library containing getservbyname... " >&6; } ++if test "${ac_cv_search_getservbyname+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 ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#define _XOPEN_SOURCE_EXTENDED 1 +-#include +-/* The following two lines are a workaround against an autoconf-2.52 bug. */ +-#include +-#include +- +-static long int longval () { return EOVERFLOW; } +-static unsigned long int ulongval () { return EOVERFLOW; } +-#include +-#include ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getservbyname (); + int + main () + { +- +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if ((EOVERFLOW) < 0) +- { +- long int i = longval (); +- if (i != (EOVERFLOW)) +- return 1; +- fprintf (f, "%ld", i); +- } +- else +- { +- unsigned long int i = ulongval (); +- if (i != (EOVERFLOW)) +- return 1; +- fprintf (f, "%lu", i); +- } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; +- ++return getservbyname (); + ; + return 0; + } + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_header_errno_h_EOVERFLOW=`cat conftest.val` ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getservbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getservbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_getservbyname+set}" = set; then : ++ + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ ac_cv_search_getservbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 ++$as_echo "$ac_cv_search_getservbyname" >&6; } ++ac_res=$ac_cv_search_getservbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getservbyname" != "none required"; then ++ SERVENT_LIB="$ac_cv_search_getservbyname" ++ fi ++fi ++ ++ LIBS="$gl_saved_libs" ++ if test -z "$SERVENT_LIB"; then ++ for ac_func in getservbyname ++do : ++ ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" ++if test "x$ac_cv_func_getservbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_GETSERVBYNAME 1 ++_ACEOF ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_getservbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include + ++int ++main () ++{ ++getservbyname(NULL,NULL); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getservbyname=yes + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ + fi +-rm -f conftest.val +- fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 ++$as_echo "$gl_cv_w32_getservbyname" >&6; } ++ if test "$gl_cv_w32_getservbyname" = "yes"; then ++ SERVENT_LIB="-lws2_32" + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 +-$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } +- case $gl_cv_header_errno_h_EOVERFLOW in +- yes | no) +- EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= +- ;; +- *) +- EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" +- ;; +- esac +- ++done + + fi + + ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 ++$as_echo_n "checking for C/C++ restrict keyword... " >&6; } ++if test "${ac_cv_c_restrict+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_restrict=no ++ # The order here caters to the fact that C++ does not require restrict. ++ for ac_kw in __restrict __restrict__ _Restrict restrict; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++typedef int * int_ptr; ++ int foo (int_ptr $ac_kw ip) { ++ return ip[0]; ++ } ++int ++main () ++{ ++int s[1]; ++ int * $ac_kw t = s; ++ t[0] = 0; ++ return foo(t) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_restrict=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_restrict" != no && break ++ done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 ++$as_echo "$ac_cv_c_restrict" >&6; } ++ ++ case $ac_cv_c_restrict in ++ restrict) ;; ++ no) $as_echo "#define restrict /**/" >>confdefs.h ++ ;; ++ *) cat >>confdefs.h <<_ACEOF ++#define restrict $ac_cv_c_restrict ++_ACEOF ++ ;; ++ esac ++ ++ + + + +@@ -8967,77 +7118,240 @@ + + + +- { $as_echo "$as_me:$LINENO: checking whether stdin defaults to large file offsets" >&5 +-$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } +-if test "${gl_cv_var_stdin_large_offset+set}" = set; then ++ : ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 ++$as_echo_n "checking for IPv4 sockets... " >&6; } ++ if test "${gl_cv_socket_ipv4+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include ++#endif ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif + int + main () + { +-#if defined __SL64 && defined __SCLE /* cygwin */ +- /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making +- fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and +- it is easier to do a version check than building a runtime test. */ +-# include +-# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) +- choke me +-# endif ++int x = AF_INET; struct in_addr y; struct sockaddr_in z; ++ if (&x && &y && &z) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_socket_ipv4=yes ++else ++ gl_cv_socket_ipv4=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 ++$as_echo "$gl_cv_socket_ipv4" >&6; } ++ if test $gl_cv_socket_ipv4 = yes; then ++ ++$as_echo "#define HAVE_IPV4 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 ++$as_echo_n "checking for IPv6 sockets... " >&6; } ++ if test "${gl_cv_socket_ipv6+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include ++#endif ++#ifdef HAVE_WINSOCK2_H ++#include + #endif ++int ++main () ++{ ++int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; ++ if (&x && &y && &z) return 0; + ; + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_var_stdin_large_offset=yes ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_socket_ipv6=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ gl_cv_socket_ipv6=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi + +- gl_cv_var_stdin_large_offset=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 ++$as_echo "$gl_cv_socket_ipv6" >&6; } ++ if test $gl_cv_socket_ipv6 = yes; then ++ ++$as_echo "#define HAVE_IPV6 1" >>confdefs.h ++ ++ fi ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getdelim" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 + fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_GETDELIM $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getline" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_var_stdin_large_offset" >&5 +-$as_echo "$gl_cv_var_stdin_large_offset" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_GETLINE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "getpass" "ac_cv_have_decl_getpass" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getpass" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_GETPASS $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in $gl_func_list ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + +- GNULIB_GETADDRINFO=0; +- HAVE_STRUCT_ADDRINFO=1; +- HAVE_DECL_FREEADDRINFO=1; +- HAVE_DECL_GAI_STRERROR=1; +- HAVE_DECL_GETADDRINFO=1; +- HAVE_DECL_GETNAMEINFO=1; ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "flockfile" "ac_cv_have_decl_flockfile" "$ac_includes_default" ++if test "x$ac_cv_have_decl_flockfile" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_FLOCKFILE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "funlockfile" "ac_cv_have_decl_funlockfile" "$ac_includes_default" ++if test "x$ac_cv_have_decl_funlockfile" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_FUNLOCKFILE $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl ++_ACEOF + + + +@@ -9060,726 +7374,341 @@ + + + if test $gl_cv_have_include_next = yes; then +- gl_cv_next_netdb_h='<'netdb.h'>' ++ gl_cv_next_sys_time_h='<'sys/time.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_netdb_h+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_time_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + +- if test $ac_cv_header_netdb_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test $ac_cv_header_sys_time_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++#include + + _ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac +- gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/netdb.h#{ +- s#.*"\(.*/netdb.h\)".*#\1# ++ gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/time.h#{ ++ s#.*"\(.*/sys/time.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else +- gl_cv_next_netdb_h='<'netdb.h'>' ++ gl_cv_next_sys_time_h='<'sys/time.h'>' + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_netdb_h" >&5 +-$as_echo "$gl_cv_next_netdb_h" >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5 ++$as_echo "$gl_cv_next_sys_time_h" >&6; } + fi +- NEXT_NETDB_H=$gl_cv_next_netdb_h ++ NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'netdb.h'>' ++ gl_next_as_first_directive='<'sys/time.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_netdb_h ++ gl_next_as_first_directive=$gl_cv_next_sys_time_h + fi +- NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive ++ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive + + + +- if test $ac_cv_header_netdb_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +- #include +- struct addrinfo a; +- int b = EAI_OVERFLOW; +- int c = AI_NUMERICSERV; ++ if test $ac_cv_header_sys_time_h = yes; then ++ HAVE_SYS_TIME_H=1 ++ else ++ HAVE_SYS_TIME_H=0 ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 ++$as_echo_n "checking for struct timeval... " >&6; } ++if test "${gl_cv_sys_struct_timeval+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if HAVE_SYS_TIME_H ++ #include ++ #endif ++ #include + + int + main () + { +- ++static struct timeval x; x.tv_sec = x.tv_usec; + ; + 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 +- NETDB_H='' ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timeval=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- NETDB_H='netdb.h' ++ gl_cv_sys_struct_timeval=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- HAVE_NETDB_H=1 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5 ++$as_echo "$gl_cv_sys_struct_timeval" >&6; } ++ if test $gl_cv_sys_struct_timeval = yes; then ++ HAVE_STRUCT_TIMEVAL=1 + else +- NETDB_H='netdb.h' +- HAVE_NETDB_H=0 ++ HAVE_STRUCT_TIMEVAL=0 ++ fi ++ ++ ++ REPLACE_GETTIMEOFDAY=0 ++ ++ if test $HAVE_SYS_TIME_H = 0 || test $HAVE_STRUCT_TIMEVAL = 0; then ++ SYS_TIME_H=sys/time.h ++ else ++ SYS_TIME_H= + fi + + + + +- HOSTENT_LIB= +- gl_saved_libs="$LIBS" +- { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 +-$as_echo_n "checking for library containing gethostbyname... " >&6; } +-if test "${ac_cv_search_gethostbyname+set}" = set; then ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_LCHMOD=0; ++ GNULIB_LSTAT=0; ++ HAVE_LCHMOD=1; ++ REPLACE_LSTAT=0; ++ REPLACE_MKDIR=0; ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 ++$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } ++if test "${gl_cv_func_malloc_posix+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- ac_func_search_save_LIBS=$LIBS +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char gethostbyname (); + int + main () + { +-return gethostbyname (); ++#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++ choke me ++ #endif ++ + ; + return 0; + } + _ACEOF +-for ac_lib in '' nsl network net; do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_search_gethostbyname=$ac_res ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_malloc_posix=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ++ gl_cv_func_malloc_posix=no + fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext +- if test "${ac_cv_search_gethostbyname+set}" = set; then +- break + fi +-done +-if test "${ac_cv_search_gethostbyname+set}" = set; then +- : +-else +- ac_cv_search_gethostbyname=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 +-$as_echo "$ac_cv_search_gethostbyname" >&6; } +-ac_res=$ac_cv_search_gethostbyname +-if test "$ac_res" != no; then +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- if test "$ac_cv_search_gethostbyname" != "none required"; then +- HOSTENT_LIB="$ac_cv_search_gethostbyname" +- fi +-fi +- +- LIBS="$gl_saved_libs" +- if test -z "$HOSTENT_LIB"; then +- +-for ac_func in gethostbyname +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 ++$as_echo "$gl_cv_func_malloc_posix" >&6; } + +-#undef $ac_func + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif ++ GNULIB_MALLOC_POSIX=0; ++ GNULIB_REALLOC_POSIX=0; ++ GNULIB_CALLOC_POSIX=0; ++ GNULIB_ATOLL=0; ++ GNULIB_GETLOADAVG=0; ++ GNULIB_GETSUBOPT=0; ++ GNULIB_MKDTEMP=0; ++ GNULIB_MKSTEMP=0; ++ GNULIB_PUTENV=0; ++ GNULIB_RANDOM_R=0; ++ GNULIB_RPMATCH=0; ++ GNULIB_SETENV=0; ++ GNULIB_STRTOD=0; ++ GNULIB_STRTOLL=0; ++ GNULIB_STRTOULL=0; ++ GNULIB_UNSETENV=0; ++ HAVE_ATOLL=1; ++ HAVE_CALLOC_POSIX=1; ++ HAVE_GETSUBOPT=1; ++ HAVE_MALLOC_POSIX=1; ++ HAVE_MKDTEMP=1; ++ HAVE_REALLOC_POSIX=1; ++ HAVE_RANDOM_R=1; ++ HAVE_RPMATCH=1; ++ HAVE_SETENV=1; ++ HAVE_STRTOD=1; ++ HAVE_STRTOLL=1; ++ HAVE_STRTOULL=1; ++ HAVE_STRUCT_RANDOM_DATA=1; ++ HAVE_SYS_LOADAVG_H=0; ++ HAVE_UNSETENV=1; ++ HAVE_DECL_GETLOADAVG=1; ++ REPLACE_MKSTEMP=0; ++ REPLACE_PUTENV=0; ++ REPLACE_STRTOD=0; ++ VOID_UNSETENV=0; + +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- eval "$as_ac_var=no" +-fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF + +-else + +- { $as_echo "$as_me:$LINENO: checking for gethostbyname in winsock2.h and -lws2_32" >&5 +-$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } +-if test "${gl_cv_w32_gethostbyname+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- gl_cv_w32_gethostbyname=no +- gl_save_LIBS="$LIBS" +- LIBS="$LIBS -lws2_32" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#ifdef HAVE_WINSOCK2_H +-#include +-#endif +-#include + +-int +-main () +-{ +-gethostbyname(NULL); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_w32_gethostbyname=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + + +-fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +- LIBS="$gl_save_LIBS" + +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_w32_gethostbyname" >&5 +-$as_echo "$gl_cv_w32_gethostbyname" >&6; } +- if test "$gl_cv_w32_gethostbyname" = "yes"; then +- HOSTENT_LIB="-lws2_32" +- fi + +-fi +-done ++ GNULIB_MEMCHR=0; ++ GNULIB_MEMMEM=0; ++ GNULIB_MEMPCPY=0; ++ GNULIB_MEMRCHR=0; ++ GNULIB_RAWMEMCHR=0; ++ GNULIB_STPCPY=0; ++ GNULIB_STPNCPY=0; ++ GNULIB_STRCHRNUL=0; ++ GNULIB_STRDUP=0; ++ GNULIB_STRNDUP=0; ++ GNULIB_STRNLEN=0; ++ GNULIB_STRPBRK=0; ++ GNULIB_STRSEP=0; ++ GNULIB_STRSTR=0; ++ GNULIB_STRCASESTR=0; ++ GNULIB_STRTOK_R=0; ++ GNULIB_MBSLEN=0; ++ GNULIB_MBSNLEN=0; ++ GNULIB_MBSCHR=0; ++ GNULIB_MBSRCHR=0; ++ GNULIB_MBSSTR=0; ++ GNULIB_MBSCASECMP=0; ++ GNULIB_MBSNCASECMP=0; ++ GNULIB_MBSPCASECMP=0; ++ GNULIB_MBSCASESTR=0; ++ GNULIB_MBSCSPN=0; ++ GNULIB_MBSPBRK=0; ++ GNULIB_MBSSPN=0; ++ GNULIB_MBSSEP=0; ++ GNULIB_MBSTOK_R=0; ++ GNULIB_STRERROR=0; ++ GNULIB_STRSIGNAL=0; ++ GNULIB_STRVERSCMP=0; ++ HAVE_DECL_MEMMEM=1; ++ HAVE_MEMPCPY=1; ++ HAVE_DECL_MEMRCHR=1; ++ HAVE_RAWMEMCHR=1; ++ HAVE_STPCPY=1; ++ HAVE_STPNCPY=1; ++ HAVE_STRCHRNUL=1; ++ HAVE_DECL_STRDUP=1; ++ HAVE_STRNDUP=1; ++ HAVE_DECL_STRNDUP=1; ++ HAVE_DECL_STRNLEN=1; ++ HAVE_STRPBRK=1; ++ HAVE_STRSEP=1; ++ HAVE_STRCASESTR=1; ++ HAVE_DECL_STRTOK_R=1; ++ HAVE_DECL_STRERROR=1; ++ HAVE_DECL_STRSIGNAL=1; ++ HAVE_STRVERSCMP=1; ++ REPLACE_MEMCHR=0; ++ REPLACE_MEMMEM=0; ++ REPLACE_STRDUP=0; ++ REPLACE_STRSTR=0; ++ REPLACE_STRCASESTR=0; ++ REPLACE_STRERROR=0; ++ REPLACE_STRSIGNAL=0; + +- fi + + + +- SERVENT_LIB= +- gl_saved_libs="$LIBS" +- { $as_echo "$as_me:$LINENO: checking for library containing getservbyname" >&5 +-$as_echo_n "checking for library containing getservbyname... " >&6; } +-if test "${ac_cv_search_getservbyname+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_func_search_save_LIBS=$LIBS +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char getservbyname (); +-int +-main () +-{ +-return getservbyname (); +- ; +- return 0; +-} +-_ACEOF +-for ac_lib in '' socket network net; do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_search_getservbyname=$ac_res +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + + +-fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext +- if test "${ac_cv_search_getservbyname+set}" = set; then +- break +-fi +-done +-if test "${ac_cv_search_getservbyname+set}" = set; then +- : ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = x""yes; then : ++ gl_have_mmap=yes + else +- ac_cv_search_getservbyname=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_getservbyname" >&5 +-$as_echo "$ac_cv_search_getservbyname" >&6; } +-ac_res=$ac_cv_search_getservbyname +-if test "$ac_res" != no; then +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- if test "$ac_cv_search_getservbyname" != "none required"; then +- SERVENT_LIB="$ac_cv_search_getservbyname" +- fi ++ gl_have_mmap=no + fi + +- LIBS="$gl_saved_libs" +- if test -z "$SERVENT_LIB"; then + +-for ac_func in getservbyname +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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 ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func + +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. + #endif + +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes + fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else ++rm -f conftest* + +- { $as_echo "$as_me:$LINENO: checking for getservbyname in winsock2.h and -lws2_32" >&5 +-$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } +-if test "${gl_cv_w32_getservbyname+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- gl_cv_w32_getservbyname=no +- gl_save_LIBS="$LIBS" +- LIBS="$LIBS -lws2_32" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#ifdef HAVE_WINSOCK2_H +-#include ++#include ++#ifdef MAP_ANON ++ I cant identify this map. + #endif +-#include + +-int +-main () +-{ +-getservbyname(NULL,NULL); +- ; +- return 0; +-} + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_w32_getservbyname=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : + ++$as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h + ++ gl_have_mmap_anonymous=yes + fi ++rm -f conftest* + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +- LIBS="$gl_save_LIBS" +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_w32_getservbyname" >&5 +-$as_echo "$gl_cv_w32_getservbyname" >&6; } +- if test "$gl_cv_w32_getservbyname" = "yes"; then +- SERVENT_LIB="-lws2_32" +- fi ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then + +-fi +-done ++$as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h + ++ fi + fi + + +-{ $as_echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 +-$as_echo_n "checking for C/C++ restrict keyword... " >&6; } +-if test "${ac_cv_c_restrict+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_c_restrict=no +- # The order here caters to the fact that C++ does not require restrict. +- for ac_kw in __restrict __restrict__ _Restrict restrict; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-typedef int * int_ptr; +- int foo (int_ptr $ac_kw ip) { +- return ip[0]; +- } +-int +-main () +-{ +-int s[1]; +- int * $ac_kw t = s; +- t[0] = 0; +- return foo(t) +- ; +- 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 +- ac_cv_c_restrict=$ac_kw +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- ++ : + +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- test "$ac_cv_c_restrict" != no && break +- done + +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 +-$as_echo "$ac_cv_c_restrict" >&6; } + + +- case $ac_cv_c_restrict in +- restrict) ;; +- no) cat >>confdefs.h <<\_ACEOF +-#define restrict /**/ +-_ACEOF +- ;; +- *) cat >>confdefs.h <<_ACEOF +-#define restrict $ac_cv_c_restrict +-_ACEOF +- ;; +- esac + ++ : + + + +@@ -9789,361 +7718,434 @@ + + + +- : + + + + + + +- { $as_echo "$as_me:$LINENO: checking for IPv4 sockets" >&5 +-$as_echo_n "checking for IPv4 sockets... " >&6; } +- if test "${gl_cv_socket_ipv4+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 +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETINET_IN_H +-#include +-#endif +-#ifdef HAVE_WINSOCK2_H +-#include +-#endif +-int +-main () +-{ +-int x = AF_INET; struct in_addr y; struct sockaddr_in z; +- if (&x && &y && &z) return 0; +- ; +- return 0; +-} ++ for ac_func in memchr ++do : ++ ac_fn_c_check_func "$LINENO" "memchr" "ac_cv_func_memchr" ++if test "x$ac_cv_func_memchr" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_MEMCHR 1 + _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_socket_ipv4=yes ++ + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- gl_cv_socket_ipv4=no +-fi ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++done + +- { $as_echo "$as_me:$LINENO: result: $gl_cv_socket_ipv4" >&5 +-$as_echo "$gl_cv_socket_ipv4" >&6; } +- if test $gl_cv_socket_ipv4 = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_IPV4 1 ++ if test $ac_cv_func_memchr = no; then ++ ++ for ac_header in bp-sym.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" ++if test "x$ac_cv_header_bp_sym_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_BP_SYM_H 1 + _ACEOF + ++fi ++ ++done ++ ++ ++ REPLACE_MEMCHR=1 + fi + +- { $as_echo "$as_me:$LINENO: checking for IPv6 sockets" >&5 +-$as_echo_n "checking for IPv6 sockets... " >&6; } +- if test "${gl_cv_socket_ipv6+set}" = set; then ++ if test $ac_cv_func_memchr = yes; then ++ # Detect platform-specific bugs in some versions of glibc: ++ # memchr should not dereference anything with length 0 ++ # http://bugzilla.redhat.com/499689 ++ # memchr should not dereference overestimated length after a match ++ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 ++ # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 ++ # Assume that memchr works on platforms that lack mprotect. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 ++$as_echo_n "checking whether memchr works... " >&6; } ++if test "${gl_cv_func_memchr_works+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 ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_memchr_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETINET_IN_H +-#include +-#endif +-#ifdef HAVE_WINSOCK2_H +-#include ++ ++#include ++#if HAVE_SYS_MMAN_H ++# include ++# include ++# include ++# include ++# ifndef MAP_FILE ++# define MAP_FILE 0 ++# endif + #endif ++ + int + main () + { +-int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; +- if (&x && &y && &z) return 0; ++ ++ char *fence = NULL; ++#if HAVE_SYS_MMAN_H && HAVE_MPROTECT ++# if HAVE_MAP_ANONYMOUS ++ const int flags = MAP_ANONYMOUS | MAP_PRIVATE; ++ const int fd = -1; ++# else /* !HAVE_MAP_ANONYMOUS */ ++ const int flags = MAP_FILE | MAP_PRIVATE; ++ int fd = open ("/dev/zero", O_RDONLY, 0666); ++ if (fd >= 0) ++# endif ++ { ++ int pagesize = getpagesize (); ++ char *two_pages = ++ (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, ++ flags, fd, 0); ++ if (two_pages != (char *)(-1) ++ && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) ++ fence = two_pages + pagesize; ++ } ++#endif ++ if (fence) ++ { ++ if (memchr (fence, 0, 0)) ++ return 1; ++ strcpy (fence - 9, "12345678"); ++ if (memchr (fence - 9, 0, 79) != fence - 1) ++ return 2; ++ } ++ return 0; ++ + ; + 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 +- gl_cv_socket_ipv6=yes ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_memchr_works=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ gl_cv_func_memchr_works=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi + +- gl_cv_socket_ipv6=no + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 ++$as_echo "$gl_cv_func_memchr_works" >&6; } ++ if test "$gl_cv_func_memchr_works" != yes; then ++ ++ for ac_header in bp-sym.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" ++if test "x$ac_cv_header_bp_sym_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_BP_SYM_H 1 ++_ACEOF + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + +- { $as_echo "$as_me:$LINENO: result: $gl_cv_socket_ipv6" >&5 +-$as_echo "$gl_cv_socket_ipv6" >&6; } +- if test $gl_cv_socket_ipv6 = yes; then ++done ++ ++ ++ REPLACE_MEMCHR=1 ++ ++ ++ ++ ++ ++ + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_IPV6 1 +-_ACEOF + ++ gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" ++ ++ fi + fi + ++# Check whether --enable-largefile was given. ++if test "${enable_largefile+set}" = set; then : ++ enableval=$enable_largefile; ++fi ++ ++if test "$enable_largefile" != no; then + +- { $as_echo "$as_me:$LINENO: checking whether getdelim is declared" >&5 +-$as_echo_n "checking whether getdelim is declared... " >&6; } +-if test "${ac_cv_have_decl_getdelim+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 ++$as_echo_n "checking for special C compiler options needed for large files... " >&6; } ++if test "${ac_cv_sys_largefile_CC+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 ++ ac_cv_sys_largefile_CC=no ++ if test "$GCC" != yes; then ++ ac_save_CC=$CC ++ while :; do ++ # IRIX 6.2 and later do not support large files by default, ++ # so use the C compiler's -n32 option if that helps. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default ++#include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; + int + main () + { +-#ifndef getdelim +- (void) getdelim; +-#endif + + ; + 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 +- ac_cv_have_decl_getdelim=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_getdelim=no ++ if ac_fn_c_try_compile "$LINENO"; then : ++ break + fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext ++ CC="$CC -n32" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_largefile_CC=' -n32'; break + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getdelim" >&5 +-$as_echo "$ac_cv_have_decl_getdelim" >&6; } +-if test "x$ac_cv_have_decl_getdelim" = x""yes; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETDELIM 1 +-_ACEOF +- +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETDELIM 0 +-_ACEOF +- +- ++rm -f core conftest.err conftest.$ac_objext ++ break ++ done ++ CC=$ac_save_CC ++ rm -f conftest.$ac_ext ++ fi + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 ++$as_echo "$ac_cv_sys_largefile_CC" >&6; } ++ if test "$ac_cv_sys_largefile_CC" != no; then ++ CC=$CC$ac_cv_sys_largefile_CC ++ fi + +- +- +- +- { $as_echo "$as_me:$LINENO: checking whether getline is declared" >&5 +-$as_echo_n "checking whether getline is declared... " >&6; } +-if test "${ac_cv_have_decl_getline+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ++if test "${ac_cv_sys_file_offset_bits+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default ++#define _FILE_OFFSET_BITS 64 ++#include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; + int + main () + { +-#ifndef getline +- (void) getline; +-#endif + + ; + 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;; ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=64; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_file_offset_bits=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 ++$as_echo "$ac_cv_sys_file_offset_bits" >&6; } ++case $ac_cv_sys_file_offset_bits in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits ++_ACEOF ++;; + 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 +- ac_cv_have_decl_getline=yes ++rm -rf conftest* ++ if test $ac_cv_sys_file_offset_bits = unknown; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 ++$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ++if test "${ac_cv_sys_large_files+set}" = set; then : ++ $as_echo_n "(cached) " >&6 + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ + +- ac_cv_have_decl_getline=no ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=no; break + fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#define _LARGE_FILES 1 ++#include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ + ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=1; break ++fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_large_files=unknown ++ break ++done + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getline" >&5 +-$as_echo "$ac_cv_have_decl_getline" >&6; } +-if test "x$ac_cv_have_decl_getline" = x""yes; then +- ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 ++$as_echo "$ac_cv_sys_large_files" >&6; } ++case $ac_cv_sys_large_files in #( ++ no | unknown) ;; ++ *) + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETLINE 1 ++#define _LARGE_FILES $ac_cv_sys_large_files + _ACEOF ++;; ++esac ++rm -rf conftest* ++ fi ++fi + + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETLINE 0 ++ gl_cv_c_multiarch=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ + _ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : + ++ arch= ++ prev= ++ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do ++ if test -n "$prev"; then ++ case $word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$arch" || test "$arch" = "$word"; then ++ arch="$word" ++ else ++ gl_cv_c_multiarch=yes ++ fi ++ ;; ++ esac ++ prev= ++ else ++ if test "x$word" = "x-arch"; then ++ prev=arch ++ fi ++ fi ++ done + + fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $gl_cv_c_multiarch = yes; then + ++$as_echo "#define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + ++ APPLE_UNIVERSAL_BUILD=1 ++ else ++ APPLE_UNIVERSAL_BUILD=0 ++ fi + + +- { $as_echo "$as_me:$LINENO: checking whether getpass is declared" >&5 +-$as_echo_n "checking whether getpass is declared... " >&6; } +-if test "${ac_cv_have_decl_getpass+set}" = set; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for external symbol _system_configuration" >&5 ++$as_echo_n "checking for external symbol _system_configuration... " >&6; } ++if test "${gl_cv_var__system_configuration+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default ++#include ++ + int + main () + { +-#ifndef getpass +- (void) getpass; +-#endif +- ++double x = _system_configuration.physmem; ++ if (x > 0.0) return 0; + ; + 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 +- ac_cv_have_decl_getpass=yes ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_var__system_configuration=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_getpass=no ++ gl_cv_var__system_configuration=no + fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getpass" >&5 +-$as_echo "$ac_cv_have_decl_getpass" >&6; } +-if test "x$ac_cv_have_decl_getpass" = x""yes; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var__system_configuration" >&5 ++$as_echo "$gl_cv_var__system_configuration" >&6; } + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETPASS 1 +-_ACEOF ++ if test $gl_cv_var__system_configuration = yes; then + ++$as_echo "#define HAVE__SYSTEM_CONFIGURATION 1" >>confdefs.h + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETPASS 0 +-_ACEOF ++ fi + + +-fi + + + +@@ -10155,6 +8157,8 @@ + + + ++ GNULIB_SELECT=0; ++ REPLACE_SELECT=0; + + + +@@ -10164,117 +8168,42 @@ + + + +-for ac_func in $gl_func_list +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_select_h_selfcontained+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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif + ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include + int + main () + { +-return $ac_func (); ++struct timeval b; + ; + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_select_h_selfcontained=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++ gl_cv_header_sys_select_h_selfcontained=no + fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi +-done +- +- +- +- +- +- +- +- ++{ $as_echo "$as_me:${as_lineno-$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' + + + + ++ : + + + +@@ -10282,359 +8211,490 @@ + + + +- { $as_echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5 +-$as_echo_n "checking whether fflush_unlocked is declared... " >&6; } +-if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_sys_select_h+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 ++ ++ if test $ac_cv_header_sys_select_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef fflush_unlocked +- (void) fflush_unlocked; +-#endif ++#include + +- ; +- 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 +- ac_cv_have_decl_fflush_unlocked=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_fflush_unlocked=no +-fi ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/select.h#{ ++ s#.*"\(.*/sys/select.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_select_h='<'sys/select.h'>' ++ fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5 +-$as_echo "$ac_cv_have_decl_fflush_unlocked" >&6; } +-if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FFLUSH_UNLOCKED 1 +-_ACEOF ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5 ++$as_echo "$gl_cv_next_sys_select_h" >&6; } ++ fi ++ NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h + ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/select.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_select_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FFLUSH_UNLOCKED 0 +-_ACEOF + + +-fi ++ if test $ac_cv_header_sys_select_h = yes; then ++ HAVE_SYS_SELECT_H=1 ++ else ++ HAVE_SYS_SELECT_H=0 ++ fi + + + + +- { $as_echo "$as_me:$LINENO: checking whether flockfile is declared" >&5 +-$as_echo_n "checking whether flockfile is declared... " >&6; } +-if test "${ac_cv_have_decl_flockfile+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. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef flockfile +- (void) flockfile; +-#endif + +- ; +- 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 +- ac_cv_have_decl_flockfile=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ : + +- ac_cv_have_decl_flockfile=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_flockfile" >&5 +-$as_echo "$ac_cv_have_decl_flockfile" >&6; } +-if test "x$ac_cv_have_decl_flockfile" = x""yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FLOCKFILE 1 +-_ACEOF + + +-else ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FLOCKFILE 0 ++#define HAVE_WINSOCK2_H 1 + _ACEOF + +- + fi + ++done + +- +- +- { $as_echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5 +-$as_echo_n "checking whether fputs_unlocked is declared... " >&6; } +-if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then +- $as_echo_n "(cached) " >&6 ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" ++if test "x$ac_cv_have_decl_snprintf" = x""yes; then : ++ ac_have_decl=1 + else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_SNPRINTF $ac_have_decl + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 ++$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } ++if test "${ac_cv_header_stdbool_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default ++ ++ #include ++ #ifndef bool ++ "error: bool is not defined" ++ #endif ++ #ifndef false ++ "error: false is not defined" ++ #endif ++ #if false ++ "error: false is not 0" ++ #endif ++ #ifndef true ++ "error: true is not defined" ++ #endif ++ #if true != 1 ++ "error: true is not 1" ++ #endif ++ #ifndef __bool_true_false_are_defined ++ "error: __bool_true_false_are_defined is not defined" ++ #endif ++ ++ struct s { _Bool s: 1; _Bool t; } s; ++ ++ char a[true == 1 ? 1 : -1]; ++ char b[false == 0 ? 1 : -1]; ++ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; ++ char d[(bool) 0.5 == true ? 1 : -1]; ++ bool e = &s; ++ char f[(_Bool) 0.0 == false ? 1 : -1]; ++ char g[true]; ++ char h[sizeof (_Bool)]; ++ char i[sizeof s.t]; ++ enum { j = false, k = true, l = false * true, m = true * 256 }; ++ _Bool n[m]; ++ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; ++ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; ++ #if defined __xlc__ || defined __GNUC__ ++ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 ++ reported by James Lemley on 2005-10-05; see ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html ++ This test is not quite right, since xlc is allowed to ++ reject this program, as the initializer for xlcbug is ++ not one of the forms that C requires support for. ++ However, doing the test right would require a run-time ++ test, and that would make cross-compilation harder. ++ Let us hope that IBM fixes the xlc bug, and also adds ++ support for this kind of constant expression. In the ++ meantime, this test will reject xlc, which is OK, since ++ our stdbool.h substitute should suffice. We also test ++ this with GCC, where it should work, to detect more ++ quickly whether someone messes up the test in the ++ future. */ ++ char digs[] = "0123456789"; ++ int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); ++ #endif ++ /* Catch a bug in an HP-UX C compiler. See ++ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html ++ */ ++ _Bool q = true; ++ _Bool *pq = &q; ++ + int + main () + { +-#ifndef fputs_unlocked +- (void) fputs_unlocked; +-#endif ++ ++ *pq |= q; ++ *pq |= ! q; ++ /* Refer to every declared value, to avoid compiler optimizations. */ ++ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ++ + !m + !n + !o + !p + !q + !pq); + + ; + 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 +- ac_cv_have_decl_fputs_unlocked=yes ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdbool_h=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_fputs_unlocked=no ++ ac_cv_header_stdbool_h=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5 +-$as_echo "$ac_cv_have_decl_fputs_unlocked" >&6; } +-if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 ++$as_echo "$ac_cv_header_stdbool_h" >&6; } ++ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" ++if test "x$ac_cv_type__Bool" = x""yes; then : + + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FPUTS_UNLOCKED 1 +-_ACEOF +- +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FPUTS_UNLOCKED 0 ++#define HAVE__BOOL 1 + _ACEOF + + + fi + ++ if test $ac_cv_header_stdbool_h = yes; then + ++$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h + ++ fi + +- { $as_echo "$as_me:$LINENO: checking whether funlockfile is declared" >&5 +-$as_echo_n "checking whether funlockfile is declared... " >&6; } +-if test "${ac_cv_have_decl_funlockfile+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 ++$as_echo_n "checking for long long int... " >&6; } ++if test "${ac_cv_type_long_long_int+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; + int + main () + { +-#ifndef funlockfile +- (void) funlockfile; +-#endif ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} + ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test "$cross_compiling" = yes; then : ++ ac_cv_type_long_long_int=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #ifndef LLONG_MAX ++ # define HALF \ ++ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) ++ # define LLONG_MAX (HALF - 1 + HALF) ++ #endif ++int ++main () ++{ ++long long int n = 1; ++ int i; ++ for (i = 0; ; i++) ++ { ++ long long int m = n << i; ++ if (m >> i != n) ++ return 1; ++ if (LLONG_MAX / 2 < m) ++ break; ++ } ++ return 0; + ; + 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 +- ac_cv_have_decl_funlockfile=yes ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_type_long_long_int=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_funlockfile=no ++ ac_cv_type_long_long_int=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ ac_cv_type_long_long_int=no + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_funlockfile" >&5 +-$as_echo "$ac_cv_have_decl_funlockfile" >&6; } +-if test "x$ac_cv_have_decl_funlockfile" = x""yes; then ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 ++$as_echo "$ac_cv_type_long_long_int" >&6; } ++ if test $ac_cv_type_long_long_int = yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FUNLOCKFILE 1 +-_ACEOF ++$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi + + ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 ++$as_echo_n "checking for unsigned long long int... " >&6; } ++if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : ++ $as_echo_n "(cached) " >&6 + else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FUNLOCKFILE 0 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ + _ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_type_unsigned_long_long_int=yes ++else ++ ac_cv_type_unsigned_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 ++$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ ++$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strdup" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 + fi + ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_STRDUP $ac_have_decl ++_ACEOF ++ + + + +- { $as_echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5 +-$as_echo_n "checking whether putc_unlocked is declared... " >&6; } +-if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then ++ ++ if test -z "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 ++$as_echo_n "checking for working strerror function... " >&6; } ++if test "${gl_cv_func_working_strerror+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 ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default ++#include ++ + int + main () + { +-#ifndef putc_unlocked +- (void) putc_unlocked; +-#endif ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include + ++int ++main () ++{ ++return !*strerror (-2); + ; + 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 +- ac_cv_have_decl_putc_unlocked=yes ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_strerror=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ gl_cv_func_working_strerror=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ + +- ac_cv_have_decl_putc_unlocked=no + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 ++$as_echo "$gl_cv_func_working_strerror" >&6; } ++ if test $gl_cv_func_working_strerror = no; then ++ REPLACE_STRERROR=1 ++ fi ++ else ++ REPLACE_STRERROR=1 ++ fi ++ if test $REPLACE_STRERROR = 1; then + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strerror" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5 +-$as_echo "$ac_cv_have_decl_putc_unlocked" >&6; } +-if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then + + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_PUTC_UNLOCKED 1 ++#define HAVE_DECL_STRERROR $ac_have_decl + _ACEOF + + +-else ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_PUTC_UNLOCKED 0 ++#define HAVE_WINSOCK2_H 1 + _ACEOF + +- + fi + ++done ++ ++ fi + ++ fi + + + +@@ -10657,132 +8717,120 @@ + + + if test $gl_cv_have_include_next = yes; then +- gl_cv_next_sys_time_h='<'sys/time.h'>' ++ gl_cv_next_string_h='<'string.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_time_h+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_string_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + +- if test $ac_cv_header_sys_time_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test $ac_cv_header_string_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++#include + + _ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac +- gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/sys/time.h#{ +- s#.*"\(.*/sys/time.h\)".*#\1# ++ gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/string.h#{ ++ s#.*"\(.*/string.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else +- gl_cv_next_sys_time_h='<'sys/time.h'>' ++ gl_cv_next_string_h='<'string.h'>' + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_sys_time_h" >&5 +-$as_echo "$gl_cv_next_sys_time_h" >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 ++$as_echo "$gl_cv_next_string_h" >&6; } + fi +- NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h ++ NEXT_STRING_H=$gl_cv_next_string_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'sys/time.h'>' ++ gl_next_as_first_directive='<'string.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_sys_time_h ++ gl_next_as_first_directive=$gl_cv_next_string_h + fi +- NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive ++ NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive + + + + +- if test $ac_cv_header_sys_time_h = yes; then +- HAVE_SYS_TIME_H=1 +- else +- HAVE_SYS_TIME_H=0 +- fi + ++ ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strndup" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi + +- { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 +-$as_echo_n "checking for struct timeval... " >&6; } +-if test "${gl_cv_sys_struct_timeval+set}" = set; then +- $as_echo_n "(cached) " >&6 ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_STRNDUP $ac_have_decl ++_ACEOF ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strnlen" = x""yes; then : ++ ac_have_decl=1 + else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_STRNLEN $ac_have_decl + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 ++$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } ++if test "${ac_cv_header_stat_broken+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#if HAVE_SYS_TIME_H +- #include +- #endif +- #include ++#include ++#include ++ ++#if defined S_ISBLK && defined S_IFDIR ++extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISBLK && defined S_IFCHR ++extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISLNK && defined S_IFREG ++extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; ++#endif ++ ++#if defined S_ISSOCK && defined S_IFREG ++extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; ++#endif + +-int +-main () +-{ +-static struct timeval x; x.tv_sec = x.tv_usec; +- ; +- 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 +- gl_cv_sys_struct_timeval=yes ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stat_broken=no + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_sys_struct_timeval=no ++ ac_cv_header_stat_broken=yes + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_sys_struct_timeval" >&5 +-$as_echo "$gl_cv_sys_struct_timeval" >&6; } +- if test $gl_cv_sys_struct_timeval = yes; then +- HAVE_STRUCT_TIMEVAL=1 +- else +- HAVE_STRUCT_TIMEVAL=0 +- fi +- ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 ++$as_echo "$ac_cv_header_stat_broken" >&6; } ++if test $ac_cv_header_stat_broken = yes; then + +- REPLACE_GETTIMEOFDAY=0 ++$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h + +- if test $HAVE_SYS_TIME_H = 0 || test $HAVE_STRUCT_TIMEVAL = 0; then +- SYS_TIME_H=sys/time.h +- else +- SYS_TIME_H= +- fi ++fi + + + +@@ -10790,117 +8838,88 @@ + + + ++ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; ++ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; ++ REPLACE_STRPTIME=GNULIB_PORTCHECK; ++ REPLACE_TIMEGM=GNULIB_PORTCHECK; + + + + + +- GNULIB_LCHMOD=0; +- GNULIB_LSTAT=0; +- HAVE_LCHMOD=1; +- REPLACE_LSTAT=0; +- REPLACE_MKDIR=0; + + + ++ : + + + + + +- { $as_echo "$as_me:$LINENO: checking whether malloc, realloc, calloc are POSIX compliant" >&5 +-$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } +-if test "${gl_cv_func_malloc_posix+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_time_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } ++ ++ TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then ++ TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ ++#include + + int + main () + { +-#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +- choke me +- #endif +- ++static struct timespec x; x.tv_sec = x.tv_nsec; + ; + 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 +- gl_cv_func_malloc_posix=yes ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_sys_time_h=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_func_malloc_posix=no ++ gl_cv_sys_struct_timespec_in_sys_time_h=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_malloc_posix" >&5 +-$as_echo "$gl_cv_func_malloc_posix" >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } ++ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ fi ++ fi + + +- GNULIB_MALLOC_POSIX=0; +- GNULIB_REALLOC_POSIX=0; +- GNULIB_CALLOC_POSIX=0; +- GNULIB_ATOLL=0; +- GNULIB_GETLOADAVG=0; +- GNULIB_GETSUBOPT=0; +- GNULIB_MKDTEMP=0; +- GNULIB_MKSTEMP=0; +- GNULIB_PUTENV=0; +- GNULIB_RANDOM_R=0; +- GNULIB_RPMATCH=0; +- GNULIB_SETENV=0; +- GNULIB_STRTOD=0; +- GNULIB_STRTOLL=0; +- GNULIB_STRTOULL=0; +- GNULIB_UNSETENV=0; +- HAVE_ATOLL=1; +- HAVE_CALLOC_POSIX=1; +- HAVE_GETSUBOPT=1; +- HAVE_MALLOC_POSIX=1; +- HAVE_MKDTEMP=1; +- HAVE_REALLOC_POSIX=1; +- HAVE_RANDOM_R=1; +- HAVE_RPMATCH=1; +- HAVE_SETENV=1; +- HAVE_STRTOD=1; +- HAVE_STRTOLL=1; +- HAVE_STRTOULL=1; +- HAVE_STRUCT_RANDOM_DATA=1; +- HAVE_SYS_LOADAVG_H=0; +- HAVE_UNSETENV=1; +- HAVE_DECL_GETLOADAVG=1; +- REPLACE_MKSTEMP=0; +- REPLACE_PUTENV=0; +- REPLACE_STRTOD=0; +- VOID_UNSETENV=0; + + + +@@ -10909,1291 +8928,1007 @@ + + + ++ : + + + + + + +- GNULIB_MEMCHR=0; +- GNULIB_MEMMEM=0; +- GNULIB_MEMPCPY=0; +- GNULIB_MEMRCHR=0; +- GNULIB_RAWMEMCHR=0; +- GNULIB_STPCPY=0; +- GNULIB_STPNCPY=0; +- GNULIB_STRCHRNUL=0; +- GNULIB_STRDUP=0; +- GNULIB_STRNDUP=0; +- GNULIB_STRNLEN=0; +- GNULIB_STRPBRK=0; +- GNULIB_STRSEP=0; +- GNULIB_STRSTR=0; +- GNULIB_STRCASESTR=0; +- GNULIB_STRTOK_R=0; +- GNULIB_MBSLEN=0; +- GNULIB_MBSNLEN=0; +- GNULIB_MBSCHR=0; +- GNULIB_MBSRCHR=0; +- GNULIB_MBSSTR=0; +- GNULIB_MBSCASECMP=0; +- GNULIB_MBSNCASECMP=0; +- GNULIB_MBSPCASECMP=0; +- GNULIB_MBSCASESTR=0; +- GNULIB_MBSCSPN=0; +- GNULIB_MBSPBRK=0; +- GNULIB_MBSSPN=0; +- GNULIB_MBSSEP=0; +- GNULIB_MBSTOK_R=0; +- GNULIB_STRERROR=0; +- GNULIB_STRSIGNAL=0; +- GNULIB_STRVERSCMP=0; +- HAVE_DECL_MEMMEM=1; +- HAVE_MEMPCPY=1; +- HAVE_DECL_MEMRCHR=1; +- HAVE_RAWMEMCHR=1; +- HAVE_STPCPY=1; +- HAVE_STPNCPY=1; +- HAVE_STRCHRNUL=1; +- HAVE_DECL_STRDUP=1; +- HAVE_STRNDUP=1; +- HAVE_DECL_STRNDUP=1; +- HAVE_DECL_STRNLEN=1; +- HAVE_STRPBRK=1; +- HAVE_STRSEP=1; +- HAVE_STRCASESTR=1; +- HAVE_DECL_STRTOK_R=1; +- HAVE_DECL_STRERROR=1; +- HAVE_DECL_STRSIGNAL=1; +- HAVE_STRVERSCMP=1; +- REPLACE_MEMCHR=0; +- REPLACE_MEMMEM=0; +- REPLACE_STRDUP=0; +- REPLACE_STRSTR=0; +- REPLACE_STRCASESTR=0; +- REPLACE_STRERROR=0; +- REPLACE_STRSIGNAL=0; + ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_time_h='<'time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_time_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_time_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/time.h#{ ++ s#.*"\(.*/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_time_h='<'time.h'>' ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 ++$as_echo "$gl_cv_next_time_h" >&6; } ++ fi ++ NEXT_TIME_H=$gl_cv_next_time_h + ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive + + + + + + +- # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it +- # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is +- # irrelevant for anonymous mappings. +- { $as_echo "$as_me:$LINENO: checking for mmap" >&5 +-$as_echo_n "checking for mmap... " >&6; } +-if test "${ac_cv_func_mmap+set}" = set; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if test "${gt_cv_c_wchar_t+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-/* Define mmap to an innocuous variant, in case declares mmap. +- For example, HP-UX 11i declares gettimeofday. */ +-#define mmap innocuous_mmap ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ + +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char mmap (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then + +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif ++$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h + +-#undef mmap ++ fi + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char mmap (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_mmap || defined __stub___mmap +-choke me +-#endif + ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if test "${gt_cv_c_wint_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wint_t foo = (wchar_t)'\0'; + int + main () + { +-return mmap (); ++ + ; + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_mmap=yes ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_mmap=no +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++ gt_cv_c_wint_t=no + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5 +-$as_echo "$ac_cv_func_mmap" >&6; } +-if test "x$ac_cv_func_mmap" = x""yes; then +- gl_have_mmap=yes +-else +- gl_have_mmap=no ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then + ++$as_echo "#define HAVE_WINT_T 1" >>confdefs.h + +- # Try to allow MAP_ANONYMOUS. +- gl_have_mmap_anonymous=no +- if test $gl_have_mmap = yes; then +- { $as_echo "$as_me:$LINENO: checking for MAP_ANONYMOUS" >&5 +-$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ fi ++ ++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ++if test "x$ac_cv_type_size_t" = x""yes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define size_t unsigned int + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#include +-#ifdef MAP_ANONYMOUS +- I cant identify this map. +-#endif ++fi + ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 ++$as_echo_n "checking for inttypes.h... " >&6; } ++if test "${gl_cv_header_inttypes_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} + _ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "I cant identify this map." >/dev/null 2>&1; then +- gl_have_mmap_anonymous=yes ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_inttypes_h=yes ++else ++ gl_cv_header_inttypes_h=no + fi +-rm -f conftest* ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 ++$as_echo "$gl_cv_header_inttypes_h" >&6; } ++ if test $gl_cv_header_inttypes_h = yes; then + +- if test $gl_have_mmap_anonymous != yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_INTTYPES_H_WITH_UINTMAX 1 + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#include +-#ifdef MAP_ANON +- I cant identify this map. +-#endif ++ fi + +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "I cant identify this map." >/dev/null 2>&1; then + +-cat >>confdefs.h <<\_ACEOF +-#define MAP_ANONYMOUS MAP_ANON ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 ++$as_echo_n "checking for stdint.h... " >&6; } ++if test "${gl_cv_header_stdint_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} + _ACEOF +- +- gl_have_mmap_anonymous=yes ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_stdint_h=yes ++else ++ gl_cv_header_stdint_h=no + fi +-rm -f conftest* +- +- fi +- { $as_echo "$as_me:$LINENO: result: $gl_have_mmap_anonymous" >&5 +-$as_echo "$gl_have_mmap_anonymous" >&6; } +- if test $gl_have_mmap_anonymous = yes; then ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 ++$as_echo "$gl_cv_header_stdint_h" >&6; } ++ if test $gl_cv_header_stdint_h = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_MAP_ANONYMOUS 1 ++cat >>confdefs.h <<_ACEOF ++#define HAVE_STDINT_H_WITH_UINTMAX 1 + _ACEOF + +- fi + fi + + +- : + + ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 ++$as_echo_n "checking for intmax_t... " >&6; } ++if test "${gt_cv_c_intmax_t+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif + ++int ++main () ++{ ++intmax_t x = -1; return !x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_intmax_t=yes ++else ++ gt_cv_c_intmax_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 ++$as_echo "$gt_cv_c_intmax_t" >&6; } ++ if test $gt_cv_c_intmax_t = yes; then + ++$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h + +- : ++ else + ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' + ++cat >>confdefs.h <<_ACEOF ++#define intmax_t $ac_type ++_ACEOF + ++ fi + + + + + + ++ for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF + ++fi ++done + ++ ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include ++" ++if test "x$ac_cv_have_decl__snprintf" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi + ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL__SNPRINTF $ac_have_decl ++_ACEOF + + + ++ XGETTEXT_EXTRA_OPTIONS= + +-for ac_func in memchr +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func + +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ ++ GNULIB_BTOWC=0; ++ GNULIB_WCTOB=0; ++ GNULIB_MBSINIT=0; ++ GNULIB_MBRTOWC=0; ++ GNULIB_MBRLEN=0; ++ GNULIB_MBSRTOWCS=0; ++ GNULIB_MBSNRTOWCS=0; ++ GNULIB_WCRTOMB=0; ++ GNULIB_WCSRTOMBS=0; ++ GNULIB_WCSNRTOMBS=0; ++ GNULIB_WCWIDTH=0; ++ HAVE_BTOWC=1; ++ HAVE_MBSINIT=1; ++ HAVE_MBRTOWC=1; ++ HAVE_MBRLEN=1; ++ HAVE_MBSRTOWCS=1; ++ HAVE_MBSNRTOWCS=1; ++ HAVE_WCRTOMB=1; ++ HAVE_WCSRTOMBS=1; ++ HAVE_WCSNRTOMBS=1; ++ HAVE_DECL_WCTOB=1; ++ HAVE_DECL_WCWIDTH=1; ++ REPLACE_MBSTATE_T=0; ++ REPLACE_BTOWC=0; ++ REPLACE_WCTOB=0; ++ REPLACE_MBSINIT=0; ++ REPLACE_MBRTOWC=0; ++ REPLACE_MBRLEN=0; ++ REPLACE_MBSRTOWCS=0; ++ REPLACE_MBSNRTOWCS=0; ++ REPLACE_WCRTOMB=0; ++ REPLACE_WCSRTOMBS=0; ++ REPLACE_WCSNRTOMBS=0; ++ REPLACE_WCWIDTH=0; ++ WCHAR_H=''; + +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif + +-#undef $ac_func + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 ++$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } ++if test "${gl_cv_func_ungetc_works+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_ungetc_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include + + int + main () + { +-return $ac_func (); ++FILE *f; long l; ++ if (!(f = fopen ("conftest.tmp", "w+"))) return 1; ++ if (fputs ("abc", f) < 0) return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != 'b') return 4; ++ if (ungetc ('d', f) != 'd') return 5; ++ if (ftell (f) != 1) return 6; ++ if (fgetc (f) != 'd') return 7; ++ if (ftell (f) != 2) return 8; ++ if (fseek (f, 0, SEEK_CUR) != 0) return 9; ++ if (ftell (f) != 2) return 10; ++ if (fgetc (f) != 'c') return 11; ++ fclose (f); remove ("conftest.tmp"); + ; + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ungetc_works=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" ++ gl_cv_func_ungetc_works=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++ + fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5 ++$as_echo "$gl_cv_func_ungetc_works" >&6; } ++ if test "$gl_cv_func_ungetc_works" != yes; then + +-else ++$as_echo "#define FUNC_UNGETC_BROKEN 1" >>confdefs.h ++ ++ fi + +- gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +-fi +-done + + +- if test $ac_cv_func_memchr = no; then + + +-for ac_header in bp-sym.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_compiler=no ++ if true; then ++ GL_COND_LIBTOOL_TRUE= ++ GL_COND_LIBTOOL_FALSE='#' ++else ++ GL_COND_LIBTOOL_TRUE='#' ++ GL_COND_LIBTOOL_FALSE= + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } ++ gl_cond_libtool=true + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_preproc=no +-fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } + +-fi +-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 + +-fi + +-done ++ ++ gl_source_base='gnulib/lib' ++LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'` + + +- REPLACE_MEMCHR=1 ++ ++ ++ ++ ++ if test $ac_cv_func_alloca_works = no; then ++ : + fi + +- if test $ac_cv_func_memchr = yes; then +- # Detect platform-specific bugs in some versions of glibc: +- # memchr should not dereference anything with length 0 +- # http://bugzilla.redhat.com/499689 +- # memchr should not dereference overestimated length after a match +- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 +- # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 +- # Assume that memchr works on platforms that lack mprotect. +- { $as_echo "$as_me:$LINENO: checking whether memchr works" >&5 +-$as_echo_n "checking whether memchr works... " >&6; } +-if test "${gl_cv_func_memchr_works+set}" = set; then ++ # Define an additional variable used in the Makefile substitution. ++ if test $ac_cv_working_alloca_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 ++$as_echo_n "checking for alloca as a compiler built-in... " >&6; } ++if test "${gl_cv_rpl_alloca+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- if test "$cross_compiling" = yes; then +- gl_cv_func_memchr_works="guessing no" +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#include +-#if HAVE_SYS_MMAN_H +-# include +-# include +-# include +-# include +-# ifndef MAP_FILE +-# define MAP_FILE 0 +-# endif +-#endif + +-int +-main () +-{ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + +- char *fence = NULL; +-#if HAVE_SYS_MMAN_H && HAVE_MPROTECT +-# if HAVE_MAP_ANONYMOUS +- const int flags = MAP_ANONYMOUS | MAP_PRIVATE; +- const int fd = -1; +-# else /* !HAVE_MAP_ANONYMOUS */ +- const int flags = MAP_FILE | MAP_PRIVATE; +- int fd = open ("/dev/zero", O_RDONLY, 0666); +- if (fd >= 0) +-# endif +- { +- int pagesize = getpagesize (); +- char *two_pages = +- (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, +- flags, fd, 0); +- if (two_pages != (char *)(-1) +- && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) +- fence = two_pages + pagesize; +- } ++#if defined __GNUC__ || defined _AIX || defined _MSC_VER ++ Need own alloca + #endif +- if (fence) +- { +- if (memchr (fence, 0, 0)) +- return 1; +- strcpy (fence - 9, "12345678"); +- if (memchr (fence - 9, 0, 79) != fence - 1) +- return 2; +- } +- return 0; + +- ; +- return 0; +-} + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_func_memchr_works=yes ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Need own alloca" >/dev/null 2>&1; then : ++ gl_cv_rpl_alloca=yes + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-gl_cv_func_memchr_works=no +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++ gl_cv_rpl_alloca=no + fi ++rm -f conftest* + + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_memchr_works" >&5 +-$as_echo "$gl_cv_func_memchr_works" >&6; } +- if test "$gl_cv_func_memchr_works" != yes; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 ++$as_echo "$gl_cv_rpl_alloca" >&6; } ++ if test $gl_cv_rpl_alloca = yes; then + ++$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h + +-for ac_header in bp-sym.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 ++ ALLOCA_H=alloca.h ++ else ++ ALLOCA_H= ++ fi ++ else ++ ALLOCA_H=alloca.h ++ fi ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ 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 ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_arpa_inet_h+set}" = set; then : + $as_echo_n "(cached) " >&6 +-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; } + else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ if test $ac_cv_header_arpa_inet_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default +-#include <$ac_header> ++#include ++ + _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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_arpa_inet_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/arpa/inet.h#{ ++ s#.*"\(.*/arpa/inet.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' ++ fi + +- ac_header_compiler=no + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5 ++$as_echo "$gl_cv_next_arpa_inet_h" >&6; } ++ fi ++ NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'arpa/inet.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_arpa_inet_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_preproc=no +-fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } + +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_WINSOCK2_H 1 + _ACEOF + + fi + + done + ++ fi ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ HAVE_WINSOCK2_H=1 ++ UNISTD_H_HAVE_WINSOCK2_H=1 ++ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 ++ else ++ HAVE_WINSOCK2_H=0 ++ fi ++ + +- REPLACE_MEMCHR=1 ++ if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then + + ++ if test $REPLACE_CLOSE != 1; then + + + + + + +- gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext" ++ ++ fi ++ REPLACE_CLOSE=1 ++ ++ ++ if test $REPLACE_FCLOSE != 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext" ++ ++ fi ++ REPLACE_FCLOSE=1 ++ + + fi ++ ++ ++ ++ ++ GNULIB_CLOSE=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS connect.$ac_objext" ++ + fi + +-# Check whether --enable-largefile was given. +-if test "${enable_largefile+set}" = set; then +- enableval=$enable_largefile; +-fi + +-if test "$enable_largefile" != no; then ++ GNULIB_CONNECT=1 + +- { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 +-$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +-if test "${ac_cv_sys_largefile_CC+set}" = set; then ++ ++ ++ ++ ++ ++ GNULIB_FCLOSE=1 ++ ++ ++ ++ ++ FLOAT_H= ++ case "$host_os" in ++ beos* | openbsd*) ++ FLOAT_H=float.h ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_float_h='<'float.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_float_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- ac_cv_sys_largefile_CC=no +- if test "$GCC" != yes; then +- ac_save_CC=$CC +- while :; do +- # IRIX 6.2 and later do not support large files by default, +- # so use the C compiler's -n32 option if that helps. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ if test $ac_cv_header_float_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +- /* Check that off_t can represent 2**63 - 1 correctly. +- We can't simply define LARGE_OFF_T to be 9223372036854775807, +- since some C++ compilers masquerading as C compilers +- incorrectly reject 9223372036854775807. */ +-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 +- && LARGE_OFF_T % 2147483647 == 1) +- ? 1 : -1]; +-int +-main () +-{ ++#include + +- ; +- 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 +- break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/float.h#{ ++ s#.*"\(.*/float.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_float_h='<'float.h'>' ++ fi + + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 ++$as_echo "$gl_cv_next_float_h" >&6; } ++ fi ++ NEXT_FLOAT_H=$gl_cv_next_float_h + +-rm -f core conftest.err conftest.$ac_objext +- CC="$CC -n32" +- 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 +- ac_cv_sys_largefile_CC=' -n32'; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'float.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_float_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive + + +-fi + +-rm -f core conftest.err conftest.$ac_objext +- break +- done +- CC=$ac_save_CC +- rm -f conftest.$ac_ext +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 +-$as_echo "$ac_cv_sys_largefile_CC" >&6; } +- if test "$ac_cv_sys_largefile_CC" != no; then +- CC=$CC$ac_cv_sys_largefile_CC +- fi ++ ;; ++ esac + +- { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +-$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +-if test "${ac_cv_sys_file_offset_bits+set}" = set; then ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 ++$as_echo_n "checking for fseeko... " >&6; } ++if test "${gl_cv_func_fseeko+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +- /* Check that off_t can represent 2**63 - 1 correctly. +- We can't simply define LARGE_OFF_T to be 9223372036854775807, +- since some C++ compilers masquerading as C compilers +- incorrectly reject 9223372036854775807. */ +-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 +- && LARGE_OFF_T % 2147483647 == 1) +- ? 1 : -1]; ++#include + int + main () + { +- ++fseeko (stdin, 0, 0); + ; + 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 +- ac_cv_sys_file_offset_bits=no; break ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_fseeko=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- ++ gl_cv_func_fseeko=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + + fi ++{ $as_echo "$as_me:${as_lineno-$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 + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext" ++ ++ ++ REPLACE_FSEEKO=1 ++ ++ elif test $gl_cv_var_stdin_large_offset = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext" ++ ++ ++ REPLACE_FSEEKO=1 ++ ++ fi ++ ++ ++ ++ GNULIB_FSEEKO=1 ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5 ++$as_echo "$as_me: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&6;} ++ GETADDRINFO_LIB= ++ gai_saved_LIBS="$LIBS" ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 ++$as_echo_n "checking for library containing getaddrinfo... " >&6; } ++if test "${ac_cv_search_getaddrinfo+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#define _FILE_OFFSET_BITS 64 +-#include +- /* Check that off_t can represent 2**63 - 1 correctly. +- We can't simply define LARGE_OFF_T to be 9223372036854775807, +- since some C++ compilers masquerading as C compilers +- incorrectly reject 9223372036854775807. */ +-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 +- && LARGE_OFF_T % 2147483647 == 1) +- ? 1 : -1]; ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getaddrinfo (); + int + main () + { +- ++return getaddrinfo (); + ; + 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 +- ac_cv_sys_file_offset_bits=64; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getaddrinfo=$ac_res + fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- ac_cv_sys_file_offset_bits=unknown ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getaddrinfo+set}" = set; then : + break ++fi + done ++if test "${ac_cv_search_getaddrinfo+set}" = set; then : ++ ++else ++ ac_cv_search_getaddrinfo=no + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 +-$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +-case $ac_cv_sys_file_offset_bits in #( +- no | unknown) ;; +- *) +-cat >>confdefs.h <<_ACEOF +-#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +-_ACEOF +-;; +-esac +-rm -rf conftest* +- if test $ac_cv_sys_file_offset_bits = unknown; then +- { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 +-$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +-if test "${ac_cv_sys_large_files+set}" = set; then ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 ++$as_echo "$ac_cv_search_getaddrinfo" >&6; } ++ac_res=$ac_cv_search_getaddrinfo ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getaddrinfo" != "none required"; then ++ GETADDRINFO_LIB="$ac_cv_search_getaddrinfo" ++ fi ++fi ++ ++ LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5 ++$as_echo_n "checking for getaddrinfo... " >&6; } ++if test "${gl_cv_func_getaddrinfo+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ ++ + #include +- /* Check that off_t can represent 2**63 - 1 correctly. +- We can't simply define LARGE_OFF_T to be 9223372036854775807, +- since some C++ compilers masquerading as C compilers +- incorrectly reject 9223372036854775807. */ +-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 +- && LARGE_OFF_T % 2147483647 == 1) +- ? 1 : -1]; ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#include ++ + int + main () + { +- ++getaddrinfo("", "", NULL, NULL); + ; + 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 +- ac_cv_sys_large_files=no; break ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_getaddrinfo=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ++ gl_cv_func_getaddrinfo=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getaddrinfo" >&5 ++$as_echo "$gl_cv_func_getaddrinfo" >&6; } ++ if test $gl_cv_func_getaddrinfo = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5 ++$as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getaddrinfo+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ gl_cv_w32_getaddrinfo=no ++ am_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#define _LARGE_FILES 1 +-#include +- /* Check that off_t can represent 2**63 - 1 correctly. +- We can't simply define LARGE_OFF_T to be 9223372036854775807, +- since some C++ compilers masquerading as C compilers +- incorrectly reject 9223372036854775807. */ +-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 +- && LARGE_OFF_T % 2147483647 == 1) +- ? 1 : -1]; ++ ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++#include ++ + int + main () + { +- ++getaddrinfo(NULL, NULL, NULL, NULL); + ; + 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 +- ac_cv_sys_large_files=1; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getaddrinfo=yes + fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$am_save_LIBS" + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- ac_cv_sys_large_files=unknown +- break +-done +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 +-$as_echo "$ac_cv_sys_large_files" >&6; } +-case $ac_cv_sys_large_files in #( +- no | unknown) ;; +- *) +-cat >>confdefs.h <<_ACEOF +-#define _LARGE_FILES $ac_cv_sys_large_files +-_ACEOF +-;; +-esac +-rm -rf conftest* +- fi + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getaddrinfo" >&5 ++$as_echo "$gl_cv_w32_getaddrinfo" >&6; } ++ if test "$gl_cv_w32_getaddrinfo" = "yes"; then ++ GETADDRINFO_LIB="-lws2_32" ++ LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" ++ else + + +- gl_cv_c_multiarch=no +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#ifndef __APPLE_CC__ +- not a universal capable compiler +- #endif +- typedef int dummy; +- +-_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 + +- arch= +- prev= +- for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do +- if test -n "$prev"; then +- case $word in +- i?86 | x86_64 | ppc | ppc64) +- if test -z "$arch" || test "$arch" = "$word"; then +- arch="$word" +- else +- gl_cv_c_multiarch=yes +- fi +- ;; +- esac +- prev= +- else +- if test "x$word" = "x-arch"; then +- prev=arch +- fi +- fi +- done + +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + + +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- if test $gl_cv_c_multiarch = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define AA_APPLE_UNIVERSAL_BUILD 1 +-_ACEOF ++ gl_LIBOBJS="$gl_LIBOBJS getaddrinfo.$ac_objext" + +- APPLE_UNIVERSAL_BUILD=1 +- else +- APPLE_UNIVERSAL_BUILD=0 ++ fi + fi + +- +-{ $as_echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 +-$as_echo_n "checking for external symbol _system_configuration... " >&6; } +-if test "${gl_cv_var__system_configuration+set}" = set; then ++ # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an ++ # inline function declared in ws2tcpip.h, so we need to get that ++ # header included somehow. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gai_strerror (possibly via ws2tcpip.h)" >&5 ++$as_echo_n "checking for gai_strerror (possibly via ws2tcpip.h)... " >&6; } ++if test "${gl_cv_func_gai_strerror+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 ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++#include + + int + main () + { +-double x = _system_configuration.physmem; +- if (x > 0.0) return 0; ++gai_strerror (NULL); + ; + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_var__system_configuration=yes ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_gai_strerror=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_var__system_configuration=no ++ gl_cv_func_gai_strerror=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_var__system_configuration" >&5 +-$as_echo "$gl_cv_var__system_configuration" >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gai_strerror" >&5 ++$as_echo "$gl_cv_func_gai_strerror" >&6; } ++ if test $gl_cv_func_gai_strerror = no; then ++ + +- if test $gl_cv_var__system_configuration = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE__SYSTEM_CONFIGURATION 1 +-_ACEOF + +- fi + + + + ++ gl_LIBOBJS="$gl_LIBOBJS gai_strerror.$ac_objext" + ++ fi + ++ LIBS="$gai_saved_LIBS" + + + +@@ -12203,294 +9938,276 @@ + + + +- GNULIB_SELECT=0; +- REPLACE_SELECT=0; ++ ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include ++" ++if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then : ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_STRUCT_SOCKADDR_SA_LEN 1 ++_ACEOF + + ++fi + + + ++ : + + + + + +- { $as_echo "$as_me:$LINENO: checking whether is self-contained" >&5 +-$as_echo_n "checking whether is self-contained... " >&6; } +-if test "${gl_cv_header_sys_select_h_selfcontained+set}" = set; then +- $as_echo_n "(cached) " >&6 ++ ++ ac_fn_c_check_decl "$LINENO" "getaddrinfo" "ac_cv_have_decl_getaddrinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_getaddrinfo" = x""yes; then : ++ ac_have_decl=1 + else ++ ac_have_decl=0 ++fi + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-struct timeval b; +- ; +- return 0; +-} ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_GETADDRINFO $ac_have_decl + _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_sys_select_h_selfcontained=yes ++ac_fn_c_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_freeaddrinfo" = x""yes; then : ++ ac_have_decl=1 + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_FREEADDRINFO $ac_have_decl ++_ACEOF ++ac_fn_c_check_decl "$LINENO" "gai_strerror" "ac_cv_have_decl_gai_strerror" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif + +- gl_cv_header_sys_select_h_selfcontained=no ++" ++if test "x$ac_cv_have_decl_gai_strerror" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_GAI_STRERROR $ac_have_decl ++_ACEOF ++ac_fn_c_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" " ++ /* sys/types.h is not needed according to POSIX, but the ++ sys/socket.h in i386-unknown-freebsd4.10 and ++ powerpc-apple-darwin5.5 required it. */ ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif + ++" ++if test "x$ac_cv_have_decl_getnameinfo" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 + 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' + ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_GETNAMEINFO $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_getaddrinfo = no; then ++ HAVE_DECL_GETADDRINFO=0 ++ fi ++ if test $ac_cv_have_decl_freeaddrinfo = no; then ++ HAVE_DECL_FREEADDRINFO=0 ++ fi ++ if test $ac_cv_have_decl_gai_strerror = no; then ++ HAVE_DECL_GAI_STRERROR=0 ++ fi ++ if test $ac_cv_have_decl_getnameinfo = no; then ++ HAVE_DECL_GETNAMEINFO=0 ++ fi + ++ ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" " ++#include ++#ifdef HAVE_SYS_SOCKET_H ++#include ++#endif ++#ifdef HAVE_NETDB_H ++#include ++#endif ++#ifdef HAVE_WS2TCPIP_H ++#include ++#endif + ++" ++if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : + +- : ++cat >>confdefs.h <<_ACEOF ++#define HAVE_STRUCT_ADDRINFO 1 ++_ACEOF + + ++fi + ++ if test $ac_cv_type_struct_addrinfo = no; then ++ HAVE_STRUCT_ADDRINFO=0 ++ fi + ++ case " $GETADDRINFO_LIB " in ++ *" $HOSTENT_LIB "*) ;; ++ *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;; ++ esac + ++ case " $GETADDRINFO_LIB " in ++ *" $SERVENT_LIB "*) ;; ++ *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;; ++ esac + + +- if test $gl_cv_have_include_next = yes; then +- gl_cv_next_sys_select_h='<'sys/select.h'>' +- else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_select_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else + +- if test $ac_cv_header_sys_select_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include + +-_ACEOF +- case "$host_os" in +- aix*) gl_absname_cpp="$ac_cpp -C" ;; +- *) gl_absname_cpp="$ac_cpp" ;; +- esac +- gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/sys/select.h#{ +- s#.*"\(.*/sys/select.h\)".*#\1# +- s#^/[^/]#//&# +- p +- q +- }'`'"' +- else +- gl_cv_next_sys_select_h='<'sys/select.h'>' +- fi + +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_sys_select_h" >&5 +-$as_echo "$gl_cv_next_sys_select_h" >&6; } +- fi +- NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h + +- if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'sys/select.h'>' +- else +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_sys_select_h +- fi +- NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive ++ GNULIB_GETADDRINFO=1 + + + +- 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_socket_h != yes; then + +-for ac_header in winsock2.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include <$ac_header> ++ for ac_func in getdelim ++do : ++ ac_fn_c_check_func "$LINENO" "getdelim" "ac_cv_func_getdelim" ++if test "x$ac_cv_func_getdelim" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_GETDELIM 1 + _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 +- ac_header_compiler=yes ++ + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_compiler=no ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ + fi ++done + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_preproc=no +-fi ++ : + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } + +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ ++ ++ if test $ac_cv_func_getdelim = no; then ++ ++ for ac_func in flockfile funlockfile ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ if test $ac_cv_have_decl_getdelim = no; then ++ HAVE_DECL_GETDELIM=0 ++ fi ++ ++ ++ ++ GNULIB_GETDELIM=1 ++ ++ ++ ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_WINSOCK2_H 1 + _ACEOF + + fi +@@ -12507,545 +10224,149 @@ + fi + + +- fi +- + + +- { $as_echo "$as_me:$LINENO: checking whether snprintf is declared" >&5 +-$as_echo_n "checking whether snprintf is declared... " >&6; } +-if test "${ac_cv_have_decl_snprintf+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. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef snprintf +- (void) snprintf; +-#endif + +- ; +- 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 +- ac_cv_have_decl_snprintf=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_have_decl_snprintf=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5 +-$as_echo "$ac_cv_have_decl_snprintf" >&6; } +-if test "x$ac_cv_have_decl_snprintf" = x""yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_SNPRINTF 1 +-_ACEOF + + +-else ++ for ac_func in gethostname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" ++if test "x$ac_cv_func_gethostname" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_SNPRINTF 0 ++#define HAVE_GETHOSTNAME 1 + _ACEOF + ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + + fi ++done + + ++ if test $ac_cv_func_gethostname = no; then ++ HAVE_GETHOSTNAME=0 + +-{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 +-$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } +-if test "${ac_cv_header_stdbool_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ for ac_func in uname ++do : ++ ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" ++if test "x$ac_cv_func_uname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_UNAME 1 + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +- #include +- #ifndef bool +- "error: bool is not defined" +- #endif +- #ifndef false +- "error: false is not defined" +- #endif +- #if false +- "error: false is not 0" +- #endif +- #ifndef true +- "error: true is not defined" +- #endif +- #if true != 1 +- "error: true is not 1" +- #endif +- #ifndef __bool_true_false_are_defined +- "error: __bool_true_false_are_defined is not defined" +- #endif ++fi ++done + +- struct s { _Bool s: 1; _Bool t; } s; + +- char a[true == 1 ? 1 : -1]; +- char b[false == 0 ? 1 : -1]; +- char c[__bool_true_false_are_defined == 1 ? 1 : -1]; +- char d[(bool) 0.5 == true ? 1 : -1]; +- bool e = &s; +- char f[(_Bool) 0.0 == false ? 1 : -1]; +- char g[true]; +- char h[sizeof (_Bool)]; +- char i[sizeof s.t]; +- enum { j = false, k = true, l = false * true, m = true * 256 }; +- _Bool n[m]; +- char o[sizeof n == m * sizeof n[0] ? 1 : -1]; +- char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; +- #if defined __xlc__ || defined __GNUC__ +- /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 +- reported by James Lemley on 2005-10-05; see +- http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html +- This test is not quite right, since xlc is allowed to +- reject this program, as the initializer for xlcbug is +- not one of the forms that C requires support for. +- However, doing the test right would require a run-time +- test, and that would make cross-compilation harder. +- Let us hope that IBM fixes the xlc bug, and also adds +- support for this kind of constant expression. In the +- meantime, this test will reject xlc, which is OK, since +- our stdbool.h substitute should suffice. We also test +- this with GCC, where it should work, to detect more +- quickly whether someone messes up the test in the +- future. */ +- char digs[] = "0123456789"; +- int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); +- #endif +- /* Catch a bug in an HP-UX C compiler. See +- http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html +- http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html +- */ +- _Bool q = true; +- _Bool *pq = &q; ++ fi + +-int +-main () +-{ + +- *pq |= q; +- *pq |= ! q; +- /* Refer to every declared value, to avoid compiler optimizations. */ +- return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l +- + !m + !n + !o + !p + !q + !pq); + +- ; +- 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 +- ac_cv_header_stdbool_h=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ GNULIB_GETHOSTNAME=1 + +- ac_cv_header_stdbool_h=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 +-$as_echo "$ac_cv_header_stdbool_h" >&6; } +- { $as_echo "$as_me:$LINENO: checking for _Bool" >&5 +-$as_echo_n "checking for _Bool... " >&6; } +-if test "${ac_cv_type__Bool+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type__Bool=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-int +-main () +-{ +-if (sizeof (_Bool)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-int +-main () +-{ +-if (sizeof ((_Bool))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_type__Bool=yes +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + + +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 +-$as_echo "$ac_cv_type__Bool" >&6; } +-if test "x$ac_cv_type__Bool" = x""yes; then ++ : + +-cat >>confdefs.h <<_ACEOF +-#define HAVE__BOOL 1 +-_ACEOF + + +-fi + +- if test $ac_cv_header_stdbool_h = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_STDBOOL_H 1 +-_ACEOF + +- fi ++ gl_getline_needs_run_time_check=no ++ ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" ++if test "x$ac_cv_func_getline" = x""yes; then : ++ gl_getline_needs_run_time_check=yes ++else ++ am_cv_func_working_getline=no ++fi + +- { $as_echo "$as_me:$LINENO: checking for long long int" >&5 +-$as_echo_n "checking for long long int... " >&6; } +-if test "${ac_cv_type_long_long_int+set}" = set; then ++ if test $gl_getline_needs_run_time_check = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5 ++$as_echo_n "checking for working getline function... " >&6; } ++if test "${am_cv_func_working_getline+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 ++ echo fooN |tr -d '\012'|tr N '\012' > conftest.data ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-/* For now, do not test the preprocessor; as of 2007 there are too many +- implementations with broken preprocessors. Perhaps this can +- be revisited in 2012. In the meantime, code should not expect +- #if to work with literals wider than 32 bits. */ +- /* Test literals. */ +- long long int ll = 9223372036854775807ll; +- long long int nll = -9223372036854775807LL; +- unsigned long long int ull = 18446744073709551615ULL; +- /* Test constant expressions. */ +- typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) +- ? 1 : -1)]; +- typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 +- ? 1 : -1)]; +- int i = 63; +-int +-main () +-{ +-/* Test availability of runtime routines for shift and division. */ +- long long int llmax = 9223372036854775807ll; +- unsigned long long int ullmax = 18446744073709551615ull; +- return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) +- | (llmax / ll) | (llmax % ll) +- | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) +- | (ullmax / ull) | (ullmax % ull)); +- ; +- return 0; +-} ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ >= 2) ++ Lucky GNU user ++ #endif ++#endif + + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- if test "$cross_compiling" = yes; then +- ac_cv_type_long_long_int=yes +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- #ifndef LLONG_MAX +- # define HALF \ +- (1LL << (sizeof (long long int) * CHAR_BIT - 2)) +- # define LLONG_MAX (HALF - 1 + HALF) +- #endif +-int +-main () +-{ +-long long int n = 1; +- int i; +- for (i = 0; ; i++) +- { +- long long int m = n << i; +- if (m >> i != n) +- return 1; +- if (LLONG_MAX / 2 < m) +- break; +- } +- return 0; +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_type_long_long_int=yes ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky GNU user" >/dev/null 2>&1; then : ++ am_cv_func_working_getline=yes + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-ac_cv_type_long_long_int=no +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++ am_cv_func_working_getline=no + fi ++rm -f conftest* + + + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + +- ac_cv_type_long_long_int=no +-fi ++# include ++# include ++# include ++ int main () ++ { /* Based on a test program from Karl Heuer. */ ++ char *line = NULL; ++ size_t siz = 0; ++ int len; ++ FILE *in = fopen ("./conftest.data", "r"); ++ if (!in) ++ return 1; ++ len = getline (&line, &siz, in); ++ exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); ++ } + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ am_cv_func_working_getline=yes ++else ++ am_cv_func_working_getline=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 +-$as_echo "$ac_cv_type_long_long_int" >&6; } +- if test $ac_cv_type_long_long_int = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_LONG_LONG_INT 1 +-_ACEOF ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5 ++$as_echo "$am_cv_func_working_getline" >&6; } ++ fi + ++ if test $ac_cv_have_decl_getline = no; then ++ HAVE_DECL_GETLINE=0 + fi + ++ if test $am_cv_func_working_getline = no; then ++ REPLACE_GETLINE=1 + +- { $as_echo "$as_me:$LINENO: checking for unsigned long long int" >&5 +-$as_echo_n "checking for unsigned long long int... " >&6; } +-if test "${ac_cv_type_unsigned_long_long_int+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. */ +-/* For now, do not test the preprocessor; as of 2007 there are too many +- implementations with broken preprocessors. Perhaps this can +- be revisited in 2012. In the meantime, code should not expect +- #if to work with literals wider than 32 bits. */ +- /* Test literals. */ +- long long int ll = 9223372036854775807ll; +- long long int nll = -9223372036854775807LL; +- unsigned long long int ull = 18446744073709551615ULL; +- /* Test constant expressions. */ +- typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) +- ? 1 : -1)]; +- typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 +- ? 1 : -1)]; +- int i = 63; +-int +-main () +-{ +-/* Test availability of runtime routines for shift and division. */ +- long long int llmax = 9223372036854775807ll; +- unsigned long long int ullmax = 18446744073709551615ull; +- return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) +- | (llmax / ll) | (llmax % ll) +- | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) +- | (ullmax / ull) | (ullmax % ull)); +- ; +- return 0; +-} + +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_type_unsigned_long_long_int=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_type_unsigned_long_long_int=no +-fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5 +-$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } +- if test $ac_cv_type_unsigned_long_long_int = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_UNSIGNED_LONG_LONG_INT 1 +-_ACEOF + +- fi + ++ gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" + + + +@@ -13062,727 +10383,247 @@ + + + ++ for ac_func in getdelim ++do : ++ ac_fn_c_check_func "$LINENO" "getdelim" "ac_cv_func_getdelim" ++if test "x$ac_cv_func_getdelim" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_GETDELIM 1 ++_ACEOF + ++else + ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + ++fi ++done + + + ++ : + + + +- { $as_echo "$as_me:$LINENO: checking whether strdup is declared" >&5 +-$as_echo_n "checking whether strdup is declared... " >&6; } +-if test "${ac_cv_have_decl_strdup+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. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef strdup +- (void) strdup; +-#endif + +- ; +- return 0; +-} ++ ++ ++ if test $ac_cv_func_getdelim = no; then ++ ++ for ac_func in flockfile funlockfile ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 + _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 +- ac_cv_have_decl_strdup=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_have_decl_strdup=no + fi ++done + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strdup" >&5 +-$as_echo "$ac_cv_have_decl_strdup" >&6; } +-if test "x$ac_cv_have_decl_strdup" = x""yes; then + + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_STRDUP 1 ++#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl + _ACEOF + + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_STRDUP 0 +-_ACEOF ++ fi + ++ if test $ac_cv_have_decl_getdelim = no; then ++ HAVE_DECL_GETDELIM=0 ++ fi + +-fi + ++ fi + + + ++ GNULIB_GETLINE=1 + + +- if test -z "$ERRNO_H"; then +- { $as_echo "$as_me:$LINENO: checking for working strerror function" >&5 +-$as_echo_n "checking for working strerror function... " >&6; } +-if test "${gl_cv_func_working_strerror+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- if test "$cross_compiling" = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ ++ ++ for ac_func in getpagesize ++do : ++ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" ++if test "x$ac_cv_func_getpagesize" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_GETPAGESIZE 1 + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include + +-int +-main () +-{ +-return !*strerror (-2); +- ; +- return 0; +-} ++fi ++done ++ ++ if test $ac_cv_func_getpagesize = no; then ++ HAVE_GETPAGESIZE=0 ++ for ac_header in OS.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" ++if test "x$ac_cv_header_OS_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_OS_H 1 + _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_func_working_strerror=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- gl_cv_func_working_strerror=no + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done + +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ if test $ac_cv_header_OS_h = yes; then ++ HAVE_OS_H=1 ++ fi ++ for ac_header in sys/param.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_param_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_SYS_PARAM_H 1 + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include + +-int +-main () +-{ +-return !*strerror (-2); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_func_working_strerror=yes +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-gl_cv_func_working_strerror=no + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- + ++done + +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_working_strerror" >&5 +-$as_echo "$gl_cv_func_working_strerror" >&6; } +- if test $gl_cv_func_working_strerror = no; then +- REPLACE_STRERROR=1 ++ if test $ac_cv_header_sys_param_h = yes; then ++ HAVE_SYS_PARAM_H=1 + fi +- else +- REPLACE_STRERROR=1 + fi +- if test $REPLACE_STRERROR = 1; then +- +- { $as_echo "$as_me:$LINENO: checking whether strerror is declared" >&5 +-$as_echo_n "checking whether strerror is declared... " >&6; } +-if test "${ac_cv_have_decl_strerror+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. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef strerror +- (void) strerror; +-#endif +- +- ; +- 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 +- ac_cv_have_decl_strerror=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ case "$host_os" in ++ mingw*) ++ REPLACE_GETPAGESIZE=1 + +- ac_cv_have_decl_strerror=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5 +-$as_echo "$ac_cv_have_decl_strerror" >&6; } +-if test "x$ac_cv_have_decl_strerror" = x""yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_STRERROR 1 +-_ACEOF + + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_STRERROR 0 +-_ACEOF + + +-fi + ++ gl_LIBOBJS="$gl_LIBOBJS getpagesize.$ac_objext" + ++ ;; ++ esac + +- : + + ++ GNULIB_GETPAGESIZE=1 + + + +- if test $ac_cv_header_sys_socket_h != yes; then + +-for ac_header in winsock2.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_compiler=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_preproc=no +-fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++ for ac_func in getpass ++do : ++ ac_fn_c_check_func "$LINENO" "getpass" "ac_cv_func_getpass" ++if test "x$ac_cv_func_getpass" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_GETPASS 1 ++_ACEOF + +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } + +-fi +-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 ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + + fi +- + done + +- fi +- +- fi +- +- + + ++ : + + + + + ++ if test $ac_cv_func_getpass = no; then + + ++ : + + + +- : + + + + + + ++ : + +- if test $gl_cv_have_include_next = yes; then +- gl_cv_next_string_h='<'string.h'>' +- else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_string_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else + +- if test $ac_cv_header_string_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include + +-_ACEOF +- case "$host_os" in +- aix*) gl_absname_cpp="$ac_cpp -C" ;; +- *) gl_absname_cpp="$ac_cpp" ;; +- esac +- gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/string.h#{ +- s#.*"\(.*/string.h\)".*#\1# +- s#^/[^/]#//&# +- p +- q +- }'`'"' +- else +- gl_cv_next_string_h='<'string.h'>' +- fi + +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_string_h" >&5 +-$as_echo "$gl_cv_next_string_h" >&6; } +- fi +- NEXT_STRING_H=$gl_cv_next_string_h + +- if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'string.h'>' +- else +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_string_h +- fi +- NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive + + + + + +- { $as_echo "$as_me:$LINENO: checking whether strndup is declared" >&5 +-$as_echo_n "checking whether strndup is declared... " >&6; } +-if test "${ac_cv_have_decl_strndup+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. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef strndup +- (void) strndup; +-#endif + +- ; +- 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 +- ac_cv_have_decl_strndup=yes ++ ac_fn_c_check_decl "$LINENO" "__fsetlocking" "ac_cv_have_decl___fsetlocking" "#include ++ #if HAVE_STDIO_EXT_H ++ #include ++ #endif ++" ++if test "x$ac_cv_have_decl___fsetlocking" = x""yes; then : ++ ac_have_decl=1 + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_strndup=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_have_decl=0 + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strndup" >&5 +-$as_echo "$ac_cv_have_decl_strndup" >&6; } +-if test "x$ac_cv_have_decl_strndup" = x""yes; then + + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_STRNDUP 1 +-_ACEOF +- +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_STRNDUP 0 ++#define HAVE_DECL___FSETLOCKING $ac_have_decl + _ACEOF + + +-fi +- +- +- ++ : + +- { $as_echo "$as_me:$LINENO: checking whether strnlen is declared" >&5 +-$as_echo_n "checking whether strnlen is declared... " >&6; } +-if test "${ac_cv_have_decl_strnlen+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. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef strnlen +- (void) strnlen; +-#endif + +- ; +- 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 +- ac_cv_have_decl_strnlen=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_have_decl_strnlen=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strnlen" >&5 +-$as_echo "$ac_cv_have_decl_strnlen" >&6; } +-if test "x$ac_cv_have_decl_strnlen" = x""yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_STRNLEN 1 +-_ACEOF + ++ : + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_STRNLEN 0 +-_ACEOF + + +-fi + + + +-{ $as_echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 +-$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } +-if test "${ac_cv_header_stat_broken+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 +-#include ++ : + +-#if defined S_ISBLK && defined S_IFDIR +-extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; +-#endif + +-#if defined S_ISBLK && defined S_IFCHR +-extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; +-#endif + +-#if defined S_ISLNK && defined S_IFREG +-extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; +-#endif + +-#if defined S_ISSOCK && defined S_IFREG +-extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; +-#endif + +-_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 +- ac_cv_header_stat_broken=no +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_header_stat_broken=yes +-fi ++ : + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5 +-$as_echo "$ac_cv_header_stat_broken" >&6; } +-if test $ac_cv_header_stat_broken = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define STAT_MACROS_BROKEN 1 +-_ACEOF + +-fi + + + ++ : + + + + + +- REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; +- REPLACE_NANOSLEEP=GNULIB_PORTCHECK; +- REPLACE_STRPTIME=GNULIB_PORTCHECK; +- REPLACE_TIMEGM=GNULIB_PORTCHECK; ++ : + ++ fi + + + +@@ -13797,194 +10638,143 @@ + + + +- { $as_echo "$as_me:$LINENO: checking for struct timespec in " >&5 +-$as_echo_n "checking for struct timespec in ... " >&6; } +-if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5 ++$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; } ++if test "${gl_cv_func_gettimeofday_posix_signature+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++#include ++ struct timeval c; + + int + main () + { +-static struct timespec x; x.tv_sec = x.tv_nsec; ++ ++ int (*f) (struct timeval *restrict, void *restrict) = gettimeofday; ++ int x = f (&c, 0); ++ return !(x | c.tv_sec | c.tv_usec); ++ + ; + 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 +- gl_cv_sys_struct_timespec_in_time_h=yes ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_gettimeofday_posix_signature=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_sys_struct_timespec_in_time_h=no ++ gl_cv_func_gettimeofday_posix_signature=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 +-$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5 ++$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; } + +- TIME_H_DEFINES_STRUCT_TIMESPEC=0 +- SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 +- if test $gl_cv_sys_struct_timespec_in_time_h = yes; then +- TIME_H_DEFINES_STRUCT_TIMESPEC=1 +- else +- { $as_echo "$as_me:$LINENO: checking for struct timespec in " >&5 +-$as_echo_n "checking for struct timespec in ... " >&6; } +-if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5 ++$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; } ++if test "${gl_cv_func_gettimeofday_clobber+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 ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_gettimeofday_clobber=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++#include ++ #include ++ #include ++ #include + + int + main () + { +-static struct timespec x; x.tv_sec = x.tv_nsec; ++ ++ time_t t = 0; ++ struct tm *lt; ++ struct tm saved_lt; ++ struct timeval tv; ++ lt = localtime (&t); ++ saved_lt = *lt; ++ gettimeofday (&tv, NULL); ++ return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ++ + ; + 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 +- gl_cv_sys_struct_timespec_in_sys_time_h=yes ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_gettimeofday_clobber=no + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_sys_struct_timespec_in_sys_time_h=no ++ gl_cv_func_gettimeofday_clobber=yes + fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 +-$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } +- if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then +- SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 +- fi +- fi +- +- +- + ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5 ++$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; } + ++ if test $gl_cv_func_gettimeofday_clobber = yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ SYS_TIME_H=sys/time.h + + + + + +- : + + + + ++ gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext" + + ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_SYS_TIMEB_H 1 ++_ACEOF + +- if test $gl_cv_have_include_next = yes; then +- gl_cv_next_time_h='<'time.h'>' +- else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_time_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else ++fi + +- if test $ac_cv_header_time_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include ++done + ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE__FTIME 1 + _ACEOF +- case "$host_os" in +- aix*) gl_absname_cpp="$ac_cpp -C" ;; +- *) gl_absname_cpp="$ac_cpp" ;; +- esac +- gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/time.h#{ +- s#.*"\(.*/time.h\)".*#\1# +- s#^/[^/]#//&# +- p +- q +- }'`'"' +- else +- gl_cv_next_time_h='<'time.h'>' +- fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_time_h" >&5 +-$as_echo "$gl_cv_next_time_h" >&6; } +- fi +- NEXT_TIME_H=$gl_cv_next_time_h ++done + +- if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'time.h'>' +- else +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_time_h +- fi +- NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive + + ++$as_echo "#define gmtime rpl_gmtime" >>confdefs.h + + ++$as_echo "#define localtime rpl_localtime" >>confdefs.h + + + ++$as_echo "#define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h + ++ fi + + ++ if test $gl_cv_func_gettimeofday_posix_signature != yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ SYS_TIME_H=sys/time.h ++ if test $gl_cv_func_gettimeofday_clobber != yes; then + + + +@@ -13993,427 +10783,268 @@ + + + +- { $as_echo "$as_me:$LINENO: checking for wchar_t" >&5 +-$as_echo_n "checking for wchar_t... " >&6; } +-if test "${gt_cv_c_wchar_t+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 +- wchar_t foo = (wchar_t)'\0'; +-int +-main () +-{ ++ gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext" + +- ; +- return 0; +-} ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_SYS_TIMEB_H 1 + _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 +- gt_cv_c_wchar_t=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- gt_cv_c_wchar_t=no + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5 +-$as_echo "$gt_cv_c_wchar_t" >&6; } +- if test $gt_cv_c_wchar_t = yes; then ++done + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_WCHAR_T 1 ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE__FTIME 1 + _ACEOF + ++fi ++done ++ ++ ++ fi + fi + ++ # Autoconf 2.61a.99 and earlier don't support linking a file only ++ # in VPATH builds. But since GNUmakefile is for maintainer use ++ # only, it does not matter if we skip the link with older autoconf. ++ # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH ++ # builds, so use a shell variable to bypass this. ++ GNUmakefile=GNUmakefile ++ ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" ++ + +- { $as_echo "$as_me:$LINENO: checking for wint_t" >&5 +-$as_echo_n "checking for wint_t... " >&6; } +-if test "${gt_cv_c_wint_t+set}" = set; then ++ HOSTENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 ++$as_echo_n "checking for library containing gethostbyname... " >&6; } ++if test "${ac_cv_search_gethostbyname+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 ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +- wint_t foo = (wchar_t)'\0'; ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gethostbyname (); + int + main () + { +- ++return gethostbyname (); + ; + 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 +- gt_cv_c_wint_t=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gt_cv_c_wint_t=no ++for ac_lib in '' nsl network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_gethostbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ break + fi ++done ++if test "${ac_cv_search_gethostbyname+set}" = set; then : + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ ac_cv_search_gethostbyname=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 ++$as_echo "$ac_cv_search_gethostbyname" >&6; } ++ac_res=$ac_cv_search_gethostbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_gethostbyname" != "none required"; then ++ HOSTENT_LIB="$ac_cv_search_gethostbyname" ++ fi + fi +-{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5 +-$as_echo "$gt_cv_c_wint_t" >&6; } +- if test $gt_cv_c_wint_t = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_WINT_T 1 ++ LIBS="$gl_saved_libs" ++ if test -z "$HOSTENT_LIB"; then ++ for ac_func in gethostbyname ++do : ++ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" ++if test "x$ac_cv_func_gethostbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_GETHOSTBYNAME 1 + _ACEOF + +- fi ++else + +-{ $as_echo "$as_me:$LINENO: checking for size_t" >&5 +-$as_echo_n "checking for size_t... " >&6; } +-if test "${ac_cv_type_size_t+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_gethostbyname+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- ac_cv_type_size_t=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-int +-main () +-{ +-if (sizeof (size_t)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ gl_cv_w32_gethostbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif ++#include ++ + int + main () + { +-if (sizeof ((size_t))) +- return 0; ++gethostbyname(NULL); + ; + 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_size_t=yes ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_gethostbyname=yes + fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" + + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 ++$as_echo "$gl_cv_w32_gethostbyname" >&6; } ++ if test "$gl_cv_w32_gethostbyname" = "yes"; then ++ HOSTENT_LIB="-lws2_32" ++ fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 +-$as_echo "$ac_cv_type_size_t" >&6; } +-if test "x$ac_cv_type_size_t" = x""yes; then +- : +-else ++done + +-cat >>confdefs.h <<_ACEOF +-#define size_t unsigned int +-_ACEOF ++ fi + +-fi + + +- { $as_echo "$as_me:$LINENO: checking for inttypes.h" >&5 +-$as_echo_n "checking for inttypes.h... " >&6; } +-if test "${gl_cv_header_inttypes_h+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 +-#include +-int +-main () +-{ +-uintmax_t i = (uintmax_t) -1; return !i; +- ; +- 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 +- gl_cv_header_inttypes_h=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- gl_cv_header_inttypes_h=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5 +-$as_echo "$gl_cv_header_inttypes_h" >&6; } +- if test $gl_cv_header_inttypes_h = yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_INTTYPES_H_WITH_UINTMAX 1 +-_ACEOF + +- fi ++ ARPA_INET_H='arpa/inet.h' + + +- { $as_echo "$as_me:$LINENO: checking for stdint.h" >&5 +-$as_echo_n "checking for stdint.h... " >&6; } +-if test "${gl_cv_header_stdint_h+set}" = set; then ++ gl_save_LIBS=$LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 ++$as_echo_n "checking for library containing inet_ntop... " >&6; } ++if test "${ac_cv_search_inet_ntop+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 ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +-#include ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char inet_ntop (); + int + main () + { +-uintmax_t i = (uintmax_t) -1; return !i; ++return inet_ntop (); + ; + 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 +- gl_cv_header_stdint_h=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_header_stdint_h=no ++for ac_lib in '' nsl; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_inet_ntop=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_inet_ntop+set}" = set; then : ++ break + fi ++done ++if test "${ac_cv_search_inet_ntop+set}" = set; then : + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ ac_cv_search_inet_ntop=no + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5 +-$as_echo "$gl_cv_header_stdint_h" >&6; } +- if test $gl_cv_header_stdint_h = yes; then ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 ++$as_echo "$ac_cv_search_inet_ntop" >&6; } ++ac_res=$ac_cv_search_inet_ntop ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_STDINT_H_WITH_UINTMAX 1 +-_ACEOF ++else + +- fi + + + + +- { $as_echo "$as_me:$LINENO: checking for intmax_t" >&5 +-$as_echo_n "checking for intmax_t... " >&6; } +-if test "${gt_cv_c_intmax_t+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 +-#include +-#if HAVE_STDINT_H_WITH_UINTMAX +-#include +-#endif +-#if HAVE_INTTYPES_H_WITH_UINTMAX +-#include +-#endif + +-int +-main () +-{ +-intmax_t x = -1; return !x; +- ; +- return 0; +-} ++ ++ for ac_func in inet_ntop ++do : ++ ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" ++if test "x$ac_cv_func_inet_ntop" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_INET_NTOP 1 + _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 +- gt_cv_c_intmax_t=yes ++ + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- gt_cv_c_intmax_t=no ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ + fi ++done ++ + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5 +-$as_echo "$gt_cv_c_intmax_t" >&6; } +- if test $gt_cv_c_intmax_t = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_INTMAX_T 1 +-_ACEOF ++ LIBS=$gl_save_LIBS + +- else + +- test $ac_cv_type_long_long_int = yes \ +- && ac_type='long long' \ +- || ac_type='long' ++ ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include ++" ++if test "x$ac_cv_have_decl_inet_ntop" = x""yes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi + + cat >>confdefs.h <<_ACEOF +-#define intmax_t $ac_type ++#define HAVE_DECL_INET_NTOP $ac_have_decl + _ACEOF + ++ if test $ac_cv_have_decl_inet_ntop = no; then ++ HAVE_DECL_INET_NTOP=0 + fi + + +@@ -14421,329 +11052,144 @@ + + + ++ GNULIB_INET_NTOP=1 + + + + + + +-for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func ++ ARPA_INET_H='arpa/inet.h' + +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ + +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif + +-#undef $ac_func + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif + +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- eval "$as_ac_var=no" +-fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ ++ ++ ++ for ac_func in inet_pton ++do : ++ ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" ++if test "x$ac_cv_func_inet_pton" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_INET_PTON 1 + _ACEOF + ++else ++ ++ gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" ++ + fi + done + +- { $as_echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5 +-$as_echo_n "checking whether _snprintf is declared... " >&6; } +-if test "${ac_cv_have_decl__snprintf+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 + +-int +-main () +-{ +-#ifndef _snprintf +- (void) _snprintf; +-#endif + +- ; +- 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 +- ac_cv_have_decl__snprintf=yes ++ ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include ++" ++if test "x$ac_cv_have_decl_inet_pton" = x""yes; then : ++ ac_have_decl=1 + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl__snprintf=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_have_decl=0 + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5 +-$as_echo "$ac_cv_have_decl__snprintf" >&6; } +-if test "x$ac_cv_have_decl__snprintf" = x""yes; then + + cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL__SNPRINTF 1 ++#define HAVE_DECL_INET_PTON $ac_have_decl + _ACEOF + +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL__SNPRINTF 0 +-_ACEOF ++ if test $ac_cv_have_decl_inet_pton = no; then ++ HAVE_DECL_INET_PTON=0 ++ fi + + +-fi + + + + +- XGETTEXT_EXTRA_OPTIONS= ++ GNULIB_INET_PTON=1 + + +- GNULIB_BTOWC=0; +- GNULIB_WCTOB=0; +- GNULIB_MBSINIT=0; +- GNULIB_MBRTOWC=0; +- GNULIB_MBRLEN=0; +- GNULIB_MBSRTOWCS=0; +- GNULIB_MBSNRTOWCS=0; +- GNULIB_WCRTOMB=0; +- GNULIB_WCSRTOMBS=0; +- GNULIB_WCSNRTOMBS=0; +- GNULIB_WCWIDTH=0; +- HAVE_BTOWC=1; +- HAVE_MBSINIT=1; +- HAVE_MBRTOWC=1; +- HAVE_MBRLEN=1; +- HAVE_MBSRTOWCS=1; +- HAVE_MBSNRTOWCS=1; +- HAVE_WCRTOMB=1; +- HAVE_WCSRTOMBS=1; +- HAVE_WCSNRTOMBS=1; +- HAVE_DECL_WCTOB=1; +- HAVE_DECL_WCWIDTH=1; +- REPLACE_MBSTATE_T=0; +- REPLACE_BTOWC=0; +- REPLACE_WCTOB=0; +- REPLACE_MBSINIT=0; +- REPLACE_MBRTOWC=0; +- REPLACE_MBRLEN=0; +- REPLACE_MBSRTOWCS=0; +- REPLACE_MBSNRTOWCS=0; +- REPLACE_WCRTOMB=0; +- REPLACE_WCSRTOMBS=0; +- REPLACE_WCSNRTOMBS=0; +- REPLACE_WCWIDTH=0; +- WCHAR_H=''; ++ if test "$ac_cv_header_winsock2_h" = yes; then + + + + +- { $as_echo "$as_me:$LINENO: checking whether ungetc works on arbitrary bytes" >&5 +-$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } +-if test "${gl_cv_func_ungetc_works+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- if test "$cross_compiling" = yes; then +- gl_cv_func_ungetc_works='guessing no' +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#include + +-int +-main () +-{ +-FILE *f; long l; +- if (!(f = fopen ("conftest.tmp", "w+"))) return 1; +- if (fputs ("abc", f) < 0) return 2; +- rewind (f); +- if (fgetc (f) != 'a') return 3; +- if (fgetc (f) != 'b') return 4; +- if (ungetc ('d', f) != 'd') return 5; +- if (ftell (f) != 1) return 6; +- if (fgetc (f) != 'd') return 7; +- if (ftell (f) != 2) return 8; +- if (fseek (f, 0, SEEK_CUR) != 0) return 9; +- if (ftell (f) != 2) return 10; +- if (fgetc (f) != 'c') return 11; +- fclose (f); remove ("conftest.tmp"); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_func_ungetc_works=yes +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +-( exit $ac_status ) +-gl_cv_func_ungetc_works=no +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi + ++ gl_LIBOBJS="$gl_LIBOBJS ioctl.$ac_objext" + + +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_ungetc_works" >&5 +-$as_echo "$gl_cv_func_ungetc_works" >&6; } +- if test "$gl_cv_func_ungetc_works" != yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define FUNC_UNGETC_BROKEN 1 +-_ACEOF ++ SYS_IOCTL_H='sys/ioctl.h' + + fi + + ++ GNULIB_IOCTL=1 ++ + + ++$as_echo "#define GNULIB_IOCTL 1" >>confdefs.h + + + + +- if true; then +- GL_COND_LIBTOOL_TRUE= +- GL_COND_LIBTOOL_FALSE='#' ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 ++$as_echo_n "checking whether lseek detects pipes... " >&6; } ++if test "${gl_cv_func_lseek_pipe+set}" = set; then : ++ $as_echo_n "(cached) " >&6 + else +- GL_COND_LIBTOOL_TRUE='#' +- GL_COND_LIBTOOL_FALSE= +-fi ++ if test $cross_compiling = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + +- gl_cond_libtool=true ++#include /* for off_t */ ++#include /* for SEEK_CUR */ ++#include ++int main () ++{ ++ /* Exit with success only if stdin is seekable. */ ++ return lseek (0, (off_t)0, SEEK_CUR) < 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext < conftest.$ac_ext \ ++ && { echo hi | ./conftest$ac_exeext; test $? = 1; }; then ++ gl_cv_func_lseek_pipe=yes ++ else ++ gl_cv_func_lseek_pipe=no ++ fi ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + ++#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__ ++/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */ ++ Choke me. ++#endif ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_lseek_pipe=yes ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5 ++$as_echo "$gl_cv_func_lseek_pipe" >&6; } ++ if test $gl_cv_func_lseek_pipe = no; then + + + +@@ -14752,377 +11198,211 @@ + + + +- gl_source_base='gnulib/lib' +-LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'` + ++ gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext" + + ++ REPLACE_LSEEK=1 + ++$as_echo "#define LSEEK_PIPE_BROKEN 1" >>confdefs.h + + +- if test $ac_cv_func_alloca_works = no; then +- : + fi + +- # Define an additional variable used in the Makefile substitution. +- if test $ac_cv_working_alloca_h = yes; then +- { $as_echo "$as_me:$LINENO: checking for alloca as a compiler built-in" >&5 +-$as_echo_n "checking for alloca as a compiler built-in... " >&6; } +-if test "${gl_cv_rpl_alloca+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. */ + +-#if defined __GNUC__ || defined _AIX || defined _MSC_VER +- Need own alloca +-#endif ++ GNULIB_LSEEK=1 + +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "Need own alloca" >/dev/null 2>&1; then +- gl_cv_rpl_alloca=yes +-else +- gl_cv_rpl_alloca=no +-fi +-rm -f conftest* + + +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_rpl_alloca" >&5 +-$as_echo "$gl_cv_rpl_alloca" >&6; } +- if test $gl_cv_rpl_alloca = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_ALLOCA 1 ++ : ++ ++ ++ ++ ++ ++ if test $ac_cv_func_lstat = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 ++$as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; } ++if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -f conftest.sym conftest.file ++echo >conftest.file ++if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++struct stat sbuf; ++ /* Linux will dereference the symlink and fail. ++ That is better in the sense that it means we will not ++ have to compile and use the lstat wrapper. */ ++ return lstat ("conftest.sym/", &sbuf) == 0; ++ ; ++ return 0; ++} + _ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_lstat_dereferences_slashed_symlink=yes ++else ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi + +- ALLOCA_H=alloca.h +- else +- ALLOCA_H= +- fi +- else +- ALLOCA_H=alloca.h +- fi ++else ++ # If the `ln -s' command failed, then we probably don't even ++ # have an lstat function. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++fi ++rm -f conftest.sym conftest.file + ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 ++$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } + ++test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && + ++cat >>confdefs.h <<_ACEOF ++#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 ++_ACEOF + + ++if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then + +- : + + + + + +- 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 + + ++ gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext" + ++fi + ++ if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ REPLACE_LSTAT=1 ++ fi ++ # Prerequisites of lib/lstat.c. + +- : ++ fi + + + ++ GNULIB_LSTAT=1 + + + ++ if test $gl_cv_func_malloc_posix = yes; then ++ HAVE_MALLOC_POSIX=1 + +- if test $gl_cv_have_include_next = yes; then +- gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' +- else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_arpa_inet_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else ++$as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h + +- if test $ac_cv_header_arpa_inet_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include ++ else + +-_ACEOF +- case "$host_os" in +- aix*) gl_absname_cpp="$ac_cpp -C" ;; +- *) gl_absname_cpp="$ac_cpp" ;; +- esac +- gl_cv_next_arpa_inet_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/arpa/inet.h#{ +- s#.*"\(.*/arpa/inet.h\)".*#\1# +- s#^/[^/]#//&# +- p +- q +- }'`'"' +- else +- gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' +- fi + +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_arpa_inet_h" >&5 +-$as_echo "$gl_cv_next_arpa_inet_h" >&6; } +- fi +- NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h + +- if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'arpa/inet.h'>' +- else +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_arpa_inet_h +- fi +- NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive + + + + +- { $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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done +-IFS=$as_save_IFS + +-fi ++ gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" + +- if test "${ac_cv_path_mkdir+set}" = set; then +- MKDIR_P="$ac_cv_path_mkdir -p" +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for MKDIR_P within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- test -d ./--version && rmdir ./--version +- MKDIR_P="$ac_install_sh -d" ++ HAVE_MALLOC_POSIX=0 + fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +-$as_echo "$MKDIR_P" >&6; } + + + + ++ GNULIB_MALLOC_POSIX=1 + + + +- : + ++ GNULIB_MEMCHR=1 + + + + +- if test $ac_cv_header_sys_socket_h != yes; then + +-for ac_header in winsock2.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5 ++$as_echo_n "checking for working mkstemp... " >&6; } ++if test "${gl_cv_func_working_mkstemp+set}" = set; then : + $as_echo_n "(cached) " >&6 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ mkdir conftest.mkstemp ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_working_mkstemp=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include <$ac_header> ++$ac_includes_default ++int ++main () ++{ ++int i; ++ off_t large = (off_t) 4294967295u; ++ if (large < 0) ++ large = 2147483647; ++ for (i = 0; i < 70; i++) ++ { ++ char templ[] = "conftest.mkstemp/coXXXXXX"; ++ int (*mkstemp_function) (char *) = mkstemp; ++ int fd = mkstemp_function (templ); ++ if (fd < 0 || lseek (fd, large, SEEK_SET) != large) ++ return 1; ++ close (fd); ++ } ++ return 0; ++ ; ++ return 0; ++} + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_mkstemp=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no ++ gl_cv_func_working_mkstemp=no + fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam 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; } + +-fi +-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 ++ rm -rf conftest.mkstemp + + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5 ++$as_echo "$gl_cv_func_working_mkstemp" >&6; } + +-done +- +- fi +- if test "$ac_cv_header_winsock2_h" = yes; then +- HAVE_WINSOCK2_H=1 +- UNISTD_H_HAVE_WINSOCK2_H=1 +- SYS_IOCTL_H_HAVE_WINSOCK2_H=1 +- else +- HAVE_WINSOCK2_H=0 +- fi +- +- +- if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then ++ if test $gl_cv_func_working_mkstemp != yes; then ++ REPLACE_MKSTEMP=1 + + +- if test $REPLACE_CLOSE != 1; then + + + + + + ++ gl_LIBOBJS="$gl_LIBOBJS mkstemp.$ac_objext" + + +- gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext" + + fi +- REPLACE_CLOSE=1 + + +- if test $REPLACE_FCLOSE != 1; then + ++ GNULIB_MKSTEMP=1 + + + +@@ -15130,50 +11410,137 @@ + + + +- gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext" + +- fi +- REPLACE_FCLOSE=1 ++ : + + +- fi + + + + +- GNULIB_CLOSE=1 + ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netdb_h+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else + +- if test "$ac_cv_header_winsock2_h" = yes; then ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include + ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netdb.h#{ ++ s#.*"\(.*/netdb.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_netdb_h='<'netdb.h'>' ++ fi + ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 ++$as_echo "$gl_cv_next_netdb_h" >&6; } ++ fi ++ NEXT_NETDB_H=$gl_cv_next_netdb_h + ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'netdb.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_netdb_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive + + + ++ if test $ac_cv_header_netdb_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + ++ #include ++ struct addrinfo a; ++ int b = EAI_OVERFLOW; ++ int c = AI_NUMERICSERV; + +- gl_LIBOBJS="$gl_LIBOBJS connect.$ac_objext" ++int ++main () ++{ + ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ NETDB_H='' ++else ++ NETDB_H='netdb.h' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ HAVE_NETDB_H=1 ++ else ++ NETDB_H='netdb.h' ++ HAVE_NETDB_H=0 + fi + + +- GNULIB_CONNECT=1 +- +- + + ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_netinet_in_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else + ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ + +- GNULIB_FCLOSE=1 ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_netinet_in_h_selfcontained=yes ++else ++ gl_cv_header_netinet_in_h_selfcontained=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 ++$as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; } ++ if test $gl_cv_header_netinet_in_h_selfcontained = yes; then ++ NETINET_IN_H='' ++ else ++ NETINET_IN_H='netinet/in.h' ++ for ac_header in netinet/in.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" ++if test "x$ac_cv_header_netinet_in_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NETINET_IN_H 1 ++_ACEOF + ++fi + ++done + +- FLOAT_H= +- case "$host_os" in +- beos* | openbsd*) +- FLOAT_H=float.h + + + +@@ -15187,479 +11554,233 @@ + + + if test $gl_cv_have_include_next = yes; then +- gl_cv_next_float_h='<'float.h'>' ++ gl_cv_next_netinet_in_h='<'netinet/in.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_float_h+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if test "${gl_cv_next_netinet_in_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + +- if test $ac_cv_header_float_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test $ac_cv_header_netinet_in_h = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++#include + + _ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac +- gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/float.h#{ +- s#.*"\(.*/float.h\)".*#\1# ++ gl_cv_next_netinet_in_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/netinet/in.h#{ ++ s#.*"\(.*/netinet/in.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else +- gl_cv_next_float_h='<'float.h'>' ++ gl_cv_next_netinet_in_h='<'netinet/in.h'>' + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_float_h" >&5 +-$as_echo "$gl_cv_next_float_h" >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5 ++$as_echo "$gl_cv_next_netinet_in_h" >&6; } + fi +- NEXT_FLOAT_H=$gl_cv_next_float_h ++ NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'float.h'>' ++ gl_next_as_first_directive='<'netinet/in.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_float_h ++ gl_next_as_first_directive=$gl_cv_next_netinet_in_h + fi +- NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive ++ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive + + + +- ;; +- esac ++ if test $ac_cv_header_netinet_in_h = yes; then ++ HAVE_NETINET_IN_H=1 ++ else ++ HAVE_NETINET_IN_H=0 ++ fi + ++ fi + + + + + + ++ if test -n "$ERRNO_H"; then ++ REPLACE_PERROR=1 + + +- { $as_echo "$as_me:$LINENO: checking for fseeko" >&5 +-$as_echo_n "checking for fseeko... " >&6; } +-if test "${gl_cv_func_fseeko+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 +-int +-main () +-{ +-fseeko (stdin, 0, 0); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_func_fseeko=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- gl_cv_func_fseeko=no +-fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext + +-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 perror.$ac_objext" + ++ fi + + + ++ GNULIB_PERROR=1 + + + +- gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext" + + +- REPLACE_FSEEKO=1 + +- elif test $gl_cv_var_stdin_large_offset = no; then + + + + ++ gl_LIBOBJS="$gl_LIBOBJS physmem.$ac_objext" + + ++ # Prerequisites of lib/physmem.c. ++ for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h \ ++ machine/hal_sysinfo.h sys/table.h sys/param.h sys/sysctl.h \ ++ sys/systemcfg.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF + ++fi + ++done + +- gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext" + ++ for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF + +- REPLACE_FSEEKO=1 ++fi ++done + +- fi + + + +- GNULIB_FSEEKO=1 ++ for ac_header in poll.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" ++if test "x$ac_cv_header_poll_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_POLL_H 1 ++_ACEOF + ++fi + +- { $as_echo "$as_me:$LINENO: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5 +-$as_echo "$as_me: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&6;} +- GETADDRINFO_LIB= +- gai_saved_LIBS="$LIBS" ++done + +- { $as_echo "$as_me:$LINENO: checking for library containing getaddrinfo" >&5 +-$as_echo_n "checking for library containing getaddrinfo... " >&6; } +-if test "${ac_cv_search_getaddrinfo+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_func_search_save_LIBS=$LIBS +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test "$ac_cv_header_poll_h" = no; then ++ gl_cv_func_poll=no ++ else ++ ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" ++if test "x$ac_cv_func_poll" = x""yes; then : ++ # Check whether poll() works on special files (like /dev/null) and ++ # and ttys (like /dev/tty). On MacOS X 10.4.0 and AIX 5.3, it doesn't. ++ if test "$cross_compiling" = yes; then : ++ # When cross-compiling, assume that poll() works everywhere except on ++ # MacOS X or AIX, regardless of its version. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" ++#if (defined(__APPLE__) && defined(__MACH__)) || defined(_AIX) ++This is MacOSX or AIX + #endif +-char getaddrinfo (); +-int +-main () +-{ +-return getaddrinfo (); +- ; +- return 0; +-} ++ + _ACEOF +-for ac_lib in '' socket network net; do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_search_getaddrinfo=$ac_res ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "MacOSX" >/dev/null 2>&1; then : ++ gl_cv_func_poll=no + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext +- if test "${ac_cv_search_getaddrinfo+set}" = set; then +- break +-fi +-done +-if test "${ac_cv_search_getaddrinfo+set}" = set; then +- : +-else +- ac_cv_search_getaddrinfo=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_getaddrinfo" >&5 +-$as_echo "$ac_cv_search_getaddrinfo" >&6; } +-ac_res=$ac_cv_search_getaddrinfo +-if test "$ac_res" != no; then +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- if test "$ac_cv_search_getaddrinfo" != "none required"; then +- GETADDRINFO_LIB="$ac_cv_search_getaddrinfo" +- fi ++ gl_cv_func_poll=yes + fi ++rm -f conftest* + +- LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" +- +- { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5 +-$as_echo_n "checking for getaddrinfo... " >&6; } +-if test "${gl_cv_func_getaddrinfo+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETDB_H +-#include +-#endif +-#include +- +-int +-main () +-{ +-getaddrinfo("", "", NULL, NULL); +- ; +- return 0; +-} ++#include ++#include ++ int main() ++ { ++ struct pollfd ufd; ++ /* Try /dev/null for reading. */ ++ ufd.fd = open ("/dev/null", O_RDONLY); ++ if (ufd.fd < 0) ++ /* If /dev/null does not exist, it's not MacOS X nor AIX. */ ++ return 0; ++ ufd.events = POLLIN; ++ ufd.revents = 0; ++ if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLIN)) ++ return 1; ++ /* Try /dev/null for writing. */ ++ ufd.fd = open ("/dev/null", O_WRONLY); ++ if (ufd.fd < 0) ++ /* If /dev/null does not exist, it's not MacOS X nor AIX. */ ++ return 0; ++ ufd.events = POLLOUT; ++ ufd.revents = 0; ++ if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLOUT)) ++ return 1; ++ /* Trying /dev/tty may be too environment dependent. */ ++ return 0; ++ } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_func_getaddrinfo=yes ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_poll=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_func_getaddrinfo=no ++ gl_cv_func_poll=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_getaddrinfo" >&5 +-$as_echo "$gl_cv_func_getaddrinfo" >&6; } +- if test $gl_cv_func_getaddrinfo = no; then +- { $as_echo "$as_me:$LINENO: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5 +-$as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; } +-if test "${gl_cv_w32_getaddrinfo+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- +- gl_cv_w32_getaddrinfo=no +- am_save_LIBS="$LIBS" +- LIBS="$LIBS -lws2_32" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif +-#include +- +-int +-main () +-{ +-getaddrinfo(NULL, NULL, NULL, NULL); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_w32_getaddrinfo=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- + + fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +- LIBS="$am_save_LIBS" +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_w32_getaddrinfo" >&5 +-$as_echo "$gl_cv_w32_getaddrinfo" >&6; } +- if test "$gl_cv_w32_getaddrinfo" = "yes"; then +- GETADDRINFO_LIB="-lws2_32" +- LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" +- else ++ fi ++ if test $gl_cv_func_poll = yes; then + ++$as_echo "#define HAVE_POLL 1" >>confdefs.h + ++ POLL_H= ++ else + + + + + + +- gl_LIBOBJS="$gl_LIBOBJS getaddrinfo.$ac_objext" + +- fi +- fi + +- # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an +- # inline function declared in ws2tcpip.h, so we need to get that +- # header included somehow. +- { $as_echo "$as_me:$LINENO: checking for gai_strerror (possibly via ws2tcpip.h)" >&5 +-$as_echo_n "checking for gai_strerror (possibly via ws2tcpip.h)... " >&6; } +-if test "${gl_cv_func_gai_strerror+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else ++ gl_LIBOBJS="$gl_LIBOBJS poll.$ac_objext" + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETDB_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif +-#include ++$as_echo "#define poll rpl_poll" >>confdefs.h + +-int +-main () +-{ +-gai_strerror (NULL); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_func_gai_strerror=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- gl_cv_func_gai_strerror=no +-fi + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_gai_strerror" >&5 +-$as_echo "$gl_cv_func_gai_strerror" >&6; } +- if test $gl_cv_func_gai_strerror = no; then ++ : + + + +@@ -15668,7241 +11789,440 @@ + + + +- gl_LIBOBJS="$gl_LIBOBJS gai_strerror.$ac_objext" + ++ POLL_H=poll.h + fi + +- LIBS="$gai_saved_LIBS" +- + + ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a shell that conforms to POSIX" >&5 ++$as_echo_n "checking for a shell that conforms to POSIX... " >&6; } ++if test "${gl_cv_posix_shell+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_test_posix_shell_script=' ++ func_return () { ++ (exit $1) ++ } ++ func_success () { ++ func_return 0 ++ } ++ func_failure () { ++ func_return 1 ++ } ++ func_ret_success () { ++ return 0 ++ } ++ func_ret_failure () { ++ return 1 ++ } ++ subshell_umask_sanity () { ++ (umask 22; (umask 0); test $(umask) -eq 22) ++ } ++ test "$(echo foo)" = foo && ++ func_success && ++ ! func_failure && ++ func_ret_success && ++ ! func_ret_failure && ++ (set x && func_ret_success y && test x = "$1") && ++ subshell_umask_sanity ++ ' ++ for gl_cv_posix_shell in \ ++ "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do ++ case $gl_cv_posix_shell in ++ /*) ++ "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \ ++ && break;; ++ esac ++ done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_posix_shell" >&5 ++$as_echo "$gl_cv_posix_shell" >&6; } + ++ if test "$gl_cv_posix_shell" != no; then ++ POSIX_SHELL=$gl_cv_posix_shell ++ PREFERABLY_POSIX_SHELL=$POSIX_SHELL ++ else ++ POSIX_SHELL= ++ PREFERABLY_POSIX_SHELL=/bin/sh ++ fi + + + + + +- { $as_echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5 +-$as_echo_n "checking for struct sockaddr.sa_len... " >&6; } +-if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ for ac_func in random_r ++do : ++ ac_fn_c_check_func "$LINENO" "random_r" "ac_cv_func_random_r" ++if test "x$ac_cv_func_random_r" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_RANDOM_R 1 + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include + +-int +-main () +-{ +-static struct sockaddr ac_aggr; +-if (ac_aggr.sa_len) +-return 0; +- ; +- 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 +- ac_cv_member_struct_sockaddr_sa_len=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++fi ++done + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include ++ if test $ac_cv_func_random_r = no; then ++ HAVE_RANDOM_R=0 + +-int +-main () +-{ +-static struct sockaddr ac_aggr; +-if (sizeof ac_aggr.sa_len) +-return 0; +- ; +- 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 +- ac_cv_member_struct_sockaddr_sa_len=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_member_struct_sockaddr_sa_len=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5 +-$as_echo "$ac_cv_member_struct_sockaddr_sa_len" >&6; } +-if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_STRUCT_SOCKADDR_SA_LEN 1 +-_ACEOF + + +-fi + ++ gl_LIBOBJS="$gl_LIBOBJS random_r.$ac_objext" + + + : + ++ fi + + + ++ GNULIB_RANDOM_R=1 + + +- { $as_echo "$as_me:$LINENO: checking whether getaddrinfo is declared" >&5 +-$as_echo_n "checking whether getaddrinfo is declared... " >&6; } +-if test "${ac_cv_have_decl_getaddrinfo+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. */ +- +- /* sys/types.h is not needed according to POSIX, but the +- sys/socket.h in i386-unknown-freebsd4.10 and +- powerpc-apple-darwin5.5 required it. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETDB_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif + ++ if test $gl_cv_func_malloc_posix = yes; then ++ HAVE_REALLOC_POSIX=1 + +-int +-main () +-{ +-#ifndef getaddrinfo +- (void) getaddrinfo; +-#endif ++$as_echo "#define HAVE_REALLOC_POSIX 1" >>confdefs.h + +- ; +- 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 +- ac_cv_have_decl_getaddrinfo=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ else + +- ac_cv_have_decl_getaddrinfo=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getaddrinfo" >&5 +-$as_echo "$ac_cv_have_decl_getaddrinfo" >&6; } +-if test "x$ac_cv_have_decl_getaddrinfo" = x""yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETADDRINFO 1 +-_ACEOF + + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETADDRINFO 0 +-_ACEOF + + +-fi +-{ $as_echo "$as_me:$LINENO: checking whether freeaddrinfo is declared" >&5 +-$as_echo_n "checking whether freeaddrinfo is declared... " >&6; } +-if test "${ac_cv_have_decl_freeaddrinfo+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. */ + +- /* sys/types.h is not needed according to POSIX, but the +- sys/socket.h in i386-unknown-freebsd4.10 and +- powerpc-apple-darwin5.5 required it. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETDB_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif ++ gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" + ++ HAVE_REALLOC_POSIX=0 ++ fi + +-int +-main () +-{ +-#ifndef freeaddrinfo +- (void) freeaddrinfo; +-#endif + +- ; +- 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 +- ac_cv_have_decl_freeaddrinfo=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_have_decl_freeaddrinfo=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_freeaddrinfo" >&5 +-$as_echo "$ac_cv_have_decl_freeaddrinfo" >&6; } +-if test "x$ac_cv_have_decl_freeaddrinfo" = x""yes; then ++ GNULIB_REALLOC_POSIX=1 + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FREEADDRINFO 1 +-_ACEOF + ++ if test "$ac_cv_header_winsock2_h" = yes; then + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_FREEADDRINFO 0 +-_ACEOF + + +-fi +-{ $as_echo "$as_me:$LINENO: checking whether gai_strerror is declared" >&5 +-$as_echo_n "checking whether gai_strerror is declared... " >&6; } +-if test "${ac_cv_have_decl_gai_strerror+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. */ + +- /* sys/types.h is not needed according to POSIX, but the +- sys/socket.h in i386-unknown-freebsd4.10 and +- powerpc-apple-darwin5.5 required it. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETDB_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif + + +-int +-main () +-{ +-#ifndef gai_strerror +- (void) gai_strerror; +-#endif + +- ; +- 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 +- ac_cv_have_decl_gai_strerror=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_have_decl_gai_strerror=no +-fi ++ gl_LIBOBJS="$gl_LIBOBJS recv.$ac_objext" + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_gai_strerror" >&5 +-$as_echo "$ac_cv_have_decl_gai_strerror" >&6; } +-if test "x$ac_cv_have_decl_gai_strerror" = x""yes; then ++ fi + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GAI_STRERROR 1 +-_ACEOF + ++ GNULIB_RECV=1 + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GAI_STRERROR 0 +-_ACEOF + + +-fi +-{ $as_echo "$as_me:$LINENO: checking whether getnameinfo is declared" >&5 +-$as_echo_n "checking whether getnameinfo is declared... " >&6; } +-if test "${ac_cv_have_decl_getnameinfo+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. */ ++ if test "$ac_cv_header_winsock2_h" = yes; then + +- /* sys/types.h is not needed according to POSIX, but the +- sys/socket.h in i386-unknown-freebsd4.10 and +- powerpc-apple-darwin5.5 required it. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETDB_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif + + +-int +-main () +-{ +-#ifndef getnameinfo +- (void) getnameinfo; +-#endif + +- ; +- 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 +- ac_cv_have_decl_getnameinfo=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_have_decl_getnameinfo=no +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getnameinfo" >&5 +-$as_echo "$ac_cv_have_decl_getnameinfo" >&6; } +-if test "x$ac_cv_have_decl_getnameinfo" = x""yes; then + +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETNAMEINFO 1 +-_ACEOF + ++ gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" + +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETNAMEINFO 0 +-_ACEOF ++ else + ++ : + +-fi + + +- if test $ac_cv_have_decl_getaddrinfo = no; then +- HAVE_DECL_GETADDRINFO=0 +- fi +- if test $ac_cv_have_decl_freeaddrinfo = no; then +- HAVE_DECL_FREEADDRINFO=0 +- fi +- if test $ac_cv_have_decl_gai_strerror = no; then +- HAVE_DECL_GAI_STRERROR=0 +- fi +- if test $ac_cv_have_decl_getnameinfo = no; then +- HAVE_DECL_GETNAMEINFO=0 +- fi +- +- { $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5 +-$as_echo_n "checking for struct addrinfo... " >&6; } +-if test "${ac_cv_type_struct_addrinfo+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_struct_addrinfo=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETDB_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif +- +- +-int +-main () +-{ +-if (sizeof (struct addrinfo)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_NETDB_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif +- +- +-int +-main () +-{ +-if (sizeof ((struct addrinfo))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_struct_addrinfo=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5 +-$as_echo "$ac_cv_type_struct_addrinfo" >&6; } +-if test "x$ac_cv_type_struct_addrinfo" = x""yes; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_STRUCT_ADDRINFO 1 +-_ACEOF +- +- +-fi +- +- if test $ac_cv_type_struct_addrinfo = no; then +- HAVE_STRUCT_ADDRINFO=0 +- fi +- +- case " $GETADDRINFO_LIB " in +- *" $HOSTENT_LIB "*) ;; +- *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;; +- esac +- +- case " $GETADDRINFO_LIB " in +- *" $SERVENT_LIB "*) ;; +- *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;; +- esac +- +- +- +- +- +- +- GNULIB_GETADDRINFO=1 +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +-for ac_func in getdelim +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else +- +- gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" +- +-fi +-done +- +- +- +- : +- +- +- +- +- +- +- if test $ac_cv_func_getdelim = no; then +- +- +- +-for ac_func in flockfile funlockfile +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +-done +- +- { $as_echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5 +-$as_echo_n "checking whether getc_unlocked is declared... " >&6; } +-if test "${ac_cv_have_decl_getc_unlocked+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. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef getc_unlocked +- (void) getc_unlocked; +-#endif +- +- ; +- 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 +- ac_cv_have_decl_getc_unlocked=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_getc_unlocked=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5 +-$as_echo "$ac_cv_have_decl_getc_unlocked" >&6; } +-if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETC_UNLOCKED 1 +-_ACEOF +- +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETC_UNLOCKED 0 +-_ACEOF +- +- +-fi +- +- +- +- fi +- +- if test $ac_cv_have_decl_getdelim = no; then +- HAVE_DECL_GETDELIM=0 +- fi +- +- +- +- GNULIB_GETDELIM=1 +- +- +- +- +- +- +- +- : +- +- +- +- +- +- if test $ac_cv_header_sys_socket_h != yes; then +- +-for ac_header in winsock2.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- fi +- if test "$ac_cv_header_winsock2_h" = yes; then +- HAVE_WINSOCK2_H=1 +- UNISTD_H_HAVE_WINSOCK2_H=1 +- SYS_IOCTL_H_HAVE_WINSOCK2_H=1 +- else +- HAVE_WINSOCK2_H=0 +- fi +- +- +- +- +- +- +- +- +- +- +- +-for ac_func in gethostname +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else +- +- gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" +- +-fi +-done +- +- +- if test $ac_cv_func_gethostname = no; then +- HAVE_GETHOSTNAME=0 +- +- +-for ac_func in uname +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +-done +- +- +- fi +- +- +- +- GNULIB_GETHOSTNAME=1 +- +- +- +- +- +- +- +- : +- +- +- +- +- +- +- gl_getline_needs_run_time_check=no +- { $as_echo "$as_me:$LINENO: checking for getline" >&5 +-$as_echo_n "checking for getline... " >&6; } +-if test "${ac_cv_func_getline+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. */ +-/* Define getline to an innocuous variant, in case declares getline. +- For example, HP-UX 11i declares gettimeofday. */ +-#define getline innocuous_getline +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char getline (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef getline +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char getline (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_getline || defined __stub___getline +-choke me +-#endif +- +-int +-main () +-{ +-return getline (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_getline=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_getline=no +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5 +-$as_echo "$ac_cv_func_getline" >&6; } +-if test "x$ac_cv_func_getline" = x""yes; then +- gl_getline_needs_run_time_check=yes +-else +- am_cv_func_working_getline=no +-fi +- +- if test $gl_getline_needs_run_time_check = yes; then +- { $as_echo "$as_me:$LINENO: checking for working getline function" >&5 +-$as_echo_n "checking for working getline function... " >&6; } +-if test "${am_cv_func_working_getline+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- echo fooN |tr -d '\012'|tr N '\012' > conftest.data +- if test "$cross_compiling" = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#include +-#ifdef __GNU_LIBRARY__ +- #if (__GLIBC__ >= 2) +- Lucky GNU user +- #endif +-#endif +- +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "Lucky GNU user" >/dev/null 2>&1; then +- am_cv_func_working_getline=yes +-else +- am_cv_func_working_getline=no +-fi +-rm -f conftest* +- +- +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-# include +-# include +-# include +- int main () +- { /* Based on a test program from Karl Heuer. */ +- char *line = NULL; +- size_t siz = 0; +- int len; +- FILE *in = fopen ("./conftest.data", "r"); +- if (!in) +- return 1; +- len = getline (&line, &siz, in); +- exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); +- } +- +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- am_cv_func_working_getline=yes +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-am_cv_func_working_getline=no +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $am_cv_func_working_getline" >&5 +-$as_echo "$am_cv_func_working_getline" >&6; } +- fi +- +- if test $ac_cv_have_decl_getline = no; then +- HAVE_DECL_GETLINE=0 +- fi +- +- if test $am_cv_func_working_getline = no; then +- REPLACE_GETLINE=1 +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +-for ac_func in getdelim +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else +- +- gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" +- +-fi +-done +- +- +- +- : +- +- +- +- +- +- +- if test $ac_cv_func_getdelim = no; then +- +- +- +-for ac_func in flockfile funlockfile +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +-done +- +- { $as_echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5 +-$as_echo_n "checking whether getc_unlocked is declared... " >&6; } +-if test "${ac_cv_have_decl_getc_unlocked+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. */ +-$ac_includes_default +-int +-main () +-{ +-#ifndef getc_unlocked +- (void) getc_unlocked; +-#endif +- +- ; +- 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 +- ac_cv_have_decl_getc_unlocked=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_getc_unlocked=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5 +-$as_echo "$ac_cv_have_decl_getc_unlocked" >&6; } +-if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETC_UNLOCKED 1 +-_ACEOF +- +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_GETC_UNLOCKED 0 +-_ACEOF +- +- +-fi +- +- +- +- fi +- +- if test $ac_cv_have_decl_getdelim = no; then +- HAVE_DECL_GETDELIM=0 +- fi +- +- +- fi +- +- +- +- GNULIB_GETLINE=1 +- +- +- +- +- +-for ac_func in getpagesize +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +-done +- +- if test $ac_cv_func_getpagesize = no; then +- HAVE_GETPAGESIZE=0 +- +-for ac_header in OS.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- if test $ac_cv_header_OS_h = yes; then +- HAVE_OS_H=1 +- fi +- +-for ac_header in sys/param.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- if test $ac_cv_header_sys_param_h = yes; then +- HAVE_SYS_PARAM_H=1 +- fi +- fi +- case "$host_os" in +- mingw*) +- REPLACE_GETPAGESIZE=1 +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS getpagesize.$ac_objext" +- +- ;; +- esac +- +- +- +- GNULIB_GETPAGESIZE=1 +- +- +- +- +- +- +- +- +- +- +- +-for ac_func in getpass +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else +- +- gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" +- +-fi +-done +- +- +- +- : +- +- +- +- +- +- if test $ac_cv_func_getpass = no; then +- +- +- : +- +- +- +- +- +- +- +- +- +- : +- +- +- +- +- +- +- +- +- +- +- +- { $as_echo "$as_me:$LINENO: checking whether __fsetlocking is declared" >&5 +-$as_echo_n "checking whether __fsetlocking is declared... " >&6; } +-if test "${ac_cv_have_decl___fsetlocking+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 +- #if HAVE_STDIO_EXT_H +- #include +- #endif +- +-int +-main () +-{ +-#ifndef __fsetlocking +- (void) __fsetlocking; +-#endif +- +- ; +- 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 +- ac_cv_have_decl___fsetlocking=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl___fsetlocking=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___fsetlocking" >&5 +-$as_echo "$ac_cv_have_decl___fsetlocking" >&6; } +-if test "x$ac_cv_have_decl___fsetlocking" = x""yes; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL___FSETLOCKING 1 +-_ACEOF +- +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL___FSETLOCKING 0 +-_ACEOF +- +- +-fi +- +- +- +- : +- +- +- +- +- +- +- : +- +- +- +- +- +- +- : +- +- +- +- +- +- +- : +- +- +- +- +- +- +- : +- +- +- +- +- +- : +- +- fi +- +- +- +- +- +- +- +- +- : +- +- +- +- +- +- +- { $as_echo "$as_me:$LINENO: checking for gettimeofday with POSIX signature" >&5 +-$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; } +-if test "${gl_cv_func_gettimeofday_posix_signature+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 +- struct timeval c; +- +-int +-main () +-{ +- +- int (*f) (struct timeval *restrict, void *restrict) = gettimeofday; +- int x = f (&c, 0); +- return !(x | c.tv_sec | c.tv_usec); +- +- ; +- 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 +- gl_cv_func_gettimeofday_posix_signature=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_func_gettimeofday_posix_signature=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_gettimeofday_posix_signature" >&5 +-$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; } +- +- +- +- +- { $as_echo "$as_me:$LINENO: checking whether gettimeofday clobbers localtime buffer" >&5 +-$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; } +-if test "${gl_cv_func_gettimeofday_clobber+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- if test "$cross_compiling" = yes; then +- gl_cv_func_gettimeofday_clobber=yes +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- #include +- #include +- #include +- +-int +-main () +-{ +- +- time_t t = 0; +- struct tm *lt; +- struct tm saved_lt; +- struct timeval tv; +- lt = localtime (&t); +- saved_lt = *lt; +- gettimeofday (&tv, NULL); +- return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; +- +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_func_gettimeofday_clobber=no +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-gl_cv_func_gettimeofday_clobber=yes +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_gettimeofday_clobber" >&5 +-$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; } +- +- if test $gl_cv_func_gettimeofday_clobber = yes; then +- REPLACE_GETTIMEOFDAY=1 +- SYS_TIME_H=sys/time.h +- +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext" +- +- +- +-for ac_header in sys/timeb.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- +-for ac_func in _ftime +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +-done +- +- +- +-cat >>confdefs.h <<\_ACEOF +-#define gmtime rpl_gmtime +-_ACEOF +- +- +-cat >>confdefs.h <<\_ACEOF +-#define localtime rpl_localtime +-_ACEOF +- +- +- +-cat >>confdefs.h <<\_ACEOF +-#define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1 +-_ACEOF +- +- fi +- +- +- if test $gl_cv_func_gettimeofday_posix_signature != yes; then +- REPLACE_GETTIMEOFDAY=1 +- SYS_TIME_H=sys/time.h +- if test $gl_cv_func_gettimeofday_clobber != yes; then +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext" +- +- +- +-for ac_header in sys/timeb.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- +-for ac_func in _ftime +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +-done +- +- +- fi +- fi +- +- # Autoconf 2.61a.99 and earlier don't support linking a file only +- # in VPATH builds. But since GNUmakefile is for maintainer use +- # only, it does not matter if we skip the link with older autoconf. +- # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH +- # builds, so use a shell variable to bypass this. +- GNUmakefile=GNUmakefile +- ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" +- +- +- HOSTENT_LIB= +- gl_saved_libs="$LIBS" +- { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 +-$as_echo_n "checking for library containing gethostbyname... " >&6; } +-if test "${ac_cv_search_gethostbyname+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_func_search_save_LIBS=$LIBS +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char gethostbyname (); +-int +-main () +-{ +-return gethostbyname (); +- ; +- return 0; +-} +-_ACEOF +-for ac_lib in '' nsl network net; do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_search_gethostbyname=$ac_res +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext +- if test "${ac_cv_search_gethostbyname+set}" = set; then +- break +-fi +-done +-if test "${ac_cv_search_gethostbyname+set}" = set; then +- : +-else +- ac_cv_search_gethostbyname=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 +-$as_echo "$ac_cv_search_gethostbyname" >&6; } +-ac_res=$ac_cv_search_gethostbyname +-if test "$ac_res" != no; then +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- if test "$ac_cv_search_gethostbyname" != "none required"; then +- HOSTENT_LIB="$ac_cv_search_gethostbyname" +- fi +-fi +- +- LIBS="$gl_saved_libs" +- if test -z "$HOSTENT_LIB"; then +- +-for ac_func in gethostbyname +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else +- +- { $as_echo "$as_me:$LINENO: checking for gethostbyname in winsock2.h and -lws2_32" >&5 +-$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } +-if test "${gl_cv_w32_gethostbyname+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- gl_cv_w32_gethostbyname=no +- gl_save_LIBS="$LIBS" +- LIBS="$LIBS -lws2_32" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#ifdef HAVE_WINSOCK2_H +-#include +-#endif +-#include +- +-int +-main () +-{ +-gethostbyname(NULL); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_w32_gethostbyname=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +- LIBS="$gl_save_LIBS" +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_w32_gethostbyname" >&5 +-$as_echo "$gl_cv_w32_gethostbyname" >&6; } +- if test "$gl_cv_w32_gethostbyname" = "yes"; then +- HOSTENT_LIB="-lws2_32" +- fi +- +-fi +-done +- +- fi +- +- +- +- +- +- +- +- ARPA_INET_H='arpa/inet.h' +- +- +- gl_save_LIBS=$LIBS +- { $as_echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5 +-$as_echo_n "checking for library containing inet_ntop... " >&6; } +-if test "${ac_cv_search_inet_ntop+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_func_search_save_LIBS=$LIBS +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char inet_ntop (); +-int +-main () +-{ +-return inet_ntop (); +- ; +- return 0; +-} +-_ACEOF +-for ac_lib in '' nsl; do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_search_inet_ntop=$ac_res +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext +- if test "${ac_cv_search_inet_ntop+set}" = set; then +- break +-fi +-done +-if test "${ac_cv_search_inet_ntop+set}" = set; then +- : +-else +- ac_cv_search_inet_ntop=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5 +-$as_echo "$ac_cv_search_inet_ntop" >&6; } +-ac_res=$ac_cv_search_inet_ntop +-if test "$ac_res" != no; then +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- +-else +- +- +- +- +- +- +- +- +- +-for ac_func in inet_ntop +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else +- +- gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" +- +-fi +-done +- +- +-fi +- +- LIBS=$gl_save_LIBS +- +- +- { $as_echo "$as_me:$LINENO: checking whether inet_ntop is declared" >&5 +-$as_echo_n "checking whether inet_ntop is declared... " >&6; } +-if test "${ac_cv_have_decl_inet_ntop+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 +- +-int +-main () +-{ +-#ifndef inet_ntop +- (void) inet_ntop; +-#endif +- +- ; +- 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 +- ac_cv_have_decl_inet_ntop=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_inet_ntop=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_inet_ntop" >&5 +-$as_echo "$ac_cv_have_decl_inet_ntop" >&6; } +-if test "x$ac_cv_have_decl_inet_ntop" = x""yes; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_INET_NTOP 1 +-_ACEOF +- +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_INET_NTOP 0 +-_ACEOF +- +- +-fi +- +- +- if test $ac_cv_have_decl_inet_ntop = no; then +- HAVE_DECL_INET_NTOP=0 +- fi +- +- +- +- +- +- +- GNULIB_INET_NTOP=1 +- +- +- +- +- +- +- ARPA_INET_H='arpa/inet.h' +- +- +- +- +- +- +- +- +- +- +- +-for ac_func in inet_pton +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else +- +- gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" +- +-fi +-done +- +- +- +- { $as_echo "$as_me:$LINENO: checking whether inet_pton is declared" >&5 +-$as_echo_n "checking whether inet_pton is declared... " >&6; } +-if test "${ac_cv_have_decl_inet_pton+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 +- +-int +-main () +-{ +-#ifndef inet_pton +- (void) inet_pton; +-#endif +- +- ; +- 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 +- ac_cv_have_decl_inet_pton=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_have_decl_inet_pton=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_inet_pton" >&5 +-$as_echo "$ac_cv_have_decl_inet_pton" >&6; } +-if test "x$ac_cv_have_decl_inet_pton" = x""yes; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_INET_PTON 1 +-_ACEOF +- +- +-else +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DECL_INET_PTON 0 +-_ACEOF +- +- +-fi +- +- +- if test $ac_cv_have_decl_inet_pton = no; then +- HAVE_DECL_INET_PTON=0 +- fi +- +- +- +- +- +- +- GNULIB_INET_PTON=1 +- +- +- if test "$ac_cv_header_winsock2_h" = yes; then +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS ioctl.$ac_objext" +- +- +- +- SYS_IOCTL_H='sys/ioctl.h' +- +- fi +- +- +- GNULIB_IOCTL=1 +- +- +- +-cat >>confdefs.h <<\_ACEOF +-#define GNULIB_IOCTL 1 +-_ACEOF +- +- +- +- +- +- { $as_echo "$as_me:$LINENO: checking whether lseek detects pipes" >&5 +-$as_echo_n "checking whether lseek detects pipes... " >&6; } +-if test "${gl_cv_func_lseek_pipe+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- if test $cross_compiling = no; then +- cat >conftest.$ac_ext <<_ACEOF +- +-#include /* for off_t */ +-#include /* for SEEK_CUR */ +-#include +-int main () +-{ +- /* Exit with success only if stdin is seekable. */ +- return lseek (0, (off_t)0, SEEK_CUR) < 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- if test -s conftest$ac_exeext \ +- && ./conftest$ac_exeext < conftest.$ac_ext \ +- && { echo hi | ./conftest$ac_exeext; test $? = 1; }; then +- gl_cv_func_lseek_pipe=yes +- else +- gl_cv_func_lseek_pipe=no +- fi +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_func_lseek_pipe=no +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +- else +- cat >conftest.$ac_ext <<_ACEOF +- +-#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__ +-/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */ +- Choke me. +-#endif +-_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_func_lseek_pipe=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_func_lseek_pipe=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_lseek_pipe" >&5 +-$as_echo "$gl_cv_func_lseek_pipe" >&6; } +- if test $gl_cv_func_lseek_pipe = no; then +- +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext" +- +- +- REPLACE_LSEEK=1 +- +-cat >>confdefs.h <<\_ACEOF +-#define LSEEK_PIPE_BROKEN 1 +-_ACEOF +- +- +- fi +- +- +- +- GNULIB_LSEEK=1 +- +- +- +- +- : +- +- +- +- +- +- if test $ac_cv_func_lstat = yes; then +- { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 +-$as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; } +-if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- rm -f conftest.sym conftest.file +-echo >conftest.file +-if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then +- if test "$cross_compiling" = yes; then +- ac_cv_func_lstat_dereferences_slashed_symlink=no +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-int +-main () +-{ +-struct stat sbuf; +- /* Linux will dereference the symlink and fail. +- That is better in the sense that it means we will not +- have to compile and use the lstat wrapper. */ +- return lstat ("conftest.sym/", &sbuf) == 0; +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_func_lstat_dereferences_slashed_symlink=yes +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-ac_cv_func_lstat_dereferences_slashed_symlink=no +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +-else +- # If the `ln -s' command failed, then we probably don't even +- # have an lstat function. +- ac_cv_func_lstat_dereferences_slashed_symlink=no +-fi +-rm -f conftest.sym conftest.file +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 +-$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } +- +-test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && +- +-cat >>confdefs.h <<_ACEOF +-#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +-_ACEOF +- +- +-if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext" +- +-fi +- +- if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then +- REPLACE_LSTAT=1 +- fi +- # Prerequisites of lib/lstat.c. +- +- fi +- +- +- +- GNULIB_LSTAT=1 +- +- +- +- if test $gl_cv_func_malloc_posix = yes; then +- HAVE_MALLOC_POSIX=1 +- +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_MALLOC_POSIX 1 +-_ACEOF +- +- else +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" +- +- HAVE_MALLOC_POSIX=0 +- fi +- +- +- +- +- GNULIB_MALLOC_POSIX=1 +- +- +- +- +- GNULIB_MEMCHR=1 +- +- +- +- +- +- { $as_echo "$as_me:$LINENO: checking for working mkstemp" >&5 +-$as_echo_n "checking for working mkstemp... " >&6; } +-if test "${gl_cv_func_working_mkstemp+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- +- mkdir conftest.mkstemp +- if test "$cross_compiling" = yes; then +- gl_cv_func_working_mkstemp=no +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-int +-main () +-{ +-int i; +- off_t large = (off_t) 4294967295u; +- if (large < 0) +- large = 2147483647; +- for (i = 0; i < 70; i++) +- { +- char templ[] = "conftest.mkstemp/coXXXXXX"; +- int (*mkstemp_function) (char *) = mkstemp; +- int fd = mkstemp_function (templ); +- if (fd < 0 || lseek (fd, large, SEEK_SET) != large) +- return 1; +- close (fd); +- } +- return 0; +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_func_working_mkstemp=yes +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-gl_cv_func_working_mkstemp=no +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +- rm -rf conftest.mkstemp +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_working_mkstemp" >&5 +-$as_echo "$gl_cv_func_working_mkstemp" >&6; } +- +- if test $gl_cv_func_working_mkstemp != yes; then +- REPLACE_MKSTEMP=1 +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS mkstemp.$ac_objext" +- +- +- +- fi +- +- +- +- GNULIB_MKSTEMP=1 +- +- +- +- +- +- +- +- +- : +- +- +- +- +- +- +- +- if test $gl_cv_have_include_next = yes; then +- gl_cv_next_netdb_h='<'netdb.h'>' +- else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_netdb_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- +- if test $ac_cv_header_netdb_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- +-_ACEOF +- case "$host_os" in +- aix*) gl_absname_cpp="$ac_cpp -C" ;; +- *) gl_absname_cpp="$ac_cpp" ;; +- esac +- gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/netdb.h#{ +- s#.*"\(.*/netdb.h\)".*#\1# +- s#^/[^/]#//&# +- p +- q +- }'`'"' +- else +- gl_cv_next_netdb_h='<'netdb.h'>' +- fi +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_netdb_h" >&5 +-$as_echo "$gl_cv_next_netdb_h" >&6; } +- fi +- NEXT_NETDB_H=$gl_cv_next_netdb_h +- +- if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'netdb.h'>' +- else +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_netdb_h +- fi +- NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive +- +- +- +- if test $ac_cv_header_netdb_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- #include +- struct addrinfo a; +- int b = EAI_OVERFLOW; +- int c = AI_NUMERICSERV; +- +-int +-main () +-{ +- +- ; +- 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 +- NETDB_H='' +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- NETDB_H='netdb.h' +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- HAVE_NETDB_H=1 +- else +- NETDB_H='netdb.h' +- HAVE_NETDB_H=0 +- fi +- +- +- +- +- { $as_echo "$as_me:$LINENO: checking whether is self-contained" >&5 +-$as_echo_n "checking whether is self-contained... " >&6; } +-if test "${gl_cv_header_netinet_in_h_selfcontained+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 +-int +-main () +-{ +- +- ; +- 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 +- gl_cv_header_netinet_in_h_selfcontained=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_header_netinet_in_h_selfcontained=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 +-$as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; } +- if test $gl_cv_header_netinet_in_h_selfcontained = yes; then +- NETINET_IN_H='' +- else +- NETINET_IN_H='netinet/in.h' +- +-for ac_header in netinet/in.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- +- +- +- +- : +- +- +- +- +- +- +- +- if test $gl_cv_have_include_next = yes; then +- gl_cv_next_netinet_in_h='<'netinet/in.h'>' +- else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 +-$as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_netinet_in_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- +- if test $ac_cv_header_netinet_in_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- +-_ACEOF +- case "$host_os" in +- aix*) gl_absname_cpp="$ac_cpp -C" ;; +- *) gl_absname_cpp="$ac_cpp" ;; +- esac +- gl_cv_next_netinet_in_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | +- sed -n '\#/netinet/in.h#{ +- s#.*"\(.*/netinet/in.h\)".*#\1# +- s#^/[^/]#//&# +- p +- q +- }'`'"' +- else +- gl_cv_next_netinet_in_h='<'netinet/in.h'>' +- fi +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_netinet_in_h" >&5 +-$as_echo "$gl_cv_next_netinet_in_h" >&6; } +- fi +- NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h +- +- if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' +- gl_next_as_first_directive='<'netinet/in.h'>' +- else +- # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' +- gl_next_as_first_directive=$gl_cv_next_netinet_in_h +- fi +- NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive +- +- +- +- if test $ac_cv_header_netinet_in_h = yes; then +- HAVE_NETINET_IN_H=1 +- else +- HAVE_NETINET_IN_H=0 +- fi +- +- 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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done +-IFS=$as_save_IFS +- +-fi +- +- if test "${ac_cv_path_mkdir+set}" = set; then +- MKDIR_P="$ac_cv_path_mkdir -p" +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for MKDIR_P within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- test -d ./--version && rmdir ./--version +- MKDIR_P="$ac_install_sh -d" +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +-$as_echo "$MKDIR_P" >&6; } +- +- +- +- +- if test -n "$ERRNO_H"; then +- REPLACE_PERROR=1 +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS perror.$ac_objext" +- +- fi +- +- +- +- GNULIB_PERROR=1 +- +- +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS physmem.$ac_objext" +- +- +- # Prerequisites of lib/physmem.c. +- +- +- +- +- +- +- +- +-for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h \ +- machine/hal_sysinfo.h sys/table.h sys/param.h sys/sysctl.h \ +- sys/systemcfg.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. */ +-$ac_includes_default +- +-#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 +- +-fi +- +-done +- +- +- +- +- +- +- +- +-for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +-done +- +- +- +- +- +-for ac_header in poll.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- if test "$ac_cv_header_poll_h" = no; then +- gl_cv_func_poll=no +- else +- { $as_echo "$as_me:$LINENO: checking for poll" >&5 +-$as_echo_n "checking for poll... " >&6; } +-if test "${ac_cv_func_poll+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. */ +-/* Define poll to an innocuous variant, in case declares poll. +- For example, HP-UX 11i declares gettimeofday. */ +-#define poll innocuous_poll +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char poll (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef poll +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char poll (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_poll || defined __stub___poll +-choke me +-#endif +- +-int +-main () +-{ +-return poll (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_poll=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_poll=no +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5 +-$as_echo "$ac_cv_func_poll" >&6; } +-if test "x$ac_cv_func_poll" = x""yes; then +- # Check whether poll() works on special files (like /dev/null) and +- # and ttys (like /dev/tty). On MacOS X 10.4.0 and AIX 5.3, it doesn't. +- if test "$cross_compiling" = yes; then +- # When cross-compiling, assume that poll() works everywhere except on +- # MacOS X or AIX, regardless of its version. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#if (defined(__APPLE__) && defined(__MACH__)) || defined(_AIX) +-This is MacOSX or AIX +-#endif +- +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "MacOSX" >/dev/null 2>&1; then +- gl_cv_func_poll=no +-else +- gl_cv_func_poll=yes +-fi +-rm -f conftest* +- +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#include +-#include +- int main() +- { +- struct pollfd ufd; +- /* Try /dev/null for reading. */ +- ufd.fd = open ("/dev/null", O_RDONLY); +- if (ufd.fd < 0) +- /* If /dev/null does not exist, it's not MacOS X nor AIX. */ +- return 0; +- ufd.events = POLLIN; +- ufd.revents = 0; +- if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLIN)) +- return 1; +- /* Try /dev/null for writing. */ +- ufd.fd = open ("/dev/null", O_WRONLY); +- if (ufd.fd < 0) +- /* If /dev/null does not exist, it's not MacOS X nor AIX. */ +- return 0; +- ufd.events = POLLOUT; +- ufd.revents = 0; +- if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLOUT)) +- return 1; +- /* Trying /dev/tty may be too environment dependent. */ +- return 0; +- } +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_func_poll=yes +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-gl_cv_func_poll=no +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +-fi +- +- fi +- if test $gl_cv_func_poll = yes; then +- +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_POLL 1 +-_ACEOF +- +- POLL_H= +- else +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS poll.$ac_objext" +- +- +-cat >>confdefs.h <<\_ACEOF +-#define poll rpl_poll +-_ACEOF +- +- +- +- : +- +- +- +- +- +- +- +- +- +- POLL_H=poll.h +- fi +- +- +- +- { $as_echo "$as_me:$LINENO: checking for a shell that conforms to POSIX" >&5 +-$as_echo_n "checking for a shell that conforms to POSIX... " >&6; } +-if test "${gl_cv_posix_shell+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- gl_test_posix_shell_script=' +- func_return () { +- (exit $1) +- } +- func_success () { +- func_return 0 +- } +- func_failure () { +- func_return 1 +- } +- func_ret_success () { +- return 0 +- } +- func_ret_failure () { +- return 1 +- } +- subshell_umask_sanity () { +- (umask 22; (umask 0); test $(umask) -eq 22) +- } +- test "$(echo foo)" = foo && +- func_success && +- ! func_failure && +- func_ret_success && +- ! func_ret_failure && +- (set x && func_ret_success y && test x = "$1") && +- subshell_umask_sanity +- ' +- for gl_cv_posix_shell in \ +- "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do +- case $gl_cv_posix_shell in +- /*) +- "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \ +- && break;; +- esac +- done +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_posix_shell" >&5 +-$as_echo "$gl_cv_posix_shell" >&6; } +- +- if test "$gl_cv_posix_shell" != no; then +- POSIX_SHELL=$gl_cv_posix_shell +- PREFERABLY_POSIX_SHELL=$POSIX_SHELL +- else +- POSIX_SHELL= +- PREFERABLY_POSIX_SHELL=/bin/sh +- fi +- +- +- +- +- +- +-for ac_func in random_r +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +-done +- +- if test $ac_cv_func_random_r = no; then +- HAVE_RANDOM_R=0 +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS random_r.$ac_objext" +- +- +- : +- +- fi +- +- +- +- GNULIB_RANDOM_R=1 +- +- +- +- if test $gl_cv_func_malloc_posix = yes; then +- HAVE_REALLOC_POSIX=1 +- +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_REALLOC_POSIX 1 +-_ACEOF +- +- else +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" +- +- HAVE_REALLOC_POSIX=0 +- fi +- +- +- +- +- GNULIB_REALLOC_POSIX=1 +- +- +- if test "$ac_cv_header_winsock2_h" = yes; then +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS recv.$ac_objext" +- +- fi +- +- +- GNULIB_RECV=1 +- +- +- +- if test "$ac_cv_header_winsock2_h" = yes; then +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" +- +- else +- +- : +- +- +- +- +- +- { $as_echo "$as_me:$LINENO: checking whether select supports a 0 argument" >&5 +-$as_echo_n "checking whether select supports a 0 argument... " >&6; } +-if test "${gl_cv_func_select_supports0+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- +- if test "$cross_compiling" = yes; then +- +- case "$host_os" in +- # Guess no on Interix. +- interix*) gl_cv_func_select_supports0="guessing no";; +- # Guess yes otherwise. +- *) gl_cv_func_select_supports0="guessing yes";; +- esac +- +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#include +-#include +-#if HAVE_SYS_SELECT_H +-#include +-#endif +-int main () +-{ +- struct timeval timeout; +- timeout.tv_sec = 0; +- timeout.tv_usec = 5; +- return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_func_select_supports0=yes +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-gl_cv_func_select_supports0=no +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_select_supports0" >&5 +-$as_echo "$gl_cv_func_select_supports0" >&6; } +- case "$gl_cv_func_select_supports0" in +- *yes) ;; +- *) +- REPLACE_SELECT=1 +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" +- +- ;; +- esac +- fi +- +- +- +- GNULIB_SELECT=1 +- +- +- if test "$ac_cv_header_winsock2_h" = yes; then +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS send.$ac_objext" +- +- fi +- +- +- GNULIB_SEND=1 +- +- +- SERVENT_LIB= +- gl_saved_libs="$LIBS" +- { $as_echo "$as_me:$LINENO: checking for library containing getservbyname" >&5 +-$as_echo_n "checking for library containing getservbyname... " >&6; } +-if test "${ac_cv_search_getservbyname+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_func_search_save_LIBS=$LIBS +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char getservbyname (); +-int +-main () +-{ +-return getservbyname (); +- ; +- return 0; +-} +-_ACEOF +-for ac_lib in '' socket network net; do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_search_getservbyname=$ac_res +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext +- if test "${ac_cv_search_getservbyname+set}" = set; then +- break +-fi +-done +-if test "${ac_cv_search_getservbyname+set}" = set; then +- : +-else +- ac_cv_search_getservbyname=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_getservbyname" >&5 +-$as_echo "$ac_cv_search_getservbyname" >&6; } +-ac_res=$ac_cv_search_getservbyname +-if test "$ac_res" != no; then +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- if test "$ac_cv_search_getservbyname" != "none required"; then +- SERVENT_LIB="$ac_cv_search_getservbyname" +- fi +-fi +- +- LIBS="$gl_saved_libs" +- if test -z "$SERVENT_LIB"; then +- +-for ac_func in getservbyname +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF +- +-else +- +- { $as_echo "$as_me:$LINENO: checking for getservbyname in winsock2.h and -lws2_32" >&5 +-$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } +-if test "${gl_cv_w32_getservbyname+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- gl_cv_w32_getservbyname=no +- gl_save_LIBS="$LIBS" +- LIBS="$LIBS -lws2_32" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#ifdef HAVE_WINSOCK2_H +-#include +-#endif +-#include +- +-int +-main () +-{ +-getservbyname(NULL,NULL); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- gl_cv_w32_getservbyname=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +- LIBS="$gl_save_LIBS" +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_w32_getservbyname" >&5 +-$as_echo "$gl_cv_w32_getservbyname" >&6; } +- if test "$gl_cv_w32_getservbyname" = "yes"; then +- SERVENT_LIB="-lws2_32" +- fi +- +-fi +-done +- +- fi +- +- +- +- if test "$ac_cv_header_winsock2_h" = yes; then +- +- +- +- +- +- +- +- +- gl_LIBOBJS="$gl_LIBOBJS setsockopt.$ac_objext" +- +- fi +- +- +- GNULIB_SETSOCKOPT=1 +- +- +- +-for ac_header in stdint.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- { $as_echo "$as_me:$LINENO: checking for SIZE_MAX" >&5 +-$as_echo_n "checking for SIZE_MAX... " >&6; } +- result= +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#include +-#if HAVE_STDINT_H +-#include +-#endif +-#ifdef SIZE_MAX +-Found it +-#endif +- +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "Found it" >/dev/null 2>&1; then +- result=yes +-fi +-rm -f conftest* +- +- if test -z "$result"; then +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_lo=0 ac_mid=0 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_hi=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo=`expr $ac_mid + 1` +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid + 1` +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_lo=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_hi=`expr '(' $ac_mid ')' - 1` +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid` +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo= ac_hi= +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_hi=$ac_mid +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo=`expr '(' $ac_mid ')' + 1` +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-done +-case $ac_lo in +-?*) res_hi=$ac_lo;; +-'') result=? ;; +-esac +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-static long int longval () { return ~(size_t)0 / 10; } +-static unsigned long int ulongval () { return ~(size_t)0 / 10; } +-#include +-#include +-int +-main () +-{ +- +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if ((~(size_t)0 / 10) < 0) +- { +- long int i = longval (); +- if (i != (~(size_t)0 / 10)) +- return 1; +- fprintf (f, "%ld", i); +- } +- else +- { +- unsigned long int i = ulongval (); +- if (i != (~(size_t)0 / 10)) +- return 1; +- fprintf (f, "%lu", i); +- } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; +- +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- res_hi=`cat conftest.val` +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-result=? +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +-rm -f conftest.val +- +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_lo=0 ac_mid=0 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_hi=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo=`expr $ac_mid + 1` +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid + 1` +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_lo=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_hi=`expr '(' $ac_mid ')' - 1` +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid` +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5 ++$as_echo_n "checking whether select supports a 0 argument... " >&6; } ++if test "${gl_cv_func_select_supports0+set}" = set; then : ++ $as_echo_n "(cached) " >&6 + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_lo= ac_hi= +-fi ++ if test "$cross_compiling" = yes; then : + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi ++ case "$host_os" in ++ # Guess no on Interix. ++ interix*) gl_cv_func_select_supports0="guessing no";; ++ # Guess yes otherwise. ++ *) gl_cv_func_select_supports0="guessing yes";; ++ esac + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)]; +-test_array [0] = 0 + +- ; +- return 0; ++#include ++#include ++#if HAVE_SYS_SELECT_H ++#include ++#endif ++int main () ++{ ++ struct timeval timeout; ++ timeout.tv_sec = 0; ++ timeout.tv_usec = 5; ++ return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 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 +- ac_hi=$ac_mid ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_select_supports0=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ gl_cv_func_select_supports0=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ + +- ac_lo=`expr '(' $ac_mid ')' + 1` + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5 ++$as_echo "$gl_cv_func_select_supports0" >&6; } ++ case "$gl_cv_func_select_supports0" in ++ *yes) ;; ++ *) ++ REPLACE_SELECT=1 + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-done +-case $ac_lo in +-?*) res_lo=$ac_lo;; +-'') result=? ;; +-esac ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" ++ ++ ;; ++ esac ++ fi ++ ++ ++ ++ GNULIB_SELECT=1 ++ ++ ++ if test "$ac_cv_header_winsock2_h" = yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS send.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_SEND=1 ++ ++ ++ SERVENT_LIB= ++ gl_saved_libs="$LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 ++$as_echo_n "checking for library containing getservbyname... " >&6; } ++if test "${ac_cv_search_getservbyname+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 ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +-static long int longval () { return ~(size_t)0 % 10; } +-static unsigned long int ulongval () { return ~(size_t)0 % 10; } +-#include +-#include ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char getservbyname (); + int + main () + { +- +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if ((~(size_t)0 % 10) < 0) +- { +- long int i = longval (); +- if (i != (~(size_t)0 % 10)) +- return 1; +- fprintf (f, "%ld", i); +- } +- else +- { +- unsigned long int i = ulongval (); +- if (i != (~(size_t)0 % 10)) +- return 1; +- fprintf (f, "%lu", i); +- } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; +- ++return getservbyname (); + ; + return 0; + } + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- res_lo=`cat conftest.val` +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++for ac_lib in '' socket network net; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_getservbyname=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_getservbyname+set}" = set; then : ++ break ++fi ++done ++if test "${ac_cv_search_getservbyname+set}" = set; then : + +-( exit $ac_status ) +-result=? ++else ++ ac_cv_search_getservbyname=no + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 ++$as_echo "$ac_cv_search_getservbyname" >&6; } ++ac_res=$ac_cv_search_getservbyname ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ if test "$ac_cv_search_getservbyname" != "none required"; then ++ SERVENT_LIB="$ac_cv_search_getservbyname" ++ fi + fi +-rm -f conftest.val + +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++ LIBS="$gl_saved_libs" ++ if test -z "$SERVENT_LIB"; then ++ for ac_func in getservbyname ++do : ++ ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" ++if test "x$ac_cv_func_getservbyname" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_GETSERVBYNAME 1 + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_lo=0 ac_mid=0 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 ++$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } ++if test "${gl_cv_w32_getservbyname+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_w32_getservbyname=no ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lws2_32" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ ++ ++#ifdef HAVE_WINSOCK2_H ++#include ++#endif + #include ++ + int + main () + { +-static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)]; +-test_array [0] = 0 +- ++getservbyname(NULL,NULL); + ; + 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 +- ac_hi=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_w32_getservbyname=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" + +- ac_lo=`expr $ac_mid + 1` +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid + 1` + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 ++$as_echo "$gl_cv_w32_getservbyname" >&6; } ++ if test "$gl_cv_w32_getservbyname" = "yes"; then ++ SERVENT_LIB="-lws2_32" ++ fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++fi ++done + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)]; +-test_array [0] = 0 ++ fi + +- ; +- 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 +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_lo=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_hi=`expr '(' $ac_mid ')' - 1` +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid` +-fi ++ if test "$ac_cv_header_winsock2_h" = yes; then + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_lo= ac_hi= +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)]; +-test_array [0] = 0 + +- ; +- return 0; +-} ++ ++ ++ ++ gl_LIBOBJS="$gl_LIBOBJS setsockopt.$ac_objext" ++ ++ fi ++ ++ ++ GNULIB_SETSOCKOPT=1 ++ ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_STDINT_H 1 + _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 +- ac_hi=$ac_mid +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_lo=`expr '(' $ac_mid ')' + 1` + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +-case $ac_lo in +-?*) fits_in_uint=$ac_lo;; +-'') result=? ;; +-esac +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 ++$as_echo_n "checking for SIZE_MAX... " >&6; } ++ result= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +-static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); } +-static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); } +-#include +-#include +-int +-main () +-{ + +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if ((sizeof (size_t) <= sizeof (unsigned int)) < 0) +- { +- long int i = longval (); +- if (i != (sizeof (size_t) <= sizeof (unsigned int))) +- return 1; +- fprintf (f, "%ld", i); +- } +- else +- { +- unsigned long int i = ulongval (); +- if (i != (sizeof (size_t) <= sizeof (unsigned int))) +- return 1; +- fprintf (f, "%lu", i); +- } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; ++#include ++#if HAVE_STDINT_H ++#include ++#endif ++#ifdef SIZE_MAX ++Found it ++#endif + +- ; +- return 0; +-} + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- fits_in_uint=`cat conftest.val` ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Found it" >/dev/null 2>&1; then : ++ result=yes ++fi ++rm -f conftest* ++ ++ if test -z "$result"; then ++ if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi" "#include "; then : ++ + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ result=? ++fi ++ + +-( exit $ac_status ) +-result=? ++ if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo" "#include "; then : ++ ++else ++ result=? + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++ ++ ++ if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : ++ ++else ++ result=? + fi +-rm -f conftest.val ++ + + if test "$fits_in_uint" = 1; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + extern size_t foo; +@@ -22916,32 +12236,9 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + fits_in_uint=0 +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test -z "$result"; then +@@ -22954,7 +12251,7 @@ + result='~(size_t)0' + fi + fi +- { $as_echo "$as_me:$LINENO: result: $result" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5 + $as_echo "$result" >&6; } + if test "$result" != yes; then + +@@ -22967,102 +12264,12 @@ + + + gl_cv_func_snprintf_usable=no +- +-for ac_func in snprintf +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in snprintf ++do : ++ ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" ++if test "x$ac_cv_func_snprintf" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_SNPRINTF 1 + _ACEOF + + fi +@@ -23071,20 +12278,16 @@ + if test $ac_cv_func_snprintf = yes; then + + +- { $as_echo "$as_me:$LINENO: checking whether snprintf respects a size of 1" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 + $as_echo_n "checking whether snprintf respects a size of 1... " >&6; } +-if test "${gl_cv_func_snprintf_size1+set}" = set; then ++if test "${gl_cv_func_snprintf_size1+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + +- if test "$cross_compiling" = yes; then ++ if test "$cross_compiling" = yes; then : + gl_cv_func_snprintf_size1="guessing yes" + else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include +@@ -23095,45 +12298,18 @@ + return buf[1] != 'E'; + } + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then ++if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_snprintf_size1=yes + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-gl_cv_func_snprintf_size1=no ++ gl_cv_func_snprintf_size1=no + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + +- + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_snprintf_size1" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 + $as_echo "$gl_cv_func_snprintf_size1" >&6; } + + case "$gl_cv_func_snprintf_size1" in +@@ -23188,123 +12364,24 @@ + + gl_LIBOBJS="$gl_LIBOBJS socket.$ac_objext" + +- fi +- +- +- GNULIB_SOCKET=1 +- +- { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5 +-$as_echo_n "checking for socklen_t... " >&6; } +-if test "${ac_cv_type_socklen_t+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_socklen_t=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- #if HAVE_SYS_SOCKET_H +- # include +- #elif HAVE_WS2TCPIP_H +- # include +- #endif ++ fi + +-int +-main () +-{ +-if (sizeof (socklen_t)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include ++ ++ GNULIB_SOCKET=1 ++ ++ ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include + #if HAVE_SYS_SOCKET_H + # include + #elif HAVE_WS2TCPIP_H + # include + #endif ++" ++if test "x$ac_cv_type_socklen_t" = x""yes; then : + +-int +-main () +-{ +-if (sizeof ((socklen_t))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_socklen_t=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 +-$as_echo "$ac_cv_type_socklen_t" >&6; } +-if test "x$ac_cv_type_socklen_t" = x""yes; then +- : + else +- { $as_echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 + $as_echo_n "checking for socklen_t equivalent... " >&6; } +- if test "${gl_cv_socklen_t_equiv+set}" = set; then ++ if test "${gl_cv_socklen_t_equiv+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + # Systems have either "struct sockaddr *" or +@@ -23312,11 +12389,7 @@ + gl_cv_socklen_t_equiv= + for arg2 in "struct sockaddr" void; do + for t in int size_t "unsigned int" "long int" "unsigned long int"; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include +@@ -23331,32 +12404,9 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_socklen_t_equiv="$t" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$gl_cv_socklen_t_equiv" != "" && break + done +@@ -23366,11 +12416,9 @@ + fi + + if test "$gl_cv_socklen_t_equiv" = ""; then +- { { $as_echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5 +-$as_echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "Cannot find a type to use in place of socklen_t" "$LINENO" 5 + fi +- { $as_echo "$as_me:$LINENO: result: $gl_cv_socklen_t_equiv" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 + $as_echo "$gl_cv_socklen_t_equiv" >&6; } + + cat >>confdefs.h <<_ACEOF +@@ -23444,18 +12492,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdint_h='<'stdint.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_stdint_h+set}" = set; then ++if test "${gl_cv_next_stdint_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_stdint_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -23476,7 +12520,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_stdint_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 + $as_echo "$gl_cv_next_stdint_h" >&6; } + fi + NEXT_STDINT_H=$gl_cv_next_stdint_h +@@ -23500,20 +12544,16 @@ + + + if test $ac_cv_header_stdint_h = yes; then +- { $as_echo "$as_me:$LINENO: checking whether stdint.h conforms to C99" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 + $as_echo_n "checking whether stdint.h conforms to C99... " >&6; } +-if test "${gl_cv_header_working_stdint_h+set}" = set; then ++if test "${gl_cv_header_working_stdint_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + gl_cv_header_working_stdint_h=no +- cat >conftest.$ac_ext <<_ACEOF +- +- /* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++ + #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ + #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ + #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +@@ -23673,647 +12713,21 @@ + 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 +- if test "$cross_compiling" = yes; then ++if ac_fn_c_try_compile "$LINENO"; then : ++ if test "$cross_compiling" = yes; then : + gl_cv_header_working_stdint_h=yes + + else +- cat >conftest.$ac_ext <<_ACEOF +- +- /* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++ + #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ + #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ + #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ + #include + +- +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif +- +- +-#include +-#include +-#define MVAL(macro) MVAL1(macro) +-#define MVAL1(expression) #expression +-static const char *macro_values[] = +- { +-#ifdef INT8_MAX +- MVAL (INT8_MAX), +-#endif +-#ifdef INT16_MAX +- MVAL (INT16_MAX), +-#endif +-#ifdef INT32_MAX +- MVAL (INT32_MAX), +-#endif +-#ifdef INT64_MAX +- MVAL (INT64_MAX), +-#endif +-#ifdef UINT8_MAX +- MVAL (UINT8_MAX), +-#endif +-#ifdef UINT16_MAX +- MVAL (UINT16_MAX), +-#endif +-#ifdef UINT32_MAX +- MVAL (UINT32_MAX), +-#endif +-#ifdef UINT64_MAX +- MVAL (UINT64_MAX), +-#endif +- NULL +- }; +- +-int +-main () +-{ +- +- const char **mv; +- for (mv = macro_values; *mv != NULL; mv++) +- { +- const char *value = *mv; +- /* Test whether it looks like a cast expression. */ +- if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 +- || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 +- || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 +- || strncmp (value, "((int)"/*)*/, 6) == 0 +- || strncmp (value, "((signed short)"/*)*/, 15) == 0 +- || strncmp (value, "((signed char)"/*)*/, 14) == 0) +- return 1; +- } +- return 0; +- +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- gl_cv_header_working_stdint_h=yes +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +- +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_working_stdint_h" >&5 +-$as_echo "$gl_cv_header_working_stdint_h" >&6; } +- fi +- if test "$gl_cv_header_working_stdint_h" = yes; then +- STDINT_H= +- else +- +- +-for ac_header in sys/inttypes.h sys/bitypes.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-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 +- +-fi +- +-done +- +- if test $ac_cv_header_sys_inttypes_h = yes; then +- HAVE_SYS_INTTYPES_H=1 +- else +- HAVE_SYS_INTTYPES_H=0 +- fi +- +- if test $ac_cv_header_sys_bitypes_h = yes; then +- HAVE_SYS_BITYPES_H=1 +- else +- HAVE_SYS_BITYPES_H=0 +- fi +- +- +- +- : +- +- +- +- +- +- +- +- +- if test $APPLE_UNIVERSAL_BUILD = 0; then +- +- +- +- +- for gltype in ptrdiff_t size_t ; do +- { $as_echo "$as_me:$LINENO: checking for bit size of $gltype" >&5 +-$as_echo_n "checking for bit size of $gltype... " >&6; } +-if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then +- $as_echo_n "(cached) " >&6 +-else +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif +- +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= 0)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_lo=0 ac_mid=0 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif +- +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_hi=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo=`expr $ac_mid + 1` +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid + 1` +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif +- +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) < 0)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif +- +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_lo=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_hi=`expr '(' $ac_mid ')' - 1` +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid` +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo= ac_hi= +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif +- +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- 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 +- ac_hi=$ac_mid +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo=`expr '(' $ac_mid ')' + 1` +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-done +-case $ac_lo in +-?*) result=$ac_lo;; +-'') result=unknown ;; +-esac +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- ++ + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include +@@ -24324,277 +12738,128 @@ + # include + #endif + +-#include +-static long int longval () { return sizeof ($gltype) * CHAR_BIT; } +-static unsigned long int ulongval () { return sizeof ($gltype) * CHAR_BIT; } ++ + #include +-#include ++#include ++#define MVAL(macro) MVAL1(macro) ++#define MVAL1(expression) #expression ++static const char *macro_values[] = ++ { ++#ifdef INT8_MAX ++ MVAL (INT8_MAX), ++#endif ++#ifdef INT16_MAX ++ MVAL (INT16_MAX), ++#endif ++#ifdef INT32_MAX ++ MVAL (INT32_MAX), ++#endif ++#ifdef INT64_MAX ++ MVAL (INT64_MAX), ++#endif ++#ifdef UINT8_MAX ++ MVAL (UINT8_MAX), ++#endif ++#ifdef UINT16_MAX ++ MVAL (UINT16_MAX), ++#endif ++#ifdef UINT32_MAX ++ MVAL (UINT32_MAX), ++#endif ++#ifdef UINT64_MAX ++ MVAL (UINT64_MAX), ++#endif ++ NULL ++ }; ++ + int + main () + { + +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if ((sizeof ($gltype) * CHAR_BIT) < 0) +- { +- long int i = longval (); +- if (i != (sizeof ($gltype) * CHAR_BIT)) +- return 1; +- fprintf (f, "%ld", i); +- } +- else ++ const char **mv; ++ for (mv = macro_values; *mv != NULL; mv++) + { +- unsigned long int i = ulongval (); +- if (i != (sizeof ($gltype) * CHAR_BIT)) +- return 1; +- fprintf (f, "%lu", i); ++ const char *value = *mv; ++ /* Test whether it looks like a cast expression. */ ++ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 ++ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 ++ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 ++ || strncmp (value, "((int)"/*)*/, 6) == 0 ++ || strncmp (value, "((signed short)"/*)*/, 15) == 0 ++ || strncmp (value, "((signed char)"/*)*/, 14) == 0) ++ return 1; + } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; ++ return 0; + + ; + return 0; + } + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- result=`cat conftest.val` +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-result=unknown +-fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_header_working_stdint_h=yes + fi +-rm -f conftest.val +- eval gl_cv_bitsizeof_${gltype}=\$result +- ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-ac_res=`eval 'as_val=${'gl_cv_bitsizeof_${gltype}'} +- $as_echo "$as_val"'` +- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +- eval result=\$gl_cv_bitsizeof_${gltype} +- if test $result = unknown; then +- result=0 +- fi +- GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` +- cat >>confdefs.h <<_ACEOF +-#define BITSIZEOF_${GLTYPE} $result +-_ACEOF + +- eval BITSIZEOF_${GLTYPE}=\$result +- done + ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 ++$as_echo "$gl_cv_header_working_stdint_h" >&6; } + fi ++ if test "$gl_cv_header_working_stdint_h" = yes; then ++ STDINT_H= ++ else ++ for ac_header in sys/inttypes.h sys/bitypes.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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF + ++fi + ++done + ++ if test $ac_cv_header_sys_inttypes_h = yes; then ++ HAVE_SYS_INTTYPES_H=1 ++ else ++ HAVE_SYS_INTTYPES_H=0 ++ fi + ++ if test $ac_cv_header_sys_bitypes_h = yes; then ++ HAVE_SYS_BITYPES_H=1 ++ else ++ HAVE_SYS_BITYPES_H=0 ++ fi + +- for gltype in sig_atomic_t wchar_t wint_t ; do +- { $as_echo "$as_me:$LINENO: checking for bit size of $gltype" >&5 +-$as_echo_n "checking for bit size of $gltype... " >&6; } +-if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then +- $as_echo_n "(cached) " >&6 +-else +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif + +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= 0)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_lo=0 ac_mid=0 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++ : + +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif + +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_hi=$ac_mid; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_lo=`expr $ac_mid + 1` +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid + 1` +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif + +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) < 0)]; +-test_array [0] = 0 ++ if test $APPLE_UNIVERSAL_BUILD = 0; then + +- ; +- 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 +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include +@@ -24605,132 +12870,41 @@ + # include + #endif + +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= $ac_mid)]; +-test_array [0] = 0 ++#include "; then : + +- ; +- 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 +- ac_lo=$ac_mid; break + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_hi=`expr '(' $ac_mid ')' - 1` +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- ac_mid=`expr 2 '*' $ac_mid` ++ result=unknown + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_lo= ac_hi= +-fi ++ eval gl_cv_bitsizeof_${gltype}=\$result + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++#define BITSIZEOF_${GLTYPE} $result + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ + +- /* BSD/OS 4.0.1 has a bug: , and must be +- included before . */ +- #include +- #include +- #if HAVE_WCHAR_H +- # include +- # include +- # include +- #endif ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done + +-#include +-int +-main () +-{ +-static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)]; +-test_array [0] = 0 + +- ; +- 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 +- ac_hi=$ac_mid +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ fi + +- ac_lo=`expr '(' $ac_mid ')' + 1` +-fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-done +-case $ac_lo in +-?*) result=$ac_lo;; +-'') result=unknown ;; +-esac ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if { as_var=gl_cv_bitsizeof_${gltype}; 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. */ +- ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include +@@ -24741,81 +12915,17 @@ + # include + #endif + +-#include +-static long int longval () { return sizeof ($gltype) * CHAR_BIT; } +-static unsigned long int ulongval () { return sizeof ($gltype) * CHAR_BIT; } +-#include +-#include +-int +-main () +-{ +- +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if ((sizeof ($gltype) * CHAR_BIT) < 0) +- { +- long int i = longval (); +- if (i != (sizeof ($gltype) * CHAR_BIT)) +- return 1; +- fprintf (f, "%ld", i); +- } +- else +- { +- unsigned long int i = ulongval (); +- if (i != (sizeof ($gltype) * CHAR_BIT)) +- return 1; +- fprintf (f, "%lu", i); +- } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; ++#include "; then : + +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- result=`cat conftest.val` + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-result=unknown ++ result=unknown + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +-rm -f conftest.val ++ + eval gl_cv_bitsizeof_${gltype}=\$result + + fi +-ac_res=`eval 'as_val=${'gl_cv_bitsizeof_${gltype}'} +- $as_echo "$as_val"'` +- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } + eval result=\$gl_cv_bitsizeof_${gltype} + if test $result = unknown; then +@@ -24832,20 +12942,13 @@ + + + +- +- +- + for gltype in sig_atomic_t wchar_t wint_t ; do +- { $as_echo "$as_me:$LINENO: checking whether $gltype is signed" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 + $as_echo_n "checking whether $gltype is signed... " >&6; } +-if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then ++if { as_var=gl_cv_type_${gltype}_signed; 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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be +@@ -24867,39 +12970,17 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + result=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- result=no ++ result=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval gl_cv_type_${gltype}_signed=\$result + + fi +-ac_res=`eval 'as_val=${'gl_cv_type_${gltype}_signed'} +- $as_echo "$as_val"'` +- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++eval ac_res=\$gl_cv_type_${gltype}_signed ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } + eval result=\$gl_cv_type_${gltype}_signed + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` +@@ -24920,12 +13001,10 @@ + if test $APPLE_UNIVERSAL_BUILD = 0; then + + +- +- + for gltype in ptrdiff_t size_t ; do +- { $as_echo "$as_me:$LINENO: checking for $gltype integer literal suffix" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 + $as_echo_n "checking for $gltype integer literal suffix... " >&6; } +-if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then ++if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 + else + eval gl_cv_type_${gltype}_suffix=no +@@ -24946,11 +13025,7 @@ + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be +@@ -24973,40 +13048,16 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + eval gl_cv_type_${gltype}_suffix=\$glsuf +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done + fi +-ac_res=`eval 'as_val=${'gl_cv_type_${gltype}_suffix'} +- $as_echo "$as_val"'` +- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix +@@ -25022,13 +13073,10 @@ + fi + + +- +- +- + for gltype in sig_atomic_t wchar_t wint_t ; do +- { $as_echo "$as_me:$LINENO: checking for $gltype integer literal suffix" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 + $as_echo_n "checking for $gltype integer literal suffix... " >&6; } +-if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then ++if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 + else + eval gl_cv_type_${gltype}_suffix=no +@@ -25049,11 +13097,7 @@ + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be +@@ -25076,40 +13120,16 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + eval gl_cv_type_${gltype}_suffix=\$glsuf +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done + fi +-ac_res=`eval 'as_val=${'gl_cv_type_${gltype}_suffix'} +- $as_echo "$as_val"'` +- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix +@@ -25144,18 +13164,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdio_h='<'stdio.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_stdio_h+set}" = set; then ++if test "${gl_cv_next_stdio_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_stdio_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -25176,7 +13192,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_stdio_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 + $as_echo "$gl_cv_next_stdio_h" >&6; } + fi + NEXT_STDIO_H=$gl_cv_next_stdio_h +@@ -25221,18 +13237,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdlib_h='<'stdlib.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_stdlib_h+set}" = set; then ++if test "${gl_cv_next_stdlib_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_stdlib_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -25253,7 +13265,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_stdlib_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 + $as_echo "$gl_cv_next_stdlib_h" >&6; } + fi + NEXT_STDLIB_H=$gl_cv_next_stdlib_h +@@ -25269,179 +13281,32 @@ + + + ++ for ac_header in random.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default ++" ++if test "x$ac_cv_header_random_h" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_RANDOM_H 1 ++_ACEOF + +-for ac_header in random.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. */ +-$ac_includes_default +- +-#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 +- +-fi +- +-done +- +- if test $ac_cv_header_random_h = yes; then +- HAVE_RANDOM_H=1 +- else +- HAVE_RANDOM_H=0 +- fi +- +- { $as_echo "$as_me:$LINENO: checking for struct random_data" >&5 +-$as_echo_n "checking for struct random_data... " >&6; } +-if test "${ac_cv_type_struct_random_data+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_struct_random_data=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- #if HAVE_RANDOM_H +- # include +- #endif +- +- +-int +-main () +-{ +-if (sizeof (struct random_data)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- #if HAVE_RANDOM_H +- # include +- #endif +- +- +-int +-main () +-{ +-if (sizeof ((struct random_data))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_struct_random_data=yes + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++done + ++ if test $ac_cv_header_random_h = yes; then ++ HAVE_RANDOM_H=1 ++ else ++ HAVE_RANDOM_H=0 ++ fi + +-fi ++ ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include ++ #if HAVE_RANDOM_H ++ # include ++ #endif + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_random_data" >&5 +-$as_echo "$ac_cv_type_struct_random_data" >&6; } +-if test "x$ac_cv_type_struct_random_data" = x""yes; then ++" ++if test "x$ac_cv_type_struct_random_data" = x""yes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_STRUCT_RANDOM_DATA 1 +@@ -25467,102 +13332,12 @@ + + + +- +-for ac_func in stpcpy +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in stpcpy ++do : ++ ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy" ++if test "x$ac_cv_func_stpcpy" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_STPCPY 1 + _ACEOF + + else +@@ -25608,102 +13383,12 @@ + + + +- +-for ac_func in strdup +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in strdup ++do : ++ ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" ++if test "x$ac_cv_func_strdup" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_STRDUP 1 + _ACEOF + + else +@@ -25774,103 +13459,15 @@ + fi + + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. +- { $as_echo "$as_me:$LINENO: checking for working strndup" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 + $as_echo_n "checking for working strndup... " >&6; } +-if test "${gl_cv_func_strndup+set}" = set; then ++if test "${gl_cv_func_strndup+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- if test "$cross_compiling" = yes; then +- { $as_echo "$as_me:$LINENO: checking for strndup" >&5 +-$as_echo_n "checking for strndup... " >&6; } +-if test "${ac_cv_func_strndup+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. */ +-/* Define strndup to an innocuous variant, in case declares strndup. +- For example, HP-UX 11i declares gettimeofday. */ +-#define strndup innocuous_strndup +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char strndup (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef strndup +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char strndup (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_strndup || defined __stub___strndup +-choke me +-#endif +- +-int +-main () +-{ +-return strndup (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_strndup=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_strndup=no +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strndup" >&5 +-$as_echo "$ac_cv_func_strndup" >&6; } +-if test "x$ac_cv_func_strndup" = x""yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ if test "$cross_compiling" = yes; then : ++ ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" ++if test "x$ac_cv_func_strndup" = x""yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #ifdef _AIX +@@ -25879,7 +13476,7 @@ + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "too risky" >/dev/null 2>&1; then ++ $EGREP "too risky" >/dev/null 2>&1; then : + gl_cv_func_strndup=no + else + gl_cv_func_strndup=yes +@@ -25891,14 +13488,10 @@ + fi + + else +- cat >conftest.$ac_ext <<_ACEOF +- +- /* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++ ++ #include + #include + int + main () +@@ -25916,50 +13509,21 @@ + return 0; + } + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then ++if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_strndup=yes + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-gl_cv_func_strndup=no ++ gl_cv_func_strndup=no + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + +- + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_strndup" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup" >&5 + $as_echo "$gl_cv_func_strndup" >&6; } + if test $gl_cv_func_strndup = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_STRNDUP 1 +-_ACEOF ++$as_echo "#define HAVE_STRNDUP 1" >>confdefs.h + + else + HAVE_STRNDUP=0 +@@ -25995,19 +13559,15 @@ + HAVE_DECL_STRNLEN=0 + fi + +- { $as_echo "$as_me:$LINENO: checking for working strnlen" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 + $as_echo_n "checking for working strnlen... " >&6; } +-if test "${ac_cv_func_strnlen_working+set}" = set; then ++if test "${ac_cv_func_strnlen_working+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- if test "$cross_compiling" = yes; then ++ if test "$cross_compiling" = yes; then : + ac_cv_func_strnlen_working=no + else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + $ac_includes_default + int +@@ -26033,44 +13593,17 @@ + return 0; + } + _ACEOF +-rm -f conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (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_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then ++if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_strnlen_working=yes + else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +-$as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-ac_cv_func_strnlen_working=no ++ ac_cv_func_strnlen_working=no + fi +-rm -rf conftest.dSYM +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + +- + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 + $as_echo "$ac_cv_func_strnlen_working" >&6; } + test $ac_cv_func_strnlen_working = no && + +@@ -26089,9 +13622,7 @@ + # lib/strnlen.c. + #AC_LIBOBJ([strnlen]) + +-cat >>confdefs.h <<\_ACEOF +-#define strnlen rpl_strnlen +-_ACEOF ++$as_echo "#define strnlen rpl_strnlen" >>confdefs.h + + : + fi +@@ -26114,102 +13645,12 @@ + + + +- +-for ac_func in strsep +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in strsep ++do : ++ ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" ++if test "x$ac_cv_func_strsep" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_STRSEP 1 + _ACEOF + + else +@@ -26241,16 +13682,12 @@ + + if test $ac_cv_header_sys_ioctl_h = yes; then + HAVE_SYS_IOCTL_H=1 +- { $as_echo "$as_me:$LINENO: checking whether declares ioctl" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declares ioctl" >&5 + $as_echo_n "checking whether declares ioctl... " >&6; } +-if test "${gl_cv_decl_ioctl_in_sys_ioctl_h+set}" = set; then ++if test "${gl_cv_decl_ioctl_in_sys_ioctl_h+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -26262,36 +13699,15 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_decl_ioctl_in_sys_ioctl_h=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_decl_ioctl_in_sys_ioctl_h=no ++ gl_cv_decl_ioctl_in_sys_ioctl_h=no + fi +- + 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 "$as_me:${as_lineno-$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' +@@ -26316,18 +13732,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_ioctl_h+set}" = set; then ++if test "${gl_cv_next_sys_ioctl_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_sys_ioctl_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -26348,7 +13760,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_sys_ioctl_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_ioctl_h" >&5 + $as_echo "$gl_cv_next_sys_ioctl_h" >&6; } + fi + NEXT_SYS_IOCTL_H=$gl_cv_next_sys_ioctl_h +@@ -26365,62 +13777,17 @@ + + + +- { $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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done +-IFS=$as_save_IFS +- +-fi +- +- if test "${ac_cv_path_mkdir+set}" = set; then +- MKDIR_P="$ac_cv_path_mkdir -p" +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for MKDIR_P within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- test -d ./--version && rmdir ./--version +- MKDIR_P="$ac_install_sh -d" +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +-$as_echo "$MKDIR_P" >&6; } + + + + +- { $as_echo "$as_me:$LINENO: checking whether is self-contained" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 + $as_echo_n "checking whether is self-contained... " >&6; } +-if test "${gl_cv_header_sys_select_h_selfcontained+set}" = set; then ++if test "${gl_cv_header_sys_select_h_selfcontained+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +@@ -26431,36 +13798,15 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_sys_select_h_selfcontained=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_header_sys_select_h_selfcontained=no ++ gl_cv_header_sys_select_h_selfcontained=no + fi +- + 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 "$as_me:${as_lineno-$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='' +@@ -26481,18 +13827,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_select_h='<'sys/select.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_select_h+set}" = set; then ++if test "${gl_cv_next_sys_select_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_sys_select_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -26513,7 +13855,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_sys_select_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5 + $as_echo "$gl_cv_next_sys_select_h" >&6; } + fi + NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h +@@ -26546,146 +13888,12 @@ + + + if test $ac_cv_header_sys_socket_h != yes; then +- +-for ac_header in winsock2.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_WINSOCK2_H 1 + _ACEOF + + fi +@@ -26705,219 +13913,59 @@ + 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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done +-IFS=$as_save_IFS +- +-fi +- +- if test "${ac_cv_path_mkdir+set}" = set; then +- MKDIR_P="$ac_cv_path_mkdir -p" +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for MKDIR_P within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- test -d ./--version && rmdir ./--version +- MKDIR_P="$ac_install_sh -d" +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +-$as_echo "$MKDIR_P" >&6; } +- +- +- +- +- +- { $as_echo "$as_me:$LINENO: checking whether is self-contained" >&5 +-$as_echo_n "checking whether is self-contained... " >&6; } +-if test "${gl_cv_header_sys_socket_h_selfcontained+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 +-int +-main () +-{ +- +- ; +- 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 +- gl_cv_header_sys_socket_h_selfcontained=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_header_sys_socket_h_selfcontained=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 +-$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } +- if test $gl_cv_header_sys_socket_h_selfcontained = yes; then +- SYS_SOCKET_H='' +- +-for ac_func in shutdown +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ + +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif + +-#undef $ac_func + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif + ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 ++$as_echo_n "checking whether is self-contained... " >&6; } ++if test "${gl_cv_header_sys_socket_h_selfcontained+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include + int + main () + { +-return $ac_func (); ++ + ; + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_sys_socket_h_selfcontained=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" ++ gl_cv_header_sys_socket_h_selfcontained=no + fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext + fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 ++$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } ++ if test $gl_cv_header_sys_socket_h_selfcontained = yes; then ++ SYS_SOCKET_H='' ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_SHUTDOWN 1 + _ACEOF + + fi + done + + if test $ac_cv_func_shutdown = yes; then +- { $as_echo "$as_me:$LINENO: checking whether defines the SHUT_* macros" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 + $as_echo_n "checking whether defines the SHUT_* macros... " >&6; } +-if test "${gl_cv_header_sys_socket_h_shut+set}" = set; then ++if test "${gl_cv_header_sys_socket_h_shut+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +@@ -26928,36 +13976,15 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_sys_socket_h_shut=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_header_sys_socket_h_shut=no ++ gl_cv_header_sys_socket_h_shut=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_sys_socket_h_shut" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 + $as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } + if test $gl_cv_header_sys_socket_h_shut = no; then + SYS_SOCKET_H='sys/socket.h' +@@ -26983,18 +14010,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_socket_h='<'sys/socket.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_socket_h+set}" = set; then ++if test "${gl_cv_next_sys_socket_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_sys_socket_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -27015,7 +14038,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_sys_socket_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 + $as_echo "$gl_cv_next_sys_socket_h" >&6; } + fi + NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h +@@ -27036,146 +14059,12 @@ + HAVE_WS2TCPIP_H=0 + else + HAVE_SYS_SOCKET_H=0 +- +-for ac_header in ws2tcpip.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in ws2tcpip.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ++if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_WS2TCPIP_H 1 + _ACEOF + + fi +@@ -27191,65 +14080,7 @@ + + + +- { $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 +-$as_echo_n "checking for struct sockaddr_storage... " >&6; } +-if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_struct_sockaddr_storage=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* sys/types.h is not needed according to POSIX, but the +- sys/socket.h in i386-unknown-freebsd4.10 and +- powerpc-apple-darwin5.5 required it. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif +- +- +-int +-main () +-{ +-if (sizeof (struct sockaddr_storage)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- ++ ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " + /* sys/types.h is not needed according to POSIX, but the + sys/socket.h in i386-unknown-freebsd4.10 and + powerpc-apple-darwin5.5 required it. */ +@@ -27261,55 +14092,8 @@ + #include + #endif + +- +-int +-main () +-{ +-if (sizeof ((struct sockaddr_storage))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_struct_sockaddr_storage=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 +-$as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; } +-if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then ++" ++if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +@@ -27317,65 +14101,7 @@ + + + fi +-{ $as_echo "$as_me:$LINENO: checking for sa_family_t" >&5 +-$as_echo_n "checking for sa_family_t... " >&6; } +-if test "${ac_cv_type_sa_family_t+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_sa_family_t=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +- /* sys/types.h is not needed according to POSIX, but the +- sys/socket.h in i386-unknown-freebsd4.10 and +- powerpc-apple-darwin5.5 required it. */ +-#include +-#ifdef HAVE_SYS_SOCKET_H +-#include +-#endif +-#ifdef HAVE_WS2TCPIP_H +-#include +-#endif +- +- +-int +-main () +-{ +-if (sizeof (sa_family_t)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- ++ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " + /* sys/types.h is not needed according to POSIX, but the + sys/socket.h in i386-unknown-freebsd4.10 and + powerpc-apple-darwin5.5 required it. */ +@@ -27387,55 +14113,8 @@ + #include + #endif + +- +-int +-main () +-{ +-if (sizeof ((sa_family_t))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_sa_family_t=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5 +-$as_echo "$ac_cv_type_sa_family_t" >&6; } +-if test "x$ac_cv_type_sa_family_t" = x""yes; then ++" ++if test "x$ac_cv_type_sa_family_t" = x""yes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_SA_FAMILY_T 1 +@@ -27464,146 +14143,12 @@ + + + if test $ac_cv_header_sys_socket_h != yes; then +- +-for ac_header in winsock2.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_WINSOCK2_H 1 + _ACEOF + + fi +@@ -27623,47 +14168,6 @@ + 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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done +-IFS=$as_save_IFS +- +-fi +- +- if test "${ac_cv_path_mkdir+set}" = set; then +- MKDIR_P="$ac_cv_path_mkdir -p" +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for MKDIR_P within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- test -d ./--version && rmdir ./--version +- MKDIR_P="$ac_install_sh -d" +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +-$as_echo "$MKDIR_P" >&6; } + + + +@@ -27701,18 +14205,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_stat_h='<'sys/stat.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_stat_h+set}" = set; then ++if test "${gl_cv_next_sys_stat_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_sys_stat_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -27733,7 +14233,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_sys_stat_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 + $as_echo "$gl_cv_next_sys_stat_h" >&6; } + fi + NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h +@@ -27752,202 +14252,23 @@ + SYS_STAT_H='sys/stat.h' + + +- { $as_echo "$as_me:$LINENO: checking for nlink_t" >&5 +-$as_echo_n "checking for nlink_t... " >&6; } +-if test "${ac_cv_type_nlink_t+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_nlink_t=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- #include +- +-int +-main () +-{ +-if (sizeof (nlink_t)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include ++ ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include + #include ++" ++if test "x$ac_cv_type_nlink_t" = x""yes; then : + +-int +-main () +-{ +-if (sizeof ((nlink_t))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_nlink_t=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_nlink_t" >&5 +-$as_echo "$ac_cv_type_nlink_t" >&6; } +-if test "x$ac_cv_type_nlink_t" = x""yes; then +- : +-else +- +-cat >>confdefs.h <<\_ACEOF +-#define nlink_t int +-_ACEOF +- +-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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done +-IFS=$as_save_IFS +- +-fi +- +- if test "${ac_cv_path_mkdir+set}" = set; then +- MKDIR_P="$ac_cv_path_mkdir -p" +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for MKDIR_P within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- test -d ./--version && rmdir ./--version +- MKDIR_P="$ac_install_sh -d" +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +-$as_echo "$MKDIR_P" >&6; } +- +- +- +- +- { $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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 + else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done +-IFS=$as_save_IFS +- +-fi +- +- if test "${ac_cv_path_mkdir+set}" = set; then +- MKDIR_P="$ac_cv_path_mkdir -p" +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for MKDIR_P within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- test -d ./--version && rmdir ./--version +- MKDIR_P="$ac_install_sh -d" +- fi ++ ++$as_echo "#define nlink_t int" >>confdefs.h ++ + fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +-$as_echo "$MKDIR_P" >&6; } ++ ++ ++ ++ ++ ++ ++ + + + +@@ -27975,16 +14296,12 @@ + + + +- { $as_echo "$as_me:$LINENO: checking whether localtime_r is compatible with its POSIX signature" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5 + $as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; } +-if test "${gl_cv_time_r_posix+set}" = set; then ++if test "${gl_cv_time_r_posix+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +@@ -28001,35 +14318,14 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_time_r_posix=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_time_r_posix=no ++ gl_cv_time_r_posix=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_time_r_posix" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_r_posix" >&5 + $as_echo "$gl_cv_time_r_posix" >&6; } + if test $gl_cv_time_r_posix = yes; then + REPLACE_LOCALTIME_R=0 +@@ -28068,18 +14364,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_unistd_h='<'unistd.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_unistd_h+set}" = set; then ++if test "${gl_cv_next_unistd_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_unistd_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -28100,7 +14392,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_unistd_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 + $as_echo "$gl_cv_next_unistd_h" >&6; } + fi + NEXT_UNISTD_H=$gl_cv_next_unistd_h +@@ -28190,9 +14482,7 @@ + + if test $ac_cv_func_vasnprintf = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define REPLACE_VASNPRINTF 1 +-_ACEOF ++$as_echo "#define REPLACE_VASNPRINTF 1" >>confdefs.h + + fi + +@@ -28205,107 +14495,12 @@ + + + +- { $as_echo "$as_me:$LINENO: checking for ptrdiff_t" >&5 +-$as_echo_n "checking for ptrdiff_t... " >&6; } +-if test "${ac_cv_type_ptrdiff_t+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_ptrdiff_t=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-int +-main () +-{ +-if (sizeof (ptrdiff_t)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-int +-main () +-{ +-if (sizeof ((ptrdiff_t))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_ptrdiff_t=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi ++ ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" ++if test "x$ac_cv_type_ptrdiff_t" = x""yes; then : + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5 +-$as_echo "$ac_cv_type_ptrdiff_t" >&6; } +-if test "x$ac_cv_type_ptrdiff_t" = x""yes; then +- : + else + +-cat >>confdefs.h <<\_ACEOF +-#define ptrdiff_t long +-_ACEOF ++$as_echo "#define ptrdiff_t long" >>confdefs.h + + + fi +@@ -28319,102 +14514,12 @@ + fi + + +- +-for ac_func in vasprintf +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in vasprintf ++do : ++ ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" ++if test "x$ac_cv_func_vasprintf" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_VASPRINTF 1 + _ACEOF + + fi +@@ -28472,44 +14577,24 @@ + + + +- { $as_echo "$as_me:$LINENO: checking whether is standalone" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is standalone" >&5 + $as_echo_n "checking whether is standalone... " >&6; } +-if test "${gl_cv_header_wchar_h_standalone+set}" = set; then ++if test "${gl_cv_header_wchar_h_standalone+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- cat >conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + #include + 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 ++if ac_fn_c_try_compile "$LINENO"; 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 ++ 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 "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_standalone" >&5 + $as_echo "$gl_cv_header_wchar_h_standalone" >&6; } + + +@@ -28552,18 +14637,14 @@ + if test $gl_cv_have_include_next = yes; then + gl_cv_next_wchar_h='<'wchar.h'>' + else +- { $as_echo "$as_me:$LINENO: checking absolute name of " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_wchar_h+set}" = set; then ++if test "${gl_cv_next_wchar_h+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + if test $ac_cv_header_wchar_h = yes; then +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + +@@ -28584,7 +14665,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_next_wchar_h" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 + $as_echo "$gl_cv_next_wchar_h" >&6; } + fi + NEXT_WCHAR_H=$gl_cv_next_wchar_h +@@ -28603,146 +14684,12 @@ + + + +- +-for ac_header in stdint.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_STDINT_H 1 + _ACEOF + + fi +@@ -28857,146 +14804,12 @@ + + + if test $ac_cv_header_sys_socket_h != yes; then +- +-for ac_header in winsock2.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_WINSOCK2_H 1 + _ACEOF + + fi +@@ -29014,19 +14827,15 @@ + + LIBSOCKET= + if test $HAVE_WINSOCK2_H = 1; then +- { $as_echo "$as_me:$LINENO: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5 + $as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; } +-if test "${gl_cv_func_wsastartup+set}" = set; then ++if test "${gl_cv_func_wsastartup+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + gl_save_LIBS="$LIBS" + LIBS="$LIBS -lws2_32" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #ifdef HAVE_WINSOCK2_H +@@ -29044,64 +14853,33 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + gl_cv_func_wsastartup=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gl_cv_func_wsastartup=no ++ gl_cv_func_wsastartup=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS="$gl_save_LIBS" + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_wsastartup" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 + $as_echo "$gl_cv_func_wsastartup" >&6; } + if test "$gl_cv_func_wsastartup" = "yes"; then + +-cat >>confdefs.h <<\_ACEOF +-#define WINDOWS_SOCKETS 1 +-_ACEOF ++$as_echo "#define WINDOWS_SOCKETS 1" >>confdefs.h + + LIBSOCKET='-lws2_32' + fi + else +- { $as_echo "$as_me:$LINENO: checking for library containing setsockopt" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 + $as_echo_n "checking for library containing setsockopt... " >&6; } +-if test "${gl_cv_lib_socket+set}" = set; then ++if test "${gl_cv_lib_socket+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + gl_cv_lib_socket= +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + extern + #ifdef __cplusplus +@@ -29116,39 +14894,12 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if ac_fn_c_try_link "$LINENO"; then : + +- gl_save_LIBS="$LIBS" ++else ++ gl_save_LIBS="$LIBS" + LIBS="$gl_save_LIBS -lsocket" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + extern + #ifdef __cplusplus +@@ -29163,45 +14914,14 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + gl_cv_lib_socket="-lsocket" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$gl_cv_lib_socket"; then + LIBS="$gl_save_LIBS -lnetwork" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + extern + #ifdef __cplusplus +@@ -29216,45 +14936,14 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + gl_cv_lib_socket="-lnetwork" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$gl_cv_lib_socket"; then + LIBS="$gl_save_LIBS -lnet" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + extern + #ifdef __cplusplus +@@ -29269,53 +14958,24 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + gl_cv_lib_socket="-lnet" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi + fi + LIBS="$gl_save_LIBS" + + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$gl_cv_lib_socket"; then + gl_cv_lib_socket="none needed" + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $gl_cv_lib_socket" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 + $as_echo "$gl_cv_lib_socket" >&6; } + if test "$gl_cv_lib_socket" != "none needed"; then + LIBSOCKET="$gl_cv_lib_socket" +@@ -29327,16 +14987,12 @@ + + + +- { $as_echo "$as_me:$LINENO: checking for wchar_t" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 + $as_echo_n "checking for wchar_t... " >&6; } +-if test "${gt_cv_c_wchar_t+set}" = set; then ++if test "${gt_cv_c_wchar_t+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + wchar_t foo = (wchar_t)'\0'; +@@ -29348,55 +15004,28 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_wchar_t=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gt_cv_c_wchar_t=no ++ gt_cv_c_wchar_t=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 + $as_echo "$gt_cv_c_wchar_t" >&6; } + if test $gt_cv_c_wchar_t = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_WCHAR_T 1 +-_ACEOF ++$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h + + fi + + +- { $as_echo "$as_me:$LINENO: checking for wint_t" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 + $as_echo_n "checking for wint_t... " >&6; } +-if test "${gt_cv_c_wint_t+set}" = set; then ++if test "${gt_cv_c_wint_t+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + wint_t foo = (wchar_t)'\0'; +@@ -29408,140 +15037,27 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_wint_t=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gt_cv_c_wint_t=no ++ gt_cv_c_wint_t=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 + $as_echo "$gt_cv_c_wint_t" >&6; } + if test $gt_cv_c_wint_t = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_WINT_T 1 +-_ACEOF ++$as_echo "#define HAVE_WINT_T 1" >>confdefs.h + + fi + +- +-for ac_func in shutdown +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in shutdown ++do : ++ ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" ++if test "x$ac_cv_func_shutdown" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_SHUTDOWN 1 + _ACEOF + + fi +@@ -29570,9 +15086,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. + set dummy ${ac_tool_prefix}gcc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then ++if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -29583,24 +15099,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_CC="${ac_tool_prefix}gcc" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:$LINENO: result: $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -29610,9 +15126,9 @@ + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. + set dummy gcc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then ++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -29623,24 +15139,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_CC="gcc" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 + $as_echo "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -29649,7 +15165,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -29663,9 +15179,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. + set dummy ${ac_tool_prefix}cc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then ++if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -29676,24 +15192,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_CC="${ac_tool_prefix}cc" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:$LINENO: result: $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -29703,9 +15219,9 @@ + if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. + set dummy cc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then ++if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -29717,18 +15233,18 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + if test $ac_prog_rejected = yes; then +@@ -29747,10 +15263,10 @@ + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:$LINENO: result: $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -29762,9 +15278,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then ++if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -29775,24 +15291,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_CC="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:$LINENO: result: $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -29806,9 +15322,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then ++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -29819,24 +15335,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_CC="$ac_prog" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 + $as_echo "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -29849,7 +15365,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -29860,62 +15376,42 @@ + fi + + +-test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +-See \`config.log' for more details." >&5 +-$as_echo "$as_me: error: no acceptable C compiler found in \$PATH +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; }; } ++as_fn_error "no acceptable C compiler found in \$PATH ++See \`config.log' for more details." "$LINENO" 5; } + + # Provide some information about the compiler. +-$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 + set X $ac_compile + ac_compiler=$2 +-{ (ac_try="$ac_compiler --version >&5" +-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_compiler --version >&5") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } +-{ (ac_try="$ac_compiler -v >&5" +-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_compiler -v >&5") 2>&5 +- ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } +-{ (ac_try="$ac_compiler -V >&5" ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" + 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_compiler -V >&5") 2>&5 ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ rm -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done + +-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +-if test "${ac_cv_c_compiler_gnu+set}" = set; then ++if test "${ac_cv_c_compiler_gnu+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -29929,37 +15425,16 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_compiler_gnu=no ++ ac_compiler_gnu=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_c_compiler_gnu=$ac_compiler_gnu + + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 + $as_echo "$ac_cv_c_compiler_gnu" >&6; } + if test $ac_compiler_gnu = yes; then + GCC=yes +@@ -29968,20 +15443,16 @@ + fi + ac_test_CFLAGS=${CFLAGS+set} + ac_save_CFLAGS=$CFLAGS +-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 + $as_echo_n "checking whether $CC accepts -g... " >&6; } +-if test "${ac_cv_prog_cc_g+set}" = set; then ++if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -29992,35 +15463,11 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- CFLAGS="" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -30031,36 +15478,12 @@ + 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++if ac_fn_c_try_compile "$LINENO"; then : + +- ac_c_werror_flag=$ac_save_c_werror_flag ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -30071,42 +15494,17 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 + $as_echo "$ac_cv_prog_cc_g" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +@@ -30123,18 +15521,14 @@ + CFLAGS= + fi + fi +-{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +-if test "${ac_cv_prog_cc_c89+set}" = set; then ++if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_prog_cc_c89=no + ac_save_CC=$CC +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include +@@ -30191,32 +15585,9 @@ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" + do + CC="$ac_save_CC $ac_arg" +- 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 ++ if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break + done +@@ -30227,17 +15598,19 @@ + # AC_CACHE_VAL + case "x$ac_cv_prog_cc_c89" in + x) +- { $as_echo "$as_me:$LINENO: result: none needed" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 + $as_echo "none needed" >&6; } ;; + xno) +- { $as_echo "$as_me:$LINENO: result: unsupported" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 + $as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" +- { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 + $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; + esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : + ++fi + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' +@@ -30247,9 +15620,9 @@ + + depcc="$CC" am_compiler_list= + +-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then ++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +@@ -30275,11 +15648,6 @@ + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi +- am__universal=false +- case " $depcc " in #( +- *\ -arch\ *\ -arch\ *) am__universal=true ;; +- esac +- + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and +@@ -30297,17 +15665,7 @@ + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + +- # We check with `-c' and `-o' for the sake of the "dashmstdout" +- # mode. It turns out that the SunPro C++ compiler does not properly +- # handle `-M -o', and we need to detect this. Also, some Intel +- # versions had trouble with output in subdirs +- am__obj=sub/conftest.${OBJEXT-o} +- am__minus_obj="-o $am__obj" + case $depmode in +- gcc) +- # This depmode causes a compiler race in universal mode. +- test "$am__universal" = false || continue +- ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested +@@ -30317,23 +15675,19 @@ + break + fi + ;; +- msvisualcpp | msvcmsys) +- # This compiler won't grok `-c -o', but also, the minuso test has +- # not run yet. These depmodes are late enough in the game, and +- # so weak that their functioning should not be impacted. +- am__obj=conftest.${OBJEXT-o} +- am__minus_obj= +- ;; + none) break ;; + esac ++ # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle `-M -o', and we need to detect this. + if depmode=$depmode \ +- source=sub/conftest.c object=$am__obj \ ++ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ +- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ++ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && +- grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message +@@ -30357,7 +15711,7 @@ + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 + $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } + CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + +@@ -30375,16 +15729,12 @@ + + am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc + +-{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 + $as_echo_n "checking for an ANSI C-conforming const... " >&6; } +-if test "${ac_cv_c_const+set}" = set; then ++if test "${ac_cv_c_const+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -30444,62 +15794,35 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_const=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_c_const=no ++ ac_cv_c_const=no + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 + $as_echo "$ac_cv_c_const" >&6; } + if test $ac_cv_c_const = no; then + +-cat >>confdefs.h <<\_ACEOF +-#define const /**/ +-_ACEOF ++$as_echo "#define const /**/" >>confdefs.h + + fi + + +-{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 + $as_echo_n "checking for function prototypes... " >&6; } + if test "$ac_cv_prog_cc_c89" != no; then +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + +-cat >>confdefs.h <<\_ACEOF +-#define PROTOTYPES 1 +-_ACEOF ++$as_echo "#define PROTOTYPES 1" >>confdefs.h + + +-cat >>confdefs.h <<\_ACEOF +-#define __PROTOTYPES 1 +-_ACEOF ++$as_echo "#define __PROTOTYPES 1" >>confdefs.h + + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -30511,146 +15834,12 @@ + fi + # Ensure some checks needed by ansi2knr itself. + +- + for ac_header in string.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" ++if test "x$ac_cv_header_string_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_STRING_H 1 + _ACEOF + + fi +@@ -30658,9 +15847,7 @@ + done + + +-test "x$U" != "x" && { { $as_echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5 +-$as_echo "$as_me: error: Compiler not ANSI compliant" >&2;} +- { (exit 1); exit 1; }; } ++test "x$U" != "x" && as_fn_error "Compiler not ANSI compliant" "$LINENO" 5 + + enable_win32_dll=yes + +@@ -30669,9 +15856,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. + set dummy ${ac_tool_prefix}as; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_AS+set}" = set; then ++if test "${ac_cv_prog_AS+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$AS"; then +@@ -30682,24 +15869,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_AS="${ac_tool_prefix}as" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + AS=$ac_cv_prog_AS + if test -n "$AS"; then +- { $as_echo "$as_me:$LINENO: result: $AS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 + $as_echo "$AS" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -30709,9 +15896,9 @@ + ac_ct_AS=$AS + # Extract the first word of "as", so it can be a program name with args. + set dummy as; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_AS+set}" = set; then ++if test "${ac_cv_prog_ac_ct_AS+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_AS"; then +@@ -30722,24 +15909,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_AS="as" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_AS=$ac_cv_prog_ac_ct_AS + if test -n "$ac_ct_AS"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 + $as_echo "$ac_ct_AS" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -30748,7 +15935,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -30761,9 +15948,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. + set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_DLLTOOL+set}" = set; then ++if test "${ac_cv_prog_DLLTOOL+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$DLLTOOL"; then +@@ -30774,24 +15961,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_DLLTOOL="${ac_tool_prefix}dlltool" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + DLLTOOL=$ac_cv_prog_DLLTOOL + if test -n "$DLLTOOL"; then +- { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 + $as_echo "$DLLTOOL" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -30801,9 +15988,9 @@ + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. + set dummy dlltool; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then ++if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_DLLTOOL"; then +@@ -30814,24 +16001,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_DLLTOOL="dlltool" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL + if test -n "$ac_ct_DLLTOOL"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 + $as_echo "$ac_ct_DLLTOOL" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -30840,7 +16027,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -30853,9 +16040,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. + set dummy ${ac_tool_prefix}objdump; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OBJDUMP+set}" = set; then ++if test "${ac_cv_prog_OBJDUMP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$OBJDUMP"; then +@@ -30866,24 +16053,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_OBJDUMP="${ac_tool_prefix}objdump" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + OBJDUMP=$ac_cv_prog_OBJDUMP + if test -n "$OBJDUMP"; then +- { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 + $as_echo "$OBJDUMP" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -30893,9 +16080,9 @@ + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. + set dummy objdump; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then ++if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OBJDUMP"; then +@@ -30906,24 +16093,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_OBJDUMP="objdump" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP + if test -n "$ac_ct_OBJDUMP"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 + $as_echo "$ac_ct_OBJDUMP" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -30932,7 +16119,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -30968,7 +16155,7 @@ + + case `pwd` in + *\ * | *\ *) +- { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 + $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; + esac + +@@ -30991,9 +16178,9 @@ + + ltmain="$ac_aux_dir/ltmain.sh" + +-{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 + $as_echo_n "checking for a sed that does not truncate output... " >&6; } +-if test "${ac_cv_path_SED+set}" = set; then ++if test "${ac_cv_path_SED+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ +@@ -31001,7 +16188,7 @@ + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed +- $as_unset ac_script || ac_script= ++ { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST +@@ -31010,7 +16197,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in sed gsed; do ++ for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue +@@ -31030,7 +16217,7 @@ + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- ac_count=`expr $ac_count + 1` ++ as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" +@@ -31045,19 +16232,17 @@ + $ac_path_SED_found && break 3 + done + done +-done ++ done + IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then +- { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 +-$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi + else + ac_cv_path_SED=$SED + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 + $as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed +@@ -31075,9 +16260,9 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 + $as_echo_n "checking for fgrep... " >&6; } +-if test "${ac_cv_path_FGREP+set}" = set; then ++if test "${ac_cv_path_FGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 +@@ -31091,7 +16276,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in fgrep; do ++ for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue +@@ -31111,7 +16296,7 @@ + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- ac_count=`expr $ac_count + 1` ++ as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" +@@ -31126,12 +16311,10 @@ + $ac_path_FGREP_found && break 3 + done + done +-done ++ done + IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then +- { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +-$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi + else + ac_cv_path_FGREP=$FGREP +@@ -31139,7 +16322,7 @@ + + fi + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 + $as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + +@@ -31165,7 +16348,7 @@ + + + # Check whether --with-gnu-ld was given. +-if test "${with_gnu_ld+set}" = set; then ++if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes + else + with_gnu_ld=no +@@ -31174,7 +16357,7 @@ + ac_prog=ld + if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. +- { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 + $as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) +@@ -31204,13 +16387,13 @@ + ;; + esac + elif test "$with_gnu_ld" = yes; then +- { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 + $as_echo_n "checking for GNU ld... " >&6; } + else +- { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 + $as_echo_n "checking for non-GNU ld... " >&6; } + fi +-if test "${lt_cv_path_LD+set}" = set; then ++if test "${lt_cv_path_LD+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$LD"; then +@@ -31241,18 +16424,16 @@ + + LD="$lt_cv_path_LD" + if test -n "$LD"; then +- { $as_echo "$as_me:$LINENO: result: $LD" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 + $as_echo "$LD" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi +-test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +-$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} +- { (exit 1); exit 1; }; } +-{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 ++test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 + $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +-if test "${lt_cv_prog_gnu_ld+set}" = set; then ++if test "${lt_cv_prog_gnu_ld+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +@@ -31265,7 +16446,7 @@ + ;; + esac + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 + $as_echo "$lt_cv_prog_gnu_ld" >&6; } + with_gnu_ld=$lt_cv_prog_gnu_ld + +@@ -31277,9 +16458,9 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 + $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +-if test "${lt_cv_path_NM+set}" = set; then ++if test "${lt_cv_path_NM+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$NM"; then +@@ -31326,7 +16507,7 @@ + : ${lt_cv_path_NM=no} + fi + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 + $as_echo "$lt_cv_path_NM" >&6; } + if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +@@ -31337,9 +16518,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_DUMPBIN+set}" = set; then ++if test "${ac_cv_prog_DUMPBIN+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$DUMPBIN"; then +@@ -31350,24 +16531,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_DUMPBIN="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + DUMPBIN=$ac_cv_prog_DUMPBIN + if test -n "$DUMPBIN"; then +- { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 + $as_echo "$DUMPBIN" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -31381,9 +16562,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then ++if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_DUMPBIN"; then +@@ -31394,24 +16575,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_DUMPBIN="$ac_prog" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN + if test -n "$ac_ct_DUMPBIN"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 + $as_echo "$ac_ct_DUMPBIN" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -31424,7 +16605,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -31444,44 +16625,44 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 + $as_echo_n "checking the name lister ($NM) interface... " >&6; } +-if test "${lt_cv_nm_interface+set}" = set; then ++if test "${lt_cv_nm_interface+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext +- (eval echo "\"\$as_me:31454: $ac_compile\"" >&5) ++ (eval echo "\"\$as_me:16635: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 +- (eval echo "\"\$as_me:31457: $NM \\\"conftest.$ac_objext\\\"\"" >&5) ++ (eval echo "\"\$as_me:16638: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 +- (eval echo "\"\$as_me:31460: output\"" >&5) ++ (eval echo "\"\$as_me:16641: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 + $as_echo "$lt_cv_nm_interface" >&6; } + +-{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 + $as_echo_n "checking whether ln -s works... " >&6; } + LN_S=$as_ln_s + if test "$LN_S" = "ln -s"; then +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 + $as_echo "no, using $LN_S" >&6; } + fi + + # find the maximum length of command line arguments +-{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 + $as_echo_n "checking the maximum length of command line arguments... " >&6; } +-if test "${lt_cv_sys_max_cmd_len+set}" = set; then ++if test "${lt_cv_sys_max_cmd_len+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + i=0 +@@ -31599,10 +16780,10 @@ + fi + + if test -n $lt_cv_sys_max_cmd_len ; then +- { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 + $as_echo "$lt_cv_sys_max_cmd_len" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: none" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 + $as_echo "none" >&6; } + fi + max_cmd_len=$lt_cv_sys_max_cmd_len +@@ -31616,7 +16797,7 @@ + : ${MV="mv -f"} + : ${RM="rm -f"} + +-{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 + $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } + # Try some XSI features + xsi_shell=no +@@ -31626,17 +16807,17 @@ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +-{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 + $as_echo "$xsi_shell" >&6; } + + +-{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 + $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } + lt_shell_append=no + ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +-{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 + $as_echo "$lt_shell_append" >&6; } + + +@@ -31671,14 +16852,14 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 + $as_echo_n "checking for $LD option to reload object files... " >&6; } +-if test "${lt_cv_ld_reload_flag+set}" = set; then ++if test "${lt_cv_ld_reload_flag+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_ld_reload_flag='-r' + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 + $as_echo "$lt_cv_ld_reload_flag" >&6; } + reload_flag=$lt_cv_ld_reload_flag + case $reload_flag in +@@ -31707,9 +16888,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. + set dummy ${ac_tool_prefix}objdump; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OBJDUMP+set}" = set; then ++if test "${ac_cv_prog_OBJDUMP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$OBJDUMP"; then +@@ -31720,24 +16901,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_OBJDUMP="${ac_tool_prefix}objdump" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + OBJDUMP=$ac_cv_prog_OBJDUMP + if test -n "$OBJDUMP"; then +- { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 + $as_echo "$OBJDUMP" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -31747,9 +16928,9 @@ + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. + set dummy objdump; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then ++if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OBJDUMP"; then +@@ -31760,24 +16941,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_OBJDUMP="objdump" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP + if test -n "$ac_ct_OBJDUMP"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 + $as_echo "$ac_ct_OBJDUMP" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -31786,7 +16967,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -31803,9 +16984,9 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 + $as_echo_n "checking how to recognize dependent libraries... " >&6; } +-if test "${lt_cv_deplibs_check_method+set}" = set; then ++if test "${lt_cv_deplibs_check_method+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_file_magic_cmd='$MAGIC_CMD' +@@ -31999,7 +17180,7 @@ + esac + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 + $as_echo "$lt_cv_deplibs_check_method" >&6; } + file_magic_cmd=$lt_cv_file_magic_cmd + deplibs_check_method=$lt_cv_deplibs_check_method +@@ -32019,9 +17200,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. + set dummy ${ac_tool_prefix}ar; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_AR+set}" = set; then ++if test "${ac_cv_prog_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$AR"; then +@@ -32032,24 +17213,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_AR="${ac_tool_prefix}ar" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + AR=$ac_cv_prog_AR + if test -n "$AR"; then +- { $as_echo "$as_me:$LINENO: result: $AR" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 + $as_echo "$AR" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32059,9 +17240,9 @@ + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. + set dummy ar; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then ++if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_AR"; then +@@ -32072,24 +17253,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_AR="ar" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_AR=$ac_cv_prog_ac_ct_AR + if test -n "$ac_ct_AR"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 + $as_echo "$ac_ct_AR" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32098,7 +17279,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -32124,9 +17305,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. + set dummy ${ac_tool_prefix}strip; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_STRIP+set}" = set; then ++if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$STRIP"; then +@@ -32137,24 +17318,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_STRIP="${ac_tool_prefix}strip" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + STRIP=$ac_cv_prog_STRIP + if test -n "$STRIP"; then +- { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 + $as_echo "$STRIP" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32164,9 +17345,9 @@ + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. + set dummy strip; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then ++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_STRIP"; then +@@ -32177,24 +17358,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_STRIP="strip" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP + if test -n "$ac_ct_STRIP"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 + $as_echo "$ac_ct_STRIP" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32203,7 +17384,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -32223,9 +17404,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. + set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_RANLIB+set}" = set; then ++if test "${ac_cv_prog_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$RANLIB"; then +@@ -32236,24 +17417,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_RANLIB="${ac_tool_prefix}ranlib" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + RANLIB=$ac_cv_prog_RANLIB + if test -n "$RANLIB"; then +- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 + $as_echo "$RANLIB" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32263,9 +17444,9 @@ + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. + set dummy ranlib; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then ++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_RANLIB"; then +@@ -32276,24 +17457,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_RANLIB="ranlib" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB + if test -n "$ac_ct_RANLIB"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 + $as_echo "$ac_ct_RANLIB" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32302,7 +17483,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -32380,9 +17561,9 @@ + + + # Check for command to grab the raw symbol name followed by C symbol from nm. +-{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 + $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then ++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + +@@ -32498,18 +17679,18 @@ + int main(){nm_test_var='a';nm_test_func();return(0);} + _LT_EOF + +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm +- if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && test -s "$nlist"; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" +@@ -32562,11 +17743,11 @@ + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" +- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && test -s conftest${ac_exeext}; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" +@@ -32600,10 +17781,10 @@ + lt_cv_sys_global_symbol_to_cdecl= + fi + if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then +- { $as_echo "$as_me:$LINENO: result: failed" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 + $as_echo "failed" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: ok" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 + $as_echo "ok" >&6; } + fi + +@@ -32629,7 +17810,7 @@ + + + # Check whether --enable-libtool-lock was given. +-if test "${enable_libtool_lock+set}" = set; then ++if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; + fi + +@@ -32641,11 +17822,11 @@ + ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" +@@ -32659,12 +17840,12 @@ + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 32662 "configure"' > conftest.$ac_ext +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ echo '#line 17843 "configure"' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) +@@ -32698,11 +17879,11 @@ + s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in +@@ -32751,9 +17932,9 @@ + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" +- { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 + $as_echo_n "checking whether the C compiler needs -belf... " >&6; } +-if test "${lt_cv_cc_needs_belf+set}" = set; then ++if test "${lt_cv_cc_needs_belf+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_ext=c +@@ -32762,11 +17943,7 @@ + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu + +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -32777,38 +17954,13 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- lt_cv_cc_needs_belf=no ++ lt_cv_cc_needs_belf=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -32816,7 +17968,7 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 + $as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf +@@ -32826,11 +17978,11 @@ + sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in +@@ -32856,9 +18008,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. + set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then ++if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$DSYMUTIL"; then +@@ -32869,24 +18021,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + DSYMUTIL=$ac_cv_prog_DSYMUTIL + if test -n "$DSYMUTIL"; then +- { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 + $as_echo "$DSYMUTIL" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32896,9 +18048,9 @@ + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. + set dummy dsymutil; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then ++if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_DSYMUTIL"; then +@@ -32909,24 +18061,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_DSYMUTIL="dsymutil" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL + if test -n "$ac_ct_DSYMUTIL"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 + $as_echo "$ac_ct_DSYMUTIL" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32935,7 +18087,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -32948,9 +18100,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. + set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_NMEDIT+set}" = set; then ++if test "${ac_cv_prog_NMEDIT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$NMEDIT"; then +@@ -32961,24 +18113,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_NMEDIT="${ac_tool_prefix}nmedit" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + NMEDIT=$ac_cv_prog_NMEDIT + if test -n "$NMEDIT"; then +- { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 + $as_echo "$NMEDIT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -32988,9 +18140,9 @@ + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. + set dummy nmedit; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then ++if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_NMEDIT"; then +@@ -33001,24 +18153,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_NMEDIT="nmedit" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT + if test -n "$ac_ct_NMEDIT"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 + $as_echo "$ac_ct_NMEDIT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -33027,7 +18179,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -33040,9 +18192,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. + set dummy ${ac_tool_prefix}lipo; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_LIPO+set}" = set; then ++if test "${ac_cv_prog_LIPO+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$LIPO"; then +@@ -33053,24 +18205,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_LIPO="${ac_tool_prefix}lipo" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + LIPO=$ac_cv_prog_LIPO + if test -n "$LIPO"; then +- { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 + $as_echo "$LIPO" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -33080,9 +18232,9 @@ + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. + set dummy lipo; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then ++if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_LIPO"; then +@@ -33093,24 +18245,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_LIPO="lipo" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO + if test -n "$ac_ct_LIPO"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 + $as_echo "$ac_ct_LIPO" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -33119,7 +18271,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -33132,9 +18284,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. + set dummy ${ac_tool_prefix}otool; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OTOOL+set}" = set; then ++if test "${ac_cv_prog_OTOOL+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$OTOOL"; then +@@ -33145,24 +18297,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_OTOOL="${ac_tool_prefix}otool" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + OTOOL=$ac_cv_prog_OTOOL + if test -n "$OTOOL"; then +- { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 + $as_echo "$OTOOL" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -33172,9 +18324,9 @@ + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. + set dummy otool; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then ++if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OTOOL"; then +@@ -33185,24 +18337,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_OTOOL="otool" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL + if test -n "$ac_ct_OTOOL"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 + $as_echo "$ac_ct_OTOOL" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -33211,7 +18363,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -33224,9 +18376,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. + set dummy ${ac_tool_prefix}otool64; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OTOOL64+set}" = set; then ++if test "${ac_cv_prog_OTOOL64+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$OTOOL64"; then +@@ -33237,24 +18389,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_OTOOL64="${ac_tool_prefix}otool64" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + OTOOL64=$ac_cv_prog_OTOOL64 + if test -n "$OTOOL64"; then +- { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 + $as_echo "$OTOOL64" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -33264,9 +18416,9 @@ + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. + set dummy otool64; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then ++if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OTOOL64"; then +@@ -33277,24 +18429,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_OTOOL64="otool64" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 + if test -n "$ac_ct_OTOOL64"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 + $as_echo "$ac_ct_OTOOL64" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -33303,7 +18455,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -33339,9 +18491,9 @@ + + + +- { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 + $as_echo_n "checking for -single_module linker flag... " >&6; } +-if test "${lt_cv_apple_cc_single_mod+set}" = set; then ++if test "${lt_cv_apple_cc_single_mod+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_apple_cc_single_mod=no +@@ -33366,22 +18518,18 @@ + rm -f conftest.* + fi + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 + $as_echo "$lt_cv_apple_cc_single_mod" >&6; } +- { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 + $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then ++if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -33392,42 +18540,17 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- lt_cv_ld_exported_symbols_list=no ++ lt_cv_ld_exported_symbols_list=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 + $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) +@@ -33464,62 +18587,13 @@ + ;; + esac + +- + for ac_header in dlfcn.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. */ +-$ac_includes_default +- +-#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 ++do : ++ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default ++" ++if test "x$ac_cv_header_dlfcn_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_DLFCN_H 1 + _ACEOF + + fi +@@ -33537,7 +18611,7 @@ + + + # Check whether --enable-shared was given. +-if test "${enable_shared+set}" = set; then ++if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; +@@ -33568,7 +18642,7 @@ + + + # Check whether --enable-static was given. +-if test "${enable_static+set}" = set; then ++if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; +@@ -33600,7 +18674,7 @@ + + + # Check whether --with-pic was given. +-if test "${with_pic+set}" = set; then ++if test "${with_pic+set}" = set; then : + withval=$with_pic; pic_mode="$withval" + else + pic_mode=default +@@ -33616,7 +18690,7 @@ + + + # Check whether --enable-fast-install was given. +-if test "${enable_fast_install+set}" = set; then ++if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; +@@ -33697,9 +18771,9 @@ + setopt NO_GLOB_SUBST + fi + +-{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 + $as_echo_n "checking for objdir... " >&6; } +-if test "${lt_cv_objdir+set}" = set; then ++if test "${lt_cv_objdir+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + rm -f .libs 2>/dev/null +@@ -33712,7 +18786,7 @@ + fi + rmdir .libs 2>/dev/null + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 + $as_echo "$lt_cv_objdir" >&6; } + objdir=$lt_cv_objdir + +@@ -33805,9 +18879,9 @@ + case $deplibs_check_method in + file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then +- { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 + $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then ++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $MAGIC_CMD in +@@ -33858,10 +18932,10 @@ + + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if test -n "$MAGIC_CMD"; then +- { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 + $as_echo "$MAGIC_CMD" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -33871,9 +18945,9 @@ + + if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then +- { $as_echo "$as_me:$LINENO: checking for file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 + $as_echo_n "checking for file... " >&6; } +-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then ++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $MAGIC_CMD in +@@ -33924,10 +18998,10 @@ + + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if test -n "$MAGIC_CMD"; then +- { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 + $as_echo "$MAGIC_CMD" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -34008,9 +19082,9 @@ + if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + +- { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 + $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then ++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_rtti_exceptions=no +@@ -34026,11 +19100,11 @@ + -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:34029: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:19103: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:34033: \$? = $ac_status" >&5 ++ echo "$as_me:19107: \$? = $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. +@@ -34043,7 +19117,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 + $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + + if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then +@@ -34063,7 +19137,7 @@ + lt_prog_compiler_pic= + lt_prog_compiler_static= + +-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then +@@ -34335,7 +19409,7 @@ + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; + esac +-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 + $as_echo "$lt_prog_compiler_pic" >&6; } + + +@@ -34347,9 +19421,9 @@ + # Check to make sure the PIC flag actually works. + # + if test -n "$lt_prog_compiler_pic"; then +- { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 + $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_pic_works=no +@@ -34365,11 +19439,11 @@ + -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:34368: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:19442: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:34372: \$? = $ac_status" >&5 ++ echo "$as_me:19446: \$? = $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. +@@ -34382,7 +19456,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 + $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + + if test x"$lt_cv_prog_compiler_pic_works" = xyes; then +@@ -34406,9 +19480,9 @@ + # Check to make sure the static flag actually works. + # + wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +-if test "${lt_cv_prog_compiler_static_works+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_static_works=no +@@ -34434,7 +19508,7 @@ + LDFLAGS="$save_LDFLAGS" + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 + $as_echo "$lt_cv_prog_compiler_static_works" >&6; } + + if test x"$lt_cv_prog_compiler_static_works" = xyes; then +@@ -34449,9 +19523,9 @@ + + + +- { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 + $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +-if test "${lt_cv_prog_compiler_c_o+set}" = set; then ++if test "${lt_cv_prog_compiler_c_o+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_c_o=no +@@ -34470,11 +19544,11 @@ + -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:34473: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:19547: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:34477: \$? = $ac_status" >&5 ++ echo "$as_me:19551: \$? = $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 +@@ -34496,7 +19570,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 + $as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + +@@ -34504,9 +19578,9 @@ + + + +- { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 + $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +-if test "${lt_cv_prog_compiler_c_o+set}" = set; then ++if test "${lt_cv_prog_compiler_c_o+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_c_o=no +@@ -34525,11 +19599,11 @@ + -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:34528: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:19602: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:34532: \$? = $ac_status" >&5 ++ echo "$as_me:19606: \$? = $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 +@@ -34551,7 +19625,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 + $as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + +@@ -34560,7 +19634,7 @@ + hard_links="nottested" + if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user +- { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 + $as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* +@@ -34568,10 +19642,10 @@ + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no +- { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 + $as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then +- { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 + $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +@@ -34584,7 +19658,7 @@ + + + +- { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 + $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= +@@ -35026,11 +20100,7 @@ + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -35041,27 +20111,7 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { +@@ -35075,16 +20125,9 @@ + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" +@@ -35097,11 +20140,7 @@ + else + # Determine the default libpath from the value encoded in an + # empty executable. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -35112,27 +20151,7 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { +@@ -35146,16 +20165,9 @@ + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" +@@ -35367,42 +20379,16 @@ + # implicitly export all symbols. + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" +- cat >conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + int foo(void) {} + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' +@@ -35658,7 +20644,7 @@ + fi + fi + +-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 + $as_echo "$ld_shlibs" >&6; } + test "$ld_shlibs" = no && can_build_shared=no + +@@ -35695,16 +20681,16 @@ + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. +- { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 + $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } 2>conftest.err; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext +@@ -35718,11 +20704,11 @@ + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= +- if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } + then + archive_cmds_need_lc=no + else +@@ -35733,7 +20719,7 @@ + cat conftest.err 1>&5 + fi + $RM conftest* +- { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 + $as_echo "$archive_cmds_need_lc" >&6; } + ;; + esac +@@ -35897,7 +20883,7 @@ + + + +- { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 + $as_echo_n "checking dynamic linker characteristics... " >&6; } + + if test "$GCC" = yes; then +@@ -36319,11 +21305,7 @@ + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -36334,41 +21316,13 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then ++if ac_fn_c_try_link "$LINENO"; then : ++ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + shlibpath_overrides_runpath=yes + fi +- +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +@@ -36583,7 +21537,7 @@ + dynamic_linker=no + ;; + esac +-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 + $as_echo "$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + +@@ -36685,7 +21639,7 @@ + + + +- { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 + $as_echo_n "checking how to hardcode library paths into programs... " >&6; } + hardcode_action= + if test -n "$hardcode_libdir_flag_spec" || +@@ -36710,7 +21664,7 @@ + # directories. + hardcode_action=unsupported + fi +-{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 + $as_echo "$hardcode_action" >&6; } + + if test "$hardcode_action" = relink || +@@ -36755,18 +21709,14 @@ + + darwin*) + # if libdl is installed we need to link against it +- { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 + $as_echo_n "checking for dlopen in -ldl... " >&6; } +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -36784,43 +21734,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_dl_dlopen=no ++ ac_cv_lib_dl_dlopen=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 + $as_echo "$ac_cv_lib_dl_dlopen" >&6; } +-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" + else + +@@ -36833,262 +21758,61 @@ + ;; + + *) +- { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 +-$as_echo_n "checking for shl_load... " >&6; } +-if test "${ac_cv_func_shl_load+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. */ +-/* Define shl_load to an innocuous variant, in case declares shl_load. +- For example, HP-UX 11i declares gettimeofday. */ +-#define shl_load innocuous_shl_load +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char shl_load (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef shl_load +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char shl_load (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_shl_load || defined __stub___shl_load +-choke me +-#endif +- +-int +-main () +-{ +-return shl_load (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_shl_load=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_shl_load=no +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +-$as_echo "$ac_cv_func_shl_load" >&6; } +-if test "x$ac_cv_func_shl_load" = x""yes; then ++ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" ++if test "x$ac_cv_func_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" + else +- { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 + $as_echo_n "checking for shl_load in -ldld... " >&6; } +-if test "${ac_cv_lib_dld_shl_load+set}" = set; then ++if test "${ac_cv_lib_dld_shl_load+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char shl_load (); +-int +-main () +-{ +-return shl_load (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_lib_dld_shl_load=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_dld_shl_load=no +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +-$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +-if test "x$ac_cv_lib_dld_shl_load" = x""yes; then +- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +-else +- { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 +-$as_echo_n "checking for dlopen... " >&6; } +-if test "${ac_cv_func_dlopen+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 ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-/* Define dlopen to an innocuous variant, in case declares dlopen. +- For example, HP-UX 11i declares gettimeofday. */ +-#define dlopen innocuous_dlopen +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char dlopen (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef dlopen + + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ + #ifdef __cplusplus + extern "C" +-#endif +-char dlopen (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_dlopen || defined __stub___dlopen +-choke me +-#endif +- +-int +-main () +-{ +-return dlopen (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_dlopen=yes ++#endif ++char shl_load (); ++int ++main () ++{ ++return shl_load (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dld_shl_load=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_dlopen=no ++ ac_cv_lib_dld_shl_load=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +-$as_echo "$ac_cv_func_dlopen" >&6; } +-if test "x$ac_cv_func_dlopen" = x""yes; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 ++$as_echo "$ac_cv_lib_dld_shl_load" >&6; } ++if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : ++ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" ++else ++ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" ++if test "x$ac_cv_func_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" + else +- { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 + $as_echo_n "checking for dlopen in -ldl... " >&6; } +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -37106,57 +21830,28 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_dl_dlopen=no ++ ac_cv_lib_dl_dlopen=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 + $as_echo "$ac_cv_lib_dl_dlopen" >&6; } +-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" + else +- { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 + $as_echo_n "checking for dlopen in -lsvld... " >&6; } +-if test "${ac_cv_lib_svld_dlopen+set}" = set; then ++if test "${ac_cv_lib_svld_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsvld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -37174,57 +21869,28 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_svld_dlopen=no ++ ac_cv_lib_svld_dlopen=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 + $as_echo "$ac_cv_lib_svld_dlopen" >&6; } +-if test "x$ac_cv_lib_svld_dlopen" = x""yes; then ++if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" + else +- { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 + $as_echo_n "checking for dld_link in -ldld... " >&6; } +-if test "${ac_cv_lib_dld_dld_link+set}" = set; then ++if test "${ac_cv_lib_dld_dld_link+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -37242,43 +21908,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_dld_dld_link=no ++ ac_cv_lib_dld_dld_link=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 + $as_echo "$ac_cv_lib_dld_dld_link" >&6; } +-if test "x$ac_cv_lib_dld_dld_link" = x""yes; then ++if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" + fi + +@@ -37317,9 +21958,9 @@ + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + +- { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 + $as_echo_n "checking whether a program can dlopen itself... " >&6; } +-if test "${lt_cv_dlopen_self+set}" = set; then ++if test "${lt_cv_dlopen_self+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -37328,7 +21969,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +-#line 37331 "configure" ++#line 21972 "configure" + #include "confdefs.h" + + #if HAVE_DLFCN_H +@@ -37387,11 +22028,11 @@ + return status; + } + _LT_EOF +- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in +@@ -37408,14 +22049,14 @@ + + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 + $as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" +- { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 + $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +-if test "${lt_cv_dlopen_self_static+set}" = set; then ++if test "${lt_cv_dlopen_self_static+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -37424,7 +22065,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +-#line 37427 "configure" ++#line 22068 "configure" + #include "confdefs.h" + + #if HAVE_DLFCN_H +@@ -37483,11 +22124,11 @@ + return status; + } + _LT_EOF +- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in +@@ -37504,7 +22145,7 @@ + + + fi +-{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 + $as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + +@@ -37543,12 +22184,12 @@ + + striplib= + old_striplib= +-{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 + $as_echo_n "checking whether stripping libraries is possible... " >&6; } + if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else + # FIXME - insert some real tests, host_os isn't really good enough +@@ -37557,15 +22198,15 @@ + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + ;; + *) +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + ;; + esac +@@ -37583,12 +22224,12 @@ + + + # Report which library types will actually be built +- { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 + $as_echo_n "checking if libtool supports shared libraries... " >&6; } +- { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 + $as_echo "$can_build_shared" >&6; } + +- { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 + $as_echo_n "checking whether to build shared libraries... " >&6; } + test "$can_build_shared" = "no" && enable_shared=no + +@@ -37609,14 +22250,14 @@ + fi + ;; + esac +- { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 + $as_echo "$enable_shared" >&6; } + +- { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 + $as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes +- { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 + $as_echo "$enable_static" >&6; } + + +@@ -37652,22 +22293,18 @@ + + + if test "x$CC" != xcc; then +- { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 + $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } + else +- { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 + $as_echo_n "checking whether cc understands -c and -o together... " >&6; } + fi + set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +-if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then ++if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; 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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -37683,63 +22320,63 @@ + # existing .o file with -o, though they will create one. + ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* +-if { (case "(($ac_try" in ++if { { 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- test -f conftest2.$ac_objext && { (case "(($ac_try" in ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; + then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' +- { (case "(($ac_try" in ++ { { 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* +- if { (case "(($ac_try" in ++ if { { 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- test -f conftest2.$ac_objext && { (case "(($ac_try" in ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { 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_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; + then + # cc works too. + : +@@ -37756,15 +22393,13 @@ + + fi + if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + +-cat >>confdefs.h <<\_ACEOF +-#define NO_MINUS_C_MINUS_O 1 +-_ACEOF ++$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + + fi + +@@ -37792,7 +22427,7 @@ + + + # Check whether --enable-compile-warnings was given. +-if test "${enable_compile_warnings+set}" = set; then ++if test "${enable_compile_warnings+set}" = set; then : + enableval=$enable_compile_warnings; + else + enable_compile_warnings="maximum" +@@ -37823,15 +22458,13 @@ + fi + ;; + *) +- { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5 +-$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 + ;; + esac + + COMPILER_FLAGS= + for option in $try_compiler_flags; do +- { $as_echo "$as_me:$LINENO: checking whether compiler accepts $option" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts $option" >&5 + $as_echo_n "checking whether compiler accepts $option... " >&6; } + + ac_save_CFLAGS="$CFLAGS" +@@ -37840,11 +22473,7 @@ + else + CFLAGS="$CFLAGS $COMPILER_FLAGS $option" + fi +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -37855,46 +22484,21 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + has_option=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- has_option=no ++ has_option=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + echo 'int x;' >conftest.c + $CC $CFLAGS -c conftest.c 2>conftest.err + ret=$? + if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + COMPILER_FLAGS="$COMPILER_FLAGS $option" + fi +@@ -37906,14 +22510,14 @@ + unset try_compiler_flags + + # Check whether --enable-iso-c was given. +-if test "${enable_iso_c+set}" = set; then ++if test "${enable_iso_c+set}" = set; then : + enableval=$enable_iso_c; + else + enable_iso_c=no + fi + + +- { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5 + $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; } + complCFLAGS= + if test "x$enable_iso_c" != "xno"; then +@@ -37928,14 +22532,14 @@ + esac + fi + fi +- { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5 + $as_echo "$complCFLAGS" >&6; } + + WARN_CFLAGS="$COMPILER_FLAGS $complCFLAGS" + + + COMPILER_FLAGS= +- { $as_echo "$as_me:$LINENO: checking whether compiler accepts -Wno-redundant-decls" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -Wno-redundant-decls" >&5 + $as_echo_n "checking whether compiler accepts -Wno-redundant-decls... " >&6; } + + ac_save_CFLAGS="$CFLAGS" +@@ -37944,11 +22548,7 @@ + else + CFLAGS="$CFLAGS $COMPILER_FLAGS -Wno-redundant-decls" + fi +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -37959,46 +22559,21 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + has_option=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- has_option=no ++ has_option=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + echo 'int x;' >conftest.c + $CC $CFLAGS -c conftest.c 2>conftest.err + ret=$? + if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + COMPILER_FLAGS="$COMPILER_FLAGS -Wno-redundant-decls" + fi +@@ -38010,15 +22585,15 @@ + + + # Check whether --enable-largefile was given. +-if test "${enable_largefile+set}" = set; then ++if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; + fi + + if test "$enable_largefile" != no; then + +- { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 + $as_echo_n "checking for special C compiler options needed for large files... " >&6; } +-if test "${ac_cv_sys_largefile_CC+set}" = set; then ++if test "${ac_cv_sys_largefile_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_sys_largefile_CC=no +@@ -38027,11 +22602,7 @@ + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -38050,60 +22621,14 @@ + 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 ++ if ac_fn_c_try_compile "$LINENO"; then : + break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" +- 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 ++ if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext + break + done +@@ -38111,23 +22636,19 @@ + rm -f conftest.$ac_ext + fi + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 + $as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + +- { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 + $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +-if test "${ac_cv_sys_file_offset_bits+set}" = set; then ++if test "${ac_cv_sys_file_offset_bits+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -38146,38 +22667,11 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #define _FILE_OFFSET_BITS 64 + #include +@@ -38197,38 +22691,15 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break + done + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 + $as_echo "$ac_cv_sys_file_offset_bits" >&6; } + case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; +@@ -38240,17 +22711,13 @@ + esac + rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then +- { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 + $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +-if test "${ac_cv_sys_large_files+set}" = set; then ++if test "${ac_cv_sys_large_files+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + while :; do +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -38269,38 +22736,11 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #define _LARGE_FILES 1 + #include +@@ -38320,38 +22760,15 @@ + 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 ++if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break + done + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 + $as_echo "$ac_cv_sys_large_files" >&6; } + case $ac_cv_sys_large_files in #( + no | unknown) ;; +@@ -38366,108 +22783,12 @@ + fi + + +- +- +- +- +- +- +- +- +- + for ac_func in cfmakeraw regexec uname sched_getaffinity getuid getgid posix_fallocate mmap readlink +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 + _ACEOF +@@ -38476,104 +22797,12 @@ + done + + +- +- +- +- +- + for ac_func in strerror_r strtok_r getmntent_r getgrnam_r getpwuid_r +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++eval as_val=\$$as_ac_var ++ if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 + _ACEOF +@@ -38582,154 +22811,12 @@ + done + + +- +- +- +- +- +- +- +- +- +- +- + for ac_header in pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h sys/wait.h winsock2.h sched.h termios.h sys/poll.h syslog.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF +@@ -38739,19 +22826,14 @@ + done + + +- +-{ $as_echo "$as_me:$LINENO: checking for xdrmem_create in -lportablexdr" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xdrmem_create in -lportablexdr" >&5 + $as_echo_n "checking for xdrmem_create in -lportablexdr... " >&6; } +-if test "${ac_cv_lib_portablexdr_xdrmem_create+set}" = set; then ++if test "${ac_cv_lib_portablexdr_xdrmem_create+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lportablexdr $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -38769,43 +22851,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_portablexdr_xdrmem_create=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_portablexdr_xdrmem_create=no ++ ac_cv_lib_portablexdr_xdrmem_create=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_portablexdr_xdrmem_create" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_portablexdr_xdrmem_create" >&5 + $as_echo "$ac_cv_lib_portablexdr_xdrmem_create" >&6; } +-if test "x$ac_cv_lib_portablexdr_xdrmem_create" = x""yes; then ++if test "x$ac_cv_lib_portablexdr_xdrmem_create" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBPORTABLEXDR 1 + _ACEOF +@@ -38814,17 +22871,13 @@ + + else + +- { $as_echo "$as_me:$LINENO: checking for library containing xdrmem_create" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing xdrmem_create" >&5 + $as_echo_n "checking for library containing xdrmem_create... " >&6; } +-if test "${ac_cv_search_xdrmem_create+set}" = set; then ++if test "${ac_cv_search_xdrmem_create+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_func_search_save_LIBS=$LIBS +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -38849,54 +22902,27 @@ + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi +- rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++ if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_xdrmem_create=$ac_res +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext +- if test "${ac_cv_search_xdrmem_create+set}" = set; then ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_xdrmem_create+set}" = set; then : + break + fi + done +-if test "${ac_cv_search_xdrmem_create+set}" = set; then +- : ++if test "${ac_cv_search_xdrmem_create+set}" = set; then : ++ + else + ac_cv_search_xdrmem_create=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_xdrmem_create" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_xdrmem_create" >&5 + $as_echo "$ac_cv_search_xdrmem_create" >&6; } + ac_res=$ac_cv_search_xdrmem_create +-if test "$ac_res" != no; then ++if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi +@@ -38905,19 +22931,14 @@ + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for gettext in -lintl" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5 + $as_echo_n "checking for gettext in -lintl... " >&6; } +-if test "${ac_cv_lib_intl_gettext+set}" = set; then ++if test "${ac_cv_lib_intl_gettext+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lintl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -38935,43 +22956,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_gettext=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_intl_gettext=no ++ ac_cv_lib_intl_gettext=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5 + $as_echo "$ac_cv_lib_intl_gettext" >&6; } +-if test "x$ac_cv_lib_intl_gettext" = x""yes; then ++if test "x$ac_cv_lib_intl_gettext" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBINTL 1 + _ACEOF +@@ -38983,9 +22979,9 @@ + + # Extract the first word of "rpcgen", so it can be a program name with args. + set dummy rpcgen; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_RPCGEN+set}" = set; then ++if test "${ac_cv_path_RPCGEN+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $RPCGEN in +@@ -38998,188 +22994,58 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_RPCGEN="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + +- test -z "$ac_cv_path_RPCGEN" && ac_cv_path_RPCGEN="no" +- ;; +-esac +-fi +-RPCGEN=$ac_cv_path_RPCGEN +-if test -n "$RPCGEN"; then +- { $as_echo "$as_me:$LINENO: result: $RPCGEN" >&5 +-$as_echo "$RPCGEN" >&6; } +-else +- { $as_echo "$as_me:$LINENO: result: no" >&5 +-$as_echo "no" >&6; } +-fi +- +- +- if test "x$ac_cv_path_RPCGEN" != "xno"; then +- HAVE_RPCGEN_TRUE= +- HAVE_RPCGEN_FALSE='#' +-else +- HAVE_RPCGEN_TRUE='#' +- HAVE_RPCGEN_FALSE= +-fi +- +- if test "x$ac_cv_path_RPCGEN" != "xno" && +- $ac_cv_path_RPCGEN -t /dev/null 2>&1; then +- HAVE_GLIBC_RPCGEN_TRUE= +- HAVE_GLIBC_RPCGEN_FALSE='#' +-else +- HAVE_GLIBC_RPCGEN_TRUE='#' +- HAVE_GLIBC_RPCGEN_FALSE= +-fi +- +- +-if test "${ac_cv_header_pthread_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5 +-$as_echo_n "checking for pthread.h... " >&6; } +-if test "${ac_cv_header_pthread_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 +-$as_echo "$ac_cv_header_pthread_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking pthread.h usability" >&5 +-$as_echo_n "checking pthread.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking pthread.h presence" >&5 +-$as_echo_n "checking pthread.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; ++ test -z "$ac_cv_path_RPCGEN" && ac_cv_path_RPCGEN="no" ++ ;; + esac +-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +-$as_echo "$ac_try_echo") >&5 +- (eval "$ac_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes ++fi ++RPCGEN=$ac_cv_path_RPCGEN ++if test -n "$RPCGEN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPCGEN" >&5 ++$as_echo "$RPCGEN" >&6; } + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } + fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} + +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for pthread.h" >&5 +-$as_echo_n "checking for pthread.h... " >&6; } +-if test "${ac_cv_header_pthread_h+set}" = set; then +- $as_echo_n "(cached) " >&6 ++ if test "x$ac_cv_path_RPCGEN" != "xno"; then ++ HAVE_RPCGEN_TRUE= ++ HAVE_RPCGEN_FALSE='#' + else +- ac_cv_header_pthread_h=$ac_header_preproc ++ HAVE_RPCGEN_TRUE='#' ++ HAVE_RPCGEN_FALSE= + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 +-$as_echo "$ac_cv_header_pthread_h" >&6; } + ++ if test "x$ac_cv_path_RPCGEN" != "xno" && ++ $ac_cv_path_RPCGEN -t /dev/null 2>&1; then ++ HAVE_GLIBC_RPCGEN_TRUE= ++ HAVE_GLIBC_RPCGEN_FALSE='#' ++else ++ HAVE_GLIBC_RPCGEN_TRUE='#' ++ HAVE_GLIBC_RPCGEN_FALSE= + fi +-if test "x$ac_cv_header_pthread_h" = x""yes; then +- { $as_echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5 ++ ++ ++ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" ++if test "x$ac_cv_header_pthread_h" = x""yes; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 + $as_echo_n "checking for pthread_join in -lpthread... " >&6; } +-if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then ++if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpthread $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -39197,53 +23063,24 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pthread_pthread_join=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_pthread_pthread_join=no ++ ac_cv_lib_pthread_pthread_join=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 + $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } +-if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then ++if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then : + + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_LIBPTHREAD /**/ +-_ACEOF ++$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h + + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_PTHREAD_H /**/ +-_ACEOF ++$as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h + + LIBS="-lpthread $LIBS" + +@@ -39255,9 +23092,9 @@ + + # Extract the first word of "rm", so it can be a program name with args. + set dummy rm; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_RM+set}" = set; then ++if test "${ac_cv_path_RM+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $RM in +@@ -39270,14 +23107,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_RM="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm" +@@ -39286,19 +23123,19 @@ + fi + RM=$ac_cv_path_RM + if test -n "$RM"; then +- { $as_echo "$as_me:$LINENO: result: $RM" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 + $as_echo "$RM" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "mv", so it can be a program name with args. + set dummy mv; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_MV+set}" = set; then ++if test "${ac_cv_path_MV+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $MV in +@@ -39311,14 +23148,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_MV="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" +@@ -39327,19 +23164,19 @@ + fi + MV=$ac_cv_path_MV + if test -n "$MV"; then +- { $as_echo "$as_me:$LINENO: result: $MV" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 + $as_echo "$MV" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "tar", so it can be a program name with args. + set dummy tar; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_TAR+set}" = set; then ++if test "${ac_cv_path_TAR+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $TAR in +@@ -39352,14 +23189,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_TAR="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" +@@ -39368,19 +23205,19 @@ + fi + TAR=$ac_cv_path_TAR + if test -n "$TAR"; then +- { $as_echo "$as_me:$LINENO: result: $TAR" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 + $as_echo "$TAR" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "xmllint", so it can be a program name with args. + set dummy xmllint; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_XMLLINT+set}" = set; then ++if test "${ac_cv_path_XMLLINT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $XMLLINT in +@@ -39393,14 +23230,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_XMLLINT="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" +@@ -39409,19 +23246,19 @@ + fi + XMLLINT=$ac_cv_path_XMLLINT + if test -n "$XMLLINT"; then +- { $as_echo "$as_me:$LINENO: result: $XMLLINT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 + $as_echo "$XMLLINT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "xmlcatalog", so it can be a program name with args. + set dummy xmlcatalog; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_XMLCATALOG+set}" = set; then ++if test "${ac_cv_path_XMLCATALOG+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $XMLCATALOG in +@@ -39434,14 +23271,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="/usr/bin/xmlcatalog" +@@ -39450,19 +23287,19 @@ + fi + XMLCATALOG=$ac_cv_path_XMLCATALOG + if test -n "$XMLCATALOG"; then +- { $as_echo "$as_me:$LINENO: result: $XMLCATALOG" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5 + $as_echo "$XMLCATALOG" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "xsltproc", so it can be a program name with args. + set dummy xsltproc; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_XSLTPROC+set}" = set; then ++if test "${ac_cv_path_XSLTPROC+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $XSLTPROC in +@@ -39475,14 +23312,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" +@@ -39491,19 +23328,19 @@ + fi + XSLTPROC=$ac_cv_path_XSLTPROC + if test -n "$XSLTPROC"; then +- { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 + $as_echo "$XSLTPROC" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "augparse", so it can be a program name with args. + set dummy augparse; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_AUGPARSE+set}" = set; then ++if test "${ac_cv_path_AUGPARSE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $AUGPARSE in +@@ -39516,14 +23353,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_AUGPARSE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_AUGPARSE" && ac_cv_path_AUGPARSE="/usr/bin/augparse" +@@ -39532,62 +23369,21 @@ + fi + AUGPARSE=$ac_cv_path_AUGPARSE + if test -n "$AUGPARSE"; then +- { $as_echo "$as_me:$LINENO: result: $AUGPARSE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUGPARSE" >&5 + $as_echo "$AUGPARSE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + 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 +- if test "${ac_cv_path_mkdir+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do +- for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue +- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +- 'mkdir (GNU coreutils) '* | \ +- 'mkdir (coreutils) '* | \ +- 'mkdir (fileutils) '4.1*) +- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext +- break 3;; +- esac +- done +- done +-done +-IFS=$as_save_IFS +- +-fi +- +- if test "${ac_cv_path_mkdir+set}" = set; then +- MKDIR_P="$ac_cv_path_mkdir -p" +- else +- # As a last resort, use the slow shell script. Don't cache a +- # value for MKDIR_P within a source directory, because that will +- # break other packages using the cache if that directory is +- # removed, or if the value is a relative name. +- test -d ./--version && rmdir ./--version +- MKDIR_P="$ac_install_sh -d" +- fi +-fi +-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +-$as_echo "$MKDIR_P" >&6; } + + + # Extract the first word of "dnsmasq", so it can be a program name with args. + set dummy dnsmasq; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_DNSMASQ+set}" = set; then ++if test "${ac_cv_path_DNSMASQ+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $DNSMASQ in +@@ -39601,14 +23397,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_DNSMASQ="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_DNSMASQ" && ac_cv_path_DNSMASQ="dnsmasq" +@@ -39617,19 +23413,19 @@ + fi + DNSMASQ=$ac_cv_path_DNSMASQ + if test -n "$DNSMASQ"; then +- { $as_echo "$as_me:$LINENO: result: $DNSMASQ" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DNSMASQ" >&5 + $as_echo "$DNSMASQ" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "brctl", so it can be a program name with args. + set dummy brctl; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_BRCTL+set}" = set; then ++if test "${ac_cv_path_BRCTL+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $BRCTL in +@@ -39643,14 +23439,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_BRCTL="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_BRCTL" && ac_cv_path_BRCTL="brctl" +@@ -39659,19 +23455,19 @@ + fi + BRCTL=$ac_cv_path_BRCTL + if test -n "$BRCTL"; then +- { $as_echo "$as_me:$LINENO: result: $BRCTL" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BRCTL" >&5 + $as_echo "$BRCTL" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "udevadm", so it can be a program name with args. + set dummy udevadm; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_UDEVADM+set}" = set; then ++if test "${ac_cv_path_UDEVADM+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $UDEVADM in +@@ -39685,14 +23481,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_UDEVADM="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -39700,19 +23496,19 @@ + fi + UDEVADM=$ac_cv_path_UDEVADM + if test -n "$UDEVADM"; then +- { $as_echo "$as_me:$LINENO: result: $UDEVADM" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEVADM" >&5 + $as_echo "$UDEVADM" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "udevsettle", so it can be a program name with args. + set dummy udevsettle; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_UDEVSETTLE+set}" = set; then ++if test "${ac_cv_path_UDEVSETTLE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $UDEVSETTLE in +@@ -39726,14 +23522,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_UDEVSETTLE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -39741,19 +23537,19 @@ + fi + UDEVSETTLE=$ac_cv_path_UDEVSETTLE + if test -n "$UDEVSETTLE"; then +- { $as_echo "$as_me:$LINENO: result: $UDEVSETTLE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEVSETTLE" >&5 + $as_echo "$UDEVSETTLE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "modprobe", so it can be a program name with args. + set dummy modprobe; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_MODPROBE+set}" = set; then ++if test "${ac_cv_path_MODPROBE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $MODPROBE in +@@ -39767,14 +23563,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_MODPROBE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -39782,10 +23578,10 @@ + fi + MODPROBE=$ac_cv_path_MODPROBE + if test -n "$MODPROBE"; then +- { $as_echo "$as_me:$LINENO: result: $MODPROBE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MODPROBE" >&5 + $as_echo "$MODPROBE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -39825,7 +23621,7 @@ + + + # Check whether --with-html-dir was given. +-if test "${with_html_dir+set}" = set; then ++if test "${with_html_dir+set}" = set; then : + withval=$with_html_dir; HTML_DIR=$withval + else + HTML_DIR='$(datadir)/doc' +@@ -39834,7 +23630,7 @@ + + + # Check whether --with-html-subdir was given. +-if test "${with_html_subdir+set}" = set; then ++if test "${with_html_subdir+set}" = set; then : + withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval" + else + HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" +@@ -39853,7 +23649,7 @@ + + + # Check whether --with-xen was given. +-if test "${with_xen+set}" = set; then ++if test "${with_xen+set}" = set; then : + withval=$with_xen; + else + with_xen=yes +@@ -39861,7 +23657,7 @@ + + + # Check whether --with-xen-inotify was given. +-if test "${with_xen_inotify+set}" = set; then ++if test "${with_xen_inotify+set}" = set; then : + withval=$with_xen_inotify; + else + with_xen_inotify=check +@@ -39869,7 +23665,7 @@ + + + # Check whether --with-qemu was given. +-if test "${with_qemu+set}" = set; then ++if test "${with_qemu+set}" = set; then : + withval=$with_qemu; + else + with_qemu=yes +@@ -39877,7 +23673,7 @@ + + + # Check whether --with-uml was given. +-if test "${with_uml+set}" = set; then ++if test "${with_uml+set}" = set; then : + withval=$with_uml; + else + with_uml=check +@@ -39885,7 +23681,7 @@ + + + # Check whether --with-openvz was given. +-if test "${with_openvz+set}" = set; then ++if test "${with_openvz+set}" = set; then : + withval=$with_openvz; + else + with_openvz=yes +@@ -39893,7 +23689,7 @@ + + + # Check whether --with-libssh was given. +-if test "${with_libssh+set}" = set; then ++if test "${with_libssh+set}" = set; then : + withval=$with_libssh; + else + with_libssh=yes +@@ -39901,7 +23697,7 @@ + + + # Check whether --with-phyp was given. +-if test "${with_phyp+set}" = set; then ++if test "${with_phyp+set}" = set; then : + withval=$with_phyp; + else + with_phyp=check +@@ -39909,7 +23705,7 @@ + + + # Check whether --with-vbox was given. +-if test "${with_vbox+set}" = set; then ++if test "${with_vbox+set}" = set; then : + withval=$with_vbox; + else + with_vbox=yes +@@ -39917,7 +23713,7 @@ + + + # Check whether --with-lxc was given. +-if test "${with_lxc+set}" = set; then ++if test "${with_lxc+set}" = set; then : + withval=$with_lxc; + else + with_lxc=check +@@ -39925,7 +23721,7 @@ + + + # Check whether --with-one was given. +-if test "${with_one+set}" = set; then ++if test "${with_one+set}" = set; then : + withval=$with_one; + else + with_one=check +@@ -39933,7 +23729,7 @@ + + + # Check whether --with-esx was given. +-if test "${with_esx+set}" = set; then ++if test "${with_esx+set}" = set; then : + withval=$with_esx; + else + with_esx=check +@@ -39941,7 +23737,7 @@ + + + # Check whether --with-test was given. +-if test "${with_test+set}" = set; then ++if test "${with_test+set}" = set; then : + withval=$with_test; + else + with_test=yes +@@ -39949,7 +23745,7 @@ + + + # Check whether --with-remote was given. +-if test "${with_remote+set}" = set; then ++if test "${with_remote+set}" = set; then : + withval=$with_remote; + else + with_remote=yes +@@ -39957,7 +23753,7 @@ + + + # Check whether --with-libvirtd was given. +-if test "${with_libvirtd+set}" = set; then ++if test "${with_libvirtd+set}" = set; then : + withval=$with_libvirtd; + else + with_libvirtd=yes +@@ -39972,7 +23768,7 @@ + + + # Check whether --enable-debug was given. +-if test "${enable_debug+set}" = set; then ++if test "${enable_debug+set}" = set; then : + enableval=$enable_debug; + else + enable_debug=yes +@@ -39988,18 +23784,16 @@ + + if test x"$enable_debug" = x"yes"; then + +-cat >>confdefs.h <<\_ACEOF +-#define ENABLE_DEBUG /**/ +-_ACEOF ++$as_echo "#define ENABLE_DEBUG /**/" >>confdefs.h + + fi + + +-{ $as_echo "$as_me:$LINENO: checking where to write libvirtd PID file" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to write libvirtd PID file" >&5 + $as_echo_n "checking where to write libvirtd PID file... " >&6; } + + # Check whether --with-remote-pid-file was given. +-if test "${with_remote_pid_file+set}" = set; then ++if test "${with_remote_pid_file+set}" = set; then : + withval=$with_remote_pid_file; + fi + +@@ -40011,14 +23805,14 @@ + REMOTE_PID_FILE="$with_remote_pid_file" + fi + +-{ $as_echo "$as_me:$LINENO: result: $REMOTE_PID_FILE" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $REMOTE_PID_FILE" >&5 + $as_echo "$REMOTE_PID_FILE" >&6; } + +-{ $as_echo "$as_me:$LINENO: checking for init script flavor" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for init script flavor" >&5 + $as_echo_n "checking for init script flavor... " >&6; } + + # Check whether --with-init-script was given. +-if test "${with_init_script+set}" = set; then ++if test "${with_init_script+set}" = set; then : + withval=$with_init_script; + fi + +@@ -40037,25 +23831,23 @@ + LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE= + fi + +-{ $as_echo "$as_me:$LINENO: result: $with_init_scripts" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_init_scripts" >&5 + $as_echo "$with_init_scripts" >&6; } + + + # Check whether --with-rhel5-api was given. +-if test "${with_rhel5_api+set}" = set; then ++if test "${with_rhel5_api+set}" = set; then : + withval=$with_rhel5_api; + fi + + if test x"$with_rhel5_api" = x"yes"; then + +-cat >>confdefs.h <<\_ACEOF +-#define WITH_RHEL5_API 1 +-_ACEOF ++$as_echo "#define WITH_RHEL5_API 1" >>confdefs.h + + fi + + # Check whether --enable-iptables-lokkit was given. +-if test "${enable_iptables_lokkit+set}" = set; then ++if test "${enable_iptables_lokkit+set}" = set; then : + enableval=$enable_iptables_lokkit; + else + enable_iptables_lokkit=check +@@ -40064,9 +23856,9 @@ + if test x"$enable_iptables_lokkit" != x"no"; then + # Extract the first word of "lokkit", so it can be a program name with args. + set dummy lokkit; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_LOKKIT_PATH+set}" = set; then ++if test "${ac_cv_path_LOKKIT_PATH+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $LOKKIT_PATH in +@@ -40080,14 +23872,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_LOKKIT_PATH="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -40095,10 +23887,10 @@ + fi + LOKKIT_PATH=$ac_cv_path_LOKKIT_PATH + if test -n "$LOKKIT_PATH"; then +- { $as_echo "$as_me:$LINENO: result: $LOKKIT_PATH" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOKKIT_PATH" >&5 + $as_echo "$LOKKIT_PATH" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -40106,16 +23898,12 @@ + fi + + if test x"$enable_iptables_lokkit" = x"yes" -a x"$LOKKIT_PATH" = x; then +- { { $as_echo "$as_me:$LINENO: error: Cannot find lokkit and --enable-iptables-lokkit specified" >&5 +-$as_echo "$as_me: error: Cannot find lokkit and --enable-iptables-lokkit specified" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "Cannot find lokkit and --enable-iptables-lokkit specified" "$LINENO" 5 + fi + + if test x"$LOKKIT_PATH" != x; then + +-cat >>confdefs.h <<\_ACEOF +-#define ENABLE_IPTABLES_LOKKIT /**/ +-_ACEOF ++$as_echo "#define ENABLE_IPTABLES_LOKKIT /**/" >>confdefs.h + + + cat >>confdefs.h <<_ACEOF +@@ -40126,9 +23914,9 @@ + + # Extract the first word of "iptables", so it can be a program name with args. + set dummy iptables; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_IPTABLES_PATH+set}" = set; then ++if test "${ac_cv_path_IPTABLES_PATH+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $IPTABLES_PATH in +@@ -40142,14 +23930,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_IPTABLES_PATH="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_IPTABLES_PATH" && ac_cv_path_IPTABLES_PATH="/sbin/iptables" +@@ -40158,10 +23946,10 @@ + fi + IPTABLES_PATH=$ac_cv_path_IPTABLES_PATH + if test -n "$IPTABLES_PATH"; then +- { $as_echo "$as_me:$LINENO: result: $IPTABLES_PATH" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPTABLES_PATH" >&5 + $as_echo "$IPTABLES_PATH" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -40299,18 +24087,14 @@ + old_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $XEN_CFLAGS" + LIBS="$LIBS $XEN_LIBS" +- { $as_echo "$as_me:$LINENO: checking for xs_read in -lxenstore" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xs_read in -lxenstore" >&5 + $as_echo_n "checking for xs_read in -lxenstore... " >&6; } +-if test "${ac_cv_lib_xenstore_xs_read+set}" = set; then ++if test "${ac_cv_lib_xenstore_xs_read+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lxenstore $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -40328,43 +24112,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_xenstore_xs_read=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_xenstore_xs_read=no ++ ac_cv_lib_xenstore_xs_read=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xenstore_xs_read" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xenstore_xs_read" >&5 + $as_echo "$ac_cv_lib_xenstore_xs_read" >&6; } +-if test "x$ac_cv_lib_xenstore_xs_read" = x""yes; then ++if test "x$ac_cv_lib_xenstore_xs_read" = x""yes; then : + + with_xen=yes + XEN_LIBS="$XEN_LIBS -lxenstore" +@@ -40382,212 +24141,59 @@ + + + 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; }; } +- +- +- ++ as_fn_error "You must install the Xen development package to compile Xen driver with -lxenstore" "$LINENO" 5 + +-for ac_header in xen/xen.h xen/version.h xen/dom0_ops.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 ++ for ac_header in xen/xen.h xen/version.h xen/dom0_ops.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include + #include + +- +-#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 ++" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _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; }; } ++ as_fn_error "Cannot find standard Xen headers. Is xen-devel installed?" "$LINENO" 5 + + 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 ++ for ac_header in xen/sys/privcmd.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "xen/sys/privcmd.h" "ac_cv_header_xen_sys_privcmd_h" "#include + #include + #include + +- +-#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 ++" ++if test "x$ac_cv_header_xen_sys_privcmd_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_XEN_SYS_PRIVCMD_H 1 + _ACEOF + + else + +- +-for ac_header in 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 +-$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 ++ for ac_header in xen/linux/privcmd.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "xen/linux/privcmd.h" "ac_cv_header_xen_linux_privcmd_h" "#include + #include + #include + +- +-#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 ++" ++if test "x$ac_cv_header_xen_linux_privcmd_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_XEN_LINUX_PRIVCMD_H 1 + _ACEOF + + else + +- { { $as_echo "$as_me:$LINENO: error: Cannot find header file or . Is xen-devel installed?" >&5 +-$as_echo "$as_me: error: Cannot find header file or . Is xen-devel installed?" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "Cannot find header file or . Is xen-devel installed?" "$LINENO" 5 + + fi + +@@ -40623,134 +24229,8 @@ + with_xen_inotify=no + fi + if test "$with_xen_inotify" != "no"; then +- if test "${ac_cv_header_sys_inotify_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for sys/inotify.h" >&5 +-$as_echo_n "checking for sys/inotify.h... " >&6; } +-if test "${ac_cv_header_sys_inotify_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_inotify_h" >&5 +-$as_echo "$ac_cv_header_sys_inotify_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking sys/inotify.h usability" >&5 +-$as_echo_n "checking sys/inotify.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking sys/inotify.h presence" >&5 +-$as_echo_n "checking sys/inotify.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for sys/inotify.h" >&5 +-$as_echo_n "checking for sys/inotify.h... " >&6; } +-if test "${ac_cv_header_sys_inotify_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_sys_inotify_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_inotify_h" >&5 +-$as_echo "$ac_cv_header_sys_inotify_h" >&6; } +- +-fi +-if test "x$ac_cv_header_sys_inotify_h" = x""yes; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : + + with_xen_inotify=yes + +@@ -40758,12 +24238,10 @@ + + if test "$with_xen_inotify" = "check"; then + with_xen_inotify=no +- { $as_echo "$as_me:$LINENO: Header file is required for Xen Inotify support, disabling it" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Header file is required for Xen Inotify support, disabling it" >&5 + $as_echo "$as_me: Header file is required for Xen Inotify support, disabling it" >&6;} + else +- { { $as_echo "$as_me:$LINENO: error: Header file is required for Xen Inotify support!" >&5 +-$as_echo "$as_me: error: Header file is required for Xen Inotify support!" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "Header file is required for Xen Inotify support!" "$LINENO" 5 + fi + 0 + fi +@@ -40786,146 +24264,12 @@ + fi + + +- + for ac_header in linux/kvm.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "linux/kvm.h" "ac_cv_header_linux_kvm_h" "$ac_includes_default" ++if test "x$ac_cv_header_linux_kvm_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_LINUX_KVM_H 1 + _ACEOF + + fi +@@ -40934,140 +24278,10 @@ + + + if test "$with_lxc" = "yes" -o "$with_lxc" = "check"; then +- if test "${ac_cv_header_sched_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for sched.h" >&5 +-$as_echo_n "checking for sched.h... " >&6; } +-if test "${ac_cv_header_sched_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5 +-$as_echo "$ac_cv_header_sched_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking sched.h usability" >&5 +-$as_echo_n "checking sched.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking sched.h presence" >&5 +-$as_echo_n "checking sched.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: sched.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: sched.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sched.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: sched.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: sched.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: sched.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sched.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: sched.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sched.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: sched.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sched.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: sched.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sched.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: sched.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sched.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: sched.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for sched.h" >&5 +-$as_echo_n "checking for sched.h... " >&6; } +-if test "${ac_cv_header_sched_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_sched_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5 +-$as_echo "$ac_cv_header_sched_h" >&6; } ++ ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default" ++if test "x$ac_cv_header_sched_h" = x""yes; then : + +-fi +-if test "x$ac_cv_header_sched_h" = x""yes; then +- +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #define _GNU_SOURCE + #include +@@ -41081,240 +24295,74 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + + with_lxc=yes + + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- + + if test "$with_lxc" = "check"; then + with_lxc=no +- { $as_echo "$as_me:$LINENO: Function unshare() not present in header but required for LXC driver, disabling it" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Function unshare() not present in header but required for LXC driver, disabling it" >&5 + $as_echo "$as_me: Function unshare() not present in header but required for LXC driver, disabling it" >&6;} + else +- { { $as_echo "$as_me:$LINENO: error: Function unshare() not present in header, but required for LXC driver" >&5 +-$as_echo "$as_me: error: Function unshare() not present in header, but required for LXC driver" >&2;} +- { (exit 1); exit 1; }; } +- fi +- +- +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +- +- +-else +- +- if test "$with_lxc" = "check"; then +- with_lxc=no +- { $as_echo "$as_me:$LINENO: Header not found but required for LXC driver, disabling it" >&5 +-$as_echo "$as_me: Header not found but required for LXC driver, disabling it" >&6;} +- else +- { { $as_echo "$as_me:$LINENO: error: Header not found but required for LXC driver" >&5 +-$as_echo "$as_me: error: Header not found but required for LXC driver" >&2;} +- { (exit 1); exit 1; }; } +- fi +- +- +-fi +- +- +-fi +-if test "$with_libvirtd" = "no" ; then +- with_lxc=no +-fi +-if test "$with_lxc" = "yes" ; then +- +-cat >>confdefs.h <<_ACEOF +-#define WITH_LXC 1 +-_ACEOF +- +-fi +- if test "$with_lxc" = "yes"; then +- WITH_LXC_TRUE= +- WITH_LXC_FALSE='#' +-else +- WITH_LXC_TRUE='#' +- WITH_LXC_FALSE= +-fi +- +- +- +-if test "$with_qemu" = "yes" -o "$with_lxc" = "yes" ; then +- +- +- +- +-for ac_header in linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ as_fn_error "Function unshare() not present in header, but required for LXC driver" "$LINENO" 5 ++ fi ++ + +- ac_header_compiler=no + fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_preproc=no ++ if test "$with_lxc" = "check"; then ++ with_lxc=no ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Header not found but required for LXC driver, disabling it" >&5 ++$as_echo "$as_me: Header not found but required for LXC driver, disabling it" >&6;} ++ else ++ as_fn_error "Header not found but required for LXC driver" "$LINENO" 5 ++ fi ++ ++ + fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++fi ++if test "$with_libvirtd" = "no" ; then ++ with_lxc=no ++fi ++if test "$with_lxc" = "yes" ; then + +- ;; +-esac +-{ $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 ++cat >>confdefs.h <<_ACEOF ++#define WITH_LXC 1 ++_ACEOF ++ ++fi ++ if test "$with_lxc" = "yes"; then ++ WITH_LXC_TRUE= ++ WITH_LXC_FALSE='#' + else +- eval "$as_ac_Header=\$ac_header_preproc" ++ WITH_LXC_TRUE='#' ++ WITH_LXC_FALSE= + 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; } + +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ ++ ++if test "$with_qemu" = "yes" -o "$with_lxc" = "yes" ; then ++ for ac_header in linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.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" ++eval as_val=\$$as_ac_Header ++ if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF + + else +- { { $as_echo "$as_me:$LINENO: error: You must install kernel-headers in order to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install kernel-headers in order to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install kernel-headers in order to compile libvirt" "$LINENO" 5 + fi + + done +@@ -41334,9 +24382,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. + set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_PKG_CONFIG+set}" = set; then ++if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $PKG_CONFIG in +@@ -41349,14 +24397,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -41364,10 +24412,10 @@ + fi + PKG_CONFIG=$ac_cv_path_PKG_CONFIG + if test -n "$PKG_CONFIG"; then +- { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 + $as_echo "$PKG_CONFIG" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -41377,9 +24425,9 @@ + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. + set dummy pkg-config; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_ac_pt_PKG_CONFIG+set}" = set; then ++if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $ac_pt_PKG_CONFIG in +@@ -41392,14 +24440,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -41407,10 +24455,10 @@ + fi + ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG + if test -n "$ac_pt_PKG_CONFIG"; then +- { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 + $as_echo "$ac_pt_PKG_CONFIG" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -41419,7 +24467,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -41432,13 +24480,13 @@ + fi + if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 +- { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 + $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + PKG_CONFIG="" + fi +@@ -41446,40 +24494,44 @@ + fi + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for XMLRPC" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMLRPC" >&5 + $as_echo_n "checking for XMLRPC... " >&6; } + +-if test -n "$XMLRPC_CFLAGS"; then +- pkg_cv_XMLRPC_CFLAGS="$XMLRPC_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmlrpc_client >= \$XMLRPC_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$XMLRPC_CFLAGS"; then ++ pkg_cv_XMLRPC_CFLAGS="$XMLRPC_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmlrpc_client >= \$XMLRPC_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_XMLRPC_CFLAGS=`$PKG_CONFIG --cflags "xmlrpc_client >= $XMLRPC_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$XMLRPC_LIBS"; then +- pkg_cv_XMLRPC_LIBS="$XMLRPC_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmlrpc_client >= \$XMLRPC_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$XMLRPC_LIBS"; then ++ pkg_cv_XMLRPC_LIBS="$XMLRPC_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmlrpc_client >= \$XMLRPC_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_XMLRPC_LIBS=`$PKG_CONFIG --libs "xmlrpc_client >= $XMLRPC_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -41492,22 +24544,20 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- XMLRPC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED" 2>&1` ++ XMLRPC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED"` + else +- XMLRPC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED" 2>&1` ++ XMLRPC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xmlrpc_client >= $XMLRPC_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$XMLRPC_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + + if test "x$with_one" = "xcheck" ; then + with_one=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" >&5 +-$as_echo "$as_me: error: You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" "$LINENO" 5 + fi + + elif test $pkg_failed = untried; then +@@ -41515,15 +24565,13 @@ + if test "x$with_one" = "xcheck" ; then + with_one=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" >&5 +-$as_echo "$as_me: error: You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install XMLRPC-C >= $XMLRPC_REQUIRED to compile libvirt ONE driver" "$LINENO" 5 + fi + + else + XMLRPC_CFLAGS=$pkg_cv_XMLRPC_CFLAGS + XMLRPC_LIBS=$pkg_cv_XMLRPC_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + with_one=yes + fi +@@ -41561,9 +24609,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. + set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_PKG_CONFIG+set}" = set; then ++if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $PKG_CONFIG in +@@ -41576,14 +24624,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -41591,10 +24639,10 @@ + fi + PKG_CONFIG=$ac_cv_path_PKG_CONFIG + if test -n "$PKG_CONFIG"; then +- { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 + $as_echo "$PKG_CONFIG" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -41604,9 +24652,9 @@ + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. + set dummy pkg-config; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_ac_pt_PKG_CONFIG+set}" = set; then ++if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $ac_pt_PKG_CONFIG in +@@ -41619,14 +24667,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -41634,10 +24682,10 @@ + fi + ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG + if test -n "$ac_pt_PKG_CONFIG"; then +- { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 + $as_echo "$ac_pt_PKG_CONFIG" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -41646,7 +24694,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -41659,13 +24707,13 @@ + fi + if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 +- { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 + $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + PKG_CONFIG="" + fi +@@ -41679,53 +24727,55 @@ + + + # Check whether --with-libxml was given. +-if test "${with_libxml+set}" = set; then ++if test "${with_libxml+set}" = set; then : + withval=$with_libxml; + fi + + if test "x$with_libxml" = "xno" ; then +- { $as_echo "$as_me:$LINENO: checking for libxml2 libraries >= $LIBXML_REQUIRED" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 libraries >= $LIBXML_REQUIRED" >&5 + $as_echo_n "checking for libxml2 libraries >= $LIBXML_REQUIRED... " >&6; } +- { { $as_echo "$as_me:$LINENO: error: libxml2 >= $LIBXML_REQUIRED is required for libvirt" >&5 +-$as_echo "$as_me: error: libxml2 >= $LIBXML_REQUIRED is required for libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "libxml2 >= $LIBXML_REQUIRED is required for libvirt" "$LINENO" 5 + elif test "x$with_libxml" = "x" -a "x$PKG_CONFIG" != "x" ; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for LIBXML" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5 + $as_echo_n "checking for LIBXML... " >&6; } + +-if test -n "$LIBXML_CFLAGS"; then +- pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBXML_CFLAGS"; then ++ pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$LIBXML_LIBS"; then +- pkg_cv_LIBXML_LIBS="$LIBXML_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBXML_LIBS"; then ++ pkg_cv_LIBXML_LIBS="$LIBXML_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -41738,14 +24788,14 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= $LIBXML_REQUIRED" 2>&1` ++ LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML_REQUIRED"` + else +- LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= $LIBXML_REQUIRED" 2>&1` ++ LIBXML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBXML_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + LIBXML_FOUND=no + elif test $pkg_failed = untried; then +@@ -41753,7 +24803,7 @@ + else + LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS + LIBXML_LIBS=$pkg_cv_LIBXML_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + LIBXML_FOUND=yes + fi +@@ -41762,12 +24812,10 @@ + if test "x$with_libxml" != "x" ; then + LIBXML_CONFIG=$with_libxml/bin/$LIBXML_CONFIG + fi +- { $as_echo "$as_me:$LINENO: checking libxml2 $LIBXML_CONFIG >= $LIBXML_REQUIRED " >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking libxml2 $LIBXML_CONFIG >= $LIBXML_REQUIRED " >&5 + $as_echo_n "checking libxml2 $LIBXML_CONFIG >= $LIBXML_REQUIRED ... " >&6; } + if ! $LIBXML_CONFIG --version > /dev/null 2>&1 ; then +- { { $as_echo "$as_me:$LINENO: error: Could not find libxml2 anywhere (see config.log for details)." >&5 +-$as_echo "$as_me: error: Could not find libxml2 anywhere (see config.log for details)." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "Could not find libxml2 anywhere (see config.log for details)." "$LINENO" 5 + fi + vers=`$LIBXML_CONFIG --version | awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` + minvers=`echo $LIBXML_REQUIRED | awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` +@@ -41775,12 +24823,10 @@ + LIBXML_LIBS="`$LIBXML_CONFIG --libs`" + LIBXML_CFLAGS="`$LIBXML_CONFIG --cflags`" + LIBXML_FOUND="yes" +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { { $as_echo "$as_me:$LINENO: error: You need at least libxml2 $LIBXML_REQUIRED for this version of libvirt" >&5 +-$as_echo "$as_me: error: You need at least libxml2 $LIBXML_REQUIRED for this version of libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You need at least libxml2 $LIBXML_REQUIRED for this version of libvirt" "$LINENO" 5 + fi + fi + +@@ -41791,108 +24837,11 @@ + old_ldflags="$LDFLAGS" + CFLAGS="$CFLAGS $LIBXML_CFLAGS" + LDFLAGS="$LDFLAGS $LIBXML_LIBS" +-{ $as_echo "$as_me:$LINENO: checking for struct _xmlURI.query_raw" >&5 +-$as_echo_n "checking for struct _xmlURI.query_raw... " >&6; } +-if test "${ac_cv_member_struct__xmlURI_query_raw+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 +- +-int +-main () +-{ +-static struct _xmlURI ac_aggr; +-if (ac_aggr.query_raw) +-return 0; +- ; +- 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 +- ac_cv_member_struct__xmlURI_query_raw=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- +-int +-main () +-{ +-static struct _xmlURI ac_aggr; +-if (sizeof ac_aggr.query_raw) +-return 0; +- ; +- 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 +- ac_cv_member_struct__xmlURI_query_raw=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_member_struct__xmlURI_query_raw=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct__xmlURI_query_raw" >&5 +-$as_echo "$ac_cv_member_struct__xmlURI_query_raw" >&6; } +-if test "x$ac_cv_member_struct__xmlURI_query_raw" = x""yes; then ++ac_fn_c_check_member "$LINENO" "struct _xmlURI" "query_raw" "ac_cv_member_struct__xmlURI_query_raw" "#include ++" ++if test "x$ac_cv_member_struct__xmlURI_query_raw" = x""yes; then : + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_XMLURI_QUERY_RAW /**/ +-_ACEOF ++$as_echo "#define HAVE_XMLURI_QUERY_RAW /**/" >>confdefs.h + + fi + +@@ -41905,40 +24854,44 @@ + if test -z "$PKG_CONFIG" ; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for GNUTLS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 + $as_echo_n "checking for GNUTLS... " >&6; } + +-if test -n "$GNUTLS_CFLAGS"; then +- pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GNUTLS_CFLAGS"; then ++ pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$GNUTLS_LIBS"; then +- pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GNUTLS_LIBS"; then ++ pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -41951,14 +24904,14 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= $GNUTLS_REQUIRED" 2>&1` ++ GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnutls >= $GNUTLS_REQUIRED"` + else +- GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= $GNUTLS_REQUIRED" 2>&1` ++ GNUTLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= $GNUTLS_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$GNUTLS_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + GNUTLS_FOUND=no + elif test $pkg_failed = untried; then +@@ -41966,7 +24919,7 @@ + else + GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS + GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + GNUTLS_FOUND=yes + fi +@@ -41974,153 +24927,22 @@ + if test "$GNUTLS_FOUND" = "no"; then + fail=0 + old_libs="$LIBS" +- if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5 +-$as_echo_n "checking for gnutls/gnutls.h... " >&6; } +-if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5 +-$as_echo "$ac_cv_header_gnutls_gnutls_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking gnutls/gnutls.h usability" >&5 +-$as_echo_n "checking gnutls/gnutls.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking gnutls/gnutls.h presence" >&5 +-$as_echo_n "checking gnutls/gnutls.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5 +-$as_echo_n "checking for gnutls/gnutls.h... " >&6; } +-if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_gnutls_gnutls_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5 +-$as_echo "$ac_cv_header_gnutls_gnutls_h" >&6; } ++ ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" ++if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then : + +-fi +-if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then +- : + else + fail=1 + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for gnutls_handshake in -lgnutls" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_handshake in -lgnutls" >&5 + $as_echo_n "checking for gnutls_handshake in -lgnutls... " >&6; } +-if test "${ac_cv_lib_gnutls_gnutls_handshake+set}" = set; then ++if test "${ac_cv_lib_gnutls_gnutls_handshake+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgnutls -lgcrypt $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -42138,43 +24960,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_gnutls_gnutls_handshake=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_gnutls_gnutls_handshake=no ++ ac_cv_lib_gnutls_gnutls_handshake=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_handshake" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_handshake" >&5 + $as_echo "$ac_cv_lib_gnutls_gnutls_handshake" >&6; } +-if test "x$ac_cv_lib_gnutls_gnutls_handshake" = x""yes; then ++if test "x$ac_cv_lib_gnutls_gnutls_handshake" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBGNUTLS 1 + _ACEOF +@@ -42187,9 +24984,7 @@ + + + test $fail = 1 && +- { { $as_echo "$as_me:$LINENO: error: You must install the GnuTLS library in order to compile and run libvirt" >&5 +-$as_echo "$as_me: error: You must install the GnuTLS library in order to compile and run libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install the GnuTLS library in order to compile and run libvirt" "$LINENO" 5 + + GNUTLS_LIBS=$LIBS + LIBS="$old_libs" +@@ -42202,107 +24997,11 @@ + old_ldflags="$LDFLAGS" + CFLAGS="$CFLAGS $GNUTLS_CFLAGS" + LDFLAGS="$LDFLAGS $GNUTLS_LIBS" +-{ $as_echo "$as_me:$LINENO: checking for gnutls_session" >&5 +-$as_echo_n "checking for gnutls_session... " >&6; } +-if test "${ac_cv_type_gnutls_session+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_type_gnutls_session=no +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- +-int +-main () +-{ +-if (sizeof (gnutls_session)) +- return 0; +- ; +- 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 +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +- +-int +-main () +-{ +-if (sizeof ((gnutls_session))) +- return 0; +- ; +- 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 +- : +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_type_gnutls_session=yes +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_gnutls_session" >&5 +-$as_echo "$ac_cv_type_gnutls_session" >&6; } +-if test "x$ac_cv_type_gnutls_session" = x""yes; then ++ac_fn_c_check_type "$LINENO" "gnutls_session" "ac_cv_type_gnutls_session" "#include ++" ++if test "x$ac_cv_type_gnutls_session" = x""yes; then : + +-cat >>confdefs.h <<\_ACEOF +-#define GNUTLS_1_0_COMPAT /**/ +-_ACEOF ++$as_echo "#define GNUTLS_1_0_COMPAT /**/" >>confdefs.h + + fi + +@@ -42312,7 +25011,7 @@ + + + # Check whether --with-sasl was given. +-if test "${with_sasl+set}" = set; then ++if test "${with_sasl+set}" = set; then : + withval=$with_sasl; + else + with_sasl=check +@@ -42331,135 +25030,9 @@ + old_libs="$LIBS" + CFLAGS="$CFLAGS $SASL_CFLAGS" + LIBS="$LIBS $SASL_LIBS" +- if test "${ac_cv_header_sasl_sasl_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for sasl/sasl.h" >&5 +-$as_echo_n "checking for sasl/sasl.h... " >&6; } +-if test "${ac_cv_header_sasl_sasl_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sasl_sasl_h" >&5 +-$as_echo "$ac_cv_header_sasl_sasl_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking sasl/sasl.h usability" >&5 +-$as_echo_n "checking sasl/sasl.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking sasl/sasl.h presence" >&5 +-$as_echo_n "checking sasl/sasl.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: sasl/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: sasl/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sasl/sasl.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: sasl/sasl.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: sasl/sasl.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: sasl/sasl.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sasl/sasl.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: sasl/sasl.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sasl/sasl.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: sasl/sasl.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sasl/sasl.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: sasl/sasl.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sasl/sasl.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: sasl/sasl.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sasl/sasl.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: sasl/sasl.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for sasl/sasl.h" >&5 +-$as_echo_n "checking for sasl/sasl.h... " >&6; } +-if test "${ac_cv_header_sasl_sasl_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_sasl_sasl_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sasl_sasl_h" >&5 +-$as_echo "$ac_cv_header_sasl_sasl_h" >&6; } ++ ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sasl_sasl_h" = x""yes; then : + +-fi +-if test "x$ac_cv_header_sasl_sasl_h" = x""yes; then +- : + else + + if test "x$with_sasl" != "xcheck" ; then +@@ -42471,18 +25044,14 @@ + + + if test "x$with_sasl" != "xno" ; then +- { $as_echo "$as_me:$LINENO: checking for sasl_client_init in -lsasl2" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl2" >&5 + $as_echo_n "checking for sasl_client_init in -lsasl2... " >&6; } +-if test "${ac_cv_lib_sasl2_sasl_client_init+set}" = set; then ++if test "${ac_cv_lib_sasl2_sasl_client_init+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsasl2 $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -42500,61 +25069,32 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_sasl2_sasl_client_init=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_sasl2_sasl_client_init=no ++ ac_cv_lib_sasl2_sasl_client_init=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sasl2_sasl_client_init" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_client_init" >&5 + $as_echo "$ac_cv_lib_sasl2_sasl_client_init" >&6; } +-if test "x$ac_cv_lib_sasl2_sasl_client_init" = x""yes; then ++if test "x$ac_cv_lib_sasl2_sasl_client_init" = x""yes; then : + + SASL_LIBS="$SASL_LIBS -lsasl2" + with_sasl=yes + + else + +- { $as_echo "$as_me:$LINENO: checking for sasl_client_init in -lsasl" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl" >&5 + $as_echo_n "checking for sasl_client_init in -lsasl... " >&6; } +-if test "${ac_cv_lib_sasl_sasl_client_init+set}" = set; then ++if test "${ac_cv_lib_sasl_sasl_client_init+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsasl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -42572,43 +25112,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_sasl_sasl_client_init=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_sasl_sasl_client_init=no ++ ac_cv_lib_sasl_sasl_client_init=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sasl_sasl_client_init" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl_sasl_client_init" >&5 + $as_echo "$ac_cv_lib_sasl_sasl_client_init" >&6; } +-if test "x$ac_cv_lib_sasl_sasl_client_init" = x""yes; then ++if test "x$ac_cv_lib_sasl_sasl_client_init" = x""yes; then : + + SASL_LIBS="$SASL_LIBS -lsasl" + with_sasl=yes +@@ -42628,9 +25143,7 @@ + + fi + test $fail = 1 && +- { { $as_echo "$as_me:$LINENO: error: You must install the Cyrus SASL development package in order to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install the Cyrus SASL development package in order to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install the Cyrus SASL development package in order to compile libvirt" "$LINENO" 5 + CFLAGS="$old_cflags" + LIBS="$old_libs" + if test "x$with_sasl" = "xyes" ; then +@@ -42657,7 +25170,7 @@ + POLKIT_LIBS= + + # Check whether --with-polkit was given. +-if test "${with_polkit+set}" = set; then ++if test "${with_polkit+set}" = set; then : + withval=$with_polkit; + else + with_polkit=check +@@ -42667,40 +25180,44 @@ + if test "x$with_polkit" = "xyes" -o "x$with_polkit" = "xcheck"; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for POLKIT" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5 + $as_echo_n "checking for POLKIT... " >&6; } + +-if test -n "$POLKIT_CFLAGS"; then +- pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= \$POLKIT_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$POLKIT_CFLAGS"; then ++ pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= \$POLKIT_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "polkit-dbus >= $POLKIT_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-dbus >= $POLKIT_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$POLKIT_LIBS"; then +- pkg_cv_POLKIT_LIBS="$POLKIT_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= \$POLKIT_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$POLKIT_LIBS"; then ++ pkg_cv_POLKIT_LIBS="$POLKIT_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-dbus >= \$POLKIT_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "polkit-dbus >= $POLKIT_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-dbus >= $POLKIT_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -42713,22 +25230,20 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "polkit-dbus >= $POLKIT_REQUIRED" 2>&1` ++ POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "polkit-dbus >= $POLKIT_REQUIRED"` + else +- POLKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "polkit-dbus >= $POLKIT_REQUIRED" 2>&1` ++ POLKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "polkit-dbus >= $POLKIT_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$POLKIT_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + + if test "x$with_polkit" = "xcheck" ; then + with_polkit=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + elif test $pkg_failed = untried; then +@@ -42736,15 +25251,13 @@ + if test "x$with_polkit" = "xcheck" ; then + with_polkit=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install PolicyKit >= $POLKIT_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + else + POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS + POLKIT_LIBS=$pkg_cv_POLKIT_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + with_polkit=yes + fi +@@ -42759,102 +25272,12 @@ + old_LDFLAGS=$LDFLAGS + CFLAGS="$CFLAGS $POLKIT_CFLAGS" + LDFLAGS="$LDFLAGS $POLKIT_LIBS" +- +-for ac_func in polkit_context_is_caller_authorized +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in polkit_context_is_caller_authorized ++do : ++ ac_fn_c_check_func "$LINENO" "polkit_context_is_caller_authorized" "ac_cv_func_polkit_context_is_caller_authorized" ++if test "x$ac_cv_func_polkit_context_is_caller_authorized" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_POLKIT_CONTEXT_IS_CALLER_AUTHORIZED 1 + _ACEOF + + fi +@@ -42865,9 +25288,9 @@ + + # Extract the first word of "polkit-auth", so it can be a program name with args. + set dummy polkit-auth; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_POLKIT_AUTH+set}" = set; then ++if test "${ac_cv_path_POLKIT_AUTH+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $POLKIT_AUTH in +@@ -42880,14 +25303,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_POLKIT_AUTH="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -42895,10 +25318,10 @@ + fi + POLKIT_AUTH=$ac_cv_path_POLKIT_AUTH + if test -n "$POLKIT_AUTH"; then +- { $as_echo "$as_me:$LINENO: result: $POLKIT_AUTH" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POLKIT_AUTH" >&5 + $as_echo "$POLKIT_AUTH" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -42925,7 +25348,7 @@ + + + # Check whether --with-avahi was given. +-if test "${with_avahi+set}" = set; then ++if test "${with_avahi+set}" = set; then : + withval=$with_avahi; + else + with_avahi=check +@@ -42937,40 +25360,44 @@ + if test "x$with_avahi" = "xyes" -o "x$with_avahi" = "xcheck"; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for AVAHI" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVAHI" >&5 + $as_echo_n "checking for AVAHI... " >&6; } + +-if test -n "$AVAHI_CFLAGS"; then +- pkg_cv_AVAHI_CFLAGS="$AVAHI_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"avahi-client >= \$AVAHI_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$AVAHI_CFLAGS"; then ++ pkg_cv_AVAHI_CFLAGS="$AVAHI_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= \$AVAHI_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "avahi-client >= $AVAHI_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_AVAHI_CFLAGS=`$PKG_CONFIG --cflags "avahi-client >= $AVAHI_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$AVAHI_LIBS"; then +- pkg_cv_AVAHI_LIBS="$AVAHI_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"avahi-client >= \$AVAHI_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$AVAHI_LIBS"; then ++ pkg_cv_AVAHI_LIBS="$AVAHI_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= \$AVAHI_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "avahi-client >= $AVAHI_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_AVAHI_LIBS=`$PKG_CONFIG --libs "avahi-client >= $AVAHI_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -42983,22 +25410,20 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- AVAHI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "avahi-client >= $AVAHI_REQUIRED" 2>&1` ++ AVAHI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "avahi-client >= $AVAHI_REQUIRED"` + else +- AVAHI_PKG_ERRORS=`$PKG_CONFIG --print-errors "avahi-client >= $AVAHI_REQUIRED" 2>&1` ++ AVAHI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "avahi-client >= $AVAHI_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$AVAHI_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + + if test "x$with_avahi" = "xcheck" ; then + with_avahi=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + elif test $pkg_failed = untried; then +@@ -43006,199 +25431,66 @@ + if test "x$with_avahi" = "xcheck" ; then + with_avahi=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install Avahi >= $AVAHI_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + else + AVAHI_CFLAGS=$pkg_cv_AVAHI_CFLAGS + AVAHI_LIBS=$pkg_cv_AVAHI_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + with_avahi=yes + fi +- if test "x$with_avahi" = "xyes" ; then +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_AVAHI 1 +-_ACEOF +- +- fi +-fi +- if test "x$with_avahi" = "xyes"; then +- HAVE_AVAHI_TRUE= +- HAVE_AVAHI_FALSE='#' +-else +- HAVE_AVAHI_TRUE='#' +- HAVE_AVAHI_FALSE= +-fi +- +- +- +- +- +-# Check whether --with-selinux was given. +-if test "${with_selinux+set}" = set; then +- withval=$with_selinux; +-else +- with_selinux=check +-fi +- +- +-SELINUX_CFLAGS= +-SELINUX_LIBS= +-if test "$with_selinux" != "no"; then +- old_cflags="$CFLAGS" +- old_libs="$LIBS" +- if test "$with_selinux" = "check"; then +- if test "${ac_cv_header_selinux_selinux_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 +-$as_echo_n "checking for selinux/selinux.h... " >&6; } +-if test "${ac_cv_header_selinux_selinux_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 +-$as_echo "$ac_cv_header_selinux_selinux_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5 +-$as_echo_n "checking selinux/selinux.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } ++ if test "x$with_avahi" = "xyes" ; then + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5 +-$as_echo_n "checking selinux/selinux.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include ++cat >>confdefs.h <<_ACEOF ++#define HAVE_AVAHI 1 + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_preproc=no ++ fi ++fi ++ if test "x$with_avahi" = "xyes"; then ++ HAVE_AVAHI_TRUE= ++ HAVE_AVAHI_FALSE='#' ++else ++ HAVE_AVAHI_TRUE='#' ++ HAVE_AVAHI_FALSE= + fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;} + +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 +-$as_echo_n "checking for selinux/selinux.h... " >&6; } +-if test "${ac_cv_header_selinux_selinux_h+set}" = set; then +- $as_echo_n "(cached) " >&6 ++ ++ ++# Check whether --with-selinux was given. ++if test "${with_selinux+set}" = set; then : ++ withval=$with_selinux; + else +- ac_cv_header_selinux_selinux_h=$ac_header_preproc ++ with_selinux=check + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 +-$as_echo "$ac_cv_header_selinux_selinux_h" >&6; } + +-fi +-if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then +- : ++ ++SELINUX_CFLAGS= ++SELINUX_LIBS= ++if test "$with_selinux" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_selinux" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" ++if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then : ++ + else + with_selinux=no + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for fgetfilecon in -lselinux" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetfilecon in -lselinux" >&5 + $as_echo_n "checking for fgetfilecon in -lselinux... " >&6; } +-if test "${ac_cv_lib_selinux_fgetfilecon+set}" = set; then ++if test "${ac_cv_lib_selinux_fgetfilecon+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lselinux $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -43216,43 +25508,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_selinux_fgetfilecon=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_selinux_fgetfilecon=no ++ ac_cv_lib_selinux_fgetfilecon=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_fgetfilecon" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_fgetfilecon" >&5 + $as_echo "$ac_cv_lib_selinux_fgetfilecon" >&6; } +-if test "x$ac_cv_lib_selinux_fgetfilecon" = x""yes; then ++if test "x$ac_cv_lib_selinux_fgetfilecon" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBSELINUX 1 + _ACEOF +@@ -43268,153 +25535,22 @@ + fi + else + fail=0 +- if test "${ac_cv_header_selinux_selinux_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 +-$as_echo_n "checking for selinux/selinux.h... " >&6; } +-if test "${ac_cv_header_selinux_selinux_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 +-$as_echo "$ac_cv_header_selinux_selinux_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5 +-$as_echo_n "checking selinux/selinux.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5 +-$as_echo_n "checking selinux/selinux.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 +-$as_echo_n "checking for selinux/selinux.h... " >&6; } +-if test "${ac_cv_header_selinux_selinux_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_selinux_selinux_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 +-$as_echo "$ac_cv_header_selinux_selinux_h" >&6; } ++ ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" ++if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then : + +-fi +-if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then +- : + else + fail=1 + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for fgetfilecon in -lselinux" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetfilecon in -lselinux" >&5 + $as_echo_n "checking for fgetfilecon in -lselinux... " >&6; } +-if test "${ac_cv_lib_selinux_fgetfilecon+set}" = set; then ++if test "${ac_cv_lib_selinux_fgetfilecon+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lselinux $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -43432,43 +25568,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_selinux_fgetfilecon=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_selinux_fgetfilecon=no ++ ac_cv_lib_selinux_fgetfilecon=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_fgetfilecon" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_fgetfilecon" >&5 + $as_echo "$ac_cv_lib_selinux_fgetfilecon" >&6; } +-if test "x$ac_cv_lib_selinux_fgetfilecon" = x""yes; then ++if test "x$ac_cv_lib_selinux_fgetfilecon" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBSELINUX 1 + _ACEOF +@@ -43480,9 +25591,7 @@ + fi + + test $fail = 1 && +- { { $as_echo "$as_me:$LINENO: error: You must install the SELinux development package in order to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install the SELinux development package in order to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 + fi + CFLAGS="$old_cflags" + LIBS="$old_libs" +@@ -43509,7 +25618,7 @@ + + + # Check whether --with-secdriver-selinux was given. +-if test "${with_secdriver_selinux+set}" = set; then ++if test "${with_secdriver_selinux+set}" = set; then : + withval=$with_secdriver_selinux; + else + with_secdriver_selinux=check +@@ -43520,9 +25629,7 @@ + if test "$with_secdriver_selinux" = "check" ; then + with_secdriver_selinux=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install the SELinux development package in order to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install the SELinux development package in order to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 + fi + else + old_cflags="$CFLAGS" +@@ -43531,184 +25638,16 @@ + LIBS="$CFLAGS $SELINUX_LIBS" + + fail=0 +- { $as_echo "$as_me:$LINENO: checking for selinux_virtual_domain_context_path" >&5 +-$as_echo_n "checking for selinux_virtual_domain_context_path... " >&6; } +-if test "${ac_cv_func_selinux_virtual_domain_context_path+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. */ +-/* Define selinux_virtual_domain_context_path to an innocuous variant, in case declares selinux_virtual_domain_context_path. +- For example, HP-UX 11i declares gettimeofday. */ +-#define selinux_virtual_domain_context_path innocuous_selinux_virtual_domain_context_path +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char selinux_virtual_domain_context_path (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef selinux_virtual_domain_context_path +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char selinux_virtual_domain_context_path (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_selinux_virtual_domain_context_path || defined __stub___selinux_virtual_domain_context_path +-choke me +-#endif +- +-int +-main () +-{ +-return selinux_virtual_domain_context_path (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_selinux_virtual_domain_context_path=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ ac_fn_c_check_func "$LINENO" "selinux_virtual_domain_context_path" "ac_cv_func_selinux_virtual_domain_context_path" ++if test "x$ac_cv_func_selinux_virtual_domain_context_path" = x""yes; then : + +- ac_cv_func_selinux_virtual_domain_context_path=no +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_selinux_virtual_domain_context_path" >&5 +-$as_echo "$ac_cv_func_selinux_virtual_domain_context_path" >&6; } +-if test "x$ac_cv_func_selinux_virtual_domain_context_path" = x""yes; then +- : + else + fail=1 + fi + +- { $as_echo "$as_me:$LINENO: checking for selinux_virtual_image_context_path" >&5 +-$as_echo_n "checking for selinux_virtual_image_context_path... " >&6; } +-if test "${ac_cv_func_selinux_virtual_image_context_path+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. */ +-/* Define selinux_virtual_image_context_path to an innocuous variant, in case declares selinux_virtual_image_context_path. +- For example, HP-UX 11i declares gettimeofday. */ +-#define selinux_virtual_image_context_path innocuous_selinux_virtual_image_context_path +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char selinux_virtual_image_context_path (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef selinux_virtual_image_context_path +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char selinux_virtual_image_context_path (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_selinux_virtual_image_context_path || defined __stub___selinux_virtual_image_context_path +-choke me +-#endif +- +-int +-main () +-{ +-return selinux_virtual_image_context_path (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_selinux_virtual_image_context_path=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_selinux_virtual_image_context_path=no +-fi ++ ac_fn_c_check_func "$LINENO" "selinux_virtual_image_context_path" "ac_cv_func_selinux_virtual_image_context_path" ++if test "x$ac_cv_func_selinux_virtual_image_context_path" = x""yes; then : + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_selinux_virtual_image_context_path" >&5 +-$as_echo "$ac_cv_func_selinux_virtual_image_context_path" >&6; } +-if test "x$ac_cv_func_selinux_virtual_image_context_path" = x""yes; then +- : + else + fail=1 + fi +@@ -43720,9 +25659,7 @@ + if test "$with_secdriver_selinux" = "check" ; then + with_secdriver_selinux=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install the SELinux development package in order to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install the SELinux development package in order to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install the SELinux development package in order to compile libvirt" "$LINENO" 5 + fi + else + with_secdriver_selinux=yes +@@ -43744,168 +25681,190 @@ + + + +- +-# Check whether --with-numactl was given. +-if test "${with_numactl+set}" = set; then +- withval=$with_numactl; ++# Check whether --with-apparmor was given. ++if test "${with_apparmor+set}" = set; then : ++ withval=$with_apparmor; + else +- with_numactl=check ++ with_apparmor=check + fi + + +-NUMACTL_CFLAGS= +-NUMACTL_LIBS= +-if test "$with_qemu" = "yes" -a "$with_numactl" != "no"; then ++APPARMOR_CFLAGS= ++APPARMOR_LIBS= ++if test "$with_apparmor" != "no"; then + old_cflags="$CFLAGS" + old_libs="$LIBS" +- if test "$with_numactl" = "check"; then +- if test "${ac_cv_header_numa_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for numa.h" >&5 +-$as_echo_n "checking for numa.h... " >&6; } +-if test "${ac_cv_header_numa_h+set}" = set; then +- $as_echo_n "(cached) " >&6 ++ if test "$with_apparmor" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/apparmor.h" "ac_cv_header_sys_apparmor_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_apparmor_h" = x""yes; then : ++ ++else ++ with_apparmor=no + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_numa_h" >&5 +-$as_echo "$ac_cv_header_numa_h" >&6; } ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_profile in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_profile in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_profile+set}" = set; then : ++ $as_echo_n "(cached) " >&6 + else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking numa.h usability" >&5 +-$as_echo_n "checking numa.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-$ac_includes_default +-#include ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_profile (); ++int ++main () ++{ ++return aa_change_profile (); ++ ; ++ 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 +- ac_header_compiler=yes ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_profile=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no ++ ac_cv_lib_apparmor_aa_change_profile=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_profile" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_profile" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBAPPARMOR 1 ++_ACEOF + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } ++ LIBS="-lapparmor $LIBS" + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking numa.h presence" >&5 +-$as_echo_n "checking numa.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++else ++ with_apparmor=no ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_hat in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_hat in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_hat+set}" = set; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_hat (); ++int ++main () ++{ ++return aa_change_hat (); ++ ; ++ return 0; ++} + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_hat=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ ac_cv_lib_apparmor_aa_change_hat=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_hat" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_hat" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_hat" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBAPPARMOR 1 ++_ACEOF + +- ac_header_preproc=no ++ LIBS="-lapparmor $LIBS" ++ ++else ++ with_apparmor=no + fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } ++ if test "$with_apparmor" != "no"; then ++ with_apparmor="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/apparmor.h" "ac_cv_header_sys_apparmor_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_apparmor_h" = x""yes; then : + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: numa.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: numa.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: numa.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: numa.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: numa.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: numa.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: numa.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: numa.h: in the future, the compiler will take precedence" >&2;} ++else ++ fail=1 ++fi + +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for numa.h" >&5 +-$as_echo_n "checking for numa.h... " >&6; } +-if test "${ac_cv_header_numa_h+set}" = set; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_profile in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_profile in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_profile+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- ac_cv_header_numa_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_numa_h" >&5 +-$as_echo "$ac_cv_header_numa_h" >&6; } ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ + +-fi +-if test "x$ac_cv_header_numa_h" = x""yes; then +- : ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char aa_change_profile (); ++int ++main () ++{ ++return aa_change_profile (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_profile=yes + else +- with_numactl=no ++ ac_cv_lib_apparmor_aa_change_profile=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_profile" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_profile" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_profile" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBAPPARMOR 1 ++_ACEOF + ++ LIBS="-lapparmor $LIBS" + ++else ++ fail=1 ++fi + +-{ $as_echo "$as_me:$LINENO: checking for numa_available in -lnuma" >&5 +-$as_echo_n "checking for numa_available in -lnuma... " >&6; } +-if test "${ac_cv_lib_numa_numa_available+set}" = set; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_change_hat in -lapparmor" >&5 ++$as_echo_n "checking for aa_change_hat in -lapparmor... " >&6; } ++if test "${ac_cv_lib_apparmor_aa_change_hat+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lnuma $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++LIBS="-lapparmor $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -43914,214 +25873,234 @@ + #ifdef __cplusplus + extern "C" + #endif +-char numa_available (); ++char aa_change_hat (); + int + main () + { +-return numa_available (); ++return aa_change_hat (); + ; + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_lib_numa_numa_available=yes ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_apparmor_aa_change_hat=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_numa_numa_available=no ++ ac_cv_lib_apparmor_aa_change_hat=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_numa_numa_available" >&5 +-$as_echo "$ac_cv_lib_numa_numa_available" >&6; } +-if test "x$ac_cv_lib_numa_numa_available" = x""yes; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apparmor_aa_change_hat" >&5 ++$as_echo "$ac_cv_lib_apparmor_aa_change_hat" >&6; } ++if test "x$ac_cv_lib_apparmor_aa_change_hat" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBNUMA 1 ++#define HAVE_LIBAPPARMOR 1 + _ACEOF + +- LIBS="-lnuma $LIBS" ++ LIBS="-lapparmor $LIBS" + + else +- with_numactl=no ++ fail=1 + fi + +- if test "$with_numactl" != "no"; then +- with_numactl="yes" +- fi +- else +- fail=0 +- if test "${ac_cv_header_numa_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for numa.h" >&5 +-$as_echo_n "checking for numa.h... " >&6; } +-if test "${ac_cv_header_numa_h+set}" = set; then +- $as_echo_n "(cached) " >&6 ++ test $fail = 1 && ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_numa_h" >&5 +-$as_echo "$ac_cv_header_numa_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking numa.h usability" >&5 +-$as_echo_n "checking numa.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ ++if test "$with_apparmor" = "yes"; then ++ APPARMOR_LIBS="-lapparmor" ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_APPARMOR 1 + _ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include ++ ++ ++cat >>confdefs.h <<_ACEOF ++#define APPARMOR_DIR "/etc/apparmor.d" + _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 +- ac_header_compiler=yes ++ ++ ++cat >>confdefs.h <<_ACEOF ++#define APPARMOR_PROFILES_PATH "/sys/kernel/security/apparmor/profiles" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++#define VIRT_AA_HELPER_PATH "$prefix/bin/virt-aa-helper" ++_ACEOF ++ ++fi ++ if test "$with_apparmor" != "no"; then ++ HAVE_APPARMOR_TRUE= ++ HAVE_APPARMOR_FALSE='#' + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ HAVE_APPARMOR_TRUE='#' ++ HAVE_APPARMOR_FALSE= ++fi ++ ++ ++ ++ ++ + +- ac_header_compiler=no ++# Check whether --with-secdriver-apparmor was given. ++if test "${with_secdriver_apparmor+set}" = set; then : ++ withval=$with_secdriver_apparmor; ++else ++ with_secdriver_apparmor=check + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking numa.h presence" >&5 +-$as_echo_n "checking numa.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include ++if test "$with_apparmor" != "yes" ; then ++ if test "$with_secdriver_apparmor" = "check" ; then ++ with_secdriver_apparmor=no ++ else ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++else ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ CFLAGS="$CFLAGS $APPARMOR_CFLAGS" ++ LIBS="$CFLAGS $APPARMOR_LIBS" ++ ++ fail=0 ++ ac_fn_c_check_func "$LINENO" "change_hat" "ac_cv_func_change_hat" ++if test "x$ac_cv_func_change_hat" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ ac_fn_c_check_func "$LINENO" "aa_change_profile" "ac_cv_func_aa_change_profile" ++if test "x$ac_cv_func_aa_change_profile" = x""yes; then : ++ ++else ++ fail=1 ++fi ++ ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++ ++ if test "$fail" = "1" ; then ++ if test "$with_secdriver_apparmor" = "check" ; then ++ with_secdriver_apparmor=no ++ else ++ as_fn_error "You must install the AppArmor development package in order to compile libvirt" "$LINENO" 5 ++ fi ++ else ++ with_secdriver_apparmor=yes ++ ++cat >>confdefs.h <<_ACEOF ++#define WITH_SECDRIVER_APPARMOR 1 + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes ++ ++ fi ++fi ++ if test "$with_secdriver_apparmor" != "no"; then ++ WITH_SECDRIVER_APPARMOR_TRUE= ++ WITH_SECDRIVER_APPARMOR_FALSE='#' + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ WITH_SECDRIVER_APPARMOR_TRUE='#' ++ WITH_SECDRIVER_APPARMOR_FALSE= ++fi + +- ac_header_preproc=no ++ ++ ++ ++ ++# Check whether --with-numactl was given. ++if test "${with_numactl+set}" = set; then : ++ withval=$with_numactl; ++else ++ with_numactl=check + fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: numa.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: numa.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: numa.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: numa.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: numa.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: numa.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: numa.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: numa.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: numa.h: in the future, the compiler will take precedence" >&2;} ++NUMACTL_CFLAGS= ++NUMACTL_LIBS= ++if test "$with_qemu" = "yes" -a "$with_numactl" != "no"; then ++ old_cflags="$CFLAGS" ++ old_libs="$LIBS" ++ if test "$with_numactl" = "check"; then ++ ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default" ++if test "x$ac_cv_header_numa_h" = x""yes; then : + +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for numa.h" >&5 +-$as_echo_n "checking for numa.h... " >&6; } +-if test "${ac_cv_header_numa_h+set}" = set; then ++else ++ with_numactl=no ++fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for numa_available in -lnuma" >&5 ++$as_echo_n "checking for numa_available in -lnuma... " >&6; } ++if test "${ac_cv_lib_numa_numa_available+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- ac_cv_header_numa_h=$ac_header_preproc ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnuma $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char numa_available (); ++int ++main () ++{ ++return numa_available (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_numa_numa_available=yes ++else ++ ac_cv_lib_numa_numa_available=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_numa_h" >&5 +-$as_echo "$ac_cv_header_numa_h" >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_numa_available" >&5 ++$as_echo "$ac_cv_lib_numa_numa_available" >&6; } ++if test "x$ac_cv_lib_numa_numa_available" = x""yes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBNUMA 1 ++_ACEOF ++ ++ LIBS="-lnuma $LIBS" + ++else ++ with_numactl=no + fi +-if test "x$ac_cv_header_numa_h" = x""yes; then +- : ++ ++ if test "$with_numactl" != "no"; then ++ with_numactl="yes" ++ fi ++ else ++ fail=0 ++ ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default" ++if test "x$ac_cv_header_numa_h" = x""yes; then : ++ + else + fail=1 + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for numa_available in -lnuma" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for numa_available in -lnuma" >&5 + $as_echo_n "checking for numa_available in -lnuma... " >&6; } +-if test "${ac_cv_lib_numa_numa_available+set}" = set; then ++if test "${ac_cv_lib_numa_numa_available+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lnuma $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -44139,43 +26118,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_numa_numa_available=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_numa_numa_available=no ++ ac_cv_lib_numa_numa_available=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_numa_numa_available" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_numa_available" >&5 + $as_echo "$ac_cv_lib_numa_numa_available" >&6; } +-if test "x$ac_cv_lib_numa_numa_available" = x""yes; then ++if test "x$ac_cv_lib_numa_numa_available" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBNUMA 1 + _ACEOF +@@ -44187,9 +26141,7 @@ + fi + + test $fail = 1 && +- { { $as_echo "$as_me:$LINENO: error: You must install the numactl development package in order to compile and run libvirt" >&5 +-$as_echo "$as_me: error: You must install the numactl development package in order to compile and run libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install the numactl development package in order to compile and run libvirt" "$LINENO" 5 + fi + CFLAGS="$old_cflags" + LIBS="$old_libs" +@@ -44216,134 +26168,8 @@ + + + if test "$with_uml" = "yes" -o "$with_uml" = "check"; then +- if test "${ac_cv_header_sys_inotify_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for sys/inotify.h" >&5 +-$as_echo_n "checking for sys/inotify.h... " >&6; } +-if test "${ac_cv_header_sys_inotify_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_inotify_h" >&5 +-$as_echo "$ac_cv_header_sys_inotify_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking sys/inotify.h usability" >&5 +-$as_echo_n "checking sys/inotify.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking sys/inotify.h presence" >&5 +-$as_echo_n "checking sys/inotify.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: sys/inotify.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: sys/inotify.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for sys/inotify.h" >&5 +-$as_echo_n "checking for sys/inotify.h... " >&6; } +-if test "${ac_cv_header_sys_inotify_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_sys_inotify_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_inotify_h" >&5 +-$as_echo "$ac_cv_header_sys_inotify_h" >&6; } +- +-fi +-if test "x$ac_cv_header_sys_inotify_h" = x""yes; then ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : + + with_uml=yes + +@@ -44351,12 +26177,10 @@ + + if test "$with_uml" = "check"; then + with_uml=no +- { $as_echo "$as_me:$LINENO: is required for the UML driver, disabling it" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: is required for the UML driver, disabling it" >&5 + $as_echo "$as_me: is required for the UML driver, disabling it" >&6;} + else +- { { $as_echo "$as_me:$LINENO: error: The is required for the UML driver. Upgrade your libc6." >&5 +-$as_echo "$as_me: error: The is required for the UML driver. Upgrade your libc6." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "The is required for the UML driver. Upgrade your libc6." "$LINENO" 5 + fi + + fi +@@ -44394,18 +26218,14 @@ + fi + + if test "$with_phyp" = "check"; then +- { $as_echo "$as_me:$LINENO: checking for ssh_new in -lssh" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5 + $as_echo_n "checking for ssh_new in -lssh... " >&6; } +-if test "${ac_cv_lib_ssh_ssh_new+set}" = set; then ++if test "${ac_cv_lib_ssh_ssh_new+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lssh $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -44423,43 +26243,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ssh_ssh_new=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_ssh_ssh_new=no ++ ac_cv_lib_ssh_ssh_new=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssh_ssh_new" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5 + $as_echo "$ac_cv_lib_ssh_ssh_new" >&6; } +-if test "x$ac_cv_lib_ssh_ssh_new" = x""yes; then ++if test "x$ac_cv_lib_ssh_ssh_new" = x""yes; then : + + LIBSSH_LIBS="$LIBSSH_LIBS -lssh -L$libssh_path" + +@@ -44472,146 +26267,12 @@ + + + if test "$with_phyp" != "no"; then +- +-for ac_header in libssh/libssh.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } +- +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in libssh/libssh.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "libssh/libssh.h" "ac_cv_header_libssh_libssh_h" "$ac_includes_default" ++if test "x$ac_cv_header_libssh_libssh_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_LIBSSH_LIBSSH_H 1 + _ACEOF + + with_phyp="yes" +@@ -44634,18 +26295,14 @@ + + fi + elif test "$with_phyp" = "yes"; then +- { $as_echo "$as_me:$LINENO: checking for ssh_new in -lssh" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5 + $as_echo_n "checking for ssh_new in -lssh... " >&6; } +-if test "${ac_cv_lib_ssh_ssh_new+set}" = set; then ++if test "${ac_cv_lib_ssh_ssh_new+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lssh $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -44663,204 +26320,41 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ssh_ssh_new=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_ssh_ssh_new=no ++ ac_cv_lib_ssh_ssh_new=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssh_ssh_new" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5 + $as_echo "$ac_cv_lib_ssh_ssh_new" >&6; } +-if test "x$ac_cv_lib_ssh_ssh_new" = x""yes; then ++if test "x$ac_cv_lib_ssh_ssh_new" = x""yes; then : + + LIBSSH_LIBS="$LIBSSH_LIBS -lssh -L$libssh_path" + + else + +- { { $as_echo "$as_me:$LINENO: error: You must install the libssh to compile Phype driver." >&5 +-$as_echo "$as_me: error: You must install the libssh to compile Phype driver." >&2;} +- { (exit 1); exit 1; }; } +- +-fi +- +- +- +-for ac_header in libssh/libssh.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++ as_fn_error "You must install the libssh to compile Phype driver." "$LINENO" 5 + +- ac_header_preproc=no + fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } + +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_header in libssh/libssh.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "libssh/libssh.h" "ac_cv_header_libssh_libssh_h" "$ac_includes_default" ++if test "x$ac_cv_header_libssh_libssh_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_LIBSSH_LIBSSH_H 1 + _ACEOF + + LIBSSH_CFLAGS="-I/usr/local/include/libssh" + + else + +- { { $as_echo "$as_me:$LINENO: error: Cannot find libssh headers.Is libssh installed ?" >&5 +-$as_echo "$as_me: error: Cannot find libssh headers.Is libssh installed ?" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "Cannot find libssh headers.Is libssh installed ?" "$LINENO" 5 + + fi + +@@ -44883,7 +26377,7 @@ + + + # Check whether --with-capng was given. +-if test "${with_capng+set}" = set; then ++if test "${with_capng+set}" = set; then : + withval=$with_capng; + else + with_capng=check +@@ -44896,153 +26390,22 @@ + old_cflags="$CFLAGS" + old_libs="$LIBS" + if test "$with_capng" = "check"; then +- if test "${ac_cv_header_cap_ng_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for cap-ng.h" >&5 +-$as_echo_n "checking for cap-ng.h... " >&6; } +-if test "${ac_cv_header_cap_ng_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_cap_ng_h" >&5 +-$as_echo "$ac_cv_header_cap_ng_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking cap-ng.h usability" >&5 +-$as_echo_n "checking cap-ng.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking cap-ng.h presence" >&5 +-$as_echo_n "checking cap-ng.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for cap-ng.h" >&5 +-$as_echo_n "checking for cap-ng.h... " >&6; } +-if test "${ac_cv_header_cap_ng_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_cap_ng_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_cap_ng_h" >&5 +-$as_echo "$ac_cv_header_cap_ng_h" >&6; } ++ ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default" ++if test "x$ac_cv_header_cap_ng_h" = x""yes; then : + +-fi +-if test "x$ac_cv_header_cap_ng_h" = x""yes; then +- : + else + with_capng=no + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for capng_updatev in -lcap-ng" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_updatev in -lcap-ng" >&5 + $as_echo_n "checking for capng_updatev in -lcap-ng... " >&6; } +-if test "${ac_cv_lib_cap_ng_capng_updatev+set}" = set; then ++if test "${ac_cv_lib_cap_ng_capng_updatev+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lcap-ng $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -45060,43 +26423,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_cap_ng_capng_updatev=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_cap_ng_capng_updatev=no ++ ac_cv_lib_cap_ng_capng_updatev=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_ng_capng_updatev" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_updatev" >&5 + $as_echo "$ac_cv_lib_cap_ng_capng_updatev" >&6; } +-if test "x$ac_cv_lib_cap_ng_capng_updatev" = x""yes; then ++if test "x$ac_cv_lib_cap_ng_capng_updatev" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBCAP_NG 1 + _ACEOF +@@ -45112,153 +26450,22 @@ + fi + else + fail=0 +- if test "${ac_cv_header_cap_ng_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for cap-ng.h" >&5 +-$as_echo_n "checking for cap-ng.h... " >&6; } +-if test "${ac_cv_header_cap_ng_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_cap_ng_h" >&5 +-$as_echo "$ac_cv_header_cap_ng_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking cap-ng.h usability" >&5 +-$as_echo_n "checking cap-ng.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking cap-ng.h presence" >&5 +-$as_echo_n "checking cap-ng.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: cap-ng.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: cap-ng.h: in the future, the compiler will take precedence" >&2;} ++ ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default" ++if test "x$ac_cv_header_cap_ng_h" = x""yes; then : + +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for cap-ng.h" >&5 +-$as_echo_n "checking for cap-ng.h... " >&6; } +-if test "${ac_cv_header_cap_ng_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_cap_ng_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_cap_ng_h" >&5 +-$as_echo "$ac_cv_header_cap_ng_h" >&6; } +- +-fi +-if test "x$ac_cv_header_cap_ng_h" = x""yes; then +- : + else + fail=1 + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for capng_updatev in -lcap-ng" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_updatev in -lcap-ng" >&5 + $as_echo_n "checking for capng_updatev in -lcap-ng... " >&6; } +-if test "${ac_cv_lib_cap_ng_capng_updatev+set}" = set; then ++if test "${ac_cv_lib_cap_ng_capng_updatev+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lcap-ng $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -45276,222 +26483,61 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_cap_ng_capng_updatev=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_cap_ng_capng_updatev=no ++ ac_cv_lib_cap_ng_capng_updatev=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_ng_capng_updatev" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_updatev" >&5 + $as_echo "$ac_cv_lib_cap_ng_capng_updatev" >&6; } +-if test "x$ac_cv_lib_cap_ng_capng_updatev" = x""yes; then ++if test "x$ac_cv_lib_cap_ng_capng_updatev" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBCAP_NG 1 + _ACEOF + + LIBS="-lcap-ng $LIBS" + +-else +- fail=1 +-fi +- +- test $fail = 1 && +- { { $as_echo "$as_me:$LINENO: error: You must install the capng >= 0.4.0 development package in order to compile and run libvirt" >&5 +-$as_echo "$as_me: error: You must install the capng >= 0.4.0 development package in order to compile and run libvirt" >&2;} +- { (exit 1); exit 1; }; } +- fi +- CFLAGS="$old_cflags" +- LIBS="$old_libs" +-fi +-if test "$with_capng" = "yes"; then +- CAPNG_LIBS="-lcap-ng" +- +-cat >>confdefs.h <<_ACEOF +-#define HAVE_CAPNG 1 +-_ACEOF +- +-fi +- if test "$with_capng" != "no"; then +- HAVE_CAPNG_TRUE= +- HAVE_CAPNG_FALSE='#' +-else +- HAVE_CAPNG_TRUE='#' +- HAVE_CAPNG_FALSE= +-fi +- +- +- +- +- +- +- +-for ac_header in readline/readline.h +-do +-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then +- { $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 +-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; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +-$as_echo_n "checking $ac_header usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no ++else ++ fail=1 + fi + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } ++ test $fail = 1 && ++ as_fn_error "You must install the capng >= 0.4.0 development package in order to compile and run libvirt" "$LINENO" 5 ++ fi ++ CFLAGS="$old_cflags" ++ LIBS="$old_libs" ++fi ++if test "$with_capng" = "yes"; then ++ CAPNG_LIBS="-lcap-ng" + +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +-$as_echo_n "checking $ac_header presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_header> ++cat >>confdefs.h <<_ACEOF ++#define HAVE_CAPNG 1 + _ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_header_preproc=no ++fi ++ if test "$with_capng" != "no"; then ++ HAVE_CAPNG_TRUE= ++ HAVE_CAPNG_FALSE='#' ++else ++ HAVE_CAPNG_TRUE='#' ++ HAVE_CAPNG_FALSE= + fi + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + +- ;; +-esac +-{ $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 +- eval "$as_ac_Header=\$ac_header_preproc" +-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; } + +-fi +-as_val=`eval 'as_val=${'$as_ac_Header'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ ++ ++for ac_header in readline/readline.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" ++if test "x$ac_cv_header_readline_readline_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++#define HAVE_READLINE_READLINE_H 1 + _ACEOF + + fi +@@ -45500,18 +26546,14 @@ + + + # Check for readline. +-{ $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 + $as_echo_n "checking for readline in -lreadline... " >&6; } +-if test "${ac_cv_lib_readline_readline+set}" = set; then ++if test "${ac_cv_lib_readline_readline+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lreadline $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -45529,43 +26571,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_readline_readline=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_readline_readline=no ++ ac_cv_lib_readline_readline=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 + $as_echo "$ac_cv_lib_readline_readline" >&6; } +-if test "x$ac_cv_lib_readline_readline" = x""yes; then ++if test "x$ac_cv_lib_readline_readline" = x""yes; then : + lv_use_readline=yes; VIRSH_LIBS="$VIRSH_LIBS -lreadline" + else + lv_use_readline=no +@@ -45578,17 +26595,13 @@ + if test $lv_use_readline = no; then + lv_saved_libs=$LIBS + LIBS= +- { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5 + $as_echo_n "checking for library containing tgetent... " >&6; } +-if test "${ac_cv_search_tgetent+set}" = set; then ++if test "${ac_cv_search_tgetent+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_func_search_save_LIBS=$LIBS +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -45613,54 +26626,27 @@ + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi +- rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++ if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_tgetent=$ac_res +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext +- if test "${ac_cv_search_tgetent+set}" = set; then ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_tgetent+set}" = set; then : + break + fi + done +-if test "${ac_cv_search_tgetent+set}" = set; then +- : ++if test "${ac_cv_search_tgetent+set}" = set; then : ++ + else + ac_cv_search_tgetent=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5 + $as_echo "$ac_cv_search_tgetent" >&6; } + ac_res=$ac_cv_search_tgetent +-if test "$ac_res" != no; then ++if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi +@@ -45671,18 +26657,14 @@ + # Now, check for -lreadline again, also using $LIBS. + # Note: this time we use a different function, so that + # we don't get a cached "no" result. +- { $as_echo "$as_me:$LINENO: checking for rl_initialize in -lreadline" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_initialize in -lreadline" >&5 + $as_echo_n "checking for rl_initialize in -lreadline... " >&6; } +-if test "${ac_cv_lib_readline_rl_initialize+set}" = set; then ++if test "${ac_cv_lib_readline_rl_initialize+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lreadline $LIBS $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -45700,43 +26682,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_readline_rl_initialize=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_readline_rl_initialize=no ++ ac_cv_lib_readline_rl_initialize=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_initialize" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_initialize" >&5 + $as_echo "$ac_cv_lib_readline_rl_initialize" >&6; } +-if test "x$ac_cv_lib_readline_rl_initialize" = x""yes; then ++if test "x$ac_cv_lib_readline_rl_initialize" = x""yes; then : + lv_use_readline=yes + VIRSH_LIBS="$VIRSH_LIBS -lreadline $LIBS" + fi +@@ -45744,7 +26701,7 @@ + ;; + esac + test $lv_use_readline = no && +- { $as_echo "$as_me:$LINENO: WARNING: readline library not found" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: readline library not found" >&5 + $as_echo "$as_me: WARNING: readline library not found" >&2;} + LIBS=$lv_saved_libs + fi +@@ -45765,7 +26722,7 @@ + + + # Check whether --with-network was given. +-if test "${with_network+set}" = set; then ++if test "${with_network+set}" = set; then : + withval=$with_network; + else + with_network=yes +@@ -45810,7 +26767,7 @@ + + + # Check whether --with-netcf was given. +-if test "${with_netcf+set}" = set; then ++if test "${with_netcf+set}" = set; then : + withval=$with_netcf; + else + with_netcf=check +@@ -45822,40 +26779,44 @@ + if test "$with_netcf" = "yes" -o "$with_netcf" = "check"; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for NETCF" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NETCF" >&5 + $as_echo_n "checking for NETCF... " >&6; } + +-if test -n "$NETCF_CFLAGS"; then +- pkg_cv_NETCF_CFLAGS="$NETCF_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"netcf >= \$NETCF_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$NETCF_CFLAGS"; then ++ pkg_cv_NETCF_CFLAGS="$NETCF_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"netcf >= \$NETCF_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "netcf >= $NETCF_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_NETCF_CFLAGS=`$PKG_CONFIG --cflags "netcf >= $NETCF_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$NETCF_LIBS"; then +- pkg_cv_NETCF_LIBS="$NETCF_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"netcf >= \$NETCF_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$NETCF_LIBS"; then ++ pkg_cv_NETCF_LIBS="$NETCF_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"netcf >= \$NETCF_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "netcf >= $NETCF_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_NETCF_LIBS=`$PKG_CONFIG --libs "netcf >= $NETCF_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -45868,22 +26829,20 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- NETCF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "netcf >= $NETCF_REQUIRED" 2>&1` ++ NETCF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "netcf >= $NETCF_REQUIRED"` + else +- NETCF_PKG_ERRORS=`$PKG_CONFIG --print-errors "netcf >= $NETCF_REQUIRED" 2>&1` ++ NETCF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "netcf >= $NETCF_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$NETCF_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + + if test "$with_netcf" = "check" ; then + with_netcf=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + elif test $pkg_failed = untried; then +@@ -45891,15 +26850,13 @@ + if test "$with_netcf" = "check" ; then + with_netcf=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install libnetcf >= $NETCF_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + else + NETCF_CFLAGS=$pkg_cv_NETCF_CFLAGS + NETCF_LIBS=$pkg_cv_NETCF_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + with_netcf=yes + fi +@@ -45924,7 +26881,7 @@ + + + # Check whether --with-storage-fs was given. +-if test "${with_storage_fs+set}" = set; then ++if test "${with_storage_fs+set}" = set; then : + withval=$with_storage_fs; + else + with_storage_fs=check +@@ -45932,7 +26889,7 @@ + + + # Check whether --with-storage-lvm was given. +-if test "${with_storage_lvm+set}" = set; then ++if test "${with_storage_lvm+set}" = set; then : + withval=$with_storage_lvm; + else + with_storage_lvm=check +@@ -45940,7 +26897,7 @@ + + + # Check whether --with-storage-iscsi was given. +-if test "${with_storage_iscsi+set}" = set; then ++if test "${with_storage_iscsi+set}" = set; then : + withval=$with_storage_iscsi; + else + with_storage_iscsi=check +@@ -45948,7 +26905,7 @@ + + + # Check whether --with-storage-scsi was given. +-if test "${with_storage_scsi+set}" = set; then ++if test "${with_storage_scsi+set}" = set; then : + withval=$with_storage_scsi; + else + with_storage_scsi=check +@@ -45956,7 +26913,7 @@ + + + # Check whether --with-storage-disk was given. +-if test "${with_storage_disk+set}" = set; then ++if test "${with_storage_disk+set}" = set; then : + withval=$with_storage_disk; + else + with_storage_disk=check +@@ -45992,9 +26949,9 @@ + if test "$with_storage_fs" = "yes" -o "$with_storage_fs" = "check"; then + # Extract the first word of "mount", so it can be a program name with args. + set dummy mount; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_MOUNT+set}" = set; then ++if test "${ac_cv_path_MOUNT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $MOUNT in +@@ -46008,14 +26965,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_MOUNT="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46023,19 +26980,19 @@ + fi + MOUNT=$ac_cv_path_MOUNT + if test -n "$MOUNT"; then +- { $as_echo "$as_me:$LINENO: result: $MOUNT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOUNT" >&5 + $as_echo "$MOUNT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "umount", so it can be a program name with args. + set dummy umount; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_UMOUNT+set}" = set; then ++if test "${ac_cv_path_UMOUNT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $UMOUNT in +@@ -46049,14 +27006,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_UMOUNT="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46064,21 +27021,17 @@ + fi + UMOUNT=$ac_cv_path_UMOUNT + if test -n "$UMOUNT"; then +- { $as_echo "$as_me:$LINENO: result: $UMOUNT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UMOUNT" >&5 + $as_echo "$UMOUNT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + if test "$with_storage_fs" = "yes" ; then +- if test -z "$MOUNT" ; then { { $as_echo "$as_me:$LINENO: error: We need mount for FS storage driver" >&5 +-$as_echo "$as_me: error: We need mount for FS storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$UMOUNT" ; then { { $as_echo "$as_me:$LINENO: error: We need umount for FS storage driver" >&5 +-$as_echo "$as_me: error: We need umount for FS storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi ++ if test -z "$MOUNT" ; then as_fn_error "We need mount for FS storage driver" "$LINENO" 5 ; fi ++ if test -z "$UMOUNT" ; then as_fn_error "We need umount for FS storage driver" "$LINENO" 5 ; fi + else + if test -z "$MOUNT" ; then with_storage_fs=no ; fi + if test -z "$UMOUNT" ; then with_storage_fs=no ; fi +@@ -46115,9 +27068,9 @@ + if test "$with_storage_fs" = "yes"; then + # Extract the first word of "showmount", so it can be a program name with args. + set dummy showmount; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_SHOWMOUNT+set}" = set; then ++if test "${ac_cv_path_SHOWMOUNT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $SHOWMOUNT in +@@ -46131,14 +27084,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_SHOWMOUNT="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46146,10 +27099,10 @@ + fi + SHOWMOUNT=$ac_cv_path_SHOWMOUNT + if test -n "$SHOWMOUNT"; then +- { $as_echo "$as_me:$LINENO: result: $SHOWMOUNT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHOWMOUNT" >&5 + $as_echo "$SHOWMOUNT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -46164,9 +27117,9 @@ + if test "$with_storage_lvm" = "yes" -o "$with_storage_lvm" = "check"; then + # Extract the first word of "pvcreate", so it can be a program name with args. + set dummy pvcreate; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_PVCREATE+set}" = set; then ++if test "${ac_cv_path_PVCREATE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $PVCREATE in +@@ -46180,14 +27133,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_PVCREATE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46195,19 +27148,19 @@ + fi + PVCREATE=$ac_cv_path_PVCREATE + if test -n "$PVCREATE"; then +- { $as_echo "$as_me:$LINENO: result: $PVCREATE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVCREATE" >&5 + $as_echo "$PVCREATE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "vgcreate", so it can be a program name with args. + set dummy vgcreate; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_VGCREATE+set}" = set; then ++if test "${ac_cv_path_VGCREATE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $VGCREATE in +@@ -46221,14 +27174,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_VGCREATE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46236,19 +27189,19 @@ + fi + VGCREATE=$ac_cv_path_VGCREATE + if test -n "$VGCREATE"; then +- { $as_echo "$as_me:$LINENO: result: $VGCREATE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGCREATE" >&5 + $as_echo "$VGCREATE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "lvcreate", so it can be a program name with args. + set dummy lvcreate; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_LVCREATE+set}" = set; then ++if test "${ac_cv_path_LVCREATE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $LVCREATE in +@@ -46262,14 +27215,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_LVCREATE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46277,19 +27230,19 @@ + fi + LVCREATE=$ac_cv_path_LVCREATE + if test -n "$LVCREATE"; then +- { $as_echo "$as_me:$LINENO: result: $LVCREATE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVCREATE" >&5 + $as_echo "$LVCREATE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "pvremove", so it can be a program name with args. + set dummy pvremove; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_PVREMOVE+set}" = set; then ++if test "${ac_cv_path_PVREMOVE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $PVREMOVE in +@@ -46303,14 +27256,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_PVREMOVE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46318,19 +27271,19 @@ + fi + PVREMOVE=$ac_cv_path_PVREMOVE + if test -n "$PVREMOVE"; then +- { $as_echo "$as_me:$LINENO: result: $PVREMOVE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVREMOVE" >&5 + $as_echo "$PVREMOVE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "vgremove", so it can be a program name with args. + set dummy vgremove; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_VGREMOVE+set}" = set; then ++if test "${ac_cv_path_VGREMOVE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $VGREMOVE in +@@ -46344,14 +27297,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_VGREMOVE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46359,19 +27312,19 @@ + fi + VGREMOVE=$ac_cv_path_VGREMOVE + if test -n "$VGREMOVE"; then +- { $as_echo "$as_me:$LINENO: result: $VGREMOVE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGREMOVE" >&5 + $as_echo "$VGREMOVE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "lvremove", so it can be a program name with args. + set dummy lvremove; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_LVREMOVE+set}" = set; then ++if test "${ac_cv_path_LVREMOVE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $LVREMOVE in +@@ -46385,14 +27338,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_LVREMOVE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46400,19 +27353,19 @@ + fi + LVREMOVE=$ac_cv_path_LVREMOVE + if test -n "$LVREMOVE"; then +- { $as_echo "$as_me:$LINENO: result: $LVREMOVE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVREMOVE" >&5 + $as_echo "$LVREMOVE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $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:$LINENO: checking for $ac_word" >&5 ++{ $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_VGCHANGE+set}" = set; then ++if test "${ac_cv_path_VGCHANGE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $VGCHANGE in +@@ -46426,14 +27379,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_VGCHANGE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46441,19 +27394,19 @@ + fi + VGCHANGE=$ac_cv_path_VGCHANGE + if test -n "$VGCHANGE"; then +- { $as_echo "$as_me:$LINENO: result: $VGCHANGE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGCHANGE" >&5 + $as_echo "$VGCHANGE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "vgscan", so it can be a program name with args. + set dummy vgscan; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_VGSCAN+set}" = set; then ++if test "${ac_cv_path_VGSCAN+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $VGSCAN in +@@ -46467,14 +27420,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_VGSCAN="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46482,19 +27435,19 @@ + fi + VGSCAN=$ac_cv_path_VGSCAN + if test -n "$VGSCAN"; then +- { $as_echo "$as_me:$LINENO: result: $VGSCAN" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGSCAN" >&5 + $as_echo "$VGSCAN" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "pvs", so it can be a program name with args. + set dummy pvs; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_PVS+set}" = set; then ++if test "${ac_cv_path_PVS+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $PVS in +@@ -46508,14 +27461,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_PVS="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46523,19 +27476,19 @@ + fi + PVS=$ac_cv_path_PVS + if test -n "$PVS"; then +- { $as_echo "$as_me:$LINENO: result: $PVS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PVS" >&5 + $as_echo "$PVS" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "vgs", so it can be a program name with args. + set dummy vgs; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_VGS+set}" = set; then ++if test "${ac_cv_path_VGS+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $VGS in +@@ -46549,14 +27502,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_VGS="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46564,19 +27517,19 @@ + fi + VGS=$ac_cv_path_VGS + if test -n "$VGS"; then +- { $as_echo "$as_me:$LINENO: result: $VGS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VGS" >&5 + $as_echo "$VGS" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + # Extract the first word of "lvs", so it can be a program name with args. + set dummy lvs; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_LVS+set}" = set; then ++if test "${ac_cv_path_LVS+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $LVS in +@@ -46590,14 +27543,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_LVS="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46605,49 +27558,27 @@ + fi + LVS=$ac_cv_path_LVS + if test -n "$LVS"; then +- { $as_echo "$as_me:$LINENO: result: $LVS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVS" >&5 + $as_echo "$LVS" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + + if test "$with_storage_lvm" = "yes" ; then +- if test -z "$PVCREATE" ; then { { $as_echo "$as_me:$LINENO: error: We need pvcreate for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need pvcreate for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$VGCREATE" ; then { { $as_echo "$as_me:$LINENO: error: We need vgcreate for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need vgcreate for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$LVCREATE" ; then { { $as_echo "$as_me:$LINENO: error: We need lvcreate for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need lvcreate for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$PVREMOVE" ; then { { $as_echo "$as_me:$LINENO: error: We need pvremove for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need pvremove for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$VGREMOVE" ; then { { $as_echo "$as_me:$LINENO: error: We need vgremove for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need vgremove for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$LVREMOVE" ; then { { $as_echo "$as_me:$LINENO: error: We need lvremove for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need lvremove for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$VGCHANGE" ; then { { $as_echo "$as_me:$LINENO: error: We need vgchange for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need vgchange for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$VGSCAN" ; then { { $as_echo "$as_me:$LINENO: error: We need vgscan for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need vgscan for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$PVS" ; then { { $as_echo "$as_me:$LINENO: error: We need pvs for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need pvs for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$VGS" ; then { { $as_echo "$as_me:$LINENO: error: We need vgs for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need vgs for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi +- if test -z "$LVS" ; then { { $as_echo "$as_me:$LINENO: error: We need lvs for LVM storage driver" >&5 +-$as_echo "$as_me: error: We need lvs for LVM storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi ++ if test -z "$PVCREATE" ; then as_fn_error "We need pvcreate for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$VGCREATE" ; then as_fn_error "We need vgcreate for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$LVCREATE" ; then as_fn_error "We need lvcreate for LVM storage driver" "$LINENO" 5 ; 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 "$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 ++ if test -z "$VGS" ; then as_fn_error "We need vgs for LVM storage driver" "$LINENO" 5 ; fi ++ if test -z "$LVS" ; then as_fn_error "We need lvs for LVM storage driver" "$LINENO" 5 ; fi + else + if test -z "$PVCREATE" ; then with_storage_lvm=no ; fi + if test -z "$VGCREATE" ; then with_storage_lvm=no ; fi +@@ -46741,9 +27672,9 @@ + if test "$with_storage_iscsi" = "yes" -o "$with_storage_iscsi" = "check"; then + # Extract the first word of "iscsiadm", so it can be a program name with args. + set dummy iscsiadm; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_ISCSIADM+set}" = set; then ++if test "${ac_cv_path_ISCSIADM+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $ISCSIADM in +@@ -46757,14 +27688,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_ISCSIADM="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46772,18 +27703,16 @@ + fi + ISCSIADM=$ac_cv_path_ISCSIADM + if test -n "$ISCSIADM"; then +- { $as_echo "$as_me:$LINENO: result: $ISCSIADM" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISCSIADM" >&5 + $as_echo "$ISCSIADM" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + + if test "$with_storage_iscsi" = "yes" ; then +- if test -z "$ISCSIADM" ; then { { $as_echo "$as_me:$LINENO: error: We need iscsiadm for iSCSI storage driver" >&5 +-$as_echo "$as_me: error: We need iscsiadm for iSCSI storage driver" >&2;} +- { (exit 1); exit 1; }; } ; fi ++ if test -z "$ISCSIADM" ; then as_fn_error "We need iscsiadm for iSCSI storage driver" "$LINENO" 5 ; fi + else + if test -z "$ISCSIADM" ; then with_storage_iscsi=no ; fi + +@@ -46836,9 +27765,9 @@ + if test "$with_storage_disk" = "yes" -o "$with_storage_disk" = "check"; then + # Extract the first word of "parted", so it can be a program name with args. + set dummy parted; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_PARTED+set}" = set; then ++if test "${ac_cv_path_PARTED+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $PARTED in +@@ -46852,14 +27781,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_PARTED="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -46867,10 +27796,10 @@ + fi + PARTED=$ac_cv_path_PARTED + if test -n "$PARTED"; then +- { $as_echo "$as_me:$LINENO: result: $PARTED" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PARTED" >&5 + $as_echo "$PARTED" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -46885,40 +27814,44 @@ + if test "$with_storage_disk" != "no" -a "x$PKG_CONFIG" != "x" ; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for LIBPARTED" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPARTED" >&5 + $as_echo_n "checking for LIBPARTED... " >&6; } + +-if test -n "$LIBPARTED_CFLAGS"; then +- pkg_cv_LIBPARTED_CFLAGS="$LIBPARTED_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libparted >= \$PARTED_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBPARTED_CFLAGS"; then ++ pkg_cv_LIBPARTED_CFLAGS="$LIBPARTED_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libparted >= \$PARTED_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libparted >= $PARTED_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_LIBPARTED_CFLAGS=`$PKG_CONFIG --cflags "libparted >= $PARTED_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$LIBPARTED_LIBS"; then +- pkg_cv_LIBPARTED_LIBS="$LIBPARTED_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libparted >= \$PARTED_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBPARTED_LIBS"; then ++ pkg_cv_LIBPARTED_LIBS="$LIBPARTED_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libparted >= \$PARTED_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libparted >= $PARTED_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_LIBPARTED_LIBS=`$PKG_CONFIG --libs "libparted >= $PARTED_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -46931,14 +27864,14 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- LIBPARTED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libparted >= $PARTED_REQUIRED" 2>&1` ++ LIBPARTED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libparted >= $PARTED_REQUIRED"` + else +- LIBPARTED_PKG_ERRORS=`$PKG_CONFIG --print-errors "libparted >= $PARTED_REQUIRED" 2>&1` ++ LIBPARTED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libparted >= $PARTED_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBPARTED_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + PARTED_FOUND=no + elif test $pkg_failed = untried; then +@@ -46946,7 +27879,7 @@ + else + LIBPARTED_CFLAGS=$pkg_cv_LIBPARTED_CFLAGS + LIBPARTED_LIBS=$pkg_cv_LIBPARTED_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + : + fi +@@ -46956,153 +27889,22 @@ + save_LIBS="$LIBS" + save_CFLAGS="$CFLAGS" + PARTED_FOUND=yes +- if test "${ac_cv_header_parted_parted_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for parted/parted.h" >&5 +-$as_echo_n "checking for parted/parted.h... " >&6; } +-if test "${ac_cv_header_parted_parted_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_parted_parted_h" >&5 +-$as_echo "$ac_cv_header_parted_parted_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking parted/parted.h usability" >&5 +-$as_echo_n "checking parted/parted.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi ++ ac_fn_c_check_header_mongrel "$LINENO" "parted/parted.h" "ac_cv_header_parted_parted_h" "$ac_includes_default" ++if test "x$ac_cv_header_parted_parted_h" = x""yes; then : + +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking parted/parted.h presence" >&5 +-$as_echo_n "checking parted/parted.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: parted/parted.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: parted/parted.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: parted/parted.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: parted/parted.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: parted/parted.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: parted/parted.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: parted/parted.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: parted/parted.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: parted/parted.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: parted/parted.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: parted/parted.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: parted/parted.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: parted/parted.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: parted/parted.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: parted/parted.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: parted/parted.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for parted/parted.h" >&5 +-$as_echo_n "checking for parted/parted.h... " >&6; } +-if test "${ac_cv_header_parted_parted_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_parted_parted_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_parted_parted_h" >&5 +-$as_echo "$ac_cv_header_parted_parted_h" >&6; } +- +-fi +-if test "x$ac_cv_header_parted_parted_h" = x""yes; then +- : + else + PARTED_FOUND=no + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 + $as_echo_n "checking for uuid_generate in -luuid... " >&6; } +-if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then ++if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-luuid $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -47120,43 +27922,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_uuid_uuid_generate=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_uuid_uuid_generate=no ++ ac_cv_lib_uuid_uuid_generate=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 + $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } +-if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then ++if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBUUID 1 + _ACEOF +@@ -47167,19 +27944,14 @@ + PARTED_FOUND=no + fi + +- +-{ $as_echo "$as_me:$LINENO: checking for ped_device_read in -lparted" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ped_device_read in -lparted" >&5 + $as_echo_n "checking for ped_device_read in -lparted... " >&6; } +-if test "${ac_cv_lib_parted_ped_device_read+set}" = set; then ++if test "${ac_cv_lib_parted_ped_device_read+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lparted $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -47197,43 +27969,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_parted_ped_device_read=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_parted_ped_device_read=no ++ ac_cv_lib_parted_ped_device_read=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_parted_ped_device_read" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_parted_ped_device_read" >&5 + $as_echo "$ac_cv_lib_parted_ped_device_read" >&6; } +-if test "x$ac_cv_lib_parted_ped_device_read" = x""yes; then ++if test "x$ac_cv_lib_parted_ped_device_read" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBPARTED 1 + _ACEOF +@@ -47251,9 +27998,7 @@ + + if test "$PARTED_FOUND" = "no" ; then + if test "$with_storage_disk" = "yes" ; then +- { { $as_echo "$as_me:$LINENO: error: We need parted for disk storage driver" >&5 +-$as_echo "$as_me: error: We need parted for disk storage driver" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "We need parted for disk storage driver" "$LINENO" 5 + else + with_storage_disk=no + fi +@@ -47294,40 +28039,44 @@ + if test "$with_esx" = "yes" -o "$with_esx" = "check"; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for LIBCURL" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5 + $as_echo_n "checking for LIBCURL... " >&6; } + +-if test -n "$LIBCURL_CFLAGS"; then +- pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$LIBCURL_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBCURL_CFLAGS"; then ++ pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$LIBCURL_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libcurl >= $LIBCURL_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= $LIBCURL_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$LIBCURL_LIBS"; then +- pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$LIBCURL_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$LIBCURL_LIBS"; then ++ pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$LIBCURL_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libcurl >= $LIBCURL_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= $LIBCURL_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -47340,42 +28089,38 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl >= $LIBCURL_REQUIRED" 2>&1` ++ LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl >= $LIBCURL_REQUIRED"` + else +- LIBCURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl >= $LIBCURL_REQUIRED" 2>&1` ++ LIBCURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl >= $LIBCURL_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBCURL_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + + if test "$with_esx" = "check"; then + with_esx=no +- { $as_echo "$as_me:$LINENO: libcurl is required for ESX driver, disabling it" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: libcurl is required for ESX driver, disabling it" >&5 + $as_echo "$as_me: libcurl is required for ESX driver, disabling it" >&6;} + else +- { { $as_echo "$as_me:$LINENO: error: libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" >&5 +-$as_echo "$as_me: error: libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" "$LINENO" 5 + fi + + elif test $pkg_failed = untried; then + + if test "$with_esx" = "check"; then + with_esx=no +- { $as_echo "$as_me:$LINENO: libcurl is required for ESX driver, disabling it" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: libcurl is required for ESX driver, disabling it" >&5 + $as_echo "$as_me: libcurl is required for ESX driver, disabling it" >&6;} + else +- { { $as_echo "$as_me:$LINENO: error: libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" >&5 +-$as_echo "$as_me: error: libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "libcurl >= $LIBCURL_REQUIRED is required for the ESX driver" "$LINENO" 5 + fi + + else + LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS + LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + + LIBCURL_FOUND=yes +@@ -47426,9 +28171,9 @@ + else + # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. + set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_PYTHON+set}" = set; then ++if test "${ac_cv_path_PYTHON+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $PYTHON in +@@ -47441,14 +28186,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_PYTHON="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + ;; +@@ -47456,10 +28201,10 @@ + fi + PYTHON=$ac_cv_path_PYTHON + if test -n "$PYTHON"; then +- { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 + $as_echo "$PYTHON" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -47521,7 +28266,7 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking whether this host is running a Xen kernel" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this host is running a Xen kernel" >&5 + $as_echo_n "checking whether this host is running a Xen kernel... " >&6; } + RUNNING_XEN= + if test -d /proc/sys/xen +@@ -47530,10 +28275,10 @@ + else + RUNNING_XEN=no + fi +-{ $as_echo "$as_me:$LINENO: result: $RUNNING_XEN" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNNING_XEN" >&5 + $as_echo "$RUNNING_XEN" >&6; } + +-{ $as_echo "$as_me:$LINENO: checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible" >&5 + $as_echo_n "checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible... " >&6; } + RUNNING_XEND= + if test -S /var/run/xend/xmlrpc.sock +@@ -47542,7 +28287,7 @@ + else + RUNNING_XEND=no + fi +-{ $as_echo "$as_me:$LINENO: result: $RUNNING_XEND" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNNING_XEND" >&5 + $as_echo "$RUNNING_XEND" >&6; } + + if test "$RUNNING_XEN" != "no" -a "$RUNNING_XEND" != "no"; then +@@ -47555,12 +28300,10 @@ + + + # Check whether --enable-test-coverage was given. +-if test "${enable_test_coverage+set}" = set; then ++if test "${enable_test_coverage+set}" = set; then : + enableval=$enable_test_coverage; case "${enableval}" in + yes|no) ;; +- *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for test-coverage option" >&5 +-$as_echo "$as_me: error: bad value ${enableval} for test-coverage option" >&2;} +- { (exit 1); exit 1; }; } ;; ++ *) as_fn_error "bad value ${enableval} for test-coverage option" "$LINENO" 5 ;; + esac + else + enableval=no +@@ -47569,7 +28312,7 @@ + enable_coverage=$enableval + + if test "${enable_coverage}" = yes; then +- { $as_echo "$as_me:$LINENO: checking whether compiler accepts -fprofile-arcs" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -fprofile-arcs" >&5 + $as_echo_n "checking whether compiler accepts -fprofile-arcs... " >&6; } + + ac_save_CFLAGS="$CFLAGS" +@@ -47578,11 +28321,7 @@ + else + CFLAGS="$CFLAGS $COMPILER_FLAGS -fprofile-arcs" + fi +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -47593,53 +28332,28 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + has_option=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- has_option=no ++ has_option=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + echo 'int x;' >conftest.c + $CC $CFLAGS -c conftest.c 2>conftest.err + ret=$? + if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + COMPILER_FLAGS="$COMPILER_FLAGS -fprofile-arcs" + fi + CFLAGS="$ac_save_CFLAGS" + rm -f conftest* + +- { $as_echo "$as_me:$LINENO: checking whether compiler accepts -ftest-coverage" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -ftest-coverage" >&5 + $as_echo_n "checking whether compiler accepts -ftest-coverage... " >&6; } + + ac_save_CFLAGS="$CFLAGS" +@@ -47648,11 +28362,7 @@ + else + CFLAGS="$CFLAGS $COMPILER_FLAGS -ftest-coverage" + fi +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +@@ -47663,46 +28373,21 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + has_option=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- has_option=no ++ has_option=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + echo 'int x;' >conftest.c + $CC $CFLAGS -c conftest.c 2>conftest.err + ret=$? + if test $ret != 0 -o -s conftest.err -o $has_option = "no"; then +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + COMPILER_FLAGS="$COMPILER_FLAGS -ftest-coverage" + fi +@@ -47717,12 +28402,10 @@ + fi + + # Check whether --enable-test-oom was given. +-if test "${enable_test_oom+set}" = set; then ++if test "${enable_test_oom+set}" = set; then : + enableval=$enable_test_oom; case "${enableval}" in + yes|no) ;; +- *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for test-oom option" >&5 +-$as_echo "$as_me: error: bad value ${enableval} for test-oom option" >&2;} +- { (exit 1); exit 1; }; } ;; ++ *) as_fn_error "bad value ${enableval} for test-oom option" "$LINENO" 5 ;; + esac + else + enableval=no +@@ -47732,253 +28415,37 @@ + + if test "${enable_oom}" = yes; then + have_trace=yes +- if test "${ac_cv_header_execinfo_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for execinfo.h" >&5 +-$as_echo_n "checking for execinfo.h... " >&6; } +-if test "${ac_cv_header_execinfo_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_execinfo_h" >&5 +-$as_echo "$ac_cv_header_execinfo_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking execinfo.h usability" >&5 +-$as_echo_n "checking execinfo.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking execinfo.h presence" >&5 +-$as_echo_n "checking execinfo.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +- +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: execinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: execinfo.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: execinfo.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: execinfo.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: execinfo.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: execinfo.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: execinfo.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: execinfo.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for execinfo.h" >&5 +-$as_echo_n "checking for execinfo.h... " >&6; } +-if test "${ac_cv_header_execinfo_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_execinfo_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_execinfo_h" >&5 +-$as_echo "$ac_cv_header_execinfo_h" >&6; } ++ ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_execinfo_h" = x""yes; then : + +-fi +-if test "x$ac_cv_header_execinfo_h" = x""yes; then +- : + else + have_trace=no + fi + + +- { $as_echo "$as_me:$LINENO: checking for backtrace" >&5 +-$as_echo_n "checking for backtrace... " >&6; } +-if test "${ac_cv_func_backtrace+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. */ +-/* Define backtrace to an innocuous variant, in case declares backtrace. +- For example, HP-UX 11i declares gettimeofday. */ +-#define backtrace innocuous_backtrace +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char backtrace (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef backtrace +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char backtrace (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_backtrace || defined __stub___backtrace +-choke me +-#endif +- +-int +-main () +-{ +-return backtrace (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- ac_cv_func_backtrace=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_func_backtrace=no +-fi ++ ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" ++if test "x$ac_cv_func_backtrace" = x""yes; then : + +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5 +-$as_echo "$ac_cv_func_backtrace" >&6; } +-if test "x$ac_cv_func_backtrace" = x""yes; then +- : + else + have_trace=no + fi + + if test "$have_trace" = "yes"; then + +-cat >>confdefs.h <<\_ACEOF +-#define TEST_OOM_TRACE 1 +-_ACEOF ++$as_echo "#define TEST_OOM_TRACE 1" >>confdefs.h + + fi + +-cat >>confdefs.h <<\_ACEOF +-#define TEST_OOM 1 +-_ACEOF ++$as_echo "#define TEST_OOM 1" >>confdefs.h + + fi + + + # Check whether --enable-test-locking was given. +-if test "${enable_test_locking+set}" = set; then ++if test "${enable_test_locking+set}" = set; then : + enableval=$enable_test_locking; case "${enableval}" in + yes|no) ;; +- *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for test-locking option" >&5 +-$as_echo "$as_me: error: bad value ${enableval} for test-locking option" >&2;} +- { (exit 1); exit 1; }; } ;; ++ *) as_fn_error "bad value ${enableval} for test-locking option" "$LINENO" 5 ;; + esac + else + enableval=no +@@ -48002,14 +28469,14 @@ + + + # Check whether --with-xen-proxy was given. +-if test "${with_xen_proxy+set}" = set; then ++if test "${with_xen_proxy+set}" = set; then : + withval=$with_xen_proxy; + else + with_xen_proxy=auto + fi + + +-{ $as_echo "$as_me:$LINENO: checking if Xen setuid proxy is needed" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xen setuid proxy is needed" >&5 + $as_echo_n "checking if Xen setuid proxy is needed... " >&6; } + if test "$with_xen_proxy" = "auto"; then + if test "$with_polkit" = "yes"; then +@@ -48021,7 +28488,7 @@ + if test "$with_xen" != "yes"; then + with_xen_proxy="no" + fi +-{ $as_echo "$as_me:$LINENO: result: $with_xen_proxy" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_xen_proxy" >&5 + $as_echo "$with_xen_proxy" >&6; } + + if test "$with_xen_proxy" = "yes"; then +@@ -48034,9 +28501,7 @@ + + if test "$with_xen_proxy" = "yes"; then + +-cat >>confdefs.h <<\_ACEOF +-#define WITH_PROXY 1 +-_ACEOF ++$as_echo "#define WITH_PROXY 1" >>confdefs.h + + fi + +@@ -48064,16 +28529,16 @@ + + + +- { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 + $as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +-if test "${enable_nls+set}" = set; then ++if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval + else + USE_NLS=yes + fi + +- { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 + $as_echo "$USE_NLS" >&6; } + + +@@ -48111,9 +28576,9 @@ + + # Extract the first word of "msgfmt", so it can be a program name with args. + set dummy msgfmt; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_MSGFMT+set}" = set; then ++if test "${ac_cv_path_MSGFMT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case "$MSGFMT" in +@@ -48142,18 +28607,18 @@ + fi + MSGFMT="$ac_cv_path_MSGFMT" + if test "$MSGFMT" != ":"; then +- { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 + $as_echo "$MSGFMT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. + set dummy gmsgfmt; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_GMSGFMT+set}" = set; then ++if test "${ac_cv_path_GMSGFMT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case $GMSGFMT in +@@ -48166,14 +28631,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" +@@ -48182,10 +28647,10 @@ + fi + GMSGFMT=$ac_cv_path_GMSGFMT + if test -n "$GMSGFMT"; then +- { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 + $as_echo "$GMSGFMT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -48222,9 +28687,9 @@ + + # Extract the first word of "xgettext", so it can be a program name with args. + set dummy xgettext; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_XGETTEXT+set}" = set; then ++if test "${ac_cv_path_XGETTEXT+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case "$XGETTEXT" in +@@ -48253,10 +28718,10 @@ + fi + XGETTEXT="$ac_cv_path_XGETTEXT" + if test "$XGETTEXT" != ":"; then +- { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 + $as_echo "$XGETTEXT" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -48293,9 +28758,9 @@ + + # Extract the first word of "msgmerge", so it can be a program name with args. + set dummy msgmerge; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $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_MSGMERGE+set}" = set; then ++if test "${ac_cv_path_MSGMERGE+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + case "$MSGMERGE" in +@@ -48323,10 +28788,10 @@ + fi + MSGMERGE="$ac_cv_path_MSGMERGE" + if test "$MSGMERGE" != ":"; then +- { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 + $as_echo "$MSGMERGE" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -48337,7 +28802,7 @@ + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` +- { $as_echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 + $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi +@@ -48348,7 +28813,7 @@ + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else +- { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 + $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi +@@ -48376,7 +28841,7 @@ + + + # Check whether --with-gnu-ld was given. +-if test "${with_gnu_ld+set}" = set; then ++if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes + else + with_gnu_ld=no +@@ -48398,7 +28863,7 @@ + ac_prog=ld + if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. +- { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 + $as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) +@@ -48428,13 +28893,13 @@ + ;; + esac + elif test "$with_gnu_ld" = yes; then +- { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 + $as_echo_n "checking for GNU ld... " >&6; } + else +- { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 + $as_echo_n "checking for non-GNU ld... " >&6; } + fi +-if test "${acl_cv_path_LD+set}" = set; then ++if test "${acl_cv_path_LD+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$LD"; then +@@ -48462,18 +28927,16 @@ + + LD="$acl_cv_path_LD" + if test -n "$LD"; then +- { $as_echo "$as_me:$LINENO: result: $LD" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 + $as_echo "$LD" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi +-test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +-$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} +- { (exit 1); exit 1; }; } +-{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 ++test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 + $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +-if test "${acl_cv_prog_gnu_ld+set}" = set; then ++if test "${acl_cv_prog_gnu_ld+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +@@ -48484,15 +28947,15 @@ + acl_cv_prog_gnu_ld=no ;; + esac + fi +-{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 + $as_echo "$acl_cv_prog_gnu_ld" >&6; } + with_gnu_ld=$acl_cv_prog_gnu_ld + + + +- { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 + $as_echo_n "checking for shared library run path origin... " >&6; } +-if test "${acl_cv_rpath+set}" = set; then ++if test "${acl_cv_rpath+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + +@@ -48503,7 +28966,7 @@ + acl_cv_rpath=done + + fi +-{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 + $as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" +@@ -48513,7 +28976,7 @@ + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +-if test "${enable_rpath+set}" = set; then ++if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : + else + enable_rpath=yes +@@ -48541,7 +29004,7 @@ + + + # Check whether --with-libiconv-prefix was given. +-if test "${with_libiconv_prefix+set}" = set; then ++if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no +@@ -48919,16 +29382,16 @@ + + + +- { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 + $as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +-if test "${enable_nls+set}" = set; then ++if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval + else + USE_NLS=yes + fi + +- { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 + $as_echo "$USE_NLS" >&6; } + + +@@ -48946,16 +29409,12 @@ + + + +- { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 + $as_echo_n "checking for GNU gettext in libc... " >&6; } +-if test "${gt_cv_func_gnugettext1_libc+set}" = set; then ++if test "${gt_cv_func_gnugettext1_libc+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 ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + extern int _nl_msg_cat_cntr; +@@ -48969,40 +29428,15 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_gnugettext1_libc=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gt_cv_func_gnugettext1_libc=no ++ gt_cv_func_gnugettext1_libc=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi +-{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 + $as_echo "$gt_cv_func_gnugettext1_libc" >&6; } + + if test "$gt_cv_func_gnugettext1_libc" != "yes"; then +@@ -49036,19 +29470,15 @@ + done + + +- { $as_echo "$as_me:$LINENO: checking for iconv" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 + $as_echo_n "checking for iconv... " >&6; } +-if test "${am_cv_func_iconv+set}" = set; then ++if test "${am_cv_func_iconv+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include +@@ -49062,46 +29492,15 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include +@@ -49115,56 +29514,27 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + + fi +-{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 + $as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_ICONV 1 +-_ACEOF ++$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then +- { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 + $as_echo_n "checking how to link with libiconv... " >&6; } +- { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 + $as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" +@@ -49192,7 +29562,7 @@ + + + # Check whether --with-libintl-prefix was given. +-if test "${with_libintl_prefix+set}" = set; then ++if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no +@@ -49553,20 +29923,16 @@ + done + fi + +- { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 + $as_echo_n "checking for GNU gettext in libintl... " >&6; } +-if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then ++if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + extern int _nl_msg_cat_cntr; +@@ -49584,45 +29950,16 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_gnugettext1_libintl=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- gt_cv_func_gnugettext1_libintl=no ++ gt_cv_func_gnugettext1_libintl=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + extern int _nl_msg_cat_cntr; +@@ -49638,48 +29975,21 @@ + return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) + ; + return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + gt_cv_func_gnugettext1_libintl=yes + +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" + fi +-{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 + $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; } + fi + +@@ -49699,21 +30009,19 @@ + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +-cat >>confdefs.h <<\_ACEOF +-#define ENABLE_NLS 1 +-_ACEOF ++$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + +- { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 + $as_echo_n "checking whether to use NLS... " >&6; } +- { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 + $as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then +- { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 + $as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then +@@ -49724,7 +30032,7 @@ + else + gt_source="included intl directory" + fi +- { $as_echo "$as_me:$LINENO: result: $gt_source" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 + $as_echo "$gt_source" >&6; } + fi + +@@ -49732,9 +30040,9 @@ + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then +- { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 + $as_echo_n "checking how to link with libintl... " >&6; } +- { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 + $as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; do +@@ -49762,14 +30070,10 @@ + fi + + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_GETTEXT 1 +-_ACEOF ++$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_DCGETTEXT 1 +-_ACEOF ++$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + +@@ -49811,9 +30115,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. + set dummy ${ac_tool_prefix}windres; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_WINDRES+set}" = set; then ++if test "${ac_cv_prog_WINDRES+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$WINDRES"; then +@@ -49824,24 +30128,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_WINDRES="${ac_tool_prefix}windres" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + WINDRES=$ac_cv_prog_WINDRES + if test -n "$WINDRES"; then +- { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 + $as_echo "$WINDRES" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -49851,9 +30155,9 @@ + ac_ct_WINDRES=$WINDRES + # Extract the first word of "windres", so it can be a program name with args. + set dummy windres; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then ++if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_WINDRES"; then +@@ -49864,24 +30168,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ 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_prog_ac_ct_WINDRES="windres" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +-done ++ done + IFS=$as_save_IFS + + fi + fi + ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES + if test -n "$ac_ct_WINDRES"; then +- { $as_echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 + $as_echo "$ac_ct_WINDRES" >&6; } + else +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -49890,7 +30194,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -49913,7 +30217,7 @@ + + + # Check whether --with-driver-modules was given. +-if test "${with_driver_modules+set}" = set; then ++if test "${with_driver_modules+set}" = set; then : + withval=$with_driver_modules; + else + with_driver_modules=no +@@ -49926,153 +30230,22 @@ + old_cflags="$CFLAGS" + old_libs="$LIBS" + fail=0 +- if test "${ac_cv_header_dlfcn_h+set}" = set; then +- { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 +-$as_echo_n "checking for dlfcn.h... " >&6; } +-if test "${ac_cv_header_dlfcn_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 +-$as_echo "$ac_cv_header_dlfcn_h" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 +-$as_echo_n "checking dlfcn.h usability... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_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 +- ac_header_compiler=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_compiler=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 +-$as_echo_n "checking dlfcn.h presence... " >&6; } +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (ac_try="$ac_cpp conftest.$ac_ext" +-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_cpp conftest.$ac_ext") 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); } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then +- ac_header_preproc=yes +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi ++ ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" ++if test "x$ac_cv_header_dlfcn_h" = x""yes; then : + +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 +-$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} +- { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 +-$as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} +- +- ;; +-esac +-{ $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 +-$as_echo_n "checking for dlfcn.h... " >&6; } +-if test "${ac_cv_header_dlfcn_h+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_header_dlfcn_h=$ac_header_preproc +-fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 +-$as_echo "$ac_cv_header_dlfcn_h" >&6; } +- +-fi +-if test "x$ac_cv_header_dlfcn_h" = x""yes; then +- : + else + fail=1 + fi + + +- +-{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 + $as_echo_n "checking for dlopen in -ldl... " >&6; } +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -50090,43 +30263,18 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then ++if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes + else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_dl_dlopen=no ++ ac_cv_lib_dl_dlopen=no + fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 + $as_echo "$ac_cv_lib_dl_dlopen" >&6; } +-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBDL 1 + _ACEOF +@@ -50138,9 +30286,7 @@ + fi + + test $fail = 1 && +- { { $as_echo "$as_me:$LINENO: error: You must have dlfcn.h / dlopen() support to build driver modules" >&5 +-$as_echo "$as_me: error: You must have dlfcn.h / dlopen() support to build driver modules" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must have dlfcn.h / dlopen() support to build driver modules" "$LINENO" 5 + + CFLAGS="$old_cflags" + LIBS="$old_libs" +@@ -50178,7 +30324,7 @@ + HAL_LIBS= + + # Check whether --with-hal was given. +-if test "${with_hal+set}" = set; then ++if test "${with_hal+set}" = set; then : + withval=$with_hal; + else + with_hal=check +@@ -50191,40 +30337,44 @@ + if test "x$with_hal" = "xyes" -o "x$with_hal" = "xcheck"; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for HAL" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5 + $as_echo_n "checking for HAL... " >&6; } + +-if test -n "$HAL_CFLAGS"; then +- pkg_cv_HAL_CFLAGS="$HAL_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal >= \$HAL_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$HAL_CFLAGS"; then ++ pkg_cv_HAL_CFLAGS="$HAL_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= \$HAL_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "hal >= $HAL_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal >= $HAL_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$HAL_LIBS"; then +- pkg_cv_HAL_LIBS="$HAL_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal >= \$HAL_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$HAL_LIBS"; then ++ pkg_cv_HAL_LIBS="$HAL_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= \$HAL_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "hal >= $HAL_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal >= $HAL_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -50237,22 +30387,20 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "hal >= $HAL_REQUIRED" 2>&1` ++ HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal >= $HAL_REQUIRED"` + else +- HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "hal >= $HAL_REQUIRED" 2>&1` ++ HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal >= $HAL_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$HAL_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + + if test "x$with_hal" = "xcheck" ; then + with_hal=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install hal-devel >= $HAL_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install hal-devel >= $HAL_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install hal-devel >= $HAL_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + elif test $pkg_failed = untried; then +@@ -50260,15 +30408,13 @@ + if test "x$with_hal" = "xcheck" ; then + with_hal=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install hal-devel >= $HAL_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install hal-devel >= $HAL_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install hal-devel >= $HAL_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + else + HAL_CFLAGS=$pkg_cv_HAL_CFLAGS + HAL_LIBS=$pkg_cv_HAL_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + with_hal=yes + fi +@@ -50283,102 +30429,12 @@ + old_LDFLAGS=$LDFLAGS + CFLAGS="$CFLAGS $HAL_CFLAGS" + LDFLAGS="$LDFLAGS $HAL_LIBS" +- +-for ac_func in libhal_get_all_devices +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in libhal_get_all_devices ++do : ++ ac_fn_c_check_func "$LINENO" "libhal_get_all_devices" "ac_cv_func_libhal_get_all_devices" ++if test "x$ac_cv_func_libhal_get_all_devices" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_LIBHAL_GET_ALL_DEVICES 1 + _ACEOF + + else +@@ -50386,102 +30442,12 @@ + fi + done + +- +-for ac_func in dbus_watch_get_unix_fd +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in dbus_watch_get_unix_fd ++do : ++ ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" ++if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_DBUS_WATCH_GET_UNIX_FD 1 + _ACEOF + + fi +@@ -50507,7 +30473,7 @@ + DEVKIT_LIBS= + + # Check whether --with-devkit was given. +-if test "${with_devkit+set}" = set; then ++if test "${with_devkit+set}" = set; then : + withval=$with_devkit; + else + with_devkit=no +@@ -50520,40 +30486,44 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for GLIB2" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5 + $as_echo_n "checking for GLIB2... " >&6; } + +-if test -n "$GLIB2_CFLAGS"; then +- pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 0.0\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GLIB2_CFLAGS"; then ++ pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 0.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 0.0" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$GLIB2_LIBS"; then +- pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 0.0\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$GLIB2_LIBS"; then ++ pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 0.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 0.0" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -50566,36 +30536,32 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 0.0" 2>&1` ++ GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 0.0"` + else +- GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 0.0" 2>&1` ++ GLIB2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 0.0"` + fi + # Put the nasty error message in config.log where it belongs + echo "$GLIB2_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + + if test "x$with_devkit" = "xcheck"; then + with_devkit=no + elif test "x$with_devkit" = "xyes"; then +- { { $as_echo "$as_me:$LINENO: error: required package DeviceKit requires package glib-2.0" >&5 +-$as_echo "$as_me: error: required package DeviceKit requires package glib-2.0" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "required package DeviceKit requires package glib-2.0" "$LINENO" 5 + fi + elif test $pkg_failed = untried; then + + if test "x$with_devkit" = "xcheck"; then + with_devkit=no + elif test "x$with_devkit" = "xyes"; then +- { { $as_echo "$as_me:$LINENO: error: required package DeviceKit requires package glib-2.0" >&5 +-$as_echo "$as_me: error: required package DeviceKit requires package glib-2.0" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "required package DeviceKit requires package glib-2.0" "$LINENO" 5 + fi + else + GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS + GLIB2_LIBS=$pkg_cv_GLIB2_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + : + fi +@@ -50603,40 +30569,44 @@ + if test "x$with_devkit" = "xyes" -o "x$with_devkit" = "xcheck"; then + + pkg_failed=no +-{ $as_echo "$as_me:$LINENO: checking for DEVKIT" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEVKIT" >&5 + $as_echo_n "checking for DEVKIT... " >&6; } + +-if test -n "$DEVKIT_CFLAGS"; then +- pkg_cv_DEVKIT_CFLAGS="$DEVKIT_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= \$DEVKIT_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$DEVKIT_CFLAGS"; then ++ pkg_cv_DEVKIT_CFLAGS="$DEVKIT_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= \$DEVKIT_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "devkit-gobject >= $DEVKIT_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_DEVKIT_CFLAGS=`$PKG_CONFIG --cflags "devkit-gobject >= $DEVKIT_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi +-if test -n "$DEVKIT_LIBS"; then +- pkg_cv_DEVKIT_LIBS="$DEVKIT_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= \$DEVKIT_REQUIRED\"") >&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$DEVKIT_LIBS"; then ++ pkg_cv_DEVKIT_LIBS="$DEVKIT_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devkit-gobject >= \$DEVKIT_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "devkit-gobject >= $DEVKIT_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then + pkg_cv_DEVKIT_LIBS=`$PKG_CONFIG --libs "devkit-gobject >= $DEVKIT_REQUIRED" 2>/dev/null` + else + pkg_failed=yes + fi +- else +- pkg_failed=untried ++ fi ++else ++ pkg_failed=untried + fi + + +@@ -50649,22 +30619,20 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- DEVKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "devkit-gobject >= $DEVKIT_REQUIRED" 2>&1` ++ DEVKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "devkit-gobject >= $DEVKIT_REQUIRED"` + else +- DEVKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "devkit-gobject >= $DEVKIT_REQUIRED" 2>&1` ++ DEVKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "devkit-gobject >= $DEVKIT_REQUIRED"` + fi + # Put the nasty error message in config.log where it belongs + echo "$DEVKIT_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:$LINENO: result: no" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + + if test "x$with_devkit" = "xcheck" ; then + with_devkit=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + elif test $pkg_failed = untried; then +@@ -50672,15 +30640,13 @@ + if test "x$with_devkit" = "xcheck" ; then + with_devkit=no + else +- { { $as_echo "$as_me:$LINENO: error: You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" >&5 +-$as_echo "$as_me: error: You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "You must install DeviceKit-devel >= $DEVKIT_REQUIRED to compile libvirt" "$LINENO" 5 + fi + + else + DEVKIT_CFLAGS=$pkg_cv_DEVKIT_CFLAGS + DEVKIT_LIBS=$pkg_cv_DEVKIT_LIBS +- { $as_echo "$as_me:$LINENO: result: yes" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + with_devkit=yes + fi +@@ -50700,102 +30666,12 @@ + old_LDFLAGS=$LDFLAGS + CFLAGS="$CFLAGS $DEVKIT_CFLAGS" + LDFLAGS="$LDFLAGS $DEVKIT_LIBS" +- +-for ac_func in devkit_client_connect +-do +-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +-$as_echo_n "checking for $ac_func... " >&6; } +-if { as_var=$as_ac_var; 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. */ +-/* Define $ac_func to an innocuous variant, in case declares $ac_func. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $ac_func innocuous_$ac_func +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $ac_func (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $ac_func +- +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char $ac_func (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$ac_func || defined __stub___$ac_func +-choke me +-#endif +- +-int +-main () +-{ +-return $ac_func (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-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_link") 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_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then +- eval "$as_ac_var=yes" +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- eval "$as_ac_var=no" +-fi +- +-rm -rf conftest.dSYM +-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-ac_res=`eval 'as_val=${'$as_ac_var'} +- $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_var'} +- $as_echo "$as_val"'` +- if test "x$as_val" = x""yes; then ++ for ac_func in devkit_client_connect ++do : ++ ac_fn_c_check_func "$LINENO" "devkit_client_connect" "ac_cv_func_devkit_client_connect" ++if test "x$ac_cv_func_devkit_client_connect" = x""yes; then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++#define HAVE_DEVKIT_CLIENT_CONNECT 1 + _ACEOF + + else +@@ -50849,7 +30725,7 @@ + + + # Check whether --with-qemu-user was given. +-if test "${with_qemu_user+set}" = set; then ++if test "${with_qemu_user+set}" = set; then : + withval=$with_qemu_user; QEMU_USER=${withval} + else + QEMU_USER=root +@@ -50857,7 +30733,7 @@ + + + # Check whether --with-qemu-group was given. +-if test "${with_qemu_group+set}" = set; then ++if test "${with_qemu_group+set}" = set; then : + withval=$with_qemu_group; QEMU_GROUP=${withval} + else + QEMU_GROUP=root +@@ -50911,13 +30787,13 @@ + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( +- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 + $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( +- *) $as_unset $ac_var ;; ++ *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done +@@ -50925,8 +30801,8 @@ + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) +- # `set' does not quote correctly, so add quotes (double-quote +- # substitution turns \\\\ into \\, and sed turns \\ into \). ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" +@@ -50949,11 +30825,11 @@ + if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && +- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 + $as_echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file + else +- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 + $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi + fi +@@ -50973,42 +30849,25 @@ + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. +- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" +- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' + done + LIBOBJS=$ac_libobjs + + LTLIBOBJS=$ac_ltlibobjs + + +- if test -n "$EXEEXT"; then +- am__EXEEXT_TRUE= +- am__EXEEXT_FALSE='#' +-else +- am__EXEEXT_TRUE='#' +- am__EXEEXT_FALSE= +-fi +- + if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"AMDEP\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"am__fastdepCC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"GL_COND_LIBTOOL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"GL_COND_LIBTOOL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"GL_COND_LIBTOOL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + + gl_libobjs= +@@ -51043,342 +30902,210 @@ + + + if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"am__fastdepCC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_RPCGEN_TRUE}" && test -z "${HAVE_RPCGEN_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_RPCGEN\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_RPCGEN\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ 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_echo "$as_me:$LINENO: error: conditional \"HAVE_GLIBC_RPCGEN\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_GLIBC_RPCGEN\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ 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_echo "$as_me:$LINENO: error: conditional \"ENABLE_DEBUG\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"ENABLE_DEBUG\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"ENABLE_DEBUG\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${LIBVIRT_INIT_SCRIPTS_RED_HAT_TRUE}" && test -z "${LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"LIBVIRT_INIT_SCRIPTS_RED_HAT\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"LIBVIRT_INIT_SCRIPTS_RED_HAT\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"LIBVIRT_INIT_SCRIPTS_RED_HAT\" 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_echo "$as_me:$LINENO: error: conditional \"WITH_OPENVZ\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_OPENVZ\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_OPENVZ\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_VBOX_TRUE}" && test -z "${WITH_VBOX_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_VBOX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_VBOX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_VBOX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_QEMU_TRUE}" && test -z "${WITH_QEMU_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_QEMU\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_QEMU\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_QEMU\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_ONE_TRUE}" && test -z "${WITH_ONE_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_ONE\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_ONE\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_ONE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_TEST_TRUE}" && test -z "${WITH_TEST_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_TEST\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_TEST\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_TEST\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_REMOTE_TRUE}" && test -z "${WITH_REMOTE_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_REMOTE\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_REMOTE\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_REMOTE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_LIBVIRTD_TRUE}" && test -z "${WITH_LIBVIRTD_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_LIBVIRTD\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_LIBVIRTD\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_LIBVIRTD\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_XEN_TRUE}" && test -z "${WITH_XEN_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_XEN\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_XEN\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_XEN\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_XEN_INOTIFY_TRUE}" && test -z "${WITH_XEN_INOTIFY_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_XEN_INOTIFY\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_XEN_INOTIFY\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_XEN_INOTIFY\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_LXC_TRUE}" && test -z "${WITH_LXC_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_LXC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_LXC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_LXC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_XMLRPC_TRUE}" && test -z "${HAVE_XMLRPC_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XMLRPC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_XMLRPC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_XMLRPC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_ONE_TRUE}" && test -z "${WITH_ONE_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_ONE\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_ONE\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_ONE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_SASL_TRUE}" && test -z "${HAVE_SASL_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SASL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_SASL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_SASL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_POLKIT_TRUE}" && test -z "${HAVE_POLKIT_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_POLKIT\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_POLKIT\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_POLKIT\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_AVAHI\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_AVAHI\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_AVAHI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SELINUX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_SELINUX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_SELINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_SECDRIVER_SELINUX_TRUE}" && test -z "${WITH_SECDRIVER_SELINUX_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_SECDRIVER_SELINUX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_SECDRIVER_SELINUX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_SECDRIVER_SELINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${HAVE_APPARMOR_TRUE}" && test -z "${HAVE_APPARMOR_FALSE}"; then ++ as_fn_error "conditional \"HAVE_APPARMOR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${WITH_SECDRIVER_APPARMOR_TRUE}" && test -z "${WITH_SECDRIVER_APPARMOR_FALSE}"; then ++ as_fn_error "conditional \"WITH_SECDRIVER_APPARMOR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_NUMACTL_TRUE}" && test -z "${HAVE_NUMACTL_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NUMACTL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_NUMACTL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_NUMACTL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_UML_TRUE}" && test -z "${WITH_UML_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_UML\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_UML\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_UML\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_PHYP_TRUE}" && test -z "${WITH_PHYP_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PHYP\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_PHYP\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_PHYP\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_CAPNG_TRUE}" && test -z "${HAVE_CAPNG_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAPNG\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_CAPNG\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_CAPNG\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_NETWORK_TRUE}" && test -z "${WITH_NETWORK_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_NETWORK\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_NETWORK\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_NETWORK\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_BRIDGE_TRUE}" && test -z "${WITH_BRIDGE_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_BRIDGE\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_BRIDGE\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_BRIDGE\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_NETCF_TRUE}" && test -z "${WITH_NETCF_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_NETCF\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_NETCF\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_NETCF\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_STORAGE_DIR_TRUE}" && test -z "${WITH_STORAGE_DIR_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_STORAGE_DIR\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_STORAGE_DIR\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_STORAGE_DIR\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_STORAGE_FS_TRUE}" && test -z "${WITH_STORAGE_FS_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_STORAGE_FS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_STORAGE_FS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_STORAGE_FS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_STORAGE_LVM_TRUE}" && test -z "${WITH_STORAGE_LVM_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_STORAGE_LVM\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_STORAGE_LVM\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_STORAGE_LVM\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_STORAGE_ISCSI_TRUE}" && test -z "${WITH_STORAGE_ISCSI_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_STORAGE_ISCSI\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_STORAGE_ISCSI\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_STORAGE_ISCSI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_STORAGE_SCSI_TRUE}" && test -z "${WITH_STORAGE_SCSI_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_STORAGE_SCSI\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_STORAGE_SCSI\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_STORAGE_SCSI\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_STORAGE_DISK_TRUE}" && test -z "${WITH_STORAGE_DISK_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_STORAGE_DISK\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_STORAGE_DISK\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_STORAGE_DISK\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_ESX_TRUE}" && test -z "${WITH_ESX_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_ESX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_ESX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_ESX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_PYTHON\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${ENABLE_XEN_TESTS_TRUE}" && test -z "${ENABLE_XEN_TESTS_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_XEN_TESTS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"ENABLE_XEN_TESTS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"ENABLE_XEN_TESTS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_CIL_TRUE}" && test -z "${WITH_CIL_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_CIL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_CIL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_CIL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_PROXY_TRUE}" && test -z "${WITH_PROXY_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PROXY\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_PROXY\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_PROXY\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_LIBVIRTD_TRUE}" && test -z "${WITH_LIBVIRTD_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_LIBVIRTD\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_LIBVIRTD\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_LIBVIRTD\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_WIN_ICON_TRUE}" && test -z "${WITH_WIN_ICON_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_WIN_ICON\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_WIN_ICON\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_WIN_ICON\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_DRIVER_MODULES_TRUE}" && test -z "${WITH_DRIVER_MODULES_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_DRIVER_MODULES\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_DRIVER_MODULES\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_DRIVER_MODULES\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_HAL_TRUE}" && test -z "${HAVE_HAL_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_HAL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_HAL\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_HAL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${HAVE_DEVKIT_TRUE}" && test -z "${HAVE_DEVKIT_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DEVKIT\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"HAVE_DEVKIT\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"HAVE_DEVKIT\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_NODE_DEVICES_TRUE}" && test -z "${WITH_NODE_DEVICES_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_NODE_DEVICES\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_NODE_DEVICES\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_NODE_DEVICES\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + if test -z "${WITH_LINUX_TRUE}" && test -z "${WITH_LINUX_FALSE}"; then +- { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_LINUX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-$as_echo "$as_me: error: conditional \"WITH_LINUX\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "conditional \"WITH_LINUX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi + + : ${CONFIG_STATUS=./config.status} + ac_write_fail=0 + ac_clean_files_save=$ac_clean_files + ac_clean_files="$ac_clean_files $CONFIG_STATUS" +-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 + $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 + #! $SHELL + # Generated by $as_me. + # Run this file to recreate the current configuration. +@@ -51388,17 +31115,18 @@ + debug=false + ac_cs_recheck=false + ac_cs_silent=false +-SHELL=\${CONFIG_SHELL-$SHELL} +-_ACEOF + +-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +-## --------------------- ## +-## M4sh Initialization. ## +-## --------------------- ## ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## + + # Be more Bourne compatible + DUALCASE=1; export DUALCASE # for MKS sh +-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which +@@ -51406,23 +31134,15 @@ + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST + else +- case `(set -o) 2>/dev/null` in +- *posix*) set -o posix ;; ++ case `(set -o) 2>/dev/null` in #( ++ *posix*) : ++ set -o posix ;; #( ++ *) : ++ ;; + esac +- + fi + + +- +- +-# PATH needs CR +-# Avoid depending upon Character Ranges. +-as_cr_letters='abcdefghijklmnopqrstuvwxyz' +-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +-as_cr_Letters=$as_cr_letters$as_cr_LETTERS +-as_cr_digits='0123456789' +-as_cr_alnum=$as_cr_Letters$as_cr_digits +- + as_nl=' + ' + export as_nl +@@ -51430,7 +31150,13 @@ + as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' + else +@@ -51441,7 +31167,7 @@ + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; +- case $arg in ++ case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; +@@ -51464,13 +31190,6 @@ + } + fi + +-# Support unset when possible. +-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then +- as_unset=unset +-else +- as_unset=false +-fi +- + + # IFS + # We need space, tab and new line, in precisely that order. Quoting is +@@ -51480,15 +31199,15 @@ + IFS=" "" $as_nl" + + # Find who we are. Look in the path if we contain no directory separator. +-case $0 in ++case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +-done ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done + IFS=$as_save_IFS + + ;; +@@ -51500,12 +31219,16 @@ + fi + if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 +- { (exit 1); exit 1; } ++ exit 1 + fi + +-# Work around bugs in pre-3.0 UWIN ksh. +-for as_var in ENV MAIL MAILPATH +-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : + done + PS1='$ ' + PS2='> ' +@@ -51517,7 +31240,89 @@ + LANGUAGE=C + export LANGUAGE + +-# Required to use basename. ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++ ++# as_fn_error ERROR [LINENO LOG_FD] ++# --------------------------------- ++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++# script with status $?, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$?; test $as_status -eq 0 && as_status=1 ++ if test "$3"; then ++ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 ++ fi ++ $as_echo "$as_me: error: $1" >&2 ++ as_fn_exit $as_status ++} # as_fn_error ++ ++ ++# as_fn_set_status STATUS ++# ----------------------- ++# Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} # as_fn_set_status ++ ++# as_fn_exit STATUS ++# ----------------- ++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} # as_fn_exit ++ ++# as_fn_unset VAR ++# --------------- ++# Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++# as_fn_append VAR VALUE ++# ---------------------- ++# Append the text in VALUE to the end of the definition contained in VAR. Take ++# advantage of any shell optimizations that allow amortized linear growth over ++# repeated appends, instead of the typical quadratic growth present in naive ++# implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++# as_fn_arith ARG... ++# ------------------ ++# Perform arithmetic evaluation on the ARGs, and store the result in the ++# global $as_val. Take advantage of shells that can avoid forks. The arguments ++# must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ + if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +@@ -51531,8 +31336,12 @@ + as_basename=false + fi + ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi + +-# Name of the executable. + as_me=`$as_basename -- "$0" || + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ +@@ -51552,76 +31361,25 @@ + } + s/.*/./; q'` + +-# CDPATH. +-$as_unset CDPATH +- +- +- +- as_lineno_1=$LINENO +- as_lineno_2=$LINENO +- test "x$as_lineno_1" != "x$as_lineno_2" && +- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { +- +- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO +- # uniformly replaced by the line number. The first 'sed' inserts a +- # line-number line after each line using $LINENO; the second 'sed' +- # does the real work. The second script uses 'N' to pair each +- # line-number line with the line containing $LINENO, and appends +- # trailing '-' during substitution so that $LINENO is not a special +- # case at line end. +- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the +- # scripts with optimization help from Paolo Bonzini. Blame Lee +- # E. McMahon (1931-1989) for sed's syntax. :-) +- sed -n ' +- p +- /[$]LINENO/= +- ' <$as_myself | +- sed ' +- s/[$]LINENO.*/&-/ +- t lineno +- b +- :lineno +- N +- :loop +- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ +- t loop +- s/-\n.*// +- ' >$as_me.lineno && +- chmod +x "$as_me.lineno" || +- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 +- { (exit 1); exit 1; }; } +- +- # Don't try to exec as it changes $[0], causing all sort of problems +- # (the dirname of $[0] is not the place where we might find the +- # original and so on. Autoconf is especially sensitive to this). +- . "./$as_me.lineno" +- # Exit status is that of the last command. +- exit +-} +- +- +-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then +- as_dirname=dirname +-else +- as_dirname=false +-fi ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits + + ECHO_C= ECHO_N= ECHO_T= +-case `echo -n x` in ++case `echo -n x` in #((((( + -n*) +- case `echo 'x\c'` in ++ case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. +- *) ECHO_C='\c';; ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; + esac;; + *) + ECHO_N='-n';; + esac +-if expr a : '\(a\)' >/dev/null 2>&1 && +- test "X`expr 00001 : '.*\(...\)'`" = X001; then +- as_expr=expr +-else +- as_expr=false +-fi + + rm -f conf$$ conf$$.exe conf$$.file + if test -d conf$$.dir; then +@@ -51650,8 +31408,56 @@ + rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file + rmdir conf$$.dir 2>/dev/null + ++ ++# as_fn_mkdir_p ++# ------------- ++# Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" ++ ++ ++} # as_fn_mkdir_p + if mkdir -p . 2>/dev/null; then +- as_mkdir_p=: ++ as_mkdir_p='mkdir -p "$as_dir"' + else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +@@ -51670,10 +31476,10 @@ + if test -d "$1"; then + test -d "$1/."; + else +- case $1 in ++ case $1 in #( + -*)set "./$1";; + esac; +- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +@@ -51688,13 +31494,19 @@ + + + exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +-# Save the log message, to keep $[0] and so on meaningful, and to ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to + # 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.0, which was +-generated by GNU Autoconf 2.63. Invocation command line was ++generated by GNU Autoconf 2.64. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS +@@ -51727,10 +31539,11 @@ + + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + ac_cs_usage="\ +-\`$as_me' instantiates files from templates according to the +-current configuration. ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. + +-Usage: $0 [OPTION]... [FILE]... ++Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit +@@ -51755,16 +31568,16 @@ + Configuration commands: + $config_commands + +-Report bugs to ." ++Report bugs to the package provider." + + _ACEOF + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_cs_version="\\ + libvirt config.status 0.7.0 +-configured by $0, generated by GNU Autoconf 2.63, ++configured by $0, generated by GNU Autoconf 2.64, + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" + +-Copyright (C) 2008 Free Software Foundation, Inc. ++Copyright (C) 2009 Free Software Foundation, Inc. + This config.status script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it." + +@@ -51807,20 +31620,19 @@ + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac +- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ++ as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac +- CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header +- { $as_echo "$as_me: error: ambiguous option: $1 +-Try \`$0 --help' for more information." >&2 +- { (exit 1); exit 1; }; };; ++ as_fn_error "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ +@@ -51828,11 +31640,10 @@ + ac_cs_silent=: ;; + + # This is an error. +- -*) { $as_echo "$as_me: error: unrecognized option: $1 +-Try \`$0 --help' for more information." >&2 +- { (exit 1); exit 1; }; } ;; ++ -*) as_fn_error "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; + +- *) ac_config_targets="$ac_config_targets $1" ++ *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac +@@ -52182,9 +31993,7 @@ + "examples/domain-events/events-c/Makefile") CONFIG_FILES="$CONFIG_FILES examples/domain-events/events-c/Makefile" ;; + "examples/hellolibvirt/Makefile") CONFIG_FILES="$CONFIG_FILES examples/hellolibvirt/Makefile" ;; + +- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} +- { (exit 1); exit 1; }; };; ++ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac + done + +@@ -52212,7 +32021,7 @@ + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status + ' 0 +- trap '{ (exit 1); exit 1; }' 1 2 13 15 ++ trap 'as_fn_exit 1' 1 2 13 15 + } + # Create a (secure) tmp directory for tmp files. + +@@ -52223,11 +32032,7 @@ + { + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +-} || +-{ +- $as_echo "$as_me: cannot create a temporary directory in ." >&2 +- { (exit 1); exit 1; } +-} ++} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 + + # Set up the scripts for CONFIG_FILES section. + # No need to generate them if there are no CONFIG_FILES. +@@ -52235,10 +32040,16 @@ + if test -n "$CONFIG_FILES"; then + + +-ac_cr=' ' ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi + ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` + if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then +- ac_cs_awk_cr='\\r' ++ ac_cs_awk_cr='\r' + else + ac_cs_awk_cr=$ac_cr + fi +@@ -52252,24 +32063,18 @@ + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" + } >conf$$subs.sh || +- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` + ac_delim='%!_!# ' + for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || +- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then +- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +@@ -52358,9 +32163,7 @@ + else + cat + fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ +- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 +-$as_echo "$as_me: error: could not setup config files machinery" >&2;} +- { (exit 1); exit 1; }; } ++ || as_fn_error "could not setup config files machinery" "$LINENO" 5 + _ACEOF + + # VPATH may cause trouble with some makes, so we remove $(srcdir), +@@ -52401,9 +32204,7 @@ + if test -z "$ac_t"; then + break + elif $ac_last_try; then +- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 +-$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +@@ -52488,9 +32289,7 @@ + _ACAWK + _ACEOF + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +- { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 +-$as_echo "$as_me: error: could not setup config headers machinery" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "could not setup config headers machinery" "$LINENO" 5 + fi # test -n "$CONFIG_HEADERS" + + +@@ -52503,9 +32302,7 @@ + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; +- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 +-$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} +- { (exit 1); exit 1; }; };; ++ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac +@@ -52533,12 +32330,10 @@ + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || +- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 +-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} +- { (exit 1); exit 1; }; };; ++ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac +- ac_file_inputs="$ac_file_inputs '$ac_f'" ++ as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't +@@ -52549,7 +32344,7 @@ + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" +- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 + $as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. +@@ -52562,9 +32357,7 @@ + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ +- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +-$as_echo "$as_me: error: could not create $ac_file" >&2;} +- { (exit 1); exit 1; }; } ;; ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac +@@ -52592,47 +32385,7 @@ + q + } + s/.*/./; q'` +- { as_dir="$ac_dir" +- case $as_dir in #( +- -*) as_dir=./$as_dir;; +- esac +- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { +- as_dirs= +- while :; do +- case $as_dir in #( +- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( +- *) as_qdir=$as_dir;; +- esac +- as_dirs="'$as_qdir' $as_dirs" +- as_dir=`$as_dirname -- "$as_dir" || +-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +- X"$as_dir" : 'X\(//\)[^/]' \| \ +- X"$as_dir" : 'X\(//\)$' \| \ +- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$as_dir" | +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ +- s//\1/ +- q +- } +- /^X\(\/\/\)[^/].*/{ +- s//\1/ +- q +- } +- /^X\(\/\/\)$/{ +- s//\1/ +- q +- } +- /^X\(\/\).*/{ +- s//\1/ +- q +- } +- s/.*/./; q'` +- test -d "$as_dir" && break +- done +- test -z "$as_dirs" || eval "mkdir $as_dirs" +- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} +- { (exit 1); exit 1; }; }; } ++ as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + + case "$ac_dir" in +@@ -52689,7 +32442,6 @@ + # If the template does not know about datarootdir, expand it. + # FIXME: This hack should be removed a few years after 2.60. + ac_datarootdir_hack=; ac_datarootdir_seen= +- + ac_sed_dataroot=' + /datarootdir/ { + p +@@ -52699,12 +32451,11 @@ + /@docdir@/p + /@infodir@/p + /@localedir@/p +-/@mandir@/p +-' ++/@mandir@/p' + case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in + *datarootdir*) ac_datarootdir_seen=yes;; + *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) +- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 + $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + _ACEOF + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +@@ -52714,7 +32465,7 @@ + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g +- s&\\\${datarootdir}&$datarootdir&g' ;; ++ s&\\\${datarootdir}&$datarootdir&g' ;; + esac + _ACEOF + +@@ -52743,14 +32494,12 @@ + $ac_datarootdir_hack + " + eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ +- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +-$as_echo "$as_me: error: could not create $ac_file" >&2;} +- { (exit 1); exit 1; }; } ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 + + test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && +- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + which seems to be undefined. Please make sure it is defined." >&5 + $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' + which seems to be undefined. Please make sure it is defined." >&2;} +@@ -52760,9 +32509,7 @@ + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ +- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +-$as_echo "$as_me: error: could not create $ac_file" >&2;} +- { (exit 1); exit 1; }; } ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # +@@ -52773,25 +32520,19 @@ + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ +- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +-$as_echo "$as_me: error: could not create $ac_file" >&2;} +- { (exit 1); exit 1; }; } ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then +- { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 + $as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ +- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +-$as_echo "$as_me: error: could not create $ac_file" >&2;} +- { (exit 1); exit 1; }; } ++ || as_fn_error "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ +- || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 +-$as_echo "$as_me: error: could not create -" >&2;} +- { (exit 1); exit 1; }; } ++ || as_fn_error "could not create -" "$LINENO" 5 + fi + # Compute "$ac_file"'s index in $config_headers. + _am_arg="$ac_file" +@@ -52841,13 +32582,11 @@ + ac_source=$srcdir/$ac_source + fi + +- { $as_echo "$as_me:$LINENO: linking $ac_source to $ac_file" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 + $as_echo "$as_me: linking $ac_source to $ac_file" >&6;} + + if test ! -r "$ac_source"; then +- { { $as_echo "$as_me:$LINENO: error: $ac_source: file not found" >&5 +-$as_echo "$as_me: error: $ac_source: file not found" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "$ac_source: file not found" "$LINENO" 5 + fi + rm -f "$ac_file" + +@@ -52859,12 +32598,10 @@ + ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || + ln "$ac_source" "$ac_file" 2>/dev/null || + cp -p "$ac_source" "$ac_file" || +- { { $as_echo "$as_me:$LINENO: error: cannot link or copy $ac_source to $ac_file" >&5 +-$as_echo "$as_me: error: cannot link or copy $ac_source to $ac_file" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 + fi + ;; +- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 ++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 + $as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac +@@ -52959,47 +32696,7 @@ + q + } + s/.*/./; q'` +- { as_dir=$dirpart/$fdir +- case $as_dir in #( +- -*) as_dir=./$as_dir;; +- esac +- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { +- as_dirs= +- while :; do +- case $as_dir in #( +- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( +- *) as_qdir=$as_dir;; +- esac +- as_dirs="'$as_qdir' $as_dirs" +- as_dir=`$as_dirname -- "$as_dir" || +-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +- X"$as_dir" : 'X\(//\)[^/]' \| \ +- X"$as_dir" : 'X\(//\)$' \| \ +- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$as_dir" | +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ +- s//\1/ +- q +- } +- /^X\(\/\/\)[^/].*/{ +- s//\1/ +- q +- } +- /^X\(\/\/\)$/{ +- s//\1/ +- q +- } +- /^X\(\/\).*/{ +- s//\1/ +- q +- } +- s/.*/./; q'` +- test -d "$as_dir" && break +- done +- test -z "$as_dirs" || eval "mkdir $as_dirs" +- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} +- { (exit 1); exit 1; }; }; } ++ as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +@@ -53761,15 +33458,12 @@ + done # for ac_tag + + +-{ (exit 0); exit 0; } ++as_fn_exit 0 + _ACEOF +-chmod +x $CONFIG_STATUS + ac_clean_files=$ac_clean_files_save + + test $ac_write_fail = 0 || +- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 +-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} +- { (exit 1); exit 1; }; } ++ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + + # configure is writing to config.log, and then calls config.status. +@@ -53790,227 +33484,236 @@ + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. +- $ac_cs_success || { (exit 1); exit 1; } ++ $ac_cs_success || as_fn_exit $? + fi + if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then +- { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 + $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + fi + + +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Configuration summary" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration summary" >&5 + $as_echo "$as_me: Configuration summary" >&6;} +-{ $as_echo "$as_me:$LINENO: =====================" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: =====================" >&5 + $as_echo "$as_me: =====================" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Drivers" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Drivers" >&5 + $as_echo "$as_me: Drivers" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Xen: $with_xen" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Xen: $with_xen" >&5 + $as_echo "$as_me: Xen: $with_xen" >&6;} +-{ $as_echo "$as_me:$LINENO: Proxy: $with_xen_proxy" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Proxy: $with_xen_proxy" >&5 + $as_echo "$as_me: Proxy: $with_xen_proxy" >&6;} +-{ $as_echo "$as_me:$LINENO: QEMU: $with_qemu" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: QEMU: $with_qemu" >&5 + $as_echo "$as_me: QEMU: $with_qemu" >&6;} +-{ $as_echo "$as_me:$LINENO: UML: $with_uml" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: UML: $with_uml" >&5 + $as_echo "$as_me: UML: $with_uml" >&6;} +-{ $as_echo "$as_me:$LINENO: OpenVZ: $with_openvz" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: OpenVZ: $with_openvz" >&5 + $as_echo "$as_me: OpenVZ: $with_openvz" >&6;} +-{ $as_echo "$as_me:$LINENO: VBox: $with_vbox" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: VBox: $with_vbox" >&5 + $as_echo "$as_me: VBox: $with_vbox" >&6;} +-{ $as_echo "$as_me:$LINENO: LXC: $with_lxc" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: LXC: $with_lxc" >&5 + $as_echo "$as_me: LXC: $with_lxc" >&6;} +-{ $as_echo "$as_me:$LINENO: PHYP: $with_phyp" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: PHYP: $with_phyp" >&5 + $as_echo "$as_me: PHYP: $with_phyp" >&6;} +-{ $as_echo "$as_me:$LINENO: ONE: $with_one" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: ONE: $with_one" >&5 + $as_echo "$as_me: ONE: $with_one" >&6;} +-{ $as_echo "$as_me:$LINENO: ESX: $with_esx" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: ESX: $with_esx" >&5 + $as_echo "$as_me: ESX: $with_esx" >&6;} +-{ $as_echo "$as_me:$LINENO: Test: $with_test" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Test: $with_test" >&5 + $as_echo "$as_me: Test: $with_test" >&6;} +-{ $as_echo "$as_me:$LINENO: Remote: $with_remote" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Remote: $with_remote" >&5 + $as_echo "$as_me: Remote: $with_remote" >&6;} +-{ $as_echo "$as_me:$LINENO: Network: $with_network" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Network: $with_network" >&5 + $as_echo "$as_me: Network: $with_network" >&6;} +-{ $as_echo "$as_me:$LINENO: Libvirtd: $with_libvirtd" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Libvirtd: $with_libvirtd" >&5 + $as_echo "$as_me: Libvirtd: $with_libvirtd" >&6;} +-{ $as_echo "$as_me:$LINENO: netcf: $with_netcf" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: $with_netcf" >&5 + $as_echo "$as_me: netcf: $with_netcf" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Storage Drivers" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Storage Drivers" >&5 + $as_echo "$as_me: Storage Drivers" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Dir: $with_storage_dir" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Dir: $with_storage_dir" >&5 + $as_echo "$as_me: Dir: $with_storage_dir" >&6;} +-{ $as_echo "$as_me:$LINENO: FS: $with_storage_fs" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: FS: $with_storage_fs" >&5 + $as_echo "$as_me: FS: $with_storage_fs" >&6;} +-{ $as_echo "$as_me:$LINENO: NetFS: $with_storage_fs" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: NetFS: $with_storage_fs" >&5 + $as_echo "$as_me: NetFS: $with_storage_fs" >&6;} +-{ $as_echo "$as_me:$LINENO: LVM: $with_storage_lvm" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: LVM: $with_storage_lvm" >&5 + $as_echo "$as_me: LVM: $with_storage_lvm" >&6;} +-{ $as_echo "$as_me:$LINENO: iSCSI: $with_storage_iscsi" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: iSCSI: $with_storage_iscsi" >&5 + $as_echo "$as_me: iSCSI: $with_storage_iscsi" >&6;} +-{ $as_echo "$as_me:$LINENO: SCSI: $with_storage_scsi" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: SCSI: $with_storage_scsi" >&5 + $as_echo "$as_me: SCSI: $with_storage_scsi" >&6;} +-{ $as_echo "$as_me:$LINENO: Disk: $with_storage_disk" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Disk: $with_storage_disk" >&5 + $as_echo "$as_me: Disk: $with_storage_disk" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Security Drivers" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Security Drivers" >&5 + $as_echo "$as_me: Security Drivers" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: SELinux: $with_secdriver_selinux" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: SELinux: $with_secdriver_selinux" >&5 + $as_echo "$as_me: SELinux: $with_secdriver_selinux" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: AppArmor: $with_secdriver_apparmor" >&5 ++$as_echo "$as_me: AppArmor: $with_secdriver_apparmor" >&6;} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Driver Loadable Modules" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Driver Loadable Modules" >&5 + $as_echo "$as_me: Driver Loadable Modules" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} + if test "$with_driver_modules" != "no" ; then +-{ $as_echo "$as_me:$LINENO: dlopen: $DRIVER_MODULES_CFLAGS $DRIVER_MODULES_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: dlopen: $DRIVER_MODULES_CFLAGS $DRIVER_MODULES_LIBS" >&5 + $as_echo "$as_me: dlopen: $DRIVER_MODULES_CFLAGS $DRIVER_MODULES_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: dlopen: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: dlopen: no" >&5 + $as_echo "$as_me: dlopen: no" >&6;} + fi +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Libraries" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Libraries" >&5 + $as_echo "$as_me: Libraries" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: libxml: $LIBXML_CFLAGS $LIBXML_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libxml: $LIBXML_CFLAGS $LIBXML_LIBS" >&5 + $as_echo "$as_me: libxml: $LIBXML_CFLAGS $LIBXML_LIBS" >&6;} + if test "$with_esx" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: libcurl: $LIBCURL_CFLAGS $LIBCURL_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libcurl: $LIBCURL_CFLAGS $LIBCURL_LIBS" >&5 + $as_echo "$as_me: libcurl: $LIBCURL_CFLAGS $LIBCURL_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: libcurl: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libcurl: no" >&5 + $as_echo "$as_me: libcurl: no" >&6;} + fi + if test "$with_libssh" != "no" ; then +-{ $as_echo "$as_me:$LINENO: libssh: $LIBSSH_CFLAGS $LIBSSH_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libssh: $LIBSSH_CFLAGS $LIBSSH_LIBS" >&5 + $as_echo "$as_me: libssh: $LIBSSH_CFLAGS $LIBSSH_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: libssh: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: libssh: no" >&5 + $as_echo "$as_me: libssh: no" >&6;} + fi +-{ $as_echo "$as_me:$LINENO: gnutls: $GNUTLS_CFLAGS $GNUTLS_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: gnutls: $GNUTLS_CFLAGS $GNUTLS_LIBS" >&5 + $as_echo "$as_me: gnutls: $GNUTLS_CFLAGS $GNUTLS_LIBS" >&6;} + if test "$with_sasl" != "no" ; then +-{ $as_echo "$as_me:$LINENO: sasl: $SASL_CFLAGS $SASL_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: sasl: $SASL_CFLAGS $SASL_LIBS" >&5 + $as_echo "$as_me: sasl: $SASL_CFLAGS $SASL_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: sasl: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: sasl: no" >&5 + $as_echo "$as_me: sasl: no" >&6;} + fi + if test "$with_avahi" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: avahi: $AVAHI_CFLAGS $AVAHI_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: avahi: $AVAHI_CFLAGS $AVAHI_LIBS" >&5 + $as_echo "$as_me: avahi: $AVAHI_CFLAGS $AVAHI_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: avahi: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: avahi: no" >&5 + $as_echo "$as_me: avahi: no" >&6;} + fi + if test "$with_polkit" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: polkit: $POLKIT_CFLAGS $POLKIT_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: polkit: $POLKIT_CFLAGS $POLKIT_LIBS" >&5 + $as_echo "$as_me: polkit: $POLKIT_CFLAGS $POLKIT_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: polkit: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: polkit: no" >&5 + $as_echo "$as_me: polkit: no" >&6;} + fi + if test "$with_selinux" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: selinux: $SELINUX_CFLAGS $SELINUX_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: selinux: $SELINUX_CFLAGS $SELINUX_LIBS" >&5 + $as_echo "$as_me: selinux: $SELINUX_CFLAGS $SELINUX_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: selinux: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: selinux: no" >&5 + $as_echo "$as_me: selinux: no" >&6;} + fi ++if test "$with_apparmor" = "yes" ; then ++{ $as_echo "$as_me:${as_lineno-$LINENO}: apparmor: $APPARMOR_CFLAGS $APPARMOR_LIBS" >&5 ++$as_echo "$as_me: apparmor: $APPARMOR_CFLAGS $APPARMOR_LIBS" >&6;} ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: apparmor: no" >&5 ++$as_echo "$as_me: apparmor: no" >&6;} ++fi + if test "$with_numactl" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: numactl: $NUMACTL_CFLAGS $NUMACTL_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: numactl: $NUMACTL_CFLAGS $NUMACTL_LIBS" >&5 + $as_echo "$as_me: numactl: $NUMACTL_CFLAGS $NUMACTL_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: numactl: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: numactl: no" >&5 + $as_echo "$as_me: numactl: no" >&6;} + fi + if test "$with_capng" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: capng: $CAPNG_CFLAGS $CAPNG_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: capng: $CAPNG_CFLAGS $CAPNG_LIBS" >&5 + $as_echo "$as_me: capng: $CAPNG_CFLAGS $CAPNG_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: capng: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: capng: no" >&5 + $as_echo "$as_me: capng: no" >&6;} + fi + if test "$with_xen" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: xen: $XEN_CFLAGS $XEN_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xen: $XEN_CFLAGS $XEN_LIBS" >&5 + $as_echo "$as_me: xen: $XEN_CFLAGS $XEN_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: xen: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xen: no" >&5 + $as_echo "$as_me: xen: no" >&6;} + fi + if test "$with_hal" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: hal: $HAL_CFLAGS $HAL_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: hal: $HAL_CFLAGS $HAL_LIBS" >&5 + $as_echo "$as_me: hal: $HAL_CFLAGS $HAL_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: hal: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: hal: no" >&5 + $as_echo "$as_me: hal: no" >&6;} + fi + if test "$with_devkit" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: devkit: $DEVKIT_CFLAGS $DEVKIT_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: devkit: $DEVKIT_CFLAGS $DEVKIT_LIBS" >&5 + $as_echo "$as_me: devkit: $DEVKIT_CFLAGS $DEVKIT_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: devkit: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: devkit: no" >&5 + $as_echo "$as_me: devkit: no" >&6;} + fi + if test "$with_netcf" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: netcf: $NETCF_CFLAGS $NETCF_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: $NETCF_CFLAGS $NETCF_LIBS" >&5 + $as_echo "$as_me: netcf: $NETCF_CFLAGS $NETCF_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: netcf: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: netcf: no" >&5 + $as_echo "$as_me: netcf: no" >&6;} + fi + if test "$with_one" = "yes" ; then +-{ $as_echo "$as_me:$LINENO: xmlrpc: $XMLRPC_CFLAGS $XMLRPC_LIBS" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xmlrpc: $XMLRPC_CFLAGS $XMLRPC_LIBS" >&5 + $as_echo "$as_me: xmlrpc: $XMLRPC_CFLAGS $XMLRPC_LIBS" >&6;} + else +-{ $as_echo "$as_me:$LINENO: xmlrpc: no" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: xmlrpc: no" >&5 + $as_echo "$as_me: xmlrpc: no" >&6;} + fi +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Test suite" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Test suite" >&5 + $as_echo "$as_me: Test suite" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Coverage: $enable_coverage" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Coverage: $enable_coverage" >&5 + $as_echo "$as_me: Coverage: $enable_coverage" >&6;} +-{ $as_echo "$as_me:$LINENO: Alloc OOM: $enable_oom" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Alloc OOM: $enable_oom" >&5 + $as_echo "$as_me: Alloc OOM: $enable_oom" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Miscellaneous" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Miscellaneous" >&5 + $as_echo "$as_me: Miscellaneous" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Debug: $enable_debug" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Debug: $enable_debug" >&5 + $as_echo "$as_me: Debug: $enable_debug" >&6;} +-{ $as_echo "$as_me:$LINENO: Warnings: $enable_compile_warnings" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Warnings: $enable_compile_warnings" >&5 + $as_echo "$as_me: Warnings: $enable_compile_warnings" >&6;} +-{ $as_echo "$as_me:$LINENO: Readline: $lv_use_readline" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Readline: $lv_use_readline" >&5 + $as_echo "$as_me: Readline: $lv_use_readline" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: Privileges" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: Privileges" >&5 + $as_echo "$as_me: Privileges" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +-{ $as_echo "$as_me:$LINENO: QEMU: $QEMU_USER:$QEMU_GROUP" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: QEMU: $QEMU_USER:$QEMU_GROUP" >&5 + $as_echo "$as_me: QEMU: $QEMU_USER:$QEMU_GROUP" >&6;} +-{ $as_echo "$as_me:$LINENO: " >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 + $as_echo "$as_me: " >&6;} +diff -Nur libvirt-0.7.0/docs/Makefile.in libvirt-0.7.0.new/docs/Makefile.in +--- libvirt-0.7.0/docs/Makefile.in 2009-08-05 08:57:36.000000000 -0500 ++++ libvirt-0.7.0.new/docs/Makefile.in 2009-08-13 22:45:25.358505983 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +@@ -142,43 +133,16 @@ + ps-recursive uninstall-recursive + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir + ETAGS = etags + CTAGS = ctags + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +-am__relativize = \ +- dir0=`pwd`; \ +- sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +- sed_rest='s,^[^/]*/*,,'; \ +- sed_last='s,^.*/\([^/]*\)$$,\1,'; \ +- sed_butlast='s,/*[^/]*$$,,'; \ +- while test -n "$$dir1"; do \ +- first=`echo "$$dir1" | sed -e "$$sed_first"`; \ +- if test "$$first" != "."; then \ +- if test "$$first" = ".."; then \ +- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ +- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ +- else \ +- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ +- if test "$$first2" = "$$first"; then \ +- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ +- else \ +- dir2="../$$dir2"; \ +- fi; \ +- dir0="$$dir0"/"$$first"; \ +- fi; \ +- fi; \ +- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ +- done; \ +- reldir="$$dir2" + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -597,6 +561,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -878,9 +843,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu docs/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu docs/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -898,7 +863,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -930,7 +894,7 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ +@@ -964,16 +928,16 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" + tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -988,7 +952,7 @@ + + TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ +@@ -1000,7 +964,7 @@ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ +- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ ++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -1009,34 +973,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1057,44 +1016,29 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ ++ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ +- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ +- $(am__relativize); \ +- new_distdir=$$reldir; \ +- dir1=$$subdir; dir2="$(top_distdir)"; \ +- $(am__relativize); \ +- new_top_distdir=$$reldir; \ +- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ +- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ +- ($(am__cd) $$subdir && \ ++ distdir=`$(am__cd) $(distdir) && pwd`; \ ++ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ ++ (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ +- top_distdir="$$new_top_distdir" \ +- distdir="$$new_distdir" \ ++ top_distdir="$$top_distdir" \ ++ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ +- am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ +@@ -1124,7 +1068,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1143,8 +1086,6 @@ + + html: html-recursive + +-html-am: +- + info: info-recursive + + info-am: +@@ -1153,28 +1094,18 @@ + + install-dvi: install-dvi-recursive + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-recursive + +-install-html-am: +- + install-info: install-info-recursive + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-recursive + +-install-pdf-am: +- + install-ps: install-ps-recursive + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-recursive +@@ -1196,8 +1127,8 @@ + + uninstall-am: uninstall-local + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ +- install-am install-strip tags-recursive ++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ ++ install-strip + + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ +@@ -1294,7 +1225,6 @@ + uninstall-local: + for h in $(apihtml); do rm $(DESTDIR)$(HTML_DIR)/$$h; done + for p in $(apipng); do rm $(DESTDIR)$(HTML_DIR)/$$p; done +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/docs/devhelp/Makefile.in libvirt-0.7.0.new/docs/devhelp/Makefile.in +--- libvirt-0.7.0/docs/devhelp/Makefile.in 2009-08-05 08:57:36.000000000 -0500 ++++ libvirt-0.7.0.new/docs/devhelp/Makefile.in 2009-08-13 22:45:25.558505869 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -138,7 +129,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -557,6 +549,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -781,9 +774,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/devhelp/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu docs/devhelp/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/devhelp/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu docs/devhelp/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -801,7 +794,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -831,17 +823,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -869,7 +857,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -888,8 +875,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -898,28 +883,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -969,7 +944,6 @@ + -for file in $(EXTRA_FORMAT); do \ + @INSTALL@ -m 0644 $(srcdir)/$${file} $(DESTDIR)$(DEVHELP_DIR) ; \ + done +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/docs/examples/Makefile.in libvirt-0.7.0.new/docs/examples/Makefile.in +--- libvirt-0.7.0/docs/examples/Makefile.in 2009-08-05 08:57:37.000000000 -0500 ++++ libvirt-0.7.0.new/docs/examples/Makefile.in 2009-08-13 22:45:25.802506811 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -126,50 +124,32 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + PROGRAMS = $(noinst_PROGRAMS) + am_info1_OBJECTS = info1.$(OBJEXT) + info1_OBJECTS = $(am_info1_OBJECTS) + am__DEPENDENCIES_1 = + am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libvirt.la $(am__DEPENDENCIES_1) +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent +-info1_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(info1_LDFLAGS) $(LDFLAGS) -o $@ ++info1_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(info1_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + am_suspend_OBJECTS = suspend.$(OBJEXT) + suspend_OBJECTS = $(am_suspend_OBJECTS) +-suspend_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(suspend_LDFLAGS) $(LDFLAGS) -o $@ ++suspend_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(suspend_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(info1_SOURCES) $(suspend_SOURCES) + DIST_SOURCES = $(info1_SOURCES) $(suspend_SOURCES) + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +@@ -181,43 +161,16 @@ + ps-recursive uninstall-recursive + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir + ETAGS = etags + CTAGS = ctags + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +-am__relativize = \ +- dir0=`pwd`; \ +- sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +- sed_rest='s,^[^/]*/*,,'; \ +- sed_last='s,^.*/\([^/]*\)$$,\1,'; \ +- sed_butlast='s,/*[^/]*$$,,'; \ +- while test -n "$$dir1"; do \ +- first=`echo "$$dir1" | sed -e "$$sed_first"`; \ +- if test "$$first" != "."; then \ +- if test "$$first" = ".."; then \ +- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ +- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ +- else \ +- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ +- if test "$$first2" = "$$first"; then \ +- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ +- else \ +- dir2="../$$dir2"; \ +- fi; \ +- dir0="$$dir0"/"$$first"; \ +- fi; \ +- fi; \ +- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ +- done; \ +- reldir="$$dir2" + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -636,6 +589,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -863,9 +817,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/examples/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu docs/examples/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/examples/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu docs/examples/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -883,22 +837,19 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + clean-noinstPROGRAMS: +- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(noinst_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + info1$(EXEEXT): $(info1_OBJECTS) $(info1_DEPENDENCIES) + @rm -f info1$(EXEEXT) +- $(AM_V_CCLD)$(info1_LINK) $(info1_OBJECTS) $(info1_LDADD) $(LIBS) ++ $(info1_LINK) $(info1_OBJECTS) $(info1_LDADD) $(LIBS) + suspend$(EXEEXT): $(suspend_OBJECTS) $(suspend_DEPENDENCIES) + @rm -f suspend$(EXEEXT) +- $(AM_V_CCLD)$(suspend_LINK) $(suspend_OBJECTS) $(suspend_LDADD) $(LIBS) ++ $(suspend_LINK) $(suspend_OBJECTS) $(suspend_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -910,25 +861,22 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/suspend.Po@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@@ -963,7 +911,7 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ +@@ -997,16 +945,16 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" + tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -1021,7 +969,7 @@ + + TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ +@@ -1033,7 +981,7 @@ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ +- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ ++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -1042,34 +990,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1090,44 +1033,29 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ ++ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ +- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ +- $(am__relativize); \ +- new_distdir=$$reldir; \ +- dir1=$$subdir; dir2="$(top_distdir)"; \ +- $(am__relativize); \ +- new_top_distdir=$$reldir; \ +- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ +- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ +- ($(am__cd) $$subdir && \ ++ distdir=`$(am__cd) $(distdir) && pwd`; \ ++ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ ++ (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ +- top_distdir="$$new_top_distdir" \ +- distdir="$$new_distdir" \ ++ top_distdir="$$top_distdir" \ ++ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ +- am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ +@@ -1157,7 +1085,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1179,8 +1106,6 @@ + + html: html-recursive + +-html-am: +- + info: info-recursive + + info-am: +@@ -1189,28 +1114,18 @@ + + install-dvi: install-dvi-recursive + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-recursive + +-install-html-am: +- + install-info: install-info-recursive + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-recursive + +-install-pdf-am: +- + install-ps: install-ps-recursive + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-recursive +@@ -1233,8 +1148,8 @@ + + uninstall-am: + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ +- install-am install-strip tags-recursive ++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ ++ install-strip + + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ +@@ -1276,7 +1191,6 @@ + @(echo '## examples regression tests') + @($(CHECKER) ./info1) + @($(CHECKER) ./suspend) +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/docs/examples/python/Makefile.in libvirt-0.7.0.new/docs/examples/python/Makefile.in +--- libvirt-0.7.0/docs/examples/python/Makefile.in 2009-08-05 08:57:37.000000000 -0500 ++++ libvirt-0.7.0.new/docs/examples/python/Makefile.in 2009-08-13 22:45:26.002506257 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -138,7 +129,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -557,6 +549,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -772,9 +765,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/examples/python/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu docs/examples/python/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/examples/python/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu docs/examples/python/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -792,7 +785,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -822,17 +814,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -860,7 +848,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -879,8 +866,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -889,28 +874,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -944,7 +919,6 @@ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/docs/schemas/Makefile.in libvirt-0.7.0.new/docs/schemas/Makefile.in +--- libvirt-0.7.0/docs/schemas/Makefile.in 2009-08-05 08:57:37.000000000 -0500 ++++ libvirt-0.7.0.new/docs/schemas/Makefile.in 2009-08-13 22:45:26.214505961 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -125,13 +123,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +@@ -139,30 +130,17 @@ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +-am__install_max = 40 +-am__nobase_strip_setup = \ +- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +-am__nobase_strip = \ +- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +-am__nobase_list = $(am__nobase_strip_setup); \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ +- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ +- if (++n[$$2] == $(am__install_max)) \ +- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ +- END { for (dir in files) print dir, files[dir] }' +-am__base_list = \ +- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ +- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' ++am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; + am__installdirs = "$(DESTDIR)$(schemadir)" ++schemaDATA_INSTALL = $(INSTALL_DATA) + DATA = $(schema_DATA) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -581,6 +559,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -802,9 +781,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/schemas/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu docs/schemas/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/schemas/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu docs/schemas/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -822,7 +801,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -832,23 +810,20 @@ + install-schemaDATA: $(schema_DATA) + @$(NORMAL_INSTALL) + test -z "$(schemadir)" || $(MKDIR_P) "$(DESTDIR)$(schemadir)" +- @list='$(schema_DATA)'; test -n "$(schemadir)" || list=; \ +- for p in $$list; do \ ++ @list='$(schema_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(schemadir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(schemadir)" || exit $$?; \ ++ f=$(am__strip_dir) \ ++ echo " $(schemaDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(schemadir)/$$f'"; \ ++ $(schemaDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(schemadir)/$$f"; \ + done + + uninstall-schemaDATA: + @$(NORMAL_UNINSTALL) +- @list='$(schema_DATA)'; test -n "$(schemadir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- test -n "$$files" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(schemadir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(schemadir)" && rm -f $$files ++ @list='$(schema_DATA)'; for p in $$list; do \ ++ f=$(am__strip_dir) \ ++ echo " rm -f '$(DESTDIR)$(schemadir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(schemadir)/$$f"; \ ++ done + tags: TAGS + TAGS: + +@@ -872,17 +847,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -913,7 +884,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -932,8 +902,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -942,28 +910,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -998,7 +956,6 @@ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-schemaDATA + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/examples/domain-events/events-c/Makefile.in libvirt-0.7.0.new/examples/domain-events/events-c/Makefile.in +--- libvirt-0.7.0/examples/domain-events/events-c/Makefile.in 2009-08-05 08:57:37.000000000 -0500 ++++ libvirt-0.7.0.new/examples/domain-events/events-c/Makefile.in 2009-08-13 22:45:26.446507569 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -126,43 +124,25 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + PROGRAMS = $(noinst_PROGRAMS) + am_event_test_OBJECTS = event_test-event-test.$(OBJEXT) + event_test_OBJECTS = $(am_event_test_OBJECTS) + event_test_DEPENDENCIES = @top_builddir@/src/libvirt.la +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent +-event_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ ++event_test_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(event_test_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(event_test_SOURCES) + DIST_SOURCES = $(event_test_SOURCES) + ETAGS = etags +@@ -172,7 +152,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -591,6 +572,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -806,9 +788,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/domain-events/events-c/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu examples/domain-events/events-c/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/domain-events/events-c/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu examples/domain-events/events-c/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -826,19 +808,16 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + clean-noinstPROGRAMS: +- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(noinst_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + event-test$(EXEEXT): $(event_test_OBJECTS) $(event_test_DEPENDENCIES) + @rm -f event-test$(EXEEXT) +- $(AM_V_CCLD)$(event_test_LINK) $(event_test_OBJECTS) $(event_test_LDADD) $(LIBS) ++ $(event_test_LINK) $(event_test_OBJECTS) $(event_test_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -849,41 +828,36 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event_test-event-test.Po@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + + event_test-event-test.o: event-test.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_test_CFLAGS) $(CFLAGS) -MT event_test-event-test.o -MD -MP -MF $(DEPDIR)/event_test-event-test.Tpo -c -o event_test-event-test.o `test -f 'event-test.c' || echo '$(srcdir)/'`event-test.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/event_test-event-test.Tpo $(DEPDIR)/event_test-event-test.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_test_CFLAGS) $(CFLAGS) -MT event_test-event-test.o -MD -MP -MF $(DEPDIR)/event_test-event-test.Tpo -c -o event_test-event-test.o `test -f 'event-test.c' || echo '$(srcdir)/'`event-test.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/event_test-event-test.Tpo $(DEPDIR)/event_test-event-test.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event-test.c' object='event_test-event-test.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_test_CFLAGS) $(CFLAGS) -c -o event_test-event-test.o `test -f 'event-test.c' || echo '$(srcdir)/'`event-test.c + + event_test-event-test.obj: event-test.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_test_CFLAGS) $(CFLAGS) -MT event_test-event-test.obj -MD -MP -MF $(DEPDIR)/event_test-event-test.Tpo -c -o event_test-event-test.obj `if test -f 'event-test.c'; then $(CYGPATH_W) 'event-test.c'; else $(CYGPATH_W) '$(srcdir)/event-test.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/event_test-event-test.Tpo $(DEPDIR)/event_test-event-test.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_test_CFLAGS) $(CFLAGS) -MT event_test-event-test.obj -MD -MP -MF $(DEPDIR)/event_test-event-test.Tpo -c -o event_test-event-test.obj `if test -f 'event-test.c'; then $(CYGPATH_W) 'event-test.c'; else $(CYGPATH_W) '$(srcdir)/event-test.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/event_test-event-test.Tpo $(DEPDIR)/event_test-event-test.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event-test.c' object='event_test-event-test.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_test_CFLAGS) $(CFLAGS) -c -o event_test-event-test.obj `if test -f 'event-test.c'; then $(CYGPATH_W) 'event-test.c'; else $(CYGPATH_W) '$(srcdir)/event-test.c'; fi` +@@ -906,7 +880,7 @@ + + TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ +@@ -914,34 +888,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -962,17 +931,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -1000,7 +965,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1022,8 +986,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -1032,28 +994,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -1091,7 +1043,6 @@ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/examples/hellolibvirt/Makefile.in libvirt-0.7.0.new/examples/hellolibvirt/Makefile.in +--- libvirt-0.7.0/examples/hellolibvirt/Makefile.in 2009-08-05 08:57:37.000000000 -0500 ++++ libvirt-0.7.0.new/examples/hellolibvirt/Makefile.in 2009-08-13 22:45:26.678507543 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -126,43 +124,25 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + PROGRAMS = $(noinst_PROGRAMS) + am_hellolibvirt_OBJECTS = hellolibvirt-hellolibvirt.$(OBJEXT) + hellolibvirt_OBJECTS = $(am_hellolibvirt_OBJECTS) + hellolibvirt_DEPENDENCIES = @top_builddir@/src/libvirt.la +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent +-hellolibvirt_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ ++hellolibvirt_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(hellolibvirt_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(hellolibvirt_SOURCES) + DIST_SOURCES = $(hellolibvirt_SOURCES) + ETAGS = etags +@@ -172,7 +152,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -591,6 +572,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -806,9 +788,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/hellolibvirt/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu examples/hellolibvirt/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/hellolibvirt/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu examples/hellolibvirt/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -826,19 +808,16 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + clean-noinstPROGRAMS: +- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(noinst_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + hellolibvirt$(EXEEXT): $(hellolibvirt_OBJECTS) $(hellolibvirt_DEPENDENCIES) + @rm -f hellolibvirt$(EXEEXT) +- $(AM_V_CCLD)$(hellolibvirt_LINK) $(hellolibvirt_OBJECTS) $(hellolibvirt_LDADD) $(LIBS) ++ $(hellolibvirt_LINK) $(hellolibvirt_OBJECTS) $(hellolibvirt_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -849,41 +828,36 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hellolibvirt-hellolibvirt.Po@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + + hellolibvirt-hellolibvirt.o: hellolibvirt.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hellolibvirt_CFLAGS) $(CFLAGS) -MT hellolibvirt-hellolibvirt.o -MD -MP -MF $(DEPDIR)/hellolibvirt-hellolibvirt.Tpo -c -o hellolibvirt-hellolibvirt.o `test -f 'hellolibvirt.c' || echo '$(srcdir)/'`hellolibvirt.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hellolibvirt-hellolibvirt.Tpo $(DEPDIR)/hellolibvirt-hellolibvirt.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hellolibvirt_CFLAGS) $(CFLAGS) -MT hellolibvirt-hellolibvirt.o -MD -MP -MF $(DEPDIR)/hellolibvirt-hellolibvirt.Tpo -c -o hellolibvirt-hellolibvirt.o `test -f 'hellolibvirt.c' || echo '$(srcdir)/'`hellolibvirt.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/hellolibvirt-hellolibvirt.Tpo $(DEPDIR)/hellolibvirt-hellolibvirt.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hellolibvirt.c' object='hellolibvirt-hellolibvirt.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hellolibvirt_CFLAGS) $(CFLAGS) -c -o hellolibvirt-hellolibvirt.o `test -f 'hellolibvirt.c' || echo '$(srcdir)/'`hellolibvirt.c + + hellolibvirt-hellolibvirt.obj: hellolibvirt.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hellolibvirt_CFLAGS) $(CFLAGS) -MT hellolibvirt-hellolibvirt.obj -MD -MP -MF $(DEPDIR)/hellolibvirt-hellolibvirt.Tpo -c -o hellolibvirt-hellolibvirt.obj `if test -f 'hellolibvirt.c'; then $(CYGPATH_W) 'hellolibvirt.c'; else $(CYGPATH_W) '$(srcdir)/hellolibvirt.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hellolibvirt-hellolibvirt.Tpo $(DEPDIR)/hellolibvirt-hellolibvirt.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hellolibvirt_CFLAGS) $(CFLAGS) -MT hellolibvirt-hellolibvirt.obj -MD -MP -MF $(DEPDIR)/hellolibvirt-hellolibvirt.Tpo -c -o hellolibvirt-hellolibvirt.obj `if test -f 'hellolibvirt.c'; then $(CYGPATH_W) 'hellolibvirt.c'; else $(CYGPATH_W) '$(srcdir)/hellolibvirt.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/hellolibvirt-hellolibvirt.Tpo $(DEPDIR)/hellolibvirt-hellolibvirt.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hellolibvirt.c' object='hellolibvirt-hellolibvirt.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hellolibvirt_CFLAGS) $(CFLAGS) -c -o hellolibvirt-hellolibvirt.obj `if test -f 'hellolibvirt.c'; then $(CYGPATH_W) 'hellolibvirt.c'; else $(CYGPATH_W) '$(srcdir)/hellolibvirt.c'; fi` +@@ -906,7 +880,7 @@ + + TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ +@@ -914,34 +888,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -962,17 +931,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -1000,7 +965,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1022,8 +986,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -1032,28 +994,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -1091,7 +1043,6 @@ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/gnulib/lib/Makefile.in libvirt-0.7.0.new/gnulib/lib/Makefile.in +--- libvirt-0.7.0/gnulib/lib/Makefile.in 2009-08-05 08:57:37.000000000 -0500 ++++ libvirt-0.7.0.new/gnulib/lib/Makefile.in 2009-08-13 22:45:27.374834693 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -30,9 +29,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -139,44 +137,26 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + LIBRARIES = $(noinst_LIBRARIES) + LTLIBRARIES = $(noinst_LTLIBRARIES) + am__DEPENDENCIES_1 = + am_libgnu_la_OBJECTS = c-ctype.lo close-hook.lo + libgnu_la_OBJECTS = $(am_libgnu_la_OBJECTS) +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent +-libgnu_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ ++libgnu_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(libgnu_la_LDFLAGS) $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(libgnu_la_SOURCES) $(EXTRA_libgnu_la_SOURCES) + DIST_SOURCES = $(libgnu_la_SOURCES) $(EXTRA_libgnu_la_SOURCES) + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +@@ -189,43 +169,16 @@ + HEADERS = $(noinst_HEADERS) + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir + ETAGS = etags + CTAGS = ctags + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +-am__relativize = \ +- dir0=`pwd`; \ +- sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +- sed_rest='s,^[^/]*/*,,'; \ +- sed_last='s,^.*/\([^/]*\)$$,\1,'; \ +- sed_butlast='s,/*[^/]*$$,,'; \ +- while test -n "$$dir1"; do \ +- first=`echo "$$dir1" | sed -e "$$sed_first"`; \ +- if test "$$first" != "."; then \ +- if test "$$first" = ".."; then \ +- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ +- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ +- else \ +- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ +- if test "$$first2" = "$$first"; then \ +- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ +- else \ +- dir2="../$$dir2"; \ +- fi; \ +- dir0="$$dir0"/"$$first"; \ +- fi; \ +- fi; \ +- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ +- done; \ +- reldir="$$dir2" + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -644,6 +597,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -938,9 +892,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits gnulib/lib/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnits gnulib/lib/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits gnulib/lib/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnits gnulib/lib/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -958,7 +912,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +@@ -972,7 +925,7 @@ + rm -f "$${dir}/so_locations"; \ + done + libgnu.la: $(libgnu_la_OBJECTS) $(libgnu_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libgnu_la_LINK) $(libgnu_la_OBJECTS) $(libgnu_la_LIBADD) $(LIBS) ++ $(libgnu_la_LINK) $(libgnu_la_OBJECTS) $(libgnu_la_LIBADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -1032,25 +985,22 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasprintf.Plo@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@@ -1085,7 +1035,7 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ +@@ -1119,16 +1069,16 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" + tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -1143,7 +1093,7 @@ + + TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ +@@ -1155,7 +1105,7 @@ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ +- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ ++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -1164,34 +1114,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1212,44 +1157,29 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ ++ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ +- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ +- $(am__relativize); \ +- new_distdir=$$reldir; \ +- dir1=$$subdir; dir2="$(top_distdir)"; \ +- $(am__relativize); \ +- new_top_distdir=$$reldir; \ +- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ +- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ +- ($(am__cd) $$subdir && \ ++ distdir=`$(am__cd) $(distdir) && pwd`; \ ++ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ ++ (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ +- top_distdir="$$new_top_distdir" \ +- distdir="$$new_distdir" \ ++ top_distdir="$$top_distdir" \ ++ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ +- am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ +@@ -1283,7 +1213,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + + maintainer-clean-generic: +@@ -1308,8 +1237,6 @@ + + html: html-recursive + +-html-am: +- + info: info-recursive + + info-am: +@@ -1318,28 +1245,18 @@ + + install-dvi: install-dvi-recursive + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-recursive + +-install-html-am: +- + install-info: install-info-recursive + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-recursive + +-install-pdf-am: +- + install-ps: install-ps-recursive + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-recursive +@@ -1362,9 +1279,8 @@ + + uninstall-am: + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ +- ctags-recursive install install-am install-strip \ +- tags-recursive ++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ ++ install-strip + + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ +@@ -1969,7 +1885,6 @@ + fi; \ + done; \ + : +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/gnulib/tests/Makefile.in libvirt-0.7.0.new/gnulib/tests/Makefile.in +--- libvirt-0.7.0/gnulib/tests/Makefile.in 2009-08-05 08:57:38.000000000 -0500 ++++ libvirt-0.7.0.new/gnulib/tests/Makefile.in 2009-08-13 22:45:27.790006354 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -29,9 +28,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -176,15 +174,8 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + LIBRARIES = $(noinst_LIBRARIES) + ARFLAGS = cru +-AM_V_AR = $(am__v_AR_$(V)) +-am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY)) +-am__v_AR_0 = @echo " AR " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + libtests_a_AR = $(AR) $(ARFLAGS) + am__DEPENDENCIES_1 = + am_libtests_a_OBJECTS = sockets.$(OBJEXT) +@@ -195,9 +186,6 @@ + test_alignof_LDADD = $(LDADD) + test_alignof_DEPENDENCIES = libtests.a ../../gnulib/lib/libgnu.la \ + libtests.a $(am__DEPENDENCIES_1) +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent + test_alloca_opt_SOURCES = test-alloca-opt.c + test_alloca_opt_OBJECTS = test-alloca-opt.$(OBJEXT) + test_alloca_opt_LDADD = $(LDADD) +@@ -381,26 +369,15 @@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(libtests_a_SOURCES) $(EXTRA_libtests_a_SOURCES) \ + test-alignof.c test-alloca-opt.c test-arpa_inet.c \ + test-c-ctype.c test-errno.c test-fseeko.c test-getaddrinfo.c \ +@@ -435,45 +412,16 @@ + HEADERS = $(noinst_HEADERS) + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir + ETAGS = etags + CTAGS = ctags +-am__tty_colors = \ +-red=; grn=; lgn=; blu=; std= + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +-am__relativize = \ +- dir0=`pwd`; \ +- sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +- sed_rest='s,^[^/]*/*,,'; \ +- sed_last='s,^.*/\([^/]*\)$$,\1,'; \ +- sed_butlast='s,/*[^/]*$$,,'; \ +- while test -n "$$dir1"; do \ +- first=`echo "$$dir1" | sed -e "$$sed_first"`; \ +- if test "$$first" != "."; then \ +- if test "$$first" = ".."; then \ +- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ +- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ +- else \ +- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ +- if test "$$first2" = "$$first"; then \ +- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ +- else \ +- dir2="../$$dir2"; \ +- fi; \ +- dir0="$$dir0"/"$$first"; \ +- fi; \ +- fi; \ +- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ +- done; \ +- reldir="$$dir2" + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -892,6 +840,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -1154,9 +1103,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gnulib/tests/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --foreign gnulib/tests/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gnulib/tests/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --foreign gnulib/tests/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -1174,7 +1123,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + clean-checkLIBRARIES: + -test -z "$(check_LIBRARIES)" || rm -f $(check_LIBRARIES) +@@ -1182,144 +1130,140 @@ + clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) + libtests.a: $(libtests_a_OBJECTS) $(libtests_a_DEPENDENCIES) +- $(AM_V_at)-rm -f libtests.a +- $(AM_V_AR)$(libtests_a_AR) libtests.a $(libtests_a_OBJECTS) $(libtests_a_LIBADD) +- $(AM_V_at)$(RANLIB) libtests.a ++ -rm -f libtests.a ++ $(libtests_a_AR) libtests.a $(libtests_a_OBJECTS) $(libtests_a_LIBADD) ++ $(RANLIB) libtests.a + + clean-checkPROGRAMS: +- @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(check_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + + clean-noinstPROGRAMS: +- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(noinst_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + test-alignof$(EXEEXT): $(test_alignof_OBJECTS) $(test_alignof_DEPENDENCIES) + @rm -f test-alignof$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_alignof_OBJECTS) $(test_alignof_LDADD) $(LIBS) ++ $(LINK) $(test_alignof_OBJECTS) $(test_alignof_LDADD) $(LIBS) + test-alloca-opt$(EXEEXT): $(test_alloca_opt_OBJECTS) $(test_alloca_opt_DEPENDENCIES) + @rm -f test-alloca-opt$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_alloca_opt_OBJECTS) $(test_alloca_opt_LDADD) $(LIBS) ++ $(LINK) $(test_alloca_opt_OBJECTS) $(test_alloca_opt_LDADD) $(LIBS) + test-arpa_inet$(EXEEXT): $(test_arpa_inet_OBJECTS) $(test_arpa_inet_DEPENDENCIES) + @rm -f test-arpa_inet$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_arpa_inet_OBJECTS) $(test_arpa_inet_LDADD) $(LIBS) ++ $(LINK) $(test_arpa_inet_OBJECTS) $(test_arpa_inet_LDADD) $(LIBS) + test-c-ctype$(EXEEXT): $(test_c_ctype_OBJECTS) $(test_c_ctype_DEPENDENCIES) + @rm -f test-c-ctype$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_c_ctype_OBJECTS) $(test_c_ctype_LDADD) $(LIBS) ++ $(LINK) $(test_c_ctype_OBJECTS) $(test_c_ctype_LDADD) $(LIBS) + test-errno$(EXEEXT): $(test_errno_OBJECTS) $(test_errno_DEPENDENCIES) + @rm -f test-errno$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_errno_OBJECTS) $(test_errno_LDADD) $(LIBS) ++ $(LINK) $(test_errno_OBJECTS) $(test_errno_LDADD) $(LIBS) + test-fseeko$(EXEEXT): $(test_fseeko_OBJECTS) $(test_fseeko_DEPENDENCIES) + @rm -f test-fseeko$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_fseeko_OBJECTS) $(test_fseeko_LDADD) $(LIBS) ++ $(LINK) $(test_fseeko_OBJECTS) $(test_fseeko_LDADD) $(LIBS) + test-getaddrinfo$(EXEEXT): $(test_getaddrinfo_OBJECTS) $(test_getaddrinfo_DEPENDENCIES) + @rm -f test-getaddrinfo$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_getaddrinfo_OBJECTS) $(test_getaddrinfo_LDADD) $(LIBS) ++ $(LINK) $(test_getaddrinfo_OBJECTS) $(test_getaddrinfo_LDADD) $(LIBS) + test-getdelim$(EXEEXT): $(test_getdelim_OBJECTS) $(test_getdelim_DEPENDENCIES) + @rm -f test-getdelim$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_getdelim_OBJECTS) $(test_getdelim_LDADD) $(LIBS) ++ $(LINK) $(test_getdelim_OBJECTS) $(test_getdelim_LDADD) $(LIBS) + test-gethostname$(EXEEXT): $(test_gethostname_OBJECTS) $(test_gethostname_DEPENDENCIES) + @rm -f test-gethostname$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_gethostname_OBJECTS) $(test_gethostname_LDADD) $(LIBS) ++ $(LINK) $(test_gethostname_OBJECTS) $(test_gethostname_LDADD) $(LIBS) + test-getline$(EXEEXT): $(test_getline_OBJECTS) $(test_getline_DEPENDENCIES) + @rm -f test-getline$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_getline_OBJECTS) $(test_getline_LDADD) $(LIBS) ++ $(LINK) $(test_getline_OBJECTS) $(test_getline_LDADD) $(LIBS) + test-gettimeofday$(EXEEXT): $(test_gettimeofday_OBJECTS) $(test_gettimeofday_DEPENDENCIES) + @rm -f test-gettimeofday$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_gettimeofday_OBJECTS) $(test_gettimeofday_LDADD) $(LIBS) ++ $(LINK) $(test_gettimeofday_OBJECTS) $(test_gettimeofday_LDADD) $(LIBS) + test-lseek$(EXEEXT): $(test_lseek_OBJECTS) $(test_lseek_DEPENDENCIES) + @rm -f test-lseek$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_lseek_OBJECTS) $(test_lseek_LDADD) $(LIBS) ++ $(LINK) $(test_lseek_OBJECTS) $(test_lseek_LDADD) $(LIBS) + test-lstat$(EXEEXT): $(test_lstat_OBJECTS) $(test_lstat_DEPENDENCIES) + @rm -f test-lstat$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_lstat_OBJECTS) $(test_lstat_LDADD) $(LIBS) ++ $(LINK) $(test_lstat_OBJECTS) $(test_lstat_LDADD) $(LIBS) + test-memchr$(EXEEXT): $(test_memchr_OBJECTS) $(test_memchr_DEPENDENCIES) + @rm -f test-memchr$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_memchr_OBJECTS) $(test_memchr_LDADD) $(LIBS) ++ $(LINK) $(test_memchr_OBJECTS) $(test_memchr_LDADD) $(LIBS) + test-netdb$(EXEEXT): $(test_netdb_OBJECTS) $(test_netdb_DEPENDENCIES) + @rm -f test-netdb$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_netdb_OBJECTS) $(test_netdb_LDADD) $(LIBS) ++ $(LINK) $(test_netdb_OBJECTS) $(test_netdb_LDADD) $(LIBS) + test-netinet_in$(EXEEXT): $(test_netinet_in_OBJECTS) $(test_netinet_in_DEPENDENCIES) + @rm -f test-netinet_in$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_netinet_in_OBJECTS) $(test_netinet_in_LDADD) $(LIBS) ++ $(LINK) $(test_netinet_in_OBJECTS) $(test_netinet_in_LDADD) $(LIBS) + test-perror$(EXEEXT): $(test_perror_OBJECTS) $(test_perror_DEPENDENCIES) + @rm -f test-perror$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_perror_OBJECTS) $(test_perror_LDADD) $(LIBS) ++ $(LINK) $(test_perror_OBJECTS) $(test_perror_LDADD) $(LIBS) + test-poll$(EXEEXT): $(test_poll_OBJECTS) $(test_poll_DEPENDENCIES) + @rm -f test-poll$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_poll_OBJECTS) $(test_poll_LDADD) $(LIBS) ++ $(LINK) $(test_poll_OBJECTS) $(test_poll_LDADD) $(LIBS) + test-random_r$(EXEEXT): $(test_random_r_OBJECTS) $(test_random_r_DEPENDENCIES) + @rm -f test-random_r$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_random_r_OBJECTS) $(test_random_r_LDADD) $(LIBS) ++ $(LINK) $(test_random_r_OBJECTS) $(test_random_r_LDADD) $(LIBS) + test-select$(EXEEXT): $(test_select_OBJECTS) $(test_select_DEPENDENCIES) + @rm -f test-select$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_select_OBJECTS) $(test_select_LDADD) $(LIBS) ++ $(LINK) $(test_select_OBJECTS) $(test_select_LDADD) $(LIBS) + test-select-fd$(EXEEXT): $(test_select_fd_OBJECTS) $(test_select_fd_DEPENDENCIES) + @rm -f test-select-fd$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_select_fd_OBJECTS) $(test_select_fd_LDADD) $(LIBS) ++ $(LINK) $(test_select_fd_OBJECTS) $(test_select_fd_LDADD) $(LIBS) + test-select-stdin$(EXEEXT): $(test_select_stdin_OBJECTS) $(test_select_stdin_DEPENDENCIES) + @rm -f test-select-stdin$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_select_stdin_OBJECTS) $(test_select_stdin_LDADD) $(LIBS) ++ $(LINK) $(test_select_stdin_OBJECTS) $(test_select_stdin_LDADD) $(LIBS) + test-snprintf$(EXEEXT): $(test_snprintf_OBJECTS) $(test_snprintf_DEPENDENCIES) + @rm -f test-snprintf$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_snprintf_OBJECTS) $(test_snprintf_LDADD) $(LIBS) ++ $(LINK) $(test_snprintf_OBJECTS) $(test_snprintf_LDADD) $(LIBS) + test-sockets$(EXEEXT): $(test_sockets_OBJECTS) $(test_sockets_DEPENDENCIES) + @rm -f test-sockets$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_sockets_OBJECTS) $(test_sockets_LDADD) $(LIBS) ++ $(LINK) $(test_sockets_OBJECTS) $(test_sockets_LDADD) $(LIBS) + test-stdbool$(EXEEXT): $(test_stdbool_OBJECTS) $(test_stdbool_DEPENDENCIES) + @rm -f test-stdbool$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_stdbool_OBJECTS) $(test_stdbool_LDADD) $(LIBS) ++ $(LINK) $(test_stdbool_OBJECTS) $(test_stdbool_LDADD) $(LIBS) + test-stdint$(EXEEXT): $(test_stdint_OBJECTS) $(test_stdint_DEPENDENCIES) + @rm -f test-stdint$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_stdint_OBJECTS) $(test_stdint_LDADD) $(LIBS) ++ $(LINK) $(test_stdint_OBJECTS) $(test_stdint_LDADD) $(LIBS) + test-stdio$(EXEEXT): $(test_stdio_OBJECTS) $(test_stdio_DEPENDENCIES) + @rm -f test-stdio$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_stdio_OBJECTS) $(test_stdio_LDADD) $(LIBS) ++ $(LINK) $(test_stdio_OBJECTS) $(test_stdio_LDADD) $(LIBS) + test-stdlib$(EXEEXT): $(test_stdlib_OBJECTS) $(test_stdlib_DEPENDENCIES) + @rm -f test-stdlib$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_stdlib_OBJECTS) $(test_stdlib_LDADD) $(LIBS) ++ $(LINK) $(test_stdlib_OBJECTS) $(test_stdlib_LDADD) $(LIBS) + test-strerror$(EXEEXT): $(test_strerror_OBJECTS) $(test_strerror_DEPENDENCIES) + @rm -f test-strerror$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_strerror_OBJECTS) $(test_strerror_LDADD) $(LIBS) ++ $(LINK) $(test_strerror_OBJECTS) $(test_strerror_LDADD) $(LIBS) + test-string$(EXEEXT): $(test_string_OBJECTS) $(test_string_DEPENDENCIES) + @rm -f test-string$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_string_OBJECTS) $(test_string_LDADD) $(LIBS) ++ $(LINK) $(test_string_OBJECTS) $(test_string_LDADD) $(LIBS) + test-sys_select$(EXEEXT): $(test_sys_select_OBJECTS) $(test_sys_select_DEPENDENCIES) + @rm -f test-sys_select$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_sys_select_OBJECTS) $(test_sys_select_LDADD) $(LIBS) ++ $(LINK) $(test_sys_select_OBJECTS) $(test_sys_select_LDADD) $(LIBS) + test-sys_socket$(EXEEXT): $(test_sys_socket_OBJECTS) $(test_sys_socket_DEPENDENCIES) + @rm -f test-sys_socket$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_sys_socket_OBJECTS) $(test_sys_socket_LDADD) $(LIBS) ++ $(LINK) $(test_sys_socket_OBJECTS) $(test_sys_socket_LDADD) $(LIBS) + test-sys_stat$(EXEEXT): $(test_sys_stat_OBJECTS) $(test_sys_stat_DEPENDENCIES) + @rm -f test-sys_stat$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_sys_stat_OBJECTS) $(test_sys_stat_LDADD) $(LIBS) ++ $(LINK) $(test_sys_stat_OBJECTS) $(test_sys_stat_LDADD) $(LIBS) + test-sys_time$(EXEEXT): $(test_sys_time_OBJECTS) $(test_sys_time_DEPENDENCIES) + @rm -f test-sys_time$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_sys_time_OBJECTS) $(test_sys_time_LDADD) $(LIBS) ++ $(LINK) $(test_sys_time_OBJECTS) $(test_sys_time_LDADD) $(LIBS) + test-time$(EXEEXT): $(test_time_OBJECTS) $(test_time_DEPENDENCIES) + @rm -f test-time$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_time_OBJECTS) $(test_time_LDADD) $(LIBS) ++ $(LINK) $(test_time_OBJECTS) $(test_time_LDADD) $(LIBS) + test-unistd$(EXEEXT): $(test_unistd_OBJECTS) $(test_unistd_DEPENDENCIES) + @rm -f test-unistd$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_unistd_OBJECTS) $(test_unistd_LDADD) $(LIBS) ++ $(LINK) $(test_unistd_OBJECTS) $(test_unistd_LDADD) $(LIBS) + test-vasnprintf$(EXEEXT): $(test_vasnprintf_OBJECTS) $(test_vasnprintf_DEPENDENCIES) + @rm -f test-vasnprintf$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_vasnprintf_OBJECTS) $(test_vasnprintf_LDADD) $(LIBS) ++ $(LINK) $(test_vasnprintf_OBJECTS) $(test_vasnprintf_LDADD) $(LIBS) + test-vasprintf$(EXEEXT): $(test_vasprintf_OBJECTS) $(test_vasprintf_DEPENDENCIES) + @rm -f test-vasprintf$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_vasprintf_OBJECTS) $(test_vasprintf_LDADD) $(LIBS) ++ $(LINK) $(test_vasprintf_OBJECTS) $(test_vasprintf_LDADD) $(LIBS) + test-wchar$(EXEEXT): $(test_wchar_OBJECTS) $(test_wchar_DEPENDENCIES) + @rm -f test-wchar$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(test_wchar_OBJECTS) $(test_wchar_LDADD) $(LIBS) ++ $(LINK) $(test_wchar_OBJECTS) $(test_wchar_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -1372,25 +1316,22 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-wchar.Po@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@@ -1425,7 +1366,7 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ +@@ -1459,16 +1400,16 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" + tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -1483,7 +1424,7 @@ + + TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ +@@ -1495,7 +1436,7 @@ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ +- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ ++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -1504,34 +1445,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1540,7 +1476,6 @@ + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ +- $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ +@@ -1552,10 +1487,10 @@ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ +- col=$$red; res=XPASS; \ ++ echo "XPASS: $$tst"; \ + ;; \ + *) \ +- col=$$grn; res=PASS; \ ++ echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ +@@ -1563,18 +1498,17 @@ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ +- col=$$lgn; res=XFAIL; \ ++ echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ +- col=$$red; res=FAIL; \ ++ echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ +- col=$$blu; res=SKIP; \ ++ echo "SKIP: $$tst"; \ + fi; \ +- echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ +@@ -1616,15 +1550,11 @@ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ +- if test "$$failed" -eq 0; then \ +- echo "$$grn$$dashes"; \ +- else \ +- echo "$$red$$dashes"; \ +- fi; \ ++ echo "$$dashes"; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ +- echo "$$dashes$$std"; \ ++ echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi + +@@ -1644,44 +1574,29 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ ++ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ +- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ +- $(am__relativize); \ +- new_distdir=$$reldir; \ +- dir1=$$subdir; dir2="$(top_distdir)"; \ +- $(am__relativize); \ +- new_top_distdir=$$reldir; \ +- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ +- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ +- ($(am__cd) $$subdir && \ ++ distdir=`$(am__cd) $(distdir) && pwd`; \ ++ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ ++ (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ +- top_distdir="$$new_top_distdir" \ +- distdir="$$new_distdir" \ ++ top_distdir="$$top_distdir" \ ++ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ +- am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ +@@ -1717,7 +1632,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + + maintainer-clean-generic: +@@ -1743,8 +1657,6 @@ + + html: html-recursive + +-html-am: +- + info: info-recursive + + info-am: +@@ -1753,28 +1665,18 @@ + + install-dvi: install-dvi-recursive + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-recursive + +-install-html-am: +- + install-info: install-info-recursive + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-recursive + +-install-pdf-am: +- + install-ps: install-ps-recursive + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-recursive +@@ -1797,9 +1699,8 @@ + + uninstall-am: + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ +- check-am ctags-recursive install install-am install-strip \ +- tags-recursive ++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ ++ install-strip + + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-TESTS check-am clean \ +@@ -1830,7 +1731,6 @@ + fi; \ + done; \ + : +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/include/Makefile.in libvirt-0.7.0.new/include/Makefile.in +--- libvirt-0.7.0/include/Makefile.in 2009-08-05 08:57:38.000000000 -0500 ++++ libvirt-0.7.0.new/include/Makefile.in 2009-08-13 22:45:28.018006080 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +@@ -142,43 +133,16 @@ + ps-recursive uninstall-recursive + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir + ETAGS = etags + CTAGS = ctags + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +-am__relativize = \ +- dir0=`pwd`; \ +- sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +- sed_rest='s,^[^/]*/*,,'; \ +- sed_last='s,^.*/\([^/]*\)$$,\1,'; \ +- sed_butlast='s,/*[^/]*$$,,'; \ +- while test -n "$$dir1"; do \ +- first=`echo "$$dir1" | sed -e "$$sed_first"`; \ +- if test "$$first" != "."; then \ +- if test "$$first" = ".."; then \ +- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ +- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ +- else \ +- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ +- if test "$$first2" = "$$first"; then \ +- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ +- else \ +- dir2="../$$dir2"; \ +- fi; \ +- dir0="$$dir0"/"$$first"; \ +- fi; \ +- fi; \ +- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ +- done; \ +- reldir="$$dir2" + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -597,6 +561,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -808,9 +773,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu include/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu include/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -828,7 +793,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -860,7 +824,7 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ +@@ -894,16 +858,16 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" + tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -918,7 +882,7 @@ + + TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ +@@ -930,7 +894,7 @@ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ +- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ ++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -939,34 +903,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -987,44 +946,29 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ ++ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ +- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ +- $(am__relativize); \ +- new_distdir=$$reldir; \ +- dir1=$$subdir; dir2="$(top_distdir)"; \ +- $(am__relativize); \ +- new_top_distdir=$$reldir; \ +- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ +- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ +- ($(am__cd) $$subdir && \ ++ distdir=`$(am__cd) $(distdir) && pwd`; \ ++ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ ++ (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ +- top_distdir="$$new_top_distdir" \ +- distdir="$$new_distdir" \ ++ top_distdir="$$top_distdir" \ ++ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ +- am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ +@@ -1054,7 +998,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1073,8 +1016,6 @@ + + html: html-recursive + +-html-am: +- + info: info-recursive + + info-am: +@@ -1083,28 +1024,18 @@ + + install-dvi: install-dvi-recursive + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-recursive + +-install-html-am: +- + install-info: install-info-recursive + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-recursive + +-install-pdf-am: +- + install-ps: install-ps-recursive + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-recursive +@@ -1125,8 +1056,8 @@ + + uninstall-am: + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ +- install-am install-strip tags-recursive ++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ ++ install-strip + + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ +@@ -1142,7 +1073,6 @@ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/include/libvirt/Makefile.in libvirt-0.7.0.new/include/libvirt/Makefile.in +--- libvirt-0.7.0/include/libvirt/Makefile.in 2009-08-05 08:57:38.000000000 -0500 ++++ libvirt-0.7.0.new/include/libvirt/Makefile.in 2009-08-13 22:45:29.218344734 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -126,13 +124,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = libvirt.h +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +@@ -140,23 +131,9 @@ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +-am__install_max = 40 +-am__nobase_strip_setup = \ +- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +-am__nobase_strip = \ +- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +-am__nobase_list = $(am__nobase_strip_setup); \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ +- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ +- if (++n[$$2] == $(am__install_max)) \ +- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ +- END { for (dir in files) print dir, files[dir] }' +-am__base_list = \ +- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ +- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' ++am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; + am__installdirs = "$(DESTDIR)$(virincdir)" ++virincHEADERS_INSTALL = $(INSTALL_HEADER) + HEADERS = $(virinc_HEADERS) + ETAGS = etags + CTAGS = ctags +@@ -165,7 +142,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -584,6 +562,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -799,9 +778,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/libvirt/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu include/libvirt/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/libvirt/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu include/libvirt/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -819,7 +798,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + libvirt.h: $(top_builddir)/config.status $(srcdir)/libvirt.h.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ + +@@ -831,23 +809,20 @@ + install-virincHEADERS: $(virinc_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(virincdir)" || $(MKDIR_P) "$(DESTDIR)$(virincdir)" +- @list='$(virinc_HEADERS)'; test -n "$(virincdir)" || list=; \ +- for p in $$list; do \ ++ @list='$(virinc_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(virincdir)'"; \ +- $(INSTALL_HEADER) $$files "$(DESTDIR)$(virincdir)" || exit $$?; \ ++ f=$(am__strip_dir) \ ++ echo " $(virincHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(virincdir)/$$f'"; \ ++ $(virincHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(virincdir)/$$f"; \ + done + + uninstall-virincHEADERS: + @$(NORMAL_UNINSTALL) +- @list='$(virinc_HEADERS)'; test -n "$(virincdir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- test -n "$$files" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(virincdir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(virincdir)" && rm -f $$files ++ @list='$(virinc_HEADERS)'; for p in $$list; do \ ++ f=$(am__strip_dir) \ ++ echo " rm -f '$(DESTDIR)$(virincdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(virincdir)/$$f"; \ ++ done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -861,7 +836,7 @@ + + TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ +@@ -869,34 +844,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -917,17 +887,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -958,7 +924,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -977,8 +942,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -987,29 +950,20 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook +-install-html: install-html-am + +-install-html-am: ++install-html: install-html-am + + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -1048,7 +1002,6 @@ + + install-exec-hook: + $(mkinstalldirs) $(DESTDIR)$(virincdir) +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/proxy/Makefile.in libvirt-0.7.0.new/proxy/Makefile.in +--- libvirt-0.7.0/proxy/Makefile.in 2009-08-05 08:57:38.000000000 -0500 ++++ libvirt-0.7.0.new/proxy/Makefile.in 2009-08-13 22:45:29.522005869 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -126,8 +124,8 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + am__installdirs = "$(DESTDIR)$(libexecdir)" ++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + PROGRAMS = $(libexec_PROGRAMS) + am__libvirt_proxy_SOURCES_DIST = libvirt_proxy.c \ + @top_srcdir@/src/xend_internal.c \ +@@ -148,38 +146,21 @@ + @WITH_PROXY_TRUE@ event.$(OBJEXT) uuid.$(OBJEXT) \ + @WITH_PROXY_TRUE@ logging.$(OBJEXT) + libvirt_proxy_OBJECTS = $(am_libvirt_proxy_OBJECTS) +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent +-libvirt_proxy_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ ++libvirt_proxy_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(libvirt_proxy_LDFLAGS) $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(libvirt_proxy_SOURCES) + DIST_SOURCES = $(am__libvirt_proxy_SOURCES_DIST) + ETAGS = etags +@@ -189,7 +170,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -608,6 +590,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -841,9 +824,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu proxy/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu proxy/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu proxy/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu proxy/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -861,53 +844,37 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + install-libexecPROGRAMS: $(libexec_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)" +- @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed 's/$(EXEEXT)$$//' | \ +- while read p p1; do if test -f $$p || test -f $$p1; \ +- then echo "$$p"; echo "$$p"; else :; fi; \ +- done | \ +- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ +- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ +- sed 'N;N;N;s,\n, ,g' | \ +- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ +- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ +- if ($$2 == $$4) files[d] = files[d] " " $$1; \ +- else { print "f", $$3 "/" $$4, $$1; } } \ +- END { for (d in files) print "f", d, files[d] }' | \ +- while read type dir files; do \ +- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ +- test -z "$$files" || { \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \ +- } \ +- ; done ++ @list='$(libexec_PROGRAMS)'; for p in $$list; do \ ++ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ if test -f $$p \ ++ || test -f $$p1 \ ++ ; then \ ++ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \ ++ else :; fi; \ ++ done + + uninstall-libexecPROGRAMS: + @$(NORMAL_UNINSTALL) +- @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ +- files=`for p in $$list; do echo "$$p"; done | \ +- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ +- -e 's/$$/$(EXEEXT)/' `; \ +- test -n "$$list" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(libexecdir)" && rm -f $$files ++ @list='$(libexec_PROGRAMS)'; for p in $$list; do \ ++ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ ++ echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(libexecdir)/$$f"; \ ++ done + + clean-libexecPROGRAMS: +- @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(libexec_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + libvirt_proxy$(EXEEXT): $(libvirt_proxy_OBJECTS) $(libvirt_proxy_DEPENDENCIES) + @rm -f libvirt_proxy$(EXEEXT) +- $(AM_V_CCLD)$(libvirt_proxy_LINK) $(libvirt_proxy_OBJECTS) $(libvirt_proxy_LDADD) $(LIBS) ++ $(libvirt_proxy_LINK) $(libvirt_proxy_OBJECTS) $(libvirt_proxy_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -932,249 +899,218 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xs_internal.Po@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + + xend_internal.o: @top_srcdir@/src/xend_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xend_internal.o -MD -MP -MF $(DEPDIR)/xend_internal.Tpo -c -o xend_internal.o `test -f '@top_srcdir@/src/xend_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xend_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xend_internal.Tpo $(DEPDIR)/xend_internal.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xend_internal.o -MD -MP -MF $(DEPDIR)/xend_internal.Tpo -c -o xend_internal.o `test -f '@top_srcdir@/src/xend_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xend_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/xend_internal.Tpo $(DEPDIR)/xend_internal.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/xend_internal.c' object='xend_internal.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xend_internal.o `test -f '@top_srcdir@/src/xend_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xend_internal.c + + xend_internal.obj: @top_srcdir@/src/xend_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xend_internal.obj -MD -MP -MF $(DEPDIR)/xend_internal.Tpo -c -o xend_internal.obj `if test -f '@top_srcdir@/src/xend_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xend_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xend_internal.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xend_internal.Tpo $(DEPDIR)/xend_internal.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xend_internal.obj -MD -MP -MF $(DEPDIR)/xend_internal.Tpo -c -o xend_internal.obj `if test -f '@top_srcdir@/src/xend_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xend_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xend_internal.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/xend_internal.Tpo $(DEPDIR)/xend_internal.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/xend_internal.c' object='xend_internal.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xend_internal.obj `if test -f '@top_srcdir@/src/xend_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xend_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xend_internal.c'; fi` + + xen_internal.o: @top_srcdir@/src/xen_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xen_internal.o -MD -MP -MF $(DEPDIR)/xen_internal.Tpo -c -o xen_internal.o `test -f '@top_srcdir@/src/xen_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xen_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xen_internal.Tpo $(DEPDIR)/xen_internal.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xen_internal.o -MD -MP -MF $(DEPDIR)/xen_internal.Tpo -c -o xen_internal.o `test -f '@top_srcdir@/src/xen_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xen_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/xen_internal.Tpo $(DEPDIR)/xen_internal.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/xen_internal.c' object='xen_internal.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xen_internal.o `test -f '@top_srcdir@/src/xen_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xen_internal.c + + xen_internal.obj: @top_srcdir@/src/xen_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xen_internal.obj -MD -MP -MF $(DEPDIR)/xen_internal.Tpo -c -o xen_internal.obj `if test -f '@top_srcdir@/src/xen_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xen_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xen_internal.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xen_internal.Tpo $(DEPDIR)/xen_internal.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xen_internal.obj -MD -MP -MF $(DEPDIR)/xen_internal.Tpo -c -o xen_internal.obj `if test -f '@top_srcdir@/src/xen_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xen_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xen_internal.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/xen_internal.Tpo $(DEPDIR)/xen_internal.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/xen_internal.c' object='xen_internal.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xen_internal.obj `if test -f '@top_srcdir@/src/xen_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xen_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xen_internal.c'; fi` + + virterror.o: @top_srcdir@/src/virterror.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT virterror.o -MD -MP -MF $(DEPDIR)/virterror.Tpo -c -o virterror.o `test -f '@top_srcdir@/src/virterror.c' || echo '$(srcdir)/'`@top_srcdir@/src/virterror.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virterror.Tpo $(DEPDIR)/virterror.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT virterror.o -MD -MP -MF $(DEPDIR)/virterror.Tpo -c -o virterror.o `test -f '@top_srcdir@/src/virterror.c' || echo '$(srcdir)/'`@top_srcdir@/src/virterror.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/virterror.Tpo $(DEPDIR)/virterror.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/virterror.c' object='virterror.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o virterror.o `test -f '@top_srcdir@/src/virterror.c' || echo '$(srcdir)/'`@top_srcdir@/src/virterror.c + + virterror.obj: @top_srcdir@/src/virterror.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT virterror.obj -MD -MP -MF $(DEPDIR)/virterror.Tpo -c -o virterror.obj `if test -f '@top_srcdir@/src/virterror.c'; then $(CYGPATH_W) '@top_srcdir@/src/virterror.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/virterror.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virterror.Tpo $(DEPDIR)/virterror.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT virterror.obj -MD -MP -MF $(DEPDIR)/virterror.Tpo -c -o virterror.obj `if test -f '@top_srcdir@/src/virterror.c'; then $(CYGPATH_W) '@top_srcdir@/src/virterror.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/virterror.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/virterror.Tpo $(DEPDIR)/virterror.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/virterror.c' object='virterror.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o virterror.obj `if test -f '@top_srcdir@/src/virterror.c'; then $(CYGPATH_W) '@top_srcdir@/src/virterror.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/virterror.c'; fi` + + sexpr.o: @top_srcdir@/src/sexpr.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sexpr.o -MD -MP -MF $(DEPDIR)/sexpr.Tpo -c -o sexpr.o `test -f '@top_srcdir@/src/sexpr.c' || echo '$(srcdir)/'`@top_srcdir@/src/sexpr.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sexpr.Tpo $(DEPDIR)/sexpr.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sexpr.o -MD -MP -MF $(DEPDIR)/sexpr.Tpo -c -o sexpr.o `test -f '@top_srcdir@/src/sexpr.c' || echo '$(srcdir)/'`@top_srcdir@/src/sexpr.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sexpr.Tpo $(DEPDIR)/sexpr.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/sexpr.c' object='sexpr.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sexpr.o `test -f '@top_srcdir@/src/sexpr.c' || echo '$(srcdir)/'`@top_srcdir@/src/sexpr.c + + sexpr.obj: @top_srcdir@/src/sexpr.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sexpr.obj -MD -MP -MF $(DEPDIR)/sexpr.Tpo -c -o sexpr.obj `if test -f '@top_srcdir@/src/sexpr.c'; then $(CYGPATH_W) '@top_srcdir@/src/sexpr.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/sexpr.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sexpr.Tpo $(DEPDIR)/sexpr.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sexpr.obj -MD -MP -MF $(DEPDIR)/sexpr.Tpo -c -o sexpr.obj `if test -f '@top_srcdir@/src/sexpr.c'; then $(CYGPATH_W) '@top_srcdir@/src/sexpr.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/sexpr.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sexpr.Tpo $(DEPDIR)/sexpr.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/sexpr.c' object='sexpr.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sexpr.obj `if test -f '@top_srcdir@/src/sexpr.c'; then $(CYGPATH_W) '@top_srcdir@/src/sexpr.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/sexpr.c'; fi` + + threads.o: @top_srcdir@/src/threads.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threads.o -MD -MP -MF $(DEPDIR)/threads.Tpo -c -o threads.o `test -f '@top_srcdir@/src/threads.c' || echo '$(srcdir)/'`@top_srcdir@/src/threads.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/threads.Tpo $(DEPDIR)/threads.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threads.o -MD -MP -MF $(DEPDIR)/threads.Tpo -c -o threads.o `test -f '@top_srcdir@/src/threads.c' || echo '$(srcdir)/'`@top_srcdir@/src/threads.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/threads.Tpo $(DEPDIR)/threads.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/threads.c' object='threads.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threads.o `test -f '@top_srcdir@/src/threads.c' || echo '$(srcdir)/'`@top_srcdir@/src/threads.c + + threads.obj: @top_srcdir@/src/threads.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threads.obj -MD -MP -MF $(DEPDIR)/threads.Tpo -c -o threads.obj `if test -f '@top_srcdir@/src/threads.c'; then $(CYGPATH_W) '@top_srcdir@/src/threads.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/threads.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/threads.Tpo $(DEPDIR)/threads.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threads.obj -MD -MP -MF $(DEPDIR)/threads.Tpo -c -o threads.obj `if test -f '@top_srcdir@/src/threads.c'; then $(CYGPATH_W) '@top_srcdir@/src/threads.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/threads.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/threads.Tpo $(DEPDIR)/threads.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/threads.c' object='threads.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threads.obj `if test -f '@top_srcdir@/src/threads.c'; then $(CYGPATH_W) '@top_srcdir@/src/threads.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/threads.c'; fi` + + xs_internal.o: @top_srcdir@/src/xs_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xs_internal.o -MD -MP -MF $(DEPDIR)/xs_internal.Tpo -c -o xs_internal.o `test -f '@top_srcdir@/src/xs_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xs_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xs_internal.Tpo $(DEPDIR)/xs_internal.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xs_internal.o -MD -MP -MF $(DEPDIR)/xs_internal.Tpo -c -o xs_internal.o `test -f '@top_srcdir@/src/xs_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xs_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/xs_internal.Tpo $(DEPDIR)/xs_internal.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/xs_internal.c' object='xs_internal.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xs_internal.o `test -f '@top_srcdir@/src/xs_internal.c' || echo '$(srcdir)/'`@top_srcdir@/src/xs_internal.c + + xs_internal.obj: @top_srcdir@/src/xs_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xs_internal.obj -MD -MP -MF $(DEPDIR)/xs_internal.Tpo -c -o xs_internal.obj `if test -f '@top_srcdir@/src/xs_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xs_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xs_internal.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xs_internal.Tpo $(DEPDIR)/xs_internal.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xs_internal.obj -MD -MP -MF $(DEPDIR)/xs_internal.Tpo -c -o xs_internal.obj `if test -f '@top_srcdir@/src/xs_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xs_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xs_internal.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/xs_internal.Tpo $(DEPDIR)/xs_internal.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/xs_internal.c' object='xs_internal.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xs_internal.obj `if test -f '@top_srcdir@/src/xs_internal.c'; then $(CYGPATH_W) '@top_srcdir@/src/xs_internal.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/xs_internal.c'; fi` + + buf.o: @top_srcdir@/src/buf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT buf.o -MD -MP -MF $(DEPDIR)/buf.Tpo -c -o buf.o `test -f '@top_srcdir@/src/buf.c' || echo '$(srcdir)/'`@top_srcdir@/src/buf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/buf.Tpo $(DEPDIR)/buf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT buf.o -MD -MP -MF $(DEPDIR)/buf.Tpo -c -o buf.o `test -f '@top_srcdir@/src/buf.c' || echo '$(srcdir)/'`@top_srcdir@/src/buf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/buf.Tpo $(DEPDIR)/buf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/buf.c' object='buf.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o buf.o `test -f '@top_srcdir@/src/buf.c' || echo '$(srcdir)/'`@top_srcdir@/src/buf.c + + buf.obj: @top_srcdir@/src/buf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT buf.obj -MD -MP -MF $(DEPDIR)/buf.Tpo -c -o buf.obj `if test -f '@top_srcdir@/src/buf.c'; then $(CYGPATH_W) '@top_srcdir@/src/buf.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/buf.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/buf.Tpo $(DEPDIR)/buf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT buf.obj -MD -MP -MF $(DEPDIR)/buf.Tpo -c -o buf.obj `if test -f '@top_srcdir@/src/buf.c'; then $(CYGPATH_W) '@top_srcdir@/src/buf.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/buf.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/buf.Tpo $(DEPDIR)/buf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/buf.c' object='buf.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o buf.obj `if test -f '@top_srcdir@/src/buf.c'; then $(CYGPATH_W) '@top_srcdir@/src/buf.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/buf.c'; fi` + + capabilities.o: @top_srcdir@/src/capabilities.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT capabilities.o -MD -MP -MF $(DEPDIR)/capabilities.Tpo -c -o capabilities.o `test -f '@top_srcdir@/src/capabilities.c' || echo '$(srcdir)/'`@top_srcdir@/src/capabilities.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/capabilities.Tpo $(DEPDIR)/capabilities.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT capabilities.o -MD -MP -MF $(DEPDIR)/capabilities.Tpo -c -o capabilities.o `test -f '@top_srcdir@/src/capabilities.c' || echo '$(srcdir)/'`@top_srcdir@/src/capabilities.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/capabilities.Tpo $(DEPDIR)/capabilities.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/capabilities.c' object='capabilities.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o capabilities.o `test -f '@top_srcdir@/src/capabilities.c' || echo '$(srcdir)/'`@top_srcdir@/src/capabilities.c + + capabilities.obj: @top_srcdir@/src/capabilities.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT capabilities.obj -MD -MP -MF $(DEPDIR)/capabilities.Tpo -c -o capabilities.obj `if test -f '@top_srcdir@/src/capabilities.c'; then $(CYGPATH_W) '@top_srcdir@/src/capabilities.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/capabilities.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/capabilities.Tpo $(DEPDIR)/capabilities.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT capabilities.obj -MD -MP -MF $(DEPDIR)/capabilities.Tpo -c -o capabilities.obj `if test -f '@top_srcdir@/src/capabilities.c'; then $(CYGPATH_W) '@top_srcdir@/src/capabilities.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/capabilities.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/capabilities.Tpo $(DEPDIR)/capabilities.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/capabilities.c' object='capabilities.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o capabilities.obj `if test -f '@top_srcdir@/src/capabilities.c'; then $(CYGPATH_W) '@top_srcdir@/src/capabilities.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/capabilities.c'; fi` + + memory.o: @top_srcdir@/src/memory.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT memory.o -MD -MP -MF $(DEPDIR)/memory.Tpo -c -o memory.o `test -f '@top_srcdir@/src/memory.c' || echo '$(srcdir)/'`@top_srcdir@/src/memory.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/memory.Tpo $(DEPDIR)/memory.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT memory.o -MD -MP -MF $(DEPDIR)/memory.Tpo -c -o memory.o `test -f '@top_srcdir@/src/memory.c' || echo '$(srcdir)/'`@top_srcdir@/src/memory.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/memory.Tpo $(DEPDIR)/memory.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/memory.c' object='memory.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o memory.o `test -f '@top_srcdir@/src/memory.c' || echo '$(srcdir)/'`@top_srcdir@/src/memory.c + + memory.obj: @top_srcdir@/src/memory.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT memory.obj -MD -MP -MF $(DEPDIR)/memory.Tpo -c -o memory.obj `if test -f '@top_srcdir@/src/memory.c'; then $(CYGPATH_W) '@top_srcdir@/src/memory.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/memory.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/memory.Tpo $(DEPDIR)/memory.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT memory.obj -MD -MP -MF $(DEPDIR)/memory.Tpo -c -o memory.obj `if test -f '@top_srcdir@/src/memory.c'; then $(CYGPATH_W) '@top_srcdir@/src/memory.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/memory.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/memory.Tpo $(DEPDIR)/memory.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/memory.c' object='memory.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o memory.obj `if test -f '@top_srcdir@/src/memory.c'; then $(CYGPATH_W) '@top_srcdir@/src/memory.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/memory.c'; fi` + + domain_conf.o: @top_srcdir@/src/domain_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT domain_conf.o -MD -MP -MF $(DEPDIR)/domain_conf.Tpo -c -o domain_conf.o `test -f '@top_srcdir@/src/domain_conf.c' || echo '$(srcdir)/'`@top_srcdir@/src/domain_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/domain_conf.Tpo $(DEPDIR)/domain_conf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT domain_conf.o -MD -MP -MF $(DEPDIR)/domain_conf.Tpo -c -o domain_conf.o `test -f '@top_srcdir@/src/domain_conf.c' || echo '$(srcdir)/'`@top_srcdir@/src/domain_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/domain_conf.Tpo $(DEPDIR)/domain_conf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/domain_conf.c' object='domain_conf.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o domain_conf.o `test -f '@top_srcdir@/src/domain_conf.c' || echo '$(srcdir)/'`@top_srcdir@/src/domain_conf.c + + domain_conf.obj: @top_srcdir@/src/domain_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT domain_conf.obj -MD -MP -MF $(DEPDIR)/domain_conf.Tpo -c -o domain_conf.obj `if test -f '@top_srcdir@/src/domain_conf.c'; then $(CYGPATH_W) '@top_srcdir@/src/domain_conf.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/domain_conf.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/domain_conf.Tpo $(DEPDIR)/domain_conf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT domain_conf.obj -MD -MP -MF $(DEPDIR)/domain_conf.Tpo -c -o domain_conf.obj `if test -f '@top_srcdir@/src/domain_conf.c'; then $(CYGPATH_W) '@top_srcdir@/src/domain_conf.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/domain_conf.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/domain_conf.Tpo $(DEPDIR)/domain_conf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/domain_conf.c' object='domain_conf.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o domain_conf.obj `if test -f '@top_srcdir@/src/domain_conf.c'; then $(CYGPATH_W) '@top_srcdir@/src/domain_conf.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/domain_conf.c'; fi` + + util.o: @top_srcdir@/src/util.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT util.o -MD -MP -MF $(DEPDIR)/util.Tpo -c -o util.o `test -f '@top_srcdir@/src/util.c' || echo '$(srcdir)/'`@top_srcdir@/src/util.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/util.Tpo $(DEPDIR)/util.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT util.o -MD -MP -MF $(DEPDIR)/util.Tpo -c -o util.o `test -f '@top_srcdir@/src/util.c' || echo '$(srcdir)/'`@top_srcdir@/src/util.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/util.Tpo $(DEPDIR)/util.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/util.c' object='util.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o util.o `test -f '@top_srcdir@/src/util.c' || echo '$(srcdir)/'`@top_srcdir@/src/util.c + + util.obj: @top_srcdir@/src/util.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT util.obj -MD -MP -MF $(DEPDIR)/util.Tpo -c -o util.obj `if test -f '@top_srcdir@/src/util.c'; then $(CYGPATH_W) '@top_srcdir@/src/util.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/util.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/util.Tpo $(DEPDIR)/util.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT util.obj -MD -MP -MF $(DEPDIR)/util.Tpo -c -o util.obj `if test -f '@top_srcdir@/src/util.c'; then $(CYGPATH_W) '@top_srcdir@/src/util.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/util.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/util.Tpo $(DEPDIR)/util.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/util.c' object='util.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o util.obj `if test -f '@top_srcdir@/src/util.c'; then $(CYGPATH_W) '@top_srcdir@/src/util.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/util.c'; fi` + + event.o: @top_srcdir@/src/event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.o -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.o `test -f '@top_srcdir@/src/event.c' || echo '$(srcdir)/'`@top_srcdir@/src/event.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.o -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.o `test -f '@top_srcdir@/src/event.c' || echo '$(srcdir)/'`@top_srcdir@/src/event.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/event.c' object='event.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o event.o `test -f '@top_srcdir@/src/event.c' || echo '$(srcdir)/'`@top_srcdir@/src/event.c + + event.obj: @top_srcdir@/src/event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.obj -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.obj `if test -f '@top_srcdir@/src/event.c'; then $(CYGPATH_W) '@top_srcdir@/src/event.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/event.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.obj -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.obj `if test -f '@top_srcdir@/src/event.c'; then $(CYGPATH_W) '@top_srcdir@/src/event.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/event.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/event.c' object='event.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o event.obj `if test -f '@top_srcdir@/src/event.c'; then $(CYGPATH_W) '@top_srcdir@/src/event.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/event.c'; fi` + + uuid.o: @top_srcdir@/src/uuid.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT uuid.o -MD -MP -MF $(DEPDIR)/uuid.Tpo -c -o uuid.o `test -f '@top_srcdir@/src/uuid.c' || echo '$(srcdir)/'`@top_srcdir@/src/uuid.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/uuid.Tpo $(DEPDIR)/uuid.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT uuid.o -MD -MP -MF $(DEPDIR)/uuid.Tpo -c -o uuid.o `test -f '@top_srcdir@/src/uuid.c' || echo '$(srcdir)/'`@top_srcdir@/src/uuid.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/uuid.Tpo $(DEPDIR)/uuid.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/uuid.c' object='uuid.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o uuid.o `test -f '@top_srcdir@/src/uuid.c' || echo '$(srcdir)/'`@top_srcdir@/src/uuid.c + + uuid.obj: @top_srcdir@/src/uuid.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT uuid.obj -MD -MP -MF $(DEPDIR)/uuid.Tpo -c -o uuid.obj `if test -f '@top_srcdir@/src/uuid.c'; then $(CYGPATH_W) '@top_srcdir@/src/uuid.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/uuid.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/uuid.Tpo $(DEPDIR)/uuid.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT uuid.obj -MD -MP -MF $(DEPDIR)/uuid.Tpo -c -o uuid.obj `if test -f '@top_srcdir@/src/uuid.c'; then $(CYGPATH_W) '@top_srcdir@/src/uuid.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/uuid.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/uuid.Tpo $(DEPDIR)/uuid.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/uuid.c' object='uuid.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o uuid.obj `if test -f '@top_srcdir@/src/uuid.c'; then $(CYGPATH_W) '@top_srcdir@/src/uuid.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/uuid.c'; fi` + + logging.o: @top_srcdir@/src/logging.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT logging.o -MD -MP -MF $(DEPDIR)/logging.Tpo -c -o logging.o `test -f '@top_srcdir@/src/logging.c' || echo '$(srcdir)/'`@top_srcdir@/src/logging.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/logging.Tpo $(DEPDIR)/logging.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT logging.o -MD -MP -MF $(DEPDIR)/logging.Tpo -c -o logging.o `test -f '@top_srcdir@/src/logging.c' || echo '$(srcdir)/'`@top_srcdir@/src/logging.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/logging.Tpo $(DEPDIR)/logging.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/logging.c' object='logging.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o logging.o `test -f '@top_srcdir@/src/logging.c' || echo '$(srcdir)/'`@top_srcdir@/src/logging.c + + logging.obj: @top_srcdir@/src/logging.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT logging.obj -MD -MP -MF $(DEPDIR)/logging.Tpo -c -o logging.obj `if test -f '@top_srcdir@/src/logging.c'; then $(CYGPATH_W) '@top_srcdir@/src/logging.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/logging.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/logging.Tpo $(DEPDIR)/logging.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT logging.obj -MD -MP -MF $(DEPDIR)/logging.Tpo -c -o logging.obj `if test -f '@top_srcdir@/src/logging.c'; then $(CYGPATH_W) '@top_srcdir@/src/logging.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/logging.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/logging.Tpo $(DEPDIR)/logging.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@top_srcdir@/src/logging.c' object='logging.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o logging.obj `if test -f '@top_srcdir@/src/logging.c'; then $(CYGPATH_W) '@top_srcdir@/src/logging.c'; else $(CYGPATH_W) '$(srcdir)/@top_srcdir@/src/logging.c'; fi` +@@ -1197,7 +1133,7 @@ + + TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ +@@ -1205,34 +1141,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1253,17 +1184,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -1294,7 +1221,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1317,8 +1243,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -1327,29 +1251,20 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: install-libexecPROGRAMS + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook +-install-html: install-html-am + +-install-html-am: ++install-html: install-html-am + + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -1391,7 +1306,6 @@ + + @WITH_PROXY_TRUE@install-exec-hook: + @WITH_PROXY_TRUE@ chmod u+s $(DESTDIR)$(libexecdir)/libvirt_proxy +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/python/Makefile.in libvirt-0.7.0.new/python/Makefile.in +--- libvirt-0.7.0/python/Makefile.in 2009-08-05 08:57:39.000000000 -0500 ++++ libvirt-0.7.0.new/python/Makefile.in 2009-08-13 22:45:29.782006167 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -19,9 +18,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -127,29 +125,14 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +-am__install_max = 40 +-am__nobase_strip_setup = \ +- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +-am__nobase_strip = \ +- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +-am__nobase_list = $(am__nobase_strip_setup); \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ +- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ +- if (++n[$$2] == $(am__install_max)) \ +- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ +- END { for (dir in files) print dir, files[dir] }' +-am__base_list = \ +- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ +- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' ++am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; + am__installdirs = "$(DESTDIR)$(pythondir)" ++pythonLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(python_LTLIBRARIES) + @WITH_PYTHON_TRUE@libvirtmod_la_DEPENDENCIES = $(mylibs) + am__libvirtmod_la_SOURCES_DIST = libvir.c types.c libvirt-py.c \ +@@ -158,39 +141,22 @@ + @WITH_PYTHON_TRUE@ libvirtmod_la-types.lo \ + @WITH_PYTHON_TRUE@ libvirtmod_la-libvirt-py.lo + libvirtmod_la_OBJECTS = $(am_libvirtmod_la_OBJECTS) +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent +-libvirtmod_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ ++libvirtmod_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libvirtmod_la_CFLAGS) \ + $(CFLAGS) $(libvirtmod_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_PYTHON_TRUE@am_libvirtmod_la_rpath = -rpath $(pythondir) + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(libvirtmod_la_SOURCES) + DIST_SOURCES = $(am__libvirtmod_la_SOURCES_DIST) + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +@@ -202,43 +168,16 @@ + ps-recursive uninstall-recursive + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir + ETAGS = etags + CTAGS = ctags + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +-am__relativize = \ +- dir0=`pwd`; \ +- sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +- sed_rest='s,^[^/]*/*,,'; \ +- sed_last='s,^.*/\([^/]*\)$$,\1,'; \ +- sed_butlast='s,/*[^/]*$$,,'; \ +- while test -n "$$dir1"; do \ +- first=`echo "$$dir1" | sed -e "$$sed_first"`; \ +- if test "$$first" != "."; then \ +- if test "$$first" = ".."; then \ +- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ +- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ +- else \ +- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ +- if test "$$first2" = "$$first"; then \ +- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ +- else \ +- dir2="../$$dir2"; \ +- fi; \ +- dir0="$$dir0"/"$$first"; \ +- fi; \ +- fi; \ +- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ +- done; \ +- reldir="$$dir2" + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -657,6 +596,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -911,9 +851,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu python/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu python/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu python/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu python/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -931,28 +871,23 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + install-pythonLTLIBRARIES: $(python_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(pythondir)" || $(MKDIR_P) "$(DESTDIR)$(pythondir)" +- @list='$(python_LTLIBRARIES)'; test -n "$(pythondir)" || list=; \ +- list2=; for p in $$list; do \ ++ @list='$(python_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ +- list2="$$list2 $$p"; \ ++ f=$(am__strip_dir) \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pythonLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pythondir)/$$f'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pythonLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pythondir)/$$f"; \ + else :; fi; \ +- done; \ +- test -z "$$list2" || { \ +- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pythondir)'"; \ +- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pythondir)"; \ +- } ++ done + + uninstall-pythonLTLIBRARIES: + @$(NORMAL_UNINSTALL) +- @list='$(python_LTLIBRARIES)'; test -n "$(pythondir)" || list=; \ +- for p in $$list; do \ +- $(am__strip_dir) \ +- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pythondir)/$$f'"; \ +- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pythondir)/$$f"; \ ++ @list='$(python_LTLIBRARIES)'; for p in $$list; do \ ++ p=$(am__strip_dir) \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pythondir)/$$p'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pythondir)/$$p"; \ + done + + clean-pythonLTLIBRARIES: +@@ -964,7 +899,7 @@ + rm -f "$${dir}/so_locations"; \ + done + libvirtmod.la: $(libvirtmod_la_OBJECTS) $(libvirtmod_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirtmod_la_LINK) $(am_libvirtmod_la_rpath) $(libvirtmod_la_OBJECTS) $(libvirtmod_la_LIBADD) $(LIBS) ++ $(libvirtmod_la_LINK) $(am_libvirtmod_la_rpath) $(libvirtmod_la_OBJECTS) $(libvirtmod_la_LIBADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -977,52 +912,46 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirtmod_la-types.Plo@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + + libvirtmod_la-libvir.lo: libvir.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -MT libvirtmod_la-libvir.lo -MD -MP -MF $(DEPDIR)/libvirtmod_la-libvir.Tpo -c -o libvirtmod_la-libvir.lo `test -f 'libvir.c' || echo '$(srcdir)/'`libvir.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtmod_la-libvir.Tpo $(DEPDIR)/libvirtmod_la-libvir.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -MT libvirtmod_la-libvir.lo -MD -MP -MF $(DEPDIR)/libvirtmod_la-libvir.Tpo -c -o libvirtmod_la-libvir.lo `test -f 'libvir.c' || echo '$(srcdir)/'`libvir.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtmod_la-libvir.Tpo $(DEPDIR)/libvirtmod_la-libvir.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libvir.c' object='libvirtmod_la-libvir.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -c -o libvirtmod_la-libvir.lo `test -f 'libvir.c' || echo '$(srcdir)/'`libvir.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -c -o libvirtmod_la-libvir.lo `test -f 'libvir.c' || echo '$(srcdir)/'`libvir.c + + libvirtmod_la-types.lo: types.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -MT libvirtmod_la-types.lo -MD -MP -MF $(DEPDIR)/libvirtmod_la-types.Tpo -c -o libvirtmod_la-types.lo `test -f 'types.c' || echo '$(srcdir)/'`types.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtmod_la-types.Tpo $(DEPDIR)/libvirtmod_la-types.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -MT libvirtmod_la-types.lo -MD -MP -MF $(DEPDIR)/libvirtmod_la-types.Tpo -c -o libvirtmod_la-types.lo `test -f 'types.c' || echo '$(srcdir)/'`types.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtmod_la-types.Tpo $(DEPDIR)/libvirtmod_la-types.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='types.c' object='libvirtmod_la-types.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -c -o libvirtmod_la-types.lo `test -f 'types.c' || echo '$(srcdir)/'`types.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -c -o libvirtmod_la-types.lo `test -f 'types.c' || echo '$(srcdir)/'`types.c + + libvirtmod_la-libvirt-py.lo: libvirt-py.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -MT libvirtmod_la-libvirt-py.lo -MD -MP -MF $(DEPDIR)/libvirtmod_la-libvirt-py.Tpo -c -o libvirtmod_la-libvirt-py.lo `test -f 'libvirt-py.c' || echo '$(srcdir)/'`libvirt-py.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtmod_la-libvirt-py.Tpo $(DEPDIR)/libvirtmod_la-libvirt-py.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -MT libvirtmod_la-libvirt-py.lo -MD -MP -MF $(DEPDIR)/libvirtmod_la-libvirt-py.Tpo -c -o libvirtmod_la-libvirt-py.lo `test -f 'libvirt-py.c' || echo '$(srcdir)/'`libvirt-py.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtmod_la-libvirt-py.Tpo $(DEPDIR)/libvirtmod_la-libvirt-py.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libvirt-py.c' object='libvirtmod_la-libvirt-py.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -c -o libvirtmod_la-libvirt-py.lo `test -f 'libvirt-py.c' || echo '$(srcdir)/'`libvirt-py.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtmod_la_CFLAGS) $(CFLAGS) -c -o libvirtmod_la-libvirt-py.lo `test -f 'libvirt-py.c' || echo '$(srcdir)/'`libvirt-py.c + + mostlyclean-libtool: + -rm -f *.lo +@@ -1054,7 +983,7 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ +@@ -1088,16 +1017,16 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" + tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -1112,7 +1041,7 @@ + + TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ +@@ -1124,7 +1053,7 @@ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ +- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ ++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -1133,34 +1062,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1181,44 +1105,29 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ ++ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ +- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ +- $(am__relativize); \ +- new_distdir=$$reldir; \ +- dir1=$$subdir; dir2="$(top_distdir)"; \ +- $(am__relativize); \ +- new_top_distdir=$$reldir; \ +- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ +- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ +- ($(am__cd) $$subdir && \ ++ distdir=`$(am__cd) $(distdir) && pwd`; \ ++ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ ++ (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ +- top_distdir="$$new_top_distdir" \ +- distdir="$$new_distdir" \ ++ top_distdir="$$top_distdir" \ ++ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ +- am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ +@@ -1253,7 +1162,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1277,8 +1185,6 @@ + + html: html-recursive + +-html-am: +- + info: info-recursive + + info-am: +@@ -1287,28 +1193,18 @@ + + install-dvi: install-dvi-recursive + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-recursive + +-install-html-am: +- + install-info: install-info-recursive + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-recursive + +-install-pdf-am: +- + install-ps: install-ps-recursive + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-recursive +@@ -1331,8 +1227,8 @@ + + uninstall-am: uninstall-local uninstall-pythonLTLIBRARIES + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ +- install-am install-strip tags-recursive ++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ ++ install-strip + + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am all-local check check-am clean clean-generic \ +@@ -1382,7 +1278,6 @@ + + tests test: all dummy + -@(cd tests && $(MAKE) MAKEFLAGS+=--silent tests) +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/python/tests/Makefile.in libvirt-0.7.0.new/python/tests/Makefile.in +--- libvirt-0.7.0/python/tests/Makefile.in 2009-08-05 08:57:39.000000000 -0500 ++++ libvirt-0.7.0.new/python/tests/Makefile.in 2009-08-13 22:45:29.994005724 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -138,7 +129,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -557,6 +549,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -776,9 +769,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu python/tests/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu python/tests/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu python/tests/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu python/tests/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -796,7 +789,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -826,17 +818,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -864,7 +852,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -881,8 +868,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -891,28 +876,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -970,7 +945,6 @@ + + uninstall-local: + for test in $(PYTESTS); do rm -f $(DESTDIR)$(EXAMPLE_DIR)/$$test; done +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/qemud/Makefile.in libvirt-0.7.0.new/qemud/Makefile.in +--- libvirt-0.7.0/qemud/Makefile.in 2009-08-05 08:57:39.000000000 -0500 ++++ libvirt-0.7.0.new/qemud/Makefile.in 2009-08-13 22:45:30.310006311 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -18,9 +17,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -142,9 +140,9 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(augeasdir)" \ + "$(DESTDIR)$(augeastestsdir)" "$(DESTDIR)$(confdir)" ++sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + PROGRAMS = $(sbin_PROGRAMS) + am__libvirtd_SOURCES_DIST = event.c event.h qemud.c qemud.h remote.c \ + remote.h dispatch.c dispatch.h remote_dispatch_prototypes.h \ +@@ -173,38 +171,21 @@ + @WITH_LIBVIRTD_TRUE@ ../src/libvirt.la $(am__DEPENDENCIES_2) \ + @WITH_LIBVIRTD_TRUE@ ../gnulib/lib/libgnu.la \ + @WITH_LIBVIRTD_TRUE@ $(am__DEPENDENCIES_1) +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent +-libvirtd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libvirtd_CFLAGS) \ +- $(CFLAGS) $(libvirtd_LDFLAGS) $(LDFLAGS) -o $@ ++libvirtd_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(libvirtd_CFLAGS) $(CFLAGS) \ ++ $(libvirtd_LDFLAGS) $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(libvirtd_SOURCES) + DIST_SOURCES = $(am__libvirtd_SOURCES_DIST) + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +@@ -212,22 +193,10 @@ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +-am__install_max = 40 +-am__nobase_strip_setup = \ +- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +-am__nobase_strip = \ +- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +-am__nobase_list = $(am__nobase_strip_setup); \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ +- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ +- if (++n[$$2] == $(am__install_max)) \ +- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ +- END { for (dir in files) print dir, files[dir] }' +-am__base_list = \ +- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ +- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' ++am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; ++augeasDATA_INSTALL = $(INSTALL_DATA) ++augeastestsDATA_INSTALL = $(INSTALL_DATA) ++confDATA_INSTALL = $(INSTALL_DATA) + DATA = $(augeas_DATA) $(augeastests_DATA) $(conf_DATA) + ETAGS = etags + CTAGS = ctags +@@ -236,7 +205,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -655,6 +625,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -944,9 +915,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu qemud/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu qemud/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu qemud/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu qemud/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -964,53 +935,37 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" +- @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed 's/$(EXEEXT)$$//' | \ +- while read p p1; do if test -f $$p || test -f $$p1; \ +- then echo "$$p"; echo "$$p"; else :; fi; \ +- done | \ +- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ +- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ +- sed 'N;N;N;s,\n, ,g' | \ +- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ +- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ +- if ($$2 == $$4) files[d] = files[d] " " $$1; \ +- else { print "f", $$3 "/" $$4, $$1; } } \ +- END { for (d in files) print "f", d, files[d] }' | \ +- while read type dir files; do \ +- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ +- test -z "$$files" || { \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ +- } \ +- ; done ++ @list='$(sbin_PROGRAMS)'; for p in $$list; do \ ++ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ if test -f $$p \ ++ || test -f $$p1 \ ++ ; then \ ++ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \ ++ else :; fi; \ ++ done + + uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) +- @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ +- files=`for p in $$list; do echo "$$p"; done | \ +- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ +- -e 's/$$/$(EXEEXT)/' `; \ +- test -n "$$list" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(sbindir)" && rm -f $$files ++ @list='$(sbin_PROGRAMS)'; for p in $$list; do \ ++ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ ++ echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(sbindir)/$$f"; \ ++ done + + clean-sbinPROGRAMS: +- @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(sbin_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + libvirtd$(EXEEXT): $(libvirtd_OBJECTS) $(libvirtd_DEPENDENCIES) + @rm -f libvirtd$(EXEEXT) +- $(AM_V_CCLD)$(libvirtd_LINK) $(libvirtd_OBJECTS) $(libvirtd_LDADD) $(LIBS) ++ $(libvirtd_LINK) $(libvirtd_OBJECTS) $(libvirtd_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -1026,121 +981,106 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirtd-remote_protocol.Po@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + + libvirtd-event.o: event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-event.o -MD -MP -MF $(DEPDIR)/libvirtd-event.Tpo -c -o libvirtd-event.o `test -f 'event.c' || echo '$(srcdir)/'`event.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-event.Tpo $(DEPDIR)/libvirtd-event.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-event.o -MD -MP -MF $(DEPDIR)/libvirtd-event.Tpo -c -o libvirtd-event.o `test -f 'event.c' || echo '$(srcdir)/'`event.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-event.Tpo $(DEPDIR)/libvirtd-event.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event.c' object='libvirtd-event.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-event.o `test -f 'event.c' || echo '$(srcdir)/'`event.c + + libvirtd-event.obj: event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-event.obj -MD -MP -MF $(DEPDIR)/libvirtd-event.Tpo -c -o libvirtd-event.obj `if test -f 'event.c'; then $(CYGPATH_W) 'event.c'; else $(CYGPATH_W) '$(srcdir)/event.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-event.Tpo $(DEPDIR)/libvirtd-event.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-event.obj -MD -MP -MF $(DEPDIR)/libvirtd-event.Tpo -c -o libvirtd-event.obj `if test -f 'event.c'; then $(CYGPATH_W) 'event.c'; else $(CYGPATH_W) '$(srcdir)/event.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-event.Tpo $(DEPDIR)/libvirtd-event.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event.c' object='libvirtd-event.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-event.obj `if test -f 'event.c'; then $(CYGPATH_W) 'event.c'; else $(CYGPATH_W) '$(srcdir)/event.c'; fi` + + libvirtd-qemud.o: qemud.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-qemud.o -MD -MP -MF $(DEPDIR)/libvirtd-qemud.Tpo -c -o libvirtd-qemud.o `test -f 'qemud.c' || echo '$(srcdir)/'`qemud.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-qemud.Tpo $(DEPDIR)/libvirtd-qemud.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-qemud.o -MD -MP -MF $(DEPDIR)/libvirtd-qemud.Tpo -c -o libvirtd-qemud.o `test -f 'qemud.c' || echo '$(srcdir)/'`qemud.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-qemud.Tpo $(DEPDIR)/libvirtd-qemud.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='qemud.c' object='libvirtd-qemud.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-qemud.o `test -f 'qemud.c' || echo '$(srcdir)/'`qemud.c + + libvirtd-qemud.obj: qemud.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-qemud.obj -MD -MP -MF $(DEPDIR)/libvirtd-qemud.Tpo -c -o libvirtd-qemud.obj `if test -f 'qemud.c'; then $(CYGPATH_W) 'qemud.c'; else $(CYGPATH_W) '$(srcdir)/qemud.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-qemud.Tpo $(DEPDIR)/libvirtd-qemud.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-qemud.obj -MD -MP -MF $(DEPDIR)/libvirtd-qemud.Tpo -c -o libvirtd-qemud.obj `if test -f 'qemud.c'; then $(CYGPATH_W) 'qemud.c'; else $(CYGPATH_W) '$(srcdir)/qemud.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-qemud.Tpo $(DEPDIR)/libvirtd-qemud.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='qemud.c' object='libvirtd-qemud.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-qemud.obj `if test -f 'qemud.c'; then $(CYGPATH_W) 'qemud.c'; else $(CYGPATH_W) '$(srcdir)/qemud.c'; fi` + + libvirtd-remote.o: remote.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-remote.o -MD -MP -MF $(DEPDIR)/libvirtd-remote.Tpo -c -o libvirtd-remote.o `test -f 'remote.c' || echo '$(srcdir)/'`remote.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-remote.Tpo $(DEPDIR)/libvirtd-remote.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-remote.o -MD -MP -MF $(DEPDIR)/libvirtd-remote.Tpo -c -o libvirtd-remote.o `test -f 'remote.c' || echo '$(srcdir)/'`remote.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-remote.Tpo $(DEPDIR)/libvirtd-remote.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='remote.c' object='libvirtd-remote.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-remote.o `test -f 'remote.c' || echo '$(srcdir)/'`remote.c + + libvirtd-remote.obj: remote.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-remote.obj -MD -MP -MF $(DEPDIR)/libvirtd-remote.Tpo -c -o libvirtd-remote.obj `if test -f 'remote.c'; then $(CYGPATH_W) 'remote.c'; else $(CYGPATH_W) '$(srcdir)/remote.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-remote.Tpo $(DEPDIR)/libvirtd-remote.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-remote.obj -MD -MP -MF $(DEPDIR)/libvirtd-remote.Tpo -c -o libvirtd-remote.obj `if test -f 'remote.c'; then $(CYGPATH_W) 'remote.c'; else $(CYGPATH_W) '$(srcdir)/remote.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-remote.Tpo $(DEPDIR)/libvirtd-remote.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='remote.c' object='libvirtd-remote.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-remote.obj `if test -f 'remote.c'; then $(CYGPATH_W) 'remote.c'; else $(CYGPATH_W) '$(srcdir)/remote.c'; fi` + + libvirtd-dispatch.o: dispatch.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-dispatch.o -MD -MP -MF $(DEPDIR)/libvirtd-dispatch.Tpo -c -o libvirtd-dispatch.o `test -f 'dispatch.c' || echo '$(srcdir)/'`dispatch.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-dispatch.Tpo $(DEPDIR)/libvirtd-dispatch.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-dispatch.o -MD -MP -MF $(DEPDIR)/libvirtd-dispatch.Tpo -c -o libvirtd-dispatch.o `test -f 'dispatch.c' || echo '$(srcdir)/'`dispatch.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-dispatch.Tpo $(DEPDIR)/libvirtd-dispatch.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dispatch.c' object='libvirtd-dispatch.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-dispatch.o `test -f 'dispatch.c' || echo '$(srcdir)/'`dispatch.c + + libvirtd-dispatch.obj: dispatch.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-dispatch.obj -MD -MP -MF $(DEPDIR)/libvirtd-dispatch.Tpo -c -o libvirtd-dispatch.obj `if test -f 'dispatch.c'; then $(CYGPATH_W) 'dispatch.c'; else $(CYGPATH_W) '$(srcdir)/dispatch.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-dispatch.Tpo $(DEPDIR)/libvirtd-dispatch.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-dispatch.obj -MD -MP -MF $(DEPDIR)/libvirtd-dispatch.Tpo -c -o libvirtd-dispatch.obj `if test -f 'dispatch.c'; then $(CYGPATH_W) 'dispatch.c'; else $(CYGPATH_W) '$(srcdir)/dispatch.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-dispatch.Tpo $(DEPDIR)/libvirtd-dispatch.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dispatch.c' object='libvirtd-dispatch.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-dispatch.obj `if test -f 'dispatch.c'; then $(CYGPATH_W) 'dispatch.c'; else $(CYGPATH_W) '$(srcdir)/dispatch.c'; fi` + + libvirtd-remote_protocol.o: remote_protocol.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-remote_protocol.o -MD -MP -MF $(DEPDIR)/libvirtd-remote_protocol.Tpo -c -o libvirtd-remote_protocol.o `test -f 'remote_protocol.c' || echo '$(srcdir)/'`remote_protocol.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-remote_protocol.Tpo $(DEPDIR)/libvirtd-remote_protocol.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-remote_protocol.o -MD -MP -MF $(DEPDIR)/libvirtd-remote_protocol.Tpo -c -o libvirtd-remote_protocol.o `test -f 'remote_protocol.c' || echo '$(srcdir)/'`remote_protocol.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-remote_protocol.Tpo $(DEPDIR)/libvirtd-remote_protocol.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='remote_protocol.c' object='libvirtd-remote_protocol.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-remote_protocol.o `test -f 'remote_protocol.c' || echo '$(srcdir)/'`remote_protocol.c + + libvirtd-remote_protocol.obj: remote_protocol.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-remote_protocol.obj -MD -MP -MF $(DEPDIR)/libvirtd-remote_protocol.Tpo -c -o libvirtd-remote_protocol.obj `if test -f 'remote_protocol.c'; then $(CYGPATH_W) 'remote_protocol.c'; else $(CYGPATH_W) '$(srcdir)/remote_protocol.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-remote_protocol.Tpo $(DEPDIR)/libvirtd-remote_protocol.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-remote_protocol.obj -MD -MP -MF $(DEPDIR)/libvirtd-remote_protocol.Tpo -c -o libvirtd-remote_protocol.obj `if test -f 'remote_protocol.c'; then $(CYGPATH_W) 'remote_protocol.c'; else $(CYGPATH_W) '$(srcdir)/remote_protocol.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-remote_protocol.Tpo $(DEPDIR)/libvirtd-remote_protocol.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='remote_protocol.c' object='libvirtd-remote_protocol.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-remote_protocol.obj `if test -f 'remote_protocol.c'; then $(CYGPATH_W) 'remote_protocol.c'; else $(CYGPATH_W) '$(srcdir)/remote_protocol.c'; fi` + + libvirtd-mdns.o: mdns.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-mdns.o -MD -MP -MF $(DEPDIR)/libvirtd-mdns.Tpo -c -o libvirtd-mdns.o `test -f 'mdns.c' || echo '$(srcdir)/'`mdns.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-mdns.Tpo $(DEPDIR)/libvirtd-mdns.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-mdns.o -MD -MP -MF $(DEPDIR)/libvirtd-mdns.Tpo -c -o libvirtd-mdns.o `test -f 'mdns.c' || echo '$(srcdir)/'`mdns.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-mdns.Tpo $(DEPDIR)/libvirtd-mdns.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mdns.c' object='libvirtd-mdns.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-mdns.o `test -f 'mdns.c' || echo '$(srcdir)/'`mdns.c + + libvirtd-mdns.obj: mdns.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-mdns.obj -MD -MP -MF $(DEPDIR)/libvirtd-mdns.Tpo -c -o libvirtd-mdns.obj `if test -f 'mdns.c'; then $(CYGPATH_W) 'mdns.c'; else $(CYGPATH_W) '$(srcdir)/mdns.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirtd-mdns.Tpo $(DEPDIR)/libvirtd-mdns.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -MT libvirtd-mdns.obj -MD -MP -MF $(DEPDIR)/libvirtd-mdns.Tpo -c -o libvirtd-mdns.obj `if test -f 'mdns.c'; then $(CYGPATH_W) 'mdns.c'; else $(CYGPATH_W) '$(srcdir)/mdns.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirtd-mdns.Tpo $(DEPDIR)/libvirtd-mdns.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mdns.c' object='libvirtd-mdns.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirtd_CFLAGS) $(CFLAGS) -c -o libvirtd-mdns.obj `if test -f 'mdns.c'; then $(CYGPATH_W) 'mdns.c'; else $(CYGPATH_W) '$(srcdir)/mdns.c'; fi` +@@ -1153,63 +1093,54 @@ + install-augeasDATA: $(augeas_DATA) + @$(NORMAL_INSTALL) + test -z "$(augeasdir)" || $(MKDIR_P) "$(DESTDIR)$(augeasdir)" +- @list='$(augeas_DATA)'; test -n "$(augeasdir)" || list=; \ +- for p in $$list; do \ ++ @list='$(augeas_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(augeasdir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(augeasdir)" || exit $$?; \ ++ f=$(am__strip_dir) \ ++ echo " $(augeasDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(augeasdir)/$$f'"; \ ++ $(augeasDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(augeasdir)/$$f"; \ + done + + uninstall-augeasDATA: + @$(NORMAL_UNINSTALL) +- @list='$(augeas_DATA)'; test -n "$(augeasdir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- test -n "$$files" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(augeasdir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(augeasdir)" && rm -f $$files ++ @list='$(augeas_DATA)'; for p in $$list; do \ ++ f=$(am__strip_dir) \ ++ echo " rm -f '$(DESTDIR)$(augeasdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(augeasdir)/$$f"; \ ++ done + install-augeastestsDATA: $(augeastests_DATA) + @$(NORMAL_INSTALL) + test -z "$(augeastestsdir)" || $(MKDIR_P) "$(DESTDIR)$(augeastestsdir)" +- @list='$(augeastests_DATA)'; test -n "$(augeastestsdir)" || list=; \ +- for p in $$list; do \ ++ @list='$(augeastests_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(augeastestsdir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(augeastestsdir)" || exit $$?; \ ++ f=$(am__strip_dir) \ ++ echo " $(augeastestsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(augeastestsdir)/$$f'"; \ ++ $(augeastestsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(augeastestsdir)/$$f"; \ + done + + uninstall-augeastestsDATA: + @$(NORMAL_UNINSTALL) +- @list='$(augeastests_DATA)'; test -n "$(augeastestsdir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- test -n "$$files" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(augeastestsdir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(augeastestsdir)" && rm -f $$files ++ @list='$(augeastests_DATA)'; for p in $$list; do \ ++ f=$(am__strip_dir) \ ++ echo " rm -f '$(DESTDIR)$(augeastestsdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(augeastestsdir)/$$f"; \ ++ done + install-confDATA: $(conf_DATA) + @$(NORMAL_INSTALL) + test -z "$(confdir)" || $(MKDIR_P) "$(DESTDIR)$(confdir)" +- @list='$(conf_DATA)'; test -n "$(confdir)" || list=; \ +- for p in $$list; do \ ++ @list='$(conf_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confdir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(confdir)" || exit $$?; \ ++ f=$(am__strip_dir) \ ++ echo " $(confDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(confdir)/$$f'"; \ ++ $(confDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(confdir)/$$f"; \ + done + + uninstall-confDATA: + @$(NORMAL_UNINSTALL) +- @list='$(conf_DATA)'; test -n "$(confdir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- test -n "$$files" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(confdir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(confdir)" && rm -f $$files ++ @list='$(conf_DATA)'; for p in $$list; do \ ++ f=$(am__strip_dir) \ ++ echo " rm -f '$(DESTDIR)$(confdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(confdir)/$$f"; \ ++ done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -1223,7 +1154,7 @@ + + TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ +@@ -1231,34 +1162,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1279,17 +1205,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -1326,7 +1248,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + + maintainer-clean-generic: +@@ -1352,8 +1273,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -1363,28 +1282,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: install-sbinPROGRAMS + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -1408,7 +1317,7 @@ + uninstall-am: uninstall-augeasDATA uninstall-augeastestsDATA \ + uninstall-confDATA uninstall-local uninstall-sbinPROGRAMS + +-.MAKE: all check check-am install install-am install-strip ++.MAKE: install-am install-strip + + .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \ + clean-generic clean-libtool clean-sbinPROGRAMS ctags distclean \ +@@ -1553,7 +1462,6 @@ + @LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE@@WITH_LIBVIRTD_TRUE@install-init: + @LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE@@WITH_LIBVIRTD_TRUE@uninstall-init: + @LIBVIRT_INIT_SCRIPTS_RED_HAT_FALSE@@WITH_LIBVIRTD_TRUE@libvirtd.init: +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/src/Makefile.in libvirt-0.7.0.new/src/Makefile.in +--- libvirt-0.7.0/src/Makefile.in 2009-08-05 08:57:40.000000000 -0500 ++++ libvirt-0.7.0.new/src/Makefile.in 2009-08-13 22:45:31.286008488 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -19,9 +18,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -99,6 +97,7 @@ + @HAVE_DEVKIT_TRUE@@WITH_NODE_DEVICES_TRUE@am__append_57 = $(DEVKIT_LIBS) + @WITH_DRIVER_MODULES_TRUE@@WITH_NODE_DEVICES_TRUE@am__append_58 = -module -avoid-version + @WITH_SECDRIVER_SELINUX_TRUE@am__append_59 = $(SECURITY_DRIVER_SELINUX_SOURCES) ++@WITH_SECDRIVER_APPARMOR_TRUE@am__append_60 = $(SECURITY_DRIVER_APPARMOR_SOURCES) + + # + # Build our version script. This is composed of three parts: +@@ -118,14 +117,15 @@ + # except that build options (such as --enable-debug) can mean these + # symbols aren't present at all. + # +-@WITH_DRIVER_MODULES_TRUE@am__append_60 = libvirt_driver_modules.syms +-@WITH_BRIDGE_TRUE@am__append_61 = libvirt_bridge.syms +-@WITH_LINUX_TRUE@am__append_62 = libvirt_linux.syms +-bin_PROGRAMS = virsh$(EXEEXT) +-@WITH_WIN_ICON_TRUE@am__append_63 = virsh_win_icon.$(OBJEXT) +-libexec_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) +-@WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@am__append_64 = libvirt_parthelper +-@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@am__append_65 = libvirt_lxc ++@WITH_DRIVER_MODULES_TRUE@am__append_61 = libvirt_driver_modules.syms ++@WITH_BRIDGE_TRUE@am__append_62 = libvirt_bridge.syms ++@WITH_LINUX_TRUE@am__append_63 = libvirt_linux.syms ++bin_PROGRAMS = virsh$(EXEEXT) $(am__EXEEXT_1) ++@WITH_SECDRIVER_APPARMOR_TRUE@am__append_64 = virt-aa-helper ++@WITH_WIN_ICON_TRUE@am__append_65 = virsh_win_icon.$(OBJEXT) ++libexec_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) ++@WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@am__append_66 = libvirt_parthelper ++@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@am__append_67 = libvirt_lxc + subdir = src + DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +@@ -217,39 +217,22 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +-am__install_max = 40 +-am__nobase_strip_setup = \ +- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +-am__nobase_strip = \ +- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +-am__nobase_list = $(am__nobase_strip_setup); \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ +- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ +- if (++n[$$2] == $(am__install_max)) \ +- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ +- END { for (dir in files) print dir, files[dir] }' +-am__base_list = \ +- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ +- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' ++am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; + am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(moddir)" \ + "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \ + "$(DESTDIR)$(confdir)" ++libLTLIBRARIES_INSTALL = $(INSTALL) ++modLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(lib_LTLIBRARIES) $(mod_LTLIBRARIES) \ + $(noinst_LTLIBRARIES) + am_libvirt_la_OBJECTS = + libvirt_la_OBJECTS = $(am_libvirt_la_OBJECTS) +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent +-libvirt_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ ++libvirt_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libvirt_la_CFLAGS) \ + $(CFLAGS) $(libvirt_la_LDFLAGS) $(LDFLAGS) -o $@ + libvirt_driver_la_LIBADD = +@@ -267,8 +250,8 @@ + $(am__objects_3) $(am__objects_4) $(am__objects_5) \ + $(am__objects_6) + libvirt_driver_la_OBJECTS = $(am_libvirt_driver_la_OBJECTS) +-libvirt_driver_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_driver_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_la_LDFLAGS) $(LDFLAGS) -o $@ + libvirt_driver_esx_la_LIBADD = +@@ -285,8 +268,8 @@ + libvirt_driver_esx_la-esx_vmx.lo + @WITH_ESX_TRUE@am_libvirt_driver_esx_la_OBJECTS = $(am__objects_7) + libvirt_driver_esx_la_OBJECTS = $(am_libvirt_driver_esx_la_OBJECTS) +-libvirt_driver_esx_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_driver_esx_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_esx_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_ESX_TRUE@am_libvirt_driver_esx_la_rpath = +@@ -300,7 +283,7 @@ + @WITH_NETCF_TRUE@ $(am__objects_8) + libvirt_driver_interface_la_OBJECTS = \ + $(am_libvirt_driver_interface_la_OBJECTS) +-libvirt_driver_interface_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ ++libvirt_driver_interface_la_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_interface_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_interface_la_LDFLAGS) $(LDFLAGS) -o $@ +@@ -315,10 +298,9 @@ + cgroup.lo + @WITH_LXC_TRUE@am_libvirt_driver_lxc_la_OBJECTS = $(am__objects_9) + libvirt_driver_lxc_la_OBJECTS = $(am_libvirt_driver_lxc_la_OBJECTS) +-libvirt_driver_lxc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(AM_CFLAGS) $(CFLAGS) $(libvirt_driver_lxc_la_LDFLAGS) \ +- $(LDFLAGS) -o $@ ++libvirt_driver_lxc_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ ++ $(libvirt_driver_lxc_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_LXC_TRUE@am_libvirt_driver_lxc_la_rpath = + @WITH_DRIVER_MODULES_TRUE@@WITH_LXC_TRUE@am_libvirt_driver_lxc_la_rpath = \ + @WITH_DRIVER_MODULES_TRUE@@WITH_LXC_TRUE@ -rpath $(moddir) +@@ -330,7 +312,7 @@ + @WITH_NETWORK_TRUE@ $(am__objects_10) + libvirt_driver_network_la_OBJECTS = \ + $(am_libvirt_driver_network_la_OBJECTS) +-libvirt_driver_network_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ ++libvirt_driver_network_la_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libvirt_driver_network_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +@@ -354,7 +336,7 @@ + @WITH_NODE_DEVICES_TRUE@ $(am__objects_15) + libvirt_driver_nodedev_la_OBJECTS = \ + $(am_libvirt_driver_nodedev_la_OBJECTS) +-libvirt_driver_nodedev_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ ++libvirt_driver_nodedev_la_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_nodedev_la_LDFLAGS) $(LDFLAGS) -o $@ +@@ -372,8 +354,8 @@ + libvirt_driver_one_la-one_client.lo + @WITH_ONE_TRUE@am_libvirt_driver_one_la_OBJECTS = $(am__objects_16) + libvirt_driver_one_la_OBJECTS = $(am_libvirt_driver_one_la_OBJECTS) +-libvirt_driver_one_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_driver_one_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_one_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_ONE_TRUE@am_libvirt_driver_one_la_rpath = +@@ -387,10 +369,9 @@ + @WITH_OPENVZ_TRUE@ $(am__objects_17) + libvirt_driver_openvz_la_OBJECTS = \ + $(am_libvirt_driver_openvz_la_OBJECTS) +-libvirt_driver_openvz_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(AM_CFLAGS) $(CFLAGS) $(libvirt_driver_openvz_la_LDFLAGS) \ +- $(LDFLAGS) -o $@ ++libvirt_driver_openvz_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ ++ $(libvirt_driver_openvz_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_OPENVZ_TRUE@am_libvirt_driver_openvz_la_rpath = + @WITH_DRIVER_MODULES_TRUE@@WITH_OPENVZ_TRUE@am_libvirt_driver_openvz_la_rpath = \ + @WITH_DRIVER_MODULES_TRUE@@WITH_OPENVZ_TRUE@ -rpath $(moddir) +@@ -400,8 +381,8 @@ + am__objects_18 = libvirt_driver_phyp_la-phyp_driver.lo + @WITH_PHYP_TRUE@am_libvirt_driver_phyp_la_OBJECTS = $(am__objects_18) + libvirt_driver_phyp_la_OBJECTS = $(am_libvirt_driver_phyp_la_OBJECTS) +-libvirt_driver_phyp_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_driver_phyp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_phyp_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_phyp_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_PHYP_TRUE@am_libvirt_driver_phyp_la_rpath = +@@ -415,8 +396,8 @@ + libvirt_driver_qemu_la-cgroup.lo + @WITH_QEMU_TRUE@am_libvirt_driver_qemu_la_OBJECTS = $(am__objects_19) + libvirt_driver_qemu_la_OBJECTS = $(am_libvirt_driver_qemu_la_OBJECTS) +-libvirt_driver_qemu_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_driver_qemu_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_qemu_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_QEMU_TRUE@am_libvirt_driver_qemu_la_rpath = +@@ -432,8 +413,8 @@ + @WITH_REMOTE_TRUE@ $(am__objects_20) + libvirt_driver_remote_la_OBJECTS = \ + $(am_libvirt_driver_remote_la_OBJECTS) +-libvirt_driver_remote_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_driver_remote_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_remote_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_REMOTE_TRUE@am_libvirt_driver_remote_la_rpath = +@@ -441,12 +422,15 @@ + @WITH_DRIVER_MODULES_TRUE@@WITH_REMOTE_TRUE@ -rpath $(moddir) + libvirt_driver_security_la_LIBADD = + am__libvirt_driver_security_la_SOURCES_DIST = security.h security.c \ +- security_selinux.h security_selinux.c ++ security_selinux.h security_selinux.c security_apparmor.h \ ++ security_apparmor.c + am__objects_21 = security.lo + am__objects_22 = security_selinux.lo + @WITH_SECDRIVER_SELINUX_TRUE@am__objects_23 = $(am__objects_22) ++am__objects_24 = security_apparmor.lo ++@WITH_SECDRIVER_APPARMOR_TRUE@am__objects_25 = $(am__objects_24) + am_libvirt_driver_security_la_OBJECTS = $(am__objects_21) \ +- $(am__objects_23) ++ $(am__objects_23) $(am__objects_25) + libvirt_driver_security_la_OBJECTS = \ + $(am_libvirt_driver_security_la_OBJECTS) + libvirt_driver_storage_la_LIBADD = +@@ -457,24 +441,24 @@ + storage_backend_iscsi.h storage_backend_iscsi.c \ + storage_backend_scsi.h storage_backend_scsi.c \ + storage_backend_disk.h storage_backend_disk.c +-am__objects_24 = storage_driver.lo storage_backend.lo +-am__objects_25 = storage_backend_fs.lo +-@WITH_STORAGE_DIR_TRUE@am__objects_26 = $(am__objects_24) \ +-@WITH_STORAGE_DIR_TRUE@ $(am__objects_25) +-am__objects_27 = storage_backend_logical.lo +-@WITH_STORAGE_LVM_TRUE@am__objects_28 = $(am__objects_27) +-am__objects_29 = storage_backend_iscsi.lo +-@WITH_STORAGE_ISCSI_TRUE@am__objects_30 = $(am__objects_29) +-am__objects_31 = storage_backend_scsi.lo +-@WITH_STORAGE_SCSI_TRUE@am__objects_32 = $(am__objects_31) +-am__objects_33 = storage_backend_disk.lo +-@WITH_STORAGE_DISK_TRUE@am__objects_34 = $(am__objects_33) +-am_libvirt_driver_storage_la_OBJECTS = $(am__objects_26) \ +- $(am__objects_28) $(am__objects_30) $(am__objects_32) \ +- $(am__objects_34) ++am__objects_26 = storage_driver.lo storage_backend.lo ++am__objects_27 = storage_backend_fs.lo ++@WITH_STORAGE_DIR_TRUE@am__objects_28 = $(am__objects_26) \ ++@WITH_STORAGE_DIR_TRUE@ $(am__objects_27) ++am__objects_29 = storage_backend_logical.lo ++@WITH_STORAGE_LVM_TRUE@am__objects_30 = $(am__objects_29) ++am__objects_31 = storage_backend_iscsi.lo ++@WITH_STORAGE_ISCSI_TRUE@am__objects_32 = $(am__objects_31) ++am__objects_33 = storage_backend_scsi.lo ++@WITH_STORAGE_SCSI_TRUE@am__objects_34 = $(am__objects_33) ++am__objects_35 = storage_backend_disk.lo ++@WITH_STORAGE_DISK_TRUE@am__objects_36 = $(am__objects_35) ++am_libvirt_driver_storage_la_OBJECTS = $(am__objects_28) \ ++ $(am__objects_30) $(am__objects_32) $(am__objects_34) \ ++ $(am__objects_36) + libvirt_driver_storage_la_OBJECTS = \ + $(am_libvirt_driver_storage_la_OBJECTS) +-libvirt_driver_storage_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ ++libvirt_driver_storage_la_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libvirt_driver_storage_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +@@ -484,25 +468,24 @@ + @WITH_DRIVER_MODULES_TRUE@@WITH_STORAGE_DIR_TRUE@ $(moddir) + libvirt_driver_test_la_LIBADD = + am__libvirt_driver_test_la_SOURCES_DIST = test.c test.h +-am__objects_35 = test.lo +-@WITH_TEST_TRUE@am_libvirt_driver_test_la_OBJECTS = $(am__objects_35) ++am__objects_37 = test.lo ++@WITH_TEST_TRUE@am_libvirt_driver_test_la_OBJECTS = $(am__objects_37) + libvirt_driver_test_la_OBJECTS = $(am_libvirt_driver_test_la_OBJECTS) +-libvirt_driver_test_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(AM_CFLAGS) $(CFLAGS) $(libvirt_driver_test_la_LDFLAGS) \ +- $(LDFLAGS) -o $@ ++libvirt_driver_test_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ ++ $(libvirt_driver_test_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_TEST_TRUE@am_libvirt_driver_test_la_rpath = + @WITH_DRIVER_MODULES_TRUE@@WITH_TEST_TRUE@am_libvirt_driver_test_la_rpath = \ + @WITH_DRIVER_MODULES_TRUE@@WITH_TEST_TRUE@ -rpath $(moddir) + libvirt_driver_uml_la_LIBADD = + am__libvirt_driver_uml_la_SOURCES_DIST = uml_conf.c uml_conf.h \ + uml_driver.c uml_driver.h +-am__objects_36 = libvirt_driver_uml_la-uml_conf.lo \ ++am__objects_38 = libvirt_driver_uml_la-uml_conf.lo \ + libvirt_driver_uml_la-uml_driver.lo +-@WITH_UML_TRUE@am_libvirt_driver_uml_la_OBJECTS = $(am__objects_36) ++@WITH_UML_TRUE@am_libvirt_driver_uml_la_OBJECTS = $(am__objects_38) + libvirt_driver_uml_la_OBJECTS = $(am_libvirt_driver_uml_la_OBJECTS) +-libvirt_driver_uml_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_driver_uml_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_uml_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_UML_TRUE@am_libvirt_driver_uml_la_rpath = +@@ -513,14 +496,13 @@ + vbox/vbox_XPCOMCGlue.h vbox/vbox_driver.c vbox/vbox_driver.h \ + vbox/vbox_V2_2.c vbox/vbox_CAPI_v2_2.h vbox/vbox_V3_0.c \ + vbox/vbox_CAPI_v3_0.h +-am__objects_37 = vbox_XPCOMCGlue.lo vbox_driver.lo vbox_V2_2.lo \ ++am__objects_39 = vbox_XPCOMCGlue.lo vbox_driver.lo vbox_V2_2.lo \ + vbox_V3_0.lo +-@WITH_VBOX_TRUE@am_libvirt_driver_vbox_la_OBJECTS = $(am__objects_37) ++@WITH_VBOX_TRUE@am_libvirt_driver_vbox_la_OBJECTS = $(am__objects_39) + libvirt_driver_vbox_la_OBJECTS = $(am_libvirt_driver_vbox_la_OBJECTS) +-libvirt_driver_vbox_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(AM_CFLAGS) $(CFLAGS) $(libvirt_driver_vbox_la_LDFLAGS) \ +- $(LDFLAGS) -o $@ ++libvirt_driver_vbox_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ ++ $(libvirt_driver_vbox_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_VBOX_TRUE@am_libvirt_driver_vbox_la_rpath = + @WITH_DRIVER_MODULES_TRUE@@WITH_VBOX_TRUE@am_libvirt_driver_vbox_la_rpath = \ + @WITH_DRIVER_MODULES_TRUE@@WITH_VBOX_TRUE@ -rpath $(moddir) +@@ -530,19 +512,19 @@ + xen_unified.c xen_unified.h xend_internal.c xend_internal.h \ + xm_internal.c xm_internal.h xs_internal.c xs_internal.h \ + xen_inotify.c xen_inotify.h +-@WITH_XEN_INOTIFY_TRUE@am__objects_38 = \ ++@WITH_XEN_INOTIFY_TRUE@am__objects_40 = \ + @WITH_XEN_INOTIFY_TRUE@ libvirt_driver_xen_la-xen_inotify.lo +-am__objects_39 = libvirt_driver_xen_la-proxy_internal.lo \ ++am__objects_41 = libvirt_driver_xen_la-proxy_internal.lo \ + libvirt_driver_xen_la-sexpr.lo \ + libvirt_driver_xen_la-xen_internal.lo \ + libvirt_driver_xen_la-xen_unified.lo \ + libvirt_driver_xen_la-xend_internal.lo \ + libvirt_driver_xen_la-xm_internal.lo \ +- libvirt_driver_xen_la-xs_internal.lo $(am__objects_38) +-@WITH_XEN_TRUE@am_libvirt_driver_xen_la_OBJECTS = $(am__objects_39) ++ libvirt_driver_xen_la-xs_internal.lo $(am__objects_40) ++@WITH_XEN_TRUE@am_libvirt_driver_xen_la_OBJECTS = $(am__objects_41) + libvirt_driver_xen_la_OBJECTS = $(am_libvirt_driver_xen_la_OBJECTS) +-libvirt_driver_xen_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_driver_xen_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) \ + $(libvirt_driver_xen_la_LDFLAGS) $(LDFLAGS) -o $@ + @WITH_DRIVER_MODULES_FALSE@@WITH_XEN_TRUE@am_libvirt_driver_xen_la_rpath = +@@ -554,15 +536,14 @@ + $(am__append_41) libvirt_driver_security.la \ + ../gnulib/lib/libgnu.la + libvirt_test_la_DEPENDENCIES = $(am__DEPENDENCIES_1) +-am__objects_40 = +-am_libvirt_test_la_OBJECTS = $(am__objects_40) ++am__objects_42 = ++am_libvirt_test_la_OBJECTS = $(am__objects_42) + libvirt_test_la_OBJECTS = $(am_libvirt_test_la_OBJECTS) +-libvirt_test_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(libvirt_test_la_CFLAGS) $(CFLAGS) $(libvirt_test_la_LDFLAGS) \ +- $(LDFLAGS) -o $@ ++libvirt_test_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libvirt_test_la_CFLAGS) \ ++ $(CFLAGS) $(libvirt_test_la_LDFLAGS) $(LDFLAGS) -o $@ + libvirt_util_la_LIBADD = +-am__objects_41 = libvirt_util_la-bridge.lo libvirt_util_la-buf.lo \ ++am__objects_43 = libvirt_util_la-bridge.lo libvirt_util_la-buf.lo \ + libvirt_util_la-conf.lo libvirt_util_la-event.lo \ + libvirt_util_la-hash.lo libvirt_util_la-iptables.lo \ + libvirt_util_la-logging.lo libvirt_util_la-memory.lo \ +@@ -570,15 +551,17 @@ + libvirt_util_la-threads.lo libvirt_util_la-uuid.lo \ + libvirt_util_la-util.lo libvirt_util_la-virterror.lo \ + libvirt_util_la-xml.lo +-am_libvirt_util_la_OBJECTS = $(am__objects_41) ++am_libvirt_util_la_OBJECTS = $(am__objects_43) + libvirt_util_la_OBJECTS = $(am_libvirt_util_la_OBJECTS) +-libvirt_util_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(libvirt_util_la_CFLAGS) $(CFLAGS) $(libvirt_util_la_LDFLAGS) \ +- $(LDFLAGS) -o $@ +-@WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@am__EXEEXT_1 = libvirt_parthelper$(EXEEXT) +-@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@am__EXEEXT_2 = \ ++libvirt_util_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libvirt_util_la_CFLAGS) \ ++ $(CFLAGS) $(libvirt_util_la_LDFLAGS) $(LDFLAGS) -o $@ ++@WITH_SECDRIVER_APPARMOR_TRUE@am__EXEEXT_1 = virt-aa-helper$(EXEEXT) ++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) ++@WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@am__EXEEXT_2 = libvirt_parthelper$(EXEEXT) ++@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@am__EXEEXT_3 = \ + @WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ libvirt_lxc$(EXEEXT) ++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) + am__libvirt_lxc_SOURCES_DIST = lxc_conf.c lxc_conf.h lxc_container.c \ + lxc_container.h lxc_controller.c veth.c veth.h cgroup.c \ +@@ -589,11 +572,11 @@ + uuid.h util.c util.h virterror.c virterror_internal.h xml.c \ + xml.h capabilities.c capabilities.h domain_conf.c \ + domain_conf.h nodeinfo.h nodeinfo.c +-am__objects_42 = libvirt_lxc-lxc_conf.$(OBJEXT) \ ++am__objects_44 = libvirt_lxc-lxc_conf.$(OBJEXT) \ + libvirt_lxc-lxc_container.$(OBJEXT) \ + libvirt_lxc-lxc_controller.$(OBJEXT) \ + libvirt_lxc-veth.$(OBJEXT) libvirt_lxc-cgroup.$(OBJEXT) +-am__objects_43 = libvirt_lxc-bridge.$(OBJEXT) \ ++am__objects_45 = libvirt_lxc-bridge.$(OBJEXT) \ + libvirt_lxc-buf.$(OBJEXT) libvirt_lxc-conf.$(OBJEXT) \ + libvirt_lxc-event.$(OBJEXT) libvirt_lxc-hash.$(OBJEXT) \ + libvirt_lxc-iptables.$(OBJEXT) libvirt_lxc-logging.$(OBJEXT) \ +@@ -601,66 +584,63 @@ + libvirt_lxc-qparams.$(OBJEXT) libvirt_lxc-threads.$(OBJEXT) \ + libvirt_lxc-uuid.$(OBJEXT) libvirt_lxc-util.$(OBJEXT) \ + libvirt_lxc-virterror.$(OBJEXT) libvirt_lxc-xml.$(OBJEXT) +-am__objects_44 = libvirt_lxc-capabilities.$(OBJEXT) \ ++am__objects_46 = libvirt_lxc-capabilities.$(OBJEXT) \ + libvirt_lxc-domain_conf.$(OBJEXT) \ + libvirt_lxc-nodeinfo.$(OBJEXT) + @WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@am_libvirt_lxc_OBJECTS = \ +-@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ $(am__objects_42) \ +-@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ $(am__objects_43) \ +-@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ $(am__objects_44) ++@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ $(am__objects_44) \ ++@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ $(am__objects_45) \ ++@WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ $(am__objects_46) + libvirt_lxc_OBJECTS = $(am_libvirt_lxc_OBJECTS) + am__DEPENDENCIES_2 = + @WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@libvirt_lxc_DEPENDENCIES = \ + @WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ $(am__DEPENDENCIES_2) \ + @WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ $(am__DEPENDENCIES_2) \ + @WITH_LIBVIRTD_TRUE@@WITH_LXC_TRUE@ ../gnulib/lib/libgnu.la +-libvirt_lxc_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ ++libvirt_lxc_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libvirt_lxc_CFLAGS) \ + $(CFLAGS) $(libvirt_lxc_LDFLAGS) $(LDFLAGS) -o $@ + am__libvirt_parthelper_SOURCES_DIST = parthelper.c +-am__objects_45 = libvirt_parthelper-parthelper.$(OBJEXT) ++am__objects_47 = libvirt_parthelper-parthelper.$(OBJEXT) + @WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@am_libvirt_parthelper_OBJECTS = \ +-@WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@ $(am__objects_45) ++@WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@ $(am__objects_47) + libvirt_parthelper_OBJECTS = $(am_libvirt_parthelper_OBJECTS) + @WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@libvirt_parthelper_DEPENDENCIES = $(am__DEPENDENCIES_2) +-libvirt_parthelper_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++libvirt_parthelper_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvirt_parthelper_CFLAGS) $(CFLAGS) \ + $(libvirt_parthelper_LDFLAGS) $(LDFLAGS) -o $@ + am_virsh_OBJECTS = virsh-console.$(OBJEXT) virsh-virsh.$(OBJEXT) + virsh_OBJECTS = $(am_virsh_OBJECTS) + virsh_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_2) libvirt.la ../gnulib/lib/libgnu.la \ +- $(am__DEPENDENCIES_2) $(am__append_63) +-virsh_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(virsh_CFLAGS) $(CFLAGS) \ +- $(virsh_LDFLAGS) $(LDFLAGS) -o $@ ++ $(am__DEPENDENCIES_2) $(am__append_65) ++virsh_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(virsh_CFLAGS) $(CFLAGS) $(virsh_LDFLAGS) \ ++ $(LDFLAGS) -o $@ ++am__virt_aa_helper_SOURCES_DIST = virt-aa-helper.c ++@WITH_SECDRIVER_APPARMOR_TRUE@am_virt_aa_helper_OBJECTS = virt_aa_helper-virt-aa-helper.$(OBJEXT) ++virt_aa_helper_OBJECTS = $(am_virt_aa_helper_OBJECTS) ++@WITH_SECDRIVER_APPARMOR_TRUE@virt_aa_helper_DEPENDENCIES = \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ $(am__DEPENDENCIES_2) \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ $(am__DEPENDENCIES_2) libvirt.la \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ ../gnulib/lib/libgnu.la \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ $(am__DEPENDENCIES_2) ++virt_aa_helper_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(virt_aa_helper_CFLAGS) \ ++ $(CFLAGS) $(virt_aa_helper_LDFLAGS) $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(libvirt_la_SOURCES) $(libvirt_driver_la_SOURCES) \ + $(libvirt_driver_esx_la_SOURCES) \ + $(libvirt_driver_interface_la_SOURCES) \ +@@ -679,7 +659,8 @@ + $(libvirt_driver_vbox_la_SOURCES) \ + $(libvirt_driver_xen_la_SOURCES) $(libvirt_test_la_SOURCES) \ + $(libvirt_util_la_SOURCES) $(libvirt_lxc_SOURCES) \ +- $(libvirt_parthelper_SOURCES) $(virsh_SOURCES) ++ $(libvirt_parthelper_SOURCES) $(virsh_SOURCES) \ ++ $(virt_aa_helper_SOURCES) + DIST_SOURCES = $(libvirt_la_SOURCES) $(libvirt_driver_la_SOURCES) \ + $(am__libvirt_driver_esx_la_SOURCES_DIST) \ + $(am__libvirt_driver_interface_la_SOURCES_DIST) \ +@@ -699,7 +680,9 @@ + $(am__libvirt_driver_xen_la_SOURCES_DIST) \ + $(libvirt_test_la_SOURCES) $(libvirt_util_la_SOURCES) \ + $(am__libvirt_lxc_SOURCES_DIST) \ +- $(am__libvirt_parthelper_SOURCES_DIST) $(virsh_SOURCES) ++ $(am__libvirt_parthelper_SOURCES_DIST) $(virsh_SOURCES) \ ++ $(am__virt_aa_helper_SOURCES_DIST) ++confDATA_INSTALL = $(INSTALL_DATA) + DATA = $(conf_DATA) + ETAGS = etags + CTAGS = ctags +@@ -708,7 +691,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -1127,6 +1111,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -1334,6 +1319,7 @@ + $(LIBSSH_CFLAGS) \ + $(XEN_CFLAGS) \ + $(SELINUX_CFLAGS) \ ++ $(APPARMOR_CFLAGS) \ + $(DRIVER_MODULE_CFLAGS) \ + -DLIBDIR=\""$(libdir)"\" \ + -DBINDIR=\""$(libexecdir)"\" \ +@@ -1552,6 +1538,9 @@ + SECURITY_DRIVER_SELINUX_SOURCES = \ + security_selinux.h security_selinux.c + ++SECURITY_DRIVER_APPARMOR_SOURCES = \ ++ security_apparmor.h security_apparmor.c ++ + NODE_DEVICE_DRIVER_SOURCES = \ + node_device.c node_device.h + +@@ -1600,8 +1589,8 @@ + + libvirt_driver_la_CFLAGS = $(XEN_CFLAGS) $(NUMACTL_CFLAGS) + libvirt_driver_la_LDFLAGS = $(XEN_LIBS) $(NUMACTL_LIBS) +-USED_SYM_FILES = libvirt_private.syms $(am__append_60) \ +- $(am__append_61) $(am__append_62) ++USED_SYM_FILES = libvirt_private.syms $(am__append_61) \ ++ $(am__append_62) $(am__append_63) + @WITH_DRIVER_MODULES_TRUE@@WITH_TEST_TRUE@libvirt_driver_test_la_LDFLAGS = -module -avoid-version + @WITH_TEST_TRUE@libvirt_driver_test_la_SOURCES = $(TEST_DRIVER_SOURCES) + @WITH_REMOTE_TRUE@libvirt_driver_remote_la_CFLAGS = \ +@@ -1674,14 +1663,14 @@ + @WITH_NODE_DEVICES_TRUE@ $(am__append_54) $(am__append_57) \ + @WITH_NODE_DEVICES_TRUE@ $(am__append_58) + libvirt_driver_security_la_SOURCES = $(SECURITY_DRIVER_SOURCES) \ +- $(am__append_59) ++ $(am__append_59) $(am__append_60) + + # Empty source list - it merely links a bunch of convenience libs together + libvirt_la_SOURCES = + libvirt_la_LDFLAGS = $(VERSION_SCRIPT_FLAGS)libvirt.syms \ + -version-info @LIBVIRT_VERSION_INFO@ \ + $(COVERAGE_CFLAGS:-f%=-Wc,-f%) \ +- $(LIBXML_LIBS) $(SELINUX_LIBS) \ ++ $(LIBXML_LIBS) $(SELINUX_LIBS) $(APPARMOR_LIBS) \ + $(XEN_LIBS) $(DRIVER_MODULE_LIBS) \ + @CYGWIN_EXTRA_LDFLAGS@ @MINGW_EXTRA_LDFLAGS@ + +@@ -1707,8 +1696,20 @@ + virsh_LDFLAGS = $(WARN_CFLAGS) $(COVERAGE_LDFLAGS) + virsh_LDADD = $(STATIC_BINARIES) $(WARN_CFLAGS) $(NUMACTL_LIBS) \ + libvirt.la ../gnulib/lib/libgnu.la $(VIRSH_LIBS) \ +- $(am__append_63) ++ $(am__append_65) + virsh_CFLAGS = $(COVERAGE_CFLAGS) $(READLINE_CFLAGS) $(NUMACTL_CFLAGS) ++@WITH_SECDRIVER_APPARMOR_TRUE@virt_aa_helper_SOURCES = \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ virt-aa-helper.c ++ ++@WITH_SECDRIVER_APPARMOR_TRUE@virt_aa_helper_LDFLAGS = $(WARN_CFLAGS) $(COVERAGE_LDFLAGS) ++@WITH_SECDRIVER_APPARMOR_TRUE@virt_aa_helper_LDADD = \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ $(STATIC_BINARIES) \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ $(WARN_CFLAGS) \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ libvirt.la \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ ../gnulib/lib/libgnu.la \ ++@WITH_SECDRIVER_APPARMOR_TRUE@ $(VIRSH_LIBS) ++ ++@WITH_SECDRIVER_APPARMOR_TRUE@virt_aa_helper_CFLAGS = $(COVERAGE_CFLAGS) + BUILT_SOURCES = virsh-net-edit.c virsh-pool-edit.c libvirt.syms + @WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@libvirt_parthelper_SOURCES = $(STORAGE_HELPER_DISK_SOURCES) + @WITH_LIBVIRTD_TRUE@@WITH_STORAGE_DISK_TRUE@libvirt_parthelper_LDFLAGS = $(WARN_CFLAGS) $(COVERAGE_LDCFLAGS) +@@ -1738,9 +1739,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu src/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu src/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -1758,28 +1759,23 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" +- @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ +- list2=; for p in $$list; do \ ++ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ +- list2="$$list2 $$p"; \ ++ f=$(am__strip_dir) \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ +- done; \ +- test -z "$$list2" || { \ +- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ +- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ +- } ++ done + + uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) +- @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ +- for p in $$list; do \ +- $(am__strip_dir) \ +- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ ++ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ ++ p=$(am__strip_dir) \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + + clean-libLTLIBRARIES: +@@ -1793,24 +1789,20 @@ + install-modLTLIBRARIES: $(mod_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(moddir)" || $(MKDIR_P) "$(DESTDIR)$(moddir)" +- @list='$(mod_LTLIBRARIES)'; test -n "$(moddir)" || list=; \ +- list2=; for p in $$list; do \ ++ @list='$(mod_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ +- list2="$$list2 $$p"; \ ++ f=$(am__strip_dir) \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(modLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(moddir)/$$f'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(modLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(moddir)/$$f"; \ + else :; fi; \ +- done; \ +- test -z "$$list2" || { \ +- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(moddir)'"; \ +- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(moddir)"; \ +- } ++ done + + uninstall-modLTLIBRARIES: + @$(NORMAL_UNINSTALL) +- @list='$(mod_LTLIBRARIES)'; test -n "$(moddir)" || list=; \ +- for p in $$list; do \ +- $(am__strip_dir) \ +- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(moddir)/$$f'"; \ +- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(moddir)/$$f"; \ ++ @list='$(mod_LTLIBRARIES)'; for p in $$list; do \ ++ p=$(am__strip_dir) \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(moddir)/$$p'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(moddir)/$$p"; \ + done + + clean-modLTLIBRARIES: +@@ -1831,140 +1823,113 @@ + rm -f "$${dir}/so_locations"; \ + done + libvirt.la: $(libvirt_la_OBJECTS) $(libvirt_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_la_LINK) -rpath $(libdir) $(libvirt_la_OBJECTS) $(libvirt_la_LIBADD) $(LIBS) ++ $(libvirt_la_LINK) -rpath $(libdir) $(libvirt_la_OBJECTS) $(libvirt_la_LIBADD) $(LIBS) + libvirt_driver.la: $(libvirt_driver_la_OBJECTS) $(libvirt_driver_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_la_LINK) $(libvirt_driver_la_OBJECTS) $(libvirt_driver_la_LIBADD) $(LIBS) ++ $(libvirt_driver_la_LINK) $(libvirt_driver_la_OBJECTS) $(libvirt_driver_la_LIBADD) $(LIBS) + libvirt_driver_esx.la: $(libvirt_driver_esx_la_OBJECTS) $(libvirt_driver_esx_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_esx_la_LINK) $(am_libvirt_driver_esx_la_rpath) $(libvirt_driver_esx_la_OBJECTS) $(libvirt_driver_esx_la_LIBADD) $(LIBS) ++ $(libvirt_driver_esx_la_LINK) $(am_libvirt_driver_esx_la_rpath) $(libvirt_driver_esx_la_OBJECTS) $(libvirt_driver_esx_la_LIBADD) $(LIBS) + libvirt_driver_interface.la: $(libvirt_driver_interface_la_OBJECTS) $(libvirt_driver_interface_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_interface_la_LINK) $(am_libvirt_driver_interface_la_rpath) $(libvirt_driver_interface_la_OBJECTS) $(libvirt_driver_interface_la_LIBADD) $(LIBS) ++ $(libvirt_driver_interface_la_LINK) $(am_libvirt_driver_interface_la_rpath) $(libvirt_driver_interface_la_OBJECTS) $(libvirt_driver_interface_la_LIBADD) $(LIBS) + libvirt_driver_lxc.la: $(libvirt_driver_lxc_la_OBJECTS) $(libvirt_driver_lxc_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_lxc_la_LINK) $(am_libvirt_driver_lxc_la_rpath) $(libvirt_driver_lxc_la_OBJECTS) $(libvirt_driver_lxc_la_LIBADD) $(LIBS) ++ $(libvirt_driver_lxc_la_LINK) $(am_libvirt_driver_lxc_la_rpath) $(libvirt_driver_lxc_la_OBJECTS) $(libvirt_driver_lxc_la_LIBADD) $(LIBS) + libvirt_driver_network.la: $(libvirt_driver_network_la_OBJECTS) $(libvirt_driver_network_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_network_la_LINK) $(am_libvirt_driver_network_la_rpath) $(libvirt_driver_network_la_OBJECTS) $(libvirt_driver_network_la_LIBADD) $(LIBS) ++ $(libvirt_driver_network_la_LINK) $(am_libvirt_driver_network_la_rpath) $(libvirt_driver_network_la_OBJECTS) $(libvirt_driver_network_la_LIBADD) $(LIBS) + libvirt_driver_nodedev.la: $(libvirt_driver_nodedev_la_OBJECTS) $(libvirt_driver_nodedev_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_nodedev_la_LINK) $(am_libvirt_driver_nodedev_la_rpath) $(libvirt_driver_nodedev_la_OBJECTS) $(libvirt_driver_nodedev_la_LIBADD) $(LIBS) ++ $(libvirt_driver_nodedev_la_LINK) $(am_libvirt_driver_nodedev_la_rpath) $(libvirt_driver_nodedev_la_OBJECTS) $(libvirt_driver_nodedev_la_LIBADD) $(LIBS) + libvirt_driver_one.la: $(libvirt_driver_one_la_OBJECTS) $(libvirt_driver_one_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_one_la_LINK) $(am_libvirt_driver_one_la_rpath) $(libvirt_driver_one_la_OBJECTS) $(libvirt_driver_one_la_LIBADD) $(LIBS) ++ $(libvirt_driver_one_la_LINK) $(am_libvirt_driver_one_la_rpath) $(libvirt_driver_one_la_OBJECTS) $(libvirt_driver_one_la_LIBADD) $(LIBS) + libvirt_driver_openvz.la: $(libvirt_driver_openvz_la_OBJECTS) $(libvirt_driver_openvz_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_openvz_la_LINK) $(am_libvirt_driver_openvz_la_rpath) $(libvirt_driver_openvz_la_OBJECTS) $(libvirt_driver_openvz_la_LIBADD) $(LIBS) ++ $(libvirt_driver_openvz_la_LINK) $(am_libvirt_driver_openvz_la_rpath) $(libvirt_driver_openvz_la_OBJECTS) $(libvirt_driver_openvz_la_LIBADD) $(LIBS) + libvirt_driver_phyp.la: $(libvirt_driver_phyp_la_OBJECTS) $(libvirt_driver_phyp_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_phyp_la_LINK) $(am_libvirt_driver_phyp_la_rpath) $(libvirt_driver_phyp_la_OBJECTS) $(libvirt_driver_phyp_la_LIBADD) $(LIBS) ++ $(libvirt_driver_phyp_la_LINK) $(am_libvirt_driver_phyp_la_rpath) $(libvirt_driver_phyp_la_OBJECTS) $(libvirt_driver_phyp_la_LIBADD) $(LIBS) + libvirt_driver_qemu.la: $(libvirt_driver_qemu_la_OBJECTS) $(libvirt_driver_qemu_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_qemu_la_LINK) $(am_libvirt_driver_qemu_la_rpath) $(libvirt_driver_qemu_la_OBJECTS) $(libvirt_driver_qemu_la_LIBADD) $(LIBS) ++ $(libvirt_driver_qemu_la_LINK) $(am_libvirt_driver_qemu_la_rpath) $(libvirt_driver_qemu_la_OBJECTS) $(libvirt_driver_qemu_la_LIBADD) $(LIBS) + libvirt_driver_remote.la: $(libvirt_driver_remote_la_OBJECTS) $(libvirt_driver_remote_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_remote_la_LINK) $(am_libvirt_driver_remote_la_rpath) $(libvirt_driver_remote_la_OBJECTS) $(libvirt_driver_remote_la_LIBADD) $(LIBS) ++ $(libvirt_driver_remote_la_LINK) $(am_libvirt_driver_remote_la_rpath) $(libvirt_driver_remote_la_OBJECTS) $(libvirt_driver_remote_la_LIBADD) $(LIBS) + libvirt_driver_security.la: $(libvirt_driver_security_la_OBJECTS) $(libvirt_driver_security_la_DEPENDENCIES) +- $(AM_V_CCLD)$(LINK) $(libvirt_driver_security_la_OBJECTS) $(libvirt_driver_security_la_LIBADD) $(LIBS) ++ $(LINK) $(libvirt_driver_security_la_OBJECTS) $(libvirt_driver_security_la_LIBADD) $(LIBS) + libvirt_driver_storage.la: $(libvirt_driver_storage_la_OBJECTS) $(libvirt_driver_storage_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_storage_la_LINK) $(am_libvirt_driver_storage_la_rpath) $(libvirt_driver_storage_la_OBJECTS) $(libvirt_driver_storage_la_LIBADD) $(LIBS) ++ $(libvirt_driver_storage_la_LINK) $(am_libvirt_driver_storage_la_rpath) $(libvirt_driver_storage_la_OBJECTS) $(libvirt_driver_storage_la_LIBADD) $(LIBS) + libvirt_driver_test.la: $(libvirt_driver_test_la_OBJECTS) $(libvirt_driver_test_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_test_la_LINK) $(am_libvirt_driver_test_la_rpath) $(libvirt_driver_test_la_OBJECTS) $(libvirt_driver_test_la_LIBADD) $(LIBS) ++ $(libvirt_driver_test_la_LINK) $(am_libvirt_driver_test_la_rpath) $(libvirt_driver_test_la_OBJECTS) $(libvirt_driver_test_la_LIBADD) $(LIBS) + libvirt_driver_uml.la: $(libvirt_driver_uml_la_OBJECTS) $(libvirt_driver_uml_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_uml_la_LINK) $(am_libvirt_driver_uml_la_rpath) $(libvirt_driver_uml_la_OBJECTS) $(libvirt_driver_uml_la_LIBADD) $(LIBS) ++ $(libvirt_driver_uml_la_LINK) $(am_libvirt_driver_uml_la_rpath) $(libvirt_driver_uml_la_OBJECTS) $(libvirt_driver_uml_la_LIBADD) $(LIBS) + libvirt_driver_vbox.la: $(libvirt_driver_vbox_la_OBJECTS) $(libvirt_driver_vbox_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_vbox_la_LINK) $(am_libvirt_driver_vbox_la_rpath) $(libvirt_driver_vbox_la_OBJECTS) $(libvirt_driver_vbox_la_LIBADD) $(LIBS) ++ $(libvirt_driver_vbox_la_LINK) $(am_libvirt_driver_vbox_la_rpath) $(libvirt_driver_vbox_la_OBJECTS) $(libvirt_driver_vbox_la_LIBADD) $(LIBS) + libvirt_driver_xen.la: $(libvirt_driver_xen_la_OBJECTS) $(libvirt_driver_xen_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_driver_xen_la_LINK) $(am_libvirt_driver_xen_la_rpath) $(libvirt_driver_xen_la_OBJECTS) $(libvirt_driver_xen_la_LIBADD) $(LIBS) ++ $(libvirt_driver_xen_la_LINK) $(am_libvirt_driver_xen_la_rpath) $(libvirt_driver_xen_la_OBJECTS) $(libvirt_driver_xen_la_LIBADD) $(LIBS) + libvirt_test.la: $(libvirt_test_la_OBJECTS) $(libvirt_test_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_test_la_LINK) $(libvirt_test_la_OBJECTS) $(libvirt_test_la_LIBADD) $(LIBS) ++ $(libvirt_test_la_LINK) $(libvirt_test_la_OBJECTS) $(libvirt_test_la_LIBADD) $(LIBS) + libvirt_util.la: $(libvirt_util_la_OBJECTS) $(libvirt_util_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libvirt_util_la_LINK) $(libvirt_util_la_OBJECTS) $(libvirt_util_la_LIBADD) $(LIBS) ++ $(libvirt_util_la_LINK) $(libvirt_util_la_OBJECTS) $(libvirt_util_la_LIBADD) $(LIBS) + install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" +- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed 's/$(EXEEXT)$$//' | \ +- while read p p1; do if test -f $$p || test -f $$p1; \ +- then echo "$$p"; echo "$$p"; else :; fi; \ +- done | \ +- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ +- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ +- sed 'N;N;N;s,\n, ,g' | \ +- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ +- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ +- if ($$2 == $$4) files[d] = files[d] " " $$1; \ +- else { print "f", $$3 "/" $$4, $$1; } } \ +- END { for (d in files) print "f", d, files[d] }' | \ +- while read type dir files; do \ +- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ +- test -z "$$files" || { \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ +- } \ +- ; done ++ @list='$(bin_PROGRAMS)'; for p in $$list; do \ ++ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ if test -f $$p \ ++ || test -f $$p1 \ ++ ; then \ ++ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ ++ else :; fi; \ ++ done + + uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) +- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ +- files=`for p in $$list; do echo "$$p"; done | \ +- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ +- -e 's/$$/$(EXEEXT)/' `; \ +- test -n "$$list" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(bindir)" && rm -f $$files ++ @list='$(bin_PROGRAMS)'; for p in $$list; do \ ++ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ ++ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(bindir)/$$f"; \ ++ done + + clean-binPROGRAMS: +- @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(bin_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + install-libexecPROGRAMS: $(libexec_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)" +- @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed 's/$(EXEEXT)$$//' | \ +- while read p p1; do if test -f $$p || test -f $$p1; \ +- then echo "$$p"; echo "$$p"; else :; fi; \ +- done | \ +- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ +- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ +- sed 'N;N;N;s,\n, ,g' | \ +- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ +- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ +- if ($$2 == $$4) files[d] = files[d] " " $$1; \ +- else { print "f", $$3 "/" $$4, $$1; } } \ +- END { for (d in files) print "f", d, files[d] }' | \ +- while read type dir files; do \ +- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ +- test -z "$$files" || { \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \ +- } \ +- ; done ++ @list='$(libexec_PROGRAMS)'; for p in $$list; do \ ++ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ if test -f $$p \ ++ || test -f $$p1 \ ++ ; then \ ++ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \ ++ else :; fi; \ ++ done + + uninstall-libexecPROGRAMS: + @$(NORMAL_UNINSTALL) +- @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ +- files=`for p in $$list; do echo "$$p"; done | \ +- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ +- -e 's/$$/$(EXEEXT)/' `; \ +- test -n "$$list" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(libexecdir)" && rm -f $$files ++ @list='$(libexec_PROGRAMS)'; for p in $$list; do \ ++ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ ++ echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(libexecdir)/$$f"; \ ++ done + + clean-libexecPROGRAMS: +- @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(libexec_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + libvirt_lxc$(EXEEXT): $(libvirt_lxc_OBJECTS) $(libvirt_lxc_DEPENDENCIES) + @rm -f libvirt_lxc$(EXEEXT) +- $(AM_V_CCLD)$(libvirt_lxc_LINK) $(libvirt_lxc_OBJECTS) $(libvirt_lxc_LDADD) $(LIBS) ++ $(libvirt_lxc_LINK) $(libvirt_lxc_OBJECTS) $(libvirt_lxc_LDADD) $(LIBS) + libvirt_parthelper$(EXEEXT): $(libvirt_parthelper_OBJECTS) $(libvirt_parthelper_DEPENDENCIES) + @rm -f libvirt_parthelper$(EXEEXT) +- $(AM_V_CCLD)$(libvirt_parthelper_LINK) $(libvirt_parthelper_OBJECTS) $(libvirt_parthelper_LDADD) $(LIBS) ++ $(libvirt_parthelper_LINK) $(libvirt_parthelper_OBJECTS) $(libvirt_parthelper_LDADD) $(LIBS) + virsh$(EXEEXT): $(virsh_OBJECTS) $(virsh_DEPENDENCIES) + @rm -f virsh$(EXEEXT) +- $(AM_V_CCLD)$(virsh_LINK) $(virsh_OBJECTS) $(virsh_LDADD) $(LIBS) ++ $(virsh_LINK) $(virsh_OBJECTS) $(virsh_LDADD) $(LIBS) ++virt-aa-helper$(EXEEXT): $(virt_aa_helper_OBJECTS) $(virt_aa_helper_DEPENDENCIES) ++ @rm -f virt-aa-helper$(EXEEXT) ++ $(virt_aa_helper_LINK) $(virt_aa_helper_OBJECTS) $(virt_aa_helper_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -2061,6 +2026,7 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openvz_conf.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openvz_driver.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/security.Plo@am__quote@ ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/security_apparmor.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/security_selinux.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/storage_backend.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/storage_backend_disk.Plo@am__quote@ +@@ -2077,935 +2043,834 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/veth.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virsh-console.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virsh-virsh.Po@am__quote@ ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_aa_helper-virt-aa-helper.Po@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + + libvirt_driver_la-driver.lo: driver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-driver.Tpo -c -o libvirt_driver_la-driver.lo `test -f 'driver.c' || echo '$(srcdir)/'`driver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-driver.Tpo $(DEPDIR)/libvirt_driver_la-driver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-driver.Tpo -c -o libvirt_driver_la-driver.lo `test -f 'driver.c' || echo '$(srcdir)/'`driver.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-driver.Tpo $(DEPDIR)/libvirt_driver_la-driver.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='driver.c' object='libvirt_driver_la-driver.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-driver.lo `test -f 'driver.c' || echo '$(srcdir)/'`driver.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-driver.lo `test -f 'driver.c' || echo '$(srcdir)/'`driver.c + + libvirt_driver_la-datatypes.lo: datatypes.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-datatypes.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-datatypes.Tpo -c -o libvirt_driver_la-datatypes.lo `test -f 'datatypes.c' || echo '$(srcdir)/'`datatypes.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-datatypes.Tpo $(DEPDIR)/libvirt_driver_la-datatypes.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-datatypes.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-datatypes.Tpo -c -o libvirt_driver_la-datatypes.lo `test -f 'datatypes.c' || echo '$(srcdir)/'`datatypes.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-datatypes.Tpo $(DEPDIR)/libvirt_driver_la-datatypes.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='datatypes.c' object='libvirt_driver_la-datatypes.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-datatypes.lo `test -f 'datatypes.c' || echo '$(srcdir)/'`datatypes.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-datatypes.lo `test -f 'datatypes.c' || echo '$(srcdir)/'`datatypes.c + + libvirt_driver_la-domain_event.lo: domain_event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-domain_event.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-domain_event.Tpo -c -o libvirt_driver_la-domain_event.lo `test -f 'domain_event.c' || echo '$(srcdir)/'`domain_event.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-domain_event.Tpo $(DEPDIR)/libvirt_driver_la-domain_event.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-domain_event.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-domain_event.Tpo -c -o libvirt_driver_la-domain_event.lo `test -f 'domain_event.c' || echo '$(srcdir)/'`domain_event.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-domain_event.Tpo $(DEPDIR)/libvirt_driver_la-domain_event.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='domain_event.c' object='libvirt_driver_la-domain_event.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-domain_event.lo `test -f 'domain_event.c' || echo '$(srcdir)/'`domain_event.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-domain_event.lo `test -f 'domain_event.c' || echo '$(srcdir)/'`domain_event.c + + libvirt_driver_la-stats_linux.lo: stats_linux.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-stats_linux.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-stats_linux.Tpo -c -o libvirt_driver_la-stats_linux.lo `test -f 'stats_linux.c' || echo '$(srcdir)/'`stats_linux.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-stats_linux.Tpo $(DEPDIR)/libvirt_driver_la-stats_linux.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-stats_linux.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-stats_linux.Tpo -c -o libvirt_driver_la-stats_linux.lo `test -f 'stats_linux.c' || echo '$(srcdir)/'`stats_linux.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-stats_linux.Tpo $(DEPDIR)/libvirt_driver_la-stats_linux.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stats_linux.c' object='libvirt_driver_la-stats_linux.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-stats_linux.lo `test -f 'stats_linux.c' || echo '$(srcdir)/'`stats_linux.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-stats_linux.lo `test -f 'stats_linux.c' || echo '$(srcdir)/'`stats_linux.c + + libvirt_driver_la-libvirt.lo: libvirt.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-libvirt.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-libvirt.Tpo -c -o libvirt_driver_la-libvirt.lo `test -f 'libvirt.c' || echo '$(srcdir)/'`libvirt.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-libvirt.Tpo $(DEPDIR)/libvirt_driver_la-libvirt.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-libvirt.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-libvirt.Tpo -c -o libvirt_driver_la-libvirt.lo `test -f 'libvirt.c' || echo '$(srcdir)/'`libvirt.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-libvirt.Tpo $(DEPDIR)/libvirt_driver_la-libvirt.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libvirt.c' object='libvirt_driver_la-libvirt.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-libvirt.lo `test -f 'libvirt.c' || echo '$(srcdir)/'`libvirt.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-libvirt.lo `test -f 'libvirt.c' || echo '$(srcdir)/'`libvirt.c + + libvirt_driver_la-capabilities.lo: capabilities.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-capabilities.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-capabilities.Tpo -c -o libvirt_driver_la-capabilities.lo `test -f 'capabilities.c' || echo '$(srcdir)/'`capabilities.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-capabilities.Tpo $(DEPDIR)/libvirt_driver_la-capabilities.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-capabilities.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-capabilities.Tpo -c -o libvirt_driver_la-capabilities.lo `test -f 'capabilities.c' || echo '$(srcdir)/'`capabilities.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-capabilities.Tpo $(DEPDIR)/libvirt_driver_la-capabilities.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='capabilities.c' object='libvirt_driver_la-capabilities.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-capabilities.lo `test -f 'capabilities.c' || echo '$(srcdir)/'`capabilities.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-capabilities.lo `test -f 'capabilities.c' || echo '$(srcdir)/'`capabilities.c + + libvirt_driver_la-domain_conf.lo: domain_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-domain_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-domain_conf.Tpo -c -o libvirt_driver_la-domain_conf.lo `test -f 'domain_conf.c' || echo '$(srcdir)/'`domain_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-domain_conf.Tpo $(DEPDIR)/libvirt_driver_la-domain_conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-domain_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-domain_conf.Tpo -c -o libvirt_driver_la-domain_conf.lo `test -f 'domain_conf.c' || echo '$(srcdir)/'`domain_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-domain_conf.Tpo $(DEPDIR)/libvirt_driver_la-domain_conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='domain_conf.c' object='libvirt_driver_la-domain_conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-domain_conf.lo `test -f 'domain_conf.c' || echo '$(srcdir)/'`domain_conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-domain_conf.lo `test -f 'domain_conf.c' || echo '$(srcdir)/'`domain_conf.c + + libvirt_driver_la-nodeinfo.lo: nodeinfo.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-nodeinfo.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-nodeinfo.Tpo -c -o libvirt_driver_la-nodeinfo.lo `test -f 'nodeinfo.c' || echo '$(srcdir)/'`nodeinfo.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-nodeinfo.Tpo $(DEPDIR)/libvirt_driver_la-nodeinfo.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-nodeinfo.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-nodeinfo.Tpo -c -o libvirt_driver_la-nodeinfo.lo `test -f 'nodeinfo.c' || echo '$(srcdir)/'`nodeinfo.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-nodeinfo.Tpo $(DEPDIR)/libvirt_driver_la-nodeinfo.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nodeinfo.c' object='libvirt_driver_la-nodeinfo.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-nodeinfo.lo `test -f 'nodeinfo.c' || echo '$(srcdir)/'`nodeinfo.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-nodeinfo.lo `test -f 'nodeinfo.c' || echo '$(srcdir)/'`nodeinfo.c + + libvirt_driver_la-network_conf.lo: network_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-network_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-network_conf.Tpo -c -o libvirt_driver_la-network_conf.lo `test -f 'network_conf.c' || echo '$(srcdir)/'`network_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-network_conf.Tpo $(DEPDIR)/libvirt_driver_la-network_conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-network_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-network_conf.Tpo -c -o libvirt_driver_la-network_conf.lo `test -f 'network_conf.c' || echo '$(srcdir)/'`network_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-network_conf.Tpo $(DEPDIR)/libvirt_driver_la-network_conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='network_conf.c' object='libvirt_driver_la-network_conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-network_conf.lo `test -f 'network_conf.c' || echo '$(srcdir)/'`network_conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-network_conf.lo `test -f 'network_conf.c' || echo '$(srcdir)/'`network_conf.c + + libvirt_driver_la-storage_conf.lo: storage_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-storage_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-storage_conf.Tpo -c -o libvirt_driver_la-storage_conf.lo `test -f 'storage_conf.c' || echo '$(srcdir)/'`storage_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-storage_conf.Tpo $(DEPDIR)/libvirt_driver_la-storage_conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-storage_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-storage_conf.Tpo -c -o libvirt_driver_la-storage_conf.lo `test -f 'storage_conf.c' || echo '$(srcdir)/'`storage_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-storage_conf.Tpo $(DEPDIR)/libvirt_driver_la-storage_conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='storage_conf.c' object='libvirt_driver_la-storage_conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-storage_conf.lo `test -f 'storage_conf.c' || echo '$(srcdir)/'`storage_conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-storage_conf.lo `test -f 'storage_conf.c' || echo '$(srcdir)/'`storage_conf.c + + libvirt_driver_la-interface_conf.lo: interface_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-interface_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-interface_conf.Tpo -c -o libvirt_driver_la-interface_conf.lo `test -f 'interface_conf.c' || echo '$(srcdir)/'`interface_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-interface_conf.Tpo $(DEPDIR)/libvirt_driver_la-interface_conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-interface_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-interface_conf.Tpo -c -o libvirt_driver_la-interface_conf.lo `test -f 'interface_conf.c' || echo '$(srcdir)/'`interface_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-interface_conf.Tpo $(DEPDIR)/libvirt_driver_la-interface_conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='interface_conf.c' object='libvirt_driver_la-interface_conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-interface_conf.lo `test -f 'interface_conf.c' || echo '$(srcdir)/'`interface_conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-interface_conf.lo `test -f 'interface_conf.c' || echo '$(srcdir)/'`interface_conf.c + + libvirt_driver_la-node_device_conf.lo: node_device_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-node_device_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-node_device_conf.Tpo -c -o libvirt_driver_la-node_device_conf.lo `test -f 'node_device_conf.c' || echo '$(srcdir)/'`node_device_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_la-node_device_conf.Tpo $(DEPDIR)/libvirt_driver_la-node_device_conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_la-node_device_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_la-node_device_conf.Tpo -c -o libvirt_driver_la-node_device_conf.lo `test -f 'node_device_conf.c' || echo '$(srcdir)/'`node_device_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_la-node_device_conf.Tpo $(DEPDIR)/libvirt_driver_la-node_device_conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='node_device_conf.c' object='libvirt_driver_la-node_device_conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-node_device_conf.lo `test -f 'node_device_conf.c' || echo '$(srcdir)/'`node_device_conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_la-node_device_conf.lo `test -f 'node_device_conf.c' || echo '$(srcdir)/'`node_device_conf.c + + libvirt_driver_esx_la-esx_driver.lo: esx/esx_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_driver.Tpo -c -o libvirt_driver_esx_la-esx_driver.lo `test -f 'esx/esx_driver.c' || echo '$(srcdir)/'`esx/esx_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_esx_la-esx_driver.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_driver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_driver.Tpo -c -o libvirt_driver_esx_la-esx_driver.lo `test -f 'esx/esx_driver.c' || echo '$(srcdir)/'`esx/esx_driver.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_esx_la-esx_driver.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_driver.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='esx/esx_driver.c' object='libvirt_driver_esx_la-esx_driver.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_driver.lo `test -f 'esx/esx_driver.c' || echo '$(srcdir)/'`esx/esx_driver.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_driver.lo `test -f 'esx/esx_driver.c' || echo '$(srcdir)/'`esx/esx_driver.c + + libvirt_driver_esx_la-esx_util.lo: esx/esx_util.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_util.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_util.Tpo -c -o libvirt_driver_esx_la-esx_util.lo `test -f 'esx/esx_util.c' || echo '$(srcdir)/'`esx/esx_util.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_esx_la-esx_util.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_util.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_util.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_util.Tpo -c -o libvirt_driver_esx_la-esx_util.lo `test -f 'esx/esx_util.c' || echo '$(srcdir)/'`esx/esx_util.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_esx_la-esx_util.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_util.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='esx/esx_util.c' object='libvirt_driver_esx_la-esx_util.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_util.lo `test -f 'esx/esx_util.c' || echo '$(srcdir)/'`esx/esx_util.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_util.lo `test -f 'esx/esx_util.c' || echo '$(srcdir)/'`esx/esx_util.c + + libvirt_driver_esx_la-esx_vi.lo: esx/esx_vi.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_vi.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_vi.Tpo -c -o libvirt_driver_esx_la-esx_vi.lo `test -f 'esx/esx_vi.c' || echo '$(srcdir)/'`esx/esx_vi.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_esx_la-esx_vi.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_vi.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_vi.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_vi.Tpo -c -o libvirt_driver_esx_la-esx_vi.lo `test -f 'esx/esx_vi.c' || echo '$(srcdir)/'`esx/esx_vi.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_esx_la-esx_vi.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_vi.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='esx/esx_vi.c' object='libvirt_driver_esx_la-esx_vi.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_vi.lo `test -f 'esx/esx_vi.c' || echo '$(srcdir)/'`esx/esx_vi.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_vi.lo `test -f 'esx/esx_vi.c' || echo '$(srcdir)/'`esx/esx_vi.c + + libvirt_driver_esx_la-esx_vi_methods.lo: esx/esx_vi_methods.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_vi_methods.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_vi_methods.Tpo -c -o libvirt_driver_esx_la-esx_vi_methods.lo `test -f 'esx/esx_vi_methods.c' || echo '$(srcdir)/'`esx/esx_vi_methods.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_esx_la-esx_vi_methods.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_vi_methods.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_vi_methods.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_vi_methods.Tpo -c -o libvirt_driver_esx_la-esx_vi_methods.lo `test -f 'esx/esx_vi_methods.c' || echo '$(srcdir)/'`esx/esx_vi_methods.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_esx_la-esx_vi_methods.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_vi_methods.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='esx/esx_vi_methods.c' object='libvirt_driver_esx_la-esx_vi_methods.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_vi_methods.lo `test -f 'esx/esx_vi_methods.c' || echo '$(srcdir)/'`esx/esx_vi_methods.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_vi_methods.lo `test -f 'esx/esx_vi_methods.c' || echo '$(srcdir)/'`esx/esx_vi_methods.c + + libvirt_driver_esx_la-esx_vi_types.lo: esx/esx_vi_types.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_vi_types.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_vi_types.Tpo -c -o libvirt_driver_esx_la-esx_vi_types.lo `test -f 'esx/esx_vi_types.c' || echo '$(srcdir)/'`esx/esx_vi_types.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_esx_la-esx_vi_types.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_vi_types.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_vi_types.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_vi_types.Tpo -c -o libvirt_driver_esx_la-esx_vi_types.lo `test -f 'esx/esx_vi_types.c' || echo '$(srcdir)/'`esx/esx_vi_types.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_esx_la-esx_vi_types.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_vi_types.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='esx/esx_vi_types.c' object='libvirt_driver_esx_la-esx_vi_types.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_vi_types.lo `test -f 'esx/esx_vi_types.c' || echo '$(srcdir)/'`esx/esx_vi_types.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_vi_types.lo `test -f 'esx/esx_vi_types.c' || echo '$(srcdir)/'`esx/esx_vi_types.c + + libvirt_driver_esx_la-esx_vmx.lo: esx/esx_vmx.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_vmx.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_vmx.Tpo -c -o libvirt_driver_esx_la-esx_vmx.lo `test -f 'esx/esx_vmx.c' || echo '$(srcdir)/'`esx/esx_vmx.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_esx_la-esx_vmx.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_vmx.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_esx_la-esx_vmx.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_esx_la-esx_vmx.Tpo -c -o libvirt_driver_esx_la-esx_vmx.lo `test -f 'esx/esx_vmx.c' || echo '$(srcdir)/'`esx/esx_vmx.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_esx_la-esx_vmx.Tpo $(DEPDIR)/libvirt_driver_esx_la-esx_vmx.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='esx/esx_vmx.c' object='libvirt_driver_esx_la-esx_vmx.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_vmx.lo `test -f 'esx/esx_vmx.c' || echo '$(srcdir)/'`esx/esx_vmx.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_esx_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_esx_la-esx_vmx.lo `test -f 'esx/esx_vmx.c' || echo '$(srcdir)/'`esx/esx_vmx.c + + libvirt_driver_interface_la-interface_driver.lo: interface_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_interface_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_interface_la-interface_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_interface_la-interface_driver.Tpo -c -o libvirt_driver_interface_la-interface_driver.lo `test -f 'interface_driver.c' || echo '$(srcdir)/'`interface_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_interface_la-interface_driver.Tpo $(DEPDIR)/libvirt_driver_interface_la-interface_driver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_interface_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_interface_la-interface_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_interface_la-interface_driver.Tpo -c -o libvirt_driver_interface_la-interface_driver.lo `test -f 'interface_driver.c' || echo '$(srcdir)/'`interface_driver.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_interface_la-interface_driver.Tpo $(DEPDIR)/libvirt_driver_interface_la-interface_driver.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='interface_driver.c' object='libvirt_driver_interface_la-interface_driver.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_interface_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_interface_la-interface_driver.lo `test -f 'interface_driver.c' || echo '$(srcdir)/'`interface_driver.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_interface_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_interface_la-interface_driver.lo `test -f 'interface_driver.c' || echo '$(srcdir)/'`interface_driver.c + + libvirt_driver_nodedev_la-node_device.lo: node_device.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_nodedev_la-node_device.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_nodedev_la-node_device.Tpo -c -o libvirt_driver_nodedev_la-node_device.lo `test -f 'node_device.c' || echo '$(srcdir)/'`node_device.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_nodedev_la-node_device.Tpo $(DEPDIR)/libvirt_driver_nodedev_la-node_device.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_nodedev_la-node_device.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_nodedev_la-node_device.Tpo -c -o libvirt_driver_nodedev_la-node_device.lo `test -f 'node_device.c' || echo '$(srcdir)/'`node_device.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_nodedev_la-node_device.Tpo $(DEPDIR)/libvirt_driver_nodedev_la-node_device.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='node_device.c' object='libvirt_driver_nodedev_la-node_device.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_nodedev_la-node_device.lo `test -f 'node_device.c' || echo '$(srcdir)/'`node_device.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_nodedev_la-node_device.lo `test -f 'node_device.c' || echo '$(srcdir)/'`node_device.c + + libvirt_driver_nodedev_la-node_device_hal.lo: node_device_hal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_nodedev_la-node_device_hal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal.Tpo -c -o libvirt_driver_nodedev_la-node_device_hal.lo `test -f 'node_device_hal.c' || echo '$(srcdir)/'`node_device_hal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal.Tpo $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_nodedev_la-node_device_hal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal.Tpo -c -o libvirt_driver_nodedev_la-node_device_hal.lo `test -f 'node_device_hal.c' || echo '$(srcdir)/'`node_device_hal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal.Tpo $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='node_device_hal.c' object='libvirt_driver_nodedev_la-node_device_hal.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_nodedev_la-node_device_hal.lo `test -f 'node_device_hal.c' || echo '$(srcdir)/'`node_device_hal.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_nodedev_la-node_device_hal.lo `test -f 'node_device_hal.c' || echo '$(srcdir)/'`node_device_hal.c + + libvirt_driver_nodedev_la-node_device_hal_linux.lo: node_device_hal_linux.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_nodedev_la-node_device_hal_linux.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal_linux.Tpo -c -o libvirt_driver_nodedev_la-node_device_hal_linux.lo `test -f 'node_device_hal_linux.c' || echo '$(srcdir)/'`node_device_hal_linux.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal_linux.Tpo $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal_linux.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_nodedev_la-node_device_hal_linux.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal_linux.Tpo -c -o libvirt_driver_nodedev_la-node_device_hal_linux.lo `test -f 'node_device_hal_linux.c' || echo '$(srcdir)/'`node_device_hal_linux.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal_linux.Tpo $(DEPDIR)/libvirt_driver_nodedev_la-node_device_hal_linux.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='node_device_hal_linux.c' object='libvirt_driver_nodedev_la-node_device_hal_linux.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_nodedev_la-node_device_hal_linux.lo `test -f 'node_device_hal_linux.c' || echo '$(srcdir)/'`node_device_hal_linux.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_nodedev_la-node_device_hal_linux.lo `test -f 'node_device_hal_linux.c' || echo '$(srcdir)/'`node_device_hal_linux.c + + libvirt_driver_nodedev_la-node_device_devkit.lo: node_device_devkit.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_nodedev_la-node_device_devkit.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_nodedev_la-node_device_devkit.Tpo -c -o libvirt_driver_nodedev_la-node_device_devkit.lo `test -f 'node_device_devkit.c' || echo '$(srcdir)/'`node_device_devkit.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_nodedev_la-node_device_devkit.Tpo $(DEPDIR)/libvirt_driver_nodedev_la-node_device_devkit.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_nodedev_la-node_device_devkit.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_nodedev_la-node_device_devkit.Tpo -c -o libvirt_driver_nodedev_la-node_device_devkit.lo `test -f 'node_device_devkit.c' || echo '$(srcdir)/'`node_device_devkit.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_nodedev_la-node_device_devkit.Tpo $(DEPDIR)/libvirt_driver_nodedev_la-node_device_devkit.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='node_device_devkit.c' object='libvirt_driver_nodedev_la-node_device_devkit.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_nodedev_la-node_device_devkit.lo `test -f 'node_device_devkit.c' || echo '$(srcdir)/'`node_device_devkit.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_nodedev_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_nodedev_la-node_device_devkit.lo `test -f 'node_device_devkit.c' || echo '$(srcdir)/'`node_device_devkit.c + + libvirt_driver_one_la-one_conf.lo: ./opennebula/one_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_one_la-one_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_one_la-one_conf.Tpo -c -o libvirt_driver_one_la-one_conf.lo `test -f './opennebula/one_conf.c' || echo '$(srcdir)/'`./opennebula/one_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_one_la-one_conf.Tpo $(DEPDIR)/libvirt_driver_one_la-one_conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_one_la-one_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_one_la-one_conf.Tpo -c -o libvirt_driver_one_la-one_conf.lo `test -f './opennebula/one_conf.c' || echo '$(srcdir)/'`./opennebula/one_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_one_la-one_conf.Tpo $(DEPDIR)/libvirt_driver_one_la-one_conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./opennebula/one_conf.c' object='libvirt_driver_one_la-one_conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_one_la-one_conf.lo `test -f './opennebula/one_conf.c' || echo '$(srcdir)/'`./opennebula/one_conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_one_la-one_conf.lo `test -f './opennebula/one_conf.c' || echo '$(srcdir)/'`./opennebula/one_conf.c + + libvirt_driver_one_la-one_driver.lo: ./opennebula/one_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_one_la-one_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_one_la-one_driver.Tpo -c -o libvirt_driver_one_la-one_driver.lo `test -f './opennebula/one_driver.c' || echo '$(srcdir)/'`./opennebula/one_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_one_la-one_driver.Tpo $(DEPDIR)/libvirt_driver_one_la-one_driver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_one_la-one_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_one_la-one_driver.Tpo -c -o libvirt_driver_one_la-one_driver.lo `test -f './opennebula/one_driver.c' || echo '$(srcdir)/'`./opennebula/one_driver.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_one_la-one_driver.Tpo $(DEPDIR)/libvirt_driver_one_la-one_driver.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./opennebula/one_driver.c' object='libvirt_driver_one_la-one_driver.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_one_la-one_driver.lo `test -f './opennebula/one_driver.c' || echo '$(srcdir)/'`./opennebula/one_driver.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_one_la-one_driver.lo `test -f './opennebula/one_driver.c' || echo '$(srcdir)/'`./opennebula/one_driver.c + + libvirt_driver_one_la-one_client.lo: ./opennebula/one_client.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_one_la-one_client.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_one_la-one_client.Tpo -c -o libvirt_driver_one_la-one_client.lo `test -f './opennebula/one_client.c' || echo '$(srcdir)/'`./opennebula/one_client.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_one_la-one_client.Tpo $(DEPDIR)/libvirt_driver_one_la-one_client.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_one_la-one_client.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_one_la-one_client.Tpo -c -o libvirt_driver_one_la-one_client.lo `test -f './opennebula/one_client.c' || echo '$(srcdir)/'`./opennebula/one_client.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_one_la-one_client.Tpo $(DEPDIR)/libvirt_driver_one_la-one_client.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./opennebula/one_client.c' object='libvirt_driver_one_la-one_client.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_one_la-one_client.lo `test -f './opennebula/one_client.c' || echo '$(srcdir)/'`./opennebula/one_client.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_one_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_one_la-one_client.lo `test -f './opennebula/one_client.c' || echo '$(srcdir)/'`./opennebula/one_client.c + + libvirt_driver_phyp_la-phyp_driver.lo: phyp/phyp_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_phyp_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_phyp_la-phyp_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_phyp_la-phyp_driver.Tpo -c -o libvirt_driver_phyp_la-phyp_driver.lo `test -f 'phyp/phyp_driver.c' || echo '$(srcdir)/'`phyp/phyp_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_phyp_la-phyp_driver.Tpo $(DEPDIR)/libvirt_driver_phyp_la-phyp_driver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_phyp_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_phyp_la-phyp_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_phyp_la-phyp_driver.Tpo -c -o libvirt_driver_phyp_la-phyp_driver.lo `test -f 'phyp/phyp_driver.c' || echo '$(srcdir)/'`phyp/phyp_driver.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_phyp_la-phyp_driver.Tpo $(DEPDIR)/libvirt_driver_phyp_la-phyp_driver.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='phyp/phyp_driver.c' object='libvirt_driver_phyp_la-phyp_driver.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_phyp_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_phyp_la-phyp_driver.lo `test -f 'phyp/phyp_driver.c' || echo '$(srcdir)/'`phyp/phyp_driver.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_phyp_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_phyp_la-phyp_driver.lo `test -f 'phyp/phyp_driver.c' || echo '$(srcdir)/'`phyp/phyp_driver.c + + libvirt_driver_qemu_la-qemu_conf.lo: qemu_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_qemu_la-qemu_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_qemu_la-qemu_conf.Tpo -c -o libvirt_driver_qemu_la-qemu_conf.lo `test -f 'qemu_conf.c' || echo '$(srcdir)/'`qemu_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_qemu_la-qemu_conf.Tpo $(DEPDIR)/libvirt_driver_qemu_la-qemu_conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_qemu_la-qemu_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_qemu_la-qemu_conf.Tpo -c -o libvirt_driver_qemu_la-qemu_conf.lo `test -f 'qemu_conf.c' || echo '$(srcdir)/'`qemu_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_qemu_la-qemu_conf.Tpo $(DEPDIR)/libvirt_driver_qemu_la-qemu_conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='qemu_conf.c' object='libvirt_driver_qemu_la-qemu_conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_qemu_la-qemu_conf.lo `test -f 'qemu_conf.c' || echo '$(srcdir)/'`qemu_conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_qemu_la-qemu_conf.lo `test -f 'qemu_conf.c' || echo '$(srcdir)/'`qemu_conf.c + + libvirt_driver_qemu_la-qemu_driver.lo: qemu_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_qemu_la-qemu_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_qemu_la-qemu_driver.Tpo -c -o libvirt_driver_qemu_la-qemu_driver.lo `test -f 'qemu_driver.c' || echo '$(srcdir)/'`qemu_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_qemu_la-qemu_driver.Tpo $(DEPDIR)/libvirt_driver_qemu_la-qemu_driver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_qemu_la-qemu_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_qemu_la-qemu_driver.Tpo -c -o libvirt_driver_qemu_la-qemu_driver.lo `test -f 'qemu_driver.c' || echo '$(srcdir)/'`qemu_driver.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_qemu_la-qemu_driver.Tpo $(DEPDIR)/libvirt_driver_qemu_la-qemu_driver.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='qemu_driver.c' object='libvirt_driver_qemu_la-qemu_driver.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_qemu_la-qemu_driver.lo `test -f 'qemu_driver.c' || echo '$(srcdir)/'`qemu_driver.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_qemu_la-qemu_driver.lo `test -f 'qemu_driver.c' || echo '$(srcdir)/'`qemu_driver.c + + libvirt_driver_qemu_la-cgroup.lo: cgroup.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_qemu_la-cgroup.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_qemu_la-cgroup.Tpo -c -o libvirt_driver_qemu_la-cgroup.lo `test -f 'cgroup.c' || echo '$(srcdir)/'`cgroup.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_qemu_la-cgroup.Tpo $(DEPDIR)/libvirt_driver_qemu_la-cgroup.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_qemu_la-cgroup.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_qemu_la-cgroup.Tpo -c -o libvirt_driver_qemu_la-cgroup.lo `test -f 'cgroup.c' || echo '$(srcdir)/'`cgroup.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_qemu_la-cgroup.Tpo $(DEPDIR)/libvirt_driver_qemu_la-cgroup.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cgroup.c' object='libvirt_driver_qemu_la-cgroup.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_qemu_la-cgroup.lo `test -f 'cgroup.c' || echo '$(srcdir)/'`cgroup.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_qemu_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_qemu_la-cgroup.lo `test -f 'cgroup.c' || echo '$(srcdir)/'`cgroup.c + + libvirt_driver_remote_la-remote_internal.lo: remote_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_remote_la-remote_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_remote_la-remote_internal.Tpo -c -o libvirt_driver_remote_la-remote_internal.lo `test -f 'remote_internal.c' || echo '$(srcdir)/'`remote_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_remote_la-remote_internal.Tpo $(DEPDIR)/libvirt_driver_remote_la-remote_internal.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_remote_la-remote_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_remote_la-remote_internal.Tpo -c -o libvirt_driver_remote_la-remote_internal.lo `test -f 'remote_internal.c' || echo '$(srcdir)/'`remote_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_remote_la-remote_internal.Tpo $(DEPDIR)/libvirt_driver_remote_la-remote_internal.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='remote_internal.c' object='libvirt_driver_remote_la-remote_internal.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_remote_la-remote_internal.lo `test -f 'remote_internal.c' || echo '$(srcdir)/'`remote_internal.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_remote_la-remote_internal.lo `test -f 'remote_internal.c' || echo '$(srcdir)/'`remote_internal.c + + libvirt_driver_remote_la-remote_protocol.lo: ../qemud/remote_protocol.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_remote_la-remote_protocol.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_remote_la-remote_protocol.Tpo -c -o libvirt_driver_remote_la-remote_protocol.lo `test -f '../qemud/remote_protocol.c' || echo '$(srcdir)/'`../qemud/remote_protocol.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_remote_la-remote_protocol.Tpo $(DEPDIR)/libvirt_driver_remote_la-remote_protocol.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_remote_la-remote_protocol.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_remote_la-remote_protocol.Tpo -c -o libvirt_driver_remote_la-remote_protocol.lo `test -f '../qemud/remote_protocol.c' || echo '$(srcdir)/'`../qemud/remote_protocol.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_remote_la-remote_protocol.Tpo $(DEPDIR)/libvirt_driver_remote_la-remote_protocol.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../qemud/remote_protocol.c' object='libvirt_driver_remote_la-remote_protocol.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_remote_la-remote_protocol.lo `test -f '../qemud/remote_protocol.c' || echo '$(srcdir)/'`../qemud/remote_protocol.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_remote_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_remote_la-remote_protocol.lo `test -f '../qemud/remote_protocol.c' || echo '$(srcdir)/'`../qemud/remote_protocol.c + + libvirt_driver_uml_la-uml_conf.lo: uml_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_uml_la-uml_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_uml_la-uml_conf.Tpo -c -o libvirt_driver_uml_la-uml_conf.lo `test -f 'uml_conf.c' || echo '$(srcdir)/'`uml_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_uml_la-uml_conf.Tpo $(DEPDIR)/libvirt_driver_uml_la-uml_conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_uml_la-uml_conf.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_uml_la-uml_conf.Tpo -c -o libvirt_driver_uml_la-uml_conf.lo `test -f 'uml_conf.c' || echo '$(srcdir)/'`uml_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_uml_la-uml_conf.Tpo $(DEPDIR)/libvirt_driver_uml_la-uml_conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='uml_conf.c' object='libvirt_driver_uml_la-uml_conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_uml_la-uml_conf.lo `test -f 'uml_conf.c' || echo '$(srcdir)/'`uml_conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_uml_la-uml_conf.lo `test -f 'uml_conf.c' || echo '$(srcdir)/'`uml_conf.c + + libvirt_driver_uml_la-uml_driver.lo: uml_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_uml_la-uml_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_uml_la-uml_driver.Tpo -c -o libvirt_driver_uml_la-uml_driver.lo `test -f 'uml_driver.c' || echo '$(srcdir)/'`uml_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_uml_la-uml_driver.Tpo $(DEPDIR)/libvirt_driver_uml_la-uml_driver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_uml_la-uml_driver.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_uml_la-uml_driver.Tpo -c -o libvirt_driver_uml_la-uml_driver.lo `test -f 'uml_driver.c' || echo '$(srcdir)/'`uml_driver.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_uml_la-uml_driver.Tpo $(DEPDIR)/libvirt_driver_uml_la-uml_driver.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='uml_driver.c' object='libvirt_driver_uml_la-uml_driver.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_uml_la-uml_driver.lo `test -f 'uml_driver.c' || echo '$(srcdir)/'`uml_driver.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_uml_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_uml_la-uml_driver.lo `test -f 'uml_driver.c' || echo '$(srcdir)/'`uml_driver.c + + vbox_XPCOMCGlue.lo: vbox/vbox_XPCOMCGlue.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vbox_XPCOMCGlue.lo -MD -MP -MF $(DEPDIR)/vbox_XPCOMCGlue.Tpo -c -o vbox_XPCOMCGlue.lo `test -f 'vbox/vbox_XPCOMCGlue.c' || echo '$(srcdir)/'`vbox/vbox_XPCOMCGlue.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vbox_XPCOMCGlue.Tpo $(DEPDIR)/vbox_XPCOMCGlue.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vbox_XPCOMCGlue.lo -MD -MP -MF $(DEPDIR)/vbox_XPCOMCGlue.Tpo -c -o vbox_XPCOMCGlue.lo `test -f 'vbox/vbox_XPCOMCGlue.c' || echo '$(srcdir)/'`vbox/vbox_XPCOMCGlue.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/vbox_XPCOMCGlue.Tpo $(DEPDIR)/vbox_XPCOMCGlue.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='vbox/vbox_XPCOMCGlue.c' object='vbox_XPCOMCGlue.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vbox_XPCOMCGlue.lo `test -f 'vbox/vbox_XPCOMCGlue.c' || echo '$(srcdir)/'`vbox/vbox_XPCOMCGlue.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vbox_XPCOMCGlue.lo `test -f 'vbox/vbox_XPCOMCGlue.c' || echo '$(srcdir)/'`vbox/vbox_XPCOMCGlue.c + + vbox_driver.lo: vbox/vbox_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vbox_driver.lo -MD -MP -MF $(DEPDIR)/vbox_driver.Tpo -c -o vbox_driver.lo `test -f 'vbox/vbox_driver.c' || echo '$(srcdir)/'`vbox/vbox_driver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vbox_driver.Tpo $(DEPDIR)/vbox_driver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vbox_driver.lo -MD -MP -MF $(DEPDIR)/vbox_driver.Tpo -c -o vbox_driver.lo `test -f 'vbox/vbox_driver.c' || echo '$(srcdir)/'`vbox/vbox_driver.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/vbox_driver.Tpo $(DEPDIR)/vbox_driver.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='vbox/vbox_driver.c' object='vbox_driver.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vbox_driver.lo `test -f 'vbox/vbox_driver.c' || echo '$(srcdir)/'`vbox/vbox_driver.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vbox_driver.lo `test -f 'vbox/vbox_driver.c' || echo '$(srcdir)/'`vbox/vbox_driver.c + + vbox_V2_2.lo: vbox/vbox_V2_2.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vbox_V2_2.lo -MD -MP -MF $(DEPDIR)/vbox_V2_2.Tpo -c -o vbox_V2_2.lo `test -f 'vbox/vbox_V2_2.c' || echo '$(srcdir)/'`vbox/vbox_V2_2.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vbox_V2_2.Tpo $(DEPDIR)/vbox_V2_2.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vbox_V2_2.lo -MD -MP -MF $(DEPDIR)/vbox_V2_2.Tpo -c -o vbox_V2_2.lo `test -f 'vbox/vbox_V2_2.c' || echo '$(srcdir)/'`vbox/vbox_V2_2.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/vbox_V2_2.Tpo $(DEPDIR)/vbox_V2_2.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='vbox/vbox_V2_2.c' object='vbox_V2_2.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vbox_V2_2.lo `test -f 'vbox/vbox_V2_2.c' || echo '$(srcdir)/'`vbox/vbox_V2_2.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vbox_V2_2.lo `test -f 'vbox/vbox_V2_2.c' || echo '$(srcdir)/'`vbox/vbox_V2_2.c + + vbox_V3_0.lo: vbox/vbox_V3_0.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vbox_V3_0.lo -MD -MP -MF $(DEPDIR)/vbox_V3_0.Tpo -c -o vbox_V3_0.lo `test -f 'vbox/vbox_V3_0.c' || echo '$(srcdir)/'`vbox/vbox_V3_0.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vbox_V3_0.Tpo $(DEPDIR)/vbox_V3_0.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vbox_V3_0.lo -MD -MP -MF $(DEPDIR)/vbox_V3_0.Tpo -c -o vbox_V3_0.lo `test -f 'vbox/vbox_V3_0.c' || echo '$(srcdir)/'`vbox/vbox_V3_0.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/vbox_V3_0.Tpo $(DEPDIR)/vbox_V3_0.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='vbox/vbox_V3_0.c' object='vbox_V3_0.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vbox_V3_0.lo `test -f 'vbox/vbox_V3_0.c' || echo '$(srcdir)/'`vbox/vbox_V3_0.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vbox_V3_0.lo `test -f 'vbox/vbox_V3_0.c' || echo '$(srcdir)/'`vbox/vbox_V3_0.c + + libvirt_driver_xen_la-proxy_internal.lo: proxy_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-proxy_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-proxy_internal.Tpo -c -o libvirt_driver_xen_la-proxy_internal.lo `test -f 'proxy_internal.c' || echo '$(srcdir)/'`proxy_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_xen_la-proxy_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-proxy_internal.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-proxy_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-proxy_internal.Tpo -c -o libvirt_driver_xen_la-proxy_internal.lo `test -f 'proxy_internal.c' || echo '$(srcdir)/'`proxy_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_xen_la-proxy_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-proxy_internal.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='proxy_internal.c' object='libvirt_driver_xen_la-proxy_internal.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-proxy_internal.lo `test -f 'proxy_internal.c' || echo '$(srcdir)/'`proxy_internal.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-proxy_internal.lo `test -f 'proxy_internal.c' || echo '$(srcdir)/'`proxy_internal.c + + libvirt_driver_xen_la-sexpr.lo: sexpr.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-sexpr.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-sexpr.Tpo -c -o libvirt_driver_xen_la-sexpr.lo `test -f 'sexpr.c' || echo '$(srcdir)/'`sexpr.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_xen_la-sexpr.Tpo $(DEPDIR)/libvirt_driver_xen_la-sexpr.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-sexpr.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-sexpr.Tpo -c -o libvirt_driver_xen_la-sexpr.lo `test -f 'sexpr.c' || echo '$(srcdir)/'`sexpr.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_xen_la-sexpr.Tpo $(DEPDIR)/libvirt_driver_xen_la-sexpr.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sexpr.c' object='libvirt_driver_xen_la-sexpr.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-sexpr.lo `test -f 'sexpr.c' || echo '$(srcdir)/'`sexpr.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-sexpr.lo `test -f 'sexpr.c' || echo '$(srcdir)/'`sexpr.c + + libvirt_driver_xen_la-xen_internal.lo: xen_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xen_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xen_internal.Tpo -c -o libvirt_driver_xen_la-xen_internal.lo `test -f 'xen_internal.c' || echo '$(srcdir)/'`xen_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_xen_la-xen_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-xen_internal.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xen_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xen_internal.Tpo -c -o libvirt_driver_xen_la-xen_internal.lo `test -f 'xen_internal.c' || echo '$(srcdir)/'`xen_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_xen_la-xen_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-xen_internal.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xen_internal.c' object='libvirt_driver_xen_la-xen_internal.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xen_internal.lo `test -f 'xen_internal.c' || echo '$(srcdir)/'`xen_internal.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xen_internal.lo `test -f 'xen_internal.c' || echo '$(srcdir)/'`xen_internal.c + + libvirt_driver_xen_la-xen_unified.lo: xen_unified.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xen_unified.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xen_unified.Tpo -c -o libvirt_driver_xen_la-xen_unified.lo `test -f 'xen_unified.c' || echo '$(srcdir)/'`xen_unified.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_xen_la-xen_unified.Tpo $(DEPDIR)/libvirt_driver_xen_la-xen_unified.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xen_unified.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xen_unified.Tpo -c -o libvirt_driver_xen_la-xen_unified.lo `test -f 'xen_unified.c' || echo '$(srcdir)/'`xen_unified.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_xen_la-xen_unified.Tpo $(DEPDIR)/libvirt_driver_xen_la-xen_unified.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xen_unified.c' object='libvirt_driver_xen_la-xen_unified.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xen_unified.lo `test -f 'xen_unified.c' || echo '$(srcdir)/'`xen_unified.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xen_unified.lo `test -f 'xen_unified.c' || echo '$(srcdir)/'`xen_unified.c + + libvirt_driver_xen_la-xend_internal.lo: xend_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xend_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xend_internal.Tpo -c -o libvirt_driver_xen_la-xend_internal.lo `test -f 'xend_internal.c' || echo '$(srcdir)/'`xend_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_xen_la-xend_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-xend_internal.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xend_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xend_internal.Tpo -c -o libvirt_driver_xen_la-xend_internal.lo `test -f 'xend_internal.c' || echo '$(srcdir)/'`xend_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_xen_la-xend_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-xend_internal.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xend_internal.c' object='libvirt_driver_xen_la-xend_internal.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xend_internal.lo `test -f 'xend_internal.c' || echo '$(srcdir)/'`xend_internal.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xend_internal.lo `test -f 'xend_internal.c' || echo '$(srcdir)/'`xend_internal.c + + libvirt_driver_xen_la-xm_internal.lo: xm_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xm_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xm_internal.Tpo -c -o libvirt_driver_xen_la-xm_internal.lo `test -f 'xm_internal.c' || echo '$(srcdir)/'`xm_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_xen_la-xm_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-xm_internal.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xm_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xm_internal.Tpo -c -o libvirt_driver_xen_la-xm_internal.lo `test -f 'xm_internal.c' || echo '$(srcdir)/'`xm_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_xen_la-xm_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-xm_internal.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xm_internal.c' object='libvirt_driver_xen_la-xm_internal.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xm_internal.lo `test -f 'xm_internal.c' || echo '$(srcdir)/'`xm_internal.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xm_internal.lo `test -f 'xm_internal.c' || echo '$(srcdir)/'`xm_internal.c + + libvirt_driver_xen_la-xs_internal.lo: xs_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xs_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xs_internal.Tpo -c -o libvirt_driver_xen_la-xs_internal.lo `test -f 'xs_internal.c' || echo '$(srcdir)/'`xs_internal.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_xen_la-xs_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-xs_internal.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xs_internal.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xs_internal.Tpo -c -o libvirt_driver_xen_la-xs_internal.lo `test -f 'xs_internal.c' || echo '$(srcdir)/'`xs_internal.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_xen_la-xs_internal.Tpo $(DEPDIR)/libvirt_driver_xen_la-xs_internal.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xs_internal.c' object='libvirt_driver_xen_la-xs_internal.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xs_internal.lo `test -f 'xs_internal.c' || echo '$(srcdir)/'`xs_internal.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xs_internal.lo `test -f 'xs_internal.c' || echo '$(srcdir)/'`xs_internal.c + + libvirt_driver_xen_la-xen_inotify.lo: xen_inotify.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xen_inotify.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xen_inotify.Tpo -c -o libvirt_driver_xen_la-xen_inotify.lo `test -f 'xen_inotify.c' || echo '$(srcdir)/'`xen_inotify.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_driver_xen_la-xen_inotify.Tpo $(DEPDIR)/libvirt_driver_xen_la-xen_inotify.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -MT libvirt_driver_xen_la-xen_inotify.lo -MD -MP -MF $(DEPDIR)/libvirt_driver_xen_la-xen_inotify.Tpo -c -o libvirt_driver_xen_la-xen_inotify.lo `test -f 'xen_inotify.c' || echo '$(srcdir)/'`xen_inotify.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_driver_xen_la-xen_inotify.Tpo $(DEPDIR)/libvirt_driver_xen_la-xen_inotify.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xen_inotify.c' object='libvirt_driver_xen_la-xen_inotify.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xen_inotify.lo `test -f 'xen_inotify.c' || echo '$(srcdir)/'`xen_inotify.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_driver_xen_la_CFLAGS) $(CFLAGS) -c -o libvirt_driver_xen_la-xen_inotify.lo `test -f 'xen_inotify.c' || echo '$(srcdir)/'`xen_inotify.c + + libvirt_util_la-bridge.lo: bridge.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-bridge.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-bridge.Tpo -c -o libvirt_util_la-bridge.lo `test -f 'bridge.c' || echo '$(srcdir)/'`bridge.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-bridge.Tpo $(DEPDIR)/libvirt_util_la-bridge.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-bridge.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-bridge.Tpo -c -o libvirt_util_la-bridge.lo `test -f 'bridge.c' || echo '$(srcdir)/'`bridge.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-bridge.Tpo $(DEPDIR)/libvirt_util_la-bridge.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bridge.c' object='libvirt_util_la-bridge.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-bridge.lo `test -f 'bridge.c' || echo '$(srcdir)/'`bridge.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-bridge.lo `test -f 'bridge.c' || echo '$(srcdir)/'`bridge.c + + libvirt_util_la-buf.lo: buf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-buf.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-buf.Tpo -c -o libvirt_util_la-buf.lo `test -f 'buf.c' || echo '$(srcdir)/'`buf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-buf.Tpo $(DEPDIR)/libvirt_util_la-buf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-buf.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-buf.Tpo -c -o libvirt_util_la-buf.lo `test -f 'buf.c' || echo '$(srcdir)/'`buf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-buf.Tpo $(DEPDIR)/libvirt_util_la-buf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='buf.c' object='libvirt_util_la-buf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-buf.lo `test -f 'buf.c' || echo '$(srcdir)/'`buf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-buf.lo `test -f 'buf.c' || echo '$(srcdir)/'`buf.c + + libvirt_util_la-conf.lo: conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-conf.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-conf.Tpo -c -o libvirt_util_la-conf.lo `test -f 'conf.c' || echo '$(srcdir)/'`conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-conf.Tpo $(DEPDIR)/libvirt_util_la-conf.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-conf.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-conf.Tpo -c -o libvirt_util_la-conf.lo `test -f 'conf.c' || echo '$(srcdir)/'`conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-conf.Tpo $(DEPDIR)/libvirt_util_la-conf.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='conf.c' object='libvirt_util_la-conf.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-conf.lo `test -f 'conf.c' || echo '$(srcdir)/'`conf.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-conf.lo `test -f 'conf.c' || echo '$(srcdir)/'`conf.c + + libvirt_util_la-event.lo: event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-event.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-event.Tpo -c -o libvirt_util_la-event.lo `test -f 'event.c' || echo '$(srcdir)/'`event.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-event.Tpo $(DEPDIR)/libvirt_util_la-event.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-event.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-event.Tpo -c -o libvirt_util_la-event.lo `test -f 'event.c' || echo '$(srcdir)/'`event.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-event.Tpo $(DEPDIR)/libvirt_util_la-event.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event.c' object='libvirt_util_la-event.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-event.lo `test -f 'event.c' || echo '$(srcdir)/'`event.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-event.lo `test -f 'event.c' || echo '$(srcdir)/'`event.c + + libvirt_util_la-hash.lo: hash.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-hash.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-hash.Tpo -c -o libvirt_util_la-hash.lo `test -f 'hash.c' || echo '$(srcdir)/'`hash.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-hash.Tpo $(DEPDIR)/libvirt_util_la-hash.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-hash.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-hash.Tpo -c -o libvirt_util_la-hash.lo `test -f 'hash.c' || echo '$(srcdir)/'`hash.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-hash.Tpo $(DEPDIR)/libvirt_util_la-hash.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hash.c' object='libvirt_util_la-hash.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-hash.lo `test -f 'hash.c' || echo '$(srcdir)/'`hash.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-hash.lo `test -f 'hash.c' || echo '$(srcdir)/'`hash.c + + libvirt_util_la-iptables.lo: iptables.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-iptables.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-iptables.Tpo -c -o libvirt_util_la-iptables.lo `test -f 'iptables.c' || echo '$(srcdir)/'`iptables.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-iptables.Tpo $(DEPDIR)/libvirt_util_la-iptables.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-iptables.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-iptables.Tpo -c -o libvirt_util_la-iptables.lo `test -f 'iptables.c' || echo '$(srcdir)/'`iptables.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-iptables.Tpo $(DEPDIR)/libvirt_util_la-iptables.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='iptables.c' object='libvirt_util_la-iptables.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-iptables.lo `test -f 'iptables.c' || echo '$(srcdir)/'`iptables.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-iptables.lo `test -f 'iptables.c' || echo '$(srcdir)/'`iptables.c + + libvirt_util_la-logging.lo: logging.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-logging.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-logging.Tpo -c -o libvirt_util_la-logging.lo `test -f 'logging.c' || echo '$(srcdir)/'`logging.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-logging.Tpo $(DEPDIR)/libvirt_util_la-logging.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-logging.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-logging.Tpo -c -o libvirt_util_la-logging.lo `test -f 'logging.c' || echo '$(srcdir)/'`logging.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-logging.Tpo $(DEPDIR)/libvirt_util_la-logging.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='logging.c' object='libvirt_util_la-logging.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-logging.lo `test -f 'logging.c' || echo '$(srcdir)/'`logging.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-logging.lo `test -f 'logging.c' || echo '$(srcdir)/'`logging.c + + libvirt_util_la-memory.lo: memory.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-memory.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-memory.Tpo -c -o libvirt_util_la-memory.lo `test -f 'memory.c' || echo '$(srcdir)/'`memory.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-memory.Tpo $(DEPDIR)/libvirt_util_la-memory.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-memory.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-memory.Tpo -c -o libvirt_util_la-memory.lo `test -f 'memory.c' || echo '$(srcdir)/'`memory.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-memory.Tpo $(DEPDIR)/libvirt_util_la-memory.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='memory.c' object='libvirt_util_la-memory.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-memory.lo `test -f 'memory.c' || echo '$(srcdir)/'`memory.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-memory.lo `test -f 'memory.c' || echo '$(srcdir)/'`memory.c + + libvirt_util_la-pci.lo: pci.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-pci.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-pci.Tpo -c -o libvirt_util_la-pci.lo `test -f 'pci.c' || echo '$(srcdir)/'`pci.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-pci.Tpo $(DEPDIR)/libvirt_util_la-pci.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-pci.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-pci.Tpo -c -o libvirt_util_la-pci.lo `test -f 'pci.c' || echo '$(srcdir)/'`pci.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-pci.Tpo $(DEPDIR)/libvirt_util_la-pci.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pci.c' object='libvirt_util_la-pci.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-pci.lo `test -f 'pci.c' || echo '$(srcdir)/'`pci.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-pci.lo `test -f 'pci.c' || echo '$(srcdir)/'`pci.c + + libvirt_util_la-qparams.lo: qparams.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-qparams.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-qparams.Tpo -c -o libvirt_util_la-qparams.lo `test -f 'qparams.c' || echo '$(srcdir)/'`qparams.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-qparams.Tpo $(DEPDIR)/libvirt_util_la-qparams.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-qparams.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-qparams.Tpo -c -o libvirt_util_la-qparams.lo `test -f 'qparams.c' || echo '$(srcdir)/'`qparams.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-qparams.Tpo $(DEPDIR)/libvirt_util_la-qparams.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='qparams.c' object='libvirt_util_la-qparams.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-qparams.lo `test -f 'qparams.c' || echo '$(srcdir)/'`qparams.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-qparams.lo `test -f 'qparams.c' || echo '$(srcdir)/'`qparams.c + + libvirt_util_la-threads.lo: threads.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-threads.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-threads.Tpo -c -o libvirt_util_la-threads.lo `test -f 'threads.c' || echo '$(srcdir)/'`threads.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-threads.Tpo $(DEPDIR)/libvirt_util_la-threads.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-threads.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-threads.Tpo -c -o libvirt_util_la-threads.lo `test -f 'threads.c' || echo '$(srcdir)/'`threads.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-threads.Tpo $(DEPDIR)/libvirt_util_la-threads.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='threads.c' object='libvirt_util_la-threads.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-threads.lo `test -f 'threads.c' || echo '$(srcdir)/'`threads.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-threads.lo `test -f 'threads.c' || echo '$(srcdir)/'`threads.c + + libvirt_util_la-uuid.lo: uuid.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-uuid.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-uuid.Tpo -c -o libvirt_util_la-uuid.lo `test -f 'uuid.c' || echo '$(srcdir)/'`uuid.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-uuid.Tpo $(DEPDIR)/libvirt_util_la-uuid.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-uuid.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-uuid.Tpo -c -o libvirt_util_la-uuid.lo `test -f 'uuid.c' || echo '$(srcdir)/'`uuid.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-uuid.Tpo $(DEPDIR)/libvirt_util_la-uuid.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='uuid.c' object='libvirt_util_la-uuid.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-uuid.lo `test -f 'uuid.c' || echo '$(srcdir)/'`uuid.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-uuid.lo `test -f 'uuid.c' || echo '$(srcdir)/'`uuid.c + + libvirt_util_la-util.lo: util.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-util.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-util.Tpo -c -o libvirt_util_la-util.lo `test -f 'util.c' || echo '$(srcdir)/'`util.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-util.Tpo $(DEPDIR)/libvirt_util_la-util.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-util.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-util.Tpo -c -o libvirt_util_la-util.lo `test -f 'util.c' || echo '$(srcdir)/'`util.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-util.Tpo $(DEPDIR)/libvirt_util_la-util.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='libvirt_util_la-util.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-util.lo `test -f 'util.c' || echo '$(srcdir)/'`util.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-util.lo `test -f 'util.c' || echo '$(srcdir)/'`util.c + + libvirt_util_la-virterror.lo: virterror.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-virterror.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-virterror.Tpo -c -o libvirt_util_la-virterror.lo `test -f 'virterror.c' || echo '$(srcdir)/'`virterror.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-virterror.Tpo $(DEPDIR)/libvirt_util_la-virterror.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-virterror.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-virterror.Tpo -c -o libvirt_util_la-virterror.lo `test -f 'virterror.c' || echo '$(srcdir)/'`virterror.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-virterror.Tpo $(DEPDIR)/libvirt_util_la-virterror.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virterror.c' object='libvirt_util_la-virterror.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-virterror.lo `test -f 'virterror.c' || echo '$(srcdir)/'`virterror.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-virterror.lo `test -f 'virterror.c' || echo '$(srcdir)/'`virterror.c + + libvirt_util_la-xml.lo: xml.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-xml.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-xml.Tpo -c -o libvirt_util_la-xml.lo `test -f 'xml.c' || echo '$(srcdir)/'`xml.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_util_la-xml.Tpo $(DEPDIR)/libvirt_util_la-xml.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -MT libvirt_util_la-xml.lo -MD -MP -MF $(DEPDIR)/libvirt_util_la-xml.Tpo -c -o libvirt_util_la-xml.lo `test -f 'xml.c' || echo '$(srcdir)/'`xml.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_util_la-xml.Tpo $(DEPDIR)/libvirt_util_la-xml.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xml.c' object='libvirt_util_la-xml.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-xml.lo `test -f 'xml.c' || echo '$(srcdir)/'`xml.c ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_util_la_CFLAGS) $(CFLAGS) -c -o libvirt_util_la-xml.lo `test -f 'xml.c' || echo '$(srcdir)/'`xml.c + + libvirt_lxc-lxc_conf.o: lxc_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_conf.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_conf.Tpo -c -o libvirt_lxc-lxc_conf.o `test -f 'lxc_conf.c' || echo '$(srcdir)/'`lxc_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-lxc_conf.Tpo $(DEPDIR)/libvirt_lxc-lxc_conf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_conf.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_conf.Tpo -c -o libvirt_lxc-lxc_conf.o `test -f 'lxc_conf.c' || echo '$(srcdir)/'`lxc_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-lxc_conf.Tpo $(DEPDIR)/libvirt_lxc-lxc_conf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lxc_conf.c' object='libvirt_lxc-lxc_conf.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-lxc_conf.o `test -f 'lxc_conf.c' || echo '$(srcdir)/'`lxc_conf.c + + libvirt_lxc-lxc_conf.obj: lxc_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_conf.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_conf.Tpo -c -o libvirt_lxc-lxc_conf.obj `if test -f 'lxc_conf.c'; then $(CYGPATH_W) 'lxc_conf.c'; else $(CYGPATH_W) '$(srcdir)/lxc_conf.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-lxc_conf.Tpo $(DEPDIR)/libvirt_lxc-lxc_conf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_conf.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_conf.Tpo -c -o libvirt_lxc-lxc_conf.obj `if test -f 'lxc_conf.c'; then $(CYGPATH_W) 'lxc_conf.c'; else $(CYGPATH_W) '$(srcdir)/lxc_conf.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-lxc_conf.Tpo $(DEPDIR)/libvirt_lxc-lxc_conf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lxc_conf.c' object='libvirt_lxc-lxc_conf.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-lxc_conf.obj `if test -f 'lxc_conf.c'; then $(CYGPATH_W) 'lxc_conf.c'; else $(CYGPATH_W) '$(srcdir)/lxc_conf.c'; fi` + + libvirt_lxc-lxc_container.o: lxc_container.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_container.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_container.Tpo -c -o libvirt_lxc-lxc_container.o `test -f 'lxc_container.c' || echo '$(srcdir)/'`lxc_container.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-lxc_container.Tpo $(DEPDIR)/libvirt_lxc-lxc_container.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_container.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_container.Tpo -c -o libvirt_lxc-lxc_container.o `test -f 'lxc_container.c' || echo '$(srcdir)/'`lxc_container.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-lxc_container.Tpo $(DEPDIR)/libvirt_lxc-lxc_container.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lxc_container.c' object='libvirt_lxc-lxc_container.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-lxc_container.o `test -f 'lxc_container.c' || echo '$(srcdir)/'`lxc_container.c + + libvirt_lxc-lxc_container.obj: lxc_container.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_container.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_container.Tpo -c -o libvirt_lxc-lxc_container.obj `if test -f 'lxc_container.c'; then $(CYGPATH_W) 'lxc_container.c'; else $(CYGPATH_W) '$(srcdir)/lxc_container.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-lxc_container.Tpo $(DEPDIR)/libvirt_lxc-lxc_container.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_container.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_container.Tpo -c -o libvirt_lxc-lxc_container.obj `if test -f 'lxc_container.c'; then $(CYGPATH_W) 'lxc_container.c'; else $(CYGPATH_W) '$(srcdir)/lxc_container.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-lxc_container.Tpo $(DEPDIR)/libvirt_lxc-lxc_container.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lxc_container.c' object='libvirt_lxc-lxc_container.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-lxc_container.obj `if test -f 'lxc_container.c'; then $(CYGPATH_W) 'lxc_container.c'; else $(CYGPATH_W) '$(srcdir)/lxc_container.c'; fi` + + libvirt_lxc-lxc_controller.o: lxc_controller.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_controller.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_controller.Tpo -c -o libvirt_lxc-lxc_controller.o `test -f 'lxc_controller.c' || echo '$(srcdir)/'`lxc_controller.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-lxc_controller.Tpo $(DEPDIR)/libvirt_lxc-lxc_controller.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_controller.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_controller.Tpo -c -o libvirt_lxc-lxc_controller.o `test -f 'lxc_controller.c' || echo '$(srcdir)/'`lxc_controller.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-lxc_controller.Tpo $(DEPDIR)/libvirt_lxc-lxc_controller.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lxc_controller.c' object='libvirt_lxc-lxc_controller.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-lxc_controller.o `test -f 'lxc_controller.c' || echo '$(srcdir)/'`lxc_controller.c + + libvirt_lxc-lxc_controller.obj: lxc_controller.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_controller.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_controller.Tpo -c -o libvirt_lxc-lxc_controller.obj `if test -f 'lxc_controller.c'; then $(CYGPATH_W) 'lxc_controller.c'; else $(CYGPATH_W) '$(srcdir)/lxc_controller.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-lxc_controller.Tpo $(DEPDIR)/libvirt_lxc-lxc_controller.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-lxc_controller.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-lxc_controller.Tpo -c -o libvirt_lxc-lxc_controller.obj `if test -f 'lxc_controller.c'; then $(CYGPATH_W) 'lxc_controller.c'; else $(CYGPATH_W) '$(srcdir)/lxc_controller.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-lxc_controller.Tpo $(DEPDIR)/libvirt_lxc-lxc_controller.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lxc_controller.c' object='libvirt_lxc-lxc_controller.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-lxc_controller.obj `if test -f 'lxc_controller.c'; then $(CYGPATH_W) 'lxc_controller.c'; else $(CYGPATH_W) '$(srcdir)/lxc_controller.c'; fi` + + libvirt_lxc-veth.o: veth.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-veth.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-veth.Tpo -c -o libvirt_lxc-veth.o `test -f 'veth.c' || echo '$(srcdir)/'`veth.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-veth.Tpo $(DEPDIR)/libvirt_lxc-veth.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-veth.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-veth.Tpo -c -o libvirt_lxc-veth.o `test -f 'veth.c' || echo '$(srcdir)/'`veth.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-veth.Tpo $(DEPDIR)/libvirt_lxc-veth.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='veth.c' object='libvirt_lxc-veth.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-veth.o `test -f 'veth.c' || echo '$(srcdir)/'`veth.c + + libvirt_lxc-veth.obj: veth.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-veth.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-veth.Tpo -c -o libvirt_lxc-veth.obj `if test -f 'veth.c'; then $(CYGPATH_W) 'veth.c'; else $(CYGPATH_W) '$(srcdir)/veth.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-veth.Tpo $(DEPDIR)/libvirt_lxc-veth.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-veth.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-veth.Tpo -c -o libvirt_lxc-veth.obj `if test -f 'veth.c'; then $(CYGPATH_W) 'veth.c'; else $(CYGPATH_W) '$(srcdir)/veth.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-veth.Tpo $(DEPDIR)/libvirt_lxc-veth.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='veth.c' object='libvirt_lxc-veth.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-veth.obj `if test -f 'veth.c'; then $(CYGPATH_W) 'veth.c'; else $(CYGPATH_W) '$(srcdir)/veth.c'; fi` + + libvirt_lxc-cgroup.o: cgroup.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-cgroup.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-cgroup.Tpo -c -o libvirt_lxc-cgroup.o `test -f 'cgroup.c' || echo '$(srcdir)/'`cgroup.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-cgroup.Tpo $(DEPDIR)/libvirt_lxc-cgroup.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-cgroup.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-cgroup.Tpo -c -o libvirt_lxc-cgroup.o `test -f 'cgroup.c' || echo '$(srcdir)/'`cgroup.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-cgroup.Tpo $(DEPDIR)/libvirt_lxc-cgroup.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cgroup.c' object='libvirt_lxc-cgroup.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-cgroup.o `test -f 'cgroup.c' || echo '$(srcdir)/'`cgroup.c + + libvirt_lxc-cgroup.obj: cgroup.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-cgroup.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-cgroup.Tpo -c -o libvirt_lxc-cgroup.obj `if test -f 'cgroup.c'; then $(CYGPATH_W) 'cgroup.c'; else $(CYGPATH_W) '$(srcdir)/cgroup.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-cgroup.Tpo $(DEPDIR)/libvirt_lxc-cgroup.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-cgroup.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-cgroup.Tpo -c -o libvirt_lxc-cgroup.obj `if test -f 'cgroup.c'; then $(CYGPATH_W) 'cgroup.c'; else $(CYGPATH_W) '$(srcdir)/cgroup.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-cgroup.Tpo $(DEPDIR)/libvirt_lxc-cgroup.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cgroup.c' object='libvirt_lxc-cgroup.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-cgroup.obj `if test -f 'cgroup.c'; then $(CYGPATH_W) 'cgroup.c'; else $(CYGPATH_W) '$(srcdir)/cgroup.c'; fi` + + libvirt_lxc-bridge.o: bridge.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-bridge.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-bridge.Tpo -c -o libvirt_lxc-bridge.o `test -f 'bridge.c' || echo '$(srcdir)/'`bridge.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-bridge.Tpo $(DEPDIR)/libvirt_lxc-bridge.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-bridge.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-bridge.Tpo -c -o libvirt_lxc-bridge.o `test -f 'bridge.c' || echo '$(srcdir)/'`bridge.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-bridge.Tpo $(DEPDIR)/libvirt_lxc-bridge.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bridge.c' object='libvirt_lxc-bridge.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-bridge.o `test -f 'bridge.c' || echo '$(srcdir)/'`bridge.c + + libvirt_lxc-bridge.obj: bridge.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-bridge.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-bridge.Tpo -c -o libvirt_lxc-bridge.obj `if test -f 'bridge.c'; then $(CYGPATH_W) 'bridge.c'; else $(CYGPATH_W) '$(srcdir)/bridge.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-bridge.Tpo $(DEPDIR)/libvirt_lxc-bridge.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-bridge.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-bridge.Tpo -c -o libvirt_lxc-bridge.obj `if test -f 'bridge.c'; then $(CYGPATH_W) 'bridge.c'; else $(CYGPATH_W) '$(srcdir)/bridge.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-bridge.Tpo $(DEPDIR)/libvirt_lxc-bridge.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bridge.c' object='libvirt_lxc-bridge.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-bridge.obj `if test -f 'bridge.c'; then $(CYGPATH_W) 'bridge.c'; else $(CYGPATH_W) '$(srcdir)/bridge.c'; fi` + + libvirt_lxc-buf.o: buf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-buf.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-buf.Tpo -c -o libvirt_lxc-buf.o `test -f 'buf.c' || echo '$(srcdir)/'`buf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-buf.Tpo $(DEPDIR)/libvirt_lxc-buf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-buf.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-buf.Tpo -c -o libvirt_lxc-buf.o `test -f 'buf.c' || echo '$(srcdir)/'`buf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-buf.Tpo $(DEPDIR)/libvirt_lxc-buf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='buf.c' object='libvirt_lxc-buf.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-buf.o `test -f 'buf.c' || echo '$(srcdir)/'`buf.c + + libvirt_lxc-buf.obj: buf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-buf.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-buf.Tpo -c -o libvirt_lxc-buf.obj `if test -f 'buf.c'; then $(CYGPATH_W) 'buf.c'; else $(CYGPATH_W) '$(srcdir)/buf.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-buf.Tpo $(DEPDIR)/libvirt_lxc-buf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-buf.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-buf.Tpo -c -o libvirt_lxc-buf.obj `if test -f 'buf.c'; then $(CYGPATH_W) 'buf.c'; else $(CYGPATH_W) '$(srcdir)/buf.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-buf.Tpo $(DEPDIR)/libvirt_lxc-buf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='buf.c' object='libvirt_lxc-buf.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-buf.obj `if test -f 'buf.c'; then $(CYGPATH_W) 'buf.c'; else $(CYGPATH_W) '$(srcdir)/buf.c'; fi` + + libvirt_lxc-conf.o: conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-conf.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-conf.Tpo -c -o libvirt_lxc-conf.o `test -f 'conf.c' || echo '$(srcdir)/'`conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-conf.Tpo $(DEPDIR)/libvirt_lxc-conf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-conf.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-conf.Tpo -c -o libvirt_lxc-conf.o `test -f 'conf.c' || echo '$(srcdir)/'`conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-conf.Tpo $(DEPDIR)/libvirt_lxc-conf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='conf.c' object='libvirt_lxc-conf.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-conf.o `test -f 'conf.c' || echo '$(srcdir)/'`conf.c + + libvirt_lxc-conf.obj: conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-conf.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-conf.Tpo -c -o libvirt_lxc-conf.obj `if test -f 'conf.c'; then $(CYGPATH_W) 'conf.c'; else $(CYGPATH_W) '$(srcdir)/conf.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-conf.Tpo $(DEPDIR)/libvirt_lxc-conf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-conf.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-conf.Tpo -c -o libvirt_lxc-conf.obj `if test -f 'conf.c'; then $(CYGPATH_W) 'conf.c'; else $(CYGPATH_W) '$(srcdir)/conf.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-conf.Tpo $(DEPDIR)/libvirt_lxc-conf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='conf.c' object='libvirt_lxc-conf.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-conf.obj `if test -f 'conf.c'; then $(CYGPATH_W) 'conf.c'; else $(CYGPATH_W) '$(srcdir)/conf.c'; fi` + + libvirt_lxc-event.o: event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-event.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-event.Tpo -c -o libvirt_lxc-event.o `test -f 'event.c' || echo '$(srcdir)/'`event.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-event.Tpo $(DEPDIR)/libvirt_lxc-event.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-event.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-event.Tpo -c -o libvirt_lxc-event.o `test -f 'event.c' || echo '$(srcdir)/'`event.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-event.Tpo $(DEPDIR)/libvirt_lxc-event.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event.c' object='libvirt_lxc-event.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-event.o `test -f 'event.c' || echo '$(srcdir)/'`event.c + + libvirt_lxc-event.obj: event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-event.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-event.Tpo -c -o libvirt_lxc-event.obj `if test -f 'event.c'; then $(CYGPATH_W) 'event.c'; else $(CYGPATH_W) '$(srcdir)/event.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-event.Tpo $(DEPDIR)/libvirt_lxc-event.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-event.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-event.Tpo -c -o libvirt_lxc-event.obj `if test -f 'event.c'; then $(CYGPATH_W) 'event.c'; else $(CYGPATH_W) '$(srcdir)/event.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-event.Tpo $(DEPDIR)/libvirt_lxc-event.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event.c' object='libvirt_lxc-event.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-event.obj `if test -f 'event.c'; then $(CYGPATH_W) 'event.c'; else $(CYGPATH_W) '$(srcdir)/event.c'; fi` + + libvirt_lxc-hash.o: hash.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-hash.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-hash.Tpo -c -o libvirt_lxc-hash.o `test -f 'hash.c' || echo '$(srcdir)/'`hash.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-hash.Tpo $(DEPDIR)/libvirt_lxc-hash.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-hash.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-hash.Tpo -c -o libvirt_lxc-hash.o `test -f 'hash.c' || echo '$(srcdir)/'`hash.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-hash.Tpo $(DEPDIR)/libvirt_lxc-hash.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hash.c' object='libvirt_lxc-hash.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-hash.o `test -f 'hash.c' || echo '$(srcdir)/'`hash.c + + libvirt_lxc-hash.obj: hash.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-hash.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-hash.Tpo -c -o libvirt_lxc-hash.obj `if test -f 'hash.c'; then $(CYGPATH_W) 'hash.c'; else $(CYGPATH_W) '$(srcdir)/hash.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-hash.Tpo $(DEPDIR)/libvirt_lxc-hash.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-hash.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-hash.Tpo -c -o libvirt_lxc-hash.obj `if test -f 'hash.c'; then $(CYGPATH_W) 'hash.c'; else $(CYGPATH_W) '$(srcdir)/hash.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-hash.Tpo $(DEPDIR)/libvirt_lxc-hash.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hash.c' object='libvirt_lxc-hash.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-hash.obj `if test -f 'hash.c'; then $(CYGPATH_W) 'hash.c'; else $(CYGPATH_W) '$(srcdir)/hash.c'; fi` + + libvirt_lxc-iptables.o: iptables.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-iptables.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-iptables.Tpo -c -o libvirt_lxc-iptables.o `test -f 'iptables.c' || echo '$(srcdir)/'`iptables.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-iptables.Tpo $(DEPDIR)/libvirt_lxc-iptables.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-iptables.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-iptables.Tpo -c -o libvirt_lxc-iptables.o `test -f 'iptables.c' || echo '$(srcdir)/'`iptables.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-iptables.Tpo $(DEPDIR)/libvirt_lxc-iptables.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='iptables.c' object='libvirt_lxc-iptables.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-iptables.o `test -f 'iptables.c' || echo '$(srcdir)/'`iptables.c + + libvirt_lxc-iptables.obj: iptables.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-iptables.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-iptables.Tpo -c -o libvirt_lxc-iptables.obj `if test -f 'iptables.c'; then $(CYGPATH_W) 'iptables.c'; else $(CYGPATH_W) '$(srcdir)/iptables.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-iptables.Tpo $(DEPDIR)/libvirt_lxc-iptables.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-iptables.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-iptables.Tpo -c -o libvirt_lxc-iptables.obj `if test -f 'iptables.c'; then $(CYGPATH_W) 'iptables.c'; else $(CYGPATH_W) '$(srcdir)/iptables.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-iptables.Tpo $(DEPDIR)/libvirt_lxc-iptables.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='iptables.c' object='libvirt_lxc-iptables.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-iptables.obj `if test -f 'iptables.c'; then $(CYGPATH_W) 'iptables.c'; else $(CYGPATH_W) '$(srcdir)/iptables.c'; fi` + + libvirt_lxc-logging.o: logging.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-logging.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-logging.Tpo -c -o libvirt_lxc-logging.o `test -f 'logging.c' || echo '$(srcdir)/'`logging.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-logging.Tpo $(DEPDIR)/libvirt_lxc-logging.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-logging.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-logging.Tpo -c -o libvirt_lxc-logging.o `test -f 'logging.c' || echo '$(srcdir)/'`logging.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-logging.Tpo $(DEPDIR)/libvirt_lxc-logging.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='logging.c' object='libvirt_lxc-logging.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-logging.o `test -f 'logging.c' || echo '$(srcdir)/'`logging.c + + libvirt_lxc-logging.obj: logging.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-logging.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-logging.Tpo -c -o libvirt_lxc-logging.obj `if test -f 'logging.c'; then $(CYGPATH_W) 'logging.c'; else $(CYGPATH_W) '$(srcdir)/logging.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-logging.Tpo $(DEPDIR)/libvirt_lxc-logging.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-logging.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-logging.Tpo -c -o libvirt_lxc-logging.obj `if test -f 'logging.c'; then $(CYGPATH_W) 'logging.c'; else $(CYGPATH_W) '$(srcdir)/logging.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-logging.Tpo $(DEPDIR)/libvirt_lxc-logging.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='logging.c' object='libvirt_lxc-logging.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-logging.obj `if test -f 'logging.c'; then $(CYGPATH_W) 'logging.c'; else $(CYGPATH_W) '$(srcdir)/logging.c'; fi` + + libvirt_lxc-memory.o: memory.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-memory.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-memory.Tpo -c -o libvirt_lxc-memory.o `test -f 'memory.c' || echo '$(srcdir)/'`memory.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-memory.Tpo $(DEPDIR)/libvirt_lxc-memory.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-memory.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-memory.Tpo -c -o libvirt_lxc-memory.o `test -f 'memory.c' || echo '$(srcdir)/'`memory.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-memory.Tpo $(DEPDIR)/libvirt_lxc-memory.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='memory.c' object='libvirt_lxc-memory.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-memory.o `test -f 'memory.c' || echo '$(srcdir)/'`memory.c + + libvirt_lxc-memory.obj: memory.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-memory.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-memory.Tpo -c -o libvirt_lxc-memory.obj `if test -f 'memory.c'; then $(CYGPATH_W) 'memory.c'; else $(CYGPATH_W) '$(srcdir)/memory.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-memory.Tpo $(DEPDIR)/libvirt_lxc-memory.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-memory.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-memory.Tpo -c -o libvirt_lxc-memory.obj `if test -f 'memory.c'; then $(CYGPATH_W) 'memory.c'; else $(CYGPATH_W) '$(srcdir)/memory.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-memory.Tpo $(DEPDIR)/libvirt_lxc-memory.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='memory.c' object='libvirt_lxc-memory.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-memory.obj `if test -f 'memory.c'; then $(CYGPATH_W) 'memory.c'; else $(CYGPATH_W) '$(srcdir)/memory.c'; fi` + + libvirt_lxc-pci.o: pci.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-pci.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-pci.Tpo -c -o libvirt_lxc-pci.o `test -f 'pci.c' || echo '$(srcdir)/'`pci.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-pci.Tpo $(DEPDIR)/libvirt_lxc-pci.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-pci.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-pci.Tpo -c -o libvirt_lxc-pci.o `test -f 'pci.c' || echo '$(srcdir)/'`pci.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-pci.Tpo $(DEPDIR)/libvirt_lxc-pci.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pci.c' object='libvirt_lxc-pci.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-pci.o `test -f 'pci.c' || echo '$(srcdir)/'`pci.c + + libvirt_lxc-pci.obj: pci.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-pci.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-pci.Tpo -c -o libvirt_lxc-pci.obj `if test -f 'pci.c'; then $(CYGPATH_W) 'pci.c'; else $(CYGPATH_W) '$(srcdir)/pci.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-pci.Tpo $(DEPDIR)/libvirt_lxc-pci.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-pci.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-pci.Tpo -c -o libvirt_lxc-pci.obj `if test -f 'pci.c'; then $(CYGPATH_W) 'pci.c'; else $(CYGPATH_W) '$(srcdir)/pci.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-pci.Tpo $(DEPDIR)/libvirt_lxc-pci.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pci.c' object='libvirt_lxc-pci.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-pci.obj `if test -f 'pci.c'; then $(CYGPATH_W) 'pci.c'; else $(CYGPATH_W) '$(srcdir)/pci.c'; fi` + + libvirt_lxc-qparams.o: qparams.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-qparams.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-qparams.Tpo -c -o libvirt_lxc-qparams.o `test -f 'qparams.c' || echo '$(srcdir)/'`qparams.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-qparams.Tpo $(DEPDIR)/libvirt_lxc-qparams.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-qparams.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-qparams.Tpo -c -o libvirt_lxc-qparams.o `test -f 'qparams.c' || echo '$(srcdir)/'`qparams.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-qparams.Tpo $(DEPDIR)/libvirt_lxc-qparams.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='qparams.c' object='libvirt_lxc-qparams.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-qparams.o `test -f 'qparams.c' || echo '$(srcdir)/'`qparams.c + + libvirt_lxc-qparams.obj: qparams.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-qparams.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-qparams.Tpo -c -o libvirt_lxc-qparams.obj `if test -f 'qparams.c'; then $(CYGPATH_W) 'qparams.c'; else $(CYGPATH_W) '$(srcdir)/qparams.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-qparams.Tpo $(DEPDIR)/libvirt_lxc-qparams.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-qparams.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-qparams.Tpo -c -o libvirt_lxc-qparams.obj `if test -f 'qparams.c'; then $(CYGPATH_W) 'qparams.c'; else $(CYGPATH_W) '$(srcdir)/qparams.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-qparams.Tpo $(DEPDIR)/libvirt_lxc-qparams.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='qparams.c' object='libvirt_lxc-qparams.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-qparams.obj `if test -f 'qparams.c'; then $(CYGPATH_W) 'qparams.c'; else $(CYGPATH_W) '$(srcdir)/qparams.c'; fi` + + libvirt_lxc-threads.o: threads.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-threads.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-threads.Tpo -c -o libvirt_lxc-threads.o `test -f 'threads.c' || echo '$(srcdir)/'`threads.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-threads.Tpo $(DEPDIR)/libvirt_lxc-threads.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-threads.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-threads.Tpo -c -o libvirt_lxc-threads.o `test -f 'threads.c' || echo '$(srcdir)/'`threads.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-threads.Tpo $(DEPDIR)/libvirt_lxc-threads.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='threads.c' object='libvirt_lxc-threads.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-threads.o `test -f 'threads.c' || echo '$(srcdir)/'`threads.c + + libvirt_lxc-threads.obj: threads.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-threads.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-threads.Tpo -c -o libvirt_lxc-threads.obj `if test -f 'threads.c'; then $(CYGPATH_W) 'threads.c'; else $(CYGPATH_W) '$(srcdir)/threads.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-threads.Tpo $(DEPDIR)/libvirt_lxc-threads.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-threads.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-threads.Tpo -c -o libvirt_lxc-threads.obj `if test -f 'threads.c'; then $(CYGPATH_W) 'threads.c'; else $(CYGPATH_W) '$(srcdir)/threads.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-threads.Tpo $(DEPDIR)/libvirt_lxc-threads.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='threads.c' object='libvirt_lxc-threads.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-threads.obj `if test -f 'threads.c'; then $(CYGPATH_W) 'threads.c'; else $(CYGPATH_W) '$(srcdir)/threads.c'; fi` + + libvirt_lxc-uuid.o: uuid.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-uuid.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-uuid.Tpo -c -o libvirt_lxc-uuid.o `test -f 'uuid.c' || echo '$(srcdir)/'`uuid.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-uuid.Tpo $(DEPDIR)/libvirt_lxc-uuid.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-uuid.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-uuid.Tpo -c -o libvirt_lxc-uuid.o `test -f 'uuid.c' || echo '$(srcdir)/'`uuid.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-uuid.Tpo $(DEPDIR)/libvirt_lxc-uuid.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='uuid.c' object='libvirt_lxc-uuid.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-uuid.o `test -f 'uuid.c' || echo '$(srcdir)/'`uuid.c + + libvirt_lxc-uuid.obj: uuid.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-uuid.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-uuid.Tpo -c -o libvirt_lxc-uuid.obj `if test -f 'uuid.c'; then $(CYGPATH_W) 'uuid.c'; else $(CYGPATH_W) '$(srcdir)/uuid.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-uuid.Tpo $(DEPDIR)/libvirt_lxc-uuid.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-uuid.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-uuid.Tpo -c -o libvirt_lxc-uuid.obj `if test -f 'uuid.c'; then $(CYGPATH_W) 'uuid.c'; else $(CYGPATH_W) '$(srcdir)/uuid.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-uuid.Tpo $(DEPDIR)/libvirt_lxc-uuid.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='uuid.c' object='libvirt_lxc-uuid.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-uuid.obj `if test -f 'uuid.c'; then $(CYGPATH_W) 'uuid.c'; else $(CYGPATH_W) '$(srcdir)/uuid.c'; fi` + + libvirt_lxc-util.o: util.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-util.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-util.Tpo -c -o libvirt_lxc-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-util.Tpo $(DEPDIR)/libvirt_lxc-util.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-util.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-util.Tpo -c -o libvirt_lxc-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-util.Tpo $(DEPDIR)/libvirt_lxc-util.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='libvirt_lxc-util.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c + + libvirt_lxc-util.obj: util.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-util.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-util.Tpo -c -o libvirt_lxc-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-util.Tpo $(DEPDIR)/libvirt_lxc-util.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-util.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-util.Tpo -c -o libvirt_lxc-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-util.Tpo $(DEPDIR)/libvirt_lxc-util.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='libvirt_lxc-util.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi` + + libvirt_lxc-virterror.o: virterror.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-virterror.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-virterror.Tpo -c -o libvirt_lxc-virterror.o `test -f 'virterror.c' || echo '$(srcdir)/'`virterror.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-virterror.Tpo $(DEPDIR)/libvirt_lxc-virterror.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-virterror.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-virterror.Tpo -c -o libvirt_lxc-virterror.o `test -f 'virterror.c' || echo '$(srcdir)/'`virterror.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-virterror.Tpo $(DEPDIR)/libvirt_lxc-virterror.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virterror.c' object='libvirt_lxc-virterror.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-virterror.o `test -f 'virterror.c' || echo '$(srcdir)/'`virterror.c + + libvirt_lxc-virterror.obj: virterror.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-virterror.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-virterror.Tpo -c -o libvirt_lxc-virterror.obj `if test -f 'virterror.c'; then $(CYGPATH_W) 'virterror.c'; else $(CYGPATH_W) '$(srcdir)/virterror.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-virterror.Tpo $(DEPDIR)/libvirt_lxc-virterror.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-virterror.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-virterror.Tpo -c -o libvirt_lxc-virterror.obj `if test -f 'virterror.c'; then $(CYGPATH_W) 'virterror.c'; else $(CYGPATH_W) '$(srcdir)/virterror.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-virterror.Tpo $(DEPDIR)/libvirt_lxc-virterror.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virterror.c' object='libvirt_lxc-virterror.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-virterror.obj `if test -f 'virterror.c'; then $(CYGPATH_W) 'virterror.c'; else $(CYGPATH_W) '$(srcdir)/virterror.c'; fi` + + libvirt_lxc-xml.o: xml.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-xml.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-xml.Tpo -c -o libvirt_lxc-xml.o `test -f 'xml.c' || echo '$(srcdir)/'`xml.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-xml.Tpo $(DEPDIR)/libvirt_lxc-xml.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-xml.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-xml.Tpo -c -o libvirt_lxc-xml.o `test -f 'xml.c' || echo '$(srcdir)/'`xml.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-xml.Tpo $(DEPDIR)/libvirt_lxc-xml.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xml.c' object='libvirt_lxc-xml.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-xml.o `test -f 'xml.c' || echo '$(srcdir)/'`xml.c + + libvirt_lxc-xml.obj: xml.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-xml.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-xml.Tpo -c -o libvirt_lxc-xml.obj `if test -f 'xml.c'; then $(CYGPATH_W) 'xml.c'; else $(CYGPATH_W) '$(srcdir)/xml.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-xml.Tpo $(DEPDIR)/libvirt_lxc-xml.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-xml.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-xml.Tpo -c -o libvirt_lxc-xml.obj `if test -f 'xml.c'; then $(CYGPATH_W) 'xml.c'; else $(CYGPATH_W) '$(srcdir)/xml.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-xml.Tpo $(DEPDIR)/libvirt_lxc-xml.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xml.c' object='libvirt_lxc-xml.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-xml.obj `if test -f 'xml.c'; then $(CYGPATH_W) 'xml.c'; else $(CYGPATH_W) '$(srcdir)/xml.c'; fi` + + libvirt_lxc-capabilities.o: capabilities.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-capabilities.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-capabilities.Tpo -c -o libvirt_lxc-capabilities.o `test -f 'capabilities.c' || echo '$(srcdir)/'`capabilities.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-capabilities.Tpo $(DEPDIR)/libvirt_lxc-capabilities.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-capabilities.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-capabilities.Tpo -c -o libvirt_lxc-capabilities.o `test -f 'capabilities.c' || echo '$(srcdir)/'`capabilities.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-capabilities.Tpo $(DEPDIR)/libvirt_lxc-capabilities.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='capabilities.c' object='libvirt_lxc-capabilities.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-capabilities.o `test -f 'capabilities.c' || echo '$(srcdir)/'`capabilities.c + + libvirt_lxc-capabilities.obj: capabilities.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-capabilities.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-capabilities.Tpo -c -o libvirt_lxc-capabilities.obj `if test -f 'capabilities.c'; then $(CYGPATH_W) 'capabilities.c'; else $(CYGPATH_W) '$(srcdir)/capabilities.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-capabilities.Tpo $(DEPDIR)/libvirt_lxc-capabilities.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-capabilities.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-capabilities.Tpo -c -o libvirt_lxc-capabilities.obj `if test -f 'capabilities.c'; then $(CYGPATH_W) 'capabilities.c'; else $(CYGPATH_W) '$(srcdir)/capabilities.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-capabilities.Tpo $(DEPDIR)/libvirt_lxc-capabilities.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='capabilities.c' object='libvirt_lxc-capabilities.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-capabilities.obj `if test -f 'capabilities.c'; then $(CYGPATH_W) 'capabilities.c'; else $(CYGPATH_W) '$(srcdir)/capabilities.c'; fi` + + libvirt_lxc-domain_conf.o: domain_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-domain_conf.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-domain_conf.Tpo -c -o libvirt_lxc-domain_conf.o `test -f 'domain_conf.c' || echo '$(srcdir)/'`domain_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-domain_conf.Tpo $(DEPDIR)/libvirt_lxc-domain_conf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-domain_conf.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-domain_conf.Tpo -c -o libvirt_lxc-domain_conf.o `test -f 'domain_conf.c' || echo '$(srcdir)/'`domain_conf.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-domain_conf.Tpo $(DEPDIR)/libvirt_lxc-domain_conf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='domain_conf.c' object='libvirt_lxc-domain_conf.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-domain_conf.o `test -f 'domain_conf.c' || echo '$(srcdir)/'`domain_conf.c + + libvirt_lxc-domain_conf.obj: domain_conf.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-domain_conf.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-domain_conf.Tpo -c -o libvirt_lxc-domain_conf.obj `if test -f 'domain_conf.c'; then $(CYGPATH_W) 'domain_conf.c'; else $(CYGPATH_W) '$(srcdir)/domain_conf.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-domain_conf.Tpo $(DEPDIR)/libvirt_lxc-domain_conf.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-domain_conf.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-domain_conf.Tpo -c -o libvirt_lxc-domain_conf.obj `if test -f 'domain_conf.c'; then $(CYGPATH_W) 'domain_conf.c'; else $(CYGPATH_W) '$(srcdir)/domain_conf.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-domain_conf.Tpo $(DEPDIR)/libvirt_lxc-domain_conf.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='domain_conf.c' object='libvirt_lxc-domain_conf.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-domain_conf.obj `if test -f 'domain_conf.c'; then $(CYGPATH_W) 'domain_conf.c'; else $(CYGPATH_W) '$(srcdir)/domain_conf.c'; fi` + + libvirt_lxc-nodeinfo.o: nodeinfo.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-nodeinfo.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-nodeinfo.Tpo -c -o libvirt_lxc-nodeinfo.o `test -f 'nodeinfo.c' || echo '$(srcdir)/'`nodeinfo.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-nodeinfo.Tpo $(DEPDIR)/libvirt_lxc-nodeinfo.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-nodeinfo.o -MD -MP -MF $(DEPDIR)/libvirt_lxc-nodeinfo.Tpo -c -o libvirt_lxc-nodeinfo.o `test -f 'nodeinfo.c' || echo '$(srcdir)/'`nodeinfo.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-nodeinfo.Tpo $(DEPDIR)/libvirt_lxc-nodeinfo.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nodeinfo.c' object='libvirt_lxc-nodeinfo.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-nodeinfo.o `test -f 'nodeinfo.c' || echo '$(srcdir)/'`nodeinfo.c + + libvirt_lxc-nodeinfo.obj: nodeinfo.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-nodeinfo.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-nodeinfo.Tpo -c -o libvirt_lxc-nodeinfo.obj `if test -f 'nodeinfo.c'; then $(CYGPATH_W) 'nodeinfo.c'; else $(CYGPATH_W) '$(srcdir)/nodeinfo.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_lxc-nodeinfo.Tpo $(DEPDIR)/libvirt_lxc-nodeinfo.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -MT libvirt_lxc-nodeinfo.obj -MD -MP -MF $(DEPDIR)/libvirt_lxc-nodeinfo.Tpo -c -o libvirt_lxc-nodeinfo.obj `if test -f 'nodeinfo.c'; then $(CYGPATH_W) 'nodeinfo.c'; else $(CYGPATH_W) '$(srcdir)/nodeinfo.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_lxc-nodeinfo.Tpo $(DEPDIR)/libvirt_lxc-nodeinfo.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nodeinfo.c' object='libvirt_lxc-nodeinfo.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_lxc_CFLAGS) $(CFLAGS) -c -o libvirt_lxc-nodeinfo.obj `if test -f 'nodeinfo.c'; then $(CYGPATH_W) 'nodeinfo.c'; else $(CYGPATH_W) '$(srcdir)/nodeinfo.c'; fi` + + libvirt_parthelper-parthelper.o: parthelper.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_parthelper_CFLAGS) $(CFLAGS) -MT libvirt_parthelper-parthelper.o -MD -MP -MF $(DEPDIR)/libvirt_parthelper-parthelper.Tpo -c -o libvirt_parthelper-parthelper.o `test -f 'parthelper.c' || echo '$(srcdir)/'`parthelper.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_parthelper-parthelper.Tpo $(DEPDIR)/libvirt_parthelper-parthelper.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_parthelper_CFLAGS) $(CFLAGS) -MT libvirt_parthelper-parthelper.o -MD -MP -MF $(DEPDIR)/libvirt_parthelper-parthelper.Tpo -c -o libvirt_parthelper-parthelper.o `test -f 'parthelper.c' || echo '$(srcdir)/'`parthelper.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_parthelper-parthelper.Tpo $(DEPDIR)/libvirt_parthelper-parthelper.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parthelper.c' object='libvirt_parthelper-parthelper.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_parthelper_CFLAGS) $(CFLAGS) -c -o libvirt_parthelper-parthelper.o `test -f 'parthelper.c' || echo '$(srcdir)/'`parthelper.c + + libvirt_parthelper-parthelper.obj: parthelper.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_parthelper_CFLAGS) $(CFLAGS) -MT libvirt_parthelper-parthelper.obj -MD -MP -MF $(DEPDIR)/libvirt_parthelper-parthelper.Tpo -c -o libvirt_parthelper-parthelper.obj `if test -f 'parthelper.c'; then $(CYGPATH_W) 'parthelper.c'; else $(CYGPATH_W) '$(srcdir)/parthelper.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_parthelper-parthelper.Tpo $(DEPDIR)/libvirt_parthelper-parthelper.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_parthelper_CFLAGS) $(CFLAGS) -MT libvirt_parthelper-parthelper.obj -MD -MP -MF $(DEPDIR)/libvirt_parthelper-parthelper.Tpo -c -o libvirt_parthelper-parthelper.obj `if test -f 'parthelper.c'; then $(CYGPATH_W) 'parthelper.c'; else $(CYGPATH_W) '$(srcdir)/parthelper.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libvirt_parthelper-parthelper.Tpo $(DEPDIR)/libvirt_parthelper-parthelper.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parthelper.c' object='libvirt_parthelper-parthelper.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_parthelper_CFLAGS) $(CFLAGS) -c -o libvirt_parthelper-parthelper.obj `if test -f 'parthelper.c'; then $(CYGPATH_W) 'parthelper.c'; else $(CYGPATH_W) '$(srcdir)/parthelper.c'; fi` + + virsh-console.o: console.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -MT virsh-console.o -MD -MP -MF $(DEPDIR)/virsh-console.Tpo -c -o virsh-console.o `test -f 'console.c' || echo '$(srcdir)/'`console.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virsh-console.Tpo $(DEPDIR)/virsh-console.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -MT virsh-console.o -MD -MP -MF $(DEPDIR)/virsh-console.Tpo -c -o virsh-console.o `test -f 'console.c' || echo '$(srcdir)/'`console.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/virsh-console.Tpo $(DEPDIR)/virsh-console.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='console.c' object='virsh-console.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -c -o virsh-console.o `test -f 'console.c' || echo '$(srcdir)/'`console.c + + virsh-console.obj: console.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -MT virsh-console.obj -MD -MP -MF $(DEPDIR)/virsh-console.Tpo -c -o virsh-console.obj `if test -f 'console.c'; then $(CYGPATH_W) 'console.c'; else $(CYGPATH_W) '$(srcdir)/console.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virsh-console.Tpo $(DEPDIR)/virsh-console.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -MT virsh-console.obj -MD -MP -MF $(DEPDIR)/virsh-console.Tpo -c -o virsh-console.obj `if test -f 'console.c'; then $(CYGPATH_W) 'console.c'; else $(CYGPATH_W) '$(srcdir)/console.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/virsh-console.Tpo $(DEPDIR)/virsh-console.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='console.c' object='virsh-console.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -c -o virsh-console.obj `if test -f 'console.c'; then $(CYGPATH_W) 'console.c'; else $(CYGPATH_W) '$(srcdir)/console.c'; fi` + + virsh-virsh.o: virsh.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -MT virsh-virsh.o -MD -MP -MF $(DEPDIR)/virsh-virsh.Tpo -c -o virsh-virsh.o `test -f 'virsh.c' || echo '$(srcdir)/'`virsh.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virsh-virsh.Tpo $(DEPDIR)/virsh-virsh.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -MT virsh-virsh.o -MD -MP -MF $(DEPDIR)/virsh-virsh.Tpo -c -o virsh-virsh.o `test -f 'virsh.c' || echo '$(srcdir)/'`virsh.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/virsh-virsh.Tpo $(DEPDIR)/virsh-virsh.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virsh.c' object='virsh-virsh.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -c -o virsh-virsh.o `test -f 'virsh.c' || echo '$(srcdir)/'`virsh.c + + virsh-virsh.obj: virsh.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -MT virsh-virsh.obj -MD -MP -MF $(DEPDIR)/virsh-virsh.Tpo -c -o virsh-virsh.obj `if test -f 'virsh.c'; then $(CYGPATH_W) 'virsh.c'; else $(CYGPATH_W) '$(srcdir)/virsh.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virsh-virsh.Tpo $(DEPDIR)/virsh-virsh.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -MT virsh-virsh.obj -MD -MP -MF $(DEPDIR)/virsh-virsh.Tpo -c -o virsh-virsh.obj `if test -f 'virsh.c'; then $(CYGPATH_W) 'virsh.c'; else $(CYGPATH_W) '$(srcdir)/virsh.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/virsh-virsh.Tpo $(DEPDIR)/virsh-virsh.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virsh.c' object='virsh-virsh.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virsh_CFLAGS) $(CFLAGS) -c -o virsh-virsh.obj `if test -f 'virsh.c'; then $(CYGPATH_W) 'virsh.c'; else $(CYGPATH_W) '$(srcdir)/virsh.c'; fi` + ++virt_aa_helper-virt-aa-helper.o: virt-aa-helper.c ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_aa_helper_CFLAGS) $(CFLAGS) -MT virt_aa_helper-virt-aa-helper.o -MD -MP -MF $(DEPDIR)/virt_aa_helper-virt-aa-helper.Tpo -c -o virt_aa_helper-virt-aa-helper.o `test -f 'virt-aa-helper.c' || echo '$(srcdir)/'`virt-aa-helper.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/virt_aa_helper-virt-aa-helper.Tpo $(DEPDIR)/virt_aa_helper-virt-aa-helper.Po ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-aa-helper.c' object='virt_aa_helper-virt-aa-helper.o' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ ++@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_aa_helper_CFLAGS) $(CFLAGS) -c -o virt_aa_helper-virt-aa-helper.o `test -f 'virt-aa-helper.c' || echo '$(srcdir)/'`virt-aa-helper.c ++ ++virt_aa_helper-virt-aa-helper.obj: virt-aa-helper.c ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_aa_helper_CFLAGS) $(CFLAGS) -MT virt_aa_helper-virt-aa-helper.obj -MD -MP -MF $(DEPDIR)/virt_aa_helper-virt-aa-helper.Tpo -c -o virt_aa_helper-virt-aa-helper.obj `if test -f 'virt-aa-helper.c'; then $(CYGPATH_W) 'virt-aa-helper.c'; else $(CYGPATH_W) '$(srcdir)/virt-aa-helper.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/virt_aa_helper-virt-aa-helper.Tpo $(DEPDIR)/virt_aa_helper-virt-aa-helper.Po ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='virt-aa-helper.c' object='virt_aa_helper-virt-aa-helper.obj' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ ++@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_aa_helper_CFLAGS) $(CFLAGS) -c -o virt_aa_helper-virt-aa-helper.obj `if test -f 'virt-aa-helper.c'; then $(CYGPATH_W) 'virt-aa-helper.c'; else $(CYGPATH_W) '$(srcdir)/virt-aa-helper.c'; fi` ++ + mostlyclean-libtool: + -rm -f *.lo + +@@ -3014,23 +2879,20 @@ + install-confDATA: $(conf_DATA) + @$(NORMAL_INSTALL) + test -z "$(confdir)" || $(MKDIR_P) "$(DESTDIR)$(confdir)" +- @list='$(conf_DATA)'; test -n "$(confdir)" || list=; \ +- for p in $$list; do \ ++ @list='$(conf_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confdir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(confdir)" || exit $$?; \ ++ f=$(am__strip_dir) \ ++ echo " $(confDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(confdir)/$$f'"; \ ++ $(confDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(confdir)/$$f"; \ + done + + uninstall-confDATA: + @$(NORMAL_UNINSTALL) +- @list='$(conf_DATA)'; test -n "$(confdir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- test -n "$$files" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(confdir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(confdir)" && rm -f $$files ++ @list='$(conf_DATA)'; for p in $$list; do \ ++ f=$(am__strip_dir) \ ++ echo " rm -f '$(DESTDIR)$(confdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(confdir)/$$f"; \ ++ done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -3044,7 +2906,7 @@ + + TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ +@@ -3052,34 +2914,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -3100,17 +2957,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -3146,7 +2999,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + + maintainer-clean-generic: +@@ -3171,8 +3023,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -3181,29 +3031,19 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: install-binPROGRAMS install-exec-local \ + install-libLTLIBRARIES install-libexecPROGRAMS + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -3228,7 +3068,7 @@ + uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \ + uninstall-modLTLIBRARIES + +-.MAKE: all check install install-am install-strip ++.MAKE: install-am install-strip + + .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \ +@@ -3335,7 +3175,6 @@ + @WITH_NETWORK_TRUE@ $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/iptables/nat" + @WITH_NETWORK_TRUE@ $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/network" + @WITH_NETWORK_TRUE@ $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run/libvirt/network" +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/tests/Makefile.in libvirt-0.7.0.new/tests/Makefile.in +--- libvirt-0.7.0/tests/Makefile.in 2009-08-05 08:57:40.000000000 -0500 ++++ libvirt-0.7.0.new/tests/Makefile.in 2009-08-13 22:45:31.694006510 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -177,7 +175,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = + @WITH_XEN_TRUE@am__EXEEXT_1 = xml2sexprtest$(EXEEXT) \ + @WITH_XEN_TRUE@ sexpr2xmltest$(EXEEXT) reconnect$(EXEEXT) \ + @WITH_XEN_TRUE@ xmconfigtest$(EXEEXT) xencapstest$(EXEEXT) +@@ -198,9 +195,6 @@ + ../gnulib/lib/libgnu.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) + conftest_DEPENDENCIES = $(am__DEPENDENCIES_2) +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +-am__v_lt_0 = --silent + am__eventtest_SOURCES_DIST = eventtest.c testutils.h testutils.c \ + ../qemud/event.c + @WITH_LIBVIRTD_TRUE@am_eventtest_OBJECTS = eventtest.$(OBJEXT) \ +@@ -309,29 +303,15 @@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles +-am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ + SOURCES = $(conftest_SOURCES) $(eventtest_SOURCES) \ + $(interfacexml2xmltest_SOURCES) $(nodedevxml2xmltest_SOURCES) \ + $(nodeinfotest_SOURCES) $(object_locking_SOURCES) \ +@@ -363,13 +343,8 @@ + ps-recursive uninstall-recursive + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir + ETAGS = etags + CTAGS = ctags +-am__tty_colors = \ +-red=; grn=; lgn=; blu=; std= + @WITH_XEN_TRUE@am__EXEEXT_6 = xml2sexprtest$(EXEEXT) \ + @WITH_XEN_TRUE@ sexpr2xmltest$(EXEEXT) xmconfigtest$(EXEEXT) \ + @WITH_XEN_TRUE@ xencapstest$(EXEEXT) +@@ -377,36 +352,12 @@ + @ENABLE_XEN_TESTS_TRUE@@WITH_XEN_TRUE@ reconnect$(EXEEXT) + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +-am__relativize = \ +- dir0=`pwd`; \ +- sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +- sed_rest='s,^[^/]*/*,,'; \ +- sed_last='s,^.*/\([^/]*\)$$,\1,'; \ +- sed_butlast='s,/*[^/]*$$,,'; \ +- while test -n "$$dir1"; do \ +- first=`echo "$$dir1" | sed -e "$$sed_first"`; \ +- if test "$$first" != "."; then \ +- if test "$$first" = ".."; then \ +- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ +- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ +- else \ +- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ +- if test "$$first2" = "$$first"; then \ +- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ +- else \ +- dir2="../$$dir2"; \ +- fi; \ +- dir0="$$dir0"/"$$first"; \ +- fi; \ +- fi; \ +- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ +- done; \ +- reldir="$$dir2" + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -825,6 +776,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -1178,9 +1130,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu tests/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu tests/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -1198,73 +1150,70 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + clean-noinstPROGRAMS: +- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ +- echo " rm -f" $$list; \ +- rm -f $$list || exit $$?; \ +- test -n "$(EXEEXT)" || exit 0; \ +- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ +- echo " rm -f" $$list; \ +- rm -f $$list ++ @list='$(noinst_PROGRAMS)'; for p in $$list; do \ ++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ ++ echo " rm -f $$p $$f"; \ ++ rm -f $$p $$f ; \ ++ done + conftest$(EXEEXT): $(conftest_OBJECTS) $(conftest_DEPENDENCIES) + @rm -f conftest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(conftest_OBJECTS) $(conftest_LDADD) $(LIBS) ++ $(LINK) $(conftest_OBJECTS) $(conftest_LDADD) $(LIBS) + eventtest$(EXEEXT): $(eventtest_OBJECTS) $(eventtest_DEPENDENCIES) + @rm -f eventtest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(eventtest_OBJECTS) $(eventtest_LDADD) $(LIBS) ++ $(LINK) $(eventtest_OBJECTS) $(eventtest_LDADD) $(LIBS) + interfacexml2xmltest$(EXEEXT): $(interfacexml2xmltest_OBJECTS) $(interfacexml2xmltest_DEPENDENCIES) + @rm -f interfacexml2xmltest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(interfacexml2xmltest_OBJECTS) $(interfacexml2xmltest_LDADD) $(LIBS) ++ $(LINK) $(interfacexml2xmltest_OBJECTS) $(interfacexml2xmltest_LDADD) $(LIBS) + nodedevxml2xmltest$(EXEEXT): $(nodedevxml2xmltest_OBJECTS) $(nodedevxml2xmltest_DEPENDENCIES) + @rm -f nodedevxml2xmltest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(nodedevxml2xmltest_OBJECTS) $(nodedevxml2xmltest_LDADD) $(LIBS) ++ $(LINK) $(nodedevxml2xmltest_OBJECTS) $(nodedevxml2xmltest_LDADD) $(LIBS) + nodeinfotest$(EXEEXT): $(nodeinfotest_OBJECTS) $(nodeinfotest_DEPENDENCIES) + @rm -f nodeinfotest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(nodeinfotest_OBJECTS) $(nodeinfotest_LDADD) $(LIBS) ++ $(LINK) $(nodeinfotest_OBJECTS) $(nodeinfotest_LDADD) $(LIBS) + @WITH_CIL_FALSE@object-locking$(EXEEXT): $(object_locking_OBJECTS) $(object_locking_DEPENDENCIES) + @WITH_CIL_FALSE@ @rm -f object-locking$(EXEEXT) +-@WITH_CIL_FALSE@ $(AM_V_CCLD)$(LINK) $(object_locking_OBJECTS) $(object_locking_LDADD) $(LIBS) ++@WITH_CIL_FALSE@ $(LINK) $(object_locking_OBJECTS) $(object_locking_LDADD) $(LIBS) + qemuargv2xmltest$(EXEEXT): $(qemuargv2xmltest_OBJECTS) $(qemuargv2xmltest_DEPENDENCIES) + @rm -f qemuargv2xmltest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(qemuargv2xmltest_OBJECTS) $(qemuargv2xmltest_LDADD) $(LIBS) ++ $(LINK) $(qemuargv2xmltest_OBJECTS) $(qemuargv2xmltest_LDADD) $(LIBS) + qemuhelptest$(EXEEXT): $(qemuhelptest_OBJECTS) $(qemuhelptest_DEPENDENCIES) + @rm -f qemuhelptest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(qemuhelptest_OBJECTS) $(qemuhelptest_LDADD) $(LIBS) ++ $(LINK) $(qemuhelptest_OBJECTS) $(qemuhelptest_LDADD) $(LIBS) + qemuxml2argvtest$(EXEEXT): $(qemuxml2argvtest_OBJECTS) $(qemuxml2argvtest_DEPENDENCIES) + @rm -f qemuxml2argvtest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(qemuxml2argvtest_OBJECTS) $(qemuxml2argvtest_LDADD) $(LIBS) ++ $(LINK) $(qemuxml2argvtest_OBJECTS) $(qemuxml2argvtest_LDADD) $(LIBS) + qemuxml2xmltest$(EXEEXT): $(qemuxml2xmltest_OBJECTS) $(qemuxml2xmltest_DEPENDENCIES) + @rm -f qemuxml2xmltest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(qemuxml2xmltest_OBJECTS) $(qemuxml2xmltest_LDADD) $(LIBS) ++ $(LINK) $(qemuxml2xmltest_OBJECTS) $(qemuxml2xmltest_LDADD) $(LIBS) + qparamtest$(EXEEXT): $(qparamtest_OBJECTS) $(qparamtest_DEPENDENCIES) + @rm -f qparamtest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(qparamtest_OBJECTS) $(qparamtest_LDADD) $(LIBS) ++ $(LINK) $(qparamtest_OBJECTS) $(qparamtest_LDADD) $(LIBS) + reconnect$(EXEEXT): $(reconnect_OBJECTS) $(reconnect_DEPENDENCIES) + @rm -f reconnect$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(reconnect_OBJECTS) $(reconnect_LDADD) $(LIBS) ++ $(LINK) $(reconnect_OBJECTS) $(reconnect_LDADD) $(LIBS) + seclabeltest$(EXEEXT): $(seclabeltest_OBJECTS) $(seclabeltest_DEPENDENCIES) + @rm -f seclabeltest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(seclabeltest_OBJECTS) $(seclabeltest_LDADD) $(LIBS) ++ $(LINK) $(seclabeltest_OBJECTS) $(seclabeltest_LDADD) $(LIBS) + sexpr2xmltest$(EXEEXT): $(sexpr2xmltest_OBJECTS) $(sexpr2xmltest_DEPENDENCIES) + @rm -f sexpr2xmltest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(sexpr2xmltest_OBJECTS) $(sexpr2xmltest_LDADD) $(LIBS) ++ $(LINK) $(sexpr2xmltest_OBJECTS) $(sexpr2xmltest_LDADD) $(LIBS) + statstest$(EXEEXT): $(statstest_OBJECTS) $(statstest_DEPENDENCIES) + @rm -f statstest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(statstest_OBJECTS) $(statstest_LDADD) $(LIBS) ++ $(LINK) $(statstest_OBJECTS) $(statstest_LDADD) $(LIBS) + virshtest$(EXEEXT): $(virshtest_OBJECTS) $(virshtest_DEPENDENCIES) + @rm -f virshtest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(virshtest_OBJECTS) $(virshtest_LDADD) $(LIBS) ++ $(LINK) $(virshtest_OBJECTS) $(virshtest_LDADD) $(LIBS) + xencapstest$(EXEEXT): $(xencapstest_OBJECTS) $(xencapstest_DEPENDENCIES) + @rm -f xencapstest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(xencapstest_OBJECTS) $(xencapstest_LDADD) $(LIBS) ++ $(LINK) $(xencapstest_OBJECTS) $(xencapstest_LDADD) $(LIBS) + xmconfigtest$(EXEEXT): $(xmconfigtest_OBJECTS) $(xmconfigtest_DEPENDENCIES) + @rm -f xmconfigtest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(xmconfigtest_OBJECTS) $(xmconfigtest_LDADD) $(LIBS) ++ $(LINK) $(xmconfigtest_OBJECTS) $(xmconfigtest_LDADD) $(LIBS) + xml2sexprtest$(EXEEXT): $(xml2sexprtest_OBJECTS) $(xml2sexprtest_DEPENDENCIES) + @rm -f xml2sexprtest$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(xml2sexprtest_OBJECTS) $(xml2sexprtest_LDADD) $(LIBS) ++ $(LINK) $(xml2sexprtest_OBJECTS) $(xml2sexprtest_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -1296,41 +1245,36 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xml2sexprtest.Po@am__quote@ + + .c.o: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c $< + + .c.obj: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + + event.o: ../qemud/event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.o -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.o `test -f '../qemud/event.c' || echo '$(srcdir)/'`../qemud/event.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.o -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.o `test -f '../qemud/event.c' || echo '$(srcdir)/'`../qemud/event.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../qemud/event.c' object='event.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o event.o `test -f '../qemud/event.c' || echo '$(srcdir)/'`../qemud/event.c + + event.obj: ../qemud/event.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.obj -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.obj `if test -f '../qemud/event.c'; then $(CYGPATH_W) '../qemud/event.c'; else $(CYGPATH_W) '$(srcdir)/../qemud/event.c'; fi` +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.obj -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.obj `if test -f '../qemud/event.c'; then $(CYGPATH_W) '../qemud/event.c'; else $(CYGPATH_W) '$(srcdir)/../qemud/event.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../qemud/event.c' object='event.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o event.obj `if test -f '../qemud/event.c'; then $(CYGPATH_W) '../qemud/event.c'; else $(CYGPATH_W) '$(srcdir)/../qemud/event.c'; fi` +@@ -1365,7 +1309,7 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ +@@ -1399,16 +1343,16 @@ + else \ + local_target="$$target"; \ + fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ ++ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" + tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ ++ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +@@ -1423,7 +1367,7 @@ + + TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) +- set x; \ ++ tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ +@@ -1435,7 +1379,7 @@ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ +- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ ++ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +@@ -1444,34 +1388,29 @@ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- shift; \ +- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ ++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +- if test $$# -gt 0; then \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- "$$@" $$unique; \ +- else \ +- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +- $$unique; \ +- fi; \ ++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ ++ $$tags $$unique; \ + fi + ctags: CTAGS + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) ++ tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ +- test -z "$(CTAGS_ARGS)$$unique" \ ++ test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ +- $$unique ++ $$tags $$unique + + GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ +- && $(am__cd) $(top_srcdir) \ +- && gtags -i $(GTAGS_ARGS) "$$here" ++ && cd $(top_srcdir) \ ++ && gtags -i $(GTAGS_ARGS) $$here + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1480,7 +1419,6 @@ + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ +- $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ +@@ -1492,10 +1430,10 @@ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ +- col=$$red; res=XPASS; \ ++ echo "XPASS: $$tst"; \ + ;; \ + *) \ +- col=$$grn; res=PASS; \ ++ echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ +@@ -1503,18 +1441,17 @@ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ +- col=$$lgn; res=XFAIL; \ ++ echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ +- col=$$red; res=FAIL; \ ++ echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ +- col=$$blu; res=SKIP; \ ++ echo "SKIP: $$tst"; \ + fi; \ +- echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ +@@ -1556,15 +1493,11 @@ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ +- if test "$$failed" -eq 0; then \ +- echo "$$grn$$dashes"; \ +- else \ +- echo "$$red$$dashes"; \ +- fi; \ ++ echo "$$dashes"; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ +- echo "$$dashes$$std"; \ ++ echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi + +@@ -1584,44 +1517,29 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ ++ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ +- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ +- $(am__relativize); \ +- new_distdir=$$reldir; \ +- dir1=$$subdir; dir2="$(top_distdir)"; \ +- $(am__relativize); \ +- new_top_distdir=$$reldir; \ +- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ +- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ +- ($(am__cd) $$subdir && \ ++ distdir=`$(am__cd) $(distdir) && pwd`; \ ++ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ ++ (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ +- top_distdir="$$new_top_distdir" \ +- distdir="$$new_distdir" \ ++ top_distdir="$$top_distdir" \ ++ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ +- am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ +@@ -1653,7 +1571,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -1675,8 +1592,6 @@ + + html: html-recursive + +-html-am: +- + info: info-recursive + + info-am: +@@ -1685,28 +1600,18 @@ + + install-dvi: install-dvi-recursive + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-recursive + +-install-html-am: +- + install-info: install-info-recursive + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-recursive + +-install-pdf-am: +- + install-ps: install-ps-recursive + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-recursive +@@ -1729,8 +1634,8 @@ + + uninstall-am: + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \ +- ctags-recursive install-am install-strip tags-recursive ++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ ++ install-strip + + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-TESTS check-am clean clean-generic \ +@@ -1759,7 +1664,6 @@ + + @WITH_CIL_TRUE@object-locking-files.txt: + @WITH_CIL_TRUE@ find $(top_builddir)/src/ -name '*.i' > $@ +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/tests/confdata/Makefile.in libvirt-0.7.0.new/tests/confdata/Makefile.in +--- libvirt-0.7.0/tests/confdata/Makefile.in 2009-08-05 08:57:40.000000000 -0500 ++++ libvirt-0.7.0.new/tests/confdata/Makefile.in 2009-08-13 22:45:31.906006041 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -138,7 +129,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -557,6 +549,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -768,9 +761,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/confdata/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu tests/confdata/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/confdata/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu tests/confdata/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -788,7 +781,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -818,17 +810,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -856,7 +844,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -875,8 +862,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -885,28 +870,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -940,7 +915,6 @@ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/tests/sexpr2xmldata/Makefile.in libvirt-0.7.0.new/tests/sexpr2xmldata/Makefile.in +--- libvirt-0.7.0/tests/sexpr2xmldata/Makefile.in 2009-08-05 08:57:40.000000000 -0500 ++++ libvirt-0.7.0.new/tests/sexpr2xmldata/Makefile.in 2009-08-13 22:45:32.114005915 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -138,7 +129,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -557,6 +549,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -768,9 +761,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/sexpr2xmldata/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu tests/sexpr2xmldata/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/sexpr2xmldata/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu tests/sexpr2xmldata/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -788,7 +781,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -818,17 +810,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -856,7 +844,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -875,8 +862,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -885,28 +870,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -940,7 +915,6 @@ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/tests/xencapsdata/Makefile.in libvirt-0.7.0.new/tests/xencapsdata/Makefile.in +--- libvirt-0.7.0/tests/xencapsdata/Makefile.in 2009-08-05 08:57:41.000000000 -0500 ++++ libvirt-0.7.0.new/tests/xencapsdata/Makefile.in 2009-08-13 22:45:32.326006012 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -138,7 +129,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -557,6 +549,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -768,9 +761,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/xencapsdata/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu tests/xencapsdata/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/xencapsdata/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu tests/xencapsdata/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -788,7 +781,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -818,17 +810,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -856,7 +844,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -875,8 +862,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -885,28 +870,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -940,7 +915,6 @@ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/tests/xmconfigdata/Makefile.in libvirt-0.7.0.new/tests/xmconfigdata/Makefile.in +--- libvirt-0.7.0/tests/xmconfigdata/Makefile.in 2009-08-05 08:57:41.000000000 -0500 ++++ libvirt-0.7.0.new/tests/xmconfigdata/Makefile.in 2009-08-13 22:45:32.534005966 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -138,7 +129,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -557,6 +549,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -768,9 +761,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/xmconfigdata/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu tests/xmconfigdata/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/xmconfigdata/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu tests/xmconfigdata/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -788,7 +781,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -818,17 +810,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -856,7 +844,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -875,8 +862,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -885,28 +870,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -940,7 +915,6 @@ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/tests/xml2sexprdata/Makefile.in libvirt-0.7.0.new/tests/xml2sexprdata/Makefile.in +--- libvirt-0.7.0/tests/xml2sexprdata/Makefile.in 2009-08-05 08:57:41.000000000 -0500 ++++ libvirt-0.7.0.new/tests/xml2sexprdata/Makefile.in 2009-08-13 22:45:32.742005847 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,9 +15,8 @@ + @SET_MAKE@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -124,13 +122,6 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -138,7 +129,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -557,6 +549,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -768,9 +761,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/xml2sexprdata/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu tests/xml2sexprdata/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/xml2sexprdata/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu tests/xml2sexprdata/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -788,7 +781,6 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + + mostlyclean-libtool: + -rm -f *.lo +@@ -818,17 +810,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -856,7 +844,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -875,8 +862,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -885,28 +870,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -940,7 +915,6 @@ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +diff -Nur libvirt-0.7.0/tools/Makefile.in libvirt-0.7.0.new/tools/Makefile.in +--- libvirt-0.7.0/tools/Makefile.in 2009-08-05 08:57:41.000000000 -0500 ++++ libvirt-0.7.0.new/tools/Makefile.in 2009-08-13 22:45:32.962005966 -0500 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.10.2 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -17,9 +16,8 @@ + + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkgincludedir = $(includedir)/@PACKAGE@ + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c +@@ -125,36 +123,9 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-CONFIG_CLEAN_VPATH_FILES = +-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +-am__vpath_adj = case $$p in \ +- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ +- *) f=$$p;; \ +- esac; +-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +-am__install_max = 40 +-am__nobase_strip_setup = \ +- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +-am__nobase_strip = \ +- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +-am__nobase_list = $(am__nobase_strip_setup); \ +- for p in $$list; do echo "$$p $$p"; done | \ +- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ +- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ +- if (++n[$$2] == $(am__install_max)) \ +- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ +- END { for (dir in files) print dir, files[dir] }' +-am__base_list = \ +- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ +- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' + am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" ++binSCRIPT_INSTALL = $(INSTALL_SCRIPT) + SCRIPTS = $(bin_SCRIPTS) +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ + SOURCES = + DIST_SOURCES = + man1dir = $(mandir)/man1 +@@ -165,7 +136,8 @@ + ALLOCA = @ALLOCA@ + ALLOCA_H = @ALLOCA_H@ + AMTAR = @AMTAR@ +-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ++APPARMOR_CFLAGS = @APPARMOR_CFLAGS@ ++APPARMOR_LIBS = @APPARMOR_LIBS@ + APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ + AR = @AR@ + ARPA_INET_H = @ARPA_INET_H@ +@@ -584,6 +556,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PARTED = @PARTED@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +@@ -800,9 +773,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/Makefile'; \ +- $(am__cd) $(top_srcdir) && \ +- $(AUTOMAKE) --gnu tools/Makefile ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/Makefile'; \ ++ cd $(top_srcdir) && \ ++ $(AUTOMAKE) --gnu tools/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +@@ -820,81 +793,76 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +-$(am__aclocal_m4_deps): + install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" +- @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ +- for p in $$list; do \ ++ @list='$(bin_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ +- done | \ +- sed -e 'p;s,.*/,,;n' \ +- -e 'h;s|.*|.|' \ +- -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ +- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ +- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ +- if ($$2 == $$4) { files[d] = files[d] " " $$1; \ +- if (++n[d] == $(am__install_max)) { \ +- print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ +- else { print "f", d "/" $$4, $$1 } } \ +- END { for (d in files) print "f", d, files[d] }' | \ +- while read type dir files; do \ +- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ +- test -z "$$files" || { \ +- echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ +- $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ +- } \ +- ; done ++ if test -f $$d$$p; then \ ++ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ ++ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ ++ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ ++ else :; fi; \ ++ done + + uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) +- @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ +- files=`for p in $$list; do echo "$$p"; done | \ +- sed -e 's,.*/,,;$(transform)'`; \ +- test -n "$$list" || exit 0; \ +- echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(bindir)" && rm -f $$files ++ @list='$(bin_SCRIPTS)'; for p in $$list; do \ ++ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ ++ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(bindir)/$$f"; \ ++ done + + mostlyclean-libtool: + -rm -f *.lo + + clean-libtool: + -rm -rf .libs _libs +-install-man1: $(man1_MANS) ++install-man1: $(man1_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" +- @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ +- { for i in $$list; do echo "$$i"; done; \ +- } | while read p; do \ +- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; echo "$$p"; \ +- done | \ +- sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ +- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ +- sed 'N;N;s,\n, ,g' | { \ +- list=; while read file base inst; do \ +- if test "$$base" = "$$inst"; then list="$$list $$file"; else \ +- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ +- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ +- fi; \ ++ @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ ++ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ ++ for i in $$l2; do \ ++ case "$$i" in \ ++ *.1*) list="$$list $$i" ;; \ ++ esac; \ + done; \ +- for i in $$list; do echo "$$i"; done | $(am__base_list) | \ +- while read files; do \ +- test -z "$$files" || { \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ +- done; } +- ++ for i in $$list; do \ ++ if test -f $$i; then file=$$i; \ ++ else file=$(srcdir)/$$i; fi; \ ++ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ++ case "$$ext" in \ ++ 1*) ;; \ ++ *) ext='1' ;; \ ++ esac; \ ++ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ ++ inst=`echo $$inst | sed -e 's/^.*\///'`; \ ++ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ ++ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ ++ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ ++ done + uninstall-man1: + @$(NORMAL_UNINSTALL) +- @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ +- files=`{ for i in $$list; do echo "$$i"; done; \ +- } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ +- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ +- test -z "$$files" || { \ +- echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } ++ @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ ++ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ ++ for i in $$l2; do \ ++ case "$$i" in \ ++ *.1*) list="$$list $$i" ;; \ ++ esac; \ ++ done; \ ++ for i in $$list; do \ ++ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ++ case "$$ext" in \ ++ 1*) ;; \ ++ *) ext='1' ;; \ ++ esac; \ ++ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ ++ inst=`echo $$inst | sed -e 's/^.*\///'`; \ ++ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ ++ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ ++ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ ++ done + tags: TAGS + TAGS: + +@@ -903,19 +871,6 @@ + + + distdir: $(DISTFILES) +- @list='$(MANS)'; if test -n "$$list"; then \ +- list=`for p in $$list; do \ +- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ +- if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ +- if test -n "$$list" && \ +- grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ +- echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ +- grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ +- echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ +- echo " typically \`make maintainer-clean' will remove them" >&2; \ +- exit 1; \ +- else :; fi; \ +- else :; fi + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ +@@ -931,17 +886,13 @@ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ +- if test -d "$(distdir)/$$file"; then \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ +- fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ +- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ +- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ ++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ +- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ ++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ +- test -f "$(distdir)/$$file" \ +- || cp -p $$d/$$file "$(distdir)/$$file" \ ++ test -f $(distdir)/$$file \ ++ || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +@@ -973,7 +924,6 @@ + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -992,8 +942,6 @@ + + html: html-am + +-html-am: +- + info: info-am + + info-am: +@@ -1002,28 +950,18 @@ + + install-dvi: install-dvi-am + +-install-dvi-am: +- + install-exec-am: install-binSCRIPTS + + install-html: install-html-am + +-install-html-am: +- + install-info: install-info-am + +-install-info-am: +- + install-man: install-man1 + + install-pdf: install-pdf-am + +-install-pdf-am: +- + install-ps: install-ps-am + +-install-ps-am: +- + installcheck-am: + + maintainer-clean: maintainer-clean-am +@@ -1068,7 +1006,6 @@ + + %.1: % + pod2man -c "Virtualization Support" -r "$(PACKAGE)-$(VERSION)" $< $@ +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: --- libvirt-0.7.0.orig/debian/apparmor/libvirt-qemu +++ libvirt-0.7.0/debian/apparmor/libvirt-qemu @@ -0,0 +1,71 @@ +# Last Modified: Wed Jul 8 09:57:41 2009 + + #include + #include + #include + + # required for reading disk images + capability dac_override, + capability dac_read_search, + capability chown, + + network inet stream, + network inet6 stream, + + /dev/net/tun rw, + /dev/kvm rw, + /dev/ptmx rw, + /dev/kqemu rw, + + # WARNING: uncommenting these gives the guest direct access to host hardware. + # This is required for USB pass through but is a security risk. You have been + # warned. + #/sys/bus/usb/devices/ r, + #/sys/devices/*/*/usb[0-9]*/** r, + #/dev/bus/usb/*/[0-9]* rw, + + /usr/share/kvm/** r, + /usr/share/qemu/** r, + /usr/share/bochs/** r, + /usr/share/openbios/** r, + /usr/share/openhackware/** r, + /usr/share/proll/** r, + /usr/share/vgabios/** r, + + # the various binaries + /usr/bin/kvm rmix, + /usr/bin/qemu rmix, + /usr/bin/qemu-system-arm rmix, + /usr/bin/qemu-system-cris rmix, + /usr/bin/qemu-system-i386 rmix, + /usr/bin/qemu-system-m68k rmix, + /usr/bin/qemu-system-mips rmix, + /usr/bin/qemu-system-mips64 rmix, + /usr/bin/qemu-system-mips64el rmix, + /usr/bin/qemu-system-mipsel rmix, + /usr/bin/qemu-system-ppc rmix, + /usr/bin/qemu-system-ppc64 rmix, + /usr/bin/qemu-system-ppcemb rmix, + /usr/bin/qemu-system-sh4 rmix, + /usr/bin/qemu-system-sh4eb rmix, + /usr/bin/qemu-system-sparc rmix, + /usr/bin/qemu-system-sparc64 rmix, + /usr/bin/qemu-system-x86_64 rmix, + /usr/bin/qemu-alpha rmix, + /usr/bin/qemu-arm rmix, + /usr/bin/qemu-armeb rmix, + /usr/bin/qemu-cris rmix, + /usr/bin/qemu-i386 rmix, + /usr/bin/qemu-m68k rmix, + /usr/bin/qemu-mips rmix, + /usr/bin/qemu-mipsel rmix, + /usr/bin/qemu-ppc rmix, + /usr/bin/qemu-ppc64 rmix, + /usr/bin/qemu-ppc64abi32 rmix, + /usr/bin/qemu-sh4 rmix, + /usr/bin/qemu-sh4eb rmix, + /usr/bin/qemu-sparc rmix, + /usr/bin/qemu-sparc64 rmix, + /usr/bin/qemu-sparc32plus rmix, + /usr/bin/qemu-sparc64 rmix, + /usr/bin/qemu-x86_64 rmix, --- libvirt-0.7.0.orig/debian/apparmor/usr.sbin.libvirtd +++ libvirt-0.7.0/debian/apparmor/usr.sbin.libvirtd @@ -0,0 +1,48 @@ +# Last Modified: Mon Jul 6 17:23:58 2009 +#include +@{LIBVIRT}="libvirt" + +/usr/sbin/libvirtd { + #include + + capability kill, + capability net_admin, + capability net_raw, + capability setgid, + capability sys_admin, + capability sys_module, + capability sys_ptrace, + capability sys_nice, + capability sys_chroot, + capability setuid, + capability dac_override, + capability dac_read_search, + capability fowner, + capability chown, + capability setpcap, + capability mknod, + + network inet stream, + + # for now, use a very lenient profile since we want to first focus on + # confining the guests + /** rwmkl, + + /bin/* Ux, + /sbin/* Ux, + /usr/bin/* Ux, + /usr/sbin/* Ux, + + # force the use of virt-aa-helper + audit deny /sbin/apparmor_parser rwxl, + audit deny /etc/apparmor.d/libvirt/** wxl, + audit deny /sys/kernel/security/apparmor/features rwxl, + audit deny /sys/kernel/security/apparmor/matching rwxl, + audit deny /sys/kernel/security/apparmor/.* rwxl, + /sys/kernel/security/apparmor/profiles r, + /usr/bin/virt-aa-helper Pxr, + + # allow changing to our UUID-based named profiles + change_profile -> @{LIBVIRT}-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*, + +} --- libvirt-0.7.0.orig/debian/apparmor/usr.bin.virt-aa-helper +++ libvirt-0.7.0/debian/apparmor/usr.bin.virt-aa-helper @@ -0,0 +1,22 @@ +# Last Modified: Mon Jul 06 17:22:37 2009 +#include + +/usr/bin/virt-aa-helper { + #include + + # needed for searching directories + capability dac_override, + capability dac_read_search, + + # needed for when disk is on a network filesystem + network inet, + + deny @{PROC}/[0-9]*/mounts r, + @{PROC}/filesystems r, + + /usr/bin/virt-aa-helper mr, + /sbin/apparmor_parser Ux, + + /etc/apparmor.d/libvirt/* r, + /etc/apparmor.d/libvirt/libvirt-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* rw, +} --- libvirt-0.7.0.orig/debian/apparmor/TEMPLATE +++ libvirt-0.7.0/debian/apparmor/TEMPLATE @@ -0,0 +1,9 @@ +# +# This profile is for the domain whose UUID matches this file. +# + +#include + +profile LIBVIRT_TEMPLATE { + #include +}