Merge lp:~logan/ubuntu/raring/sblim-cmpi-base/1.6.2 into lp:ubuntu/raring/sblim-cmpi-base
- Raring (13.04)
- 1.6.2
- Merge into raring
Proposed by
Logan Rosen
Status: | Merged |
---|---|
Merged at revision: | 7 |
Proposed branch: | lp:~logan/ubuntu/raring/sblim-cmpi-base/1.6.2 |
Merge into: | lp:ubuntu/raring/sblim-cmpi-base |
Diff against target: |
56987 lines (+19203/-28121) 32 files modified
.pc/applied-patches (+0/-1) .pc/underlinked-library.patch/Makefile.am (+0/-230) .pc/underlinked-library.patch/Makefile.in (+0/-1261) ChangeLog (+71/-2) INSTALL (+164/-36) Makefile.am (+2/-1) Makefile.in (+298/-180) NEWS (+18/-0) OSBase_Common.c (+7/-1) OSBase_OperatingSystem.c (+1/-1) OSBase_OperatingSystemStatisticalData.c (+1/-0) OSBase_Processor.c (+9/-7) OSBase_Processor.h (+2/-0) OSBase_UnixProcess.c (+12/-6) aclocal.m4 (+5394/-3993) cmpiOSBase_OperatingSystem.c (+3/-0) cmpiOSBase_ProcessorProvider.c (+2/-0) config.guess (+161/-186) config.h.in (+10/-0) config.sub (+69/-22) configure (+7831/-18530) configure.ac (+1/-1) debian/changelog (+9/-0) debian/control (+1/-1) debian/patches/series (+0/-1) debian/patches/underlinked-library.patch (+0/-25) depcomp (+64/-23) install-sh (+3/-2) ltmain.sh (+5039/-3589) missing (+29/-20) sblim-cmpi-base.spec (+1/-1) test/test-cmpi-base.sh (+1/-1) |
To merge this branch: | bzr merge lp:~logan/ubuntu/raring/sblim-cmpi-base/1.6.2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email: mp+143018@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed file '.pc/applied-patches' |
2 | --- .pc/applied-patches 2011-10-16 11:55:22 +0000 |
3 | +++ .pc/applied-patches 1970-01-01 00:00:00 +0000 |
4 | @@ -1,1 +0,0 @@ |
5 | -underlinked-library.patch |
6 | |
7 | === removed directory '.pc/underlinked-library.patch' |
8 | === removed file '.pc/underlinked-library.patch/Makefile.am' |
9 | --- .pc/underlinked-library.patch/Makefile.am 2011-10-16 11:55:22 +0000 |
10 | +++ .pc/underlinked-library.patch/Makefile.am 1970-01-01 00:00:00 +0000 |
11 | @@ -1,230 +0,0 @@ |
12 | -# $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $ |
13 | -# ================================================================== |
14 | -# (C) Copyright IBM Corp. 2005, 2009 |
15 | -# |
16 | -# THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE |
17 | -# ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE |
18 | -# CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. |
19 | -# |
20 | -# You can obtain a current copy of the Eclipse Public License from |
21 | -# http://www.opensource.org/licenses/ecplipse-1.0.php |
22 | -# |
23 | -# Author: Viktor Mihajlovski <mihajlov@de.ibm.com> |
24 | -# Contributors: Dr. Gareth S. Bestor <bestorga@us.ibm.com> |
25 | -# Description: Automake input file for OS Base Providers |
26 | -# ================================================================== |
27 | - |
28 | - |
29 | -# SBLIM Include Directory |
30 | -sblimincdir = $(includedir)/sblim |
31 | - |
32 | -# Start from an empty extra distribution file list |
33 | -EXTRA_DIST= |
34 | - |
35 | -# docdir defines where the documentation goes |
36 | -docdir=$(datadir)/doc/$(PACKAGE)-$(VERSION) |
37 | - |
38 | -# |
39 | -# Automake instructions for documentation |
40 | -# |
41 | -doc_DATA=README AUTHORS COPYING |
42 | - |
43 | -# ADD EXTRA DOC FILES IF PRESENT |
44 | -doc_DATA+=README.INDICATION README.tog-pegasus DEBUG |
45 | -EXTRA_DIST+=README.INDICATION README.tog-pegasus DEBUG |
46 | - |
47 | -# providerdir defines where provider libraries will be installed (@PROVIDERDIR@ is set by the configure script). |
48 | -providerdir = @PROVIDERDIR@ |
49 | - |
50 | -# |
51 | -# Automake instructions for main dir |
52 | -# |
53 | - |
54 | -# OSBase CMPI provider libraries |
55 | -provider_LTLIBRARIES = libcmpiOSBase_ComputerSystemProvider.la \ |
56 | - libcmpiOSBase_OperatingSystemProvider.la \ |
57 | - libcmpiOSBase_OperatingSystemStatisticalDataProvider.la \ |
58 | - libcmpiOSBase_UnixProcessProvider.la \ |
59 | - libcmpiOSBase_ProcessorProvider.la \ |
60 | - libcmpiOSBase_BaseBoardProvider.la \ |
61 | - libcmpiOSBase_RunningOSProvider.la \ |
62 | - libcmpiOSBase_OSProcessProvider.la \ |
63 | - libcmpiOSBase_OperatingSystemStatisticsProvider.la \ |
64 | - libcmpiOSBase_CSProcessorProvider.la \ |
65 | - libcmpiOSBase_CSBaseBoardProvider.la |
66 | - |
67 | -# Computer System |
68 | -libcmpiOSBase_ComputerSystemProvider_la_SOURCES = \ |
69 | - cmpiOSBase_ComputerSystemProvider.c \ |
70 | - cmpiOSBase_ComputerSystem.c \ |
71 | - OSBase_ComputerSystem.c |
72 | -libcmpiOSBase_ComputerSystemProvider_la_LIBADD = -lcmpiOSBase_Common |
73 | -libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS = -avoid-version |
74 | - |
75 | -# Operating System |
76 | -libcmpiOSBase_OperatingSystemProvider_la_SOURCES = \ |
77 | - cmpiOSBase_OperatingSystemProvider.c \ |
78 | - cmpiOSBase_OperatingSystem.c \ |
79 | - OSBase_OperatingSystem.c |
80 | - |
81 | -libcmpiOSBase_OperatingSystemProvider_la_LIBADD = -lcmpiOSBase_Common \ |
82 | - -ldmiinfo @LINDHELP@ |
83 | -# This gcc/ld specific flag is ugly - need to check in configure |
84 | -libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS = -avoid-version |
85 | - |
86 | -# Operating System Statistical Data |
87 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES = \ |
88 | - cmpiOSBase_OperatingSystemStatisticalDataProvider.c \ |
89 | - cmpiOSBase_OperatingSystemStatisticalData.c \ |
90 | - OSBase_OperatingSystemStatisticalData.c |
91 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD = -lcmpiOSBase_Common |
92 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS = -avoid-version |
93 | - |
94 | -# Unix Process |
95 | -libcmpiOSBase_UnixProcessProvider_la_SOURCES = \ |
96 | - cmpiOSBase_UnixProcessProvider.c \ |
97 | - cmpiOSBase_UnixProcess.c \ |
98 | - OSBase_UnixProcess.c |
99 | -libcmpiOSBase_UnixProcessProvider_la_LIBADD = -lcmpiOSBase_Common |
100 | -libcmpiOSBase_UnixProcessProvider_la_LDFLAGS = -avoid-version |
101 | - |
102 | -# Processor |
103 | -libcmpiOSBase_ProcessorProvider_la_SOURCES = \ |
104 | - cmpiOSBase_ProcessorProvider.c \ |
105 | - cmpiOSBase_Processor.c \ |
106 | - OSBase_Processor.c |
107 | -libcmpiOSBase_ProcessorProvider_la_LIBADD = -lcmpiOSBase_Common |
108 | -libcmpiOSBase_ProcessorProvider_la_LDFLAGS = -avoid-version |
109 | - |
110 | -# Base Board |
111 | -libcmpiOSBase_BaseBoardProvider_la_SOURCES = \ |
112 | - cmpiOSBase_BaseBoardProvider.c \ |
113 | - cmpiOSBase_BaseBoard.c \ |
114 | - OSBase_BaseBoard.c |
115 | -libcmpiOSBase_BaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common -ldmiinfo |
116 | -libcmpiOSBase_BaseBoardProvider_la_LDFLAGS = -avoid-version |
117 | - |
118 | -libcmpiOSBase_RunningOSProvider_la_SOURCES = cmpiOSBase_RunningOSProvider.c |
119 | -libcmpiOSBase_RunningOSProvider_la_LIBADD = -lcmpiOSBase_Common |
120 | -libcmpiOSBase_RunningOSProvider_la_LDFLAGS = -avoid-version |
121 | - |
122 | -libcmpiOSBase_OSProcessProvider_la_SOURCES = cmpiOSBase_OSProcessProvider.c |
123 | -libcmpiOSBase_OSProcessProvider_la_LIBADD = -lcmpiOSBase_Common |
124 | -libcmpiOSBase_OSProcessProvider_la_LDFLAGS = -avoid-version |
125 | - |
126 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES = cmpiOSBase_OperatingSystemStatisticsProvider.c |
127 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD = -lcmpiOSBase_Common |
128 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS = -avoid-version |
129 | - |
130 | -libcmpiOSBase_CSProcessorProvider_la_SOURCES = cmpiOSBase_CSProcessorProvider.c |
131 | -libcmpiOSBase_CSProcessorProvider_la_LIBADD = -lcmpiOSBase_Common |
132 | -libcmpiOSBase_CSProcessorProvider_la_LDFLAGS = -avoid-version |
133 | - |
134 | -libcmpiOSBase_CSBaseBoardProvider_la_SOURCES = cmpiOSBase_CSBaseBoardProvider.c |
135 | -libcmpiOSBase_CSBaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common |
136 | -libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS = -avoid-version |
137 | - |
138 | - |
139 | -# OSBase support utility libraries |
140 | -lib_LTLIBRARIES = libcmpiOSBase_Common.la libdmiinfo.la |
141 | - |
142 | -libcmpiOSBase_Common_la_SOURCES=OSBase_Common.c cmpiOSBase_Common.c |
143 | -# This gcc/ld specific flag is ugly - need to check in configure |
144 | -libcmpiOSBase_Common_la_LDFLAGS = -Wc |
145 | - |
146 | -libdmiinfo_la_SOURCES=dmiinfo.c dmiinfo.h dmifind.h |
147 | - |
148 | -# DMI layer test program (not installed) |
149 | -noinst_PROGRAMS = dmitest |
150 | -dmitest_SOURCES = dmitest.c |
151 | -dmitest_LDADD = -ldmiinfo |
152 | - |
153 | -# Installable Header Files |
154 | -sbliminc_HEADERS = OSBase_Common.h cmpiOSBase_Common.h \ |
155 | - OSBase_UnixProcess.h cmpiOSBase_UnixProcess.h |
156 | - |
157 | -# Non-Installable Header Files |
158 | -noinst_HEADERS = OSBase_ComputerSystem.h \ |
159 | - OSBase_OperatingSystem.h \ |
160 | - OSBase_OperatingSystemStatisticalData.h \ |
161 | - OSBase_Processor.h \ |
162 | - OSBase_BaseBoard.h \ |
163 | - cmpiOSBase_Util.h \ |
164 | - cmpiOSBase_ComputerSystem.h \ |
165 | - cmpiOSBase_OperatingSystem.h \ |
166 | - cmpiOSBase_OperatingSystemStatisticalData.h \ |
167 | - cmpiOSBase_Processor.h \ |
168 | - cmpiOSBase_BaseBoard.h |
169 | - |
170 | -# We must explicity add the RPM spec file to the distribution package |
171 | -EXTRA_DIST+=$(PACKAGE).spec $(PACKAGE).rh.spec |
172 | - |
173 | - |
174 | -# |
175 | -# Automake instructions for ./mof subdir |
176 | -# |
177 | -if NOEVENTS |
178 | -SCHEMAS=$(srcdir)/mof/Linux_Base.mof |
179 | -REGISTRATIONS=$(srcdir)/mof/Linux_Base.registration |
180 | -else |
181 | -SCHEMAS=$(srcdir)/mof/Linux_Base.mof $(srcdir)/mof/Linux_BaseIndication.mof |
182 | -REGISTRATIONS=$(srcdir)/mof/Linux_BaseIndication.registration |
183 | -endif |
184 | - |
185 | -# We must explicity add all the schema files to the distribution package |
186 | -pkgdata_DATA=$(SCHEMAS) $(REGISTRATIONS) |
187 | -pkgdata_SCRIPTS=provider-register.sh |
188 | -EXTRA_DIST+=mof $(pkgdata_SCRIPTS) |
189 | - |
190 | -# Register the provider(s) and class definition(s) to the current CIM server/CIMOM |
191 | -postinstall: |
192 | - sh $(srcdir)/provider-register.sh -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS) |
193 | - |
194 | -preuninstall: |
195 | - sh $(srcdir)/provider-register.sh -d -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS) |
196 | - |
197 | -dist-hook: |
198 | - test -d "$(distdir)" && rm -rf `find $(distdir) -type d -name CVS` |
199 | - |
200 | -# |
201 | -# Automake instructions for ./test subdir |
202 | -# |
203 | -EXTRA_DIST+=test README.TEST |
204 | -if TESTSUITE |
205 | -testsuitedir=@TESTSUITEDIR@ |
206 | -testsuitesystemdir=@TESTSUITEDIR@/system/linux |
207 | -testsuitecimdir=@TESTSUITEDIR@/cim |
208 | - |
209 | -testsuite_SCRIPTS=test/test-cmpi-base.sh |
210 | -testsuitesystem_DATA=test/system/linux/Linux_CSProcessor.system \ |
211 | - test/system/linux/Linux_ComputerSystem.system \ |
212 | - test/system/linux/Linux_OSProcess.system \ |
213 | - test/system/linux/Linux_OperatingSystem.system \ |
214 | - test/system/linux/Linux_Processor.system \ |
215 | - test/system/linux/Linux_OperatingSystemStatisticalData.system \ |
216 | - test/system/linux/Linux_OperatingSystemStatistics.system \ |
217 | - test/system/linux/Linux_RunningOS.system \ |
218 | - test/system/linux/Linux_UnixProcess.system \ |
219 | - test/system/linux/Linux_BaseBoard.system \ |
220 | - test/system/linux/Linux_CSBaseBoard.system |
221 | -testsuitesystem_SCRIPTS=test/system/linux/Linux_OperatingSystem.version.sh \ |
222 | - test/system/linux/Linux_Processor.pl \ |
223 | - test/system/linux/Linux_UnixProcess.pl \ |
224 | - test/system/linux/createKeyFiles.sh |
225 | -testsuitecim_DATA=test/cim/Linux_CSProcessor.cim \ |
226 | - test/cim/Linux_ComputerSystem.cim \ |
227 | - test/cim/Linux_OSProcess.cim \ |
228 | - test/cim/Linux_OperatingSystem.cim \ |
229 | - test/cim/Linux_OperatingSystemStatisticalData.cim \ |
230 | - test/cim/Linux_OperatingSystemStatistics.cim \ |
231 | - test/cim/Linux_Processor.cim \ |
232 | - test/cim/Linux_RunningOS.cim \ |
233 | - test/cim/Linux_UnixProcess.cim \ |
234 | - test/cim/Linux_BaseBoard.cim \ |
235 | - test/cim/Linux_CSBaseBoard.cim |
236 | - |
237 | -runtest: install |
238 | - cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh |
239 | - |
240 | -doc_DATA+=README.TEST |
241 | -endif |
242 | |
243 | === removed file '.pc/underlinked-library.patch/Makefile.in' |
244 | --- .pc/underlinked-library.patch/Makefile.in 2011-10-16 11:55:22 +0000 |
245 | +++ .pc/underlinked-library.patch/Makefile.in 1970-01-01 00:00:00 +0000 |
246 | @@ -1,1261 +0,0 @@ |
247 | -# Makefile.in generated by automake 1.10.1 from Makefile.am. |
248 | -# @configure_input@ |
249 | - |
250 | -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
251 | -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
252 | -# This Makefile.in is free software; the Free Software Foundation |
253 | -# gives unlimited permission to copy and/or distribute it, |
254 | -# with or without modifications, as long as this notice is preserved. |
255 | - |
256 | -# This program is distributed in the hope that it will be useful, |
257 | -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
258 | -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
259 | -# PARTICULAR PURPOSE. |
260 | - |
261 | -@SET_MAKE@ |
262 | - |
263 | -# $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $ |
264 | -# ================================================================== |
265 | -# (C) Copyright IBM Corp. 2005, 2009 |
266 | -# |
267 | -# THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE |
268 | -# ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE |
269 | -# CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. |
270 | -# |
271 | -# You can obtain a current copy of the Eclipse Public License from |
272 | -# http://www.opensource.org/licenses/ecplipse-1.0.php |
273 | -# |
274 | -# Author: Viktor Mihajlovski <mihajlov@de.ibm.com> |
275 | -# Contributors: Dr. Gareth S. Bestor <bestorga@us.ibm.com> |
276 | -# Description: Automake input file for OS Base Providers |
277 | -# ================================================================== |
278 | - |
279 | - |
280 | - |
281 | - |
282 | - |
283 | -VPATH = @srcdir@ |
284 | -pkgdatadir = $(datadir)/@PACKAGE@ |
285 | -pkglibdir = $(libdir)/@PACKAGE@ |
286 | -pkgincludedir = $(includedir)/@PACKAGE@ |
287 | -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
288 | -install_sh_DATA = $(install_sh) -c -m 644 |
289 | -install_sh_PROGRAM = $(install_sh) -c |
290 | -install_sh_SCRIPT = $(install_sh) -c |
291 | -INSTALL_HEADER = $(INSTALL_DATA) |
292 | -transform = $(program_transform_name) |
293 | -NORMAL_INSTALL = : |
294 | -PRE_INSTALL = : |
295 | -POST_INSTALL = : |
296 | -NORMAL_UNINSTALL = : |
297 | -PRE_UNINSTALL = : |
298 | -POST_UNINSTALL = : |
299 | -build_triplet = @build@ |
300 | -host_triplet = @host@ |
301 | -noinst_PROGRAMS = dmitest$(EXEEXT) |
302 | -@TESTSUITE_TRUE@am__append_1 = README.TEST |
303 | -subdir = . |
304 | -DIST_COMMON = README $(am__configure_deps) $(noinst_HEADERS) \ |
305 | - $(sbliminc_HEADERS) $(srcdir)/Makefile.am \ |
306 | - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
307 | - $(srcdir)/sblim-cmpi-base.spec.in $(top_srcdir)/configure \ |
308 | - AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \ |
309 | - depcomp install-sh ltmain.sh missing |
310 | -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
311 | -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ |
312 | - $(top_srcdir)/configure.ac |
313 | -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
314 | - $(ACLOCAL_M4) |
315 | -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
316 | - configure.lineno config.status.lineno |
317 | -mkinstalldirs = $(install_sh) -d |
318 | -CONFIG_HEADER = config.h |
319 | -CONFIG_CLEAN_FILES = sblim-cmpi-base.spec |
320 | -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
321 | -am__vpath_adj = case $$p in \ |
322 | - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
323 | - *) f=$$p;; \ |
324 | - esac; |
325 | -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; |
326 | -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" \ |
327 | - "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" \ |
328 | - "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" \ |
329 | - "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" \ |
330 | - "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)" |
331 | -libLTLIBRARIES_INSTALL = $(INSTALL) |
332 | -providerLTLIBRARIES_INSTALL = $(INSTALL) |
333 | -LTLIBRARIES = $(lib_LTLIBRARIES) $(provider_LTLIBRARIES) |
334 | -libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES = |
335 | -am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \ |
336 | - cmpiOSBase_BaseBoardProvider.lo cmpiOSBase_BaseBoard.lo \ |
337 | - OSBase_BaseBoard.lo |
338 | -libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \ |
339 | - $(am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS) |
340 | -libcmpiOSBase_BaseBoardProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
341 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
342 | - $(AM_CFLAGS) $(CFLAGS) \ |
343 | - $(libcmpiOSBase_BaseBoardProvider_la_LDFLAGS) $(LDFLAGS) -o $@ |
344 | -libcmpiOSBase_CSBaseBoardProvider_la_DEPENDENCIES = |
345 | -am_libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS = \ |
346 | - cmpiOSBase_CSBaseBoardProvider.lo |
347 | -libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS = \ |
348 | - $(am_libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS) |
349 | -libcmpiOSBase_CSBaseBoardProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
350 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
351 | - $(AM_CFLAGS) $(CFLAGS) \ |
352 | - $(libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS) $(LDFLAGS) -o \ |
353 | - $@ |
354 | -libcmpiOSBase_CSProcessorProvider_la_DEPENDENCIES = |
355 | -am_libcmpiOSBase_CSProcessorProvider_la_OBJECTS = \ |
356 | - cmpiOSBase_CSProcessorProvider.lo |
357 | -libcmpiOSBase_CSProcessorProvider_la_OBJECTS = \ |
358 | - $(am_libcmpiOSBase_CSProcessorProvider_la_OBJECTS) |
359 | -libcmpiOSBase_CSProcessorProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
360 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
361 | - $(AM_CFLAGS) $(CFLAGS) \ |
362 | - $(libcmpiOSBase_CSProcessorProvider_la_LDFLAGS) $(LDFLAGS) -o \ |
363 | - $@ |
364 | -libcmpiOSBase_Common_la_LIBADD = |
365 | -am_libcmpiOSBase_Common_la_OBJECTS = OSBase_Common.lo \ |
366 | - cmpiOSBase_Common.lo |
367 | -libcmpiOSBase_Common_la_OBJECTS = \ |
368 | - $(am_libcmpiOSBase_Common_la_OBJECTS) |
369 | -libcmpiOSBase_Common_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ |
370 | - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
371 | - $(libcmpiOSBase_Common_la_LDFLAGS) $(LDFLAGS) -o $@ |
372 | -libcmpiOSBase_ComputerSystemProvider_la_DEPENDENCIES = |
373 | -am_libcmpiOSBase_ComputerSystemProvider_la_OBJECTS = \ |
374 | - cmpiOSBase_ComputerSystemProvider.lo \ |
375 | - cmpiOSBase_ComputerSystem.lo OSBase_ComputerSystem.lo |
376 | -libcmpiOSBase_ComputerSystemProvider_la_OBJECTS = \ |
377 | - $(am_libcmpiOSBase_ComputerSystemProvider_la_OBJECTS) |
378 | -libcmpiOSBase_ComputerSystemProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
379 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
380 | - $(AM_CFLAGS) $(CFLAGS) \ |
381 | - $(libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS) $(LDFLAGS) \ |
382 | - -o $@ |
383 | -libcmpiOSBase_OSProcessProvider_la_DEPENDENCIES = |
384 | -am_libcmpiOSBase_OSProcessProvider_la_OBJECTS = \ |
385 | - cmpiOSBase_OSProcessProvider.lo |
386 | -libcmpiOSBase_OSProcessProvider_la_OBJECTS = \ |
387 | - $(am_libcmpiOSBase_OSProcessProvider_la_OBJECTS) |
388 | -libcmpiOSBase_OSProcessProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
389 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
390 | - $(AM_CFLAGS) $(CFLAGS) \ |
391 | - $(libcmpiOSBase_OSProcessProvider_la_LDFLAGS) $(LDFLAGS) -o $@ |
392 | -libcmpiOSBase_OperatingSystemProvider_la_DEPENDENCIES = |
393 | -am_libcmpiOSBase_OperatingSystemProvider_la_OBJECTS = \ |
394 | - cmpiOSBase_OperatingSystemProvider.lo \ |
395 | - cmpiOSBase_OperatingSystem.lo OSBase_OperatingSystem.lo |
396 | -libcmpiOSBase_OperatingSystemProvider_la_OBJECTS = \ |
397 | - $(am_libcmpiOSBase_OperatingSystemProvider_la_OBJECTS) |
398 | -libcmpiOSBase_OperatingSystemProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
399 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
400 | - $(AM_CFLAGS) $(CFLAGS) \ |
401 | - $(libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS) $(LDFLAGS) \ |
402 | - -o $@ |
403 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_DEPENDENCIES = |
404 | -am_libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS = \ |
405 | - cmpiOSBase_OperatingSystemStatisticalDataProvider.lo \ |
406 | - cmpiOSBase_OperatingSystemStatisticalData.lo \ |
407 | - OSBase_OperatingSystemStatisticalData.lo |
408 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS = $(am_libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS) |
409 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LINK = \ |
410 | - $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
411 | - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
412 | - $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS) \ |
413 | - $(LDFLAGS) -o $@ |
414 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_DEPENDENCIES = |
415 | -am_libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS = \ |
416 | - cmpiOSBase_OperatingSystemStatisticsProvider.lo |
417 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS = $(am_libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS) |
418 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_LINK = $(LIBTOOL) \ |
419 | - --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ |
420 | - $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
421 | - $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS) \ |
422 | - $(LDFLAGS) -o $@ |
423 | -libcmpiOSBase_ProcessorProvider_la_DEPENDENCIES = |
424 | -am_libcmpiOSBase_ProcessorProvider_la_OBJECTS = \ |
425 | - cmpiOSBase_ProcessorProvider.lo cmpiOSBase_Processor.lo \ |
426 | - OSBase_Processor.lo |
427 | -libcmpiOSBase_ProcessorProvider_la_OBJECTS = \ |
428 | - $(am_libcmpiOSBase_ProcessorProvider_la_OBJECTS) |
429 | -libcmpiOSBase_ProcessorProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
430 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
431 | - $(AM_CFLAGS) $(CFLAGS) \ |
432 | - $(libcmpiOSBase_ProcessorProvider_la_LDFLAGS) $(LDFLAGS) -o $@ |
433 | -libcmpiOSBase_RunningOSProvider_la_DEPENDENCIES = |
434 | -am_libcmpiOSBase_RunningOSProvider_la_OBJECTS = \ |
435 | - cmpiOSBase_RunningOSProvider.lo |
436 | -libcmpiOSBase_RunningOSProvider_la_OBJECTS = \ |
437 | - $(am_libcmpiOSBase_RunningOSProvider_la_OBJECTS) |
438 | -libcmpiOSBase_RunningOSProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
439 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
440 | - $(AM_CFLAGS) $(CFLAGS) \ |
441 | - $(libcmpiOSBase_RunningOSProvider_la_LDFLAGS) $(LDFLAGS) -o $@ |
442 | -libcmpiOSBase_UnixProcessProvider_la_DEPENDENCIES = |
443 | -am_libcmpiOSBase_UnixProcessProvider_la_OBJECTS = \ |
444 | - cmpiOSBase_UnixProcessProvider.lo cmpiOSBase_UnixProcess.lo \ |
445 | - OSBase_UnixProcess.lo |
446 | -libcmpiOSBase_UnixProcessProvider_la_OBJECTS = \ |
447 | - $(am_libcmpiOSBase_UnixProcessProvider_la_OBJECTS) |
448 | -libcmpiOSBase_UnixProcessProvider_la_LINK = $(LIBTOOL) --tag=CC \ |
449 | - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
450 | - $(AM_CFLAGS) $(CFLAGS) \ |
451 | - $(libcmpiOSBase_UnixProcessProvider_la_LDFLAGS) $(LDFLAGS) -o \ |
452 | - $@ |
453 | -libdmiinfo_la_LIBADD = |
454 | -am_libdmiinfo_la_OBJECTS = dmiinfo.lo |
455 | -libdmiinfo_la_OBJECTS = $(am_libdmiinfo_la_OBJECTS) |
456 | -PROGRAMS = $(noinst_PROGRAMS) |
457 | -am_dmitest_OBJECTS = dmitest.$(OBJEXT) |
458 | -dmitest_OBJECTS = $(am_dmitest_OBJECTS) |
459 | -dmitest_DEPENDENCIES = |
460 | -pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
461 | -testsuiteSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
462 | -testsuitesystemSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
463 | -SCRIPTS = $(pkgdata_SCRIPTS) $(testsuite_SCRIPTS) \ |
464 | - $(testsuitesystem_SCRIPTS) |
465 | -DEFAULT_INCLUDES = -I.@am__isrc@ |
466 | -depcomp = $(SHELL) $(top_srcdir)/depcomp |
467 | -am__depfiles_maybe = depfiles |
468 | -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
469 | - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
470 | -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
471 | - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
472 | - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
473 | -CCLD = $(CC) |
474 | -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
475 | - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ |
476 | - $(LDFLAGS) -o $@ |
477 | -SOURCES = $(libcmpiOSBase_BaseBoardProvider_la_SOURCES) \ |
478 | - $(libcmpiOSBase_CSBaseBoardProvider_la_SOURCES) \ |
479 | - $(libcmpiOSBase_CSProcessorProvider_la_SOURCES) \ |
480 | - $(libcmpiOSBase_Common_la_SOURCES) \ |
481 | - $(libcmpiOSBase_ComputerSystemProvider_la_SOURCES) \ |
482 | - $(libcmpiOSBase_OSProcessProvider_la_SOURCES) \ |
483 | - $(libcmpiOSBase_OperatingSystemProvider_la_SOURCES) \ |
484 | - $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES) \ |
485 | - $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES) \ |
486 | - $(libcmpiOSBase_ProcessorProvider_la_SOURCES) \ |
487 | - $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \ |
488 | - $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \ |
489 | - $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES) |
490 | -DIST_SOURCES = $(libcmpiOSBase_BaseBoardProvider_la_SOURCES) \ |
491 | - $(libcmpiOSBase_CSBaseBoardProvider_la_SOURCES) \ |
492 | - $(libcmpiOSBase_CSProcessorProvider_la_SOURCES) \ |
493 | - $(libcmpiOSBase_Common_la_SOURCES) \ |
494 | - $(libcmpiOSBase_ComputerSystemProvider_la_SOURCES) \ |
495 | - $(libcmpiOSBase_OSProcessProvider_la_SOURCES) \ |
496 | - $(libcmpiOSBase_OperatingSystemProvider_la_SOURCES) \ |
497 | - $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES) \ |
498 | - $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES) \ |
499 | - $(libcmpiOSBase_ProcessorProvider_la_SOURCES) \ |
500 | - $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \ |
501 | - $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \ |
502 | - $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES) |
503 | -docDATA_INSTALL = $(INSTALL_DATA) |
504 | -pkgdataDATA_INSTALL = $(INSTALL_DATA) |
505 | -testsuitecimDATA_INSTALL = $(INSTALL_DATA) |
506 | -testsuitesystemDATA_INSTALL = $(INSTALL_DATA) |
507 | -DATA = $(doc_DATA) $(pkgdata_DATA) $(testsuitecim_DATA) \ |
508 | - $(testsuitesystem_DATA) |
509 | -sblimincHEADERS_INSTALL = $(INSTALL_HEADER) |
510 | -HEADERS = $(noinst_HEADERS) $(sbliminc_HEADERS) |
511 | -ETAGS = etags |
512 | -CTAGS = ctags |
513 | -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
514 | -distdir = $(PACKAGE)-$(VERSION) |
515 | -top_distdir = $(distdir) |
516 | -am__remove_distdir = \ |
517 | - { test ! -d $(distdir) \ |
518 | - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ |
519 | - && rm -fr $(distdir); }; } |
520 | -DIST_ARCHIVES = $(distdir).tar.gz |
521 | -GZIP_ENV = --best |
522 | -distuninstallcheck_listfiles = find . -type f -print |
523 | -distcleancheck_listfiles = find . -type f -print |
524 | -ACLOCAL = @ACLOCAL@ |
525 | -AMTAR = @AMTAR@ |
526 | -AR = @AR@ |
527 | -AUTOCONF = @AUTOCONF@ |
528 | -AUTOHEADER = @AUTOHEADER@ |
529 | -AUTOMAKE = @AUTOMAKE@ |
530 | -AWK = @AWK@ |
531 | -CC = @CC@ |
532 | -CCDEPMODE = @CCDEPMODE@ |
533 | -CFLAGS = @CFLAGS@ |
534 | -CIMSERVER = @CIMSERVER@ |
535 | -CPP = @CPP@ |
536 | -CPPFLAGS = @CPPFLAGS@ |
537 | -CXX = @CXX@ |
538 | -CXXCPP = @CXXCPP@ |
539 | -CXXDEPMODE = @CXXDEPMODE@ |
540 | -CXXFLAGS = @CXXFLAGS@ |
541 | -CYGPATH_W = @CYGPATH_W@ |
542 | -DEFS = @DEFS@ |
543 | -DEPDIR = @DEPDIR@ |
544 | -DSYMUTIL = @DSYMUTIL@ |
545 | -ECHO = @ECHO@ |
546 | -ECHO_C = @ECHO_C@ |
547 | -ECHO_N = @ECHO_N@ |
548 | -ECHO_T = @ECHO_T@ |
549 | -EGREP = @EGREP@ |
550 | -EXEEXT = @EXEEXT@ |
551 | -F77 = @F77@ |
552 | -FFLAGS = @FFLAGS@ |
553 | -GREP = @GREP@ |
554 | -INSTALL = @INSTALL@ |
555 | -INSTALL_DATA = @INSTALL_DATA@ |
556 | -INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
557 | -INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
558 | -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
559 | -LDFLAGS = @LDFLAGS@ |
560 | -LIBOBJS = @LIBOBJS@ |
561 | -LIBS = @LIBS@ |
562 | -LIBTOOL = @LIBTOOL@ |
563 | -LINDHELP = @LINDHELP@ |
564 | -LN_S = @LN_S@ |
565 | -LTLIBOBJS = @LTLIBOBJS@ |
566 | -MAKEINFO = @MAKEINFO@ |
567 | -MKDIR_P = @MKDIR_P@ |
568 | -NMEDIT = @NMEDIT@ |
569 | -OBJEXT = @OBJEXT@ |
570 | -PACKAGE = @PACKAGE@ |
571 | -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
572 | -PACKAGE_NAME = @PACKAGE_NAME@ |
573 | -PACKAGE_STRING = @PACKAGE_STRING@ |
574 | -PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
575 | -PACKAGE_VERSION = @PACKAGE_VERSION@ |
576 | -PATH_SEPARATOR = @PATH_SEPARATOR@ |
577 | -PROVIDERDIR = @PROVIDERDIR@ |
578 | -RANLIB = @RANLIB@ |
579 | -REGISTER_FLAGS = @REGISTER_FLAGS@ |
580 | -SED = @SED@ |
581 | -SET_MAKE = @SET_MAKE@ |
582 | -SHELL = @SHELL@ |
583 | -STRIP = @STRIP@ |
584 | -TESTSUITEDIR = @TESTSUITEDIR@ |
585 | -VERSION = @VERSION@ |
586 | -abs_builddir = @abs_builddir@ |
587 | -abs_srcdir = @abs_srcdir@ |
588 | -abs_top_builddir = @abs_top_builddir@ |
589 | -abs_top_srcdir = @abs_top_srcdir@ |
590 | -ac_ct_CC = @ac_ct_CC@ |
591 | -ac_ct_CXX = @ac_ct_CXX@ |
592 | -ac_ct_F77 = @ac_ct_F77@ |
593 | -am__include = @am__include@ |
594 | -am__leading_dot = @am__leading_dot@ |
595 | -am__quote = @am__quote@ |
596 | -am__tar = @am__tar@ |
597 | -am__untar = @am__untar@ |
598 | -bindir = @bindir@ |
599 | -build = @build@ |
600 | -build_alias = @build_alias@ |
601 | -build_cpu = @build_cpu@ |
602 | -build_os = @build_os@ |
603 | -build_vendor = @build_vendor@ |
604 | -builddir = @builddir@ |
605 | -datadir = @datadir@ |
606 | -datarootdir = @datarootdir@ |
607 | - |
608 | -# docdir defines where the documentation goes |
609 | -docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) |
610 | -dvidir = @dvidir@ |
611 | -exec_prefix = @exec_prefix@ |
612 | -host = @host@ |
613 | -host_alias = @host_alias@ |
614 | -host_cpu = @host_cpu@ |
615 | -host_os = @host_os@ |
616 | -host_vendor = @host_vendor@ |
617 | -htmldir = @htmldir@ |
618 | -includedir = @includedir@ |
619 | -infodir = @infodir@ |
620 | -install_sh = @install_sh@ |
621 | -libdir = @libdir@ |
622 | -libexecdir = @libexecdir@ |
623 | -localedir = @localedir@ |
624 | -localstatedir = @localstatedir@ |
625 | -mandir = @mandir@ |
626 | -mkdir_p = @mkdir_p@ |
627 | -oldincludedir = @oldincludedir@ |
628 | -pdfdir = @pdfdir@ |
629 | -prefix = @prefix@ |
630 | -program_transform_name = @program_transform_name@ |
631 | -psdir = @psdir@ |
632 | -sbindir = @sbindir@ |
633 | -sharedstatedir = @sharedstatedir@ |
634 | -srcdir = @srcdir@ |
635 | -sysconfdir = @sysconfdir@ |
636 | -target_alias = @target_alias@ |
637 | -top_builddir = @top_builddir@ |
638 | -top_srcdir = @top_srcdir@ |
639 | - |
640 | -# SBLIM Include Directory |
641 | -sblimincdir = $(includedir)/sblim |
642 | - |
643 | -# Start from an empty extra distribution file list |
644 | - |
645 | -# We must explicity add the RPM spec file to the distribution package |
646 | - |
647 | -# |
648 | -# Automake instructions for ./test subdir |
649 | -# |
650 | -EXTRA_DIST = README.INDICATION README.tog-pegasus DEBUG \ |
651 | - $(PACKAGE).spec $(PACKAGE).rh.spec mof $(pkgdata_SCRIPTS) test \ |
652 | - README.TEST |
653 | - |
654 | -# |
655 | -# Automake instructions for documentation |
656 | -# |
657 | - |
658 | -# ADD EXTRA DOC FILES IF PRESENT |
659 | -doc_DATA = README AUTHORS COPYING README.INDICATION README.tog-pegasus \ |
660 | - DEBUG $(am__append_1) |
661 | - |
662 | -# providerdir defines where provider libraries will be installed (@PROVIDERDIR@ is set by the configure script). |
663 | -providerdir = @PROVIDERDIR@ |
664 | - |
665 | -# |
666 | -# Automake instructions for main dir |
667 | -# |
668 | - |
669 | -# OSBase CMPI provider libraries |
670 | -provider_LTLIBRARIES = libcmpiOSBase_ComputerSystemProvider.la \ |
671 | - libcmpiOSBase_OperatingSystemProvider.la \ |
672 | - libcmpiOSBase_OperatingSystemStatisticalDataProvider.la \ |
673 | - libcmpiOSBase_UnixProcessProvider.la \ |
674 | - libcmpiOSBase_ProcessorProvider.la \ |
675 | - libcmpiOSBase_BaseBoardProvider.la \ |
676 | - libcmpiOSBase_RunningOSProvider.la \ |
677 | - libcmpiOSBase_OSProcessProvider.la \ |
678 | - libcmpiOSBase_OperatingSystemStatisticsProvider.la \ |
679 | - libcmpiOSBase_CSProcessorProvider.la \ |
680 | - libcmpiOSBase_CSBaseBoardProvider.la |
681 | - |
682 | - |
683 | -# Computer System |
684 | -libcmpiOSBase_ComputerSystemProvider_la_SOURCES = \ |
685 | - cmpiOSBase_ComputerSystemProvider.c \ |
686 | - cmpiOSBase_ComputerSystem.c \ |
687 | - OSBase_ComputerSystem.c |
688 | - |
689 | -libcmpiOSBase_ComputerSystemProvider_la_LIBADD = -lcmpiOSBase_Common |
690 | -libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS = -avoid-version |
691 | - |
692 | -# Operating System |
693 | -libcmpiOSBase_OperatingSystemProvider_la_SOURCES = \ |
694 | - cmpiOSBase_OperatingSystemProvider.c \ |
695 | - cmpiOSBase_OperatingSystem.c \ |
696 | - OSBase_OperatingSystem.c |
697 | - |
698 | -libcmpiOSBase_OperatingSystemProvider_la_LIBADD = -lcmpiOSBase_Common \ |
699 | - -ldmiinfo @LINDHELP@ |
700 | - |
701 | -# This gcc/ld specific flag is ugly - need to check in configure |
702 | -libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS = -avoid-version |
703 | - |
704 | -# Operating System Statistical Data |
705 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES = \ |
706 | - cmpiOSBase_OperatingSystemStatisticalDataProvider.c \ |
707 | - cmpiOSBase_OperatingSystemStatisticalData.c \ |
708 | - OSBase_OperatingSystemStatisticalData.c |
709 | - |
710 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD = -lcmpiOSBase_Common |
711 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS = -avoid-version |
712 | - |
713 | -# Unix Process |
714 | -libcmpiOSBase_UnixProcessProvider_la_SOURCES = \ |
715 | - cmpiOSBase_UnixProcessProvider.c \ |
716 | - cmpiOSBase_UnixProcess.c \ |
717 | - OSBase_UnixProcess.c |
718 | - |
719 | -libcmpiOSBase_UnixProcessProvider_la_LIBADD = -lcmpiOSBase_Common |
720 | -libcmpiOSBase_UnixProcessProvider_la_LDFLAGS = -avoid-version |
721 | - |
722 | -# Processor |
723 | -libcmpiOSBase_ProcessorProvider_la_SOURCES = \ |
724 | - cmpiOSBase_ProcessorProvider.c \ |
725 | - cmpiOSBase_Processor.c \ |
726 | - OSBase_Processor.c |
727 | - |
728 | -libcmpiOSBase_ProcessorProvider_la_LIBADD = -lcmpiOSBase_Common |
729 | -libcmpiOSBase_ProcessorProvider_la_LDFLAGS = -avoid-version |
730 | - |
731 | -# Base Board |
732 | -libcmpiOSBase_BaseBoardProvider_la_SOURCES = \ |
733 | - cmpiOSBase_BaseBoardProvider.c \ |
734 | - cmpiOSBase_BaseBoard.c \ |
735 | - OSBase_BaseBoard.c |
736 | - |
737 | -libcmpiOSBase_BaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common -ldmiinfo |
738 | -libcmpiOSBase_BaseBoardProvider_la_LDFLAGS = -avoid-version |
739 | -libcmpiOSBase_RunningOSProvider_la_SOURCES = cmpiOSBase_RunningOSProvider.c |
740 | -libcmpiOSBase_RunningOSProvider_la_LIBADD = -lcmpiOSBase_Common |
741 | -libcmpiOSBase_RunningOSProvider_la_LDFLAGS = -avoid-version |
742 | -libcmpiOSBase_OSProcessProvider_la_SOURCES = cmpiOSBase_OSProcessProvider.c |
743 | -libcmpiOSBase_OSProcessProvider_la_LIBADD = -lcmpiOSBase_Common |
744 | -libcmpiOSBase_OSProcessProvider_la_LDFLAGS = -avoid-version |
745 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES = cmpiOSBase_OperatingSystemStatisticsProvider.c |
746 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD = -lcmpiOSBase_Common |
747 | -libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS = -avoid-version |
748 | -libcmpiOSBase_CSProcessorProvider_la_SOURCES = cmpiOSBase_CSProcessorProvider.c |
749 | -libcmpiOSBase_CSProcessorProvider_la_LIBADD = -lcmpiOSBase_Common |
750 | -libcmpiOSBase_CSProcessorProvider_la_LDFLAGS = -avoid-version |
751 | -libcmpiOSBase_CSBaseBoardProvider_la_SOURCES = cmpiOSBase_CSBaseBoardProvider.c |
752 | -libcmpiOSBase_CSBaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common |
753 | -libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS = -avoid-version |
754 | - |
755 | -# OSBase support utility libraries |
756 | -lib_LTLIBRARIES = libcmpiOSBase_Common.la libdmiinfo.la |
757 | -libcmpiOSBase_Common_la_SOURCES = OSBase_Common.c cmpiOSBase_Common.c |
758 | -# This gcc/ld specific flag is ugly - need to check in configure |
759 | -libcmpiOSBase_Common_la_LDFLAGS = -Wc |
760 | -libdmiinfo_la_SOURCES = dmiinfo.c dmiinfo.h dmifind.h |
761 | -dmitest_SOURCES = dmitest.c |
762 | -dmitest_LDADD = -ldmiinfo |
763 | - |
764 | -# Installable Header Files |
765 | -sbliminc_HEADERS = OSBase_Common.h cmpiOSBase_Common.h \ |
766 | - OSBase_UnixProcess.h cmpiOSBase_UnixProcess.h |
767 | - |
768 | - |
769 | -# Non-Installable Header Files |
770 | -noinst_HEADERS = OSBase_ComputerSystem.h \ |
771 | - OSBase_OperatingSystem.h \ |
772 | - OSBase_OperatingSystemStatisticalData.h \ |
773 | - OSBase_Processor.h \ |
774 | - OSBase_BaseBoard.h \ |
775 | - cmpiOSBase_Util.h \ |
776 | - cmpiOSBase_ComputerSystem.h \ |
777 | - cmpiOSBase_OperatingSystem.h \ |
778 | - cmpiOSBase_OperatingSystemStatisticalData.h \ |
779 | - cmpiOSBase_Processor.h \ |
780 | - cmpiOSBase_BaseBoard.h |
781 | - |
782 | -@NOEVENTS_FALSE@SCHEMAS = $(srcdir)/mof/Linux_Base.mof $(srcdir)/mof/Linux_BaseIndication.mof |
783 | - |
784 | -# |
785 | -# Automake instructions for ./mof subdir |
786 | -# |
787 | -@NOEVENTS_TRUE@SCHEMAS = $(srcdir)/mof/Linux_Base.mof |
788 | -@NOEVENTS_FALSE@REGISTRATIONS = $(srcdir)/mof/Linux_BaseIndication.registration |
789 | -@NOEVENTS_TRUE@REGISTRATIONS = $(srcdir)/mof/Linux_Base.registration |
790 | - |
791 | -# We must explicity add all the schema files to the distribution package |
792 | -pkgdata_DATA = $(SCHEMAS) $(REGISTRATIONS) |
793 | -pkgdata_SCRIPTS = provider-register.sh |
794 | -@TESTSUITE_TRUE@testsuitedir = @TESTSUITEDIR@ |
795 | -@TESTSUITE_TRUE@testsuitesystemdir = @TESTSUITEDIR@/system/linux |
796 | -@TESTSUITE_TRUE@testsuitecimdir = @TESTSUITEDIR@/cim |
797 | -@TESTSUITE_TRUE@testsuite_SCRIPTS = test/test-cmpi-base.sh |
798 | -@TESTSUITE_TRUE@testsuitesystem_DATA = test/system/linux/Linux_CSProcessor.system \ |
799 | -@TESTSUITE_TRUE@ test/system/linux/Linux_ComputerSystem.system \ |
800 | -@TESTSUITE_TRUE@ test/system/linux/Linux_OSProcess.system \ |
801 | -@TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystem.system \ |
802 | -@TESTSUITE_TRUE@ test/system/linux/Linux_Processor.system \ |
803 | -@TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystemStatisticalData.system \ |
804 | -@TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystemStatistics.system \ |
805 | -@TESTSUITE_TRUE@ test/system/linux/Linux_RunningOS.system \ |
806 | -@TESTSUITE_TRUE@ test/system/linux/Linux_UnixProcess.system \ |
807 | -@TESTSUITE_TRUE@ test/system/linux/Linux_BaseBoard.system \ |
808 | -@TESTSUITE_TRUE@ test/system/linux/Linux_CSBaseBoard.system |
809 | - |
810 | -@TESTSUITE_TRUE@testsuitesystem_SCRIPTS = test/system/linux/Linux_OperatingSystem.version.sh \ |
811 | -@TESTSUITE_TRUE@ test/system/linux/Linux_Processor.pl \ |
812 | -@TESTSUITE_TRUE@ test/system/linux/Linux_UnixProcess.pl \ |
813 | -@TESTSUITE_TRUE@ test/system/linux/createKeyFiles.sh |
814 | - |
815 | -@TESTSUITE_TRUE@testsuitecim_DATA = test/cim/Linux_CSProcessor.cim \ |
816 | -@TESTSUITE_TRUE@ test/cim/Linux_ComputerSystem.cim \ |
817 | -@TESTSUITE_TRUE@ test/cim/Linux_OSProcess.cim \ |
818 | -@TESTSUITE_TRUE@ test/cim/Linux_OperatingSystem.cim \ |
819 | -@TESTSUITE_TRUE@ test/cim/Linux_OperatingSystemStatisticalData.cim \ |
820 | -@TESTSUITE_TRUE@ test/cim/Linux_OperatingSystemStatistics.cim \ |
821 | -@TESTSUITE_TRUE@ test/cim/Linux_Processor.cim \ |
822 | -@TESTSUITE_TRUE@ test/cim/Linux_RunningOS.cim \ |
823 | -@TESTSUITE_TRUE@ test/cim/Linux_UnixProcess.cim \ |
824 | -@TESTSUITE_TRUE@ test/cim/Linux_BaseBoard.cim \ |
825 | -@TESTSUITE_TRUE@ test/cim/Linux_CSBaseBoard.cim |
826 | - |
827 | -all: config.h |
828 | - $(MAKE) $(AM_MAKEFLAGS) all-am |
829 | - |
830 | -.SUFFIXES: |
831 | -.SUFFIXES: .c .lo .o .obj |
832 | -am--refresh: |
833 | - @: |
834 | -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
835 | - @for dep in $?; do \ |
836 | - case '$(am__configure_deps)' in \ |
837 | - *$$dep*) \ |
838 | - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ |
839 | - cd $(srcdir) && $(AUTOMAKE) --gnu \ |
840 | - && exit 0; \ |
841 | - exit 1;; \ |
842 | - esac; \ |
843 | - done; \ |
844 | - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
845 | - cd $(top_srcdir) && \ |
846 | - $(AUTOMAKE) --gnu Makefile |
847 | -.PRECIOUS: Makefile |
848 | -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
849 | - @case '$?' in \ |
850 | - *config.status*) \ |
851 | - echo ' $(SHELL) ./config.status'; \ |
852 | - $(SHELL) ./config.status;; \ |
853 | - *) \ |
854 | - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
855 | - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
856 | - esac; |
857 | - |
858 | -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
859 | - $(SHELL) ./config.status --recheck |
860 | - |
861 | -$(top_srcdir)/configure: $(am__configure_deps) |
862 | - cd $(srcdir) && $(AUTOCONF) |
863 | -$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
864 | - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
865 | - |
866 | -config.h: stamp-h1 |
867 | - @if test ! -f $@; then \ |
868 | - rm -f stamp-h1; \ |
869 | - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ |
870 | - else :; fi |
871 | - |
872 | -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
873 | - @rm -f stamp-h1 |
874 | - cd $(top_builddir) && $(SHELL) ./config.status config.h |
875 | -$(srcdir)/config.h.in: $(am__configure_deps) |
876 | - cd $(top_srcdir) && $(AUTOHEADER) |
877 | - rm -f stamp-h1 |
878 | - touch $@ |
879 | - |
880 | -distclean-hdr: |
881 | - -rm -f config.h stamp-h1 |
882 | -sblim-cmpi-base.spec: $(top_builddir)/config.status $(srcdir)/sblim-cmpi-base.spec.in |
883 | - cd $(top_builddir) && $(SHELL) ./config.status $@ |
884 | -install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
885 | - @$(NORMAL_INSTALL) |
886 | - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" |
887 | - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
888 | - if test -f $$p; then \ |
889 | - f=$(am__strip_dir) \ |
890 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ |
891 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ |
892 | - else :; fi; \ |
893 | - done |
894 | - |
895 | -uninstall-libLTLIBRARIES: |
896 | - @$(NORMAL_UNINSTALL) |
897 | - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
898 | - p=$(am__strip_dir) \ |
899 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ |
900 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ |
901 | - done |
902 | - |
903 | -clean-libLTLIBRARIES: |
904 | - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
905 | - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
906 | - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ |
907 | - test "$$dir" != "$$p" || dir=.; \ |
908 | - echo "rm -f \"$${dir}/so_locations\""; \ |
909 | - rm -f "$${dir}/so_locations"; \ |
910 | - done |
911 | -install-providerLTLIBRARIES: $(provider_LTLIBRARIES) |
912 | - @$(NORMAL_INSTALL) |
913 | - test -z "$(providerdir)" || $(MKDIR_P) "$(DESTDIR)$(providerdir)" |
914 | - @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ |
915 | - if test -f $$p; then \ |
916 | - f=$(am__strip_dir) \ |
917 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(providerdir)/$$f'"; \ |
918 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(providerdir)/$$f"; \ |
919 | - else :; fi; \ |
920 | - done |
921 | - |
922 | -uninstall-providerLTLIBRARIES: |
923 | - @$(NORMAL_UNINSTALL) |
924 | - @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ |
925 | - p=$(am__strip_dir) \ |
926 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(providerdir)/$$p'"; \ |
927 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(providerdir)/$$p"; \ |
928 | - done |
929 | - |
930 | -clean-providerLTLIBRARIES: |
931 | - -test -z "$(provider_LTLIBRARIES)" || rm -f $(provider_LTLIBRARIES) |
932 | - @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ |
933 | - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ |
934 | - test "$$dir" != "$$p" || dir=.; \ |
935 | - echo "rm -f \"$${dir}/so_locations\""; \ |
936 | - rm -f "$${dir}/so_locations"; \ |
937 | - done |
938 | -libcmpiOSBase_BaseBoardProvider.la: $(libcmpiOSBase_BaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES) |
939 | - $(libcmpiOSBase_BaseBoardProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_BaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_BaseBoardProvider_la_LIBADD) $(LIBS) |
940 | -libcmpiOSBase_CSBaseBoardProvider.la: $(libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_CSBaseBoardProvider_la_DEPENDENCIES) |
941 | - $(libcmpiOSBase_CSBaseBoardProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_CSBaseBoardProvider_la_LIBADD) $(LIBS) |
942 | -libcmpiOSBase_CSProcessorProvider.la: $(libcmpiOSBase_CSProcessorProvider_la_OBJECTS) $(libcmpiOSBase_CSProcessorProvider_la_DEPENDENCIES) |
943 | - $(libcmpiOSBase_CSProcessorProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_CSProcessorProvider_la_OBJECTS) $(libcmpiOSBase_CSProcessorProvider_la_LIBADD) $(LIBS) |
944 | -libcmpiOSBase_Common.la: $(libcmpiOSBase_Common_la_OBJECTS) $(libcmpiOSBase_Common_la_DEPENDENCIES) |
945 | - $(libcmpiOSBase_Common_la_LINK) -rpath $(libdir) $(libcmpiOSBase_Common_la_OBJECTS) $(libcmpiOSBase_Common_la_LIBADD) $(LIBS) |
946 | -libcmpiOSBase_ComputerSystemProvider.la: $(libcmpiOSBase_ComputerSystemProvider_la_OBJECTS) $(libcmpiOSBase_ComputerSystemProvider_la_DEPENDENCIES) |
947 | - $(libcmpiOSBase_ComputerSystemProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_ComputerSystemProvider_la_OBJECTS) $(libcmpiOSBase_ComputerSystemProvider_la_LIBADD) $(LIBS) |
948 | -libcmpiOSBase_OSProcessProvider.la: $(libcmpiOSBase_OSProcessProvider_la_OBJECTS) $(libcmpiOSBase_OSProcessProvider_la_DEPENDENCIES) |
949 | - $(libcmpiOSBase_OSProcessProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OSProcessProvider_la_OBJECTS) $(libcmpiOSBase_OSProcessProvider_la_LIBADD) $(LIBS) |
950 | -libcmpiOSBase_OperatingSystemProvider.la: $(libcmpiOSBase_OperatingSystemProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemProvider_la_DEPENDENCIES) |
951 | - $(libcmpiOSBase_OperatingSystemProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemProvider_la_LIBADD) $(LIBS) |
952 | -libcmpiOSBase_OperatingSystemStatisticalDataProvider.la: $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_DEPENDENCIES) |
953 | - $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD) $(LIBS) |
954 | -libcmpiOSBase_OperatingSystemStatisticsProvider.la: $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_DEPENDENCIES) |
955 | - $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD) $(LIBS) |
956 | -libcmpiOSBase_ProcessorProvider.la: $(libcmpiOSBase_ProcessorProvider_la_OBJECTS) $(libcmpiOSBase_ProcessorProvider_la_DEPENDENCIES) |
957 | - $(libcmpiOSBase_ProcessorProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_ProcessorProvider_la_OBJECTS) $(libcmpiOSBase_ProcessorProvider_la_LIBADD) $(LIBS) |
958 | -libcmpiOSBase_RunningOSProvider.la: $(libcmpiOSBase_RunningOSProvider_la_OBJECTS) $(libcmpiOSBase_RunningOSProvider_la_DEPENDENCIES) |
959 | - $(libcmpiOSBase_RunningOSProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_RunningOSProvider_la_OBJECTS) $(libcmpiOSBase_RunningOSProvider_la_LIBADD) $(LIBS) |
960 | -libcmpiOSBase_UnixProcessProvider.la: $(libcmpiOSBase_UnixProcessProvider_la_OBJECTS) $(libcmpiOSBase_UnixProcessProvider_la_DEPENDENCIES) |
961 | - $(libcmpiOSBase_UnixProcessProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_UnixProcessProvider_la_OBJECTS) $(libcmpiOSBase_UnixProcessProvider_la_LIBADD) $(LIBS) |
962 | -libdmiinfo.la: $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_DEPENDENCIES) |
963 | - $(LINK) -rpath $(libdir) $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_LIBADD) $(LIBS) |
964 | - |
965 | -clean-noinstPROGRAMS: |
966 | - @list='$(noinst_PROGRAMS)'; for p in $$list; do \ |
967 | - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |
968 | - echo " rm -f $$p $$f"; \ |
969 | - rm -f $$p $$f ; \ |
970 | - done |
971 | -dmitest$(EXEEXT): $(dmitest_OBJECTS) $(dmitest_DEPENDENCIES) |
972 | - @rm -f dmitest$(EXEEXT) |
973 | - $(LINK) $(dmitest_OBJECTS) $(dmitest_LDADD) $(LIBS) |
974 | -install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) |
975 | - @$(NORMAL_INSTALL) |
976 | - test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" |
977 | - @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ |
978 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
979 | - if test -f $$d$$p; then \ |
980 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
981 | - echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
982 | - $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
983 | - else :; fi; \ |
984 | - done |
985 | - |
986 | -uninstall-pkgdataSCRIPTS: |
987 | - @$(NORMAL_UNINSTALL) |
988 | - @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ |
989 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
990 | - echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
991 | - rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
992 | - done |
993 | -install-testsuiteSCRIPTS: $(testsuite_SCRIPTS) |
994 | - @$(NORMAL_INSTALL) |
995 | - test -z "$(testsuitedir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitedir)" |
996 | - @list='$(testsuite_SCRIPTS)'; for p in $$list; do \ |
997 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
998 | - if test -f $$d$$p; then \ |
999 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
1000 | - echo " $(testsuiteSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitedir)/$$f'"; \ |
1001 | - $(testsuiteSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitedir)/$$f"; \ |
1002 | - else :; fi; \ |
1003 | - done |
1004 | - |
1005 | -uninstall-testsuiteSCRIPTS: |
1006 | - @$(NORMAL_UNINSTALL) |
1007 | - @list='$(testsuite_SCRIPTS)'; for p in $$list; do \ |
1008 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
1009 | - echo " rm -f '$(DESTDIR)$(testsuitedir)/$$f'"; \ |
1010 | - rm -f "$(DESTDIR)$(testsuitedir)/$$f"; \ |
1011 | - done |
1012 | -install-testsuitesystemSCRIPTS: $(testsuitesystem_SCRIPTS) |
1013 | - @$(NORMAL_INSTALL) |
1014 | - test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" |
1015 | - @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \ |
1016 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
1017 | - if test -f $$d$$p; then \ |
1018 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
1019 | - echo " $(testsuitesystemSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ |
1020 | - $(testsuitesystemSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ |
1021 | - else :; fi; \ |
1022 | - done |
1023 | - |
1024 | -uninstall-testsuitesystemSCRIPTS: |
1025 | - @$(NORMAL_UNINSTALL) |
1026 | - @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \ |
1027 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
1028 | - echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ |
1029 | - rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ |
1030 | - done |
1031 | - |
1032 | -mostlyclean-compile: |
1033 | - -rm -f *.$(OBJEXT) |
1034 | - |
1035 | -distclean-compile: |
1036 | - -rm -f *.tab.c |
1037 | - |
1038 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_BaseBoard.Plo@am__quote@ |
1039 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_Common.Plo@am__quote@ |
1040 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_ComputerSystem.Plo@am__quote@ |
1041 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_OperatingSystem.Plo@am__quote@ |
1042 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_OperatingSystemStatisticalData.Plo@am__quote@ |
1043 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_Processor.Plo@am__quote@ |
1044 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_UnixProcess.Plo@am__quote@ |
1045 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_BaseBoard.Plo@am__quote@ |
1046 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_BaseBoardProvider.Plo@am__quote@ |
1047 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_CSBaseBoardProvider.Plo@am__quote@ |
1048 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_CSProcessorProvider.Plo@am__quote@ |
1049 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_Common.Plo@am__quote@ |
1050 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ComputerSystem.Plo@am__quote@ |
1051 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ComputerSystemProvider.Plo@am__quote@ |
1052 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OSProcessProvider.Plo@am__quote@ |
1053 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystem.Plo@am__quote@ |
1054 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemProvider.Plo@am__quote@ |
1055 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticalData.Plo@am__quote@ |
1056 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticalDataProvider.Plo@am__quote@ |
1057 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticsProvider.Plo@am__quote@ |
1058 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_Processor.Plo@am__quote@ |
1059 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ProcessorProvider.Plo@am__quote@ |
1060 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_RunningOSProvider.Plo@am__quote@ |
1061 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_UnixProcess.Plo@am__quote@ |
1062 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_UnixProcessProvider.Plo@am__quote@ |
1063 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dmiinfo.Plo@am__quote@ |
1064 | -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dmitest.Po@am__quote@ |
1065 | - |
1066 | -.c.o: |
1067 | -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1068 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
1069 | -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
1070 | -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1071 | -@am__fastdepCC_FALSE@ $(COMPILE) -c $< |
1072 | - |
1073 | -.c.obj: |
1074 | -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
1075 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
1076 | -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
1077 | -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1078 | -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
1079 | - |
1080 | -.c.lo: |
1081 | -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1082 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
1083 | -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
1084 | -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1085 | -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< |
1086 | - |
1087 | -mostlyclean-libtool: |
1088 | - -rm -f *.lo |
1089 | - |
1090 | -clean-libtool: |
1091 | - -rm -rf .libs _libs |
1092 | - |
1093 | -distclean-libtool: |
1094 | - -rm -f libtool |
1095 | -install-docDATA: $(doc_DATA) |
1096 | - @$(NORMAL_INSTALL) |
1097 | - test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" |
1098 | - @list='$(doc_DATA)'; for p in $$list; do \ |
1099 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
1100 | - f=$(am__strip_dir) \ |
1101 | - echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ |
1102 | - $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ |
1103 | - done |
1104 | - |
1105 | -uninstall-docDATA: |
1106 | - @$(NORMAL_UNINSTALL) |
1107 | - @list='$(doc_DATA)'; for p in $$list; do \ |
1108 | - f=$(am__strip_dir) \ |
1109 | - echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ |
1110 | - rm -f "$(DESTDIR)$(docdir)/$$f"; \ |
1111 | - done |
1112 | -install-pkgdataDATA: $(pkgdata_DATA) |
1113 | - @$(NORMAL_INSTALL) |
1114 | - test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" |
1115 | - @list='$(pkgdata_DATA)'; for p in $$list; do \ |
1116 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
1117 | - f=$(am__strip_dir) \ |
1118 | - echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
1119 | - $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
1120 | - done |
1121 | - |
1122 | -uninstall-pkgdataDATA: |
1123 | - @$(NORMAL_UNINSTALL) |
1124 | - @list='$(pkgdata_DATA)'; for p in $$list; do \ |
1125 | - f=$(am__strip_dir) \ |
1126 | - echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
1127 | - rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
1128 | - done |
1129 | -install-testsuitecimDATA: $(testsuitecim_DATA) |
1130 | - @$(NORMAL_INSTALL) |
1131 | - test -z "$(testsuitecimdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitecimdir)" |
1132 | - @list='$(testsuitecim_DATA)'; for p in $$list; do \ |
1133 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
1134 | - f=$(am__strip_dir) \ |
1135 | - echo " $(testsuitecimDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitecimdir)/$$f'"; \ |
1136 | - $(testsuitecimDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitecimdir)/$$f"; \ |
1137 | - done |
1138 | - |
1139 | -uninstall-testsuitecimDATA: |
1140 | - @$(NORMAL_UNINSTALL) |
1141 | - @list='$(testsuitecim_DATA)'; for p in $$list; do \ |
1142 | - f=$(am__strip_dir) \ |
1143 | - echo " rm -f '$(DESTDIR)$(testsuitecimdir)/$$f'"; \ |
1144 | - rm -f "$(DESTDIR)$(testsuitecimdir)/$$f"; \ |
1145 | - done |
1146 | -install-testsuitesystemDATA: $(testsuitesystem_DATA) |
1147 | - @$(NORMAL_INSTALL) |
1148 | - test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" |
1149 | - @list='$(testsuitesystem_DATA)'; for p in $$list; do \ |
1150 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
1151 | - f=$(am__strip_dir) \ |
1152 | - echo " $(testsuitesystemDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ |
1153 | - $(testsuitesystemDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ |
1154 | - done |
1155 | - |
1156 | -uninstall-testsuitesystemDATA: |
1157 | - @$(NORMAL_UNINSTALL) |
1158 | - @list='$(testsuitesystem_DATA)'; for p in $$list; do \ |
1159 | - f=$(am__strip_dir) \ |
1160 | - echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ |
1161 | - rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ |
1162 | - done |
1163 | -install-sblimincHEADERS: $(sbliminc_HEADERS) |
1164 | - @$(NORMAL_INSTALL) |
1165 | - test -z "$(sblimincdir)" || $(MKDIR_P) "$(DESTDIR)$(sblimincdir)" |
1166 | - @list='$(sbliminc_HEADERS)'; for p in $$list; do \ |
1167 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
1168 | - f=$(am__strip_dir) \ |
1169 | - echo " $(sblimincHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sblimincdir)/$$f'"; \ |
1170 | - $(sblimincHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sblimincdir)/$$f"; \ |
1171 | - done |
1172 | - |
1173 | -uninstall-sblimincHEADERS: |
1174 | - @$(NORMAL_UNINSTALL) |
1175 | - @list='$(sbliminc_HEADERS)'; for p in $$list; do \ |
1176 | - f=$(am__strip_dir) \ |
1177 | - echo " rm -f '$(DESTDIR)$(sblimincdir)/$$f'"; \ |
1178 | - rm -f "$(DESTDIR)$(sblimincdir)/$$f"; \ |
1179 | - done |
1180 | - |
1181 | -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
1182 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
1183 | - unique=`for i in $$list; do \ |
1184 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1185 | - done | \ |
1186 | - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ |
1187 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1188 | - mkid -fID $$unique |
1189 | -tags: TAGS |
1190 | - |
1191 | -TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
1192 | - $(TAGS_FILES) $(LISP) |
1193 | - tags=; \ |
1194 | - here=`pwd`; \ |
1195 | - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
1196 | - unique=`for i in $$list; do \ |
1197 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1198 | - done | \ |
1199 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
1200 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1201 | - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ |
1202 | - test -n "$$unique" || unique=$$empty_fix; \ |
1203 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
1204 | - $$tags $$unique; \ |
1205 | - fi |
1206 | -ctags: CTAGS |
1207 | -CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
1208 | - $(TAGS_FILES) $(LISP) |
1209 | - tags=; \ |
1210 | - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
1211 | - unique=`for i in $$list; do \ |
1212 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1213 | - done | \ |
1214 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
1215 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1216 | - test -z "$(CTAGS_ARGS)$$tags$$unique" \ |
1217 | - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
1218 | - $$tags $$unique |
1219 | - |
1220 | -GTAGS: |
1221 | - here=`$(am__cd) $(top_builddir) && pwd` \ |
1222 | - && cd $(top_srcdir) \ |
1223 | - && gtags -i $(GTAGS_ARGS) $$here |
1224 | - |
1225 | -distclean-tags: |
1226 | - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1227 | - |
1228 | -distdir: $(DISTFILES) |
1229 | - $(am__remove_distdir) |
1230 | - test -d $(distdir) || mkdir $(distdir) |
1231 | - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1232 | - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1233 | - list='$(DISTFILES)'; \ |
1234 | - dist_files=`for file in $$list; do echo $$file; done | \ |
1235 | - sed -e "s|^$$srcdirstrip/||;t" \ |
1236 | - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
1237 | - case $$dist_files in \ |
1238 | - */*) $(MKDIR_P) `echo "$$dist_files" | \ |
1239 | - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
1240 | - sort -u` ;; \ |
1241 | - esac; \ |
1242 | - for file in $$dist_files; do \ |
1243 | - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
1244 | - if test -d $$d/$$file; then \ |
1245 | - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
1246 | - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
1247 | - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
1248 | - fi; \ |
1249 | - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ |
1250 | - else \ |
1251 | - test -f $(distdir)/$$file \ |
1252 | - || cp -p $$d/$$file $(distdir)/$$file \ |
1253 | - || exit 1; \ |
1254 | - fi; \ |
1255 | - done |
1256 | - $(MAKE) $(AM_MAKEFLAGS) \ |
1257 | - top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
1258 | - dist-hook |
1259 | - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
1260 | - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
1261 | - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
1262 | - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
1263 | - || chmod -R a+r $(distdir) |
1264 | -dist-gzip: distdir |
1265 | - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
1266 | - $(am__remove_distdir) |
1267 | - |
1268 | -dist-bzip2: distdir |
1269 | - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
1270 | - $(am__remove_distdir) |
1271 | - |
1272 | -dist-lzma: distdir |
1273 | - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
1274 | - $(am__remove_distdir) |
1275 | - |
1276 | -dist-tarZ: distdir |
1277 | - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
1278 | - $(am__remove_distdir) |
1279 | - |
1280 | -dist-shar: distdir |
1281 | - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
1282 | - $(am__remove_distdir) |
1283 | - |
1284 | -dist-zip: distdir |
1285 | - -rm -f $(distdir).zip |
1286 | - zip -rq $(distdir).zip $(distdir) |
1287 | - $(am__remove_distdir) |
1288 | - |
1289 | -dist dist-all: distdir |
1290 | - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
1291 | - $(am__remove_distdir) |
1292 | - |
1293 | -# This target untars the dist file and tries a VPATH configuration. Then |
1294 | -# it guarantees that the distribution is self-contained by making another |
1295 | -# tarfile. |
1296 | -distcheck: dist |
1297 | - case '$(DIST_ARCHIVES)' in \ |
1298 | - *.tar.gz*) \ |
1299 | - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ |
1300 | - *.tar.bz2*) \ |
1301 | - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ |
1302 | - *.tar.lzma*) \ |
1303 | - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ |
1304 | - *.tar.Z*) \ |
1305 | - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
1306 | - *.shar.gz*) \ |
1307 | - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ |
1308 | - *.zip*) \ |
1309 | - unzip $(distdir).zip ;;\ |
1310 | - esac |
1311 | - chmod -R a-w $(distdir); chmod a+w $(distdir) |
1312 | - mkdir $(distdir)/_build |
1313 | - mkdir $(distdir)/_inst |
1314 | - chmod a-w $(distdir) |
1315 | - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
1316 | - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
1317 | - && cd $(distdir)/_build \ |
1318 | - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
1319 | - $(DISTCHECK_CONFIGURE_FLAGS) \ |
1320 | - && $(MAKE) $(AM_MAKEFLAGS) \ |
1321 | - && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
1322 | - && $(MAKE) $(AM_MAKEFLAGS) check \ |
1323 | - && $(MAKE) $(AM_MAKEFLAGS) install \ |
1324 | - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
1325 | - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
1326 | - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
1327 | - distuninstallcheck \ |
1328 | - && chmod -R a-w "$$dc_install_base" \ |
1329 | - && ({ \ |
1330 | - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
1331 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
1332 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
1333 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
1334 | - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
1335 | - } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
1336 | - && rm -rf "$$dc_destdir" \ |
1337 | - && $(MAKE) $(AM_MAKEFLAGS) dist \ |
1338 | - && rm -rf $(DIST_ARCHIVES) \ |
1339 | - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck |
1340 | - $(am__remove_distdir) |
1341 | - @(echo "$(distdir) archives ready for distribution: "; \ |
1342 | - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
1343 | - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
1344 | -distuninstallcheck: |
1345 | - @cd $(distuninstallcheck_dir) \ |
1346 | - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
1347 | - || { echo "ERROR: files left after uninstall:" ; \ |
1348 | - if test -n "$(DESTDIR)"; then \ |
1349 | - echo " (check DESTDIR support)"; \ |
1350 | - fi ; \ |
1351 | - $(distuninstallcheck_listfiles) ; \ |
1352 | - exit 1; } >&2 |
1353 | -distcleancheck: distclean |
1354 | - @if test '$(srcdir)' = . ; then \ |
1355 | - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
1356 | - exit 1 ; \ |
1357 | - fi |
1358 | - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
1359 | - || { echo "ERROR: files left in build directory after distclean:" ; \ |
1360 | - $(distcleancheck_listfiles) ; \ |
1361 | - exit 1; } >&2 |
1362 | -check-am: all-am |
1363 | -check: check-am |
1364 | -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ |
1365 | - $(HEADERS) config.h |
1366 | -installdirs: |
1367 | - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)"; do \ |
1368 | - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
1369 | - done |
1370 | -install: install-am |
1371 | -install-exec: install-exec-am |
1372 | -install-data: install-data-am |
1373 | -uninstall: uninstall-am |
1374 | - |
1375 | -install-am: all-am |
1376 | - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
1377 | - |
1378 | -installcheck: installcheck-am |
1379 | -install-strip: |
1380 | - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
1381 | - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
1382 | - `test -z '$(STRIP)' || \ |
1383 | - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
1384 | -mostlyclean-generic: |
1385 | - |
1386 | -clean-generic: |
1387 | - |
1388 | -distclean-generic: |
1389 | - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
1390 | - |
1391 | -maintainer-clean-generic: |
1392 | - @echo "This command is intended for maintainers to use" |
1393 | - @echo "it deletes files that may require special tools to rebuild." |
1394 | -clean: clean-am |
1395 | - |
1396 | -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ |
1397 | - clean-noinstPROGRAMS clean-providerLTLIBRARIES mostlyclean-am |
1398 | - |
1399 | -distclean: distclean-am |
1400 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1401 | - -rm -rf ./$(DEPDIR) |
1402 | - -rm -f Makefile |
1403 | -distclean-am: clean-am distclean-compile distclean-generic \ |
1404 | - distclean-hdr distclean-libtool distclean-tags |
1405 | - |
1406 | -dvi: dvi-am |
1407 | - |
1408 | -dvi-am: |
1409 | - |
1410 | -html: html-am |
1411 | - |
1412 | -info: info-am |
1413 | - |
1414 | -info-am: |
1415 | - |
1416 | -install-data-am: install-docDATA install-pkgdataDATA \ |
1417 | - install-pkgdataSCRIPTS install-providerLTLIBRARIES \ |
1418 | - install-sblimincHEADERS install-testsuiteSCRIPTS \ |
1419 | - install-testsuitecimDATA install-testsuitesystemDATA \ |
1420 | - install-testsuitesystemSCRIPTS |
1421 | - |
1422 | -install-dvi: install-dvi-am |
1423 | - |
1424 | -install-exec-am: install-libLTLIBRARIES |
1425 | - |
1426 | -install-html: install-html-am |
1427 | - |
1428 | -install-info: install-info-am |
1429 | - |
1430 | -install-man: |
1431 | - |
1432 | -install-pdf: install-pdf-am |
1433 | - |
1434 | -install-ps: install-ps-am |
1435 | - |
1436 | -installcheck-am: |
1437 | - |
1438 | -maintainer-clean: maintainer-clean-am |
1439 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1440 | - -rm -rf $(top_srcdir)/autom4te.cache |
1441 | - -rm -rf ./$(DEPDIR) |
1442 | - -rm -f Makefile |
1443 | -maintainer-clean-am: distclean-am maintainer-clean-generic |
1444 | - |
1445 | -mostlyclean: mostlyclean-am |
1446 | - |
1447 | -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ |
1448 | - mostlyclean-libtool |
1449 | - |
1450 | -pdf: pdf-am |
1451 | - |
1452 | -pdf-am: |
1453 | - |
1454 | -ps: ps-am |
1455 | - |
1456 | -ps-am: |
1457 | - |
1458 | -uninstall-am: uninstall-docDATA uninstall-libLTLIBRARIES \ |
1459 | - uninstall-pkgdataDATA uninstall-pkgdataSCRIPTS \ |
1460 | - uninstall-providerLTLIBRARIES uninstall-sblimincHEADERS \ |
1461 | - uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \ |
1462 | - uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS |
1463 | - |
1464 | -.MAKE: install-am install-strip |
1465 | - |
1466 | -.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ |
1467 | - clean-generic clean-libLTLIBRARIES clean-libtool \ |
1468 | - clean-noinstPROGRAMS clean-providerLTLIBRARIES ctags dist \ |
1469 | - dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \ |
1470 | - dist-tarZ dist-zip distcheck distclean distclean-compile \ |
1471 | - distclean-generic distclean-hdr distclean-libtool \ |
1472 | - distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
1473 | - dvi-am html html-am info info-am install install-am \ |
1474 | - install-data install-data-am install-docDATA install-dvi \ |
1475 | - install-dvi-am install-exec install-exec-am install-html \ |
1476 | - install-html-am install-info install-info-am \ |
1477 | - install-libLTLIBRARIES install-man install-pdf install-pdf-am \ |
1478 | - install-pkgdataDATA install-pkgdataSCRIPTS \ |
1479 | - install-providerLTLIBRARIES install-ps install-ps-am \ |
1480 | - install-sblimincHEADERS install-strip install-testsuiteSCRIPTS \ |
1481 | - install-testsuitecimDATA install-testsuitesystemDATA \ |
1482 | - install-testsuitesystemSCRIPTS installcheck installcheck-am \ |
1483 | - installdirs maintainer-clean maintainer-clean-generic \ |
1484 | - mostlyclean mostlyclean-compile mostlyclean-generic \ |
1485 | - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ |
1486 | - uninstall-am uninstall-docDATA uninstall-libLTLIBRARIES \ |
1487 | - uninstall-pkgdataDATA uninstall-pkgdataSCRIPTS \ |
1488 | - uninstall-providerLTLIBRARIES uninstall-sblimincHEADERS \ |
1489 | - uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \ |
1490 | - uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS |
1491 | - |
1492 | - |
1493 | -# Register the provider(s) and class definition(s) to the current CIM server/CIMOM |
1494 | -postinstall: |
1495 | - sh $(srcdir)/provider-register.sh -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS) |
1496 | - |
1497 | -preuninstall: |
1498 | - sh $(srcdir)/provider-register.sh -d -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS) |
1499 | - |
1500 | -dist-hook: |
1501 | - test -d "$(distdir)" && rm -rf `find $(distdir) -type d -name CVS` |
1502 | - |
1503 | -@TESTSUITE_TRUE@runtest: install |
1504 | -@TESTSUITE_TRUE@ cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh |
1505 | -# Tell versions [3.59,3.63) of GNU make to not export all variables. |
1506 | -# Otherwise a system limit (for SysV at least) may be exceeded. |
1507 | -.NOEXPORT: |
1508 | |
1509 | === modified file 'ChangeLog' |
1510 | --- ChangeLog 2009-07-29 14:43:34 +0000 |
1511 | +++ ChangeLog 2013-01-12 05:25:23 +0000 |
1512 | @@ -1,3 +1,72 @@ |
1513 | +2012-11-02 Tyrel Datwyler <tyreld@us.ibm.com> |
1514 | + |
1515 | + * NEWS, OSBase_UnixProcess.c: |
1516 | + |
1517 | + Fixed 3582069: Linux_UnixProcess command injection vulnerability |
1518 | + |
1519 | +2012-02-07 Tyrel Datwyler <tyreld@us.ibm.com> |
1520 | + |
1521 | + * Makefile.am, NEWS: |
1522 | + |
1523 | + Fixed 3424288: Underlinked libcmpiOSBase_ProcessorProvider.so |
1524 | + |
1525 | +2011-05-23 Tyrel Datwyler <tyreld@us.ibm.com> |
1526 | + |
1527 | + * NEWS, OSBase_OperatingSystem.c: |
1528 | + |
1529 | + Fixed 3306580: wrong OperatingSystem.Version prop value on RHEL6 |
1530 | + |
1531 | +2011-05-23 Tyrel Datwyler <tyreld@us.ibm.com> |
1532 | + |
1533 | + * NEWS, test/test-cmpi-base.sh: |
1534 | + |
1535 | + Fixed 3275169: bash error reported in provider bootstrap scripts |
1536 | + |
1537 | +2011-01-04 Tyrel Datwyler <tyreld@us.ibm.com> |
1538 | + |
1539 | + * ChangeLog, NEWS, configure.ac: |
1540 | + |
1541 | + Update release info for 1.6.1 |
1542 | + |
1543 | +2010-12-20 Tyrel Datwyler <tyreld@us.ibm.com> |
1544 | + |
1545 | + * NEWS, OSBase_Processor.c, OSBase_Processor.h, |
1546 | + cmpiOSBase_ProcessorProvider.c: |
1547 | + |
1548 | + Fixed 2610775: ProcessorProvider crashes on exit |
1549 | + |
1550 | +2010-12-20 Tyrel Datwyler <tyreld@us.ibm.com> |
1551 | + |
1552 | + * NEWS, OSBase_Common.c: |
1553 | + |
1554 | + Fixed 2836926: _osbase_common_init unreliable |
1555 | + |
1556 | +2010-01-21 Tyrel Datwyler <tyreld@us.ibm.com> |
1557 | + |
1558 | + * contributions.txt: |
1559 | + |
1560 | + Changed sfcb to sblim-cmpi-base in contributions file |
1561 | + |
1562 | +2009-12-15 Tyrel Datwyler <tyreld@us.ibm.com> |
1563 | + |
1564 | + * NEWS, cmpiOSBase_OperatingSystem.c: |
1565 | + |
1566 | + Fixed 2882514: leak in |
1567 | + sblim-cmpi-base-1.5.9/cmpiOSBase_OperatingSystem.c |
1568 | + |
1569 | +2009-08-25 Tyrel Datwyler <tyreld@us.ibm.com> |
1570 | + |
1571 | + * NEWS, OSBase_OperatingSystemStatisticalData.c, contributions.txt: |
1572 | + |
1573 | + Fixed 2843613: Missing fclose in sblim-cmpi-base (patch by |
1574 | + Michal Hrušecký) |
1575 | + |
1576 | +2009-07-24 Tyrel Datwyler <tyreld@us.ibm.com> |
1577 | + |
1578 | + * ChangeLog, NEWS, configure.ac: |
1579 | + |
1580 | + Updated for 1.6.0 release |
1581 | + |
1582 | 2009-07-24 Tyrel Datwyler <tyreld@us.ibm.com> |
1583 | |
1584 | * COPYING, Makefile.am, NEWS, OSBase_BaseBoard.c, |
1585 | @@ -283,7 +352,7 @@ |
1586 | [ 1395363 ] Providers' postinstall step location dependent. Fixed |
1587 | Makefile and updated autoconf/deployment files from cmpi-samples. |
1588 | |
1589 | -2006-01-23 Lynn Moss |
1590 | +2006-01-23 Lynn Moss <lynn@us.ibm.com> |
1591 | |
1592 | * Makefile.am: |
1593 | |
1594 | @@ -1516,7 +1585,7 @@ |
1595 | |
1596 | Updated setting.cmpi to support Pegasus |
1597 | |
1598 | -2003-03-25 Adrian Schuur |
1599 | +2003-03-25 Adrian Schuur <schuur@de.ibm.com> |
1600 | |
1601 | * cimibase.h: |
1602 | |
1603 | |
1604 | === modified file 'INSTALL' |
1605 | --- INSTALL 2009-01-26 14:11:21 +0000 |
1606 | +++ INSTALL 2013-01-12 05:25:23 +0000 |
1607 | @@ -2,18 +2,24 @@ |
1608 | ************************* |
1609 | |
1610 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, |
1611 | -2006, 2007 Free Software Foundation, Inc. |
1612 | +2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
1613 | |
1614 | -This file is free documentation; the Free Software Foundation gives |
1615 | -unlimited permission to copy, distribute and modify it. |
1616 | + Copying and distribution of this file, with or without modification, |
1617 | +are permitted in any medium without royalty provided the copyright |
1618 | +notice and this notice are preserved. This file is offered as-is, |
1619 | +without warranty of any kind. |
1620 | |
1621 | Basic Installation |
1622 | ================== |
1623 | |
1624 | -Briefly, the shell commands `./configure; make; make install' should |
1625 | + Briefly, the shell commands `./configure; make; make install' should |
1626 | configure, build, and install this package. The following |
1627 | more-detailed instructions are generic; see the `README' file for |
1628 | -instructions specific to this package. |
1629 | +instructions specific to this package. Some packages provide this |
1630 | +`INSTALL' file but do not implement all of the features documented |
1631 | +below. The lack of an optional feature in a given package is not |
1632 | +necessarily a bug. More recommendations for GNU packages can be found |
1633 | +in *note Makefile Conventions: (standards)Makefile Conventions. |
1634 | |
1635 | The `configure' shell script attempts to guess correct values for |
1636 | various system-dependent variables used during compilation. It uses |
1637 | @@ -42,7 +48,7 @@ |
1638 | you want to change it or regenerate `configure' using a newer version |
1639 | of `autoconf'. |
1640 | |
1641 | -The simplest way to compile this package is: |
1642 | + The simplest way to compile this package is: |
1643 | |
1644 | 1. `cd' to the directory containing the package's source code and type |
1645 | `./configure' to configure the package for your system. |
1646 | @@ -53,12 +59,22 @@ |
1647 | 2. Type `make' to compile the package. |
1648 | |
1649 | 3. Optionally, type `make check' to run any self-tests that come with |
1650 | - the package. |
1651 | + the package, generally using the just-built uninstalled binaries. |
1652 | |
1653 | 4. Type `make install' to install the programs and any data files and |
1654 | - documentation. |
1655 | - |
1656 | - 5. You can remove the program binaries and object files from the |
1657 | + documentation. When installing into a prefix owned by root, it is |
1658 | + recommended that the package be configured and built as a regular |
1659 | + user, and only the `make install' phase executed with root |
1660 | + privileges. |
1661 | + |
1662 | + 5. Optionally, type `make installcheck' to repeat any self-tests, but |
1663 | + this time using the binaries in their final installed location. |
1664 | + This target does not install anything. Running this target as a |
1665 | + regular user, particularly if the prior `make install' required |
1666 | + root privileges, verifies that the installation completed |
1667 | + correctly. |
1668 | + |
1669 | + 6. You can remove the program binaries and object files from the |
1670 | source code directory by typing `make clean'. To also remove the |
1671 | files that `configure' created (so you can compile the package for |
1672 | a different kind of computer), type `make distclean'. There is |
1673 | @@ -67,15 +83,22 @@ |
1674 | all sorts of other programs in order to regenerate files that came |
1675 | with the distribution. |
1676 | |
1677 | - 6. Often, you can also type `make uninstall' to remove the installed |
1678 | - files again. |
1679 | + 7. Often, you can also type `make uninstall' to remove the installed |
1680 | + files again. In practice, not all packages have tested that |
1681 | + uninstallation works correctly, even though it is required by the |
1682 | + GNU Coding Standards. |
1683 | + |
1684 | + 8. Some packages, particularly those that use Automake, provide `make |
1685 | + distcheck', which can by used by developers to test that all other |
1686 | + targets like `make install' and `make uninstall' work correctly. |
1687 | + This target is generally not run by end users. |
1688 | |
1689 | Compilers and Options |
1690 | ===================== |
1691 | |
1692 | -Some systems require unusual options for compilation or linking that the |
1693 | -`configure' script does not know about. Run `./configure --help' for |
1694 | -details on some of the pertinent environment variables. |
1695 | + Some systems require unusual options for compilation or linking that |
1696 | +the `configure' script does not know about. Run `./configure --help' |
1697 | +for details on some of the pertinent environment variables. |
1698 | |
1699 | You can give `configure' initial values for configuration parameters |
1700 | by setting variables in the command line or in the environment. Here |
1701 | @@ -88,25 +111,41 @@ |
1702 | Compiling For Multiple Architectures |
1703 | ==================================== |
1704 | |
1705 | -You can compile the package for more than one kind of computer at the |
1706 | + You can compile the package for more than one kind of computer at the |
1707 | same time, by placing the object files for each architecture in their |
1708 | own directory. To do this, you can use GNU `make'. `cd' to the |
1709 | directory where you want the object files and executables to go and run |
1710 | the `configure' script. `configure' automatically checks for the |
1711 | -source code in the directory that `configure' is in and in `..'. |
1712 | +source code in the directory that `configure' is in and in `..'. This |
1713 | +is known as a "VPATH" build. |
1714 | |
1715 | With a non-GNU `make', it is safer to compile the package for one |
1716 | architecture at a time in the source code directory. After you have |
1717 | installed the package for one architecture, use `make distclean' before |
1718 | reconfiguring for another architecture. |
1719 | |
1720 | + On MacOS X 10.5 and later systems, you can create libraries and |
1721 | +executables that work on multiple system types--known as "fat" or |
1722 | +"universal" binaries--by specifying multiple `-arch' options to the |
1723 | +compiler but only a single `-arch' option to the preprocessor. Like |
1724 | +this: |
1725 | + |
1726 | + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
1727 | + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
1728 | + CPP="gcc -E" CXXCPP="g++ -E" |
1729 | + |
1730 | + This is not guaranteed to produce working output in all cases, you |
1731 | +may have to build one architecture at a time and combine the results |
1732 | +using the `lipo' tool if you have problems. |
1733 | + |
1734 | Installation Names |
1735 | ================== |
1736 | |
1737 | -By default, `make install' installs the package's commands under |
1738 | + By default, `make install' installs the package's commands under |
1739 | `/usr/local/bin', include files under `/usr/local/include', etc. You |
1740 | can specify an installation prefix other than `/usr/local' by giving |
1741 | -`configure' the option `--prefix=PREFIX'. |
1742 | +`configure' the option `--prefix=PREFIX', where PREFIX must be an |
1743 | +absolute file name. |
1744 | |
1745 | You can specify separate installation prefixes for |
1746 | architecture-specific files and architecture-independent files. If you |
1747 | @@ -117,16 +156,47 @@ |
1748 | In addition, if you use an unusual directory layout you can give |
1749 | options like `--bindir=DIR' to specify different values for particular |
1750 | kinds of files. Run `configure --help' for a list of the directories |
1751 | -you can set and what kinds of files go in them. |
1752 | +you can set and what kinds of files go in them. In general, the |
1753 | +default for these options is expressed in terms of `${prefix}', so that |
1754 | +specifying just `--prefix' will affect all of the other directory |
1755 | +specifications that were not explicitly provided. |
1756 | + |
1757 | + The most portable way to affect installation locations is to pass the |
1758 | +correct locations to `configure'; however, many packages provide one or |
1759 | +both of the following shortcuts of passing variable assignments to the |
1760 | +`make install' command line to change installation locations without |
1761 | +having to reconfigure or recompile. |
1762 | + |
1763 | + The first method involves providing an override variable for each |
1764 | +affected directory. For example, `make install |
1765 | +prefix=/alternate/directory' will choose an alternate location for all |
1766 | +directory configuration variables that were expressed in terms of |
1767 | +`${prefix}'. Any directories that were specified during `configure', |
1768 | +but not in terms of `${prefix}', must each be overridden at install |
1769 | +time for the entire installation to be relocated. The approach of |
1770 | +makefile variable overrides for each directory variable is required by |
1771 | +the GNU Coding Standards, and ideally causes no recompilation. |
1772 | +However, some platforms have known limitations with the semantics of |
1773 | +shared libraries that end up requiring recompilation when using this |
1774 | +method, particularly noticeable in packages that use GNU Libtool. |
1775 | + |
1776 | + The second method involves providing the `DESTDIR' variable. For |
1777 | +example, `make install DESTDIR=/alternate/directory' will prepend |
1778 | +`/alternate/directory' before all installation names. The approach of |
1779 | +`DESTDIR' overrides is not required by the GNU Coding Standards, and |
1780 | +does not work on platforms that have drive letters. On the other hand, |
1781 | +it does better at avoiding recompilation issues, and works well even |
1782 | +when some directory options were not specified in terms of `${prefix}' |
1783 | +at `configure' time. |
1784 | + |
1785 | +Optional Features |
1786 | +================= |
1787 | |
1788 | If the package supports it, you can cause programs to be installed |
1789 | with an extra prefix or suffix on their names by giving `configure' the |
1790 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
1791 | |
1792 | -Optional Features |
1793 | -================= |
1794 | - |
1795 | -Some packages pay attention to `--enable-FEATURE' options to |
1796 | + Some packages pay attention to `--enable-FEATURE' options to |
1797 | `configure', where FEATURE indicates an optional part of the package. |
1798 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
1799 | is something like `gnu-as' or `x' (for the X Window System). The |
1800 | @@ -138,14 +208,53 @@ |
1801 | you can use the `configure' options `--x-includes=DIR' and |
1802 | `--x-libraries=DIR' to specify their locations. |
1803 | |
1804 | + Some packages offer the ability to configure how verbose the |
1805 | +execution of `make' will be. For these packages, running `./configure |
1806 | +--enable-silent-rules' sets the default to minimal output, which can be |
1807 | +overridden with `make V=1'; while running `./configure |
1808 | +--disable-silent-rules' sets the default to verbose, which can be |
1809 | +overridden with `make V=0'. |
1810 | + |
1811 | +Particular systems |
1812 | +================== |
1813 | + |
1814 | + On HP-UX, the default C compiler is not ANSI C compatible. If GNU |
1815 | +CC is not installed, it is recommended to use the following options in |
1816 | +order to use an ANSI C compiler: |
1817 | + |
1818 | + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" |
1819 | + |
1820 | +and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
1821 | + |
1822 | + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot |
1823 | +parse its `<wchar.h>' header file. The option `-nodtk' can be used as |
1824 | +a workaround. If GNU CC is not installed, it is therefore recommended |
1825 | +to try |
1826 | + |
1827 | + ./configure CC="cc" |
1828 | + |
1829 | +and if that doesn't work, try |
1830 | + |
1831 | + ./configure CC="cc -nodtk" |
1832 | + |
1833 | + On Solaris, don't put `/usr/ucb' early in your `PATH'. This |
1834 | +directory contains several dysfunctional programs; working variants of |
1835 | +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' |
1836 | +in your `PATH', put it _after_ `/usr/bin'. |
1837 | + |
1838 | + On Haiku, software installed for all users goes in `/boot/common', |
1839 | +not `/usr/local'. It is recommended to use the following options: |
1840 | + |
1841 | + ./configure --prefix=/boot/common |
1842 | + |
1843 | Specifying the System Type |
1844 | ========================== |
1845 | |
1846 | -There may be some features `configure' cannot figure out automatically, |
1847 | -but needs to determine by the type of machine the package will run on. |
1848 | -Usually, assuming the package is built to be run on the _same_ |
1849 | -architectures, `configure' can figure that out, but if it prints a |
1850 | -message saying it cannot guess the machine type, give it the |
1851 | + There may be some features `configure' cannot figure out |
1852 | +automatically, but needs to determine by the type of machine the package |
1853 | +will run on. Usually, assuming the package is built to be run on the |
1854 | +_same_ architectures, `configure' can figure that out, but if it prints |
1855 | +a message saying it cannot guess the machine type, give it the |
1856 | `--build=TYPE' option. TYPE can either be a short name for the system |
1857 | type, such as `sun4', or a canonical name which has the form: |
1858 | |
1859 | @@ -153,7 +262,8 @@ |
1860 | |
1861 | where SYSTEM can have one of these forms: |
1862 | |
1863 | - OS KERNEL-OS |
1864 | + OS |
1865 | + KERNEL-OS |
1866 | |
1867 | See the file `config.sub' for the possible values of each field. If |
1868 | `config.sub' isn't included in this package, then this package doesn't |
1869 | @@ -171,9 +281,9 @@ |
1870 | Sharing Defaults |
1871 | ================ |
1872 | |
1873 | -If you want to set default values for `configure' scripts to share, you |
1874 | -can create a site shell script called `config.site' that gives default |
1875 | -values for variables like `CC', `cache_file', and `prefix'. |
1876 | + If you want to set default values for `configure' scripts to share, |
1877 | +you can create a site shell script called `config.site' that gives |
1878 | +default values for variables like `CC', `cache_file', and `prefix'. |
1879 | `configure' looks for `PREFIX/share/config.site' if it exists, then |
1880 | `PREFIX/etc/config.site' if it exists. Or, you can set the |
1881 | `CONFIG_SITE' environment variable to the location of the site script. |
1882 | @@ -182,7 +292,7 @@ |
1883 | Defining Variables |
1884 | ================== |
1885 | |
1886 | -Variables not defined in a site shell script can be set in the |
1887 | + Variables not defined in a site shell script can be set in the |
1888 | environment passed to `configure'. However, some packages may run |
1889 | configure again during the build, and the customized values of these |
1890 | variables may be lost. In order to avoid this problem, you should set |
1891 | @@ -201,11 +311,19 @@ |
1892 | `configure' Invocation |
1893 | ====================== |
1894 | |
1895 | -`configure' recognizes the following options to control how it operates. |
1896 | + `configure' recognizes the following options to control how it |
1897 | +operates. |
1898 | |
1899 | `--help' |
1900 | `-h' |
1901 | - Print a summary of the options to `configure', and exit. |
1902 | + Print a summary of all of the options to `configure', and exit. |
1903 | + |
1904 | +`--help=short' |
1905 | +`--help=recursive' |
1906 | + Print a summary of the options unique to this package's |
1907 | + `configure', and exit. The `short' variant lists options used |
1908 | + only in the top level, while the `recursive' variant lists options |
1909 | + also present in any nested packages. |
1910 | |
1911 | `--version' |
1912 | `-V' |
1913 | @@ -232,6 +350,16 @@ |
1914 | Look for the package's source code in directory DIR. Usually |
1915 | `configure' can determine that directory automatically. |
1916 | |
1917 | +`--prefix=DIR' |
1918 | + Use DIR as the installation prefix. *note Installation Names:: |
1919 | + for more details, including other options available for fine-tuning |
1920 | + the installation locations. |
1921 | + |
1922 | +`--no-create' |
1923 | +`-n' |
1924 | + Run the configure checks, but stop before creating any output |
1925 | + files. |
1926 | + |
1927 | `configure' also accepts some other, not widely useful, options. Run |
1928 | `configure --help' for more details. |
1929 | |
1930 | |
1931 | === modified file 'Makefile.am' |
1932 | --- Makefile.am 2011-10-16 11:55:22 +0000 |
1933 | +++ Makefile.am 2013-01-12 05:25:23 +0000 |
1934 | @@ -1,4 +1,4 @@ |
1935 | -# $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $ |
1936 | +# $Id: Makefile.am,v 1.19 2012/11/29 06:22:20 tyreld Exp $ |
1937 | # ================================================================== |
1938 | # (C) Copyright IBM Corp. 2005, 2009 |
1939 | # |
1940 | @@ -14,6 +14,7 @@ |
1941 | # Description: Automake input file for OS Base Providers |
1942 | # ================================================================== |
1943 | |
1944 | +AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2 |
1945 | |
1946 | # SBLIM Include Directory |
1947 | sblimincdir = $(includedir)/sblim |
1948 | |
1949 | === modified file 'Makefile.in' |
1950 | --- Makefile.in 2011-10-16 11:55:22 +0000 |
1951 | +++ Makefile.in 2013-01-12 05:25:23 +0000 |
1952 | @@ -1,8 +1,9 @@ |
1953 | -# Makefile.in generated by automake 1.10.1 from Makefile.am. |
1954 | +# Makefile.in generated by automake 1.11.1 from Makefile.am. |
1955 | # @configure_input@ |
1956 | |
1957 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
1958 | -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1959 | +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
1960 | +# Inc. |
1961 | # This Makefile.in is free software; the Free Software Foundation |
1962 | # gives unlimited permission to copy and/or distribute it, |
1963 | # with or without modifications, as long as this notice is preserved. |
1964 | @@ -14,7 +15,7 @@ |
1965 | |
1966 | @SET_MAKE@ |
1967 | |
1968 | -# $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $ |
1969 | +# $Id: Makefile.am,v 1.19 2012/11/29 06:22:20 tyreld Exp $ |
1970 | # ================================================================== |
1971 | # (C) Copyright IBM Corp. 2005, 2009 |
1972 | # |
1973 | @@ -36,8 +37,9 @@ |
1974 | |
1975 | VPATH = @srcdir@ |
1976 | pkgdatadir = $(datadir)/@PACKAGE@ |
1977 | +pkgincludedir = $(includedir)/@PACKAGE@ |
1978 | pkglibdir = $(libdir)/@PACKAGE@ |
1979 | -pkgincludedir = $(includedir)/@PACKAGE@ |
1980 | +pkglibexecdir = $(libexecdir)/@PACKAGE@ |
1981 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
1982 | install_sh_DATA = $(install_sh) -c -m 644 |
1983 | install_sh_PROGRAM = $(install_sh) -c |
1984 | @@ -71,19 +73,33 @@ |
1985 | mkinstalldirs = $(install_sh) -d |
1986 | CONFIG_HEADER = config.h |
1987 | CONFIG_CLEAN_FILES = sblim-cmpi-base.spec |
1988 | +CONFIG_CLEAN_VPATH_FILES = |
1989 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
1990 | am__vpath_adj = case $$p in \ |
1991 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
1992 | *) f=$$p;; \ |
1993 | esac; |
1994 | -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; |
1995 | +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
1996 | +am__install_max = 40 |
1997 | +am__nobase_strip_setup = \ |
1998 | + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
1999 | +am__nobase_strip = \ |
2000 | + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
2001 | +am__nobase_list = $(am__nobase_strip_setup); \ |
2002 | + for p in $$list; do echo "$$p $$p"; done | \ |
2003 | + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ |
2004 | + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ |
2005 | + if (++n[$$2] == $(am__install_max)) \ |
2006 | + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ |
2007 | + END { for (dir in files) print dir, files[dir] }' |
2008 | +am__base_list = \ |
2009 | + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
2010 | + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
2011 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" \ |
2012 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" \ |
2013 | "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" \ |
2014 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" \ |
2015 | "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)" |
2016 | -libLTLIBRARIES_INSTALL = $(INSTALL) |
2017 | -providerLTLIBRARIES_INSTALL = $(INSTALL) |
2018 | LTLIBRARIES = $(lib_LTLIBRARIES) $(provider_LTLIBRARIES) |
2019 | libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES = |
2020 | am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \ |
2021 | @@ -211,14 +227,12 @@ |
2022 | am_dmitest_OBJECTS = dmitest.$(OBJEXT) |
2023 | dmitest_OBJECTS = $(am_dmitest_OBJECTS) |
2024 | dmitest_DEPENDENCIES = |
2025 | -pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
2026 | -testsuiteSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
2027 | -testsuitesystemSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
2028 | SCRIPTS = $(pkgdata_SCRIPTS) $(testsuite_SCRIPTS) \ |
2029 | $(testsuitesystem_SCRIPTS) |
2030 | DEFAULT_INCLUDES = -I.@am__isrc@ |
2031 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
2032 | am__depfiles_maybe = depfiles |
2033 | +am__mv = mv -f |
2034 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
2035 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
2036 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
2037 | @@ -254,13 +268,8 @@ |
2038 | $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \ |
2039 | $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \ |
2040 | $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES) |
2041 | -docDATA_INSTALL = $(INSTALL_DATA) |
2042 | -pkgdataDATA_INSTALL = $(INSTALL_DATA) |
2043 | -testsuitecimDATA_INSTALL = $(INSTALL_DATA) |
2044 | -testsuitesystemDATA_INSTALL = $(INSTALL_DATA) |
2045 | DATA = $(doc_DATA) $(pkgdata_DATA) $(testsuitecim_DATA) \ |
2046 | $(testsuitesystem_DATA) |
2047 | -sblimincHEADERS_INSTALL = $(INSTALL_HEADER) |
2048 | HEADERS = $(noinst_HEADERS) $(sbliminc_HEADERS) |
2049 | ETAGS = etags |
2050 | CTAGS = ctags |
2051 | @@ -268,11 +277,11 @@ |
2052 | distdir = $(PACKAGE)-$(VERSION) |
2053 | top_distdir = $(distdir) |
2054 | am__remove_distdir = \ |
2055 | - { test ! -d $(distdir) \ |
2056 | - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ |
2057 | - && rm -fr $(distdir); }; } |
2058 | -DIST_ARCHIVES = $(distdir).tar.gz |
2059 | + { test ! -d "$(distdir)" \ |
2060 | + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
2061 | + && rm -fr "$(distdir)"; }; } |
2062 | GZIP_ENV = --best |
2063 | +DIST_ARCHIVES = $(distdir).tar.bz2 |
2064 | distuninstallcheck_listfiles = find . -type f -print |
2065 | distcleancheck_listfiles = find . -type f -print |
2066 | ACLOCAL = @ACLOCAL@ |
2067 | @@ -288,44 +297,46 @@ |
2068 | CIMSERVER = @CIMSERVER@ |
2069 | CPP = @CPP@ |
2070 | CPPFLAGS = @CPPFLAGS@ |
2071 | -CXX = @CXX@ |
2072 | -CXXCPP = @CXXCPP@ |
2073 | -CXXDEPMODE = @CXXDEPMODE@ |
2074 | -CXXFLAGS = @CXXFLAGS@ |
2075 | CYGPATH_W = @CYGPATH_W@ |
2076 | DEFS = @DEFS@ |
2077 | DEPDIR = @DEPDIR@ |
2078 | DSYMUTIL = @DSYMUTIL@ |
2079 | -ECHO = @ECHO@ |
2080 | +DUMPBIN = @DUMPBIN@ |
2081 | ECHO_C = @ECHO_C@ |
2082 | ECHO_N = @ECHO_N@ |
2083 | ECHO_T = @ECHO_T@ |
2084 | EGREP = @EGREP@ |
2085 | EXEEXT = @EXEEXT@ |
2086 | -F77 = @F77@ |
2087 | -FFLAGS = @FFLAGS@ |
2088 | +FGREP = @FGREP@ |
2089 | GREP = @GREP@ |
2090 | INSTALL = @INSTALL@ |
2091 | INSTALL_DATA = @INSTALL_DATA@ |
2092 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
2093 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
2094 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
2095 | +LD = @LD@ |
2096 | LDFLAGS = @LDFLAGS@ |
2097 | LIBOBJS = @LIBOBJS@ |
2098 | LIBS = @LIBS@ |
2099 | LIBTOOL = @LIBTOOL@ |
2100 | LINDHELP = @LINDHELP@ |
2101 | +LIPO = @LIPO@ |
2102 | LN_S = @LN_S@ |
2103 | LTLIBOBJS = @LTLIBOBJS@ |
2104 | MAKEINFO = @MAKEINFO@ |
2105 | MKDIR_P = @MKDIR_P@ |
2106 | +NM = @NM@ |
2107 | NMEDIT = @NMEDIT@ |
2108 | +OBJDUMP = @OBJDUMP@ |
2109 | OBJEXT = @OBJEXT@ |
2110 | +OTOOL = @OTOOL@ |
2111 | +OTOOL64 = @OTOOL64@ |
2112 | PACKAGE = @PACKAGE@ |
2113 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
2114 | PACKAGE_NAME = @PACKAGE_NAME@ |
2115 | PACKAGE_STRING = @PACKAGE_STRING@ |
2116 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
2117 | +PACKAGE_URL = @PACKAGE_URL@ |
2118 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
2119 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
2120 | PROVIDERDIR = @PROVIDERDIR@ |
2121 | @@ -342,8 +353,7 @@ |
2122 | abs_top_builddir = @abs_top_builddir@ |
2123 | abs_top_srcdir = @abs_top_srcdir@ |
2124 | ac_ct_CC = @ac_ct_CC@ |
2125 | -ac_ct_CXX = @ac_ct_CXX@ |
2126 | -ac_ct_F77 = @ac_ct_F77@ |
2127 | +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
2128 | am__include = @am__include@ |
2129 | am__leading_dot = @am__leading_dot@ |
2130 | am__quote = @am__quote@ |
2131 | @@ -376,6 +386,7 @@ |
2132 | libexecdir = @libexecdir@ |
2133 | localedir = @localedir@ |
2134 | localstatedir = @localstatedir@ |
2135 | +lt_ECHO = @lt_ECHO@ |
2136 | mandir = @mandir@ |
2137 | mkdir_p = @mkdir_p@ |
2138 | oldincludedir = @oldincludedir@ |
2139 | @@ -388,8 +399,10 @@ |
2140 | srcdir = @srcdir@ |
2141 | sysconfdir = @sysconfdir@ |
2142 | target_alias = @target_alias@ |
2143 | +top_build_prefix = @top_build_prefix@ |
2144 | top_builddir = @top_builddir@ |
2145 | top_srcdir = @top_srcdir@ |
2146 | +AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2 |
2147 | |
2148 | # SBLIM Include Directory |
2149 | sblimincdir = $(includedir)/sblim |
2150 | @@ -589,15 +602,15 @@ |
2151 | @for dep in $?; do \ |
2152 | case '$(am__configure_deps)' in \ |
2153 | *$$dep*) \ |
2154 | - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ |
2155 | - cd $(srcdir) && $(AUTOMAKE) --gnu \ |
2156 | + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
2157 | + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
2158 | && exit 0; \ |
2159 | exit 1;; \ |
2160 | esac; \ |
2161 | done; \ |
2162 | - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
2163 | - cd $(top_srcdir) && \ |
2164 | - $(AUTOMAKE) --gnu Makefile |
2165 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
2166 | + $(am__cd) $(top_srcdir) && \ |
2167 | + $(AUTOMAKE) --gnu Makefile |
2168 | .PRECIOUS: Makefile |
2169 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
2170 | @case '$?' in \ |
2171 | @@ -613,9 +626,10 @@ |
2172 | $(SHELL) ./config.status --recheck |
2173 | |
2174 | $(top_srcdir)/configure: $(am__configure_deps) |
2175 | - cd $(srcdir) && $(AUTOCONF) |
2176 | + $(am__cd) $(srcdir) && $(AUTOCONF) |
2177 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) |
2178 | - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
2179 | + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
2180 | +$(am__aclocal_m4_deps): |
2181 | |
2182 | config.h: stamp-h1 |
2183 | @if test ! -f $@; then \ |
2184 | @@ -627,7 +641,7 @@ |
2185 | @rm -f stamp-h1 |
2186 | cd $(top_builddir) && $(SHELL) ./config.status config.h |
2187 | $(srcdir)/config.h.in: $(am__configure_deps) |
2188 | - cd $(top_srcdir) && $(AUTOHEADER) |
2189 | + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
2190 | rm -f stamp-h1 |
2191 | touch $@ |
2192 | |
2193 | @@ -638,20 +652,24 @@ |
2194 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
2195 | @$(NORMAL_INSTALL) |
2196 | test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" |
2197 | - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
2198 | + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ |
2199 | + list2=; for p in $$list; do \ |
2200 | if test -f $$p; then \ |
2201 | - f=$(am__strip_dir) \ |
2202 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ |
2203 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ |
2204 | + list2="$$list2 $$p"; \ |
2205 | else :; fi; \ |
2206 | - done |
2207 | + done; \ |
2208 | + test -z "$$list2" || { \ |
2209 | + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ |
2210 | + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ |
2211 | + } |
2212 | |
2213 | uninstall-libLTLIBRARIES: |
2214 | @$(NORMAL_UNINSTALL) |
2215 | - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
2216 | - p=$(am__strip_dir) \ |
2217 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ |
2218 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ |
2219 | + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ |
2220 | + for p in $$list; do \ |
2221 | + $(am__strip_dir) \ |
2222 | + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ |
2223 | + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ |
2224 | done |
2225 | |
2226 | clean-libLTLIBRARIES: |
2227 | @@ -665,20 +683,24 @@ |
2228 | install-providerLTLIBRARIES: $(provider_LTLIBRARIES) |
2229 | @$(NORMAL_INSTALL) |
2230 | test -z "$(providerdir)" || $(MKDIR_P) "$(DESTDIR)$(providerdir)" |
2231 | - @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ |
2232 | + @list='$(provider_LTLIBRARIES)'; test -n "$(providerdir)" || list=; \ |
2233 | + list2=; for p in $$list; do \ |
2234 | if test -f $$p; then \ |
2235 | - f=$(am__strip_dir) \ |
2236 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(providerdir)/$$f'"; \ |
2237 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(providerdir)/$$f"; \ |
2238 | + list2="$$list2 $$p"; \ |
2239 | else :; fi; \ |
2240 | - done |
2241 | + done; \ |
2242 | + test -z "$$list2" || { \ |
2243 | + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(providerdir)'"; \ |
2244 | + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(providerdir)"; \ |
2245 | + } |
2246 | |
2247 | uninstall-providerLTLIBRARIES: |
2248 | @$(NORMAL_UNINSTALL) |
2249 | - @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ |
2250 | - p=$(am__strip_dir) \ |
2251 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(providerdir)/$$p'"; \ |
2252 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(providerdir)/$$p"; \ |
2253 | + @list='$(provider_LTLIBRARIES)'; test -n "$(providerdir)" || list=; \ |
2254 | + for p in $$list; do \ |
2255 | + $(am__strip_dir) \ |
2256 | + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(providerdir)/$$f'"; \ |
2257 | + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(providerdir)/$$f"; \ |
2258 | done |
2259 | |
2260 | clean-providerLTLIBRARIES: |
2261 | @@ -717,71 +739,118 @@ |
2262 | $(LINK) -rpath $(libdir) $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_LIBADD) $(LIBS) |
2263 | |
2264 | clean-noinstPROGRAMS: |
2265 | - @list='$(noinst_PROGRAMS)'; for p in $$list; do \ |
2266 | - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |
2267 | - echo " rm -f $$p $$f"; \ |
2268 | - rm -f $$p $$f ; \ |
2269 | - done |
2270 | + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ |
2271 | + echo " rm -f" $$list; \ |
2272 | + rm -f $$list || exit $$?; \ |
2273 | + test -n "$(EXEEXT)" || exit 0; \ |
2274 | + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
2275 | + echo " rm -f" $$list; \ |
2276 | + rm -f $$list |
2277 | dmitest$(EXEEXT): $(dmitest_OBJECTS) $(dmitest_DEPENDENCIES) |
2278 | @rm -f dmitest$(EXEEXT) |
2279 | $(LINK) $(dmitest_OBJECTS) $(dmitest_LDADD) $(LIBS) |
2280 | install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) |
2281 | @$(NORMAL_INSTALL) |
2282 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" |
2283 | - @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ |
2284 | + @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || list=; \ |
2285 | + for p in $$list; do \ |
2286 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2287 | - if test -f $$d$$p; then \ |
2288 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
2289 | - echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
2290 | - $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
2291 | - else :; fi; \ |
2292 | - done |
2293 | + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ |
2294 | + done | \ |
2295 | + sed -e 'p;s,.*/,,;n' \ |
2296 | + -e 'h;s|.*|.|' \ |
2297 | + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ |
2298 | + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ |
2299 | + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
2300 | + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ |
2301 | + if (++n[d] == $(am__install_max)) { \ |
2302 | + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ |
2303 | + else { print "f", d "/" $$4, $$1 } } \ |
2304 | + END { for (d in files) print "f", d, files[d] }' | \ |
2305 | + while read type dir files; do \ |
2306 | + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
2307 | + test -z "$$files" || { \ |
2308 | + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkgdatadir)$$dir'"; \ |
2309 | + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkgdatadir)$$dir" || exit $$?; \ |
2310 | + } \ |
2311 | + ; done |
2312 | |
2313 | uninstall-pkgdataSCRIPTS: |
2314 | @$(NORMAL_UNINSTALL) |
2315 | - @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ |
2316 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
2317 | - echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
2318 | - rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
2319 | - done |
2320 | + @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || exit 0; \ |
2321 | + files=`for p in $$list; do echo "$$p"; done | \ |
2322 | + sed -e 's,.*/,,;$(transform)'`; \ |
2323 | + test -n "$$list" || exit 0; \ |
2324 | + echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \ |
2325 | + cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files |
2326 | install-testsuiteSCRIPTS: $(testsuite_SCRIPTS) |
2327 | @$(NORMAL_INSTALL) |
2328 | test -z "$(testsuitedir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitedir)" |
2329 | - @list='$(testsuite_SCRIPTS)'; for p in $$list; do \ |
2330 | + @list='$(testsuite_SCRIPTS)'; test -n "$(testsuitedir)" || list=; \ |
2331 | + for p in $$list; do \ |
2332 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2333 | - if test -f $$d$$p; then \ |
2334 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
2335 | - echo " $(testsuiteSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitedir)/$$f'"; \ |
2336 | - $(testsuiteSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitedir)/$$f"; \ |
2337 | - else :; fi; \ |
2338 | - done |
2339 | + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ |
2340 | + done | \ |
2341 | + sed -e 'p;s,.*/,,;n' \ |
2342 | + -e 'h;s|.*|.|' \ |
2343 | + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ |
2344 | + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ |
2345 | + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
2346 | + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ |
2347 | + if (++n[d] == $(am__install_max)) { \ |
2348 | + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ |
2349 | + else { print "f", d "/" $$4, $$1 } } \ |
2350 | + END { for (d in files) print "f", d, files[d] }' | \ |
2351 | + while read type dir files; do \ |
2352 | + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
2353 | + test -z "$$files" || { \ |
2354 | + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(testsuitedir)$$dir'"; \ |
2355 | + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(testsuitedir)$$dir" || exit $$?; \ |
2356 | + } \ |
2357 | + ; done |
2358 | |
2359 | uninstall-testsuiteSCRIPTS: |
2360 | @$(NORMAL_UNINSTALL) |
2361 | - @list='$(testsuite_SCRIPTS)'; for p in $$list; do \ |
2362 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
2363 | - echo " rm -f '$(DESTDIR)$(testsuitedir)/$$f'"; \ |
2364 | - rm -f "$(DESTDIR)$(testsuitedir)/$$f"; \ |
2365 | - done |
2366 | + @list='$(testsuite_SCRIPTS)'; test -n "$(testsuitedir)" || exit 0; \ |
2367 | + files=`for p in $$list; do echo "$$p"; done | \ |
2368 | + sed -e 's,.*/,,;$(transform)'`; \ |
2369 | + test -n "$$list" || exit 0; \ |
2370 | + echo " ( cd '$(DESTDIR)$(testsuitedir)' && rm -f" $$files ")"; \ |
2371 | + cd "$(DESTDIR)$(testsuitedir)" && rm -f $$files |
2372 | install-testsuitesystemSCRIPTS: $(testsuitesystem_SCRIPTS) |
2373 | @$(NORMAL_INSTALL) |
2374 | test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" |
2375 | - @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \ |
2376 | + @list='$(testsuitesystem_SCRIPTS)'; test -n "$(testsuitesystemdir)" || list=; \ |
2377 | + for p in $$list; do \ |
2378 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2379 | - if test -f $$d$$p; then \ |
2380 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
2381 | - echo " $(testsuitesystemSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ |
2382 | - $(testsuitesystemSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ |
2383 | - else :; fi; \ |
2384 | - done |
2385 | + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ |
2386 | + done | \ |
2387 | + sed -e 'p;s,.*/,,;n' \ |
2388 | + -e 'h;s|.*|.|' \ |
2389 | + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ |
2390 | + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ |
2391 | + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
2392 | + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ |
2393 | + if (++n[d] == $(am__install_max)) { \ |
2394 | + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ |
2395 | + else { print "f", d "/" $$4, $$1 } } \ |
2396 | + END { for (d in files) print "f", d, files[d] }' | \ |
2397 | + while read type dir files; do \ |
2398 | + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
2399 | + test -z "$$files" || { \ |
2400 | + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(testsuitesystemdir)$$dir'"; \ |
2401 | + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(testsuitesystemdir)$$dir" || exit $$?; \ |
2402 | + } \ |
2403 | + ; done |
2404 | |
2405 | uninstall-testsuitesystemSCRIPTS: |
2406 | @$(NORMAL_UNINSTALL) |
2407 | - @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \ |
2408 | - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
2409 | - echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ |
2410 | - rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ |
2411 | - done |
2412 | + @list='$(testsuitesystem_SCRIPTS)'; test -n "$(testsuitesystemdir)" || exit 0; \ |
2413 | + files=`for p in $$list; do echo "$$p"; done | \ |
2414 | + sed -e 's,.*/,,;$(transform)'`; \ |
2415 | + test -n "$$list" || exit 0; \ |
2416 | + echo " ( cd '$(DESTDIR)$(testsuitesystemdir)' && rm -f" $$files ")"; \ |
2417 | + cd "$(DESTDIR)$(testsuitesystemdir)" && rm -f $$files |
2418 | |
2419 | mostlyclean-compile: |
2420 | -rm -f *.$(OBJEXT) |
2421 | @@ -819,21 +888,21 @@ |
2422 | |
2423 | .c.o: |
2424 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
2425 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
2426 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
2427 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
2428 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2429 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< |
2430 | |
2431 | .c.obj: |
2432 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
2433 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
2434 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
2435 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
2436 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2437 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
2438 | |
2439 | .c.lo: |
2440 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
2441 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
2442 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
2443 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
2444 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2445 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< |
2446 | @@ -845,106 +914,121 @@ |
2447 | -rm -rf .libs _libs |
2448 | |
2449 | distclean-libtool: |
2450 | - -rm -f libtool |
2451 | + -rm -f libtool config.lt |
2452 | install-docDATA: $(doc_DATA) |
2453 | @$(NORMAL_INSTALL) |
2454 | test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" |
2455 | - @list='$(doc_DATA)'; for p in $$list; do \ |
2456 | + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ |
2457 | + for p in $$list; do \ |
2458 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2459 | - f=$(am__strip_dir) \ |
2460 | - echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ |
2461 | - $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ |
2462 | + echo "$$d$$p"; \ |
2463 | + done | $(am__base_list) | \ |
2464 | + while read files; do \ |
2465 | + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ |
2466 | + $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ |
2467 | done |
2468 | |
2469 | uninstall-docDATA: |
2470 | @$(NORMAL_UNINSTALL) |
2471 | - @list='$(doc_DATA)'; for p in $$list; do \ |
2472 | - f=$(am__strip_dir) \ |
2473 | - echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ |
2474 | - rm -f "$(DESTDIR)$(docdir)/$$f"; \ |
2475 | - done |
2476 | + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ |
2477 | + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2478 | + test -n "$$files" || exit 0; \ |
2479 | + echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \ |
2480 | + cd "$(DESTDIR)$(docdir)" && rm -f $$files |
2481 | install-pkgdataDATA: $(pkgdata_DATA) |
2482 | @$(NORMAL_INSTALL) |
2483 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" |
2484 | - @list='$(pkgdata_DATA)'; for p in $$list; do \ |
2485 | + @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ |
2486 | + for p in $$list; do \ |
2487 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2488 | - f=$(am__strip_dir) \ |
2489 | - echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
2490 | - $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
2491 | + echo "$$d$$p"; \ |
2492 | + done | $(am__base_list) | \ |
2493 | + while read files; do \ |
2494 | + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ |
2495 | + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ |
2496 | done |
2497 | |
2498 | uninstall-pkgdataDATA: |
2499 | @$(NORMAL_UNINSTALL) |
2500 | - @list='$(pkgdata_DATA)'; for p in $$list; do \ |
2501 | - f=$(am__strip_dir) \ |
2502 | - echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
2503 | - rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
2504 | - done |
2505 | + @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ |
2506 | + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2507 | + test -n "$$files" || exit 0; \ |
2508 | + echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \ |
2509 | + cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files |
2510 | install-testsuitecimDATA: $(testsuitecim_DATA) |
2511 | @$(NORMAL_INSTALL) |
2512 | test -z "$(testsuitecimdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitecimdir)" |
2513 | - @list='$(testsuitecim_DATA)'; for p in $$list; do \ |
2514 | + @list='$(testsuitecim_DATA)'; test -n "$(testsuitecimdir)" || list=; \ |
2515 | + for p in $$list; do \ |
2516 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2517 | - f=$(am__strip_dir) \ |
2518 | - echo " $(testsuitecimDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitecimdir)/$$f'"; \ |
2519 | - $(testsuitecimDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitecimdir)/$$f"; \ |
2520 | + echo "$$d$$p"; \ |
2521 | + done | $(am__base_list) | \ |
2522 | + while read files; do \ |
2523 | + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(testsuitecimdir)'"; \ |
2524 | + $(INSTALL_DATA) $$files "$(DESTDIR)$(testsuitecimdir)" || exit $$?; \ |
2525 | done |
2526 | |
2527 | uninstall-testsuitecimDATA: |
2528 | @$(NORMAL_UNINSTALL) |
2529 | - @list='$(testsuitecim_DATA)'; for p in $$list; do \ |
2530 | - f=$(am__strip_dir) \ |
2531 | - echo " rm -f '$(DESTDIR)$(testsuitecimdir)/$$f'"; \ |
2532 | - rm -f "$(DESTDIR)$(testsuitecimdir)/$$f"; \ |
2533 | - done |
2534 | + @list='$(testsuitecim_DATA)'; test -n "$(testsuitecimdir)" || list=; \ |
2535 | + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2536 | + test -n "$$files" || exit 0; \ |
2537 | + echo " ( cd '$(DESTDIR)$(testsuitecimdir)' && rm -f" $$files ")"; \ |
2538 | + cd "$(DESTDIR)$(testsuitecimdir)" && rm -f $$files |
2539 | install-testsuitesystemDATA: $(testsuitesystem_DATA) |
2540 | @$(NORMAL_INSTALL) |
2541 | test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" |
2542 | - @list='$(testsuitesystem_DATA)'; for p in $$list; do \ |
2543 | + @list='$(testsuitesystem_DATA)'; test -n "$(testsuitesystemdir)" || list=; \ |
2544 | + for p in $$list; do \ |
2545 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2546 | - f=$(am__strip_dir) \ |
2547 | - echo " $(testsuitesystemDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ |
2548 | - $(testsuitesystemDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ |
2549 | + echo "$$d$$p"; \ |
2550 | + done | $(am__base_list) | \ |
2551 | + while read files; do \ |
2552 | + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(testsuitesystemdir)'"; \ |
2553 | + $(INSTALL_DATA) $$files "$(DESTDIR)$(testsuitesystemdir)" || exit $$?; \ |
2554 | done |
2555 | |
2556 | uninstall-testsuitesystemDATA: |
2557 | @$(NORMAL_UNINSTALL) |
2558 | - @list='$(testsuitesystem_DATA)'; for p in $$list; do \ |
2559 | - f=$(am__strip_dir) \ |
2560 | - echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ |
2561 | - rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ |
2562 | - done |
2563 | + @list='$(testsuitesystem_DATA)'; test -n "$(testsuitesystemdir)" || list=; \ |
2564 | + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2565 | + test -n "$$files" || exit 0; \ |
2566 | + echo " ( cd '$(DESTDIR)$(testsuitesystemdir)' && rm -f" $$files ")"; \ |
2567 | + cd "$(DESTDIR)$(testsuitesystemdir)" && rm -f $$files |
2568 | install-sblimincHEADERS: $(sbliminc_HEADERS) |
2569 | @$(NORMAL_INSTALL) |
2570 | test -z "$(sblimincdir)" || $(MKDIR_P) "$(DESTDIR)$(sblimincdir)" |
2571 | - @list='$(sbliminc_HEADERS)'; for p in $$list; do \ |
2572 | + @list='$(sbliminc_HEADERS)'; test -n "$(sblimincdir)" || list=; \ |
2573 | + for p in $$list; do \ |
2574 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2575 | - f=$(am__strip_dir) \ |
2576 | - echo " $(sblimincHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sblimincdir)/$$f'"; \ |
2577 | - $(sblimincHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sblimincdir)/$$f"; \ |
2578 | + echo "$$d$$p"; \ |
2579 | + done | $(am__base_list) | \ |
2580 | + while read files; do \ |
2581 | + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(sblimincdir)'"; \ |
2582 | + $(INSTALL_HEADER) $$files "$(DESTDIR)$(sblimincdir)" || exit $$?; \ |
2583 | done |
2584 | |
2585 | uninstall-sblimincHEADERS: |
2586 | @$(NORMAL_UNINSTALL) |
2587 | - @list='$(sbliminc_HEADERS)'; for p in $$list; do \ |
2588 | - f=$(am__strip_dir) \ |
2589 | - echo " rm -f '$(DESTDIR)$(sblimincdir)/$$f'"; \ |
2590 | - rm -f "$(DESTDIR)$(sblimincdir)/$$f"; \ |
2591 | - done |
2592 | + @list='$(sbliminc_HEADERS)'; test -n "$(sblimincdir)" || list=; \ |
2593 | + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2594 | + test -n "$$files" || exit 0; \ |
2595 | + echo " ( cd '$(DESTDIR)$(sblimincdir)' && rm -f" $$files ")"; \ |
2596 | + cd "$(DESTDIR)$(sblimincdir)" && rm -f $$files |
2597 | |
2598 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
2599 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
2600 | unique=`for i in $$list; do \ |
2601 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2602 | done | \ |
2603 | - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ |
2604 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2605 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2606 | mkid -fID $$unique |
2607 | tags: TAGS |
2608 | |
2609 | TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
2610 | $(TAGS_FILES) $(LISP) |
2611 | - tags=; \ |
2612 | + set x; \ |
2613 | here=`pwd`; \ |
2614 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
2615 | unique=`for i in $$list; do \ |
2616 | @@ -952,36 +1036,41 @@ |
2617 | done | \ |
2618 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2619 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2620 | - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ |
2621 | + shift; \ |
2622 | + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
2623 | test -n "$$unique" || unique=$$empty_fix; \ |
2624 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
2625 | - $$tags $$unique; \ |
2626 | + if test $$# -gt 0; then \ |
2627 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
2628 | + "$$@" $$unique; \ |
2629 | + else \ |
2630 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
2631 | + $$unique; \ |
2632 | + fi; \ |
2633 | fi |
2634 | ctags: CTAGS |
2635 | CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
2636 | $(TAGS_FILES) $(LISP) |
2637 | - tags=; \ |
2638 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
2639 | unique=`for i in $$list; do \ |
2640 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2641 | done | \ |
2642 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2643 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2644 | - test -z "$(CTAGS_ARGS)$$tags$$unique" \ |
2645 | + test -z "$(CTAGS_ARGS)$$unique" \ |
2646 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
2647 | - $$tags $$unique |
2648 | + $$unique |
2649 | |
2650 | GTAGS: |
2651 | here=`$(am__cd) $(top_builddir) && pwd` \ |
2652 | - && cd $(top_srcdir) \ |
2653 | - && gtags -i $(GTAGS_ARGS) $$here |
2654 | + && $(am__cd) $(top_srcdir) \ |
2655 | + && gtags -i $(GTAGS_ARGS) "$$here" |
2656 | |
2657 | distclean-tags: |
2658 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
2659 | |
2660 | distdir: $(DISTFILES) |
2661 | $(am__remove_distdir) |
2662 | - test -d $(distdir) || mkdir $(distdir) |
2663 | + test -d "$(distdir)" || mkdir "$(distdir)" |
2664 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
2665 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
2666 | list='$(DISTFILES)'; \ |
2667 | @@ -997,28 +1086,33 @@ |
2668 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
2669 | if test -d $$d/$$file; then \ |
2670 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
2671 | + if test -d "$(distdir)/$$file"; then \ |
2672 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
2673 | + fi; \ |
2674 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
2675 | - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
2676 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
2677 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
2678 | fi; \ |
2679 | - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ |
2680 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
2681 | else \ |
2682 | - test -f $(distdir)/$$file \ |
2683 | - || cp -p $$d/$$file $(distdir)/$$file \ |
2684 | + test -f "$(distdir)/$$file" \ |
2685 | + || cp -p $$d/$$file "$(distdir)/$$file" \ |
2686 | || exit 1; \ |
2687 | fi; \ |
2688 | done |
2689 | $(MAKE) $(AM_MAKEFLAGS) \ |
2690 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
2691 | dist-hook |
2692 | - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
2693 | + -test -n "$(am__skip_mode_fix)" \ |
2694 | + || find "$(distdir)" -type d ! -perm -755 \ |
2695 | + -exec chmod u+rwx,go+rx {} \; -o \ |
2696 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
2697 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
2698 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
2699 | - || chmod -R a+r $(distdir) |
2700 | + || chmod -R a+r "$(distdir)" |
2701 | dist-gzip: distdir |
2702 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
2703 | $(am__remove_distdir) |
2704 | - |
2705 | dist-bzip2: distdir |
2706 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
2707 | $(am__remove_distdir) |
2708 | @@ -1027,6 +1121,10 @@ |
2709 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
2710 | $(am__remove_distdir) |
2711 | |
2712 | +dist-xz: distdir |
2713 | + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
2714 | + $(am__remove_distdir) |
2715 | + |
2716 | dist-tarZ: distdir |
2717 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
2718 | $(am__remove_distdir) |
2719 | @@ -1041,7 +1139,7 @@ |
2720 | $(am__remove_distdir) |
2721 | |
2722 | dist dist-all: distdir |
2723 | - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
2724 | + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
2725 | $(am__remove_distdir) |
2726 | |
2727 | # This target untars the dist file and tries a VPATH configuration. Then |
2728 | @@ -1050,15 +1148,17 @@ |
2729 | distcheck: dist |
2730 | case '$(DIST_ARCHIVES)' in \ |
2731 | *.tar.gz*) \ |
2732 | - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ |
2733 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
2734 | *.tar.bz2*) \ |
2735 | - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ |
2736 | + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
2737 | *.tar.lzma*) \ |
2738 | - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ |
2739 | + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
2740 | + *.tar.xz*) \ |
2741 | + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
2742 | *.tar.Z*) \ |
2743 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
2744 | *.shar.gz*) \ |
2745 | - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ |
2746 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
2747 | *.zip*) \ |
2748 | unzip $(distdir).zip ;;\ |
2749 | esac |
2750 | @@ -1066,9 +1166,11 @@ |
2751 | mkdir $(distdir)/_build |
2752 | mkdir $(distdir)/_inst |
2753 | chmod a-w $(distdir) |
2754 | + test -d $(distdir)/_build || exit 0; \ |
2755 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
2756 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
2757 | - && cd $(distdir)/_build \ |
2758 | + && am__cwd=`pwd` \ |
2759 | + && $(am__cd) $(distdir)/_build \ |
2760 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
2761 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
2762 | && $(MAKE) $(AM_MAKEFLAGS) \ |
2763 | @@ -1090,13 +1192,15 @@ |
2764 | && rm -rf "$$dc_destdir" \ |
2765 | && $(MAKE) $(AM_MAKEFLAGS) dist \ |
2766 | && rm -rf $(DIST_ARCHIVES) \ |
2767 | - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck |
2768 | + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
2769 | + && cd "$$am__cwd" \ |
2770 | + || exit 1 |
2771 | $(am__remove_distdir) |
2772 | @(echo "$(distdir) archives ready for distribution: "; \ |
2773 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
2774 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
2775 | distuninstallcheck: |
2776 | - @cd $(distuninstallcheck_dir) \ |
2777 | + @$(am__cd) '$(distuninstallcheck_dir)' \ |
2778 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
2779 | || { echo "ERROR: files left after uninstall:" ; \ |
2780 | if test -n "$(DESTDIR)"; then \ |
2781 | @@ -1141,6 +1245,7 @@ |
2782 | |
2783 | distclean-generic: |
2784 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
2785 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
2786 | |
2787 | maintainer-clean-generic: |
2788 | @echo "This command is intended for maintainers to use" |
2789 | @@ -1163,6 +1268,8 @@ |
2790 | |
2791 | html: html-am |
2792 | |
2793 | +html-am: |
2794 | + |
2795 | info: info-am |
2796 | |
2797 | info-am: |
2798 | @@ -1175,18 +1282,28 @@ |
2799 | |
2800 | install-dvi: install-dvi-am |
2801 | |
2802 | +install-dvi-am: |
2803 | + |
2804 | install-exec-am: install-libLTLIBRARIES |
2805 | |
2806 | install-html: install-html-am |
2807 | |
2808 | +install-html-am: |
2809 | + |
2810 | install-info: install-info-am |
2811 | |
2812 | +install-info-am: |
2813 | + |
2814 | install-man: |
2815 | |
2816 | install-pdf: install-pdf-am |
2817 | |
2818 | +install-pdf-am: |
2819 | + |
2820 | install-ps: install-ps-am |
2821 | |
2822 | +install-ps-am: |
2823 | + |
2824 | installcheck-am: |
2825 | |
2826 | maintainer-clean: maintainer-clean-am |
2827 | @@ -1215,21 +1332,21 @@ |
2828 | uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \ |
2829 | uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS |
2830 | |
2831 | -.MAKE: install-am install-strip |
2832 | +.MAKE: all install-am install-strip |
2833 | |
2834 | .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ |
2835 | clean-generic clean-libLTLIBRARIES clean-libtool \ |
2836 | clean-noinstPROGRAMS clean-providerLTLIBRARIES ctags dist \ |
2837 | dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \ |
2838 | - dist-tarZ dist-zip distcheck distclean distclean-compile \ |
2839 | - distclean-generic distclean-hdr distclean-libtool \ |
2840 | - distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
2841 | - dvi-am html html-am info info-am install install-am \ |
2842 | - install-data install-data-am install-docDATA install-dvi \ |
2843 | - install-dvi-am install-exec install-exec-am install-html \ |
2844 | - install-html-am install-info install-info-am \ |
2845 | - install-libLTLIBRARIES install-man install-pdf install-pdf-am \ |
2846 | - install-pkgdataDATA install-pkgdataSCRIPTS \ |
2847 | + dist-tarZ dist-xz dist-zip distcheck distclean \ |
2848 | + distclean-compile distclean-generic distclean-hdr \ |
2849 | + distclean-libtool distclean-tags distcleancheck distdir \ |
2850 | + distuninstallcheck dvi dvi-am html html-am info info-am \ |
2851 | + install install-am install-data install-data-am \ |
2852 | + install-docDATA install-dvi install-dvi-am install-exec \ |
2853 | + install-exec-am install-html install-html-am install-info \ |
2854 | + install-info-am install-libLTLIBRARIES install-man install-pdf \ |
2855 | + install-pdf-am install-pkgdataDATA install-pkgdataSCRIPTS \ |
2856 | install-providerLTLIBRARIES install-ps install-ps-am \ |
2857 | install-sblimincHEADERS install-strip install-testsuiteSCRIPTS \ |
2858 | install-testsuitecimDATA install-testsuitesystemDATA \ |
2859 | @@ -1256,6 +1373,7 @@ |
2860 | |
2861 | @TESTSUITE_TRUE@runtest: install |
2862 | @TESTSUITE_TRUE@ cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh |
2863 | + |
2864 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
2865 | # Otherwise a system limit (for SysV at least) may be exceeded. |
2866 | .NOEXPORT: |
2867 | |
2868 | === modified file 'NEWS' |
2869 | --- NEWS 2009-07-29 14:43:34 +0000 |
2870 | +++ NEWS 2013-01-12 05:25:23 +0000 |
2871 | @@ -1,3 +1,21 @@ |
2872 | +Changes in Version 1.6.2 |
2873 | +======================== |
2874 | + |
2875 | +Bugs Fixed: |
2876 | +- 3275169 bash error reported in provider bootstrap scripts |
2877 | +- 3306580 wrong OperatingSystem.Version prop value on RHEL6 |
2878 | +- 3424288 Underlinked libcmpiOSBase_ProcessorProvider.so |
2879 | +- 3582069 Linux_UnixProcess command injection vulnerability |
2880 | + |
2881 | +Changes in Version 1.6.1 |
2882 | +======================== |
2883 | + |
2884 | +Bugs Fixed: |
2885 | +- 2843613 Missing fclose in sblim-cmpi-base |
2886 | +- 2882514 leak in sblim-cmpi-base-1.5.9/cmpiOSBase_OperatingSystem.c |
2887 | +- 2836926 _osbase_common_init unreliable |
2888 | +- 2610775 ProcessorProvider crashes on exit |
2889 | + |
2890 | Changes in Version 1.6.0 |
2891 | ======================== |
2892 | |
2893 | |
2894 | === modified file 'OSBase_Common.c' |
2895 | --- OSBase_Common.c 2009-07-29 14:43:34 +0000 |
2896 | +++ OSBase_Common.c 2013-01-12 05:25:23 +0000 |
2897 | @@ -42,6 +42,7 @@ |
2898 | |
2899 | /* ---------------------------------------------------------------------------*/ |
2900 | |
2901 | +#define DEFAULT_HOST_NAME "localhost.localdomain" |
2902 | char * CIM_HOST_NAME = NULL; |
2903 | char * CIM_OS_NAME = NULL; |
2904 | int CIM_OS_TIMEZONE = 999; |
2905 | @@ -155,7 +156,9 @@ |
2906 | _OSBASE_TRACE(4,("--- _init_system_name() called : init")); |
2907 | |
2908 | host = calloc(1,255); |
2909 | - if ( gethostname(host, 255 ) == -1 ) { return; } |
2910 | + if ( gethostname(host, 255 ) == -1 ) { |
2911 | + _OSBASE_TRACE(4,("--- _init_system_name() : gethostname returned -1")); |
2912 | + } |
2913 | /* if host does not contain a '.' we can suppose, that the domain is not |
2914 | * available in the current value. but we try to get the full qualified |
2915 | * hostname. |
2916 | @@ -185,6 +188,9 @@ |
2917 | strcat( CIM_HOST_NAME, "."); |
2918 | strcat( CIM_HOST_NAME, domain ); |
2919 | } |
2920 | + } else { |
2921 | + CIM_HOST_NAME = calloc(1, (strlen(DEFAULT_HOST_NAME) + 1)); |
2922 | + strcpy(CIM_HOST_NAME, DEFAULT_HOST_NAME); |
2923 | } |
2924 | |
2925 | if(host) free(host); |
2926 | |
2927 | === modified file 'OSBase_OperatingSystem.c' |
2928 | --- OSBase_OperatingSystem.c 2009-07-29 14:43:34 +0000 |
2929 | +++ OSBase_OperatingSystem.c 2013-01-12 05:25:23 +0000 |
2930 | @@ -143,7 +143,7 @@ |
2931 | |
2932 | _OSBASE_TRACE(4,("--- _init_os_distro() called : init")); |
2933 | |
2934 | - rc = runcommand( "find /etc/ -type f -maxdepth 1 -name *release* 2>/dev/null" , NULL , &hdout , NULL ); |
2935 | + rc = runcommand( "find /etc/ -maxdepth 1 -type f -name *release 2>/dev/null" , NULL , &hdout , NULL ); |
2936 | if( rc == 0 && *hdout != NULL) { |
2937 | while (hdout[j] && hdout[j][0]) { |
2938 | if (strstr(hdout[j],"lsb-release") && hdout[j+1] && hdout[j+1][0]) { |
2939 | |
2940 | === modified file 'OSBase_OperatingSystemStatisticalData.c' |
2941 | --- OSBase_OperatingSystemStatisticalData.c 2009-07-29 14:43:34 +0000 |
2942 | +++ OSBase_OperatingSystemStatisticalData.c 2013-01-12 05:25:23 +0000 |
2943 | @@ -155,6 +155,7 @@ |
2944 | if ((f = fopen(DATA_FILE,"r")) != NULL) { |
2945 | read_count = fread(buf,sizeof(char),sizeof(buf)-1,f); |
2946 | buf[read_count] = '\0'; |
2947 | + fclose(f); |
2948 | |
2949 | /* read cpu data |
2950 | * |
2951 | |
2952 | === modified file 'OSBase_Processor.c' |
2953 | --- OSBase_Processor.c 2009-07-29 14:43:34 +0000 |
2954 | +++ OSBase_Processor.c 2013-01-12 05:25:23 +0000 |
2955 | @@ -56,6 +56,7 @@ |
2956 | #define SAMPLE_PERIOD 60 |
2957 | #define SAMPLE_INTERVAL 10 |
2958 | static int SAMPLE_CPU = 1; |
2959 | +static int running = 1; |
2960 | |
2961 | static pthread_t tid; |
2962 | |
2963 | @@ -123,12 +124,6 @@ |
2964 | struct cpu_sample * cur_ptr; |
2965 | int i; |
2966 | |
2967 | - /* SAMPLE_CPU = 0; */ |
2968 | - /* pthread_join(tid, NULL); */ |
2969 | - |
2970 | - pthread_cancel(tid); |
2971 | - /* sleep(1); */ |
2972 | - |
2973 | for (i = 0; i < num_cpus; i++) { |
2974 | cur_ptr = cpu_samples[i]->next; |
2975 | cpu_samples[i]->next = NULL; |
2976 | @@ -143,6 +138,13 @@ |
2977 | /* free(cpu_loads); */ |
2978 | } |
2979 | |
2980 | +int proc_cancel_thread() { |
2981 | + running = 0; |
2982 | + pthread_join(tid, NULL); |
2983 | + |
2984 | + return 1; |
2985 | +} |
2986 | + |
2987 | int enum_all_processor( struct processorlist ** lptr ) { |
2988 | struct processorlist * lptrhelp = NULL; |
2989 | char ** hdout = NULL; |
2990 | @@ -555,7 +557,7 @@ |
2991 | int count = 0; |
2992 | int i; |
2993 | |
2994 | - while (1) { |
2995 | + while (running) { |
2996 | sleep(SAMPLE_INTERVAL); |
2997 | |
2998 | for (i = 0; i < num_cpus; i++) { |
2999 | |
3000 | === modified file 'OSBase_Processor.h' |
3001 | --- OSBase_Processor.h 2009-07-29 14:43:34 +0000 |
3002 | +++ OSBase_Processor.h 2013-01-12 05:25:23 +0000 |
3003 | @@ -58,6 +58,8 @@ |
3004 | void free_processorlist( struct processorlist * ); |
3005 | void free_processor( struct cim_processor * ); |
3006 | |
3007 | +int proc_cancel_thread(); |
3008 | + |
3009 | /* ---------------------------------------------------------------------------*/ |
3010 | |
3011 | #ifdef __cplusplus |
3012 | |
3013 | === modified file 'OSBase_UnixProcess.c' |
3014 | --- OSBase_UnixProcess.c 2009-07-29 14:43:34 +0000 |
3015 | +++ OSBase_UnixProcess.c 2013-01-12 05:25:23 +0000 |
3016 | @@ -86,21 +86,28 @@ |
3017 | char * cmd = NULL; |
3018 | char * str = NULL; |
3019 | char * ptr = NULL; |
3020 | - DIR * dpid = NULL; |
3021 | + char buf[256]; |
3022 | + int len = 0; |
3023 | int i = 0; |
3024 | int rc = 0; |
3025 | |
3026 | _OSBASE_TRACE(3,("--- get_process_data() called")); |
3027 | |
3028 | - cmd = (char*)malloc((strlen(pid)+100)); |
3029 | - sprintf(cmd, "ps -p %s --no-headers -eo pid,ppid,tty,pri,nice,uid,gid,pmem,pcpu,cputime,session,state,args",pid); |
3030 | - rc = runcommand( cmd , NULL, &hdout, NULL ); |
3031 | + sscanf(pid, "%[0-9] %n", buf, &len); |
3032 | + if (len != strlen(pid)) { |
3033 | + _OSBASE_TRACE(3,("--- get_process_data() failed : PID %s not valid", pid)); |
3034 | + return -1; |
3035 | + } |
3036 | + |
3037 | + cmd = (char*)malloc(len + 100); |
3038 | + sprintf(cmd, "ps -p %s --no-headers -o pid,ppid,tty,pri,nice,uid,gid,pmem,pcpu,cputime,session,state,args",buf); |
3039 | + rc = runcommand( cmd , NULL, &hdout, NULL ); |
3040 | if (rc == 0) { |
3041 | while( hdout[i] ) { |
3042 | if((ptr=strchr(hdout[i], '\n'))) { *ptr = '\0'; } |
3043 | str = hdout[i]; |
3044 | while( *str == ' ' ) { str = str+1; } |
3045 | - if( strncmp( str,pid,strlen(pid)) == 0 ) { |
3046 | + if( strncmp( str,buf,len) == 0 ) { |
3047 | rc = _process_data( hdout[i], sptr ); |
3048 | break; |
3049 | } |
3050 | @@ -108,7 +115,6 @@ |
3051 | } |
3052 | free ( cmd ); |
3053 | freeresultbuf( hdout ); |
3054 | - closedir(dpid); |
3055 | } |
3056 | else { |
3057 | _OSBASE_TRACE(3,("--- get_process_data() failed : PID %s not valid",pid)); |
3058 | |
3059 | === modified file 'aclocal.m4' |
3060 | --- aclocal.m4 2009-01-26 14:11:21 +0000 |
3061 | +++ aclocal.m4 2013-01-12 05:25:23 +0000 |
3062 | @@ -1,7 +1,7 @@ |
3063 | -# generated automatically by aclocal 1.10.1 -*- Autoconf -*- |
3064 | +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
3065 | |
3066 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
3067 | -# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
3068 | +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
3069 | # This file is free software; the Free Software Foundation |
3070 | # gives unlimited permission to copy and/or distribute it, |
3071 | # with or without modifications, as long as this notice is preserved. |
3072 | @@ -13,108 +13,194 @@ |
3073 | |
3074 | m4_ifndef([AC_AUTOCONF_VERSION], |
3075 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
3076 | -m4_if(AC_AUTOCONF_VERSION, [2.61],, |
3077 | -[m4_warning([this file was generated for autoconf 2.61. |
3078 | +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
3079 | +[m4_warning([this file was generated for autoconf 2.68. |
3080 | You have another version of autoconf. It may work, but is not guaranteed to. |
3081 | If you have problems, you may need to regenerate the build system entirely. |
3082 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
3083 | |
3084 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
3085 | - |
3086 | -# serial 52 AC_PROG_LIBTOOL |
3087 | - |
3088 | - |
3089 | -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) |
3090 | -# ----------------------------------------------------------- |
3091 | -# If this macro is not defined by Autoconf, define it here. |
3092 | -m4_ifdef([AC_PROVIDE_IFELSE], |
3093 | - [], |
3094 | - [m4_define([AC_PROVIDE_IFELSE], |
3095 | - [m4_ifdef([AC_PROVIDE_$1], |
3096 | - [$2], [$3])])]) |
3097 | - |
3098 | - |
3099 | -# AC_PROG_LIBTOOL |
3100 | -# --------------- |
3101 | -AC_DEFUN([AC_PROG_LIBTOOL], |
3102 | -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl |
3103 | -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX |
3104 | -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. |
3105 | - AC_PROVIDE_IFELSE([AC_PROG_CXX], |
3106 | - [AC_LIBTOOL_CXX], |
3107 | - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX |
3108 | - ])]) |
3109 | -dnl And a similar setup for Fortran 77 support |
3110 | - AC_PROVIDE_IFELSE([AC_PROG_F77], |
3111 | - [AC_LIBTOOL_F77], |
3112 | - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 |
3113 | -])]) |
3114 | - |
3115 | -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. |
3116 | -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run |
3117 | -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. |
3118 | - AC_PROVIDE_IFELSE([AC_PROG_GCJ], |
3119 | - [AC_LIBTOOL_GCJ], |
3120 | - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], |
3121 | - [AC_LIBTOOL_GCJ], |
3122 | - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], |
3123 | - [AC_LIBTOOL_GCJ], |
3124 | - [ifdef([AC_PROG_GCJ], |
3125 | - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) |
3126 | - ifdef([A][M_PROG_GCJ], |
3127 | - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) |
3128 | - ifdef([LT_AC_PROG_GCJ], |
3129 | - [define([LT_AC_PROG_GCJ], |
3130 | - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) |
3131 | -])])# AC_PROG_LIBTOOL |
3132 | - |
3133 | - |
3134 | -# _AC_PROG_LIBTOOL |
3135 | -# ---------------- |
3136 | -AC_DEFUN([_AC_PROG_LIBTOOL], |
3137 | -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl |
3138 | -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl |
3139 | -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl |
3140 | -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl |
3141 | +# |
3142 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
3143 | +# 2006, 2007, 2008 Free Software Foundation, Inc. |
3144 | +# Written by Gordon Matzigkeit, 1996 |
3145 | +# |
3146 | +# This file is free software; the Free Software Foundation gives |
3147 | +# unlimited permission to copy and/or distribute it, with or without |
3148 | +# modifications, as long as this notice is preserved. |
3149 | + |
3150 | +m4_define([_LT_COPYING], [dnl |
3151 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
3152 | +# 2006, 2007, 2008 Free Software Foundation, Inc. |
3153 | +# Written by Gordon Matzigkeit, 1996 |
3154 | +# |
3155 | +# This file is part of GNU Libtool. |
3156 | +# |
3157 | +# GNU Libtool is free software; you can redistribute it and/or |
3158 | +# modify it under the terms of the GNU General Public License as |
3159 | +# published by the Free Software Foundation; either version 2 of |
3160 | +# the License, or (at your option) any later version. |
3161 | +# |
3162 | +# As a special exception to the GNU General Public License, |
3163 | +# if you distribute this file as part of a program or library that |
3164 | +# is built using GNU Libtool, you may include this file under the |
3165 | +# same distribution terms that you use for the rest of that program. |
3166 | +# |
3167 | +# GNU Libtool is distributed in the hope that it will be useful, |
3168 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
3169 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3170 | +# GNU General Public License for more details. |
3171 | +# |
3172 | +# You should have received a copy of the GNU General Public License |
3173 | +# along with GNU Libtool; see the file COPYING. If not, a copy |
3174 | +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
3175 | +# obtained by writing to the Free Software Foundation, Inc., |
3176 | +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
3177 | +]) |
3178 | + |
3179 | +# serial 56 LT_INIT |
3180 | + |
3181 | + |
3182 | +# LT_PREREQ(VERSION) |
3183 | +# ------------------ |
3184 | +# Complain and exit if this libtool version is less that VERSION. |
3185 | +m4_defun([LT_PREREQ], |
3186 | +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, |
3187 | + [m4_default([$3], |
3188 | + [m4_fatal([Libtool version $1 or higher is required], |
3189 | + 63)])], |
3190 | + [$2])]) |
3191 | + |
3192 | + |
3193 | +# _LT_CHECK_BUILDDIR |
3194 | +# ------------------ |
3195 | +# Complain if the absolute build directory name contains unusual characters |
3196 | +m4_defun([_LT_CHECK_BUILDDIR], |
3197 | +[case `pwd` in |
3198 | + *\ * | *\ *) |
3199 | + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; |
3200 | +esac |
3201 | +]) |
3202 | + |
3203 | + |
3204 | +# LT_INIT([OPTIONS]) |
3205 | +# ------------------ |
3206 | +AC_DEFUN([LT_INIT], |
3207 | +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT |
3208 | +AC_BEFORE([$0], [LT_LANG])dnl |
3209 | +AC_BEFORE([$0], [LT_OUTPUT])dnl |
3210 | +AC_BEFORE([$0], [LTDL_INIT])dnl |
3211 | +m4_require([_LT_CHECK_BUILDDIR])dnl |
3212 | + |
3213 | +dnl Autoconf doesn't catch unexpanded LT_ macros by default: |
3214 | +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl |
3215 | +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl |
3216 | +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 |
3217 | +dnl unless we require an AC_DEFUNed macro: |
3218 | +AC_REQUIRE([LTOPTIONS_VERSION])dnl |
3219 | +AC_REQUIRE([LTSUGAR_VERSION])dnl |
3220 | +AC_REQUIRE([LTVERSION_VERSION])dnl |
3221 | +AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
3222 | +m4_require([_LT_PROG_LTMAIN])dnl |
3223 | + |
3224 | +dnl Parse OPTIONS |
3225 | +_LT_SET_OPTIONS([$0], [$1]) |
3226 | |
3227 | # This can be used to rebuild libtool when needed |
3228 | -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" |
3229 | +LIBTOOL_DEPS="$ltmain" |
3230 | |
3231 | # Always use our own libtool. |
3232 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
3233 | AC_SUBST(LIBTOOL)dnl |
3234 | |
3235 | -# Prevent multiple expansion |
3236 | -define([AC_PROG_LIBTOOL], []) |
3237 | -])# _AC_PROG_LIBTOOL |
3238 | - |
3239 | - |
3240 | -# AC_LIBTOOL_SETUP |
3241 | -# ---------------- |
3242 | -AC_DEFUN([AC_LIBTOOL_SETUP], |
3243 | -[AC_PREREQ(2.50)dnl |
3244 | -AC_REQUIRE([AC_ENABLE_SHARED])dnl |
3245 | -AC_REQUIRE([AC_ENABLE_STATIC])dnl |
3246 | -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl |
3247 | -AC_REQUIRE([AC_CANONICAL_HOST])dnl |
3248 | +_LT_SETUP |
3249 | + |
3250 | +# Only expand once: |
3251 | +m4_define([LT_INIT]) |
3252 | +])# LT_INIT |
3253 | + |
3254 | +# Old names: |
3255 | +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) |
3256 | +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) |
3257 | +dnl aclocal-1.4 backwards compatibility: |
3258 | +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) |
3259 | +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) |
3260 | + |
3261 | + |
3262 | +# _LT_CC_BASENAME(CC) |
3263 | +# ------------------- |
3264 | +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
3265 | +m4_defun([_LT_CC_BASENAME], |
3266 | +[for cc_temp in $1""; do |
3267 | + case $cc_temp in |
3268 | + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; |
3269 | + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; |
3270 | + \-*) ;; |
3271 | + *) break;; |
3272 | + esac |
3273 | +done |
3274 | +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
3275 | +]) |
3276 | + |
3277 | + |
3278 | +# _LT_FILEUTILS_DEFAULTS |
3279 | +# ---------------------- |
3280 | +# It is okay to use these file commands and assume they have been set |
3281 | +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. |
3282 | +m4_defun([_LT_FILEUTILS_DEFAULTS], |
3283 | +[: ${CP="cp -f"} |
3284 | +: ${MV="mv -f"} |
3285 | +: ${RM="rm -f"} |
3286 | +])# _LT_FILEUTILS_DEFAULTS |
3287 | + |
3288 | + |
3289 | +# _LT_SETUP |
3290 | +# --------- |
3291 | +m4_defun([_LT_SETUP], |
3292 | +[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
3293 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
3294 | +_LT_DECL([], [host_alias], [0], [The host system])dnl |
3295 | +_LT_DECL([], [host], [0])dnl |
3296 | +_LT_DECL([], [host_os], [0])dnl |
3297 | +dnl |
3298 | +_LT_DECL([], [build_alias], [0], [The build system])dnl |
3299 | +_LT_DECL([], [build], [0])dnl |
3300 | +_LT_DECL([], [build_os], [0])dnl |
3301 | +dnl |
3302 | AC_REQUIRE([AC_PROG_CC])dnl |
3303 | -AC_REQUIRE([AC_PROG_LD])dnl |
3304 | -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl |
3305 | -AC_REQUIRE([AC_PROG_NM])dnl |
3306 | - |
3307 | +AC_REQUIRE([LT_PATH_LD])dnl |
3308 | +AC_REQUIRE([LT_PATH_NM])dnl |
3309 | +dnl |
3310 | AC_REQUIRE([AC_PROG_LN_S])dnl |
3311 | -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl |
3312 | -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
3313 | -AC_REQUIRE([AC_OBJEXT])dnl |
3314 | -AC_REQUIRE([AC_EXEEXT])dnl |
3315 | -dnl |
3316 | -AC_LIBTOOL_SYS_MAX_CMD_LEN |
3317 | -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE |
3318 | -AC_LIBTOOL_OBJDIR |
3319 | - |
3320 | -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl |
3321 | -_LT_AC_PROG_ECHO_BACKSLASH |
3322 | +test -z "$LN_S" && LN_S="ln -s" |
3323 | +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl |
3324 | +dnl |
3325 | +AC_REQUIRE([LT_CMD_MAX_LEN])dnl |
3326 | +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl |
3327 | +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl |
3328 | +dnl |
3329 | +m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
3330 | +m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
3331 | +m4_require([_LT_CMD_RELOAD])dnl |
3332 | +m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
3333 | +m4_require([_LT_CMD_OLD_ARCHIVE])dnl |
3334 | +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl |
3335 | + |
3336 | +_LT_CONFIG_LIBTOOL_INIT([ |
3337 | +# See if we are running on zsh, and set the options which allow our |
3338 | +# commands through without removal of \ escapes INIT. |
3339 | +if test -n "\${ZSH_VERSION+set}" ; then |
3340 | + setopt NO_GLOB_SUBST |
3341 | +fi |
3342 | +]) |
3343 | +if test -n "${ZSH_VERSION+set}" ; then |
3344 | + setopt NO_GLOB_SUBST |
3345 | +fi |
3346 | + |
3347 | +_LT_CHECK_OBJDIR |
3348 | + |
3349 | +m4_require([_LT_TAG_COMPILER])dnl |
3350 | +_LT_PROG_ECHO_BACKSLASH |
3351 | |
3352 | case $host_os in |
3353 | aix3*) |
3354 | @@ -130,116 +216,652 @@ |
3355 | |
3356 | # Sed substitution that helps us do robust quoting. It backslashifies |
3357 | # metacharacters that are still active within double-quoted strings. |
3358 | -Xsed='sed -e 1s/^X//' |
3359 | -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] |
3360 | +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
3361 | |
3362 | # Same as above, but do not quote variable references. |
3363 | -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] |
3364 | +double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
3365 | |
3366 | # Sed substitution to delay expansion of an escaped shell variable in a |
3367 | # double_quote_subst'ed string. |
3368 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
3369 | |
3370 | +# Sed substitution to delay expansion of an escaped single quote. |
3371 | +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
3372 | + |
3373 | # Sed substitution to avoid accidental globbing in evaled expressions |
3374 | no_glob_subst='s/\*/\\\*/g' |
3375 | |
3376 | -# Constants: |
3377 | -rm="rm -f" |
3378 | - |
3379 | # Global variables: |
3380 | -default_ofile=libtool |
3381 | +ofile=libtool |
3382 | can_build_shared=yes |
3383 | |
3384 | # All known linkers require a `.a' archive for static linking (except MSVC, |
3385 | # which needs '.lib'). |
3386 | libext=a |
3387 | -ltmain="$ac_aux_dir/ltmain.sh" |
3388 | -ofile="$default_ofile" |
3389 | + |
3390 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
3391 | |
3392 | -AC_CHECK_TOOL(AR, ar, false) |
3393 | -AC_CHECK_TOOL(RANLIB, ranlib, :) |
3394 | -AC_CHECK_TOOL(STRIP, strip, :) |
3395 | - |
3396 | old_CC="$CC" |
3397 | old_CFLAGS="$CFLAGS" |
3398 | |
3399 | # Set sane defaults for various variables |
3400 | -test -z "$AR" && AR=ar |
3401 | -test -z "$AR_FLAGS" && AR_FLAGS=cru |
3402 | -test -z "$AS" && AS=as |
3403 | test -z "$CC" && CC=cc |
3404 | test -z "$LTCC" && LTCC=$CC |
3405 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
3406 | -test -z "$DLLTOOL" && DLLTOOL=dlltool |
3407 | test -z "$LD" && LD=ld |
3408 | -test -z "$LN_S" && LN_S="ln -s" |
3409 | -test -z "$MAGIC_CMD" && MAGIC_CMD=file |
3410 | -test -z "$NM" && NM=nm |
3411 | -test -z "$SED" && SED=sed |
3412 | -test -z "$OBJDUMP" && OBJDUMP=objdump |
3413 | -test -z "$RANLIB" && RANLIB=: |
3414 | -test -z "$STRIP" && STRIP=: |
3415 | test -z "$ac_objext" && ac_objext=o |
3416 | |
3417 | -# Determine commands to create old-style static archives. |
3418 | -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
3419 | -old_postinstall_cmds='chmod 644 $oldlib' |
3420 | -old_postuninstall_cmds= |
3421 | - |
3422 | -if test -n "$RANLIB"; then |
3423 | - case $host_os in |
3424 | - openbsd*) |
3425 | - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
3426 | - ;; |
3427 | - *) |
3428 | - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
3429 | - ;; |
3430 | - esac |
3431 | - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
3432 | -fi |
3433 | - |
3434 | _LT_CC_BASENAME([$compiler]) |
3435 | |
3436 | # Only perform the check for file, if the check method requires it |
3437 | +test -z "$MAGIC_CMD" && MAGIC_CMD=file |
3438 | case $deplibs_check_method in |
3439 | file_magic*) |
3440 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
3441 | - AC_PATH_MAGIC |
3442 | + _LT_PATH_MAGIC |
3443 | fi |
3444 | ;; |
3445 | esac |
3446 | |
3447 | -_LT_REQUIRED_DARWIN_CHECKS |
3448 | - |
3449 | -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) |
3450 | -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], |
3451 | -enable_win32_dll=yes, enable_win32_dll=no) |
3452 | - |
3453 | -AC_ARG_ENABLE([libtool-lock], |
3454 | - [AC_HELP_STRING([--disable-libtool-lock], |
3455 | - [avoid locking (might break parallel builds)])]) |
3456 | -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
3457 | - |
3458 | -AC_ARG_WITH([pic], |
3459 | - [AC_HELP_STRING([--with-pic], |
3460 | - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], |
3461 | - [pic_mode="$withval"], |
3462 | - [pic_mode=default]) |
3463 | -test -z "$pic_mode" && pic_mode=default |
3464 | - |
3465 | # Use C for the default configuration in the libtool script |
3466 | -tagname= |
3467 | -AC_LIBTOOL_LANG_C_CONFIG |
3468 | -_LT_AC_TAGCONFIG |
3469 | -])# AC_LIBTOOL_SETUP |
3470 | - |
3471 | - |
3472 | -# _LT_AC_SYS_COMPILER |
3473 | +LT_SUPPORTED_TAG([CC]) |
3474 | +_LT_LANG_C_CONFIG |
3475 | +_LT_LANG_DEFAULT_CONFIG |
3476 | +_LT_CONFIG_COMMANDS |
3477 | +])# _LT_SETUP |
3478 | + |
3479 | + |
3480 | +# _LT_PROG_LTMAIN |
3481 | +# --------------- |
3482 | +# Note that this code is called both from `configure', and `config.status' |
3483 | +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, |
3484 | +# `config.status' has no value for ac_aux_dir unless we are using Automake, |
3485 | +# so we pass a copy along to make sure it has a sensible value anyway. |
3486 | +m4_defun([_LT_PROG_LTMAIN], |
3487 | +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl |
3488 | +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) |
3489 | +ltmain="$ac_aux_dir/ltmain.sh" |
3490 | +])# _LT_PROG_LTMAIN |
3491 | + |
3492 | + |
3493 | + |
3494 | +# So that we can recreate a full libtool script including additional |
3495 | +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS |
3496 | +# in macros and then make a single call at the end using the `libtool' |
3497 | +# label. |
3498 | + |
3499 | + |
3500 | +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) |
3501 | +# ---------------------------------------- |
3502 | +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
3503 | +m4_define([_LT_CONFIG_LIBTOOL_INIT], |
3504 | +[m4_ifval([$1], |
3505 | + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], |
3506 | + [$1 |
3507 | +])])]) |
3508 | + |
3509 | +# Initialize. |
3510 | +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) |
3511 | + |
3512 | + |
3513 | +# _LT_CONFIG_LIBTOOL([COMMANDS]) |
3514 | +# ------------------------------ |
3515 | +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
3516 | +m4_define([_LT_CONFIG_LIBTOOL], |
3517 | +[m4_ifval([$1], |
3518 | + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], |
3519 | + [$1 |
3520 | +])])]) |
3521 | + |
3522 | +# Initialize. |
3523 | +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) |
3524 | + |
3525 | + |
3526 | +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) |
3527 | +# ----------------------------------------------------- |
3528 | +m4_defun([_LT_CONFIG_SAVE_COMMANDS], |
3529 | +[_LT_CONFIG_LIBTOOL([$1]) |
3530 | +_LT_CONFIG_LIBTOOL_INIT([$2]) |
3531 | +]) |
3532 | + |
3533 | + |
3534 | +# _LT_FORMAT_COMMENT([COMMENT]) |
3535 | +# ----------------------------- |
3536 | +# Add leading comment marks to the start of each line, and a trailing |
3537 | +# full-stop to the whole comment if one is not present already. |
3538 | +m4_define([_LT_FORMAT_COMMENT], |
3539 | +[m4_ifval([$1], [ |
3540 | +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], |
3541 | + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) |
3542 | +)]) |
3543 | + |
3544 | + |
3545 | + |
3546 | + |
3547 | + |
3548 | +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) |
3549 | +# ------------------------------------------------------------------- |
3550 | +# CONFIGNAME is the name given to the value in the libtool script. |
3551 | +# VARNAME is the (base) name used in the configure script. |
3552 | +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on |
3553 | +# VARNAME. Any other value will be used directly. |
3554 | +m4_define([_LT_DECL], |
3555 | +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], |
3556 | + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], |
3557 | + [m4_ifval([$1], [$1], [$2])]) |
3558 | + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) |
3559 | + m4_ifval([$4], |
3560 | + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) |
3561 | + lt_dict_add_subkey([lt_decl_dict], [$2], |
3562 | + [tagged?], [m4_ifval([$5], [yes], [no])])]) |
3563 | +]) |
3564 | + |
3565 | + |
3566 | +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) |
3567 | +# -------------------------------------------------------- |
3568 | +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) |
3569 | + |
3570 | + |
3571 | +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) |
3572 | +# ------------------------------------------------ |
3573 | +m4_define([lt_decl_tag_varnames], |
3574 | +[_lt_decl_filter([tagged?], [yes], $@)]) |
3575 | + |
3576 | + |
3577 | +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) |
3578 | +# --------------------------------------------------------- |
3579 | +m4_define([_lt_decl_filter], |
3580 | +[m4_case([$#], |
3581 | + [0], [m4_fatal([$0: too few arguments: $#])], |
3582 | + [1], [m4_fatal([$0: too few arguments: $#: $1])], |
3583 | + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], |
3584 | + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], |
3585 | + [lt_dict_filter([lt_decl_dict], $@)])[]dnl |
3586 | +]) |
3587 | + |
3588 | + |
3589 | +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) |
3590 | +# -------------------------------------------------- |
3591 | +m4_define([lt_decl_quote_varnames], |
3592 | +[_lt_decl_filter([value], [1], $@)]) |
3593 | + |
3594 | + |
3595 | +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) |
3596 | +# --------------------------------------------------- |
3597 | +m4_define([lt_decl_dquote_varnames], |
3598 | +[_lt_decl_filter([value], [2], $@)]) |
3599 | + |
3600 | + |
3601 | +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) |
3602 | +# --------------------------------------------------- |
3603 | +m4_define([lt_decl_varnames_tagged], |
3604 | +[m4_assert([$# <= 2])dnl |
3605 | +_$0(m4_quote(m4_default([$1], [[, ]])), |
3606 | + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), |
3607 | + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) |
3608 | +m4_define([_lt_decl_varnames_tagged], |
3609 | +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) |
3610 | + |
3611 | + |
3612 | +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) |
3613 | +# ------------------------------------------------ |
3614 | +m4_define([lt_decl_all_varnames], |
3615 | +[_$0(m4_quote(m4_default([$1], [[, ]])), |
3616 | + m4_if([$2], [], |
3617 | + m4_quote(lt_decl_varnames), |
3618 | + m4_quote(m4_shift($@))))[]dnl |
3619 | +]) |
3620 | +m4_define([_lt_decl_all_varnames], |
3621 | +[lt_join($@, lt_decl_varnames_tagged([$1], |
3622 | + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl |
3623 | +]) |
3624 | + |
3625 | + |
3626 | +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) |
3627 | +# ------------------------------------ |
3628 | +# Quote a variable value, and forward it to `config.status' so that its |
3629 | +# declaration there will have the same value as in `configure'. VARNAME |
3630 | +# must have a single quote delimited value for this to work. |
3631 | +m4_define([_LT_CONFIG_STATUS_DECLARE], |
3632 | +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) |
3633 | + |
3634 | + |
3635 | +# _LT_CONFIG_STATUS_DECLARATIONS |
3636 | +# ------------------------------ |
3637 | +# We delimit libtool config variables with single quotes, so when |
3638 | +# we write them to config.status, we have to be sure to quote all |
3639 | +# embedded single quotes properly. In configure, this macro expands |
3640 | +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
3641 | +# |
3642 | +# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' |
3643 | +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
3644 | +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
3645 | + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
3646 | + |
3647 | + |
3648 | +# _LT_LIBTOOL_TAGS |
3649 | +# ---------------- |
3650 | +# Output comment and list of tags supported by the script |
3651 | +m4_defun([_LT_LIBTOOL_TAGS], |
3652 | +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl |
3653 | +available_tags="_LT_TAGS"dnl |
3654 | +]) |
3655 | + |
3656 | + |
3657 | +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) |
3658 | +# ----------------------------------- |
3659 | +# Extract the dictionary values for VARNAME (optionally with TAG) and |
3660 | +# expand to a commented shell variable setting: |
3661 | +# |
3662 | +# # Some comment about what VAR is for. |
3663 | +# visible_name=$lt_internal_name |
3664 | +m4_define([_LT_LIBTOOL_DECLARE], |
3665 | +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], |
3666 | + [description])))[]dnl |
3667 | +m4_pushdef([_libtool_name], |
3668 | + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl |
3669 | +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), |
3670 | + [0], [_libtool_name=[$]$1], |
3671 | + [1], [_libtool_name=$lt_[]$1], |
3672 | + [2], [_libtool_name=$lt_[]$1], |
3673 | + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl |
3674 | +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl |
3675 | +]) |
3676 | + |
3677 | + |
3678 | +# _LT_LIBTOOL_CONFIG_VARS |
3679 | +# ----------------------- |
3680 | +# Produce commented declarations of non-tagged libtool config variables |
3681 | +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' |
3682 | +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG |
3683 | +# section) are produced by _LT_LIBTOOL_TAG_VARS. |
3684 | +m4_defun([_LT_LIBTOOL_CONFIG_VARS], |
3685 | +[m4_foreach([_lt_var], |
3686 | + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), |
3687 | + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) |
3688 | + |
3689 | + |
3690 | +# _LT_LIBTOOL_TAG_VARS(TAG) |
3691 | +# ------------------------- |
3692 | +m4_define([_LT_LIBTOOL_TAG_VARS], |
3693 | +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), |
3694 | + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) |
3695 | + |
3696 | + |
3697 | +# _LT_TAGVAR(VARNAME, [TAGNAME]) |
3698 | +# ------------------------------ |
3699 | +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) |
3700 | + |
3701 | + |
3702 | +# _LT_CONFIG_COMMANDS |
3703 | # ------------------- |
3704 | -AC_DEFUN([_LT_AC_SYS_COMPILER], |
3705 | +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of |
3706 | +# variables for single and double quote escaping we saved from calls |
3707 | +# to _LT_DECL, we can put quote escaped variables declarations |
3708 | +# into `config.status', and then the shell code to quote escape them in |
3709 | +# for loops in `config.status'. Finally, any additional code accumulated |
3710 | +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. |
3711 | +m4_defun([_LT_CONFIG_COMMANDS], |
3712 | +[AC_PROVIDE_IFELSE([LT_OUTPUT], |
3713 | + dnl If the libtool generation code has been placed in $CONFIG_LT, |
3714 | + dnl instead of duplicating it all over again into config.status, |
3715 | + dnl then we will have config.status run $CONFIG_LT later, so it |
3716 | + dnl needs to know what name is stored there: |
3717 | + [AC_CONFIG_COMMANDS([libtool], |
3718 | + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], |
3719 | + dnl If the libtool generation code is destined for config.status, |
3720 | + dnl expand the accumulated commands and init code now: |
3721 | + [AC_CONFIG_COMMANDS([libtool], |
3722 | + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) |
3723 | +])#_LT_CONFIG_COMMANDS |
3724 | + |
3725 | + |
3726 | +# Initialize. |
3727 | +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], |
3728 | +[ |
3729 | + |
3730 | +# The HP-UX ksh and POSIX shell print the target directory to stdout |
3731 | +# if CDPATH is set. |
3732 | +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3733 | + |
3734 | +sed_quote_subst='$sed_quote_subst' |
3735 | +double_quote_subst='$double_quote_subst' |
3736 | +delay_variable_subst='$delay_variable_subst' |
3737 | +_LT_CONFIG_STATUS_DECLARATIONS |
3738 | +LTCC='$LTCC' |
3739 | +LTCFLAGS='$LTCFLAGS' |
3740 | +compiler='$compiler_DEFAULT' |
3741 | + |
3742 | +# Quote evaled strings. |
3743 | +for var in lt_decl_all_varnames([[ \ |
3744 | +]], lt_decl_quote_varnames); do |
3745 | + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
3746 | + *[[\\\\\\\`\\"\\\$]]*) |
3747 | + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
3748 | + ;; |
3749 | + *) |
3750 | + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
3751 | + ;; |
3752 | + esac |
3753 | +done |
3754 | + |
3755 | +# Double-quote double-evaled strings. |
3756 | +for var in lt_decl_all_varnames([[ \ |
3757 | +]], lt_decl_dquote_varnames); do |
3758 | + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
3759 | + *[[\\\\\\\`\\"\\\$]]*) |
3760 | + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
3761 | + ;; |
3762 | + *) |
3763 | + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
3764 | + ;; |
3765 | + esac |
3766 | +done |
3767 | + |
3768 | +# Fix-up fallback echo if it was mangled by the above quoting rules. |
3769 | +case \$lt_ECHO in |
3770 | +*'\\\[$]0 --fallback-echo"')dnl " |
3771 | + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` |
3772 | + ;; |
3773 | +esac |
3774 | + |
3775 | +_LT_OUTPUT_LIBTOOL_INIT |
3776 | +]) |
3777 | + |
3778 | + |
3779 | +# LT_OUTPUT |
3780 | +# --------- |
3781 | +# This macro allows early generation of the libtool script (before |
3782 | +# AC_OUTPUT is called), incase it is used in configure for compilation |
3783 | +# tests. |
3784 | +AC_DEFUN([LT_OUTPUT], |
3785 | +[: ${CONFIG_LT=./config.lt} |
3786 | +AC_MSG_NOTICE([creating $CONFIG_LT]) |
3787 | +cat >"$CONFIG_LT" <<_LTEOF |
3788 | +#! $SHELL |
3789 | +# Generated by $as_me. |
3790 | +# Run this file to recreate a libtool stub with the current configuration. |
3791 | + |
3792 | +lt_cl_silent=false |
3793 | +SHELL=\${CONFIG_SHELL-$SHELL} |
3794 | +_LTEOF |
3795 | + |
3796 | +cat >>"$CONFIG_LT" <<\_LTEOF |
3797 | +AS_SHELL_SANITIZE |
3798 | +_AS_PREPARE |
3799 | + |
3800 | +exec AS_MESSAGE_FD>&1 |
3801 | +exec AS_MESSAGE_LOG_FD>>config.log |
3802 | +{ |
3803 | + echo |
3804 | + AS_BOX([Running $as_me.]) |
3805 | +} >&AS_MESSAGE_LOG_FD |
3806 | + |
3807 | +lt_cl_help="\ |
3808 | +\`$as_me' creates a local libtool stub from the current configuration, |
3809 | +for use in further configure time tests before the real libtool is |
3810 | +generated. |
3811 | + |
3812 | +Usage: $[0] [[OPTIONS]] |
3813 | + |
3814 | + -h, --help print this help, then exit |
3815 | + -V, --version print version number, then exit |
3816 | + -q, --quiet do not print progress messages |
3817 | + -d, --debug don't remove temporary files |
3818 | + |
3819 | +Report bugs to <bug-libtool@gnu.org>." |
3820 | + |
3821 | +lt_cl_version="\ |
3822 | +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl |
3823 | +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
3824 | +configured by $[0], generated by m4_PACKAGE_STRING. |
3825 | + |
3826 | +Copyright (C) 2008 Free Software Foundation, Inc. |
3827 | +This config.lt script is free software; the Free Software Foundation |
3828 | +gives unlimited permision to copy, distribute and modify it." |
3829 | + |
3830 | +while test $[#] != 0 |
3831 | +do |
3832 | + case $[1] in |
3833 | + --version | --v* | -V ) |
3834 | + echo "$lt_cl_version"; exit 0 ;; |
3835 | + --help | --h* | -h ) |
3836 | + echo "$lt_cl_help"; exit 0 ;; |
3837 | + --debug | --d* | -d ) |
3838 | + debug=: ;; |
3839 | + --quiet | --q* | --silent | --s* | -q ) |
3840 | + lt_cl_silent=: ;; |
3841 | + |
3842 | + -*) AC_MSG_ERROR([unrecognized option: $[1] |
3843 | +Try \`$[0] --help' for more information.]) ;; |
3844 | + |
3845 | + *) AC_MSG_ERROR([unrecognized argument: $[1] |
3846 | +Try \`$[0] --help' for more information.]) ;; |
3847 | + esac |
3848 | + shift |
3849 | +done |
3850 | + |
3851 | +if $lt_cl_silent; then |
3852 | + exec AS_MESSAGE_FD>/dev/null |
3853 | +fi |
3854 | +_LTEOF |
3855 | + |
3856 | +cat >>"$CONFIG_LT" <<_LTEOF |
3857 | +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT |
3858 | +_LTEOF |
3859 | + |
3860 | +cat >>"$CONFIG_LT" <<\_LTEOF |
3861 | +AC_MSG_NOTICE([creating $ofile]) |
3862 | +_LT_OUTPUT_LIBTOOL_COMMANDS |
3863 | +AS_EXIT(0) |
3864 | +_LTEOF |
3865 | +chmod +x "$CONFIG_LT" |
3866 | + |
3867 | +# configure is writing to config.log, but config.lt does its own redirection, |
3868 | +# appending to config.log, which fails on DOS, as config.log is still kept |
3869 | +# open by configure. Here we exec the FD to /dev/null, effectively closing |
3870 | +# config.log, so it can be properly (re)opened and appended to by config.lt. |
3871 | +if test "$no_create" != yes; then |
3872 | + lt_cl_success=: |
3873 | + test "$silent" = yes && |
3874 | + lt_config_lt_args="$lt_config_lt_args --quiet" |
3875 | + exec AS_MESSAGE_LOG_FD>/dev/null |
3876 | + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
3877 | + exec AS_MESSAGE_LOG_FD>>config.log |
3878 | + $lt_cl_success || AS_EXIT(1) |
3879 | +fi |
3880 | +])# LT_OUTPUT |
3881 | + |
3882 | + |
3883 | +# _LT_CONFIG(TAG) |
3884 | +# --------------- |
3885 | +# If TAG is the built-in tag, create an initial libtool script with a |
3886 | +# default configuration from the untagged config vars. Otherwise add code |
3887 | +# to config.status for appending the configuration named by TAG from the |
3888 | +# matching tagged config vars. |
3889 | +m4_defun([_LT_CONFIG], |
3890 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
3891 | +_LT_CONFIG_SAVE_COMMANDS([ |
3892 | + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl |
3893 | + m4_if(_LT_TAG, [C], [ |
3894 | + # See if we are running on zsh, and set the options which allow our |
3895 | + # commands through without removal of \ escapes. |
3896 | + if test -n "${ZSH_VERSION+set}" ; then |
3897 | + setopt NO_GLOB_SUBST |
3898 | + fi |
3899 | + |
3900 | + cfgfile="${ofile}T" |
3901 | + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
3902 | + $RM "$cfgfile" |
3903 | + |
3904 | + cat <<_LT_EOF >> "$cfgfile" |
3905 | +#! $SHELL |
3906 | + |
3907 | +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
3908 | +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
3909 | +# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
3910 | +# |
3911 | +_LT_COPYING |
3912 | +_LT_LIBTOOL_TAGS |
3913 | + |
3914 | +# ### BEGIN LIBTOOL CONFIG |
3915 | +_LT_LIBTOOL_CONFIG_VARS |
3916 | +_LT_LIBTOOL_TAG_VARS |
3917 | +# ### END LIBTOOL CONFIG |
3918 | + |
3919 | +_LT_EOF |
3920 | + |
3921 | + case $host_os in |
3922 | + aix3*) |
3923 | + cat <<\_LT_EOF >> "$cfgfile" |
3924 | +# AIX sometimes has problems with the GCC collect2 program. For some |
3925 | +# reason, if we set the COLLECT_NAMES environment variable, the problems |
3926 | +# vanish in a puff of smoke. |
3927 | +if test "X${COLLECT_NAMES+set}" != Xset; then |
3928 | + COLLECT_NAMES= |
3929 | + export COLLECT_NAMES |
3930 | +fi |
3931 | +_LT_EOF |
3932 | + ;; |
3933 | + esac |
3934 | + |
3935 | + _LT_PROG_LTMAIN |
3936 | + |
3937 | + # We use sed instead of cat because bash on DJGPP gets confused if |
3938 | + # if finds mixed CR/LF and LF-only lines. Since sed operates in |
3939 | + # text mode, it properly converts lines to CR/LF. This bash problem |
3940 | + # is reportedly fixed, but why not run on old versions too? |
3941 | + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
3942 | + || (rm -f "$cfgfile"; exit 1) |
3943 | + |
3944 | + _LT_PROG_XSI_SHELLFNS |
3945 | + |
3946 | + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
3947 | + || (rm -f "$cfgfile"; exit 1) |
3948 | + |
3949 | + mv -f "$cfgfile" "$ofile" || |
3950 | + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
3951 | + chmod +x "$ofile" |
3952 | +], |
3953 | +[cat <<_LT_EOF >> "$ofile" |
3954 | + |
3955 | +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded |
3956 | +dnl in a comment (ie after a #). |
3957 | +# ### BEGIN LIBTOOL TAG CONFIG: $1 |
3958 | +_LT_LIBTOOL_TAG_VARS(_LT_TAG) |
3959 | +# ### END LIBTOOL TAG CONFIG: $1 |
3960 | +_LT_EOF |
3961 | +])dnl /m4_if |
3962 | +], |
3963 | +[m4_if([$1], [], [ |
3964 | + PACKAGE='$PACKAGE' |
3965 | + VERSION='$VERSION' |
3966 | + TIMESTAMP='$TIMESTAMP' |
3967 | + RM='$RM' |
3968 | + ofile='$ofile'], []) |
3969 | +])dnl /_LT_CONFIG_SAVE_COMMANDS |
3970 | +])# _LT_CONFIG |
3971 | + |
3972 | + |
3973 | +# LT_SUPPORTED_TAG(TAG) |
3974 | +# --------------------- |
3975 | +# Trace this macro to discover what tags are supported by the libtool |
3976 | +# --tag option, using: |
3977 | +# autoconf --trace 'LT_SUPPORTED_TAG:$1' |
3978 | +AC_DEFUN([LT_SUPPORTED_TAG], []) |
3979 | + |
3980 | + |
3981 | +# C support is built-in for now |
3982 | +m4_define([_LT_LANG_C_enabled], []) |
3983 | +m4_define([_LT_TAGS], []) |
3984 | + |
3985 | + |
3986 | +# LT_LANG(LANG) |
3987 | +# ------------- |
3988 | +# Enable libtool support for the given language if not already enabled. |
3989 | +AC_DEFUN([LT_LANG], |
3990 | +[AC_BEFORE([$0], [LT_OUTPUT])dnl |
3991 | +m4_case([$1], |
3992 | + [C], [_LT_LANG(C)], |
3993 | + [C++], [_LT_LANG(CXX)], |
3994 | + [Java], [_LT_LANG(GCJ)], |
3995 | + [Fortran 77], [_LT_LANG(F77)], |
3996 | + [Fortran], [_LT_LANG(FC)], |
3997 | + [Windows Resource], [_LT_LANG(RC)], |
3998 | + [m4_ifdef([_LT_LANG_]$1[_CONFIG], |
3999 | + [_LT_LANG($1)], |
4000 | + [m4_fatal([$0: unsupported language: "$1"])])])dnl |
4001 | +])# LT_LANG |
4002 | + |
4003 | + |
4004 | +# _LT_LANG(LANGNAME) |
4005 | +# ------------------ |
4006 | +m4_defun([_LT_LANG], |
4007 | +[m4_ifdef([_LT_LANG_]$1[_enabled], [], |
4008 | + [LT_SUPPORTED_TAG([$1])dnl |
4009 | + m4_append([_LT_TAGS], [$1 ])dnl |
4010 | + m4_define([_LT_LANG_]$1[_enabled], [])dnl |
4011 | + _LT_LANG_$1_CONFIG($1)])dnl |
4012 | +])# _LT_LANG |
4013 | + |
4014 | + |
4015 | +# _LT_LANG_DEFAULT_CONFIG |
4016 | +# ----------------------- |
4017 | +m4_defun([_LT_LANG_DEFAULT_CONFIG], |
4018 | +[AC_PROVIDE_IFELSE([AC_PROG_CXX], |
4019 | + [LT_LANG(CXX)], |
4020 | + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) |
4021 | + |
4022 | +AC_PROVIDE_IFELSE([AC_PROG_F77], |
4023 | + [LT_LANG(F77)], |
4024 | + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) |
4025 | + |
4026 | +AC_PROVIDE_IFELSE([AC_PROG_FC], |
4027 | + [LT_LANG(FC)], |
4028 | + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) |
4029 | + |
4030 | +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal |
4031 | +dnl pulling things in needlessly. |
4032 | +AC_PROVIDE_IFELSE([AC_PROG_GCJ], |
4033 | + [LT_LANG(GCJ)], |
4034 | + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], |
4035 | + [LT_LANG(GCJ)], |
4036 | + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], |
4037 | + [LT_LANG(GCJ)], |
4038 | + [m4_ifdef([AC_PROG_GCJ], |
4039 | + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) |
4040 | + m4_ifdef([A][M_PROG_GCJ], |
4041 | + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) |
4042 | + m4_ifdef([LT_PROG_GCJ], |
4043 | + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) |
4044 | + |
4045 | +AC_PROVIDE_IFELSE([LT_PROG_RC], |
4046 | + [LT_LANG(RC)], |
4047 | + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) |
4048 | +])# _LT_LANG_DEFAULT_CONFIG |
4049 | + |
4050 | +# Obsolete macros: |
4051 | +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) |
4052 | +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) |
4053 | +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) |
4054 | +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) |
4055 | +dnl aclocal-1.4 backwards compatibility: |
4056 | +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) |
4057 | +dnl AC_DEFUN([AC_LIBTOOL_F77], []) |
4058 | +dnl AC_DEFUN([AC_LIBTOOL_FC], []) |
4059 | +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) |
4060 | + |
4061 | + |
4062 | +# _LT_TAG_COMPILER |
4063 | +# ---------------- |
4064 | +m4_defun([_LT_TAG_COMPILER], |
4065 | [AC_REQUIRE([AC_PROG_CC])dnl |
4066 | |
4067 | +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl |
4068 | +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl |
4069 | +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl |
4070 | +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl |
4071 | + |
4072 | # If no C compiler was specified, use CC. |
4073 | LTCC=${LTCC-"$CC"} |
4074 | |
4075 | @@ -248,36 +870,20 @@ |
4076 | |
4077 | # Allow CC to be a program name with arguments. |
4078 | compiler=$CC |
4079 | -])# _LT_AC_SYS_COMPILER |
4080 | - |
4081 | - |
4082 | -# _LT_CC_BASENAME(CC) |
4083 | -# ------------------- |
4084 | -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
4085 | -AC_DEFUN([_LT_CC_BASENAME], |
4086 | -[for cc_temp in $1""; do |
4087 | - case $cc_temp in |
4088 | - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; |
4089 | - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; |
4090 | - \-*) ;; |
4091 | - *) break;; |
4092 | - esac |
4093 | -done |
4094 | -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
4095 | -]) |
4096 | +])# _LT_TAG_COMPILER |
4097 | |
4098 | |
4099 | # _LT_COMPILER_BOILERPLATE |
4100 | # ------------------------ |
4101 | # Check for compiler boilerplate output or warnings with |
4102 | # the simple compiler test code. |
4103 | -AC_DEFUN([_LT_COMPILER_BOILERPLATE], |
4104 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
4105 | +m4_defun([_LT_COMPILER_BOILERPLATE], |
4106 | +[m4_require([_LT_DECL_SED])dnl |
4107 | ac_outfile=conftest.$ac_objext |
4108 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
4109 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
4110 | _lt_compiler_boilerplate=`cat conftest.err` |
4111 | -$rm conftest* |
4112 | +$RM conftest* |
4113 | ])# _LT_COMPILER_BOILERPLATE |
4114 | |
4115 | |
4116 | @@ -285,39 +891,57 @@ |
4117 | # ---------------------- |
4118 | # Check for linker boilerplate output or warnings with |
4119 | # the simple link test code. |
4120 | -AC_DEFUN([_LT_LINKER_BOILERPLATE], |
4121 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
4122 | +m4_defun([_LT_LINKER_BOILERPLATE], |
4123 | +[m4_require([_LT_DECL_SED])dnl |
4124 | ac_outfile=conftest.$ac_objext |
4125 | echo "$lt_simple_link_test_code" >conftest.$ac_ext |
4126 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
4127 | _lt_linker_boilerplate=`cat conftest.err` |
4128 | -$rm -r conftest* |
4129 | +$RM -r conftest* |
4130 | ])# _LT_LINKER_BOILERPLATE |
4131 | |
4132 | # _LT_REQUIRED_DARWIN_CHECKS |
4133 | -# -------------------------- |
4134 | -# Check for some things on darwin |
4135 | -AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ |
4136 | +# ------------------------- |
4137 | +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ |
4138 | case $host_os in |
4139 | rhapsody* | darwin*) |
4140 | AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) |
4141 | AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) |
4142 | + AC_CHECK_TOOL([LIPO], [lipo], [:]) |
4143 | + AC_CHECK_TOOL([OTOOL], [otool], [:]) |
4144 | + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) |
4145 | + _LT_DECL([], [DSYMUTIL], [1], |
4146 | + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) |
4147 | + _LT_DECL([], [NMEDIT], [1], |
4148 | + [Tool to change global to local symbols on Mac OS X]) |
4149 | + _LT_DECL([], [LIPO], [1], |
4150 | + [Tool to manipulate fat objects and archives on Mac OS X]) |
4151 | + _LT_DECL([], [OTOOL], [1], |
4152 | + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) |
4153 | + _LT_DECL([], [OTOOL64], [1], |
4154 | + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) |
4155 | |
4156 | AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], |
4157 | [lt_cv_apple_cc_single_mod=no |
4158 | if test -z "${LT_MULTI_MODULE}"; then |
4159 | - # By default we will add the -single_module flag. You can override |
4160 | - # by either setting the environment variable LT_MULTI_MODULE |
4161 | - # non-empty at configure time, or by adding -multi_module to the |
4162 | - # link flags. |
4163 | - echo "int foo(void){return 1;}" > conftest.c |
4164 | - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
4165 | - -dynamiclib ${wl}-single_module conftest.c |
4166 | - if test -f libconftest.dylib; then |
4167 | - lt_cv_apple_cc_single_mod=yes |
4168 | - rm -rf libconftest.dylib* |
4169 | - fi |
4170 | - rm conftest.c |
4171 | + # By default we will add the -single_module flag. You can override |
4172 | + # by either setting the environment variable LT_MULTI_MODULE |
4173 | + # non-empty at configure time, or by adding -multi_module to the |
4174 | + # link flags. |
4175 | + rm -rf libconftest.dylib* |
4176 | + echo "int foo(void){return 1;}" > conftest.c |
4177 | + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
4178 | +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD |
4179 | + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
4180 | + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
4181 | + _lt_result=$? |
4182 | + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
4183 | + lt_cv_apple_cc_single_mod=yes |
4184 | + else |
4185 | + cat conftest.err >&AS_MESSAGE_LOG_FD |
4186 | + fi |
4187 | + rm -rf libconftest.dylib* |
4188 | + rm -f conftest.* |
4189 | fi]) |
4190 | AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
4191 | [lt_cv_ld_exported_symbols_list], |
4192 | @@ -326,26 +950,26 @@ |
4193 | echo "_main" > conftest.sym |
4194 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
4195 | AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
4196 | - [lt_cv_ld_exported_symbols_list=yes], |
4197 | - [lt_cv_ld_exported_symbols_list=no]) |
4198 | - LDFLAGS="$save_LDFLAGS" |
4199 | + [lt_cv_ld_exported_symbols_list=yes], |
4200 | + [lt_cv_ld_exported_symbols_list=no]) |
4201 | + LDFLAGS="$save_LDFLAGS" |
4202 | ]) |
4203 | case $host_os in |
4204 | - rhapsody* | darwin1.[[0123]]) |
4205 | + rhapsody* | darwin1.[[012]]) |
4206 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
4207 | darwin1.*) |
4208 | - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
4209 | - darwin*) |
4210 | + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
4211 | + darwin*) # darwin 5.x on |
4212 | # if running on 10.5 or later, the deployment target defaults |
4213 | # to the OS version, if on x86, and 10.4, the deployment |
4214 | # target defaults to 10.4. Don't you love it? |
4215 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
4216 | - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
4217 | - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
4218 | - 10.[[012]]*) |
4219 | - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
4220 | - 10.*) |
4221 | - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
4222 | + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
4223 | + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
4224 | + 10.[[012]]*) |
4225 | + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
4226 | + 10.*) |
4227 | + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
4228 | esac |
4229 | ;; |
4230 | esac |
4231 | @@ -355,10 +979,10 @@ |
4232 | if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
4233 | _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
4234 | else |
4235 | - _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" |
4236 | + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
4237 | fi |
4238 | if test "$DSYMUTIL" != ":"; then |
4239 | - _lt_dsymutil="~$DSYMUTIL \$lib || :" |
4240 | + _lt_dsymutil='~$DSYMUTIL $lib || :' |
4241 | else |
4242 | _lt_dsymutil= |
4243 | fi |
4244 | @@ -366,17 +990,52 @@ |
4245 | esac |
4246 | ]) |
4247 | |
4248 | -# _LT_AC_SYS_LIBPATH_AIX |
4249 | -# ---------------------- |
4250 | + |
4251 | +# _LT_DARWIN_LINKER_FEATURES |
4252 | +# -------------------------- |
4253 | +# Checks for linker and compiler features on darwin |
4254 | +m4_defun([_LT_DARWIN_LINKER_FEATURES], |
4255 | +[ |
4256 | + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) |
4257 | + _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
4258 | + _LT_TAGVAR(hardcode_direct, $1)=no |
4259 | + _LT_TAGVAR(hardcode_automatic, $1)=yes |
4260 | + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
4261 | + _LT_TAGVAR(whole_archive_flag_spec, $1)='' |
4262 | + _LT_TAGVAR(link_all_deplibs, $1)=yes |
4263 | + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
4264 | + case $cc_basename in |
4265 | + ifort*) _lt_dar_can_shared=yes ;; |
4266 | + *) _lt_dar_can_shared=$GCC ;; |
4267 | + esac |
4268 | + if test "$_lt_dar_can_shared" = "yes"; then |
4269 | + output_verbose_link_cmd=echo |
4270 | + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
4271 | + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
4272 | + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
4273 | + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
4274 | + m4_if([$1], [CXX], |
4275 | +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
4276 | + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" |
4277 | + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" |
4278 | + fi |
4279 | +],[]) |
4280 | + else |
4281 | + _LT_TAGVAR(ld_shlibs, $1)=no |
4282 | + fi |
4283 | +]) |
4284 | + |
4285 | +# _LT_SYS_MODULE_PATH_AIX |
4286 | +# ----------------------- |
4287 | # Links a minimal program and checks the executable |
4288 | # for the system default hardcoded library path. In most cases, |
4289 | # this is /usr/lib:/lib, but when the MPI compilers are used |
4290 | # the location of the communication and MPI libs are included too. |
4291 | # If we don't find anything, use the default library path according |
4292 | # to the aix ld manual. |
4293 | -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], |
4294 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
4295 | -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ |
4296 | +m4_defun([_LT_SYS_MODULE_PATH_AIX], |
4297 | +[m4_require([_LT_DECL_SED])dnl |
4298 | +AC_LINK_IFELSE([AC_LANG_PROGRAM],[ |
4299 | lt_aix_libpath_sed=' |
4300 | /Import File Strings/,/^$/ { |
4301 | /^0/ { |
4302 | @@ -390,45 +1049,45 @@ |
4303 | aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
4304 | fi],[]) |
4305 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
4306 | -])# _LT_AC_SYS_LIBPATH_AIX |
4307 | - |
4308 | - |
4309 | -# _LT_AC_SHELL_INIT(ARG) |
4310 | -# ---------------------- |
4311 | -AC_DEFUN([_LT_AC_SHELL_INIT], |
4312 | +])# _LT_SYS_MODULE_PATH_AIX |
4313 | + |
4314 | + |
4315 | +# _LT_SHELL_INIT(ARG) |
4316 | +# ------------------- |
4317 | +m4_define([_LT_SHELL_INIT], |
4318 | [ifdef([AC_DIVERSION_NOTICE], |
4319 | [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], |
4320 | [AC_DIVERT_PUSH(NOTICE)]) |
4321 | $1 |
4322 | AC_DIVERT_POP |
4323 | -])# _LT_AC_SHELL_INIT |
4324 | - |
4325 | - |
4326 | -# _LT_AC_PROG_ECHO_BACKSLASH |
4327 | -# -------------------------- |
4328 | +])# _LT_SHELL_INIT |
4329 | + |
4330 | + |
4331 | +# _LT_PROG_ECHO_BACKSLASH |
4332 | +# ----------------------- |
4333 | # Add some code to the start of the generated configure script which |
4334 | # will find an echo command which doesn't interpret backslashes. |
4335 | -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], |
4336 | -[_LT_AC_SHELL_INIT([ |
4337 | +m4_defun([_LT_PROG_ECHO_BACKSLASH], |
4338 | +[_LT_SHELL_INIT([ |
4339 | # Check that we are running under the correct shell. |
4340 | SHELL=${CONFIG_SHELL-/bin/sh} |
4341 | |
4342 | -case X$ECHO in |
4343 | +case X$lt_ECHO in |
4344 | X*--fallback-echo) |
4345 | # Remove one level of quotation (which was required for Make). |
4346 | - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
4347 | + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
4348 | ;; |
4349 | esac |
4350 | |
4351 | -echo=${ECHO-echo} |
4352 | +ECHO=${lt_ECHO-echo} |
4353 | if test "X[$]1" = X--no-reexec; then |
4354 | # Discard the --no-reexec flag, and continue. |
4355 | shift |
4356 | elif test "X[$]1" = X--fallback-echo; then |
4357 | # Avoid inline document here, it may be left over |
4358 | : |
4359 | -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then |
4360 | - # Yippee, $echo works! |
4361 | +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
4362 | + # Yippee, $ECHO works! |
4363 | : |
4364 | else |
4365 | # Restart under the correct shell. |
4366 | @@ -438,9 +1097,9 @@ |
4367 | if test "X[$]1" = X--fallback-echo; then |
4368 | # used as fallback echo |
4369 | shift |
4370 | - cat <<EOF |
4371 | + cat <<_LT_EOF |
4372 | [$]* |
4373 | -EOF |
4374 | +_LT_EOF |
4375 | exit 0 |
4376 | fi |
4377 | |
4378 | @@ -448,124 +1107,127 @@ |
4379 | # if CDPATH is set. |
4380 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
4381 | |
4382 | -if test -z "$ECHO"; then |
4383 | -if test "X${echo_test_string+set}" != Xset; then |
4384 | -# find a string as large as possible, as long as the shell can cope with it |
4385 | - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
4386 | - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
4387 | - if (echo_test_string=`eval $cmd`) 2>/dev/null && |
4388 | - echo_test_string=`eval $cmd` && |
4389 | - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
4390 | - then |
4391 | - break |
4392 | - fi |
4393 | - done |
4394 | -fi |
4395 | - |
4396 | -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
4397 | - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
4398 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
4399 | - : |
4400 | -else |
4401 | - # The Solaris, AIX, and Digital Unix default echo programs unquote |
4402 | - # backslashes. This makes it impossible to quote backslashes using |
4403 | - # echo "$something" | sed 's/\\/\\\\/g' |
4404 | - # |
4405 | - # So, first we look for a working echo in the user's PATH. |
4406 | - |
4407 | - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
4408 | - for dir in $PATH /usr/ucb; do |
4409 | +if test -z "$lt_ECHO"; then |
4410 | + if test "X${echo_test_string+set}" != Xset; then |
4411 | + # find a string as large as possible, as long as the shell can cope with it |
4412 | + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
4413 | + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
4414 | + if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
4415 | + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
4416 | + then |
4417 | + break |
4418 | + fi |
4419 | + done |
4420 | + fi |
4421 | + |
4422 | + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
4423 | + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
4424 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4425 | + : |
4426 | + else |
4427 | + # The Solaris, AIX, and Digital Unix default echo programs unquote |
4428 | + # backslashes. This makes it impossible to quote backslashes using |
4429 | + # echo "$something" | sed 's/\\/\\\\/g' |
4430 | + # |
4431 | + # So, first we look for a working echo in the user's PATH. |
4432 | + |
4433 | + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
4434 | + for dir in $PATH /usr/ucb; do |
4435 | + IFS="$lt_save_ifs" |
4436 | + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
4437 | + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
4438 | + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
4439 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4440 | + ECHO="$dir/echo" |
4441 | + break |
4442 | + fi |
4443 | + done |
4444 | IFS="$lt_save_ifs" |
4445 | - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
4446 | - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
4447 | - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
4448 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
4449 | - echo="$dir/echo" |
4450 | - break |
4451 | - fi |
4452 | - done |
4453 | - IFS="$lt_save_ifs" |
4454 | |
4455 | - if test "X$echo" = Xecho; then |
4456 | - # We didn't find a better echo, so look for alternatives. |
4457 | - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && |
4458 | - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && |
4459 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
4460 | - # This shell has a builtin print -r that does the trick. |
4461 | - echo='print -r' |
4462 | - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && |
4463 | - test "X$CONFIG_SHELL" != X/bin/ksh; then |
4464 | - # If we have ksh, try running configure again with it. |
4465 | - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
4466 | - export ORIGINAL_CONFIG_SHELL |
4467 | - CONFIG_SHELL=/bin/ksh |
4468 | - export CONFIG_SHELL |
4469 | - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
4470 | - else |
4471 | - # Try using printf. |
4472 | - echo='printf %s\n' |
4473 | - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
4474 | - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
4475 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
4476 | - # Cool, printf works |
4477 | - : |
4478 | - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
4479 | - test "X$echo_testing_string" = 'X\t' && |
4480 | - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
4481 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
4482 | - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
4483 | - export CONFIG_SHELL |
4484 | - SHELL="$CONFIG_SHELL" |
4485 | - export SHELL |
4486 | - echo="$CONFIG_SHELL [$]0 --fallback-echo" |
4487 | - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
4488 | - test "X$echo_testing_string" = 'X\t' && |
4489 | - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
4490 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
4491 | - echo="$CONFIG_SHELL [$]0 --fallback-echo" |
4492 | + if test "X$ECHO" = Xecho; then |
4493 | + # We didn't find a better echo, so look for alternatives. |
4494 | + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
4495 | + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
4496 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4497 | + # This shell has a builtin print -r that does the trick. |
4498 | + ECHO='print -r' |
4499 | + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
4500 | + test "X$CONFIG_SHELL" != X/bin/ksh; then |
4501 | + # If we have ksh, try running configure again with it. |
4502 | + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
4503 | + export ORIGINAL_CONFIG_SHELL |
4504 | + CONFIG_SHELL=/bin/ksh |
4505 | + export CONFIG_SHELL |
4506 | + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
4507 | else |
4508 | - # maybe with a smaller string... |
4509 | - prev=: |
4510 | - |
4511 | - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do |
4512 | - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null |
4513 | - then |
4514 | - break |
4515 | + # Try using printf. |
4516 | + ECHO='printf %s\n' |
4517 | + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
4518 | + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
4519 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4520 | + # Cool, printf works |
4521 | + : |
4522 | + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
4523 | + test "X$echo_testing_string" = 'X\t' && |
4524 | + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
4525 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4526 | + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
4527 | + export CONFIG_SHELL |
4528 | + SHELL="$CONFIG_SHELL" |
4529 | + export SHELL |
4530 | + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
4531 | + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
4532 | + test "X$echo_testing_string" = 'X\t' && |
4533 | + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
4534 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
4535 | + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
4536 | + else |
4537 | + # maybe with a smaller string... |
4538 | + prev=: |
4539 | + |
4540 | + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do |
4541 | + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
4542 | + then |
4543 | + break |
4544 | + fi |
4545 | + prev="$cmd" |
4546 | + done |
4547 | + |
4548 | + if test "$prev" != 'sed 50q "[$]0"'; then |
4549 | + echo_test_string=`eval $prev` |
4550 | + export echo_test_string |
4551 | + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} |
4552 | + else |
4553 | + # Oops. We lost completely, so just stick with echo. |
4554 | + ECHO=echo |
4555 | fi |
4556 | - prev="$cmd" |
4557 | - done |
4558 | - |
4559 | - if test "$prev" != 'sed 50q "[$]0"'; then |
4560 | - echo_test_string=`eval $prev` |
4561 | - export echo_test_string |
4562 | - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} |
4563 | - else |
4564 | - # Oops. We lost completely, so just stick with echo. |
4565 | - echo=echo |
4566 | - fi |
4567 | + fi |
4568 | fi |
4569 | fi |
4570 | fi |
4571 | fi |
4572 | -fi |
4573 | |
4574 | # Copy echo and quote the copy suitably for passing to libtool from |
4575 | # the Makefile, instead of quoting the original, which is used later. |
4576 | -ECHO=$echo |
4577 | -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
4578 | - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
4579 | +lt_ECHO=$ECHO |
4580 | +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
4581 | + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
4582 | fi |
4583 | |
4584 | -AC_SUBST(ECHO) |
4585 | -])])# _LT_AC_PROG_ECHO_BACKSLASH |
4586 | - |
4587 | - |
4588 | -# _LT_AC_LOCK |
4589 | -# ----------- |
4590 | -AC_DEFUN([_LT_AC_LOCK], |
4591 | +AC_SUBST(lt_ECHO) |
4592 | +]) |
4593 | +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) |
4594 | +_LT_DECL([], [ECHO], [1], |
4595 | + [An echo program that does not interpret backslashes]) |
4596 | +])# _LT_PROG_ECHO_BACKSLASH |
4597 | + |
4598 | + |
4599 | +# _LT_ENABLE_LOCK |
4600 | +# --------------- |
4601 | +m4_defun([_LT_ENABLE_LOCK], |
4602 | [AC_ARG_ENABLE([libtool-lock], |
4603 | - [AC_HELP_STRING([--disable-libtool-lock], |
4604 | - [avoid locking (might break parallel builds)])]) |
4605 | + [AS_HELP_STRING([--disable-libtool-lock], |
4606 | + [avoid locking (might break parallel builds)])]) |
4607 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
4608 | |
4609 | # Some flags need to be propagated to the compiler or linker for good |
4610 | @@ -576,12 +1238,12 @@ |
4611 | echo 'int i;' > conftest.$ac_ext |
4612 | if AC_TRY_EVAL(ac_compile); then |
4613 | case `/usr/bin/file conftest.$ac_objext` in |
4614 | - *ELF-32*) |
4615 | - HPUX_IA64_MODE="32" |
4616 | - ;; |
4617 | - *ELF-64*) |
4618 | - HPUX_IA64_MODE="64" |
4619 | - ;; |
4620 | + *ELF-32*) |
4621 | + HPUX_IA64_MODE="32" |
4622 | + ;; |
4623 | + *ELF-64*) |
4624 | + HPUX_IA64_MODE="64" |
4625 | + ;; |
4626 | esac |
4627 | fi |
4628 | rm -rf conftest* |
4629 | @@ -590,79 +1252,79 @@ |
4630 | # Find out which ABI we are using. |
4631 | echo '[#]line __oline__ "configure"' > conftest.$ac_ext |
4632 | if AC_TRY_EVAL(ac_compile); then |
4633 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
4634 | - case `/usr/bin/file conftest.$ac_objext` in |
4635 | - *32-bit*) |
4636 | - LD="${LD-ld} -melf32bsmip" |
4637 | - ;; |
4638 | - *N32*) |
4639 | - LD="${LD-ld} -melf32bmipn32" |
4640 | - ;; |
4641 | - *64-bit*) |
4642 | - LD="${LD-ld} -melf64bmip" |
4643 | - ;; |
4644 | - esac |
4645 | - else |
4646 | - case `/usr/bin/file conftest.$ac_objext` in |
4647 | - *32-bit*) |
4648 | - LD="${LD-ld} -32" |
4649 | - ;; |
4650 | - *N32*) |
4651 | - LD="${LD-ld} -n32" |
4652 | - ;; |
4653 | - *64-bit*) |
4654 | - LD="${LD-ld} -64" |
4655 | - ;; |
4656 | - esac |
4657 | - fi |
4658 | + if test "$lt_cv_prog_gnu_ld" = yes; then |
4659 | + case `/usr/bin/file conftest.$ac_objext` in |
4660 | + *32-bit*) |
4661 | + LD="${LD-ld} -melf32bsmip" |
4662 | + ;; |
4663 | + *N32*) |
4664 | + LD="${LD-ld} -melf32bmipn32" |
4665 | + ;; |
4666 | + *64-bit*) |
4667 | + LD="${LD-ld} -melf64bmip" |
4668 | + ;; |
4669 | + esac |
4670 | + else |
4671 | + case `/usr/bin/file conftest.$ac_objext` in |
4672 | + *32-bit*) |
4673 | + LD="${LD-ld} -32" |
4674 | + ;; |
4675 | + *N32*) |
4676 | + LD="${LD-ld} -n32" |
4677 | + ;; |
4678 | + *64-bit*) |
4679 | + LD="${LD-ld} -64" |
4680 | + ;; |
4681 | + esac |
4682 | + fi |
4683 | fi |
4684 | rm -rf conftest* |
4685 | ;; |
4686 | |
4687 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
4688 | -s390*-*linux*|sparc*-*linux*) |
4689 | +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
4690 | # Find out which ABI we are using. |
4691 | echo 'int i;' > conftest.$ac_ext |
4692 | if AC_TRY_EVAL(ac_compile); then |
4693 | case `/usr/bin/file conftest.o` in |
4694 | - *32-bit*) |
4695 | - case $host in |
4696 | - x86_64-*kfreebsd*-gnu) |
4697 | - LD="${LD-ld} -m elf_i386_fbsd" |
4698 | - ;; |
4699 | - x86_64-*linux*) |
4700 | - LD="${LD-ld} -m elf_i386" |
4701 | - ;; |
4702 | - ppc64-*linux*|powerpc64-*linux*) |
4703 | - LD="${LD-ld} -m elf32ppclinux" |
4704 | - ;; |
4705 | - s390x-*linux*) |
4706 | - LD="${LD-ld} -m elf_s390" |
4707 | - ;; |
4708 | - sparc64-*linux*) |
4709 | - LD="${LD-ld} -m elf32_sparc" |
4710 | - ;; |
4711 | - esac |
4712 | - ;; |
4713 | - *64-bit*) |
4714 | - case $host in |
4715 | - x86_64-*kfreebsd*-gnu) |
4716 | - LD="${LD-ld} -m elf_x86_64_fbsd" |
4717 | - ;; |
4718 | - x86_64-*linux*) |
4719 | - LD="${LD-ld} -m elf_x86_64" |
4720 | - ;; |
4721 | - ppc*-*linux*|powerpc*-*linux*) |
4722 | - LD="${LD-ld} -m elf64ppc" |
4723 | - ;; |
4724 | - s390*-*linux*) |
4725 | - LD="${LD-ld} -m elf64_s390" |
4726 | - ;; |
4727 | - sparc*-*linux*) |
4728 | - LD="${LD-ld} -m elf64_sparc" |
4729 | - ;; |
4730 | - esac |
4731 | - ;; |
4732 | + *32-bit*) |
4733 | + case $host in |
4734 | + x86_64-*kfreebsd*-gnu) |
4735 | + LD="${LD-ld} -m elf_i386_fbsd" |
4736 | + ;; |
4737 | + x86_64-*linux*) |
4738 | + LD="${LD-ld} -m elf_i386" |
4739 | + ;; |
4740 | + ppc64-*linux*|powerpc64-*linux*) |
4741 | + LD="${LD-ld} -m elf32ppclinux" |
4742 | + ;; |
4743 | + s390x-*linux*) |
4744 | + LD="${LD-ld} -m elf_s390" |
4745 | + ;; |
4746 | + sparc64-*linux*) |
4747 | + LD="${LD-ld} -m elf32_sparc" |
4748 | + ;; |
4749 | + esac |
4750 | + ;; |
4751 | + *64-bit*) |
4752 | + case $host in |
4753 | + x86_64-*kfreebsd*-gnu) |
4754 | + LD="${LD-ld} -m elf_x86_64_fbsd" |
4755 | + ;; |
4756 | + x86_64-*linux*) |
4757 | + LD="${LD-ld} -m elf_x86_64" |
4758 | + ;; |
4759 | + ppc*-*linux*|powerpc*-*linux*) |
4760 | + LD="${LD-ld} -m elf64ppc" |
4761 | + ;; |
4762 | + s390*-*linux*|s390*-*tpf*) |
4763 | + LD="${LD-ld} -m elf64_s390" |
4764 | + ;; |
4765 | + sparc*-*linux*) |
4766 | + LD="${LD-ld} -m elf64_sparc" |
4767 | + ;; |
4768 | + esac |
4769 | + ;; |
4770 | esac |
4771 | fi |
4772 | rm -rf conftest* |
4773 | @@ -674,7 +1336,7 @@ |
4774 | CFLAGS="$CFLAGS -belf" |
4775 | AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, |
4776 | [AC_LANG_PUSH(C) |
4777 | - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) |
4778 | + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) |
4779 | AC_LANG_POP]) |
4780 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4781 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4782 | @@ -690,7 +1352,7 @@ |
4783 | case $lt_cv_prog_gnu_ld in |
4784 | yes*) LD="${LD-ld} -m elf64_sparc" ;; |
4785 | *) |
4786 | - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
4787 | + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
4788 | LD="${LD-ld} -64" |
4789 | fi |
4790 | ;; |
4791 | @@ -700,30 +1362,63 @@ |
4792 | fi |
4793 | rm -rf conftest* |
4794 | ;; |
4795 | - |
4796 | -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], |
4797 | -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) |
4798 | - AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
4799 | - AC_CHECK_TOOL(AS, as, false) |
4800 | - AC_CHECK_TOOL(OBJDUMP, objdump, false) |
4801 | - ;; |
4802 | - ]) |
4803 | esac |
4804 | |
4805 | need_locks="$enable_libtool_lock" |
4806 | - |
4807 | -])# _LT_AC_LOCK |
4808 | - |
4809 | - |
4810 | -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
4811 | +])# _LT_ENABLE_LOCK |
4812 | + |
4813 | + |
4814 | +# _LT_CMD_OLD_ARCHIVE |
4815 | +# ------------------- |
4816 | +m4_defun([_LT_CMD_OLD_ARCHIVE], |
4817 | +[AC_CHECK_TOOL(AR, ar, false) |
4818 | +test -z "$AR" && AR=ar |
4819 | +test -z "$AR_FLAGS" && AR_FLAGS=cru |
4820 | +_LT_DECL([], [AR], [1], [The archiver]) |
4821 | +_LT_DECL([], [AR_FLAGS], [1]) |
4822 | + |
4823 | +AC_CHECK_TOOL(STRIP, strip, :) |
4824 | +test -z "$STRIP" && STRIP=: |
4825 | +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) |
4826 | + |
4827 | +AC_CHECK_TOOL(RANLIB, ranlib, :) |
4828 | +test -z "$RANLIB" && RANLIB=: |
4829 | +_LT_DECL([], [RANLIB], [1], |
4830 | + [Commands used to install an old-style archive]) |
4831 | + |
4832 | +# Determine commands to create old-style static archives. |
4833 | +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
4834 | +old_postinstall_cmds='chmod 644 $oldlib' |
4835 | +old_postuninstall_cmds= |
4836 | + |
4837 | +if test -n "$RANLIB"; then |
4838 | + case $host_os in |
4839 | + openbsd*) |
4840 | + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
4841 | + ;; |
4842 | + *) |
4843 | + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
4844 | + ;; |
4845 | + esac |
4846 | + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
4847 | +fi |
4848 | +_LT_DECL([], [old_postinstall_cmds], [2]) |
4849 | +_LT_DECL([], [old_postuninstall_cmds], [2]) |
4850 | +_LT_TAGDECL([], [old_archive_cmds], [2], |
4851 | + [Commands used to build an old-style archive]) |
4852 | +])# _LT_CMD_OLD_ARCHIVE |
4853 | + |
4854 | + |
4855 | +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
4856 | # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) |
4857 | # ---------------------------------------------------------------- |
4858 | # Check whether the given compiler option works |
4859 | -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], |
4860 | -[AC_REQUIRE([LT_AC_PROG_SED]) |
4861 | +AC_DEFUN([_LT_COMPILER_OPTION], |
4862 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
4863 | +m4_require([_LT_DECL_SED])dnl |
4864 | AC_CACHE_CHECK([$1], [$2], |
4865 | [$2=no |
4866 | - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) |
4867 | + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) |
4868 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
4869 | lt_compiler_flag="$3" |
4870 | # Insert the option either (1) after the last *FLAGS variable, or |
4871 | @@ -743,29 +1438,35 @@ |
4872 | if (exit $ac_status) && test -s "$ac_outfile"; then |
4873 | # The compiler can only warn and ignore the option if not recognized |
4874 | # So say no if there are warnings other than the usual output. |
4875 | - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
4876 | + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
4877 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
4878 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
4879 | $2=yes |
4880 | fi |
4881 | fi |
4882 | - $rm conftest* |
4883 | + $RM conftest* |
4884 | ]) |
4885 | |
4886 | if test x"[$]$2" = xyes; then |
4887 | - ifelse([$5], , :, [$5]) |
4888 | + m4_if([$5], , :, [$5]) |
4889 | else |
4890 | - ifelse([$6], , :, [$6]) |
4891 | + m4_if([$6], , :, [$6]) |
4892 | fi |
4893 | -])# AC_LIBTOOL_COMPILER_OPTION |
4894 | - |
4895 | - |
4896 | -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
4897 | -# [ACTION-SUCCESS], [ACTION-FAILURE]) |
4898 | -# ------------------------------------------------------------ |
4899 | -# Check whether the given compiler option works |
4900 | -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], |
4901 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
4902 | +])# _LT_COMPILER_OPTION |
4903 | + |
4904 | +# Old name: |
4905 | +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) |
4906 | +dnl aclocal-1.4 backwards compatibility: |
4907 | +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) |
4908 | + |
4909 | + |
4910 | +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
4911 | +# [ACTION-SUCCESS], [ACTION-FAILURE]) |
4912 | +# ---------------------------------------------------- |
4913 | +# Check whether the given linker option works |
4914 | +AC_DEFUN([_LT_LINKER_OPTION], |
4915 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
4916 | +m4_require([_LT_DECL_SED])dnl |
4917 | AC_CACHE_CHECK([$1], [$2], |
4918 | [$2=no |
4919 | save_LDFLAGS="$LDFLAGS" |
4920 | @@ -777,7 +1478,7 @@ |
4921 | if test -s conftest.err; then |
4922 | # Append any errors to the config.log. |
4923 | cat conftest.err 1>&AS_MESSAGE_LOG_FD |
4924 | - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
4925 | + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
4926 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
4927 | if diff conftest.exp conftest.er2 >/dev/null; then |
4928 | $2=yes |
4929 | @@ -786,22 +1487,28 @@ |
4930 | $2=yes |
4931 | fi |
4932 | fi |
4933 | - $rm -r conftest* |
4934 | + $RM -r conftest* |
4935 | LDFLAGS="$save_LDFLAGS" |
4936 | ]) |
4937 | |
4938 | if test x"[$]$2" = xyes; then |
4939 | - ifelse([$4], , :, [$4]) |
4940 | + m4_if([$4], , :, [$4]) |
4941 | else |
4942 | - ifelse([$5], , :, [$5]) |
4943 | + m4_if([$5], , :, [$5]) |
4944 | fi |
4945 | -])# AC_LIBTOOL_LINKER_OPTION |
4946 | - |
4947 | - |
4948 | -# AC_LIBTOOL_SYS_MAX_CMD_LEN |
4949 | -# -------------------------- |
4950 | -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], |
4951 | -[# find the maximum length of command line arguments |
4952 | +])# _LT_LINKER_OPTION |
4953 | + |
4954 | +# Old name: |
4955 | +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) |
4956 | +dnl aclocal-1.4 backwards compatibility: |
4957 | +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) |
4958 | + |
4959 | + |
4960 | +# LT_CMD_MAX_LEN |
4961 | +#--------------- |
4962 | +AC_DEFUN([LT_CMD_MAX_LEN], |
4963 | +[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
4964 | +# find the maximum length of command line arguments |
4965 | AC_MSG_CHECKING([the maximum length of command line arguments]) |
4966 | AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
4967 | i=0 |
4968 | @@ -823,7 +1530,7 @@ |
4969 | lt_cv_sys_max_cmd_len=-1; |
4970 | ;; |
4971 | |
4972 | - cygwin* | mingw*) |
4973 | + cygwin* | mingw* | cegcc*) |
4974 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
4975 | # about 5 minutes as the teststring grows exponentially. |
4976 | # Worse, since 9x/ME are not pre-emptively multitasking, |
4977 | @@ -878,7 +1585,7 @@ |
4978 | sysv5* | sco5v6* | sysv4.2uw2*) |
4979 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
4980 | if test -n "$kargmax"; then |
4981 | - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
4982 | + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
4983 | else |
4984 | lt_cv_sys_max_cmd_len=32768 |
4985 | fi |
4986 | @@ -889,20 +1596,28 @@ |
4987 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
4988 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
4989 | else |
4990 | + # Make teststring a little bigger before we do anything with it. |
4991 | + # a 1K string should be a reasonable start. |
4992 | + for i in 1 2 3 4 5 6 7 8 ; do |
4993 | + teststring=$teststring$teststring |
4994 | + done |
4995 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
4996 | - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ |
4997 | - = "XX$teststring") >/dev/null 2>&1 && |
4998 | - new_result=`expr "X$teststring" : ".*" 2>&1` && |
4999 | - lt_cv_sys_max_cmd_len=$new_result && |
5000 | + # If test is not a shell built-in, we'll probably end up computing a |
The diff has been truncated for viewing.