Merge lp:~n-muench/ubuntu/raring/open-vm-tools/open-vm-tools-december.sid-sync into lp:ubuntu/raring-proposed/open-vm-tools

Proposed by Nate Muench (Mink)
Status: Merged
Merged at revision: 35
Proposed branch: lp:~n-muench/ubuntu/raring/open-vm-tools/open-vm-tools-december.sid-sync
Merge into: lp:ubuntu/raring-proposed/open-vm-tools
Diff against target: 62585 lines (+30921/-30781)
55 files modified
.pc/0001-kvers.patch/modules/linux/vmblock/Makefile (+171/-0)
.pc/0001-kvers.patch/modules/linux/vmci/Makefile (+171/-0)
.pc/0001-kvers.patch/modules/linux/vmhgfs/Makefile (+171/-0)
.pc/0001-kvers.patch/modules/linux/vmsync/Makefile (+171/-0)
.pc/0001-kvers.patch/modules/linux/vmxnet/Makefile (+171/-0)
.pc/0001-kvers.patch/modules/linux/vsock/Makefile (+171/-0)
.pc/0002-procps.patch/configure (+25491/-0)
.pc/0002-procps.patch/configure.ac (+1234/-0)
.pc/0003-dkms.patch/modules/linux/dkms.conf (+39/-0)
.pc/0004-dkms-vmsync.patch/modules/linux/dkms.conf (+39/-0)
.pc/0005-kernel-38-fixes.patch/modules/linux/shared/compat_mm.h (+107/-0)
.pc/0005-kernel-38-fixes.patch/modules/linux/vmci/linux/driver.c (+2522/-0)
.pc/01-kvers.patch/modules/linux/vmblock/Makefile (+0/-171)
.pc/01-kvers.patch/modules/linux/vmci/Makefile (+0/-171)
.pc/01-kvers.patch/modules/linux/vmhgfs/Makefile (+0/-171)
.pc/01-kvers.patch/modules/linux/vmsync/Makefile (+0/-171)
.pc/01-kvers.patch/modules/linux/vmxnet/Makefile (+0/-171)
.pc/01-kvers.patch/modules/linux/vsock/Makefile (+0/-171)
.pc/02-procps.patch/configure (+0/-25491)
.pc/02-procps.patch/configure.ac (+0/-1234)
.pc/03-dkms.patch/modules/linux/dkms.conf (+0/-39)
.pc/04-dkms-vmsync.patch/modules/linux/dkms.conf (+0/-39)
.pc/05-kernel-38-fixes.patch/modules/linux/shared/compat_mm.h (+0/-107)
.pc/05-kernel-38-fixes.patch/modules/linux/vmci/linux/driver.c (+0/-2522)
.pc/applied-patches (+5/-5)
debian/changelog (+207/-68)
debian/control (+5/-5)
debian/copyright (+1/-1)
debian/manpages/libguestlib.3 (+1/-1)
debian/manpages/libvmtools.3 (+1/-1)
debian/manpages/vmblock.9 (+1/-1)
debian/manpages/vmci.9 (+1/-1)
debian/manpages/vmhgfs.9 (+1/-1)
debian/manpages/vmsock.9 (+1/-1)
debian/manpages/vmware-checkvm.1 (+1/-1)
debian/manpages/vmware-hgfsclient.1 (+1/-1)
debian/manpages/vmware-hgfsmounter.8 (+1/-1)
debian/manpages/vmware-toolbox-cmd.1 (+1/-1)
debian/manpages/vmware-user-suid-wrapper.8 (+1/-1)
debian/manpages/vmware-xferlogs.1 (+1/-1)
debian/manpages/vmxnet.9 (+1/-1)
debian/open-vm-tools.init (+4/-4)
debian/patches/0001-kvers.patch (+75/-0)
debian/patches/0002-procps.patch (+27/-0)
debian/patches/0003-dkms.patch (+18/-0)
debian/patches/0004-dkms-vmsync.patch (+45/-0)
debian/patches/0005-kernel-38-fixes.patch (+55/-0)
debian/patches/01-kvers.patch (+0/-75)
debian/patches/02-procps.patch (+0/-27)
debian/patches/03-dkms.patch (+0/-18)
debian/patches/04-dkms-vmsync.patch (+0/-45)
debian/patches/05-kernel-38-fixes.patch (+0/-55)
debian/patches/series (+5/-5)
debian/rules (+2/-1)
debian/source/options (+1/-1)
To merge this branch: bzr merge lp:~n-muench/ubuntu/raring/open-vm-tools/open-vm-tools-december.sid-sync
Reviewer Review Type Date Requested Status
Luke Yelavich (community) Needs Fixing
Review via email: mp+153466@code.launchpad.net

Description of the change

Last merge for the Raring cycle. Basically it's a sync of about 85% of stuff from Debian. And another flag so it doesn't fail to build in future releases.

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

This probably needs a feature freeze exception. Please follow https://wiki.ubuntu.com/FreezeExceptionProcess.

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

Actually no, I misread. This doesn't need an FFE, will take care of it now.

Preview Diff

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

Subscribers

People subscribed via source and target branches