Merge lp:~n-muench/ubuntu/saucy/open-vm-tools/open-vm-tools.fix-1175295 into lp:ubuntu/saucy/open-vm-tools

Proposed by Nate Muench (Mink)
Status: Superseded
Proposed branch: lp:~n-muench/ubuntu/saucy/open-vm-tools/open-vm-tools.fix-1175295
Merge into: lp:ubuntu/saucy/open-vm-tools
Diff against target: 95040 lines (+37843/-42257)
262 files modified
.pc/0002-dkms.patch/modules/linux/dkms.conf (+39/-0)
.pc/0002-procps.patch/configure (+0/-25491)
.pc/0002-procps.patch/configure.ac (+0/-1234)
.pc/0003-dkms-vmsync.patch/modules/linux/dkms.conf (+39/-0)
.pc/0003-dkms.patch/modules/linux/dkms.conf (+0/-39)
.pc/0004-dkms-vmsync.patch/modules/linux/dkms.conf (+0/-39)
.pc/0004-vsock-cve.patch/modules/linux/vsock/linux/af_vsock.c (+5444/-0)
.pc/0005-kernel-38-fixes.patch/modules/linux/shared/compat_mm.h (+0/-107)
.pc/0005-kernel-38-fixes.patch/modules/linux/vmci/linux/driver.c (+0/-2522)
.pc/applied-patches (+3/-4)
ChangeLog (+5/-0)
INSTALL (+4/-4)
Makefile.in (+71/-68)
NEWS (+13/-0)
aclocal.m4 (+172/-171)
autom4te.cache/output.0 (+607/-564)
autom4te.cache/output.1 (+607/-564)
autom4te.cache/output.2 (+607/-564)
autom4te.cache/requests (+45/-46)
autom4te.cache/traces.0 (+456/-417)
autom4te.cache/traces.1 (+605/-599)
autom4te.cache/traces.2 (+456/-417)
checkvm/Makefile.in (+31/-17)
config/compile (+1/-2)
config/config.guess (+2/-2)
config/config.sub (+10/-1)
config/depcomp (+1/-2)
config/install-sh (+7/-7)
config/missing (+49/-50)
configure (+603/-560)
configure.ac (+82/-67)
debian/changelog (+25/-0)
debian/open-vm-dkms.dkms (+0/-8)
debian/open-vm-tools.init (+1/-1)
debian/patches/0002-dkms.patch (+18/-0)
debian/patches/0002-procps.patch (+0/-27)
debian/patches/0003-dkms-vmsync.patch (+45/-0)
debian/patches/0003-dkms.patch (+0/-18)
debian/patches/0004-dkms-vmsync.patch (+0/-45)
debian/patches/0004-vsock-cve.patch (+18/-0)
debian/patches/0005-kernel-38-fixes.patch (+0/-55)
debian/patches/series (+3/-4)
debian/rules (+1/-0)
docs/Makefile.in (+46/-55)
docs/api/Makefile.in (+5/-4)
hgfsclient/Makefile.in (+31/-17)
hgfsmounter/Makefile.in (+20/-6)
lib/Makefile.am (+6/-0)
lib/Makefile.in (+60/-69)
lib/appUtil/Makefile.in (+39/-22)
lib/asyncsocket/Makefile.am (+24/-0)
lib/asyncsocket/Makefile.in (+603/-0)
lib/asyncsocket/asyncSocketInt.h (+328/-0)
lib/asyncsocket/asyncsocket.c (+4990/-0)
lib/auth/Makefile.in (+39/-22)
lib/backdoor/Makefile.in (+39/-22)
lib/dataMap/Makefile.am (+21/-0)
lib/dataMap/Makefile.in (+602/-0)
lib/dataMap/dataMap.c (+2460/-0)
lib/dict/Makefile.in (+39/-22)
lib/dynxdr/Makefile.in (+39/-22)
lib/err/Makefile.in (+39/-22)
lib/err/err.c (+14/-7)
lib/file/Makefile.in (+39/-22)
lib/file/file.c (+10/-1)
lib/file/fileInt.h (+5/-0)
lib/file/filePosix.c (+375/-45)
lib/file/fileTempPosix.c (+24/-29)
lib/foundryMsg/Makefile.in (+39/-22)
lib/foundryMsg/foundryMsg.c (+4/-8)
lib/glibUtils/Makefile.in (+39/-22)
lib/guestApp/Makefile.in (+39/-22)
lib/guestRpc/Makefile.in (+39/-22)
lib/hashMap/Makefile.am (+21/-0)
lib/hashMap/Makefile.in (+602/-0)
lib/hashMap/hashMap.c (+1199/-0)
lib/hgfs/Makefile.in (+39/-22)
lib/hgfsBd/Makefile.in (+39/-22)
lib/hgfsHelper/Makefile.in (+39/-22)
lib/hgfsServer/Makefile.in (+39/-22)
lib/hgfsServer/hgfsServer.c (+565/-306)
lib/hgfsServer/hgfsServerInt.h (+24/-390)
lib/hgfsServer/hgfsServerLinux.c (+9/-6)
lib/hgfsServer/hgfsServerOplock.c (+4/-3)
lib/hgfsServer/hgfsServerOplock.h (+64/-0)
lib/hgfsServer/hgfsServerOplockInt.h (+74/-0)
lib/hgfsServer/hgfsServerOplockLinux.c (+1/-0)
lib/hgfsServer/hgfsServerPacketUtil.c (+27/-80)
lib/hgfsServer/hgfsServerParameters.c (+1161/-906)
lib/hgfsServer/hgfsServerParameters.h (+353/-0)
lib/hgfsServerManagerGuest/Makefile.in (+39/-22)
lib/hgfsServerManagerGuest/hgfsChannelGuest.c (+6/-1)
lib/hgfsServerManagerGuest/hgfsChannelGuestBd.c (+5/-1)
lib/hgfsServerPolicyGuest/Makefile.in (+39/-22)
lib/impersonate/Makefile.in (+39/-22)
lib/include/appUtil.h (+3/-0)
lib/include/asyncsocket.h (+464/-0)
lib/include/backdoor_def.h (+4/-1)
lib/include/buildNumber.h (+6/-6)
lib/include/clamped.h (+251/-0)
lib/include/codeset.h (+5/-2)
lib/include/config.h (+0/-2)
lib/include/dataMap.h (+176/-0)
lib/include/file.h (+11/-1)
lib/include/guest_os.h (+10/-12)
lib/include/guest_os_tables.h (+3/-1)
lib/include/hashMap.h (+88/-0)
lib/include/hashTable.h (+22/-21)
lib/include/hgfsProto.h (+32/-11)
lib/include/hgfsServer.h (+28/-24)
lib/include/hgfsTransport.h (+0/-53)
lib/include/includeCheck.h (+1/-3)
lib/include/loglevel_user.h (+5/-1)
lib/include/msg.h (+19/-1)
lib/include/poll.h (+314/-0)
lib/include/pollImpl.h (+320/-0)
lib/include/random.h (+6/-10)
lib/include/safetime.h (+4/-4)
lib/include/sigPosixRegs.h (+17/-0)
lib/include/sslStubs.h (+56/-0)
lib/include/str.h (+2/-1)
lib/include/util.h (+4/-0)
lib/include/uuid.h (+5/-2)
lib/include/vixCommands.h (+14/-37)
lib/include/vixOpenSource.h (+1/-0)
lib/include/vm_assert.h (+35/-4)
lib/include/vm_atomic.h (+163/-19)
lib/include/vm_basic_asm.h (+28/-11)
lib/include/vm_basic_asm_x86_64.h (+25/-12)
lib/include/vm_basic_defs.h (+5/-31)
lib/include/vm_basic_types.h (+13/-2)
lib/include/vm_product.h (+4/-4)
lib/include/vm_product_versions.h (+8/-8)
lib/include/vm_tools_version.h (+15/-0)
lib/include/vmci_defs.h (+25/-24)
lib/include/vmci_sockets.h (+31/-8)
lib/include/vmware/guestrpc/tclodefs.h (+13/-0)
lib/include/x86cpuid.h (+49/-26)
lib/lock/Makefile.in (+39/-22)
lib/lock/ul.c (+21/-38)
lib/lock/ulExcl.c (+11/-6)
lib/lock/ulIntShared.h (+3/-1)
lib/lock/ulRW.c (+2/-5)
lib/lock/ulRec.c (+11/-6)
lib/message/Makefile.in (+39/-22)
lib/misc/Makefile.am (+1/-0)
lib/misc/Makefile.in (+44/-26)
lib/misc/atomic.c (+20/-4)
lib/misc/codesetBase.c (+51/-3)
lib/misc/dynbuf.c (+2/-2)
lib/misc/posixPosix.c (+25/-1088)
lib/misc/posixPwd.c (+1108/-0)
lib/misc/random.c (+30/-11)
lib/netUtil/Makefile.in (+39/-22)
lib/panic/Makefile.in (+39/-22)
lib/panicDefault/Makefile.in (+39/-22)
lib/poll/Makefile.am (+21/-0)
lib/poll/Makefile.in (+602/-0)
lib/poll/poll.c (+2188/-0)
lib/pollGtk/Makefile.am (+24/-0)
lib/pollGtk/Makefile.in (+603/-0)
lib/pollGtk/pollGtk.c (+1496/-0)
lib/printer/Makefile.in (+39/-22)
lib/procMgr/Makefile.in (+39/-22)
lib/rpcChannel/Makefile.in (+39/-22)
lib/rpcIn/Makefile.in (+39/-22)
lib/rpcIn/rpcin.c (+1032/-140)
lib/rpcOut/Makefile.in (+39/-22)
lib/rpcVmx/Makefile.in (+39/-22)
lib/slashProc/Makefile.in (+39/-22)
lib/sslStubs/Makefile.am (+21/-0)
lib/sslStubs/Makefile.in (+602/-0)
lib/sslStubs/sslStubs.c (+482/-0)
lib/string/Makefile.in (+39/-22)
lib/string/bsd_vsnprintf.c (+1/-4)
lib/stubs/Makefile.in (+39/-22)
lib/syncDriver/Makefile.in (+39/-22)
lib/system/Makefile.in (+39/-22)
lib/unicode/Makefile.in (+39/-22)
lib/user/Makefile.in (+39/-22)
lib/vmCheck/Makefile.in (+39/-22)
lib/vmSignal/Makefile.in (+39/-22)
lib/wiper/Makefile.in (+39/-22)
lib/xdg/Makefile.in (+39/-22)
libguestlib/Makefile.in (+28/-12)
libhgfs/Makefile.in (+28/-12)
libvmtools/Makefile.am (+6/-0)
libvmtools/Makefile.in (+38/-14)
modules/Makefile.in (+29/-16)
modules/linux/dkms.conf (+1/-1)
modules/linux/dkms.sh (+2/-2)
modules/linux/shared/compat_mm.h (+1/-68)
modules/linux/shared/compat_module.h (+11/-0)
modules/linux/shared/vmciKernelAPI1.h (+63/-67)
modules/linux/shared/vmciKernelAPI2.h (+5/-8)
modules/linux/shared/vmci_defs.h (+25/-24)
modules/linux/vmci/Makefile.normal (+1/-2)
modules/linux/vmci/common/vmciContext.c (+40/-15)
modules/linux/vmci/common/vmciDatagram.c (+28/-27)
modules/linux/vmci/common/vmciDoorbell.c (+19/-18)
modules/linux/vmci/common/vmciDriver.c (+25/-21)
modules/linux/vmci/common/vmciEvent.c (+15/-10)
modules/linux/vmci/common/vmciPageChannel.c (+0/-1731)
modules/linux/vmci/common/vmciQPair.c (+70/-70)
modules/linux/vmci/common/vmciQueuePair.c (+3/-5)
modules/linux/vmci/common/vmciRoute.c (+3/-3)
modules/linux/vmci/linux/driver.c (+7/-17)
modules/linux/vmci/linux/vmci_version.h (+3/-3)
modules/linux/vmhgfs/fsutil.c (+2/-1)
modules/linux/vmhgfs/inode.c (+29/-13)
modules/linux/vmhgfs/tcp.c (+0/-972)
modules/linux/vmhgfs/transport.c (+0/-18)
modules/linux/vmhgfs/transport.h (+0/-2)
modules/linux/vmhgfs/vmci.c (+12/-11)
modules/linux/vsock/linux/af_vsock.c (+80/-74)
modules/linux/vsock/linux/notify.c (+10/-10)
modules/linux/vsock/linux/notifyQState.c (+3/-3)
modules/linux/vsock/linux/util.c (+6/-11)
modules/linux/vsock/linux/vsockAddr.c (+0/-34)
modules/linux/vsock/linux/vsockAddr.h (+0/-1)
modules/linux/vsock/linux/vsockCommon.h (+22/-1)
modules/linux/vsock/linux/vsockPacket.h (+8/-3)
modules/linux/vsock/linux/vsockSocketWrapper.h (+7/-2)
modules/linux/vsock/linux/vsock_version.h (+3/-3)
modules/shared/vmmemctl/balloonInt.h (+2/-6)
modules/shared/vmxnet/eth_public.h (+5/-1)
modules/shared/vmxnet/vmnet_def.h (+50/-48)
modules/shared/vmxnet/vmxnet2_def.h (+10/-22)
rpctool/Makefile.in (+31/-17)
scripts/Makefile.in (+5/-4)
scripts/linux/network (+50/-26)
services/Makefile.in (+46/-55)
services/plugins/Makefile.in (+47/-55)
services/plugins/desktopEvents/Makefile.in (+40/-23)
services/plugins/dndcp/Makefile.in (+40/-23)
services/plugins/dndcp/copyPasteDnDX11.cpp (+8/-0)
services/plugins/dndcp/copyPasteUIX11.cpp (+3/-3)
services/plugins/dndcp/dnd/dndCommon.c (+1/-1)
services/plugins/dndcp/dnd/rpcV3Util.hpp (+0/-2)
services/plugins/dndcp/dndGuest/rpcV3Util.cpp (+6/-8)
services/plugins/guestInfo/Makefile.in (+58/-64)
services/plugins/guestInfo/getlib/Makefile.in (+39/-22)
services/plugins/hgfsServer/Makefile.in (+40/-23)
services/plugins/powerOps/Makefile.in (+40/-23)
services/plugins/resolutionSet/Makefile.in (+40/-23)
services/plugins/timeSync/Makefile.in (+40/-23)
services/plugins/vix/Makefile.in (+40/-23)
services/plugins/vix/vixTools.c (+84/-12)
services/plugins/vmbackup/Makefile.in (+39/-23)
services/plugins/vmbackup/stateMachine.c (+5/-0)
services/vmtoolsd/Makefile.in (+33/-18)
services/vmtoolsd/cmdLine.c (+25/-1)
tests/Makefile.in (+47/-55)
tests/testDebug/Makefile.in (+40/-23)
tests/testPlugin/Makefile.in (+40/-23)
tests/testVmblock/Makefile.in (+20/-6)
tests/vmrpcdbg/Makefile.in (+39/-22)
toolbox/Makefile.in (+28/-14)
vmblock-fuse/Makefile.in (+31/-17)
vmblockmounter/Makefile.in (+20/-6)
vmware-user-suid-wrapper/Makefile.in (+28/-14)
xferlogs/Makefile.in (+31/-17)
To merge this branch: bzr merge lp:~n-muench/ubuntu/saucy/open-vm-tools/open-vm-tools.fix-1175295
Reviewer Review Type Date Requested Status
Nate Muench (Mink) (community) Needs Information
Luke Yelavich (community) Needs Fixing
Review via email: mp+165756@code.launchpad.net

Description of the change

This is the first update for this cycle. The purpose being to get the package to build with Saucy kernels. There will be more because there's still work to be done on the package.

2 modules were added to the 3.9 kernel, so those won't be compiled/installed.

There are issues (incompatibilities) with GCC 4.8, so I've suppressed the errors with a CFLAG, which will hopefully be addressed with the next upstream release. There are issues with the vmhgfs module, which may be related to the issues with GCC. The vmxnet module does work.

To post a comment you must log in.
Revision history for this message
Luke Yelavich (themuso) wrote :

I am getting 4 conflicts when attempting to merge into lp:ubuntu/open-vm-tools. Could you please take a look and resolve them?

Thanks.

review: Needs Fixing
Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

Luke,

You say there are 4 conflict, yet you didn't mention which files they were

review: Needs Information
Revision history for this message
Luke Yelavich (themuso) wrote :

Oh sorry.

Text conflict in configure
Text conflict in configure.ac
Text conflict in modules/linux/shared/compat_mm.h
Text conflict in modules/linux/vmci/linux/driver.c
4 conflicts encountered.

Unmerged revisions

36. By Nate Muench (Mink)

