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