* Merging upstream version 2013.04.16-1098359.
  - Fixes building on Saucy kernels (LP: #1175295).
* Stop DKMS from building vmci & vsock modules
  - Modules are now in the kernel.
* debian/patches:
  - Removing procps.patch, not needed anymore.
  - Removed 0005-kernel-38-fixes.patch
    + No longer needed.
  - Renumbering patches.
* debian/rules:
  - Added Wno-error=unused-local-typedefs to CLFAGS
    + Suppresses build errors with GCC 4.8.
* Items merged from Debian:
  (From 2:9.2.2-893683-8 release)
  - Adding patch from Mathias Krause <email address hidden> to fix
    kernel stack memory leack in vsock module [CVE-2013-3237]

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.pc/0001-kvers.patch/.timestamp'
2=== added directory '.pc/0002-dkms.patch'
3=== added file '.pc/0002-dkms.patch/.timestamp'
4=== added directory '.pc/0002-dkms.patch/modules'
5=== added directory '.pc/0002-dkms.patch/modules/linux'
6=== added file '.pc/0002-dkms.patch/modules/linux/dkms.conf'
7--- .pc/0002-dkms.patch/modules/linux/dkms.conf 1970-01-01 00:00:00 +0000
8+++ .pc/0002-dkms.patch/modules/linux/dkms.conf 2013-05-25 19:05:31 +0000
9@@ -0,0 +1,39 @@
10+PACKAGE_NAME=open-vm-tools
11+PACKAGE_VERSION=2013.04.16
12+MAKE_CMD_TMPL="make VM_UNAME=\$kernelver \
13+ MODULEBUILDDIR=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build"
14+
15+# The vsock module depends on symbols exported by the vmci module, so it
16+# needs to be built afterwards; the MODULEBUILDDIR variable tells the makefiles
17+# where to store / retrive those symbol files.
18+MAKE[0]="$MAKE_CMD_TMPL -C vmblock; \
19+ $MAKE_CMD_TMPL -C vmci; \
20+ $MAKE_CMD_TMPL -C vmhgfs; \
21+ $MAKE_CMD_TMPL -C vmsync; \
22+ $MAKE_CMD_TMPL -C vmxnet; \
23+ $MAKE_CMD_TMPL -C vsock"
24+CLEAN[0]="$MAKE_CMD_TMPL -C vmblock clean; \
25+ $MAKE_CMD_TMPL -C vmci clean; \
26+ $MAKE_CMD_TMPL -C vmhgfs clean; \
27+ $MAKE_CMD_TMPL -C vmsync clean"; \
28+ $MAKE_CMD_TMPL -C vmxnet clean; \
29+ $MAKE_CMD_TMPL -C vsock clean
30+BUILT_MODULE_NAME[0]="vmblock"
31+BUILT_MODULE_NAME[1]="vmci"
32+BUILT_MODULE_NAME[2]="vmhgfs"
33+BUILT_MODULE_NAME[3]="vmsync"
34+BUILT_MODULE_NAME[4]="vmxnet"
35+BUILT_MODULE_NAME[5]="vsock"
36+BUILT_MODULE_LOCATION[0]="vmblock/"
37+BUILT_MODULE_LOCATION[1]="vmci/"
38+BUILT_MODULE_LOCATION[2]="vmhgfs/"
39+BUILT_MODULE_LOCATION[3]="vmsync/"
40+BUILT_MODULE_LOCATION[4]="vmxnet/"
41+BUILT_MODULE_LOCATION[5]="vsock/"
42+DEST_MODULE_LOCATION[0]="/kernel/fs/vmblock"
43+DEST_MODULE_LOCATION[1]="/kernel/drivers/misc"
44+DEST_MODULE_LOCATION[2]="/kernel/fs/vmhgfs"
45+DEST_MODULE_LOCATION[3]="/kernel/drivers/misc"
46+DEST_MODULE_LOCATION[4]="/kernel/drivers/net"
47+DEST_MODULE_LOCATION[5]="/kernel/net/vsock"
48+AUTOINSTALL="YES"
49
50=== removed directory '.pc/0002-procps.patch'
51=== removed file '.pc/0002-procps.patch/configure'
52--- .pc/0002-procps.patch/configure 2013-03-13 21:46:00 +0000
53+++ .pc/0002-procps.patch/configure 1970-01-01 00:00:00 +0000
54@@ -1,25491 +0,0 @@
55-#! /bin/sh
56-# Guess values for system-dependent variables and create Makefiles.
57-# Generated by GNU Autoconf 2.68 for open-vm-tools 2012.12.26.
58-#
59-# Report bugs to <open-vm-tools-devel@lists.sourceforge.net>.
60-#
61-#
62-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
63-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
64-# Foundation, Inc.
65-#
66-#
67-# This configure script is free software; the Free Software Foundation
68-# gives unlimited permission to copy, distribute and modify it.
69-## -------------------- ##
70-## M4sh Initialization. ##
71-## -------------------- ##
72-
73-# Be more Bourne compatible
74-DUALCASE=1; export DUALCASE # for MKS sh
75-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
76- emulate sh
77- NULLCMD=:
78- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79- # is contrary to our usage. Disable this feature.
80- alias -g '${1+"$@"}'='"$@"'
81- setopt NO_GLOB_SUBST
82-else
83- case `(set -o) 2>/dev/null` in #(
84- *posix*) :
85- set -o posix ;; #(
86- *) :
87- ;;
88-esac
89-fi
90-
91-
92-as_nl='
93-'
94-export as_nl
95-# Printing a long string crashes Solaris 7 /usr/bin/printf.
96-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
97-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
98-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
99-# Prefer a ksh shell builtin over an external printf program on Solaris,
100-# but without wasting forks for bash or zsh.
101-if test -z "$BASH_VERSION$ZSH_VERSION" \
102- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
103- as_echo='print -r --'
104- as_echo_n='print -rn --'
105-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
106- as_echo='printf %s\n'
107- as_echo_n='printf %s'
108-else
109- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
110- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
111- as_echo_n='/usr/ucb/echo -n'
112- else
113- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
114- as_echo_n_body='eval
115- arg=$1;
116- case $arg in #(
117- *"$as_nl"*)
118- expr "X$arg" : "X\\(.*\\)$as_nl";
119- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
120- esac;
121- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
122- '
123- export as_echo_n_body
124- as_echo_n='sh -c $as_echo_n_body as_echo'
125- fi
126- export as_echo_body
127- as_echo='sh -c $as_echo_body as_echo'
128-fi
129-
130-# The user is always right.
131-if test "${PATH_SEPARATOR+set}" != set; then
132- PATH_SEPARATOR=:
133- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
134- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
135- PATH_SEPARATOR=';'
136- }
137-fi
138-
139-
140-# IFS
141-# We need space, tab and new line, in precisely that order. Quoting is
142-# there to prevent editors from complaining about space-tab.
143-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
144-# splitting by setting IFS to empty value.)
145-IFS=" "" $as_nl"
146-
147-# Find who we are. Look in the path if we contain no directory separator.
148-as_myself=
149-case $0 in #((
150- *[\\/]* ) as_myself=$0 ;;
151- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
152-for as_dir in $PATH
153-do
154- IFS=$as_save_IFS
155- test -z "$as_dir" && as_dir=.
156- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
157- done
158-IFS=$as_save_IFS
159-
160- ;;
161-esac
162-# We did not find ourselves, most probably we were run as `sh COMMAND'
163-# in which case we are not to be found in the path.
164-if test "x$as_myself" = x; then
165- as_myself=$0
166-fi
167-if test ! -f "$as_myself"; then
168- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
169- exit 1
170-fi
171-
172-# Unset variables that we do not need and which cause bugs (e.g. in
173-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
174-# suppresses any "Segmentation fault" message there. '((' could
175-# trigger a bug in pdksh 5.2.14.
176-for as_var in BASH_ENV ENV MAIL MAILPATH
177-do eval test x\${$as_var+set} = xset \
178- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
179-done
180-PS1='$ '
181-PS2='> '
182-PS4='+ '
183-
184-# NLS nuisances.
185-LC_ALL=C
186-export LC_ALL
187-LANGUAGE=C
188-export LANGUAGE
189-
190-# CDPATH.
191-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
192-
193-if test "x$CONFIG_SHELL" = x; then
194- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
195- emulate sh
196- NULLCMD=:
197- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
198- # is contrary to our usage. Disable this feature.
199- alias -g '\${1+\"\$@\"}'='\"\$@\"'
200- setopt NO_GLOB_SUBST
201-else
202- case \`(set -o) 2>/dev/null\` in #(
203- *posix*) :
204- set -o posix ;; #(
205- *) :
206- ;;
207-esac
208-fi
209-"
210- as_required="as_fn_return () { (exit \$1); }
211-as_fn_success () { as_fn_return 0; }
212-as_fn_failure () { as_fn_return 1; }
213-as_fn_ret_success () { return 0; }
214-as_fn_ret_failure () { return 1; }
215-
216-exitcode=0
217-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
218-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
219-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
220-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
221-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
222-
223-else
224- exitcode=1; echo positional parameters were not saved.
225-fi
226-test x\$exitcode = x0 || exit 1"
227- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
228- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
229- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
230- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
231-test \$(( 1 + 1 )) = 2 || exit 1
232-
233- test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
234- ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
235- ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
236- ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
237- PATH=/empty FPATH=/empty; export PATH FPATH
238- test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
239- || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
240- if (eval "$as_required") 2>/dev/null; then :
241- as_have_required=yes
242-else
243- as_have_required=no
244-fi
245- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
246-
247-else
248- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
249-as_found=false
250-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
251-do
252- IFS=$as_save_IFS
253- test -z "$as_dir" && as_dir=.
254- as_found=:
255- case $as_dir in #(
256- /*)
257- for as_base in sh bash ksh sh5; do
258- # Try only shells that exist, to save several forks.
259- as_shell=$as_dir/$as_base
260- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
261- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
262- CONFIG_SHELL=$as_shell as_have_required=yes
263- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
264- break 2
265-fi
266-fi
267- done;;
268- esac
269- as_found=false
270-done
271-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
272- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
273- CONFIG_SHELL=$SHELL as_have_required=yes
274-fi; }
275-IFS=$as_save_IFS
276-
277-
278- if test "x$CONFIG_SHELL" != x; then :
279- # We cannot yet assume a decent shell, so we have to provide a
280- # neutralization value for shells without unset; and this also
281- # works around shells that cannot unset nonexistent variables.
282- # Preserve -v and -x to the replacement shell.
283- BASH_ENV=/dev/null
284- ENV=/dev/null
285- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
286- export CONFIG_SHELL
287- case $- in # ((((
288- *v*x* | *x*v* ) as_opts=-vx ;;
289- *v* ) as_opts=-v ;;
290- *x* ) as_opts=-x ;;
291- * ) as_opts= ;;
292- esac
293- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
294-fi
295-
296- if test x$as_have_required = xno; then :
297- $as_echo "$0: This script requires a shell more modern than all"
298- $as_echo "$0: the shells that I found on your system."
299- if test x${ZSH_VERSION+set} = xset ; then
300- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
301- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
302- else
303- $as_echo "$0: Please tell bug-autoconf@gnu.org and
304-$0: open-vm-tools-devel@lists.sourceforge.net about your
305-$0: system, including any error possibly output before this
306-$0: message. Then install a modern shell, or manually run
307-$0: the script under such a shell if you do have one."
308- fi
309- exit 1
310-fi
311-fi
312-fi
313-SHELL=${CONFIG_SHELL-/bin/sh}
314-export SHELL
315-# Unset more variables known to interfere with behavior of common tools.
316-CLICOLOR_FORCE= GREP_OPTIONS=
317-unset CLICOLOR_FORCE GREP_OPTIONS
318-
319-## --------------------- ##
320-## M4sh Shell Functions. ##
321-## --------------------- ##
322-# as_fn_unset VAR
323-# ---------------
324-# Portably unset VAR.
325-as_fn_unset ()
326-{
327- { eval $1=; unset $1;}
328-}
329-as_unset=as_fn_unset
330-
331-# as_fn_set_status STATUS
332-# -----------------------
333-# Set $? to STATUS, without forking.
334-as_fn_set_status ()
335-{
336- return $1
337-} # as_fn_set_status
338-
339-# as_fn_exit STATUS
340-# -----------------
341-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
342-as_fn_exit ()
343-{
344- set +e
345- as_fn_set_status $1
346- exit $1
347-} # as_fn_exit
348-
349-# as_fn_mkdir_p
350-# -------------
351-# Create "$as_dir" as a directory, including parents if necessary.
352-as_fn_mkdir_p ()
353-{
354-
355- case $as_dir in #(
356- -*) as_dir=./$as_dir;;
357- esac
358- test -d "$as_dir" || eval $as_mkdir_p || {
359- as_dirs=
360- while :; do
361- case $as_dir in #(
362- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
363- *) as_qdir=$as_dir;;
364- esac
365- as_dirs="'$as_qdir' $as_dirs"
366- as_dir=`$as_dirname -- "$as_dir" ||
367-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
368- X"$as_dir" : 'X\(//\)[^/]' \| \
369- X"$as_dir" : 'X\(//\)$' \| \
370- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
371-$as_echo X"$as_dir" |
372- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
373- s//\1/
374- q
375- }
376- /^X\(\/\/\)[^/].*/{
377- s//\1/
378- q
379- }
380- /^X\(\/\/\)$/{
381- s//\1/
382- q
383- }
384- /^X\(\/\).*/{
385- s//\1/
386- q
387- }
388- s/.*/./; q'`
389- test -d "$as_dir" && break
390- done
391- test -z "$as_dirs" || eval "mkdir $as_dirs"
392- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
393-
394-
395-} # as_fn_mkdir_p
396-# as_fn_append VAR VALUE
397-# ----------------------
398-# Append the text in VALUE to the end of the definition contained in VAR. Take
399-# advantage of any shell optimizations that allow amortized linear growth over
400-# repeated appends, instead of the typical quadratic growth present in naive
401-# implementations.
402-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
403- eval 'as_fn_append ()
404- {
405- eval $1+=\$2
406- }'
407-else
408- as_fn_append ()
409- {
410- eval $1=\$$1\$2
411- }
412-fi # as_fn_append
413-
414-# as_fn_arith ARG...
415-# ------------------
416-# Perform arithmetic evaluation on the ARGs, and store the result in the
417-# global $as_val. Take advantage of shells that can avoid forks. The arguments
418-# must be portable across $(()) and expr.
419-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
420- eval 'as_fn_arith ()
421- {
422- as_val=$(( $* ))
423- }'
424-else
425- as_fn_arith ()
426- {
427- as_val=`expr "$@" || test $? -eq 1`
428- }
429-fi # as_fn_arith
430-
431-
432-# as_fn_error STATUS ERROR [LINENO LOG_FD]
433-# ----------------------------------------
434-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
435-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
436-# script with STATUS, using 1 if that was 0.
437-as_fn_error ()
438-{
439- as_status=$1; test $as_status -eq 0 && as_status=1
440- if test "$4"; then
441- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
442- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
443- fi
444- $as_echo "$as_me: error: $2" >&2
445- as_fn_exit $as_status
446-} # as_fn_error
447-
448-if expr a : '\(a\)' >/dev/null 2>&1 &&
449- test "X`expr 00001 : '.*\(...\)'`" = X001; then
450- as_expr=expr
451-else
452- as_expr=false
453-fi
454-
455-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
456- as_basename=basename
457-else
458- as_basename=false
459-fi
460-
461-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
462- as_dirname=dirname
463-else
464- as_dirname=false
465-fi
466-
467-as_me=`$as_basename -- "$0" ||
468-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
469- X"$0" : 'X\(//\)$' \| \
470- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
471-$as_echo X/"$0" |
472- sed '/^.*\/\([^/][^/]*\)\/*$/{
473- s//\1/
474- q
475- }
476- /^X\/\(\/\/\)$/{
477- s//\1/
478- q
479- }
480- /^X\/\(\/\).*/{
481- s//\1/
482- q
483- }
484- s/.*/./; q'`
485-
486-# Avoid depending upon Character Ranges.
487-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
488-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
489-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
490-as_cr_digits='0123456789'
491-as_cr_alnum=$as_cr_Letters$as_cr_digits
492-
493-
494- as_lineno_1=$LINENO as_lineno_1a=$LINENO
495- as_lineno_2=$LINENO as_lineno_2a=$LINENO
496- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
497- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
498- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
499- sed -n '
500- p
501- /[$]LINENO/=
502- ' <$as_myself |
503- sed '
504- s/[$]LINENO.*/&-/
505- t lineno
506- b
507- :lineno
508- N
509- :loop
510- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
511- t loop
512- s/-\n.*//
513- ' >$as_me.lineno &&
514- chmod +x "$as_me.lineno" ||
515- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
516-
517- # Don't try to exec as it changes $[0], causing all sort of problems
518- # (the dirname of $[0] is not the place where we might find the
519- # original and so on. Autoconf is especially sensitive to this).
520- . "./$as_me.lineno"
521- # Exit status is that of the last command.
522- exit
523-}
524-
525-ECHO_C= ECHO_N= ECHO_T=
526-case `echo -n x` in #(((((
527--n*)
528- case `echo 'xy\c'` in
529- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
530- xy) ECHO_C='\c';;
531- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
532- ECHO_T=' ';;
533- esac;;
534-*)
535- ECHO_N='-n';;
536-esac
537-
538-rm -f conf$$ conf$$.exe conf$$.file
539-if test -d conf$$.dir; then
540- rm -f conf$$.dir/conf$$.file
541-else
542- rm -f conf$$.dir
543- mkdir conf$$.dir 2>/dev/null
544-fi
545-if (echo >conf$$.file) 2>/dev/null; then
546- if ln -s conf$$.file conf$$ 2>/dev/null; then
547- as_ln_s='ln -s'
548- # ... but there are two gotchas:
549- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
550- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
551- # In both cases, we have to default to `cp -p'.
552- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
553- as_ln_s='cp -p'
554- elif ln conf$$.file conf$$ 2>/dev/null; then
555- as_ln_s=ln
556- else
557- as_ln_s='cp -p'
558- fi
559-else
560- as_ln_s='cp -p'
561-fi
562-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
563-rmdir conf$$.dir 2>/dev/null
564-
565-if mkdir -p . 2>/dev/null; then
566- as_mkdir_p='mkdir -p "$as_dir"'
567-else
568- test -d ./-p && rmdir ./-p
569- as_mkdir_p=false
570-fi
571-
572-if test -x / >/dev/null 2>&1; then
573- as_test_x='test -x'
574-else
575- if ls -dL / >/dev/null 2>&1; then
576- as_ls_L_option=L
577- else
578- as_ls_L_option=
579- fi
580- as_test_x='
581- eval sh -c '\''
582- if test -d "$1"; then
583- test -d "$1/.";
584- else
585- case $1 in #(
586- -*)set "./$1";;
587- esac;
588- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
589- ???[sx]*):;;*)false;;esac;fi
590- '\'' sh
591- '
592-fi
593-as_executable_p=$as_test_x
594-
595-# Sed expression to map a string onto a valid CPP name.
596-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
597-
598-# Sed expression to map a string onto a valid variable name.
599-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
600-
601-SHELL=${CONFIG_SHELL-/bin/sh}
602-
603-
604-test -n "$DJDIR" || exec 7<&0 </dev/null
605-exec 6>&1
606-
607-# Name of the host.
608-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
609-# so uname gets run too.
610-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
611-
612-#
613-# Initializations.
614-#
615-ac_default_prefix=/usr/local
616-ac_clean_files=
617-ac_config_libobj_dir=.
618-LIBOBJS=
619-cross_compiling=no
620-subdirs=
621-MFLAGS=
622-MAKEFLAGS=
623-
624-# Identity of this package.
625-PACKAGE_NAME='open-vm-tools'
626-PACKAGE_TARNAME='open-vm-tools'
627-PACKAGE_VERSION='2012.12.26'
628-PACKAGE_STRING='open-vm-tools 2012.12.26'
629-PACKAGE_BUGREPORT='open-vm-tools-devel@lists.sourceforge.net'
630-PACKAGE_URL=''
631-
632-ac_unique_file="checkvm/checkvm.c"
633-# Factoring default headers for most tests.
634-ac_includes_default="\
635-#include <stdio.h>
636-#ifdef HAVE_SYS_TYPES_H
637-# include <sys/types.h>
638-#endif
639-#ifdef HAVE_SYS_STAT_H
640-# include <sys/stat.h>
641-#endif
642-#ifdef STDC_HEADERS
643-# include <stdlib.h>
644-# include <stddef.h>
645-#else
646-# ifdef HAVE_STDLIB_H
647-# include <stdlib.h>
648-# endif
649-#endif
650-#ifdef HAVE_STRING_H
651-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
652-# include <memory.h>
653-# endif
654-# include <string.h>
655-#endif
656-#ifdef HAVE_STRINGS_H
657-# include <strings.h>
658-#endif
659-#ifdef HAVE_INTTYPES_H
660-# include <inttypes.h>
661-#endif
662-#ifdef HAVE_STDINT_H
663-# include <stdint.h>
664-#endif
665-#ifdef HAVE_UNISTD_H
666-# include <unistd.h>
667-#endif"
668-
669-ac_subst_vars='am__EXEEXT_FALSE
670-am__EXEEXT_TRUE
671-LTLIBOBJS
672-LIBOBJS
673-VIX_LIBADD
674-LIBVMTOOLS_LIBADD
675-LIB_USER_CPPFLAGS
676-LIB_IMPERSONATE_CPPFLAGS
677-LIB_AUTH_CPPFLAGS
678-RPCGEN_WRAPPER
679-INSTVMSG
680-SYSDIR
681-VMUSR_PLUGIN_INSTALLDIR
682-VMSVC_PLUGIN_INSTALLDIR
683-COMMON_PLUGIN_INSTALLDIR
684-TEST_PLUGIN_INSTALLDIR
685-XDR_LIBS
686-RPCGENFLAGS
687-VMTOOLS_LIBS
688-VMTOOLS_CPPFLAGS
689-PLUGIN_LDFLAGS
690-PLUGIN_CPPFLAGS
691-PAM_PREFIX
692-XCOMPOSITE_LIBS
693-XSM_LIBS
694-COMMON_XLIBS
695-MODULES
696-MODULES_DIR
697-MODULES_OS
698-LINUXINCLUDE
699-KERNEL_RELEASE
700-TARGET_OS
701-TOOLS_VERSION
702-HGFS_LIBS
703-USE_PRINTF_WRAPPERS_FALSE
704-USE_PRINTF_WRAPPERS_TRUE
705-USE_SLASH_PROC_FALSE
706-USE_SLASH_PROC_TRUE
707-HAVE_PAM_FALSE
708-HAVE_PAM_TRUE
709-HAVE_GTKMM_FALSE
710-HAVE_GTKMM_TRUE
711-HAVE_GNU_LD_FALSE
712-HAVE_GNU_LD_TRUE
713-HAVE_FUSE_FALSE
714-HAVE_FUSE_TRUE
715-HAVE_DOXYGEN_FALSE
716-HAVE_DOXYGEN_TRUE
717-HAVE_DNET_FALSE
718-HAVE_DNET_TRUE
719-WITH_ROOT_PRIVILEGES_FALSE
720-WITH_ROOT_PRIVILEGES_TRUE
721-ENABLE_TESTS_FALSE
722-ENABLE_TESTS_TRUE
723-HAVE_XCOMPOSITE_FALSE
724-HAVE_XCOMPOSITE_TRUE
725-HAVE_XSM_FALSE
726-HAVE_XSM_TRUE
727-WITH_KERNEL_MODULES_FALSE
728-WITH_KERNEL_MODULES_TRUE
729-HAVE_ICU_FALSE
730-HAVE_ICU_TRUE
731-HAVE_X11_FALSE
732-HAVE_X11_TRUE
733-THIRTY_TWO_BIT_USERSPACE_FALSE
734-THIRTY_TWO_BIT_USERSPACE_TRUE
735-FREEBSD_CUSTOM_SYSDIR_FALSE
736-FREEBSD_CUSTOM_SYSDIR_TRUE
737-FREEBSD_FALSE
738-FREEBSD_TRUE
739-SOLARIS_FALSE
740-SOLARIS_TRUE
741-LINUX_FALSE
742-LINUX_TRUE
743-BUILD_HGFSMOUNTER_FALSE
744-BUILD_HGFSMOUNTER_TRUE
745-MSCGEN_DIR
746-MSCGEN
747-HAVE_DOT
748-DOT
749-have_doxygen
750-RPCGEN
751-ICU_LIBS
752-ICU_CPPFLAGS
753-have_cxx
754-DNET_LIBS
755-DNET_CPPFLAGS
756-PROCPS_LIBS
757-PROCPS_CPPFLAGS
758-GTKMM_LIBS
759-GTKMM_CPPFLAGS
760-GTK_LIBS
761-GTK_CPPFLAGS
762-CUNIT_LIBS
763-CUNIT_CPPFLAGS
764-PAM_LIBS
765-PAM_CPPFLAGS
766-FUSE_LIBS
767-FUSE_CPPFLAGS
768-have_genmarshal
769-GTHREAD_LIBS
770-GTHREAD_CPPFLAGS
771-GOBJECT_LIBS
772-GOBJECT_CPPFLAGS
773-GMODULE_LIBS
774-GMODULE_CPPFLAGS
775-GLIB2_LIBS
776-GLIB2_CPPFLAGS
777-ac_vmw_lib_cfg
778-X_EXTRA_LIBS
779-X_LIBS
780-X_PRE_LIBS
781-X_CFLAGS
782-XMKMF
783-HAVE_PKG_CONFIG
784-CXXCPP
785-OTOOL64
786-OTOOL
787-LIPO
788-NMEDIT
789-DSYMUTIL
790-MANIFEST_TOOL
791-RANLIB
792-ac_ct_AR
793-AR
794-DLLTOOL
795-OBJDUMP
796-NM
797-ac_ct_DUMPBIN
798-DUMPBIN
799-LD
800-FGREP
801-EGREP
802-GREP
803-LIBTOOL
804-LN_S
805-SED
806-am__fastdepCXX_FALSE
807-am__fastdepCXX_TRUE
808-CXXDEPMODE
809-ac_ct_CXX
810-CXXFLAGS
811-CXX
812-CPP
813-am__fastdepCC_FALSE
814-am__fastdepCC_TRUE
815-CCDEPMODE
816-am__nodep
817-AMDEPBACKSLASH
818-AMDEP_FALSE
819-AMDEP_TRUE
820-am__quote
821-am__include
822-DEPDIR
823-OBJEXT
824-EXEEXT
825-ac_ct_CC
826-CPPFLAGS
827-LDFLAGS
828-CFLAGS
829-CC
830-am__untar
831-am__tar
832-AMTAR
833-am__leading_dot
834-SET_MAKE
835-AWK
836-mkdir_p
837-MKDIR_P
838-INSTALL_STRIP_PROGRAM
839-STRIP
840-install_sh
841-MAKEINFO
842-AUTOHEADER
843-AUTOMAKE
844-AUTOCONF
845-ACLOCAL
846-VERSION
847-PACKAGE
848-CYGPATH_W
849-am__isrc
850-INSTALL_DATA
851-INSTALL_SCRIPT
852-INSTALL_PROGRAM
853-host_os
854-host_vendor
855-host_cpu
856-host
857-build_os
858-build_vendor
859-build_cpu
860-build
861-target_alias
862-host_alias
863-build_alias
864-LIBS
865-ECHO_T
866-ECHO_N
867-ECHO_C
868-DEFS
869-mandir
870-localedir
871-libdir
872-psdir
873-pdfdir
874-dvidir
875-htmldir
876-infodir
877-docdir
878-oldincludedir
879-includedir
880-localstatedir
881-sharedstatedir
882-sysconfdir
883-datadir
884-datarootdir
885-libexecdir
886-sbindir
887-bindir
888-program_transform_name
889-prefix
890-exec_prefix
891-PACKAGE_URL
892-PACKAGE_BUGREPORT
893-PACKAGE_STRING
894-PACKAGE_VERSION
895-PACKAGE_TARNAME
896-PACKAGE_NAME
897-PATH_SEPARATOR
898-SHELL'
899-ac_subst_files=''
900-ac_user_opts='
901-enable_option_checking
902-with_root_privileges
903-with_kernel_modules
904-with_kernel_release
905-with_linuxdir
906-enable_multimon
907-with_gtk2
908-with_gtkmm
909-enable_docs
910-enable_tests
911-enable_dependency_tracking
912-enable_shared
913-enable_static
914-with_pic
915-enable_fast_install
916-with_gnu_ld
917-with_sysroot
918-enable_libtool_lock
919-with_x
920-with_pam
921-with_pam_prefix
922-with_procps
923-with_dnet
924-with_icu
925-'
926- ac_precious_vars='build_alias
927-host_alias
928-target_alias
929-CC
930-CFLAGS
931-LDFLAGS
932-LIBS
933-CPPFLAGS
934-CPP
935-CXX
936-CXXFLAGS
937-CCC
938-CXXCPP
939-XMKMF'
940-
941-
942-# Initialize some variables set by options.
943-ac_init_help=
944-ac_init_version=false
945-ac_unrecognized_opts=
946-ac_unrecognized_sep=
947-# The variables have the same names as the options, with
948-# dashes changed to underlines.
949-cache_file=/dev/null
950-exec_prefix=NONE
951-no_create=
952-no_recursion=
953-prefix=NONE
954-program_prefix=NONE
955-program_suffix=NONE
956-program_transform_name=s,x,x,
957-silent=
958-site=
959-srcdir=
960-verbose=
961-x_includes=NONE
962-x_libraries=NONE
963-
964-# Installation directory options.
965-# These are left unexpanded so users can "make install exec_prefix=/foo"
966-# and all the variables that are supposed to be based on exec_prefix
967-# by default will actually change.
968-# Use braces instead of parens because sh, perl, etc. also accept them.
969-# (The list follows the same order as the GNU Coding Standards.)
970-bindir='${exec_prefix}/bin'
971-sbindir='${exec_prefix}/sbin'
972-libexecdir='${exec_prefix}/libexec'
973-datarootdir='${prefix}/share'
974-datadir='${datarootdir}'
975-sysconfdir='${prefix}/etc'
976-sharedstatedir='${prefix}/com'
977-localstatedir='${prefix}/var'
978-includedir='${prefix}/include'
979-oldincludedir='/usr/include'
980-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
981-infodir='${datarootdir}/info'
982-htmldir='${docdir}'
983-dvidir='${docdir}'
984-pdfdir='${docdir}'
985-psdir='${docdir}'
986-libdir='${exec_prefix}/lib'
987-localedir='${datarootdir}/locale'
988-mandir='${datarootdir}/man'
989-
990-ac_prev=
991-ac_dashdash=
992-for ac_option
993-do
994- # If the previous option needs an argument, assign it.
995- if test -n "$ac_prev"; then
996- eval $ac_prev=\$ac_option
997- ac_prev=
998- continue
999- fi
1000-
1001- case $ac_option in
1002- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1003- *=) ac_optarg= ;;
1004- *) ac_optarg=yes ;;
1005- esac
1006-
1007- # Accept the important Cygnus configure options, so we can diagnose typos.
1008-
1009- case $ac_dashdash$ac_option in
1010- --)
1011- ac_dashdash=yes ;;
1012-
1013- -bindir | --bindir | --bindi | --bind | --bin | --bi)
1014- ac_prev=bindir ;;
1015- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1016- bindir=$ac_optarg ;;
1017-
1018- -build | --build | --buil | --bui | --bu)
1019- ac_prev=build_alias ;;
1020- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1021- build_alias=$ac_optarg ;;
1022-
1023- -cache-file | --cache-file | --cache-fil | --cache-fi \
1024- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1025- ac_prev=cache_file ;;
1026- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1027- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1028- cache_file=$ac_optarg ;;
1029-
1030- --config-cache | -C)
1031- cache_file=config.cache ;;
1032-
1033- -datadir | --datadir | --datadi | --datad)
1034- ac_prev=datadir ;;
1035- -datadir=* | --datadir=* | --datadi=* | --datad=*)
1036- datadir=$ac_optarg ;;
1037-
1038- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1039- | --dataroo | --dataro | --datar)
1040- ac_prev=datarootdir ;;
1041- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1042- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1043- datarootdir=$ac_optarg ;;
1044-
1045- -disable-* | --disable-*)
1046- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1047- # Reject names that are not valid shell variable names.
1048- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049- as_fn_error $? "invalid feature name: $ac_useropt"
1050- ac_useropt_orig=$ac_useropt
1051- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052- case $ac_user_opts in
1053- *"
1054-"enable_$ac_useropt"
1055-"*) ;;
1056- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1057- ac_unrecognized_sep=', ';;
1058- esac
1059- eval enable_$ac_useropt=no ;;
1060-
1061- -docdir | --docdir | --docdi | --doc | --do)
1062- ac_prev=docdir ;;
1063- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1064- docdir=$ac_optarg ;;
1065-
1066- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1067- ac_prev=dvidir ;;
1068- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1069- dvidir=$ac_optarg ;;
1070-
1071- -enable-* | --enable-*)
1072- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1073- # Reject names that are not valid shell variable names.
1074- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075- as_fn_error $? "invalid feature name: $ac_useropt"
1076- ac_useropt_orig=$ac_useropt
1077- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078- case $ac_user_opts in
1079- *"
1080-"enable_$ac_useropt"
1081-"*) ;;
1082- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1083- ac_unrecognized_sep=', ';;
1084- esac
1085- eval enable_$ac_useropt=\$ac_optarg ;;
1086-
1087- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1088- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1089- | --exec | --exe | --ex)
1090- ac_prev=exec_prefix ;;
1091- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1092- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1093- | --exec=* | --exe=* | --ex=*)
1094- exec_prefix=$ac_optarg ;;
1095-
1096- -gas | --gas | --ga | --g)
1097- # Obsolete; use --with-gas.
1098- with_gas=yes ;;
1099-
1100- -help | --help | --hel | --he | -h)
1101- ac_init_help=long ;;
1102- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1103- ac_init_help=recursive ;;
1104- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1105- ac_init_help=short ;;
1106-
1107- -host | --host | --hos | --ho)
1108- ac_prev=host_alias ;;
1109- -host=* | --host=* | --hos=* | --ho=*)
1110- host_alias=$ac_optarg ;;
1111-
1112- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1113- ac_prev=htmldir ;;
1114- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1115- | --ht=*)
1116- htmldir=$ac_optarg ;;
1117-
1118- -includedir | --includedir | --includedi | --included | --include \
1119- | --includ | --inclu | --incl | --inc)
1120- ac_prev=includedir ;;
1121- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1122- | --includ=* | --inclu=* | --incl=* | --inc=*)
1123- includedir=$ac_optarg ;;
1124-
1125- -infodir | --infodir | --infodi | --infod | --info | --inf)
1126- ac_prev=infodir ;;
1127- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1128- infodir=$ac_optarg ;;
1129-
1130- -libdir | --libdir | --libdi | --libd)
1131- ac_prev=libdir ;;
1132- -libdir=* | --libdir=* | --libdi=* | --libd=*)
1133- libdir=$ac_optarg ;;
1134-
1135- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1136- | --libexe | --libex | --libe)
1137- ac_prev=libexecdir ;;
1138- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1139- | --libexe=* | --libex=* | --libe=*)
1140- libexecdir=$ac_optarg ;;
1141-
1142- -localedir | --localedir | --localedi | --localed | --locale)
1143- ac_prev=localedir ;;
1144- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1145- localedir=$ac_optarg ;;
1146-
1147- -localstatedir | --localstatedir | --localstatedi | --localstated \
1148- | --localstate | --localstat | --localsta | --localst | --locals)
1149- ac_prev=localstatedir ;;
1150- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1151- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1152- localstatedir=$ac_optarg ;;
1153-
1154- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1155- ac_prev=mandir ;;
1156- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1157- mandir=$ac_optarg ;;
1158-
1159- -nfp | --nfp | --nf)
1160- # Obsolete; use --without-fp.
1161- with_fp=no ;;
1162-
1163- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1164- | --no-cr | --no-c | -n)
1165- no_create=yes ;;
1166-
1167- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1168- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1169- no_recursion=yes ;;
1170-
1171- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1172- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1173- | --oldin | --oldi | --old | --ol | --o)
1174- ac_prev=oldincludedir ;;
1175- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1176- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1177- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1178- oldincludedir=$ac_optarg ;;
1179-
1180- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1181- ac_prev=prefix ;;
1182- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1183- prefix=$ac_optarg ;;
1184-
1185- -program-prefix | --program-prefix | --program-prefi | --program-pref \
1186- | --program-pre | --program-pr | --program-p)
1187- ac_prev=program_prefix ;;
1188- -program-prefix=* | --program-prefix=* | --program-prefi=* \
1189- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1190- program_prefix=$ac_optarg ;;
1191-
1192- -program-suffix | --program-suffix | --program-suffi | --program-suff \
1193- | --program-suf | --program-su | --program-s)
1194- ac_prev=program_suffix ;;
1195- -program-suffix=* | --program-suffix=* | --program-suffi=* \
1196- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1197- program_suffix=$ac_optarg ;;
1198-
1199- -program-transform-name | --program-transform-name \
1200- | --program-transform-nam | --program-transform-na \
1201- | --program-transform-n | --program-transform- \
1202- | --program-transform | --program-transfor \
1203- | --program-transfo | --program-transf \
1204- | --program-trans | --program-tran \
1205- | --progr-tra | --program-tr | --program-t)
1206- ac_prev=program_transform_name ;;
1207- -program-transform-name=* | --program-transform-name=* \
1208- | --program-transform-nam=* | --program-transform-na=* \
1209- | --program-transform-n=* | --program-transform-=* \
1210- | --program-transform=* | --program-transfor=* \
1211- | --program-transfo=* | --program-transf=* \
1212- | --program-trans=* | --program-tran=* \
1213- | --progr-tra=* | --program-tr=* | --program-t=*)
1214- program_transform_name=$ac_optarg ;;
1215-
1216- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1217- ac_prev=pdfdir ;;
1218- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1219- pdfdir=$ac_optarg ;;
1220-
1221- -psdir | --psdir | --psdi | --psd | --ps)
1222- ac_prev=psdir ;;
1223- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1224- psdir=$ac_optarg ;;
1225-
1226- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1227- | -silent | --silent | --silen | --sile | --sil)
1228- silent=yes ;;
1229-
1230- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1231- ac_prev=sbindir ;;
1232- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1233- | --sbi=* | --sb=*)
1234- sbindir=$ac_optarg ;;
1235-
1236- -sharedstatedir | --sharedstatedir | --sharedstatedi \
1237- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1238- | --sharedst | --shareds | --shared | --share | --shar \
1239- | --sha | --sh)
1240- ac_prev=sharedstatedir ;;
1241- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1242- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1243- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1244- | --sha=* | --sh=*)
1245- sharedstatedir=$ac_optarg ;;
1246-
1247- -site | --site | --sit)
1248- ac_prev=site ;;
1249- -site=* | --site=* | --sit=*)
1250- site=$ac_optarg ;;
1251-
1252- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1253- ac_prev=srcdir ;;
1254- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1255- srcdir=$ac_optarg ;;
1256-
1257- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1258- | --syscon | --sysco | --sysc | --sys | --sy)
1259- ac_prev=sysconfdir ;;
1260- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1261- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1262- sysconfdir=$ac_optarg ;;
1263-
1264- -target | --target | --targe | --targ | --tar | --ta | --t)
1265- ac_prev=target_alias ;;
1266- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1267- target_alias=$ac_optarg ;;
1268-
1269- -v | -verbose | --verbose | --verbos | --verbo | --verb)
1270- verbose=yes ;;
1271-
1272- -version | --version | --versio | --versi | --vers | -V)
1273- ac_init_version=: ;;
1274-
1275- -with-* | --with-*)
1276- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1277- # Reject names that are not valid shell variable names.
1278- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279- as_fn_error $? "invalid package name: $ac_useropt"
1280- ac_useropt_orig=$ac_useropt
1281- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282- case $ac_user_opts in
1283- *"
1284-"with_$ac_useropt"
1285-"*) ;;
1286- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1287- ac_unrecognized_sep=', ';;
1288- esac
1289- eval with_$ac_useropt=\$ac_optarg ;;
1290-
1291- -without-* | --without-*)
1292- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1293- # Reject names that are not valid shell variable names.
1294- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1295- as_fn_error $? "invalid package name: $ac_useropt"
1296- ac_useropt_orig=$ac_useropt
1297- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298- case $ac_user_opts in
1299- *"
1300-"with_$ac_useropt"
1301-"*) ;;
1302- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1303- ac_unrecognized_sep=', ';;
1304- esac
1305- eval with_$ac_useropt=no ;;
1306-
1307- --x)
1308- # Obsolete; use --with-x.
1309- with_x=yes ;;
1310-
1311- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1312- | --x-incl | --x-inc | --x-in | --x-i)
1313- ac_prev=x_includes ;;
1314- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1315- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1316- x_includes=$ac_optarg ;;
1317-
1318- -x-libraries | --x-libraries | --x-librarie | --x-librari \
1319- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1320- ac_prev=x_libraries ;;
1321- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1322- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1323- x_libraries=$ac_optarg ;;
1324-
1325- -*) as_fn_error $? "unrecognized option: \`$ac_option'
1326-Try \`$0 --help' for more information"
1327- ;;
1328-
1329- *=*)
1330- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1331- # Reject names that are not valid shell variable names.
1332- case $ac_envvar in #(
1333- '' | [0-9]* | *[!_$as_cr_alnum]* )
1334- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1335- esac
1336- eval $ac_envvar=\$ac_optarg
1337- export $ac_envvar ;;
1338-
1339- *)
1340- # FIXME: should be removed in autoconf 3.0.
1341- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1342- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1343- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1344- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1345- ;;
1346-
1347- esac
1348-done
1349-
1350-if test -n "$ac_prev"; then
1351- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1352- as_fn_error $? "missing argument to $ac_option"
1353-fi
1354-
1355-if test -n "$ac_unrecognized_opts"; then
1356- case $enable_option_checking in
1357- no) ;;
1358- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1359- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1360- esac
1361-fi
1362-
1363-# Check all directory arguments for consistency.
1364-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1365- datadir sysconfdir sharedstatedir localstatedir includedir \
1366- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1367- libdir localedir mandir
1368-do
1369- eval ac_val=\$$ac_var
1370- # Remove trailing slashes.
1371- case $ac_val in
1372- */ )
1373- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1374- eval $ac_var=\$ac_val;;
1375- esac
1376- # Be sure to have absolute directory names.
1377- case $ac_val in
1378- [\\/$]* | ?:[\\/]* ) continue;;
1379- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1380- esac
1381- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1382-done
1383-
1384-# There might be people who depend on the old broken behavior: `$host'
1385-# used to hold the argument of --host etc.
1386-# FIXME: To remove some day.
1387-build=$build_alias
1388-host=$host_alias
1389-target=$target_alias
1390-
1391-# FIXME: To remove some day.
1392-if test "x$host_alias" != x; then
1393- if test "x$build_alias" = x; then
1394- cross_compiling=maybe
1395- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1396- If a cross compiler is detected then cross compile mode will be used" >&2
1397- elif test "x$build_alias" != "x$host_alias"; then
1398- cross_compiling=yes
1399- fi
1400-fi
1401-
1402-ac_tool_prefix=
1403-test -n "$host_alias" && ac_tool_prefix=$host_alias-
1404-
1405-test "$silent" = yes && exec 6>/dev/null
1406-
1407-
1408-ac_pwd=`pwd` && test -n "$ac_pwd" &&
1409-ac_ls_di=`ls -di .` &&
1410-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1411- as_fn_error $? "working directory cannot be determined"
1412-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1413- as_fn_error $? "pwd does not report name of working directory"
1414-
1415-
1416-# Find the source files, if location was not specified.
1417-if test -z "$srcdir"; then
1418- ac_srcdir_defaulted=yes
1419- # Try the directory containing this script, then the parent directory.
1420- ac_confdir=`$as_dirname -- "$as_myself" ||
1421-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1422- X"$as_myself" : 'X\(//\)[^/]' \| \
1423- X"$as_myself" : 'X\(//\)$' \| \
1424- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1425-$as_echo X"$as_myself" |
1426- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1427- s//\1/
1428- q
1429- }
1430- /^X\(\/\/\)[^/].*/{
1431- s//\1/
1432- q
1433- }
1434- /^X\(\/\/\)$/{
1435- s//\1/
1436- q
1437- }
1438- /^X\(\/\).*/{
1439- s//\1/
1440- q
1441- }
1442- s/.*/./; q'`
1443- srcdir=$ac_confdir
1444- if test ! -r "$srcdir/$ac_unique_file"; then
1445- srcdir=..
1446- fi
1447-else
1448- ac_srcdir_defaulted=no
1449-fi
1450-if test ! -r "$srcdir/$ac_unique_file"; then
1451- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1452- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1453-fi
1454-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1455-ac_abs_confdir=`(
1456- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1457- pwd)`
1458-# When building in place, set srcdir=.
1459-if test "$ac_abs_confdir" = "$ac_pwd"; then
1460- srcdir=.
1461-fi
1462-# Remove unnecessary trailing slashes from srcdir.
1463-# Double slashes in file names in object file debugging info
1464-# mess up M-x gdb in Emacs.
1465-case $srcdir in
1466-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1467-esac
1468-for ac_var in $ac_precious_vars; do
1469- eval ac_env_${ac_var}_set=\${${ac_var}+set}
1470- eval ac_env_${ac_var}_value=\$${ac_var}
1471- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1472- eval ac_cv_env_${ac_var}_value=\$${ac_var}
1473-done
1474-
1475-#
1476-# Report the --help message.
1477-#
1478-if test "$ac_init_help" = "long"; then
1479- # Omit some internal or obsolete options to make the list less imposing.
1480- # This message is too long to be a string in the A/UX 3.1 sh.
1481- cat <<_ACEOF
1482-\`configure' configures open-vm-tools 2012.12.26 to adapt to many kinds of systems.
1483-
1484-Usage: $0 [OPTION]... [VAR=VALUE]...
1485-
1486-To assign environment variables (e.g., CC, CFLAGS...), specify them as
1487-VAR=VALUE. See below for descriptions of some of the useful variables.
1488-
1489-Defaults for the options are specified in brackets.
1490-
1491-Configuration:
1492- -h, --help display this help and exit
1493- --help=short display options specific to this package
1494- --help=recursive display the short help of all the included packages
1495- -V, --version display version information and exit
1496- -q, --quiet, --silent do not print \`checking ...' messages
1497- --cache-file=FILE cache test results in FILE [disabled]
1498- -C, --config-cache alias for \`--cache-file=config.cache'
1499- -n, --no-create do not create output files
1500- --srcdir=DIR find the sources in DIR [configure dir or \`..']
1501-
1502-Installation directories:
1503- --prefix=PREFIX install architecture-independent files in PREFIX
1504- [$ac_default_prefix]
1505- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1506- [PREFIX]
1507-
1508-By default, \`make install' will install all the files in
1509-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1510-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1511-for instance \`--prefix=\$HOME'.
1512-
1513-For better control, use the options below.
1514-
1515-Fine tuning of the installation directories:
1516- --bindir=DIR user executables [EPREFIX/bin]
1517- --sbindir=DIR system admin executables [EPREFIX/sbin]
1518- --libexecdir=DIR program executables [EPREFIX/libexec]
1519- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1520- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1521- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1522- --libdir=DIR object code libraries [EPREFIX/lib]
1523- --includedir=DIR C header files [PREFIX/include]
1524- --oldincludedir=DIR C header files for non-gcc [/usr/include]
1525- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1526- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1527- --infodir=DIR info documentation [DATAROOTDIR/info]
1528- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1529- --mandir=DIR man documentation [DATAROOTDIR/man]
1530- --docdir=DIR documentation root [DATAROOTDIR/doc/open-vm-tools]
1531- --htmldir=DIR html documentation [DOCDIR]
1532- --dvidir=DIR dvi documentation [DOCDIR]
1533- --pdfdir=DIR pdf documentation [DOCDIR]
1534- --psdir=DIR ps documentation [DOCDIR]
1535-_ACEOF
1536-
1537- cat <<\_ACEOF
1538-
1539-Program names:
1540- --program-prefix=PREFIX prepend PREFIX to installed program names
1541- --program-suffix=SUFFIX append SUFFIX to installed program names
1542- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1543-
1544-X features:
1545- --x-includes=DIR X include files are in DIR
1546- --x-libraries=DIR X library files are in DIR
1547-
1548-System types:
1549- --build=BUILD configure for building on BUILD [guessed]
1550- --host=HOST cross-compile to build programs to run on HOST [BUILD]
1551-_ACEOF
1552-fi
1553-
1554-if test -n "$ac_init_help"; then
1555- case $ac_init_help in
1556- short | recursive ) echo "Configuration of open-vm-tools 2012.12.26:";;
1557- esac
1558- cat <<\_ACEOF
1559-
1560-Optional Features:
1561- --disable-option-checking ignore unrecognized --enable/--with options
1562- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1563- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1564- --disable-multimon disables multimon, enabled by default
1565- --disable-docs disables generation of API documentation; by
1566- default, docs are built if doxygen is available.
1567- --disable-tests disable compilation of test code.
1568- --disable-dependency-tracking speeds up one-time build
1569- --enable-dependency-tracking do not reject slow dependency extractors
1570- --enable-shared[=PKGS] build shared libraries [default=yes]
1571- --enable-static[=PKGS] build static libraries [default=yes]
1572- --enable-fast-install[=PKGS]
1573- optimize for fast installation [default=yes]
1574- --disable-libtool-lock avoid locking (might break parallel builds)
1575-
1576-Optional Packages:
1577- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1578- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1579- --without-root-privileges
1580- does not perform any operations that require root
1581- privileges
1582- --without-kernel-modules
1583- does not compile or install the kernel modules
1584- --with-kernel-release specifies the kernel release you want to build
1585- against
1586- --with-linuxdir specifies the Linux directory you want to use
1587- --without-gtk2 compiles without Gtk 2.0
1588- --without-gtkmm compiles without Gtkmm, sigc++, and related libs
1589- --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1590- both]
1591- --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1592- --with-sysroot=DIR Search for dependent libraries within DIR
1593- (or the compiler's sysroot if not specified).
1594- --with-x use the X Window System
1595- --without-pam compiles without PAM support.
1596- --with-pam-prefix specifies where pam files go. Default is
1597- $(sysconfdir)
1598- --without-procps compiles without libproc (disables support for
1599- meminfo)
1600- --without-dnet compiles without libdnet (disables support for
1601- nicinfo)
1602- --without-icu disables support for ICU
1603-
1604-Some influential environment variables:
1605- CC C compiler command
1606- CFLAGS C compiler flags
1607- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1608- nonstandard directory <lib dir>
1609- LIBS libraries to pass to the linker, e.g. -l<library>
1610- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1611- you have headers in a nonstandard directory <include dir>
1612- CPP C preprocessor
1613- CXX C++ compiler command
1614- CXXFLAGS C++ compiler flags
1615- CXXCPP C++ preprocessor
1616- XMKMF Path to xmkmf, Makefile generator for X Window System
1617-
1618-Use these variables to override the choices made by `configure' or to help
1619-it to find libraries and programs with nonstandard names/locations.
1620-
1621-Report bugs to <open-vm-tools-devel@lists.sourceforge.net>.
1622-_ACEOF
1623-ac_status=$?
1624-fi
1625-
1626-if test "$ac_init_help" = "recursive"; then
1627- # If there are subdirs, report their specific --help.
1628- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629- test -d "$ac_dir" ||
1630- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631- continue
1632- ac_builddir=.
1633-
1634-case "$ac_dir" in
1635-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636-*)
1637- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638- # A ".." for each directory in $ac_dir_suffix.
1639- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640- case $ac_top_builddir_sub in
1641- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643- esac ;;
1644-esac
1645-ac_abs_top_builddir=$ac_pwd
1646-ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647-# for backward compatibility:
1648-ac_top_builddir=$ac_top_build_prefix
1649-
1650-case $srcdir in
1651- .) # We are building in place.
1652- ac_srcdir=.
1653- ac_top_srcdir=$ac_top_builddir_sub
1654- ac_abs_top_srcdir=$ac_pwd ;;
1655- [\\/]* | ?:[\\/]* ) # Absolute name.
1656- ac_srcdir=$srcdir$ac_dir_suffix;
1657- ac_top_srcdir=$srcdir
1658- ac_abs_top_srcdir=$srcdir ;;
1659- *) # Relative name.
1660- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661- ac_top_srcdir=$ac_top_build_prefix$srcdir
1662- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663-esac
1664-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1665-
1666- cd "$ac_dir" || { ac_status=$?; continue; }
1667- # Check for guested configure.
1668- if test -f "$ac_srcdir/configure.gnu"; then
1669- echo &&
1670- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671- elif test -f "$ac_srcdir/configure"; then
1672- echo &&
1673- $SHELL "$ac_srcdir/configure" --help=recursive
1674- else
1675- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676- fi || ac_status=$?
1677- cd "$ac_pwd" || { ac_status=$?; break; }
1678- done
1679-fi
1680-
1681-test -n "$ac_init_help" && exit $ac_status
1682-if $ac_init_version; then
1683- cat <<\_ACEOF
1684-open-vm-tools configure 2012.12.26
1685-generated by GNU Autoconf 2.68
1686-
1687-Copyright (C) 2010 Free Software Foundation, Inc.
1688-This configure script is free software; the Free Software Foundation
1689-gives unlimited permission to copy, distribute and modify it.
1690-_ACEOF
1691- exit
1692-fi
1693-
1694-## ------------------------ ##
1695-## Autoconf initialization. ##
1696-## ------------------------ ##
1697-
1698-# ac_fn_c_try_compile LINENO
1699-# --------------------------
1700-# Try to compile conftest.$ac_ext, and return whether this succeeded.
1701-ac_fn_c_try_compile ()
1702-{
1703- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704- rm -f conftest.$ac_objext
1705- if { { ac_try="$ac_compile"
1706-case "(($ac_try" in
1707- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708- *) ac_try_echo=$ac_try;;
1709-esac
1710-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711-$as_echo "$ac_try_echo"; } >&5
1712- (eval "$ac_compile") 2>conftest.err
1713- ac_status=$?
1714- if test -s conftest.err; then
1715- grep -v '^ *+' conftest.err >conftest.er1
1716- cat conftest.er1 >&5
1717- mv -f conftest.er1 conftest.err
1718- fi
1719- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720- test $ac_status = 0; } && {
1721- test -z "$ac_c_werror_flag" ||
1722- test ! -s conftest.err
1723- } && test -s conftest.$ac_objext; then :
1724- ac_retval=0
1725-else
1726- $as_echo "$as_me: failed program was:" >&5
1727-sed 's/^/| /' conftest.$ac_ext >&5
1728-
1729- ac_retval=1
1730-fi
1731- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732- as_fn_set_status $ac_retval
1733-
1734-} # ac_fn_c_try_compile
1735-
1736-# ac_fn_c_try_cpp LINENO
1737-# ----------------------
1738-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1739-ac_fn_c_try_cpp ()
1740-{
1741- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742- if { { ac_try="$ac_cpp conftest.$ac_ext"
1743-case "(($ac_try" in
1744- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745- *) ac_try_echo=$ac_try;;
1746-esac
1747-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748-$as_echo "$ac_try_echo"; } >&5
1749- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1750- ac_status=$?
1751- if test -s conftest.err; then
1752- grep -v '^ *+' conftest.err >conftest.er1
1753- cat conftest.er1 >&5
1754- mv -f conftest.er1 conftest.err
1755- fi
1756- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757- test $ac_status = 0; } > conftest.i && {
1758- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1759- test ! -s conftest.err
1760- }; then :
1761- ac_retval=0
1762-else
1763- $as_echo "$as_me: failed program was:" >&5
1764-sed 's/^/| /' conftest.$ac_ext >&5
1765-
1766- ac_retval=1
1767-fi
1768- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769- as_fn_set_status $ac_retval
1770-
1771-} # ac_fn_c_try_cpp
1772-
1773-# ac_fn_cxx_try_compile LINENO
1774-# ----------------------------
1775-# Try to compile conftest.$ac_ext, and return whether this succeeded.
1776-ac_fn_cxx_try_compile ()
1777-{
1778- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779- rm -f conftest.$ac_objext
1780- if { { ac_try="$ac_compile"
1781-case "(($ac_try" in
1782- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783- *) ac_try_echo=$ac_try;;
1784-esac
1785-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786-$as_echo "$ac_try_echo"; } >&5
1787- (eval "$ac_compile") 2>conftest.err
1788- ac_status=$?
1789- if test -s conftest.err; then
1790- grep -v '^ *+' conftest.err >conftest.er1
1791- cat conftest.er1 >&5
1792- mv -f conftest.er1 conftest.err
1793- fi
1794- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795- test $ac_status = 0; } && {
1796- test -z "$ac_cxx_werror_flag" ||
1797- test ! -s conftest.err
1798- } && test -s conftest.$ac_objext; then :
1799- ac_retval=0
1800-else
1801- $as_echo "$as_me: failed program was:" >&5
1802-sed 's/^/| /' conftest.$ac_ext >&5
1803-
1804- ac_retval=1
1805-fi
1806- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807- as_fn_set_status $ac_retval
1808-
1809-} # ac_fn_cxx_try_compile
1810-
1811-# ac_fn_c_try_link LINENO
1812-# -----------------------
1813-# Try to link conftest.$ac_ext, and return whether this succeeded.
1814-ac_fn_c_try_link ()
1815-{
1816- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817- rm -f conftest.$ac_objext conftest$ac_exeext
1818- if { { ac_try="$ac_link"
1819-case "(($ac_try" in
1820- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821- *) ac_try_echo=$ac_try;;
1822-esac
1823-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824-$as_echo "$ac_try_echo"; } >&5
1825- (eval "$ac_link") 2>conftest.err
1826- ac_status=$?
1827- if test -s conftest.err; then
1828- grep -v '^ *+' conftest.err >conftest.er1
1829- cat conftest.er1 >&5
1830- mv -f conftest.er1 conftest.err
1831- fi
1832- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833- test $ac_status = 0; } && {
1834- test -z "$ac_c_werror_flag" ||
1835- test ! -s conftest.err
1836- } && test -s conftest$ac_exeext && {
1837- test "$cross_compiling" = yes ||
1838- $as_test_x conftest$ac_exeext
1839- }; then :
1840- ac_retval=0
1841-else
1842- $as_echo "$as_me: failed program was:" >&5
1843-sed 's/^/| /' conftest.$ac_ext >&5
1844-
1845- ac_retval=1
1846-fi
1847- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849- # interfere with the next link command; also delete a directory that is
1850- # left behind by Apple's compiler. We do this before executing the actions.
1851- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853- as_fn_set_status $ac_retval
1854-
1855-} # ac_fn_c_try_link
1856-
1857-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858-# -------------------------------------------------------
1859-# Tests whether HEADER exists and can be compiled using the include files in
1860-# INCLUDES, setting the cache variable VAR accordingly.
1861-ac_fn_c_check_header_compile ()
1862-{
1863- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865-$as_echo_n "checking for $2... " >&6; }
1866-if eval \${$3+:} false; then :
1867- $as_echo_n "(cached) " >&6
1868-else
1869- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870-/* end confdefs.h. */
1871-$4
1872-#include <$2>
1873-_ACEOF
1874-if ac_fn_c_try_compile "$LINENO"; then :
1875- eval "$3=yes"
1876-else
1877- eval "$3=no"
1878-fi
1879-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880-fi
1881-eval ac_res=\$$3
1882- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883-$as_echo "$ac_res" >&6; }
1884- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885-
1886-} # ac_fn_c_check_header_compile
1887-
1888-# ac_fn_c_try_run LINENO
1889-# ----------------------
1890-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891-# that executables *can* be run.
1892-ac_fn_c_try_run ()
1893-{
1894- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895- if { { ac_try="$ac_link"
1896-case "(($ac_try" in
1897- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898- *) ac_try_echo=$ac_try;;
1899-esac
1900-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901-$as_echo "$ac_try_echo"; } >&5
1902- (eval "$ac_link") 2>&5
1903- ac_status=$?
1904- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906- { { case "(($ac_try" in
1907- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908- *) ac_try_echo=$ac_try;;
1909-esac
1910-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911-$as_echo "$ac_try_echo"; } >&5
1912- (eval "$ac_try") 2>&5
1913- ac_status=$?
1914- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915- test $ac_status = 0; }; }; then :
1916- ac_retval=0
1917-else
1918- $as_echo "$as_me: program exited with status $ac_status" >&5
1919- $as_echo "$as_me: failed program was:" >&5
1920-sed 's/^/| /' conftest.$ac_ext >&5
1921-
1922- ac_retval=$ac_status
1923-fi
1924- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926- as_fn_set_status $ac_retval
1927-
1928-} # ac_fn_c_try_run
1929-
1930-# ac_fn_c_check_func LINENO FUNC VAR
1931-# ----------------------------------
1932-# Tests whether FUNC exists, setting the cache variable VAR accordingly
1933-ac_fn_c_check_func ()
1934-{
1935- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937-$as_echo_n "checking for $2... " >&6; }
1938-if eval \${$3+:} false; then :
1939- $as_echo_n "(cached) " >&6
1940-else
1941- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942-/* end confdefs.h. */
1943-/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1944- For example, HP-UX 11i <limits.h> declares gettimeofday. */
1945-#define $2 innocuous_$2
1946-
1947-/* System header to define __stub macros and hopefully few prototypes,
1948- which can conflict with char $2 (); below.
1949- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1950- <limits.h> exists even on freestanding compilers. */
1951-
1952-#ifdef __STDC__
1953-# include <limits.h>
1954-#else
1955-# include <assert.h>
1956-#endif
1957-
1958-#undef $2
1959-
1960-/* Override any GCC internal prototype to avoid an error.
1961- Use char because int might match the return type of a GCC
1962- builtin and then its argument prototype would still apply. */
1963-#ifdef __cplusplus
1964-extern "C"
1965-#endif
1966-char $2 ();
1967-/* The GNU C library defines this for functions which it implements
1968- to always fail with ENOSYS. Some functions are actually named
1969- something starting with __ and the normal name is an alias. */
1970-#if defined __stub_$2 || defined __stub___$2
1971-choke me
1972-#endif
1973-
1974-int
1975-main ()
1976-{
1977-return $2 ();
1978- ;
1979- return 0;
1980-}
1981-_ACEOF
1982-if ac_fn_c_try_link "$LINENO"; then :
1983- eval "$3=yes"
1984-else
1985- eval "$3=no"
1986-fi
1987-rm -f core conftest.err conftest.$ac_objext \
1988- conftest$ac_exeext conftest.$ac_ext
1989-fi
1990-eval ac_res=\$$3
1991- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992-$as_echo "$ac_res" >&6; }
1993- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1994-
1995-} # ac_fn_c_check_func
1996-
1997-# ac_fn_cxx_try_cpp LINENO
1998-# ------------------------
1999-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2000-ac_fn_cxx_try_cpp ()
2001-{
2002- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003- if { { ac_try="$ac_cpp conftest.$ac_ext"
2004-case "(($ac_try" in
2005- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2006- *) ac_try_echo=$ac_try;;
2007-esac
2008-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2009-$as_echo "$ac_try_echo"; } >&5
2010- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2011- ac_status=$?
2012- if test -s conftest.err; then
2013- grep -v '^ *+' conftest.err >conftest.er1
2014- cat conftest.er1 >&5
2015- mv -f conftest.er1 conftest.err
2016- fi
2017- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2018- test $ac_status = 0; } > conftest.i && {
2019- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2020- test ! -s conftest.err
2021- }; then :
2022- ac_retval=0
2023-else
2024- $as_echo "$as_me: failed program was:" >&5
2025-sed 's/^/| /' conftest.$ac_ext >&5
2026-
2027- ac_retval=1
2028-fi
2029- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030- as_fn_set_status $ac_retval
2031-
2032-} # ac_fn_cxx_try_cpp
2033-
2034-# ac_fn_cxx_try_link LINENO
2035-# -------------------------
2036-# Try to link conftest.$ac_ext, and return whether this succeeded.
2037-ac_fn_cxx_try_link ()
2038-{
2039- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040- rm -f conftest.$ac_objext conftest$ac_exeext
2041- if { { ac_try="$ac_link"
2042-case "(($ac_try" in
2043- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2044- *) ac_try_echo=$ac_try;;
2045-esac
2046-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2047-$as_echo "$ac_try_echo"; } >&5
2048- (eval "$ac_link") 2>conftest.err
2049- ac_status=$?
2050- if test -s conftest.err; then
2051- grep -v '^ *+' conftest.err >conftest.er1
2052- cat conftest.er1 >&5
2053- mv -f conftest.er1 conftest.err
2054- fi
2055- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2056- test $ac_status = 0; } && {
2057- test -z "$ac_cxx_werror_flag" ||
2058- test ! -s conftest.err
2059- } && test -s conftest$ac_exeext && {
2060- test "$cross_compiling" = yes ||
2061- $as_test_x conftest$ac_exeext
2062- }; then :
2063- ac_retval=0
2064-else
2065- $as_echo "$as_me: failed program was:" >&5
2066-sed 's/^/| /' conftest.$ac_ext >&5
2067-
2068- ac_retval=1
2069-fi
2070- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2071- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2072- # interfere with the next link command; also delete a directory that is
2073- # left behind by Apple's compiler. We do this before executing the actions.
2074- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2075- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076- as_fn_set_status $ac_retval
2077-
2078-} # ac_fn_cxx_try_link
2079-
2080-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2081-# -------------------------------------------------------
2082-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2083-# the include files in INCLUDES and setting the cache variable VAR
2084-# accordingly.
2085-ac_fn_c_check_header_mongrel ()
2086-{
2087- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088- if eval \${$3+:} false; then :
2089- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2090-$as_echo_n "checking for $2... " >&6; }
2091-if eval \${$3+:} false; then :
2092- $as_echo_n "(cached) " >&6
2093-fi
2094-eval ac_res=\$$3
2095- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096-$as_echo "$ac_res" >&6; }
2097-else
2098- # Is the header compilable?
2099-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2100-$as_echo_n "checking $2 usability... " >&6; }
2101-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102-/* end confdefs.h. */
2103-$4
2104-#include <$2>
2105-_ACEOF
2106-if ac_fn_c_try_compile "$LINENO"; then :
2107- ac_header_compiler=yes
2108-else
2109- ac_header_compiler=no
2110-fi
2111-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2112-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2113-$as_echo "$ac_header_compiler" >&6; }
2114-
2115-# Is the header present?
2116-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2117-$as_echo_n "checking $2 presence... " >&6; }
2118-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119-/* end confdefs.h. */
2120-#include <$2>
2121-_ACEOF
2122-if ac_fn_c_try_cpp "$LINENO"; then :
2123- ac_header_preproc=yes
2124-else
2125- ac_header_preproc=no
2126-fi
2127-rm -f conftest.err conftest.i conftest.$ac_ext
2128-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2129-$as_echo "$ac_header_preproc" >&6; }
2130-
2131-# So? What about this header?
2132-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2133- yes:no: )
2134- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2135-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2136- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2137-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2138- ;;
2139- no:yes:* )
2140- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2141-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2142- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2143-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2144- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2145-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2146- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2147-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2148- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2149-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2150-( $as_echo "## -------------------------------------------------------- ##
2151-## Report this to open-vm-tools-devel@lists.sourceforge.net ##
2152-## -------------------------------------------------------- ##"
2153- ) | sed "s/^/$as_me: WARNING: /" >&2
2154- ;;
2155-esac
2156- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2157-$as_echo_n "checking for $2... " >&6; }
2158-if eval \${$3+:} false; then :
2159- $as_echo_n "(cached) " >&6
2160-else
2161- eval "$3=\$ac_header_compiler"
2162-fi
2163-eval ac_res=\$$3
2164- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2165-$as_echo "$ac_res" >&6; }
2166-fi
2167- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168-
2169-} # ac_fn_c_check_header_mongrel
2170-
2171-# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2172-# ---------------------------------------------------------
2173-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2174-# the include files in INCLUDES and setting the cache variable VAR
2175-# accordingly.
2176-ac_fn_cxx_check_header_mongrel ()
2177-{
2178- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179- if eval \${$3+:} false; then :
2180- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181-$as_echo_n "checking for $2... " >&6; }
2182-if eval \${$3+:} false; then :
2183- $as_echo_n "(cached) " >&6
2184-fi
2185-eval ac_res=\$$3
2186- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187-$as_echo "$ac_res" >&6; }
2188-else
2189- # Is the header compilable?
2190-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2191-$as_echo_n "checking $2 usability... " >&6; }
2192-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193-/* end confdefs.h. */
2194-$4
2195-#include <$2>
2196-_ACEOF
2197-if ac_fn_cxx_try_compile "$LINENO"; then :
2198- ac_header_compiler=yes
2199-else
2200- ac_header_compiler=no
2201-fi
2202-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2204-$as_echo "$ac_header_compiler" >&6; }
2205-
2206-# Is the header present?
2207-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2208-$as_echo_n "checking $2 presence... " >&6; }
2209-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210-/* end confdefs.h. */
2211-#include <$2>
2212-_ACEOF
2213-if ac_fn_cxx_try_cpp "$LINENO"; then :
2214- ac_header_preproc=yes
2215-else
2216- ac_header_preproc=no
2217-fi
2218-rm -f conftest.err conftest.i conftest.$ac_ext
2219-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2220-$as_echo "$ac_header_preproc" >&6; }
2221-
2222-# So? What about this header?
2223-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2224- yes:no: )
2225- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2226-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2227- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2228-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229- ;;
2230- no:yes:* )
2231- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2232-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2233- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2234-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2235- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2236-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2237- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2238-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2239- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241-( $as_echo "## -------------------------------------------------------- ##
2242-## Report this to open-vm-tools-devel@lists.sourceforge.net ##
2243-## -------------------------------------------------------- ##"
2244- ) | sed "s/^/$as_me: WARNING: /" >&2
2245- ;;
2246-esac
2247- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2248-$as_echo_n "checking for $2... " >&6; }
2249-if eval \${$3+:} false; then :
2250- $as_echo_n "(cached) " >&6
2251-else
2252- eval "$3=\$ac_header_compiler"
2253-fi
2254-eval ac_res=\$$3
2255- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256-$as_echo "$ac_res" >&6; }
2257-fi
2258- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2259-
2260-} # ac_fn_cxx_check_header_mongrel
2261-
2262-# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2263-# -------------------------------------------
2264-# Tests whether TYPE exists after having included INCLUDES, setting cache
2265-# variable VAR accordingly.
2266-ac_fn_c_check_type ()
2267-{
2268- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2269- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2270-$as_echo_n "checking for $2... " >&6; }
2271-if eval \${$3+:} false; then :
2272- $as_echo_n "(cached) " >&6
2273-else
2274- eval "$3=no"
2275- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2276-/* end confdefs.h. */
2277-$4
2278-int
2279-main ()
2280-{
2281-if (sizeof ($2))
2282- return 0;
2283- ;
2284- return 0;
2285-}
2286-_ACEOF
2287-if ac_fn_c_try_compile "$LINENO"; then :
2288- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289-/* end confdefs.h. */
2290-$4
2291-int
2292-main ()
2293-{
2294-if (sizeof (($2)))
2295- return 0;
2296- ;
2297- return 0;
2298-}
2299-_ACEOF
2300-if ac_fn_c_try_compile "$LINENO"; then :
2301-
2302-else
2303- eval "$3=yes"
2304-fi
2305-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2306-fi
2307-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2308-fi
2309-eval ac_res=\$$3
2310- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311-$as_echo "$ac_res" >&6; }
2312- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2313-
2314-} # ac_fn_c_check_type
2315-
2316-# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2317-# ----------------------------------------------------
2318-# Tries to find if the field MEMBER exists in type AGGR, after including
2319-# INCLUDES, setting cache variable VAR accordingly.
2320-ac_fn_c_check_member ()
2321-{
2322- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2323- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2324-$as_echo_n "checking for $2.$3... " >&6; }
2325-if eval \${$4+:} false; then :
2326- $as_echo_n "(cached) " >&6
2327-else
2328- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2329-/* end confdefs.h. */
2330-$5
2331-int
2332-main ()
2333-{
2334-static $2 ac_aggr;
2335-if (ac_aggr.$3)
2336-return 0;
2337- ;
2338- return 0;
2339-}
2340-_ACEOF
2341-if ac_fn_c_try_compile "$LINENO"; then :
2342- eval "$4=yes"
2343-else
2344- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2345-/* end confdefs.h. */
2346-$5
2347-int
2348-main ()
2349-{
2350-static $2 ac_aggr;
2351-if (sizeof ac_aggr.$3)
2352-return 0;
2353- ;
2354- return 0;
2355-}
2356-_ACEOF
2357-if ac_fn_c_try_compile "$LINENO"; then :
2358- eval "$4=yes"
2359-else
2360- eval "$4=no"
2361-fi
2362-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363-fi
2364-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365-fi
2366-eval ac_res=\$$4
2367- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368-$as_echo "$ac_res" >&6; }
2369- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2370-
2371-} # ac_fn_c_check_member
2372-cat >config.log <<_ACEOF
2373-This file contains any messages produced by compilers while
2374-running configure, to aid debugging if configure makes a mistake.
2375-
2376-It was created by open-vm-tools $as_me 2012.12.26, which was
2377-generated by GNU Autoconf 2.68. Invocation command line was
2378-
2379- $ $0 $@
2380-
2381-_ACEOF
2382-exec 5>>config.log
2383-{
2384-cat <<_ASUNAME
2385-## --------- ##
2386-## Platform. ##
2387-## --------- ##
2388-
2389-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2390-uname -m = `(uname -m) 2>/dev/null || echo unknown`
2391-uname -r = `(uname -r) 2>/dev/null || echo unknown`
2392-uname -s = `(uname -s) 2>/dev/null || echo unknown`
2393-uname -v = `(uname -v) 2>/dev/null || echo unknown`
2394-
2395-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2396-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2397-
2398-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2399-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2400-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2401-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2402-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2403-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2404-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2405-
2406-_ASUNAME
2407-
2408-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409-for as_dir in $PATH
2410-do
2411- IFS=$as_save_IFS
2412- test -z "$as_dir" && as_dir=.
2413- $as_echo "PATH: $as_dir"
2414- done
2415-IFS=$as_save_IFS
2416-
2417-} >&5
2418-
2419-cat >&5 <<_ACEOF
2420-
2421-
2422-## ----------- ##
2423-## Core tests. ##
2424-## ----------- ##
2425-
2426-_ACEOF
2427-
2428-
2429-# Keep a trace of the command line.
2430-# Strip out --no-create and --no-recursion so they do not pile up.
2431-# Strip out --silent because we don't want to record it for future runs.
2432-# Also quote any args containing shell meta-characters.
2433-# Make two passes to allow for proper duplicate-argument suppression.
2434-ac_configure_args=
2435-ac_configure_args0=
2436-ac_configure_args1=
2437-ac_must_keep_next=false
2438-for ac_pass in 1 2
2439-do
2440- for ac_arg
2441- do
2442- case $ac_arg in
2443- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2444- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2445- | -silent | --silent | --silen | --sile | --sil)
2446- continue ;;
2447- *\'*)
2448- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2449- esac
2450- case $ac_pass in
2451- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2452- 2)
2453- as_fn_append ac_configure_args1 " '$ac_arg'"
2454- if test $ac_must_keep_next = true; then
2455- ac_must_keep_next=false # Got value, back to normal.
2456- else
2457- case $ac_arg in
2458- *=* | --config-cache | -C | -disable-* | --disable-* \
2459- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2460- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2461- | -with-* | --with-* | -without-* | --without-* | --x)
2462- case "$ac_configure_args0 " in
2463- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2464- esac
2465- ;;
2466- -* ) ac_must_keep_next=true ;;
2467- esac
2468- fi
2469- as_fn_append ac_configure_args " '$ac_arg'"
2470- ;;
2471- esac
2472- done
2473-done
2474-{ ac_configure_args0=; unset ac_configure_args0;}
2475-{ ac_configure_args1=; unset ac_configure_args1;}
2476-
2477-# When interrupted or exit'd, cleanup temporary files, and complete
2478-# config.log. We remove comments because anyway the quotes in there
2479-# would cause problems or look ugly.
2480-# WARNING: Use '\'' to represent an apostrophe within the trap.
2481-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2482-trap 'exit_status=$?
2483- # Save into config.log some information that might help in debugging.
2484- {
2485- echo
2486-
2487- $as_echo "## ---------------- ##
2488-## Cache variables. ##
2489-## ---------------- ##"
2490- echo
2491- # The following way of writing the cache mishandles newlines in values,
2492-(
2493- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2494- eval ac_val=\$$ac_var
2495- case $ac_val in #(
2496- *${as_nl}*)
2497- case $ac_var in #(
2498- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2499-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2500- esac
2501- case $ac_var in #(
2502- _ | IFS | as_nl) ;; #(
2503- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2504- *) { eval $ac_var=; unset $ac_var;} ;;
2505- esac ;;
2506- esac
2507- done
2508- (set) 2>&1 |
2509- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2510- *${as_nl}ac_space=\ *)
2511- sed -n \
2512- "s/'\''/'\''\\\\'\'''\''/g;
2513- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2514- ;; #(
2515- *)
2516- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2517- ;;
2518- esac |
2519- sort
2520-)
2521- echo
2522-
2523- $as_echo "## ----------------- ##
2524-## Output variables. ##
2525-## ----------------- ##"
2526- echo
2527- for ac_var in $ac_subst_vars
2528- do
2529- eval ac_val=\$$ac_var
2530- case $ac_val in
2531- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2532- esac
2533- $as_echo "$ac_var='\''$ac_val'\''"
2534- done | sort
2535- echo
2536-
2537- if test -n "$ac_subst_files"; then
2538- $as_echo "## ------------------- ##
2539-## File substitutions. ##
2540-## ------------------- ##"
2541- echo
2542- for ac_var in $ac_subst_files
2543- do
2544- eval ac_val=\$$ac_var
2545- case $ac_val in
2546- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2547- esac
2548- $as_echo "$ac_var='\''$ac_val'\''"
2549- done | sort
2550- echo
2551- fi
2552-
2553- if test -s confdefs.h; then
2554- $as_echo "## ----------- ##
2555-## confdefs.h. ##
2556-## ----------- ##"
2557- echo
2558- cat confdefs.h
2559- echo
2560- fi
2561- test "$ac_signal" != 0 &&
2562- $as_echo "$as_me: caught signal $ac_signal"
2563- $as_echo "$as_me: exit $exit_status"
2564- } >&5
2565- rm -f core *.core core.conftest.* &&
2566- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2567- exit $exit_status
2568-' 0
2569-for ac_signal in 1 2 13 15; do
2570- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2571-done
2572-ac_signal=0
2573-
2574-# confdefs.h avoids OS command line length limits that DEFS can exceed.
2575-rm -f -r conftest* confdefs.h
2576-
2577-$as_echo "/* confdefs.h */" > confdefs.h
2578-
2579-# Predefined preprocessor variables.
2580-
2581-cat >>confdefs.h <<_ACEOF
2582-#define PACKAGE_NAME "$PACKAGE_NAME"
2583-_ACEOF
2584-
2585-cat >>confdefs.h <<_ACEOF
2586-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2587-_ACEOF
2588-
2589-cat >>confdefs.h <<_ACEOF
2590-#define PACKAGE_VERSION "$PACKAGE_VERSION"
2591-_ACEOF
2592-
2593-cat >>confdefs.h <<_ACEOF
2594-#define PACKAGE_STRING "$PACKAGE_STRING"
2595-_ACEOF
2596-
2597-cat >>confdefs.h <<_ACEOF
2598-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2599-_ACEOF
2600-
2601-cat >>confdefs.h <<_ACEOF
2602-#define PACKAGE_URL "$PACKAGE_URL"
2603-_ACEOF
2604-
2605-
2606-# Let the site file select an alternate cache file if it wants to.
2607-# Prefer an explicitly selected file to automatically selected ones.
2608-ac_site_file1=NONE
2609-ac_site_file2=NONE
2610-if test -n "$CONFIG_SITE"; then
2611- # We do not want a PATH search for config.site.
2612- case $CONFIG_SITE in #((
2613- -*) ac_site_file1=./$CONFIG_SITE;;
2614- */*) ac_site_file1=$CONFIG_SITE;;
2615- *) ac_site_file1=./$CONFIG_SITE;;
2616- esac
2617-elif test "x$prefix" != xNONE; then
2618- ac_site_file1=$prefix/share/config.site
2619- ac_site_file2=$prefix/etc/config.site
2620-else
2621- ac_site_file1=$ac_default_prefix/share/config.site
2622- ac_site_file2=$ac_default_prefix/etc/config.site
2623-fi
2624-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2625-do
2626- test "x$ac_site_file" = xNONE && continue
2627- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2628- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2629-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2630- sed 's/^/| /' "$ac_site_file" >&5
2631- . "$ac_site_file" \
2632- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2633-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2634-as_fn_error $? "failed to load site script $ac_site_file
2635-See \`config.log' for more details" "$LINENO" 5; }
2636- fi
2637-done
2638-
2639-if test -r "$cache_file"; then
2640- # Some versions of bash will fail to source /dev/null (special files
2641- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2642- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2643- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2644-$as_echo "$as_me: loading cache $cache_file" >&6;}
2645- case $cache_file in
2646- [\\/]* | ?:[\\/]* ) . "$cache_file";;
2647- *) . "./$cache_file";;
2648- esac
2649- fi
2650-else
2651- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2652-$as_echo "$as_me: creating cache $cache_file" >&6;}
2653- >$cache_file
2654-fi
2655-
2656-# Check that the precious variables saved in the cache have kept the same
2657-# value.
2658-ac_cache_corrupted=false
2659-for ac_var in $ac_precious_vars; do
2660- eval ac_old_set=\$ac_cv_env_${ac_var}_set
2661- eval ac_new_set=\$ac_env_${ac_var}_set
2662- eval ac_old_val=\$ac_cv_env_${ac_var}_value
2663- eval ac_new_val=\$ac_env_${ac_var}_value
2664- case $ac_old_set,$ac_new_set in
2665- set,)
2666- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2667-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2668- ac_cache_corrupted=: ;;
2669- ,set)
2670- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2671-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2672- ac_cache_corrupted=: ;;
2673- ,);;
2674- *)
2675- if test "x$ac_old_val" != "x$ac_new_val"; then
2676- # differences in whitespace do not lead to failure.
2677- ac_old_val_w=`echo x $ac_old_val`
2678- ac_new_val_w=`echo x $ac_new_val`
2679- if test "$ac_old_val_w" != "$ac_new_val_w"; then
2680- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2681-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2682- ac_cache_corrupted=:
2683- else
2684- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2685-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2686- eval $ac_var=\$ac_old_val
2687- fi
2688- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2689-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2690- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2691-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2692- fi;;
2693- esac
2694- # Pass precious variables to config.status.
2695- if test "$ac_new_set" = set; then
2696- case $ac_new_val in
2697- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2698- *) ac_arg=$ac_var=$ac_new_val ;;
2699- esac
2700- case " $ac_configure_args " in
2701- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2702- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2703- esac
2704- fi
2705-done
2706-if $ac_cache_corrupted; then
2707- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2710-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2711- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2712-fi
2713-## -------------------- ##
2714-## Main body of script. ##
2715-## -------------------- ##
2716-
2717-ac_ext=c
2718-ac_cpp='$CPP $CPPFLAGS'
2719-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2720-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2721-ac_compiler_gnu=$ac_cv_c_compiler_gnu
2722-
2723-
2724-
2725-# In order to make this configure script auto-detect situations where
2726-# people have a 32-bit userland running with a 64-bit kernel, we try to ask
2727-# the compiler (assumedly gcc) for its default Target:.
2728-# We have to set up $TEST_CC manually, since AC_PROG_CC hasn't yet been run (and can't be until AC_CANONICAL_HOST & AC_CANONICAL_BUILD are run)
2729-# The purpose of all this is to set up $host_alias/$build_alias in a more
2730-# intelligent way than config.guess currently does.
2731-TEST_CC="$CC_FOR_BUILD"
2732-test -z "$TEST_CC" && TEST_CC="$HOST_CC"
2733-test -z "$TEST_CC" && TEST_CC="$CC"
2734-if test -n "$TEST_CC" -a -z "$host_alias"; then
2735- host_alias="`$TEST_CC -dumpmachine`"
2736- if test -z "$build_alias" -a -n "$host_alias"; then
2737- build_alias="$host_alias"
2738- fi
2739-fi
2740-unset TEST_CC
2741-
2742-# checkvm/checkvm.c has no special significance - we just need to pass in a file that
2743-# helps autoconf verify that it really has found the source tree.
2744-
2745-
2746-# Keep the top-level directory tidy by putting auxiliary build tools and local
2747-# macros in separate subdirectories.
2748-ac_aux_dir=
2749-for ac_dir in config "$srcdir"/config; do
2750- if test -f "$ac_dir/install-sh"; then
2751- ac_aux_dir=$ac_dir
2752- ac_install_sh="$ac_aux_dir/install-sh -c"
2753- break
2754- elif test -f "$ac_dir/install.sh"; then
2755- ac_aux_dir=$ac_dir
2756- ac_install_sh="$ac_aux_dir/install.sh -c"
2757- break
2758- elif test -f "$ac_dir/shtool"; then
2759- ac_aux_dir=$ac_dir
2760- ac_install_sh="$ac_aux_dir/shtool install -c"
2761- break
2762- fi
2763-done
2764-if test -z "$ac_aux_dir"; then
2765- as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2766-fi
2767-
2768-# These three variables are undocumented and unsupported,
2769-# and are intended to be withdrawn in a future Autoconf release.
2770-# They can cause serious problems if a builder's source tree is in a directory
2771-# whose full name contains unusual characters.
2772-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2773-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2774-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2775-
2776-
2777-
2778-
2779-# Make sure we can run config.sub.
2780-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2781- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2782-
2783-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2784-$as_echo_n "checking build system type... " >&6; }
2785-if ${ac_cv_build+:} false; then :
2786- $as_echo_n "(cached) " >&6
2787-else
2788- ac_build_alias=$build_alias
2789-test "x$ac_build_alias" = x &&
2790- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2791-test "x$ac_build_alias" = x &&
2792- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2793-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2794- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2795-
2796-fi
2797-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2798-$as_echo "$ac_cv_build" >&6; }
2799-case $ac_cv_build in
2800-*-*-*) ;;
2801-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2802-esac
2803-build=$ac_cv_build
2804-ac_save_IFS=$IFS; IFS='-'
2805-set x $ac_cv_build
2806-shift
2807-build_cpu=$1
2808-build_vendor=$2
2809-shift; shift
2810-# Remember, the first character of IFS is used to create $*,
2811-# except with old shells:
2812-build_os=$*
2813-IFS=$ac_save_IFS
2814-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2815-
2816-
2817-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2818-$as_echo_n "checking host system type... " >&6; }
2819-if ${ac_cv_host+:} false; then :
2820- $as_echo_n "(cached) " >&6
2821-else
2822- if test "x$host_alias" = x; then
2823- ac_cv_host=$ac_cv_build
2824-else
2825- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2826- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2827-fi
2828-
2829-fi
2830-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2831-$as_echo "$ac_cv_host" >&6; }
2832-case $ac_cv_host in
2833-*-*-*) ;;
2834-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2835-esac
2836-host=$ac_cv_host
2837-ac_save_IFS=$IFS; IFS='-'
2838-set x $ac_cv_host
2839-shift
2840-host_cpu=$1
2841-host_vendor=$2
2842-shift; shift
2843-# Remember, the first character of IFS is used to create $*,
2844-# except with old shells:
2845-host_os=$*
2846-IFS=$ac_save_IFS
2847-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2848-
2849-
2850-
2851-
2852-# Quote the regular expressions
2853-case "$host_cpu" in
2854- i[3456]86)
2855- userSpaceBitness="32"
2856- ;;
2857- x86_64)
2858- userSpaceBitness="64"
2859- ;;
2860- *)
2861- as_fn_error $? "Unknown architecture." "$LINENO" 5
2862- ;;
2863-esac
2864-
2865-# Operational arguments.
2866-
2867-# Check whether --with-root-privileges was given.
2868-if test "${with_root_privileges+set}" = set; then :
2869- withval=$with_root_privileges;
2870-else
2871- with_root_privileges=yes
2872-fi
2873-
2874-
2875-# Kernel arguments.
2876-# The kernel args have to go here otherwise the KERNEL_RELEASE won't be visible
2877-# to getOsVersion()
2878-
2879-# Check whether --with-kernel-modules was given.
2880-if test "${with_kernel_modules+set}" = set; then :
2881- withval=$with_kernel_modules;
2882-else
2883- with_kernel_modules=yes
2884-fi
2885-
2886-
2887-
2888-# Check whether --with-kernel-release was given.
2889-if test "${with_kernel_release+set}" = set; then :
2890- withval=$with_kernel_release; KERNEL_RELEASE="$withval"
2891-else
2892- KERNEL_RELEASE=`uname -r`
2893-fi
2894-
2895-
2896-
2897-# Check whether --with-linuxdir was given.
2898-if test "${with_linuxdir+set}" = set; then :
2899- withval=$with_linuxdir; LINUXDIR="$withval"
2900-else
2901- LINUXDIR=/lib/modules/$KERNEL_RELEASE
2902-fi
2903-
2904-
2905-# Turn the uname output into something we can run comparisons on.
2906-getOsVersion() {
2907- major_version="`echo $KERNEL_RELEASE | cut -f1 -d. | cut -f1 -d-`"
2908- minor_version="`echo $KERNEL_RELEASE | cut -f2 -d. | cut -f1 -d-`"
2909- micro_version="`echo $KERNEL_RELEASE | cut -f3 -d. | cut -f1 -d-`"
2910- printf '%02d%02d%03d' $major_version $minor_version $micro_version
2911-}
2912-
2913-case "$host_os" in
2914- linux*)
2915- os="linux"
2916- ;;
2917- freebsd*)
2918- os="freebsd"
2919- ;;
2920- kfreebsd*-gnu)
2921- os="kfreebsd-gnu"
2922- ;;
2923- solaris*)
2924- os="solaris"
2925- ;;
2926- *)
2927- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This is an untested and unsupported Operating System. Proceed at your own peril." >&5
2928-$as_echo "$as_me: WARNING: This is an untested and unsupported Operating System. Proceed at your own peril." >&2;}
2929- ;;
2930-esac
2931-osVersion="`getOsVersion`"
2932-
2933-if test "$with_kernel_modules" = "yes"; then
2934- case "$os" in
2935- linux)
2936- if test "$osVersion" -lt 206009; then
2937- as_fn_error $? "Kernels prior to 2.6.9 are not supported in this release of open-vm-tools. Configure using --without-kernel-modules to suppress building kernel drivers." "$LINENO" 5
2938- fi
2939- if test ! -d "$LINUXDIR/kernel/"; then
2940- as_fn_error $? "$LINUXDIR/kernel does not exist" "$LINENO" 5
2941- fi
2942- LINUXINCLUDE="$LINUXDIR/build/include"
2943- if test ! -d "$LINUXINCLUDE"; then
2944- as_fn_error $? "Can't find include dir under $LINUXDIR" "$LINENO" 5
2945- fi
2946- ;;
2947-
2948- freebsd)
2949- freebsd_sysdir=/usr/src/sys
2950- if test -n "$SYSDIR"; then
2951- freebsd_sysdir="$SYSDIR"
2952- fi
2953- if test ! -f "$freebsd_sysdir/conf/kmod.mk"; then
2954- as_fn_error $? "FreeBSD kernel tree not found. Please install the kernel sources (or provide the location using SYSDIR) or configure using --without-kernel-modules." "$LINENO" 5
2955- fi
2956- ;;
2957- esac
2958-fi
2959-
2960-# Arguments for disabling individual open-vm-tools features or libraries.
2961-# Check whether --enable-multimon was given.
2962-if test "${enable_multimon+set}" = set; then :
2963- enableval=$enable_multimon; enable_multimon="$enableval"
2964-else
2965- enable_multimon="yes"
2966-fi
2967-
2968-
2969-
2970-# Check whether --with-gtk2 was given.
2971-if test "${with_gtk2+set}" = set; then :
2972- withval=$with_gtk2; with_gtk2="$withval"
2973-else
2974- with_gtk2="yes"
2975-fi
2976-
2977-
2978-
2979-# Check whether --with-gtkmm was given.
2980-if test "${with_gtkmm+set}" = set; then :
2981- withval=$with_gtkmm; with_gtkmm="$withval"
2982-else
2983- with_gtkmm="yes"
2984-fi
2985-
2986-
2987-# Check whether --enable-docs was given.
2988-if test "${enable_docs+set}" = set; then :
2989- enableval=$enable_docs; enable_docs="$enableval"
2990-else
2991- enable_docs="yes"
2992-fi
2993-
2994-
2995-# Check whether --enable-tests was given.
2996-if test "${enable_tests+set}" = set; then :
2997- enableval=$enable_tests; enable_tests="$enableval"
2998-else
2999- enable_tests="auto"
3000-fi
3001-
3002-
3003-am__api_version='1.11'
3004-
3005-# Find a good install program. We prefer a C program (faster),
3006-# so one script is as good as another. But avoid the broken or
3007-# incompatible versions:
3008-# SysV /etc/install, /usr/sbin/install
3009-# SunOS /usr/etc/install
3010-# IRIX /sbin/install
3011-# AIX /bin/install
3012-# AmigaOS /C/install, which installs bootblocks on floppy discs
3013-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3014-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3015-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3016-# OS/2's system install, which has a completely different semantic
3017-# ./install, which can be erroneously created by make from ./install.sh.
3018-# Reject install programs that cannot install multiple files.
3019-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3020-$as_echo_n "checking for a BSD-compatible install... " >&6; }
3021-if test -z "$INSTALL"; then
3022-if ${ac_cv_path_install+:} false; then :
3023- $as_echo_n "(cached) " >&6
3024-else
3025- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026-for as_dir in $PATH
3027-do
3028- IFS=$as_save_IFS
3029- test -z "$as_dir" && as_dir=.
3030- # Account for people who put trailing slashes in PATH elements.
3031-case $as_dir/ in #((
3032- ./ | .// | /[cC]/* | \
3033- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3034- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3035- /usr/ucb/* ) ;;
3036- *)
3037- # OSF1 and SCO ODT 3.0 have their own names for install.
3038- # Don't use installbsd from OSF since it installs stuff as root
3039- # by default.
3040- for ac_prog in ginstall scoinst install; do
3041- for ac_exec_ext in '' $ac_executable_extensions; do
3042- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3043- if test $ac_prog = install &&
3044- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3045- # AIX install. It has an incompatible calling convention.
3046- :
3047- elif test $ac_prog = install &&
3048- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3049- # program-specific install script used by HP pwplus--don't use.
3050- :
3051- else
3052- rm -rf conftest.one conftest.two conftest.dir
3053- echo one > conftest.one
3054- echo two > conftest.two
3055- mkdir conftest.dir
3056- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3057- test -s conftest.one && test -s conftest.two &&
3058- test -s conftest.dir/conftest.one &&
3059- test -s conftest.dir/conftest.two
3060- then
3061- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3062- break 3
3063- fi
3064- fi
3065- fi
3066- done
3067- done
3068- ;;
3069-esac
3070-
3071- done
3072-IFS=$as_save_IFS
3073-
3074-rm -rf conftest.one conftest.two conftest.dir
3075-
3076-fi
3077- if test "${ac_cv_path_install+set}" = set; then
3078- INSTALL=$ac_cv_path_install
3079- else
3080- # As a last resort, use the slow shell script. Don't cache a
3081- # value for INSTALL within a source directory, because that will
3082- # break other packages using the cache if that directory is
3083- # removed, or if the value is a relative name.
3084- INSTALL=$ac_install_sh
3085- fi
3086-fi
3087-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3088-$as_echo "$INSTALL" >&6; }
3089-
3090-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3091-# It thinks the first close brace ends the variable substitution.
3092-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3093-
3094-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3095-
3096-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3097-
3098-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3099-$as_echo_n "checking whether build environment is sane... " >&6; }
3100-# Just in case
3101-sleep 1
3102-echo timestamp > conftest.file
3103-# Reject unsafe characters in $srcdir or the absolute working directory
3104-# name. Accept space and tab only in the latter.
3105-am_lf='
3106-'
3107-case `pwd` in
3108- *[\\\"\#\$\&\'\`$am_lf]*)
3109- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3110-esac
3111-case $srcdir in
3112- *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3113- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3114-esac
3115-
3116-# Do `set' in a subshell so we don't clobber the current shell's
3117-# arguments. Must try -L first in case configure is actually a
3118-# symlink; some systems play weird games with the mod time of symlinks
3119-# (eg FreeBSD returns the mod time of the symlink's containing
3120-# directory).
3121-if (
3122- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3123- if test "$*" = "X"; then
3124- # -L didn't work.
3125- set X `ls -t "$srcdir/configure" conftest.file`
3126- fi
3127- rm -f conftest.file
3128- if test "$*" != "X $srcdir/configure conftest.file" \
3129- && test "$*" != "X conftest.file $srcdir/configure"; then
3130-
3131- # If neither matched, then we have a broken ls. This can happen
3132- # if, for instance, CONFIG_SHELL is bash and it inherits a
3133- # broken ls alias from the environment. This has actually
3134- # happened. Such a system could not be considered "sane".
3135- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3136-alias in your environment" "$LINENO" 5
3137- fi
3138-
3139- test "$2" = conftest.file
3140- )
3141-then
3142- # Ok.
3143- :
3144-else
3145- as_fn_error $? "newly created file is older than distributed files!
3146-Check your system clock" "$LINENO" 5
3147-fi
3148-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3149-$as_echo "yes" >&6; }
3150-test "$program_prefix" != NONE &&
3151- program_transform_name="s&^&$program_prefix&;$program_transform_name"
3152-# Use a double $ so make ignores it.
3153-test "$program_suffix" != NONE &&
3154- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3155-# Double any \ or $.
3156-# By default was `s,x,x', remove it if useless.
3157-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3158-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3159-
3160-# expand $ac_aux_dir to an absolute path
3161-am_aux_dir=`cd $ac_aux_dir && pwd`
3162-
3163-if test x"${MISSING+set}" != xset; then
3164- case $am_aux_dir in
3165- *\ * | *\ *)
3166- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3167- *)
3168- MISSING="\${SHELL} $am_aux_dir/missing" ;;
3169- esac
3170-fi
3171-# Use eval to expand $SHELL
3172-if eval "$MISSING --run true"; then
3173- am_missing_run="$MISSING --run "
3174-else
3175- am_missing_run=
3176- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3177-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3178-fi
3179-
3180-if test x"${install_sh}" != xset; then
3181- case $am_aux_dir in
3182- *\ * | *\ *)
3183- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3184- *)
3185- install_sh="\${SHELL} $am_aux_dir/install-sh"
3186- esac
3187-fi
3188-
3189-# Installed binaries are usually stripped using `strip' when the user
3190-# run `make install-strip'. However `strip' might not be the right
3191-# tool to use in cross-compilation environments, therefore Automake
3192-# will honor the `STRIP' environment variable to overrule this program.
3193-if test "$cross_compiling" != no; then
3194- if test -n "$ac_tool_prefix"; then
3195- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3196-set dummy ${ac_tool_prefix}strip; ac_word=$2
3197-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198-$as_echo_n "checking for $ac_word... " >&6; }
3199-if ${ac_cv_prog_STRIP+:} false; then :
3200- $as_echo_n "(cached) " >&6
3201-else
3202- if test -n "$STRIP"; then
3203- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3204-else
3205-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206-for as_dir in $PATH
3207-do
3208- IFS=$as_save_IFS
3209- test -z "$as_dir" && as_dir=.
3210- for ac_exec_ext in '' $ac_executable_extensions; do
3211- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3213- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214- break 2
3215- fi
3216-done
3217- done
3218-IFS=$as_save_IFS
3219-
3220-fi
3221-fi
3222-STRIP=$ac_cv_prog_STRIP
3223-if test -n "$STRIP"; then
3224- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3225-$as_echo "$STRIP" >&6; }
3226-else
3227- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228-$as_echo "no" >&6; }
3229-fi
3230-
3231-
3232-fi
3233-if test -z "$ac_cv_prog_STRIP"; then
3234- ac_ct_STRIP=$STRIP
3235- # Extract the first word of "strip", so it can be a program name with args.
3236-set dummy strip; ac_word=$2
3237-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238-$as_echo_n "checking for $ac_word... " >&6; }
3239-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3240- $as_echo_n "(cached) " >&6
3241-else
3242- if test -n "$ac_ct_STRIP"; then
3243- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3244-else
3245-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246-for as_dir in $PATH
3247-do
3248- IFS=$as_save_IFS
3249- test -z "$as_dir" && as_dir=.
3250- for ac_exec_ext in '' $ac_executable_extensions; do
3251- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3252- ac_cv_prog_ac_ct_STRIP="strip"
3253- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254- break 2
3255- fi
3256-done
3257- done
3258-IFS=$as_save_IFS
3259-
3260-fi
3261-fi
3262-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3263-if test -n "$ac_ct_STRIP"; then
3264- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3265-$as_echo "$ac_ct_STRIP" >&6; }
3266-else
3267- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268-$as_echo "no" >&6; }
3269-fi
3270-
3271- if test "x$ac_ct_STRIP" = x; then
3272- STRIP=":"
3273- else
3274- case $cross_compiling:$ac_tool_warned in
3275-yes:)
3276-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3277-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3278-ac_tool_warned=yes ;;
3279-esac
3280- STRIP=$ac_ct_STRIP
3281- fi
3282-else
3283- STRIP="$ac_cv_prog_STRIP"
3284-fi
3285-
3286-fi
3287-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3288-
3289-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3290-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3291-if test -z "$MKDIR_P"; then
3292- if ${ac_cv_path_mkdir+:} false; then :
3293- $as_echo_n "(cached) " >&6
3294-else
3295- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3297-do
3298- IFS=$as_save_IFS
3299- test -z "$as_dir" && as_dir=.
3300- for ac_prog in mkdir gmkdir; do
3301- for ac_exec_ext in '' $ac_executable_extensions; do
3302- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3303- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3304- 'mkdir (GNU coreutils) '* | \
3305- 'mkdir (coreutils) '* | \
3306- 'mkdir (fileutils) '4.1*)
3307- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3308- break 3;;
3309- esac
3310- done
3311- done
3312- done
3313-IFS=$as_save_IFS
3314-
3315-fi
3316-
3317- test -d ./--version && rmdir ./--version
3318- if test "${ac_cv_path_mkdir+set}" = set; then
3319- MKDIR_P="$ac_cv_path_mkdir -p"
3320- else
3321- # As a last resort, use the slow shell script. Don't cache a
3322- # value for MKDIR_P within a source directory, because that will
3323- # break other packages using the cache if that directory is
3324- # removed, or if the value is a relative name.
3325- MKDIR_P="$ac_install_sh -d"
3326- fi
3327-fi
3328-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3329-$as_echo "$MKDIR_P" >&6; }
3330-
3331-mkdir_p="$MKDIR_P"
3332-case $mkdir_p in
3333- [\\/$]* | ?:[\\/]*) ;;
3334- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3335-esac
3336-
3337-for ac_prog in gawk mawk nawk awk
3338-do
3339- # Extract the first word of "$ac_prog", so it can be a program name with args.
3340-set dummy $ac_prog; ac_word=$2
3341-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342-$as_echo_n "checking for $ac_word... " >&6; }
3343-if ${ac_cv_prog_AWK+:} false; then :
3344- $as_echo_n "(cached) " >&6
3345-else
3346- if test -n "$AWK"; then
3347- ac_cv_prog_AWK="$AWK" # Let the user override the test.
3348-else
3349-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350-for as_dir in $PATH
3351-do
3352- IFS=$as_save_IFS
3353- test -z "$as_dir" && as_dir=.
3354- for ac_exec_ext in '' $ac_executable_extensions; do
3355- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3356- ac_cv_prog_AWK="$ac_prog"
3357- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3358- break 2
3359- fi
3360-done
3361- done
3362-IFS=$as_save_IFS
3363-
3364-fi
3365-fi
3366-AWK=$ac_cv_prog_AWK
3367-if test -n "$AWK"; then
3368- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3369-$as_echo "$AWK" >&6; }
3370-else
3371- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372-$as_echo "no" >&6; }
3373-fi
3374-
3375-
3376- test -n "$AWK" && break
3377-done
3378-
3379-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3380-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3381-set x ${MAKE-make}
3382-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3383-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3384- $as_echo_n "(cached) " >&6
3385-else
3386- cat >conftest.make <<\_ACEOF
3387-SHELL = /bin/sh
3388-all:
3389- @echo '@@@%%%=$(MAKE)=@@@%%%'
3390-_ACEOF
3391-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3392-case `${MAKE-make} -f conftest.make 2>/dev/null` in
3393- *@@@%%%=?*=@@@%%%*)
3394- eval ac_cv_prog_make_${ac_make}_set=yes;;
3395- *)
3396- eval ac_cv_prog_make_${ac_make}_set=no;;
3397-esac
3398-rm -f conftest.make
3399-fi
3400-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3401- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3402-$as_echo "yes" >&6; }
3403- SET_MAKE=
3404-else
3405- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406-$as_echo "no" >&6; }
3407- SET_MAKE="MAKE=${MAKE-make}"
3408-fi
3409-
3410-rm -rf .tst 2>/dev/null
3411-mkdir .tst 2>/dev/null
3412-if test -d .tst; then
3413- am__leading_dot=.
3414-else
3415- am__leading_dot=_
3416-fi
3417-rmdir .tst 2>/dev/null
3418-
3419-if test "`cd $srcdir && pwd`" != "`pwd`"; then
3420- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3421- # is not polluted with repeated "-I."
3422- am__isrc=' -I$(srcdir)'
3423- # test to see if srcdir already configured
3424- if test -f $srcdir/config.status; then
3425- as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3426- fi
3427-fi
3428-
3429-# test whether we have cygpath
3430-if test -z "$CYGPATH_W"; then
3431- if (cygpath --version) >/dev/null 2>/dev/null; then
3432- CYGPATH_W='cygpath -w'
3433- else
3434- CYGPATH_W=echo
3435- fi
3436-fi
3437-
3438-
3439-# Define the identity of the package.
3440- PACKAGE='open-vm-tools'
3441- VERSION='2012.12.26'
3442-
3443-
3444-cat >>confdefs.h <<_ACEOF
3445-#define PACKAGE "$PACKAGE"
3446-_ACEOF
3447-
3448-
3449-cat >>confdefs.h <<_ACEOF
3450-#define VERSION "$VERSION"
3451-_ACEOF
3452-
3453-# Some tools Automake needs.
3454-
3455-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3456-
3457-
3458-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3459-
3460-
3461-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3462-
3463-
3464-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3465-
3466-
3467-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3468-
3469-# We need awk for the "check" target. The system "awk" is bad on
3470-# some platforms.
3471-# Always define AMTAR for backward compatibility. Yes, it's still used
3472-# in the wild :-( We should find a proper way to deprecate it ...
3473-AMTAR='$${TAR-tar}'
3474-
3475-am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3476-
3477-
3478-
3479-
3480-
3481-
3482-###
3483-### Constants
3484-###
3485-# These need to be declared after initialization.
3486-
3487-# Some of our macro call-sites require changes to
3488-# CPPFLAGS/CFLAGS/LDFLAGS. In such places, we save the original value
3489-# of CPPFLAGS/CFLAGS/LDFLAGS before the macro call and restore it when
3490-# the call is done. We must perform this save at each macro site,
3491-# because CPPFLAGS/CFLAGS/LDFLAGS may change over the course of
3492-# configuration.
3493-#
3494-# CPPFLAGS is intended for preprocessor options (-D and -I mainly)
3495-# CFLAGS is intended for compiler options (-O, -f, -W, and so forth)
3496-
3497-CPPFLAGS="$CPPFLAGS -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS"
3498-
3499-###
3500-### Programs
3501-###
3502-# C preprocessor and compiler.
3503-DEPDIR="${am__leading_dot}deps"
3504-
3505-ac_config_commands="$ac_config_commands depfiles"
3506-
3507-
3508-am_make=${MAKE-make}
3509-cat > confinc << 'END'
3510-am__doit:
3511- @echo this is the am__doit target
3512-.PHONY: am__doit
3513-END
3514-# If we don't find an include directive, just comment out the code.
3515-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3516-$as_echo_n "checking for style of include used by $am_make... " >&6; }
3517-am__include="#"
3518-am__quote=
3519-_am_result=none
3520-# First try GNU make style include.
3521-echo "include confinc" > confmf
3522-# Ignore all kinds of additional output from `make'.
3523-case `$am_make -s -f confmf 2> /dev/null` in #(
3524-*the\ am__doit\ target*)
3525- am__include=include
3526- am__quote=
3527- _am_result=GNU
3528- ;;
3529-esac
3530-# Now try BSD make style include.
3531-if test "$am__include" = "#"; then
3532- echo '.include "confinc"' > confmf
3533- case `$am_make -s -f confmf 2> /dev/null` in #(
3534- *the\ am__doit\ target*)
3535- am__include=.include
3536- am__quote="\""
3537- _am_result=BSD
3538- ;;
3539- esac
3540-fi
3541-
3542-
3543-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3544-$as_echo "$_am_result" >&6; }
3545-rm -f confinc confmf
3546-
3547-# Check whether --enable-dependency-tracking was given.
3548-if test "${enable_dependency_tracking+set}" = set; then :
3549- enableval=$enable_dependency_tracking;
3550-fi
3551-
3552-if test "x$enable_dependency_tracking" != xno; then
3553- am_depcomp="$ac_aux_dir/depcomp"
3554- AMDEPBACKSLASH='\'
3555- am__nodep='_no'
3556-fi
3557- if test "x$enable_dependency_tracking" != xno; then
3558- AMDEP_TRUE=
3559- AMDEP_FALSE='#'
3560-else
3561- AMDEP_TRUE='#'
3562- AMDEP_FALSE=
3563-fi
3564-
3565-
3566-ac_ext=c
3567-ac_cpp='$CPP $CPPFLAGS'
3568-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3569-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3570-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3571-if test -n "$ac_tool_prefix"; then
3572- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3573-set dummy ${ac_tool_prefix}gcc; ac_word=$2
3574-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3575-$as_echo_n "checking for $ac_word... " >&6; }
3576-if ${ac_cv_prog_CC+:} false; then :
3577- $as_echo_n "(cached) " >&6
3578-else
3579- if test -n "$CC"; then
3580- ac_cv_prog_CC="$CC" # Let the user override the test.
3581-else
3582-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583-for as_dir in $PATH
3584-do
3585- IFS=$as_save_IFS
3586- test -z "$as_dir" && as_dir=.
3587- for ac_exec_ext in '' $ac_executable_extensions; do
3588- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3589- ac_cv_prog_CC="${ac_tool_prefix}gcc"
3590- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3591- break 2
3592- fi
3593-done
3594- done
3595-IFS=$as_save_IFS
3596-
3597-fi
3598-fi
3599-CC=$ac_cv_prog_CC
3600-if test -n "$CC"; then
3601- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3602-$as_echo "$CC" >&6; }
3603-else
3604- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605-$as_echo "no" >&6; }
3606-fi
3607-
3608-
3609-fi
3610-if test -z "$ac_cv_prog_CC"; then
3611- ac_ct_CC=$CC
3612- # Extract the first word of "gcc", so it can be a program name with args.
3613-set dummy gcc; ac_word=$2
3614-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615-$as_echo_n "checking for $ac_word... " >&6; }
3616-if ${ac_cv_prog_ac_ct_CC+:} false; then :
3617- $as_echo_n "(cached) " >&6
3618-else
3619- if test -n "$ac_ct_CC"; then
3620- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3621-else
3622-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623-for as_dir in $PATH
3624-do
3625- IFS=$as_save_IFS
3626- test -z "$as_dir" && as_dir=.
3627- for ac_exec_ext in '' $ac_executable_extensions; do
3628- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3629- ac_cv_prog_ac_ct_CC="gcc"
3630- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631- break 2
3632- fi
3633-done
3634- done
3635-IFS=$as_save_IFS
3636-
3637-fi
3638-fi
3639-ac_ct_CC=$ac_cv_prog_ac_ct_CC
3640-if test -n "$ac_ct_CC"; then
3641- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3642-$as_echo "$ac_ct_CC" >&6; }
3643-else
3644- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645-$as_echo "no" >&6; }
3646-fi
3647-
3648- if test "x$ac_ct_CC" = x; then
3649- CC=""
3650- else
3651- case $cross_compiling:$ac_tool_warned in
3652-yes:)
3653-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3654-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3655-ac_tool_warned=yes ;;
3656-esac
3657- CC=$ac_ct_CC
3658- fi
3659-else
3660- CC="$ac_cv_prog_CC"
3661-fi
3662-
3663-if test -z "$CC"; then
3664- if test -n "$ac_tool_prefix"; then
3665- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3666-set dummy ${ac_tool_prefix}cc; ac_word=$2
3667-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3668-$as_echo_n "checking for $ac_word... " >&6; }
3669-if ${ac_cv_prog_CC+:} false; then :
3670- $as_echo_n "(cached) " >&6
3671-else
3672- if test -n "$CC"; then
3673- ac_cv_prog_CC="$CC" # Let the user override the test.
3674-else
3675-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676-for as_dir in $PATH
3677-do
3678- IFS=$as_save_IFS
3679- test -z "$as_dir" && as_dir=.
3680- for ac_exec_ext in '' $ac_executable_extensions; do
3681- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3682- ac_cv_prog_CC="${ac_tool_prefix}cc"
3683- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684- break 2
3685- fi
3686-done
3687- done
3688-IFS=$as_save_IFS
3689-
3690-fi
3691-fi
3692-CC=$ac_cv_prog_CC
3693-if test -n "$CC"; then
3694- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3695-$as_echo "$CC" >&6; }
3696-else
3697- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698-$as_echo "no" >&6; }
3699-fi
3700-
3701-
3702- fi
3703-fi
3704-if test -z "$CC"; then
3705- # Extract the first word of "cc", so it can be a program name with args.
3706-set dummy cc; ac_word=$2
3707-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708-$as_echo_n "checking for $ac_word... " >&6; }
3709-if ${ac_cv_prog_CC+:} false; then :
3710- $as_echo_n "(cached) " >&6
3711-else
3712- if test -n "$CC"; then
3713- ac_cv_prog_CC="$CC" # Let the user override the test.
3714-else
3715- ac_prog_rejected=no
3716-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3717-for as_dir in $PATH
3718-do
3719- IFS=$as_save_IFS
3720- test -z "$as_dir" && as_dir=.
3721- for ac_exec_ext in '' $ac_executable_extensions; do
3722- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3723- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3724- ac_prog_rejected=yes
3725- continue
3726- fi
3727- ac_cv_prog_CC="cc"
3728- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3729- break 2
3730- fi
3731-done
3732- done
3733-IFS=$as_save_IFS
3734-
3735-if test $ac_prog_rejected = yes; then
3736- # We found a bogon in the path, so make sure we never use it.
3737- set dummy $ac_cv_prog_CC
3738- shift
3739- if test $# != 0; then
3740- # We chose a different compiler from the bogus one.
3741- # However, it has the same basename, so the bogon will be chosen
3742- # first if we set CC to just the basename; use the full file name.
3743- shift
3744- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3745- fi
3746-fi
3747-fi
3748-fi
3749-CC=$ac_cv_prog_CC
3750-if test -n "$CC"; then
3751- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3752-$as_echo "$CC" >&6; }
3753-else
3754- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755-$as_echo "no" >&6; }
3756-fi
3757-
3758-
3759-fi
3760-if test -z "$CC"; then
3761- if test -n "$ac_tool_prefix"; then
3762- for ac_prog in cl.exe
3763- do
3764- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3765-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3766-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767-$as_echo_n "checking for $ac_word... " >&6; }
3768-if ${ac_cv_prog_CC+:} false; then :
3769- $as_echo_n "(cached) " >&6
3770-else
3771- if test -n "$CC"; then
3772- ac_cv_prog_CC="$CC" # Let the user override the test.
3773-else
3774-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775-for as_dir in $PATH
3776-do
3777- IFS=$as_save_IFS
3778- test -z "$as_dir" && as_dir=.
3779- for ac_exec_ext in '' $ac_executable_extensions; do
3780- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3781- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3782- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783- break 2
3784- fi
3785-done
3786- done
3787-IFS=$as_save_IFS
3788-
3789-fi
3790-fi
3791-CC=$ac_cv_prog_CC
3792-if test -n "$CC"; then
3793- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3794-$as_echo "$CC" >&6; }
3795-else
3796- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797-$as_echo "no" >&6; }
3798-fi
3799-
3800-
3801- test -n "$CC" && break
3802- done
3803-fi
3804-if test -z "$CC"; then
3805- ac_ct_CC=$CC
3806- for ac_prog in cl.exe
3807-do
3808- # Extract the first word of "$ac_prog", so it can be a program name with args.
3809-set dummy $ac_prog; ac_word=$2
3810-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811-$as_echo_n "checking for $ac_word... " >&6; }
3812-if ${ac_cv_prog_ac_ct_CC+:} false; then :
3813- $as_echo_n "(cached) " >&6
3814-else
3815- if test -n "$ac_ct_CC"; then
3816- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3817-else
3818-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3819-for as_dir in $PATH
3820-do
3821- IFS=$as_save_IFS
3822- test -z "$as_dir" && as_dir=.
3823- for ac_exec_ext in '' $ac_executable_extensions; do
3824- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3825- ac_cv_prog_ac_ct_CC="$ac_prog"
3826- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827- break 2
3828- fi
3829-done
3830- done
3831-IFS=$as_save_IFS
3832-
3833-fi
3834-fi
3835-ac_ct_CC=$ac_cv_prog_ac_ct_CC
3836-if test -n "$ac_ct_CC"; then
3837- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3838-$as_echo "$ac_ct_CC" >&6; }
3839-else
3840- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841-$as_echo "no" >&6; }
3842-fi
3843-
3844-
3845- test -n "$ac_ct_CC" && break
3846-done
3847-
3848- if test "x$ac_ct_CC" = x; then
3849- CC=""
3850- else
3851- case $cross_compiling:$ac_tool_warned in
3852-yes:)
3853-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3854-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3855-ac_tool_warned=yes ;;
3856-esac
3857- CC=$ac_ct_CC
3858- fi
3859-fi
3860-
3861-fi
3862-
3863-
3864-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3865-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3866-as_fn_error $? "no acceptable C compiler found in \$PATH
3867-See \`config.log' for more details" "$LINENO" 5; }
3868-
3869-# Provide some information about the compiler.
3870-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3871-set X $ac_compile
3872-ac_compiler=$2
3873-for ac_option in --version -v -V -qversion; do
3874- { { ac_try="$ac_compiler $ac_option >&5"
3875-case "(($ac_try" in
3876- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877- *) ac_try_echo=$ac_try;;
3878-esac
3879-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880-$as_echo "$ac_try_echo"; } >&5
3881- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3882- ac_status=$?
3883- if test -s conftest.err; then
3884- sed '10a\
3885-... rest of stderr output deleted ...
3886- 10q' conftest.err >conftest.er1
3887- cat conftest.er1 >&5
3888- fi
3889- rm -f conftest.er1 conftest.err
3890- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3891- test $ac_status = 0; }
3892-done
3893-
3894-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895-/* end confdefs.h. */
3896-
3897-int
3898-main ()
3899-{
3900-
3901- ;
3902- return 0;
3903-}
3904-_ACEOF
3905-ac_clean_files_save=$ac_clean_files
3906-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3907-# Try to create an executable without -o first, disregard a.out.
3908-# It will help us diagnose broken compilers, and finding out an intuition
3909-# of exeext.
3910-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3911-$as_echo_n "checking whether the C compiler works... " >&6; }
3912-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3913-
3914-# The possible output files:
3915-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916-
3917-ac_rmfiles=
3918-for ac_file in $ac_files
3919-do
3920- case $ac_file in
3921- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3922- * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3923- esac
3924-done
3925-rm -f $ac_rmfiles
3926-
3927-if { { ac_try="$ac_link_default"
3928-case "(($ac_try" in
3929- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930- *) ac_try_echo=$ac_try;;
3931-esac
3932-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933-$as_echo "$ac_try_echo"; } >&5
3934- (eval "$ac_link_default") 2>&5
3935- ac_status=$?
3936- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937- test $ac_status = 0; }; then :
3938- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3939-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3940-# in a Makefile. We should not override ac_cv_exeext if it was cached,
3941-# so that the user can short-circuit this test for compilers unknown to
3942-# Autoconf.
3943-for ac_file in $ac_files ''
3944-do
3945- test -f "$ac_file" || continue
3946- case $ac_file in
3947- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3948- ;;
3949- [ab].out )
3950- # We found the default executable, but exeext='' is most
3951- # certainly right.
3952- break;;
3953- *.* )
3954- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3955- then :; else
3956- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957- fi
3958- # We set ac_cv_exeext here because the later test for it is not
3959- # safe: cross compilers may not add the suffix if given an `-o'
3960- # argument, so we may need to know it at that point already.
3961- # Even if this section looks crufty: it has the advantage of
3962- # actually working.
3963- break;;
3964- * )
3965- break;;
3966- esac
3967-done
3968-test "$ac_cv_exeext" = no && ac_cv_exeext=
3969-
3970-else
3971- ac_file=''
3972-fi
3973-if test -z "$ac_file"; then :
3974- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975-$as_echo "no" >&6; }
3976-$as_echo "$as_me: failed program was:" >&5
3977-sed 's/^/| /' conftest.$ac_ext >&5
3978-
3979-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981-as_fn_error 77 "C compiler cannot create executables
3982-See \`config.log' for more details" "$LINENO" 5; }
3983-else
3984- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3985-$as_echo "yes" >&6; }
3986-fi
3987-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3988-$as_echo_n "checking for C compiler default output file name... " >&6; }
3989-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3990-$as_echo "$ac_file" >&6; }
3991-ac_exeext=$ac_cv_exeext
3992-
3993-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3994-ac_clean_files=$ac_clean_files_save
3995-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3996-$as_echo_n "checking for suffix of executables... " >&6; }
3997-if { { ac_try="$ac_link"
3998-case "(($ac_try" in
3999- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000- *) ac_try_echo=$ac_try;;
4001-esac
4002-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003-$as_echo "$ac_try_echo"; } >&5
4004- (eval "$ac_link") 2>&5
4005- ac_status=$?
4006- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4007- test $ac_status = 0; }; then :
4008- # If both `conftest.exe' and `conftest' are `present' (well, observable)
4009-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4010-# work properly (i.e., refer to `conftest.exe'), while it won't with
4011-# `rm'.
4012-for ac_file in conftest.exe conftest conftest.*; do
4013- test -f "$ac_file" || continue
4014- case $ac_file in
4015- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4016- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4017- break;;
4018- * ) break;;
4019- esac
4020-done
4021-else
4022- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4025-See \`config.log' for more details" "$LINENO" 5; }
4026-fi
4027-rm -f conftest conftest$ac_cv_exeext
4028-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4029-$as_echo "$ac_cv_exeext" >&6; }
4030-
4031-rm -f conftest.$ac_ext
4032-EXEEXT=$ac_cv_exeext
4033-ac_exeext=$EXEEXT
4034-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035-/* end confdefs.h. */
4036-#include <stdio.h>
4037-int
4038-main ()
4039-{
4040-FILE *f = fopen ("conftest.out", "w");
4041- return ferror (f) || fclose (f) != 0;
4042-
4043- ;
4044- return 0;
4045-}
4046-_ACEOF
4047-ac_clean_files="$ac_clean_files conftest.out"
4048-# Check that the compiler produces executables we can run. If not, either
4049-# the compiler is broken, or we cross compile.
4050-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4051-$as_echo_n "checking whether we are cross compiling... " >&6; }
4052-if test "$cross_compiling" != yes; then
4053- { { ac_try="$ac_link"
4054-case "(($ac_try" in
4055- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056- *) ac_try_echo=$ac_try;;
4057-esac
4058-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059-$as_echo "$ac_try_echo"; } >&5
4060- (eval "$ac_link") 2>&5
4061- ac_status=$?
4062- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063- test $ac_status = 0; }
4064- if { ac_try='./conftest$ac_cv_exeext'
4065- { { case "(($ac_try" in
4066- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067- *) ac_try_echo=$ac_try;;
4068-esac
4069-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070-$as_echo "$ac_try_echo"; } >&5
4071- (eval "$ac_try") 2>&5
4072- ac_status=$?
4073- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074- test $ac_status = 0; }; }; then
4075- cross_compiling=no
4076- else
4077- if test "$cross_compiling" = maybe; then
4078- cross_compiling=yes
4079- else
4080- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082-as_fn_error $? "cannot run C compiled programs.
4083-If you meant to cross compile, use \`--host'.
4084-See \`config.log' for more details" "$LINENO" 5; }
4085- fi
4086- fi
4087-fi
4088-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4089-$as_echo "$cross_compiling" >&6; }
4090-
4091-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4092-ac_clean_files=$ac_clean_files_save
4093-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4094-$as_echo_n "checking for suffix of object files... " >&6; }
4095-if ${ac_cv_objext+:} false; then :
4096- $as_echo_n "(cached) " >&6
4097-else
4098- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099-/* end confdefs.h. */
4100-
4101-int
4102-main ()
4103-{
4104-
4105- ;
4106- return 0;
4107-}
4108-_ACEOF
4109-rm -f conftest.o conftest.obj
4110-if { { ac_try="$ac_compile"
4111-case "(($ac_try" in
4112- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113- *) ac_try_echo=$ac_try;;
4114-esac
4115-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4116-$as_echo "$ac_try_echo"; } >&5
4117- (eval "$ac_compile") 2>&5
4118- ac_status=$?
4119- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120- test $ac_status = 0; }; then :
4121- for ac_file in conftest.o conftest.obj conftest.*; do
4122- test -f "$ac_file" || continue;
4123- case $ac_file in
4124- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4125- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4126- break;;
4127- esac
4128-done
4129-else
4130- $as_echo "$as_me: failed program was:" >&5
4131-sed 's/^/| /' conftest.$ac_ext >&5
4132-
4133-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4134-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4135-as_fn_error $? "cannot compute suffix of object files: cannot compile
4136-See \`config.log' for more details" "$LINENO" 5; }
4137-fi
4138-rm -f conftest.$ac_cv_objext conftest.$ac_ext
4139-fi
4140-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4141-$as_echo "$ac_cv_objext" >&6; }
4142-OBJEXT=$ac_cv_objext
4143-ac_objext=$OBJEXT
4144-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4145-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4146-if ${ac_cv_c_compiler_gnu+:} false; then :
4147- $as_echo_n "(cached) " >&6
4148-else
4149- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4150-/* end confdefs.h. */
4151-
4152-int
4153-main ()
4154-{
4155-#ifndef __GNUC__
4156- choke me
4157-#endif
4158-
4159- ;
4160- return 0;
4161-}
4162-_ACEOF
4163-if ac_fn_c_try_compile "$LINENO"; then :
4164- ac_compiler_gnu=yes
4165-else
4166- ac_compiler_gnu=no
4167-fi
4168-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169-ac_cv_c_compiler_gnu=$ac_compiler_gnu
4170-
4171-fi
4172-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4173-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4174-if test $ac_compiler_gnu = yes; then
4175- GCC=yes
4176-else
4177- GCC=
4178-fi
4179-ac_test_CFLAGS=${CFLAGS+set}
4180-ac_save_CFLAGS=$CFLAGS
4181-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4182-$as_echo_n "checking whether $CC accepts -g... " >&6; }
4183-if ${ac_cv_prog_cc_g+:} false; then :
4184- $as_echo_n "(cached) " >&6
4185-else
4186- ac_save_c_werror_flag=$ac_c_werror_flag
4187- ac_c_werror_flag=yes
4188- ac_cv_prog_cc_g=no
4189- CFLAGS="-g"
4190- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191-/* end confdefs.h. */
4192-
4193-int
4194-main ()
4195-{
4196-
4197- ;
4198- return 0;
4199-}
4200-_ACEOF
4201-if ac_fn_c_try_compile "$LINENO"; then :
4202- ac_cv_prog_cc_g=yes
4203-else
4204- CFLAGS=""
4205- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206-/* end confdefs.h. */
4207-
4208-int
4209-main ()
4210-{
4211-
4212- ;
4213- return 0;
4214-}
4215-_ACEOF
4216-if ac_fn_c_try_compile "$LINENO"; then :
4217-
4218-else
4219- ac_c_werror_flag=$ac_save_c_werror_flag
4220- CFLAGS="-g"
4221- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222-/* end confdefs.h. */
4223-
4224-int
4225-main ()
4226-{
4227-
4228- ;
4229- return 0;
4230-}
4231-_ACEOF
4232-if ac_fn_c_try_compile "$LINENO"; then :
4233- ac_cv_prog_cc_g=yes
4234-fi
4235-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236-fi
4237-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4238-fi
4239-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240- ac_c_werror_flag=$ac_save_c_werror_flag
4241-fi
4242-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4243-$as_echo "$ac_cv_prog_cc_g" >&6; }
4244-if test "$ac_test_CFLAGS" = set; then
4245- CFLAGS=$ac_save_CFLAGS
4246-elif test $ac_cv_prog_cc_g = yes; then
4247- if test "$GCC" = yes; then
4248- CFLAGS="-g -O2"
4249- else
4250- CFLAGS="-g"
4251- fi
4252-else
4253- if test "$GCC" = yes; then
4254- CFLAGS="-O2"
4255- else
4256- CFLAGS=
4257- fi
4258-fi
4259-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4260-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4261-if ${ac_cv_prog_cc_c89+:} false; then :
4262- $as_echo_n "(cached) " >&6
4263-else
4264- ac_cv_prog_cc_c89=no
4265-ac_save_CC=$CC
4266-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267-/* end confdefs.h. */
4268-#include <stdarg.h>
4269-#include <stdio.h>
4270-#include <sys/types.h>
4271-#include <sys/stat.h>
4272-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4273-struct buf { int x; };
4274-FILE * (*rcsopen) (struct buf *, struct stat *, int);
4275-static char *e (p, i)
4276- char **p;
4277- int i;
4278-{
4279- return p[i];
4280-}
4281-static char *f (char * (*g) (char **, int), char **p, ...)
4282-{
4283- char *s;
4284- va_list v;
4285- va_start (v,p);
4286- s = g (p, va_arg (v,int));
4287- va_end (v);
4288- return s;
4289-}
4290-
4291-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4292- function prototypes and stuff, but not '\xHH' hex character constants.
4293- These don't provoke an error unfortunately, instead are silently treated
4294- as 'x'. The following induces an error, until -std is added to get
4295- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4296- array size at least. It's necessary to write '\x00'==0 to get something
4297- that's true only with -std. */
4298-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4299-
4300-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4301- inside strings and character constants. */
4302-#define FOO(x) 'x'
4303-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4304-
4305-int test (int i, double x);
4306-struct s1 {int (*f) (int a);};
4307-struct s2 {int (*f) (double a);};
4308-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4309-int argc;
4310-char **argv;
4311-int
4312-main ()
4313-{
4314-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4315- ;
4316- return 0;
4317-}
4318-_ACEOF
4319-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4320- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4321-do
4322- CC="$ac_save_CC $ac_arg"
4323- if ac_fn_c_try_compile "$LINENO"; then :
4324- ac_cv_prog_cc_c89=$ac_arg
4325-fi
4326-rm -f core conftest.err conftest.$ac_objext
4327- test "x$ac_cv_prog_cc_c89" != "xno" && break
4328-done
4329-rm -f conftest.$ac_ext
4330-CC=$ac_save_CC
4331-
4332-fi
4333-# AC_CACHE_VAL
4334-case "x$ac_cv_prog_cc_c89" in
4335- x)
4336- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4337-$as_echo "none needed" >&6; } ;;
4338- xno)
4339- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4340-$as_echo "unsupported" >&6; } ;;
4341- *)
4342- CC="$CC $ac_cv_prog_cc_c89"
4343- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4344-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4345-esac
4346-if test "x$ac_cv_prog_cc_c89" != xno; then :
4347-
4348-fi
4349-
4350-ac_ext=c
4351-ac_cpp='$CPP $CPPFLAGS'
4352-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4354-ac_compiler_gnu=$ac_cv_c_compiler_gnu
4355-
4356-depcc="$CC" am_compiler_list=
4357-
4358-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4359-$as_echo_n "checking dependency style of $depcc... " >&6; }
4360-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4361- $as_echo_n "(cached) " >&6
4362-else
4363- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4364- # We make a subdir and do the tests there. Otherwise we can end up
4365- # making bogus files that we don't know about and never remove. For
4366- # instance it was reported that on HP-UX the gcc test will end up
4367- # making a dummy file named `D' -- because `-MD' means `put the output
4368- # in D'.
4369- rm -rf conftest.dir
4370- mkdir conftest.dir
4371- # Copy depcomp to subdir because otherwise we won't find it if we're
4372- # using a relative directory.
4373- cp "$am_depcomp" conftest.dir
4374- cd conftest.dir
4375- # We will build objects and dependencies in a subdirectory because
4376- # it helps to detect inapplicable dependency modes. For instance
4377- # both Tru64's cc and ICC support -MD to output dependencies as a
4378- # side effect of compilation, but ICC will put the dependencies in
4379- # the current directory while Tru64 will put them in the object
4380- # directory.
4381- mkdir sub
4382-
4383- am_cv_CC_dependencies_compiler_type=none
4384- if test "$am_compiler_list" = ""; then
4385- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4386- fi
4387- am__universal=false
4388- case " $depcc " in #(
4389- *\ -arch\ *\ -arch\ *) am__universal=true ;;
4390- esac
4391-
4392- for depmode in $am_compiler_list; do
4393- # Setup a source with many dependencies, because some compilers
4394- # like to wrap large dependency lists on column 80 (with \), and
4395- # we should not choose a depcomp mode which is confused by this.
4396- #
4397- # We need to recreate these files for each test, as the compiler may
4398- # overwrite some of them when testing with obscure command lines.
4399- # This happens at least with the AIX C compiler.
4400- : > sub/conftest.c
4401- for i in 1 2 3 4 5 6; do
4402- echo '#include "conftst'$i'.h"' >> sub/conftest.c
4403- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4404- # Solaris 8's {/usr,}/bin/sh.
4405- touch sub/conftst$i.h
4406- done
4407- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4408-
4409- # We check with `-c' and `-o' for the sake of the "dashmstdout"
4410- # mode. It turns out that the SunPro C++ compiler does not properly
4411- # handle `-M -o', and we need to detect this. Also, some Intel
4412- # versions had trouble with output in subdirs
4413- am__obj=sub/conftest.${OBJEXT-o}
4414- am__minus_obj="-o $am__obj"
4415- case $depmode in
4416- gcc)
4417- # This depmode causes a compiler race in universal mode.
4418- test "$am__universal" = false || continue
4419- ;;
4420- nosideeffect)
4421- # after this tag, mechanisms are not by side-effect, so they'll
4422- # only be used when explicitly requested
4423- if test "x$enable_dependency_tracking" = xyes; then
4424- continue
4425- else
4426- break
4427- fi
4428- ;;
4429- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4430- # This compiler won't grok `-c -o', but also, the minuso test has
4431- # not run yet. These depmodes are late enough in the game, and
4432- # so weak that their functioning should not be impacted.
4433- am__obj=conftest.${OBJEXT-o}
4434- am__minus_obj=
4435- ;;
4436- none) break ;;
4437- esac
4438- if depmode=$depmode \
4439- source=sub/conftest.c object=$am__obj \
4440- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4441- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4442- >/dev/null 2>conftest.err &&
4443- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4444- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4445- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4446- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4447- # icc doesn't choke on unknown options, it will just issue warnings
4448- # or remarks (even with -Werror). So we grep stderr for any message
4449- # that says an option was ignored or not supported.
4450- # When given -MP, icc 7.0 and 7.1 complain thusly:
4451- # icc: Command line warning: ignoring option '-M'; no argument required
4452- # The diagnosis changed in icc 8.0:
4453- # icc: Command line remark: option '-MP' not supported
4454- if (grep 'ignoring option' conftest.err ||
4455- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4456- am_cv_CC_dependencies_compiler_type=$depmode
4457- break
4458- fi
4459- fi
4460- done
4461-
4462- cd ..
4463- rm -rf conftest.dir
4464-else
4465- am_cv_CC_dependencies_compiler_type=none
4466-fi
4467-
4468-fi
4469-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4470-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4471-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4472-
4473- if
4474- test "x$enable_dependency_tracking" != xno \
4475- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4476- am__fastdepCC_TRUE=
4477- am__fastdepCC_FALSE='#'
4478-else
4479- am__fastdepCC_TRUE='#'
4480- am__fastdepCC_FALSE=
4481-fi
4482-
4483-
4484-ac_ext=c
4485-ac_cpp='$CPP $CPPFLAGS'
4486-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4487-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4488-ac_compiler_gnu=$ac_cv_c_compiler_gnu
4489-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4490-$as_echo_n "checking how to run the C preprocessor... " >&6; }
4491-# On Suns, sometimes $CPP names a directory.
4492-if test -n "$CPP" && test -d "$CPP"; then
4493- CPP=
4494-fi
4495-if test -z "$CPP"; then
4496- if ${ac_cv_prog_CPP+:} false; then :
4497- $as_echo_n "(cached) " >&6
4498-else
4499- # Double quotes because CPP needs to be expanded
4500- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4501- do
4502- ac_preproc_ok=false
4503-for ac_c_preproc_warn_flag in '' yes
4504-do
4505- # Use a header file that comes with gcc, so configuring glibc
4506- # with a fresh cross-compiler works.
4507- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4508- # <limits.h> exists even on freestanding compilers.
4509- # On the NeXT, cc -E runs the code through the compiler's parser,
4510- # not just through cpp. "Syntax error" is here to catch this case.
4511- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512-/* end confdefs.h. */
4513-#ifdef __STDC__
4514-# include <limits.h>
4515-#else
4516-# include <assert.h>
4517-#endif
4518- Syntax error
4519-_ACEOF
4520-if ac_fn_c_try_cpp "$LINENO"; then :
4521-
4522-else
4523- # Broken: fails on valid input.
4524-continue
4525-fi
4526-rm -f conftest.err conftest.i conftest.$ac_ext
4527-
4528- # OK, works on sane cases. Now check whether nonexistent headers
4529- # can be detected and how.
4530- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531-/* end confdefs.h. */
4532-#include <ac_nonexistent.h>
4533-_ACEOF
4534-if ac_fn_c_try_cpp "$LINENO"; then :
4535- # Broken: success on invalid input.
4536-continue
4537-else
4538- # Passes both tests.
4539-ac_preproc_ok=:
4540-break
4541-fi
4542-rm -f conftest.err conftest.i conftest.$ac_ext
4543-
4544-done
4545-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4546-rm -f conftest.i conftest.err conftest.$ac_ext
4547-if $ac_preproc_ok; then :
4548- break
4549-fi
4550-
4551- done
4552- ac_cv_prog_CPP=$CPP
4553-
4554-fi
4555- CPP=$ac_cv_prog_CPP
4556-else
4557- ac_cv_prog_CPP=$CPP
4558-fi
4559-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4560-$as_echo "$CPP" >&6; }
4561-ac_preproc_ok=false
4562-for ac_c_preproc_warn_flag in '' yes
4563-do
4564- # Use a header file that comes with gcc, so configuring glibc
4565- # with a fresh cross-compiler works.
4566- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4567- # <limits.h> exists even on freestanding compilers.
4568- # On the NeXT, cc -E runs the code through the compiler's parser,
4569- # not just through cpp. "Syntax error" is here to catch this case.
4570- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571-/* end confdefs.h. */
4572-#ifdef __STDC__
4573-# include <limits.h>
4574-#else
4575-# include <assert.h>
4576-#endif
4577- Syntax error
4578-_ACEOF
4579-if ac_fn_c_try_cpp "$LINENO"; then :
4580-
4581-else
4582- # Broken: fails on valid input.
4583-continue
4584-fi
4585-rm -f conftest.err conftest.i conftest.$ac_ext
4586-
4587- # OK, works on sane cases. Now check whether nonexistent headers
4588- # can be detected and how.
4589- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590-/* end confdefs.h. */
4591-#include <ac_nonexistent.h>
4592-_ACEOF
4593-if ac_fn_c_try_cpp "$LINENO"; then :
4594- # Broken: success on invalid input.
4595-continue
4596-else
4597- # Passes both tests.
4598-ac_preproc_ok=:
4599-break
4600-fi
4601-rm -f conftest.err conftest.i conftest.$ac_ext
4602-
4603-done
4604-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4605-rm -f conftest.i conftest.err conftest.$ac_ext
4606-if $ac_preproc_ok; then :
4607-
4608-else
4609- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4610-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4611-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4612-See \`config.log' for more details" "$LINENO" 5; }
4613-fi
4614-
4615-ac_ext=c
4616-ac_cpp='$CPP $CPPFLAGS'
4617-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619-ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620-
4621-ac_ext=c
4622-ac_cpp='$CPP $CPPFLAGS'
4623-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625-ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626-if test -n "$ac_tool_prefix"; then
4627- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4628-set dummy ${ac_tool_prefix}gcc; ac_word=$2
4629-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630-$as_echo_n "checking for $ac_word... " >&6; }
4631-if ${ac_cv_prog_CC+:} false; then :
4632- $as_echo_n "(cached) " >&6
4633-else
4634- if test -n "$CC"; then
4635- ac_cv_prog_CC="$CC" # Let the user override the test.
4636-else
4637-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638-for as_dir in $PATH
4639-do
4640- IFS=$as_save_IFS
4641- test -z "$as_dir" && as_dir=.
4642- for ac_exec_ext in '' $ac_executable_extensions; do
4643- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4644- ac_cv_prog_CC="${ac_tool_prefix}gcc"
4645- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646- break 2
4647- fi
4648-done
4649- done
4650-IFS=$as_save_IFS
4651-
4652-fi
4653-fi
4654-CC=$ac_cv_prog_CC
4655-if test -n "$CC"; then
4656- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4657-$as_echo "$CC" >&6; }
4658-else
4659- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660-$as_echo "no" >&6; }
4661-fi
4662-
4663-
4664-fi
4665-if test -z "$ac_cv_prog_CC"; then
4666- ac_ct_CC=$CC
4667- # Extract the first word of "gcc", so it can be a program name with args.
4668-set dummy gcc; ac_word=$2
4669-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670-$as_echo_n "checking for $ac_word... " >&6; }
4671-if ${ac_cv_prog_ac_ct_CC+:} false; then :
4672- $as_echo_n "(cached) " >&6
4673-else
4674- if test -n "$ac_ct_CC"; then
4675- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4676-else
4677-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678-for as_dir in $PATH
4679-do
4680- IFS=$as_save_IFS
4681- test -z "$as_dir" && as_dir=.
4682- for ac_exec_ext in '' $ac_executable_extensions; do
4683- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4684- ac_cv_prog_ac_ct_CC="gcc"
4685- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686- break 2
4687- fi
4688-done
4689- done
4690-IFS=$as_save_IFS
4691-
4692-fi
4693-fi
4694-ac_ct_CC=$ac_cv_prog_ac_ct_CC
4695-if test -n "$ac_ct_CC"; then
4696- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4697-$as_echo "$ac_ct_CC" >&6; }
4698-else
4699- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700-$as_echo "no" >&6; }
4701-fi
4702-
4703- if test "x$ac_ct_CC" = x; then
4704- CC=""
4705- else
4706- case $cross_compiling:$ac_tool_warned in
4707-yes:)
4708-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4709-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710-ac_tool_warned=yes ;;
4711-esac
4712- CC=$ac_ct_CC
4713- fi
4714-else
4715- CC="$ac_cv_prog_CC"
4716-fi
4717-
4718-if test -z "$CC"; then
4719- if test -n "$ac_tool_prefix"; then
4720- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4721-set dummy ${ac_tool_prefix}cc; ac_word=$2
4722-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723-$as_echo_n "checking for $ac_word... " >&6; }
4724-if ${ac_cv_prog_CC+:} false; then :
4725- $as_echo_n "(cached) " >&6
4726-else
4727- if test -n "$CC"; then
4728- ac_cv_prog_CC="$CC" # Let the user override the test.
4729-else
4730-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731-for as_dir in $PATH
4732-do
4733- IFS=$as_save_IFS
4734- test -z "$as_dir" && as_dir=.
4735- for ac_exec_ext in '' $ac_executable_extensions; do
4736- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4737- ac_cv_prog_CC="${ac_tool_prefix}cc"
4738- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739- break 2
4740- fi
4741-done
4742- done
4743-IFS=$as_save_IFS
4744-
4745-fi
4746-fi
4747-CC=$ac_cv_prog_CC
4748-if test -n "$CC"; then
4749- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4750-$as_echo "$CC" >&6; }
4751-else
4752- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753-$as_echo "no" >&6; }
4754-fi
4755-
4756-
4757- fi
4758-fi
4759-if test -z "$CC"; then
4760- # Extract the first word of "cc", so it can be a program name with args.
4761-set dummy cc; ac_word=$2
4762-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763-$as_echo_n "checking for $ac_word... " >&6; }
4764-if ${ac_cv_prog_CC+:} false; then :
4765- $as_echo_n "(cached) " >&6
4766-else
4767- if test -n "$CC"; then
4768- ac_cv_prog_CC="$CC" # Let the user override the test.
4769-else
4770- ac_prog_rejected=no
4771-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772-for as_dir in $PATH
4773-do
4774- IFS=$as_save_IFS
4775- test -z "$as_dir" && as_dir=.
4776- for ac_exec_ext in '' $ac_executable_extensions; do
4777- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4778- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4779- ac_prog_rejected=yes
4780- continue
4781- fi
4782- ac_cv_prog_CC="cc"
4783- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784- break 2
4785- fi
4786-done
4787- done
4788-IFS=$as_save_IFS
4789-
4790-if test $ac_prog_rejected = yes; then
4791- # We found a bogon in the path, so make sure we never use it.
4792- set dummy $ac_cv_prog_CC
4793- shift
4794- if test $# != 0; then
4795- # We chose a different compiler from the bogus one.
4796- # However, it has the same basename, so the bogon will be chosen
4797- # first if we set CC to just the basename; use the full file name.
4798- shift
4799- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4800- fi
4801-fi
4802-fi
4803-fi
4804-CC=$ac_cv_prog_CC
4805-if test -n "$CC"; then
4806- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4807-$as_echo "$CC" >&6; }
4808-else
4809- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810-$as_echo "no" >&6; }
4811-fi
4812-
4813-
4814-fi
4815-if test -z "$CC"; then
4816- if test -n "$ac_tool_prefix"; then
4817- for ac_prog in cl.exe
4818- do
4819- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4820-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4821-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822-$as_echo_n "checking for $ac_word... " >&6; }
4823-if ${ac_cv_prog_CC+:} false; then :
4824- $as_echo_n "(cached) " >&6
4825-else
4826- if test -n "$CC"; then
4827- ac_cv_prog_CC="$CC" # Let the user override the test.
4828-else
4829-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830-for as_dir in $PATH
4831-do
4832- IFS=$as_save_IFS
4833- test -z "$as_dir" && as_dir=.
4834- for ac_exec_ext in '' $ac_executable_extensions; do
4835- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4836- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4837- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4838- break 2
4839- fi
4840-done
4841- done
4842-IFS=$as_save_IFS
4843-
4844-fi
4845-fi
4846-CC=$ac_cv_prog_CC
4847-if test -n "$CC"; then
4848- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4849-$as_echo "$CC" >&6; }
4850-else
4851- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852-$as_echo "no" >&6; }
4853-fi
4854-
4855-
4856- test -n "$CC" && break
4857- done
4858-fi
4859-if test -z "$CC"; then
4860- ac_ct_CC=$CC
4861- for ac_prog in cl.exe
4862-do
4863- # Extract the first word of "$ac_prog", so it can be a program name with args.
4864-set dummy $ac_prog; ac_word=$2
4865-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866-$as_echo_n "checking for $ac_word... " >&6; }
4867-if ${ac_cv_prog_ac_ct_CC+:} false; then :
4868- $as_echo_n "(cached) " >&6
4869-else
4870- if test -n "$ac_ct_CC"; then
4871- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4872-else
4873-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874-for as_dir in $PATH
4875-do
4876- IFS=$as_save_IFS
4877- test -z "$as_dir" && as_dir=.
4878- for ac_exec_ext in '' $ac_executable_extensions; do
4879- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880- ac_cv_prog_ac_ct_CC="$ac_prog"
4881- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882- break 2
4883- fi
4884-done
4885- done
4886-IFS=$as_save_IFS
4887-
4888-fi
4889-fi
4890-ac_ct_CC=$ac_cv_prog_ac_ct_CC
4891-if test -n "$ac_ct_CC"; then
4892- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4893-$as_echo "$ac_ct_CC" >&6; }
4894-else
4895- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896-$as_echo "no" >&6; }
4897-fi
4898-
4899-
4900- test -n "$ac_ct_CC" && break
4901-done
4902-
4903- if test "x$ac_ct_CC" = x; then
4904- CC=""
4905- else
4906- case $cross_compiling:$ac_tool_warned in
4907-yes:)
4908-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4909-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4910-ac_tool_warned=yes ;;
4911-esac
4912- CC=$ac_ct_CC
4913- fi
4914-fi
4915-
4916-fi
4917-
4918-
4919-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4920-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4921-as_fn_error $? "no acceptable C compiler found in \$PATH
4922-See \`config.log' for more details" "$LINENO" 5; }
4923-
4924-# Provide some information about the compiler.
4925-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4926-set X $ac_compile
4927-ac_compiler=$2
4928-for ac_option in --version -v -V -qversion; do
4929- { { ac_try="$ac_compiler $ac_option >&5"
4930-case "(($ac_try" in
4931- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932- *) ac_try_echo=$ac_try;;
4933-esac
4934-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4935-$as_echo "$ac_try_echo"; } >&5
4936- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4937- ac_status=$?
4938- if test -s conftest.err; then
4939- sed '10a\
4940-... rest of stderr output deleted ...
4941- 10q' conftest.err >conftest.er1
4942- cat conftest.er1 >&5
4943- fi
4944- rm -f conftest.er1 conftest.err
4945- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4946- test $ac_status = 0; }
4947-done
4948-
4949-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4950-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4951-if ${ac_cv_c_compiler_gnu+:} false; then :
4952- $as_echo_n "(cached) " >&6
4953-else
4954- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955-/* end confdefs.h. */
4956-
4957-int
4958-main ()
4959-{
4960-#ifndef __GNUC__
4961- choke me
4962-#endif
4963-
4964- ;
4965- return 0;
4966-}
4967-_ACEOF
4968-if ac_fn_c_try_compile "$LINENO"; then :
4969- ac_compiler_gnu=yes
4970-else
4971- ac_compiler_gnu=no
4972-fi
4973-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974-ac_cv_c_compiler_gnu=$ac_compiler_gnu
4975-
4976-fi
4977-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4978-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4979-if test $ac_compiler_gnu = yes; then
4980- GCC=yes
4981-else
4982- GCC=
4983-fi
4984-ac_test_CFLAGS=${CFLAGS+set}
4985-ac_save_CFLAGS=$CFLAGS
4986-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4987-$as_echo_n "checking whether $CC accepts -g... " >&6; }
4988-if ${ac_cv_prog_cc_g+:} false; then :
4989- $as_echo_n "(cached) " >&6
4990-else
4991- ac_save_c_werror_flag=$ac_c_werror_flag
4992- ac_c_werror_flag=yes
4993- ac_cv_prog_cc_g=no
4994- CFLAGS="-g"
4995- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996-/* end confdefs.h. */
4997-
4998-int
4999-main ()
5000-{
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches