Status: | Merged |
---|---|
Merged at revision: | 8 |
Proposed branch: | lp:~oif-team/ginn/cleanup |
Merge into: | lp:ginn |
Diff against target: |
83667 lines (+1016/-82523) 25 files modified
.bzrignore (+2/-0) gestTest/Makefile (+0/-721) gestTest/Makefile.in (+0/-721) gestTest/aclocal.m4 (+0/-9297) gestTest/autom4te.cache/output.0 (+0/-14037) gestTest/autom4te.cache/output.1 (+0/-14033) gestTest/autom4te.cache/requests (+0/-280) gestTest/autom4te.cache/traces.0 (+0/-2632) gestTest/autom4te.cache/traces.1 (+0/-612) gestTest/config.guess (+0/-1502) gestTest/config.log (+0/-663) gestTest/config.status (+0/-1930) gestTest/config.sub (+0/-1714) gestTest/configure (+0/-14033) gestTest/depcomp (+0/-630) gestTest/install-sh (+0/-520) gestTest/libtool (+0/-8900) gestTest/ltmain.sh (+0/-8413) gestTest/missing (+0/-376) gestTest/src/Makefile (+0/-627) gestTest/src/Makefile.in (+0/-627) gestTest/src/gesture.c (+467/-0) gestTest/src/gesture.h (+547/-0) gestTest/src/gesture.xml (+0/-99) gestTest/src/gesturetest.1 (+0/-156) |
To merge this branch: | bzr merge lp:~oif-team/ginn/cleanup |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mohamed IKBEL Boulabiar (community) | Approve | ||
Review via email: mp+35516@code.launchpad.net |
Commit message
Description of the change
Some cleanup before starting. gestTest does not compile, but maybe focus
should be shifted to the geis version in src anyways?
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 | === added file '.bzrignore' |
2 | --- .bzrignore 1970-01-01 00:00:00 +0000 |
3 | +++ .bzrignore 2010-09-15 11:11:07 +0000 |
4 | @@ -0,0 +1,2 @@ |
5 | +.git |
6 | +.gitignore |
7 | |
8 | === removed file 'gestTest/Makefile' |
9 | --- gestTest/Makefile 2010-08-20 10:00:34 +0000 |
10 | +++ gestTest/Makefile 1970-01-01 00:00:00 +0000 |
11 | @@ -1,721 +0,0 @@ |
12 | -# Makefile.in generated by automake 1.11.1 from Makefile.am. |
13 | -# Makefile. Generated from Makefile.in by configure. |
14 | - |
15 | -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
16 | -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
17 | -# Inc. |
18 | -# This Makefile.in is free software; the Free Software Foundation |
19 | -# gives unlimited permission to copy and/or distribute it, |
20 | -# with or without modifications, as long as this notice is preserved. |
21 | - |
22 | -# This program is distributed in the hope that it will be useful, |
23 | -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
24 | -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
25 | -# PARTICULAR PURPOSE. |
26 | - |
27 | - |
28 | - |
29 | -pkgdatadir = $(datadir)/utouch-gesturetest |
30 | -pkgincludedir = $(includedir)/utouch-gesturetest |
31 | -pkglibdir = $(libdir)/utouch-gesturetest |
32 | -pkglibexecdir = $(libexecdir)/utouch-gesturetest |
33 | -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
34 | -install_sh_DATA = $(install_sh) -c -m 644 |
35 | -install_sh_PROGRAM = $(install_sh) -c |
36 | -install_sh_SCRIPT = $(install_sh) -c |
37 | -INSTALL_HEADER = $(INSTALL_DATA) |
38 | -transform = $(program_transform_name) |
39 | -NORMAL_INSTALL = : |
40 | -PRE_INSTALL = : |
41 | -POST_INSTALL = : |
42 | -NORMAL_UNINSTALL = : |
43 | -PRE_UNINSTALL = : |
44 | -POST_UNINSTALL = : |
45 | -build_triplet = i686-pc-linux-gnu |
46 | -host_triplet = i686-pc-linux-gnu |
47 | -subdir = . |
48 | -DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ |
49 | - $(srcdir)/Makefile.in $(top_srcdir)/configure COPYING INSTALL \ |
50 | - config.guess config.sub depcomp install-sh ltmain.sh missing |
51 | -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
52 | -am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
53 | -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
54 | - $(ACLOCAL_M4) |
55 | -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
56 | - configure.lineno config.status.lineno |
57 | -mkinstalldirs = $(install_sh) -d |
58 | -CONFIG_CLEAN_FILES = |
59 | -CONFIG_CLEAN_VPATH_FILES = |
60 | -SOURCES = |
61 | -DIST_SOURCES = |
62 | -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
63 | - html-recursive info-recursive install-data-recursive \ |
64 | - install-dvi-recursive install-exec-recursive \ |
65 | - install-html-recursive install-info-recursive \ |
66 | - install-pdf-recursive install-ps-recursive install-recursive \ |
67 | - installcheck-recursive installdirs-recursive pdf-recursive \ |
68 | - ps-recursive uninstall-recursive |
69 | -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
70 | - distclean-recursive maintainer-clean-recursive |
71 | -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
72 | - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
73 | - distdir dist dist-all distcheck |
74 | -ETAGS = etags |
75 | -CTAGS = ctags |
76 | -DIST_SUBDIRS = $(SUBDIRS) |
77 | -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
78 | -distdir = $(PACKAGE)-$(VERSION) |
79 | -top_distdir = $(distdir) |
80 | -am__remove_distdir = \ |
81 | - { test ! -d "$(distdir)" \ |
82 | - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
83 | - && rm -fr "$(distdir)"; }; } |
84 | -am__relativize = \ |
85 | - dir0=`pwd`; \ |
86 | - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
87 | - sed_rest='s,^[^/]*/*,,'; \ |
88 | - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
89 | - sed_butlast='s,/*[^/]*$$,,'; \ |
90 | - while test -n "$$dir1"; do \ |
91 | - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
92 | - if test "$$first" != "."; then \ |
93 | - if test "$$first" = ".."; then \ |
94 | - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
95 | - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
96 | - else \ |
97 | - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
98 | - if test "$$first2" = "$$first"; then \ |
99 | - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
100 | - else \ |
101 | - dir2="../$$dir2"; \ |
102 | - fi; \ |
103 | - dir0="$$dir0"/"$$first"; \ |
104 | - fi; \ |
105 | - fi; \ |
106 | - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
107 | - done; \ |
108 | - reldir="$$dir2" |
109 | -DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 |
110 | -GZIP_ENV = --best |
111 | -distuninstallcheck_listfiles = find . -type f -print |
112 | -distcleancheck_listfiles = find . -type f -print |
113 | -ACLOCAL = ${SHELL} /home/boulabiar/Canonical/Ikbel/Ginn/gestTest/missing --run aclocal-1.11 |
114 | -AMTAR = ${SHELL} /home/boulabiar/Canonical/Ikbel/Ginn/gestTest/missing --run tar |
115 | -AR = ar |
116 | -AUTOCONF = ${SHELL} /home/boulabiar/Canonical/Ikbel/Ginn/gestTest/missing --run autoconf |
117 | -AUTOHEADER = ${SHELL} /home/boulabiar/Canonical/Ikbel/Ginn/gestTest/missing --run autoheader |
118 | -AUTOMAKE = ${SHELL} /home/boulabiar/Canonical/Ikbel/Ginn/gestTest/missing --run automake-1.11 |
119 | -AWK = gawk |
120 | -CC = gcc |
121 | -CCDEPMODE = depmode=gcc3 |
122 | -CFLAGS = -g -O2 |
123 | -CPP = gcc -E |
124 | -CPPFLAGS = |
125 | -CWARNFLAGS = -Wall -pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wnested-externs |
126 | -CYGPATH_W = echo |
127 | -DEFS = -DPACKAGE_NAME=\"utouch-gesturetest\" -DPACKAGE_TARNAME=\"utouch-gesturetest\" -DPACKAGE_VERSION=\"1.0.4\" -DPACKAGE_STRING=\"utouch-gesturetest\ 1.0.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"utouch-gesturetest\" -DVERSION=\"1.0.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 |
128 | -DEPDIR = .deps |
129 | -DSYMUTIL = |
130 | -DUMPBIN = |
131 | -ECHO_C = |
132 | -ECHO_N = -n |
133 | -ECHO_T = |
134 | -EGREP = /bin/grep -E |
135 | -EXEEXT = |
136 | -FGREP = /bin/grep -F |
137 | -GREP = /bin/grep |
138 | -INSTALL = /usr/bin/install -c |
139 | -INSTALL_DATA = ${INSTALL} -m 644 |
140 | -INSTALL_PROGRAM = ${INSTALL} |
141 | -INSTALL_SCRIPT = ${INSTALL} |
142 | -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s |
143 | -LD = /usr/bin/ld |
144 | -LDFLAGS = |
145 | -LIBOBJS = |
146 | -LIBS = |
147 | -LIBTOOL = $(SHELL) $(top_builddir)/libtool |
148 | -LIPO = |
149 | -LN_S = ln -s |
150 | -LTLIBOBJS = |
151 | -MAKEINFO = ${SHELL} /home/boulabiar/Canonical/Ikbel/Ginn/gestTest/missing --run makeinfo |
152 | -MKDIR_P = /bin/mkdir -p |
153 | -NEEDED = xcb xcb-icccm |
154 | -NEEDED_CFLAGS = |
155 | -NEEDED_LIBS = -lxcb-icccm -lxcb-atom -lxcb-property -lxcb-event -lxcb |
156 | -NM = /usr/bin/nm -B |
157 | -NMEDIT = |
158 | -OBJDUMP = objdump |
159 | -OBJEXT = o |
160 | -OTOOL = |
161 | -OTOOL64 = |
162 | -PACKAGE = utouch-gesturetest |
163 | -PACKAGE_BUGREPORT = |
164 | -PACKAGE_NAME = utouch-gesturetest |
165 | -PACKAGE_STRING = utouch-gesturetest 1.0.4 |
166 | -PACKAGE_TARNAME = utouch-gesturetest |
167 | -PACKAGE_URL = |
168 | -PACKAGE_VERSION = 1.0.4 |
169 | -PATH_SEPARATOR = : |
170 | -PKG_CONFIG = /usr/bin/pkg-config |
171 | -PKG_CONFIG_LIBDIR = |
172 | -PKG_CONFIG_PATH = |
173 | -PYTHON = /usr/bin/python |
174 | -PYTHON_EXEC_PREFIX = ${exec_prefix} |
175 | -PYTHON_PLATFORM = linux2 |
176 | -PYTHON_PREFIX = ${prefix} |
177 | -PYTHON_VERSION = 2.6 |
178 | -RANLIB = ranlib |
179 | -SED = /bin/sed |
180 | -SET_MAKE = |
181 | -SHELL = /bin/bash |
182 | -STRIP = strip |
183 | -VERSION = 1.0.4 |
184 | -XCBINCLUDEDIR = /usr/include |
185 | -XCBPROTO_CFLAGS = |
186 | -XCBPROTO_LIBS = |
187 | -XCBPROTO_VERSION = 1.6 |
188 | -XCBPROTO_XCBINCLUDEDIR = /usr/share/xcb |
189 | -XCBPROTO_XCBPYTHONDIR = /usr/lib/python2.6/dist-packages |
190 | -XSLTPROC = /usr/bin/xsltproc |
191 | -abs_builddir = /home/boulabiar/Canonical/Ikbel/Ginn/gestTest |
192 | -abs_srcdir = /home/boulabiar/Canonical/Ikbel/Ginn/gestTest |
193 | -abs_top_builddir = /home/boulabiar/Canonical/Ikbel/Ginn/gestTest |
194 | -abs_top_srcdir = /home/boulabiar/Canonical/Ikbel/Ginn/gestTest |
195 | -ac_ct_CC = gcc |
196 | -ac_ct_DUMPBIN = |
197 | -am__include = include |
198 | -am__leading_dot = . |
199 | -am__quote = |
200 | -am__tar = ${AMTAR} chof - "$$tardir" |
201 | -am__untar = ${AMTAR} xf - |
202 | -bindir = ${exec_prefix}/bin |
203 | -build = i686-pc-linux-gnu |
204 | -build_alias = |
205 | -build_cpu = i686 |
206 | -build_os = linux-gnu |
207 | -build_vendor = pc |
208 | -builddir = . |
209 | -datadir = ${datarootdir} |
210 | -datarootdir = ${prefix}/share |
211 | -docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} |
212 | -dvidir = ${docdir} |
213 | -exec_prefix = ${prefix} |
214 | -host = i686-pc-linux-gnu |
215 | -host_alias = |
216 | -host_cpu = i686 |
217 | -host_os = linux-gnu |
218 | -host_vendor = pc |
219 | -htmldir = ${docdir} |
220 | -includedir = ${prefix}/include |
221 | -infodir = ${datarootdir}/info |
222 | -install_sh = ${SHELL} /home/boulabiar/Canonical/Ikbel/Ginn/gestTest/install-sh |
223 | -libdir = ${exec_prefix}/lib |
224 | -libexecdir = ${exec_prefix}/libexec |
225 | -localedir = ${datarootdir}/locale |
226 | -localstatedir = ${prefix}/var |
227 | -lt_ECHO = echo |
228 | -mandir = ${datarootdir}/man |
229 | -mkdir_p = /bin/mkdir -p |
230 | -oldincludedir = /usr/include |
231 | -pdfdir = ${docdir} |
232 | -pkgpyexecdir = ${pyexecdir}/utouch-gesturetest |
233 | -pkgpythondir = ${pythondir}/utouch-gesturetest |
234 | -prefix = /usr/local |
235 | -program_transform_name = s,x,x, |
236 | -psdir = ${docdir} |
237 | -pyexecdir = ${exec_prefix}/lib/python2.6/dist-packages |
238 | -pythondir = ${prefix}/lib/python2.6/dist-packages |
239 | -sbindir = ${exec_prefix}/sbin |
240 | -sharedstatedir = ${prefix}/com |
241 | -srcdir = . |
242 | -sysconfdir = ${prefix}/etc |
243 | -target_alias = |
244 | -top_build_prefix = |
245 | -top_builddir = . |
246 | -top_srcdir = . |
247 | -xcbincludedir = ${includedir}/xcb |
248 | -SUBDIRS = src |
249 | -EXTRA_DIST = \ |
250 | -autogen.sh \ |
251 | -COPYING.xcbgen |
252 | - |
253 | -all: all-recursive |
254 | - |
255 | -.SUFFIXES: |
256 | -am--refresh: |
257 | - @: |
258 | -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
259 | - @for dep in $?; do \ |
260 | - case '$(am__configure_deps)' in \ |
261 | - *$$dep*) \ |
262 | - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ |
263 | - $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ |
264 | - && exit 0; \ |
265 | - exit 1;; \ |
266 | - esac; \ |
267 | - done; \ |
268 | - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ |
269 | - $(am__cd) $(top_srcdir) && \ |
270 | - $(AUTOMAKE) --foreign Makefile |
271 | -.PRECIOUS: Makefile |
272 | -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
273 | - @case '$?' in \ |
274 | - *config.status*) \ |
275 | - echo ' $(SHELL) ./config.status'; \ |
276 | - $(SHELL) ./config.status;; \ |
277 | - *) \ |
278 | - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
279 | - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
280 | - esac; |
281 | - |
282 | -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
283 | - $(SHELL) ./config.status --recheck |
284 | - |
285 | -$(top_srcdir)/configure: $(am__configure_deps) |
286 | - $(am__cd) $(srcdir) && $(AUTOCONF) |
287 | -$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
288 | - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
289 | -$(am__aclocal_m4_deps): |
290 | - |
291 | -mostlyclean-libtool: |
292 | - -rm -f *.lo |
293 | - |
294 | -clean-libtool: |
295 | - -rm -rf .libs _libs |
296 | - |
297 | -distclean-libtool: |
298 | - -rm -f libtool config.lt |
299 | - |
300 | -# This directory's subdirectories are mostly independent; you can cd |
301 | -# into them and run `make' without going through this Makefile. |
302 | -# To change the values of `make' variables: instead of editing Makefiles, |
303 | -# (1) if the variable is set in `config.status', edit `config.status' |
304 | -# (which will cause the Makefiles to be regenerated when you run `make'); |
305 | -# (2) otherwise, pass the desired values on the `make' command line. |
306 | -$(RECURSIVE_TARGETS): |
307 | - @fail= failcom='exit 1'; \ |
308 | - for f in x $$MAKEFLAGS; do \ |
309 | - case $$f in \ |
310 | - *=* | --[!k]*);; \ |
311 | - *k*) failcom='fail=yes';; \ |
312 | - esac; \ |
313 | - done; \ |
314 | - dot_seen=no; \ |
315 | - target=`echo $@ | sed s/-recursive//`; \ |
316 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
317 | - echo "Making $$target in $$subdir"; \ |
318 | - if test "$$subdir" = "."; then \ |
319 | - dot_seen=yes; \ |
320 | - local_target="$$target-am"; \ |
321 | - else \ |
322 | - local_target="$$target"; \ |
323 | - fi; \ |
324 | - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
325 | - || eval $$failcom; \ |
326 | - done; \ |
327 | - if test "$$dot_seen" = "no"; then \ |
328 | - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
329 | - fi; test -z "$$fail" |
330 | - |
331 | -$(RECURSIVE_CLEAN_TARGETS): |
332 | - @fail= failcom='exit 1'; \ |
333 | - for f in x $$MAKEFLAGS; do \ |
334 | - case $$f in \ |
335 | - *=* | --[!k]*);; \ |
336 | - *k*) failcom='fail=yes';; \ |
337 | - esac; \ |
338 | - done; \ |
339 | - dot_seen=no; \ |
340 | - case "$@" in \ |
341 | - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
342 | - *) list='$(SUBDIRS)' ;; \ |
343 | - esac; \ |
344 | - rev=''; for subdir in $$list; do \ |
345 | - if test "$$subdir" = "."; then :; else \ |
346 | - rev="$$subdir $$rev"; \ |
347 | - fi; \ |
348 | - done; \ |
349 | - rev="$$rev ."; \ |
350 | - target=`echo $@ | sed s/-recursive//`; \ |
351 | - for subdir in $$rev; do \ |
352 | - echo "Making $$target in $$subdir"; \ |
353 | - if test "$$subdir" = "."; then \ |
354 | - local_target="$$target-am"; \ |
355 | - else \ |
356 | - local_target="$$target"; \ |
357 | - fi; \ |
358 | - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
359 | - || eval $$failcom; \ |
360 | - done && test -z "$$fail" |
361 | -tags-recursive: |
362 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
363 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
364 | - done |
365 | -ctags-recursive: |
366 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
367 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
368 | - done |
369 | - |
370 | -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
371 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
372 | - unique=`for i in $$list; do \ |
373 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
374 | - done | \ |
375 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
376 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
377 | - mkid -fID $$unique |
378 | -tags: TAGS |
379 | - |
380 | -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
381 | - $(TAGS_FILES) $(LISP) |
382 | - set x; \ |
383 | - here=`pwd`; \ |
384 | - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
385 | - include_option=--etags-include; \ |
386 | - empty_fix=.; \ |
387 | - else \ |
388 | - include_option=--include; \ |
389 | - empty_fix=; \ |
390 | - fi; \ |
391 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
392 | - if test "$$subdir" = .; then :; else \ |
393 | - test ! -f $$subdir/TAGS || \ |
394 | - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
395 | - fi; \ |
396 | - done; \ |
397 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
398 | - unique=`for i in $$list; do \ |
399 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
400 | - done | \ |
401 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
402 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
403 | - shift; \ |
404 | - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
405 | - test -n "$$unique" || unique=$$empty_fix; \ |
406 | - if test $$# -gt 0; then \ |
407 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
408 | - "$$@" $$unique; \ |
409 | - else \ |
410 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
411 | - $$unique; \ |
412 | - fi; \ |
413 | - fi |
414 | -ctags: CTAGS |
415 | -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
416 | - $(TAGS_FILES) $(LISP) |
417 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
418 | - unique=`for i in $$list; do \ |
419 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
420 | - done | \ |
421 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
422 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
423 | - test -z "$(CTAGS_ARGS)$$unique" \ |
424 | - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
425 | - $$unique |
426 | - |
427 | -GTAGS: |
428 | - here=`$(am__cd) $(top_builddir) && pwd` \ |
429 | - && $(am__cd) $(top_srcdir) \ |
430 | - && gtags -i $(GTAGS_ARGS) "$$here" |
431 | - |
432 | -distclean-tags: |
433 | - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
434 | - |
435 | -distdir: $(DISTFILES) |
436 | - $(am__remove_distdir) |
437 | - test -d "$(distdir)" || mkdir "$(distdir)" |
438 | - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
439 | - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
440 | - list='$(DISTFILES)'; \ |
441 | - dist_files=`for file in $$list; do echo $$file; done | \ |
442 | - sed -e "s|^$$srcdirstrip/||;t" \ |
443 | - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
444 | - case $$dist_files in \ |
445 | - */*) $(MKDIR_P) `echo "$$dist_files" | \ |
446 | - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
447 | - sort -u` ;; \ |
448 | - esac; \ |
449 | - for file in $$dist_files; do \ |
450 | - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
451 | - if test -d $$d/$$file; then \ |
452 | - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
453 | - if test -d "$(distdir)/$$file"; then \ |
454 | - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
455 | - fi; \ |
456 | - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
457 | - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
458 | - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
459 | - fi; \ |
460 | - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
461 | - else \ |
462 | - test -f "$(distdir)/$$file" \ |
463 | - || cp -p $$d/$$file "$(distdir)/$$file" \ |
464 | - || exit 1; \ |
465 | - fi; \ |
466 | - done |
467 | - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
468 | - if test "$$subdir" = .; then :; else \ |
469 | - test -d "$(distdir)/$$subdir" \ |
470 | - || $(MKDIR_P) "$(distdir)/$$subdir" \ |
471 | - || exit 1; \ |
472 | - fi; \ |
473 | - done |
474 | - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
475 | - if test "$$subdir" = .; then :; else \ |
476 | - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
477 | - $(am__relativize); \ |
478 | - new_distdir=$$reldir; \ |
479 | - dir1=$$subdir; dir2="$(top_distdir)"; \ |
480 | - $(am__relativize); \ |
481 | - new_top_distdir=$$reldir; \ |
482 | - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
483 | - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
484 | - ($(am__cd) $$subdir && \ |
485 | - $(MAKE) $(AM_MAKEFLAGS) \ |
486 | - top_distdir="$$new_top_distdir" \ |
487 | - distdir="$$new_distdir" \ |
488 | - am__remove_distdir=: \ |
489 | - am__skip_length_check=: \ |
490 | - am__skip_mode_fix=: \ |
491 | - distdir) \ |
492 | - || exit 1; \ |
493 | - fi; \ |
494 | - done |
495 | - -test -n "$(am__skip_mode_fix)" \ |
496 | - || find "$(distdir)" -type d ! -perm -755 \ |
497 | - -exec chmod u+rwx,go+rx {} \; -o \ |
498 | - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
499 | - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
500 | - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
501 | - || chmod -R a+r "$(distdir)" |
502 | -dist-gzip: distdir |
503 | - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
504 | - $(am__remove_distdir) |
505 | -dist-bzip2: distdir |
506 | - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
507 | - $(am__remove_distdir) |
508 | - |
509 | -dist-lzma: distdir |
510 | - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
511 | - $(am__remove_distdir) |
512 | - |
513 | -dist-xz: distdir |
514 | - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
515 | - $(am__remove_distdir) |
516 | - |
517 | -dist-tarZ: distdir |
518 | - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
519 | - $(am__remove_distdir) |
520 | - |
521 | -dist-shar: distdir |
522 | - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
523 | - $(am__remove_distdir) |
524 | - |
525 | -dist-zip: distdir |
526 | - -rm -f $(distdir).zip |
527 | - zip -rq $(distdir).zip $(distdir) |
528 | - $(am__remove_distdir) |
529 | - |
530 | -dist dist-all: distdir |
531 | - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
532 | - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
533 | - $(am__remove_distdir) |
534 | - |
535 | -# This target untars the dist file and tries a VPATH configuration. Then |
536 | -# it guarantees that the distribution is self-contained by making another |
537 | -# tarfile. |
538 | -distcheck: dist |
539 | - case '$(DIST_ARCHIVES)' in \ |
540 | - *.tar.gz*) \ |
541 | - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
542 | - *.tar.bz2*) \ |
543 | - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
544 | - *.tar.lzma*) \ |
545 | - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
546 | - *.tar.xz*) \ |
547 | - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
548 | - *.tar.Z*) \ |
549 | - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
550 | - *.shar.gz*) \ |
551 | - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
552 | - *.zip*) \ |
553 | - unzip $(distdir).zip ;;\ |
554 | - esac |
555 | - chmod -R a-w $(distdir); chmod a+w $(distdir) |
556 | - mkdir $(distdir)/_build |
557 | - mkdir $(distdir)/_inst |
558 | - chmod a-w $(distdir) |
559 | - test -d $(distdir)/_build || exit 0; \ |
560 | - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
561 | - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
562 | - && am__cwd=`pwd` \ |
563 | - && $(am__cd) $(distdir)/_build \ |
564 | - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
565 | - $(DISTCHECK_CONFIGURE_FLAGS) \ |
566 | - && $(MAKE) $(AM_MAKEFLAGS) \ |
567 | - && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
568 | - && $(MAKE) $(AM_MAKEFLAGS) check \ |
569 | - && $(MAKE) $(AM_MAKEFLAGS) install \ |
570 | - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
571 | - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
572 | - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
573 | - distuninstallcheck \ |
574 | - && chmod -R a-w "$$dc_install_base" \ |
575 | - && ({ \ |
576 | - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
577 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
578 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
579 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
580 | - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
581 | - } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
582 | - && rm -rf "$$dc_destdir" \ |
583 | - && $(MAKE) $(AM_MAKEFLAGS) dist \ |
584 | - && rm -rf $(DIST_ARCHIVES) \ |
585 | - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
586 | - && cd "$$am__cwd" \ |
587 | - || exit 1 |
588 | - $(am__remove_distdir) |
589 | - @(echo "$(distdir) archives ready for distribution: "; \ |
590 | - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
591 | - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
592 | -distuninstallcheck: |
593 | - @$(am__cd) '$(distuninstallcheck_dir)' \ |
594 | - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
595 | - || { echo "ERROR: files left after uninstall:" ; \ |
596 | - if test -n "$(DESTDIR)"; then \ |
597 | - echo " (check DESTDIR support)"; \ |
598 | - fi ; \ |
599 | - $(distuninstallcheck_listfiles) ; \ |
600 | - exit 1; } >&2 |
601 | -distcleancheck: distclean |
602 | - @if test '$(srcdir)' = . ; then \ |
603 | - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
604 | - exit 1 ; \ |
605 | - fi |
606 | - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
607 | - || { echo "ERROR: files left in build directory after distclean:" ; \ |
608 | - $(distcleancheck_listfiles) ; \ |
609 | - exit 1; } >&2 |
610 | -check-am: all-am |
611 | -check: check-recursive |
612 | -all-am: Makefile |
613 | -installdirs: installdirs-recursive |
614 | -installdirs-am: |
615 | -install: install-recursive |
616 | -install-exec: install-exec-recursive |
617 | -install-data: install-data-recursive |
618 | -uninstall: uninstall-recursive |
619 | - |
620 | -install-am: all-am |
621 | - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
622 | - |
623 | -installcheck: installcheck-recursive |
624 | -install-strip: |
625 | - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
626 | - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
627 | - `test -z '$(STRIP)' || \ |
628 | - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
629 | -mostlyclean-generic: |
630 | - |
631 | -clean-generic: |
632 | - |
633 | -distclean-generic: |
634 | - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
635 | - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
636 | - |
637 | -maintainer-clean-generic: |
638 | - @echo "This command is intended for maintainers to use" |
639 | - @echo "it deletes files that may require special tools to rebuild." |
640 | -clean: clean-recursive |
641 | - |
642 | -clean-am: clean-generic clean-libtool mostlyclean-am |
643 | - |
644 | -distclean: distclean-recursive |
645 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
646 | - -rm -f Makefile |
647 | -distclean-am: clean-am distclean-generic distclean-libtool \ |
648 | - distclean-tags |
649 | - |
650 | -dvi: dvi-recursive |
651 | - |
652 | -dvi-am: |
653 | - |
654 | -html: html-recursive |
655 | - |
656 | -html-am: |
657 | - |
658 | -info: info-recursive |
659 | - |
660 | -info-am: |
661 | - |
662 | -install-data-am: |
663 | - |
664 | -install-dvi: install-dvi-recursive |
665 | - |
666 | -install-dvi-am: |
667 | - |
668 | -install-exec-am: |
669 | - |
670 | -install-html: install-html-recursive |
671 | - |
672 | -install-html-am: |
673 | - |
674 | -install-info: install-info-recursive |
675 | - |
676 | -install-info-am: |
677 | - |
678 | -install-man: |
679 | - |
680 | -install-pdf: install-pdf-recursive |
681 | - |
682 | -install-pdf-am: |
683 | - |
684 | -install-ps: install-ps-recursive |
685 | - |
686 | -install-ps-am: |
687 | - |
688 | -installcheck-am: |
689 | - |
690 | -maintainer-clean: maintainer-clean-recursive |
691 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
692 | - -rm -rf $(top_srcdir)/autom4te.cache |
693 | - -rm -f Makefile |
694 | -maintainer-clean-am: distclean-am maintainer-clean-generic |
695 | - |
696 | -mostlyclean: mostlyclean-recursive |
697 | - |
698 | -mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
699 | - |
700 | -pdf: pdf-recursive |
701 | - |
702 | -pdf-am: |
703 | - |
704 | -ps: ps-recursive |
705 | - |
706 | -ps-am: |
707 | - |
708 | -uninstall-am: |
709 | - |
710 | -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ |
711 | - install-am install-strip tags-recursive |
712 | - |
713 | -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
714 | - all all-am am--refresh check check-am clean clean-generic \ |
715 | - clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ |
716 | - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ |
717 | - distcheck distclean distclean-generic distclean-libtool \ |
718 | - distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
719 | - dvi-am html html-am info info-am install install-am \ |
720 | - install-data install-data-am install-dvi install-dvi-am \ |
721 | - install-exec install-exec-am install-html install-html-am \ |
722 | - install-info install-info-am install-man install-pdf \ |
723 | - install-pdf-am install-ps install-ps-am install-strip \ |
724 | - installcheck installcheck-am installdirs installdirs-am \ |
725 | - maintainer-clean maintainer-clean-generic mostlyclean \ |
726 | - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
727 | - tags tags-recursive uninstall uninstall-am |
728 | - |
729 | - |
730 | -# Tell versions [3.59,3.63) of GNU make to not export all variables. |
731 | -# Otherwise a system limit (for SysV at least) may be exceeded. |
732 | -.NOEXPORT: |
733 | |
734 | === removed file 'gestTest/Makefile.in' |
735 | --- gestTest/Makefile.in 2010-08-20 10:00:34 +0000 |
736 | +++ gestTest/Makefile.in 1970-01-01 00:00:00 +0000 |
737 | @@ -1,721 +0,0 @@ |
738 | -# Makefile.in generated by automake 1.11.1 from Makefile.am. |
739 | -# @configure_input@ |
740 | - |
741 | -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
742 | -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
743 | -# Inc. |
744 | -# This Makefile.in is free software; the Free Software Foundation |
745 | -# gives unlimited permission to copy and/or distribute it, |
746 | -# with or without modifications, as long as this notice is preserved. |
747 | - |
748 | -# This program is distributed in the hope that it will be useful, |
749 | -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
750 | -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
751 | -# PARTICULAR PURPOSE. |
752 | - |
753 | -@SET_MAKE@ |
754 | -VPATH = @srcdir@ |
755 | -pkgdatadir = $(datadir)/@PACKAGE@ |
756 | -pkgincludedir = $(includedir)/@PACKAGE@ |
757 | -pkglibdir = $(libdir)/@PACKAGE@ |
758 | -pkglibexecdir = $(libexecdir)/@PACKAGE@ |
759 | -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
760 | -install_sh_DATA = $(install_sh) -c -m 644 |
761 | -install_sh_PROGRAM = $(install_sh) -c |
762 | -install_sh_SCRIPT = $(install_sh) -c |
763 | -INSTALL_HEADER = $(INSTALL_DATA) |
764 | -transform = $(program_transform_name) |
765 | -NORMAL_INSTALL = : |
766 | -PRE_INSTALL = : |
767 | -POST_INSTALL = : |
768 | -NORMAL_UNINSTALL = : |
769 | -PRE_UNINSTALL = : |
770 | -POST_UNINSTALL = : |
771 | -build_triplet = @build@ |
772 | -host_triplet = @host@ |
773 | -subdir = . |
774 | -DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ |
775 | - $(srcdir)/Makefile.in $(top_srcdir)/configure COPYING INSTALL \ |
776 | - config.guess config.sub depcomp install-sh ltmain.sh missing |
777 | -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
778 | -am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
779 | -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
780 | - $(ACLOCAL_M4) |
781 | -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
782 | - configure.lineno config.status.lineno |
783 | -mkinstalldirs = $(install_sh) -d |
784 | -CONFIG_CLEAN_FILES = |
785 | -CONFIG_CLEAN_VPATH_FILES = |
786 | -SOURCES = |
787 | -DIST_SOURCES = |
788 | -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
789 | - html-recursive info-recursive install-data-recursive \ |
790 | - install-dvi-recursive install-exec-recursive \ |
791 | - install-html-recursive install-info-recursive \ |
792 | - install-pdf-recursive install-ps-recursive install-recursive \ |
793 | - installcheck-recursive installdirs-recursive pdf-recursive \ |
794 | - ps-recursive uninstall-recursive |
795 | -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
796 | - distclean-recursive maintainer-clean-recursive |
797 | -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
798 | - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
799 | - distdir dist dist-all distcheck |
800 | -ETAGS = etags |
801 | -CTAGS = ctags |
802 | -DIST_SUBDIRS = $(SUBDIRS) |
803 | -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
804 | -distdir = $(PACKAGE)-$(VERSION) |
805 | -top_distdir = $(distdir) |
806 | -am__remove_distdir = \ |
807 | - { test ! -d "$(distdir)" \ |
808 | - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
809 | - && rm -fr "$(distdir)"; }; } |
810 | -am__relativize = \ |
811 | - dir0=`pwd`; \ |
812 | - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
813 | - sed_rest='s,^[^/]*/*,,'; \ |
814 | - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
815 | - sed_butlast='s,/*[^/]*$$,,'; \ |
816 | - while test -n "$$dir1"; do \ |
817 | - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
818 | - if test "$$first" != "."; then \ |
819 | - if test "$$first" = ".."; then \ |
820 | - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
821 | - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
822 | - else \ |
823 | - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
824 | - if test "$$first2" = "$$first"; then \ |
825 | - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
826 | - else \ |
827 | - dir2="../$$dir2"; \ |
828 | - fi; \ |
829 | - dir0="$$dir0"/"$$first"; \ |
830 | - fi; \ |
831 | - fi; \ |
832 | - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
833 | - done; \ |
834 | - reldir="$$dir2" |
835 | -DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 |
836 | -GZIP_ENV = --best |
837 | -distuninstallcheck_listfiles = find . -type f -print |
838 | -distcleancheck_listfiles = find . -type f -print |
839 | -ACLOCAL = @ACLOCAL@ |
840 | -AMTAR = @AMTAR@ |
841 | -AR = @AR@ |
842 | -AUTOCONF = @AUTOCONF@ |
843 | -AUTOHEADER = @AUTOHEADER@ |
844 | -AUTOMAKE = @AUTOMAKE@ |
845 | -AWK = @AWK@ |
846 | -CC = @CC@ |
847 | -CCDEPMODE = @CCDEPMODE@ |
848 | -CFLAGS = @CFLAGS@ |
849 | -CPP = @CPP@ |
850 | -CPPFLAGS = @CPPFLAGS@ |
851 | -CWARNFLAGS = @CWARNFLAGS@ |
852 | -CYGPATH_W = @CYGPATH_W@ |
853 | -DEFS = @DEFS@ |
854 | -DEPDIR = @DEPDIR@ |
855 | -DSYMUTIL = @DSYMUTIL@ |
856 | -DUMPBIN = @DUMPBIN@ |
857 | -ECHO_C = @ECHO_C@ |
858 | -ECHO_N = @ECHO_N@ |
859 | -ECHO_T = @ECHO_T@ |
860 | -EGREP = @EGREP@ |
861 | -EXEEXT = @EXEEXT@ |
862 | -FGREP = @FGREP@ |
863 | -GREP = @GREP@ |
864 | -INSTALL = @INSTALL@ |
865 | -INSTALL_DATA = @INSTALL_DATA@ |
866 | -INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
867 | -INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
868 | -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
869 | -LD = @LD@ |
870 | -LDFLAGS = @LDFLAGS@ |
871 | -LIBOBJS = @LIBOBJS@ |
872 | -LIBS = @LIBS@ |
873 | -LIBTOOL = @LIBTOOL@ |
874 | -LIPO = @LIPO@ |
875 | -LN_S = @LN_S@ |
876 | -LTLIBOBJS = @LTLIBOBJS@ |
877 | -MAKEINFO = @MAKEINFO@ |
878 | -MKDIR_P = @MKDIR_P@ |
879 | -NEEDED = @NEEDED@ |
880 | -NEEDED_CFLAGS = @NEEDED_CFLAGS@ |
881 | -NEEDED_LIBS = @NEEDED_LIBS@ |
882 | -NM = @NM@ |
883 | -NMEDIT = @NMEDIT@ |
884 | -OBJDUMP = @OBJDUMP@ |
885 | -OBJEXT = @OBJEXT@ |
886 | -OTOOL = @OTOOL@ |
887 | -OTOOL64 = @OTOOL64@ |
888 | -PACKAGE = @PACKAGE@ |
889 | -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
890 | -PACKAGE_NAME = @PACKAGE_NAME@ |
891 | -PACKAGE_STRING = @PACKAGE_STRING@ |
892 | -PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
893 | -PACKAGE_URL = @PACKAGE_URL@ |
894 | -PACKAGE_VERSION = @PACKAGE_VERSION@ |
895 | -PATH_SEPARATOR = @PATH_SEPARATOR@ |
896 | -PKG_CONFIG = @PKG_CONFIG@ |
897 | -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
898 | -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
899 | -PYTHON = @PYTHON@ |
900 | -PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ |
901 | -PYTHON_PLATFORM = @PYTHON_PLATFORM@ |
902 | -PYTHON_PREFIX = @PYTHON_PREFIX@ |
903 | -PYTHON_VERSION = @PYTHON_VERSION@ |
904 | -RANLIB = @RANLIB@ |
905 | -SED = @SED@ |
906 | -SET_MAKE = @SET_MAKE@ |
907 | -SHELL = @SHELL@ |
908 | -STRIP = @STRIP@ |
909 | -VERSION = @VERSION@ |
910 | -XCBINCLUDEDIR = @XCBINCLUDEDIR@ |
911 | -XCBPROTO_CFLAGS = @XCBPROTO_CFLAGS@ |
912 | -XCBPROTO_LIBS = @XCBPROTO_LIBS@ |
913 | -XCBPROTO_VERSION = @XCBPROTO_VERSION@ |
914 | -XCBPROTO_XCBINCLUDEDIR = @XCBPROTO_XCBINCLUDEDIR@ |
915 | -XCBPROTO_XCBPYTHONDIR = @XCBPROTO_XCBPYTHONDIR@ |
916 | -XSLTPROC = @XSLTPROC@ |
917 | -abs_builddir = @abs_builddir@ |
918 | -abs_srcdir = @abs_srcdir@ |
919 | -abs_top_builddir = @abs_top_builddir@ |
920 | -abs_top_srcdir = @abs_top_srcdir@ |
921 | -ac_ct_CC = @ac_ct_CC@ |
922 | -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
923 | -am__include = @am__include@ |
924 | -am__leading_dot = @am__leading_dot@ |
925 | -am__quote = @am__quote@ |
926 | -am__tar = @am__tar@ |
927 | -am__untar = @am__untar@ |
928 | -bindir = @bindir@ |
929 | -build = @build@ |
930 | -build_alias = @build_alias@ |
931 | -build_cpu = @build_cpu@ |
932 | -build_os = @build_os@ |
933 | -build_vendor = @build_vendor@ |
934 | -builddir = @builddir@ |
935 | -datadir = @datadir@ |
936 | -datarootdir = @datarootdir@ |
937 | -docdir = @docdir@ |
938 | -dvidir = @dvidir@ |
939 | -exec_prefix = @exec_prefix@ |
940 | -host = @host@ |
941 | -host_alias = @host_alias@ |
942 | -host_cpu = @host_cpu@ |
943 | -host_os = @host_os@ |
944 | -host_vendor = @host_vendor@ |
945 | -htmldir = @htmldir@ |
946 | -includedir = @includedir@ |
947 | -infodir = @infodir@ |
948 | -install_sh = @install_sh@ |
949 | -libdir = @libdir@ |
950 | -libexecdir = @libexecdir@ |
951 | -localedir = @localedir@ |
952 | -localstatedir = @localstatedir@ |
953 | -lt_ECHO = @lt_ECHO@ |
954 | -mandir = @mandir@ |
955 | -mkdir_p = @mkdir_p@ |
956 | -oldincludedir = @oldincludedir@ |
957 | -pdfdir = @pdfdir@ |
958 | -pkgpyexecdir = @pkgpyexecdir@ |
959 | -pkgpythondir = @pkgpythondir@ |
960 | -prefix = @prefix@ |
961 | -program_transform_name = @program_transform_name@ |
962 | -psdir = @psdir@ |
963 | -pyexecdir = @pyexecdir@ |
964 | -pythondir = @pythondir@ |
965 | -sbindir = @sbindir@ |
966 | -sharedstatedir = @sharedstatedir@ |
967 | -srcdir = @srcdir@ |
968 | -sysconfdir = @sysconfdir@ |
969 | -target_alias = @target_alias@ |
970 | -top_build_prefix = @top_build_prefix@ |
971 | -top_builddir = @top_builddir@ |
972 | -top_srcdir = @top_srcdir@ |
973 | -xcbincludedir = @xcbincludedir@ |
974 | -SUBDIRS = src |
975 | -EXTRA_DIST = \ |
976 | -autogen.sh \ |
977 | -COPYING.xcbgen |
978 | - |
979 | -all: all-recursive |
980 | - |
981 | -.SUFFIXES: |
982 | -am--refresh: |
983 | - @: |
984 | -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
985 | - @for dep in $?; do \ |
986 | - case '$(am__configure_deps)' in \ |
987 | - *$$dep*) \ |
988 | - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ |
989 | - $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ |
990 | - && exit 0; \ |
991 | - exit 1;; \ |
992 | - esac; \ |
993 | - done; \ |
994 | - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ |
995 | - $(am__cd) $(top_srcdir) && \ |
996 | - $(AUTOMAKE) --foreign Makefile |
997 | -.PRECIOUS: Makefile |
998 | -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
999 | - @case '$?' in \ |
1000 | - *config.status*) \ |
1001 | - echo ' $(SHELL) ./config.status'; \ |
1002 | - $(SHELL) ./config.status;; \ |
1003 | - *) \ |
1004 | - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
1005 | - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
1006 | - esac; |
1007 | - |
1008 | -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
1009 | - $(SHELL) ./config.status --recheck |
1010 | - |
1011 | -$(top_srcdir)/configure: $(am__configure_deps) |
1012 | - $(am__cd) $(srcdir) && $(AUTOCONF) |
1013 | -$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
1014 | - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
1015 | -$(am__aclocal_m4_deps): |
1016 | - |
1017 | -mostlyclean-libtool: |
1018 | - -rm -f *.lo |
1019 | - |
1020 | -clean-libtool: |
1021 | - -rm -rf .libs _libs |
1022 | - |
1023 | -distclean-libtool: |
1024 | - -rm -f libtool config.lt |
1025 | - |
1026 | -# This directory's subdirectories are mostly independent; you can cd |
1027 | -# into them and run `make' without going through this Makefile. |
1028 | -# To change the values of `make' variables: instead of editing Makefiles, |
1029 | -# (1) if the variable is set in `config.status', edit `config.status' |
1030 | -# (which will cause the Makefiles to be regenerated when you run `make'); |
1031 | -# (2) otherwise, pass the desired values on the `make' command line. |
1032 | -$(RECURSIVE_TARGETS): |
1033 | - @fail= failcom='exit 1'; \ |
1034 | - for f in x $$MAKEFLAGS; do \ |
1035 | - case $$f in \ |
1036 | - *=* | --[!k]*);; \ |
1037 | - *k*) failcom='fail=yes';; \ |
1038 | - esac; \ |
1039 | - done; \ |
1040 | - dot_seen=no; \ |
1041 | - target=`echo $@ | sed s/-recursive//`; \ |
1042 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
1043 | - echo "Making $$target in $$subdir"; \ |
1044 | - if test "$$subdir" = "."; then \ |
1045 | - dot_seen=yes; \ |
1046 | - local_target="$$target-am"; \ |
1047 | - else \ |
1048 | - local_target="$$target"; \ |
1049 | - fi; \ |
1050 | - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
1051 | - || eval $$failcom; \ |
1052 | - done; \ |
1053 | - if test "$$dot_seen" = "no"; then \ |
1054 | - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
1055 | - fi; test -z "$$fail" |
1056 | - |
1057 | -$(RECURSIVE_CLEAN_TARGETS): |
1058 | - @fail= failcom='exit 1'; \ |
1059 | - for f in x $$MAKEFLAGS; do \ |
1060 | - case $$f in \ |
1061 | - *=* | --[!k]*);; \ |
1062 | - *k*) failcom='fail=yes';; \ |
1063 | - esac; \ |
1064 | - done; \ |
1065 | - dot_seen=no; \ |
1066 | - case "$@" in \ |
1067 | - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
1068 | - *) list='$(SUBDIRS)' ;; \ |
1069 | - esac; \ |
1070 | - rev=''; for subdir in $$list; do \ |
1071 | - if test "$$subdir" = "."; then :; else \ |
1072 | - rev="$$subdir $$rev"; \ |
1073 | - fi; \ |
1074 | - done; \ |
1075 | - rev="$$rev ."; \ |
1076 | - target=`echo $@ | sed s/-recursive//`; \ |
1077 | - for subdir in $$rev; do \ |
1078 | - echo "Making $$target in $$subdir"; \ |
1079 | - if test "$$subdir" = "."; then \ |
1080 | - local_target="$$target-am"; \ |
1081 | - else \ |
1082 | - local_target="$$target"; \ |
1083 | - fi; \ |
1084 | - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
1085 | - || eval $$failcom; \ |
1086 | - done && test -z "$$fail" |
1087 | -tags-recursive: |
1088 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
1089 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
1090 | - done |
1091 | -ctags-recursive: |
1092 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
1093 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
1094 | - done |
1095 | - |
1096 | -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
1097 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
1098 | - unique=`for i in $$list; do \ |
1099 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1100 | - done | \ |
1101 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
1102 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1103 | - mkid -fID $$unique |
1104 | -tags: TAGS |
1105 | - |
1106 | -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
1107 | - $(TAGS_FILES) $(LISP) |
1108 | - set x; \ |
1109 | - here=`pwd`; \ |
1110 | - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
1111 | - include_option=--etags-include; \ |
1112 | - empty_fix=.; \ |
1113 | - else \ |
1114 | - include_option=--include; \ |
1115 | - empty_fix=; \ |
1116 | - fi; \ |
1117 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
1118 | - if test "$$subdir" = .; then :; else \ |
1119 | - test ! -f $$subdir/TAGS || \ |
1120 | - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
1121 | - fi; \ |
1122 | - done; \ |
1123 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
1124 | - unique=`for i in $$list; do \ |
1125 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1126 | - done | \ |
1127 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
1128 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1129 | - shift; \ |
1130 | - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
1131 | - test -n "$$unique" || unique=$$empty_fix; \ |
1132 | - if test $$# -gt 0; then \ |
1133 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
1134 | - "$$@" $$unique; \ |
1135 | - else \ |
1136 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
1137 | - $$unique; \ |
1138 | - fi; \ |
1139 | - fi |
1140 | -ctags: CTAGS |
1141 | -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
1142 | - $(TAGS_FILES) $(LISP) |
1143 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
1144 | - unique=`for i in $$list; do \ |
1145 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1146 | - done | \ |
1147 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
1148 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1149 | - test -z "$(CTAGS_ARGS)$$unique" \ |
1150 | - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
1151 | - $$unique |
1152 | - |
1153 | -GTAGS: |
1154 | - here=`$(am__cd) $(top_builddir) && pwd` \ |
1155 | - && $(am__cd) $(top_srcdir) \ |
1156 | - && gtags -i $(GTAGS_ARGS) "$$here" |
1157 | - |
1158 | -distclean-tags: |
1159 | - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1160 | - |
1161 | -distdir: $(DISTFILES) |
1162 | - $(am__remove_distdir) |
1163 | - test -d "$(distdir)" || mkdir "$(distdir)" |
1164 | - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1165 | - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1166 | - list='$(DISTFILES)'; \ |
1167 | - dist_files=`for file in $$list; do echo $$file; done | \ |
1168 | - sed -e "s|^$$srcdirstrip/||;t" \ |
1169 | - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
1170 | - case $$dist_files in \ |
1171 | - */*) $(MKDIR_P) `echo "$$dist_files" | \ |
1172 | - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
1173 | - sort -u` ;; \ |
1174 | - esac; \ |
1175 | - for file in $$dist_files; do \ |
1176 | - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
1177 | - if test -d $$d/$$file; then \ |
1178 | - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
1179 | - if test -d "$(distdir)/$$file"; then \ |
1180 | - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
1181 | - fi; \ |
1182 | - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
1183 | - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
1184 | - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
1185 | - fi; \ |
1186 | - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
1187 | - else \ |
1188 | - test -f "$(distdir)/$$file" \ |
1189 | - || cp -p $$d/$$file "$(distdir)/$$file" \ |
1190 | - || exit 1; \ |
1191 | - fi; \ |
1192 | - done |
1193 | - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
1194 | - if test "$$subdir" = .; then :; else \ |
1195 | - test -d "$(distdir)/$$subdir" \ |
1196 | - || $(MKDIR_P) "$(distdir)/$$subdir" \ |
1197 | - || exit 1; \ |
1198 | - fi; \ |
1199 | - done |
1200 | - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
1201 | - if test "$$subdir" = .; then :; else \ |
1202 | - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
1203 | - $(am__relativize); \ |
1204 | - new_distdir=$$reldir; \ |
1205 | - dir1=$$subdir; dir2="$(top_distdir)"; \ |
1206 | - $(am__relativize); \ |
1207 | - new_top_distdir=$$reldir; \ |
1208 | - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
1209 | - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
1210 | - ($(am__cd) $$subdir && \ |
1211 | - $(MAKE) $(AM_MAKEFLAGS) \ |
1212 | - top_distdir="$$new_top_distdir" \ |
1213 | - distdir="$$new_distdir" \ |
1214 | - am__remove_distdir=: \ |
1215 | - am__skip_length_check=: \ |
1216 | - am__skip_mode_fix=: \ |
1217 | - distdir) \ |
1218 | - || exit 1; \ |
1219 | - fi; \ |
1220 | - done |
1221 | - -test -n "$(am__skip_mode_fix)" \ |
1222 | - || find "$(distdir)" -type d ! -perm -755 \ |
1223 | - -exec chmod u+rwx,go+rx {} \; -o \ |
1224 | - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
1225 | - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
1226 | - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
1227 | - || chmod -R a+r "$(distdir)" |
1228 | -dist-gzip: distdir |
1229 | - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
1230 | - $(am__remove_distdir) |
1231 | -dist-bzip2: distdir |
1232 | - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
1233 | - $(am__remove_distdir) |
1234 | - |
1235 | -dist-lzma: distdir |
1236 | - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
1237 | - $(am__remove_distdir) |
1238 | - |
1239 | -dist-xz: distdir |
1240 | - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
1241 | - $(am__remove_distdir) |
1242 | - |
1243 | -dist-tarZ: distdir |
1244 | - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
1245 | - $(am__remove_distdir) |
1246 | - |
1247 | -dist-shar: distdir |
1248 | - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
1249 | - $(am__remove_distdir) |
1250 | - |
1251 | -dist-zip: distdir |
1252 | - -rm -f $(distdir).zip |
1253 | - zip -rq $(distdir).zip $(distdir) |
1254 | - $(am__remove_distdir) |
1255 | - |
1256 | -dist dist-all: distdir |
1257 | - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
1258 | - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
1259 | - $(am__remove_distdir) |
1260 | - |
1261 | -# This target untars the dist file and tries a VPATH configuration. Then |
1262 | -# it guarantees that the distribution is self-contained by making another |
1263 | -# tarfile. |
1264 | -distcheck: dist |
1265 | - case '$(DIST_ARCHIVES)' in \ |
1266 | - *.tar.gz*) \ |
1267 | - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
1268 | - *.tar.bz2*) \ |
1269 | - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
1270 | - *.tar.lzma*) \ |
1271 | - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
1272 | - *.tar.xz*) \ |
1273 | - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
1274 | - *.tar.Z*) \ |
1275 | - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
1276 | - *.shar.gz*) \ |
1277 | - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
1278 | - *.zip*) \ |
1279 | - unzip $(distdir).zip ;;\ |
1280 | - esac |
1281 | - chmod -R a-w $(distdir); chmod a+w $(distdir) |
1282 | - mkdir $(distdir)/_build |
1283 | - mkdir $(distdir)/_inst |
1284 | - chmod a-w $(distdir) |
1285 | - test -d $(distdir)/_build || exit 0; \ |
1286 | - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
1287 | - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
1288 | - && am__cwd=`pwd` \ |
1289 | - && $(am__cd) $(distdir)/_build \ |
1290 | - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
1291 | - $(DISTCHECK_CONFIGURE_FLAGS) \ |
1292 | - && $(MAKE) $(AM_MAKEFLAGS) \ |
1293 | - && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
1294 | - && $(MAKE) $(AM_MAKEFLAGS) check \ |
1295 | - && $(MAKE) $(AM_MAKEFLAGS) install \ |
1296 | - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
1297 | - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
1298 | - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
1299 | - distuninstallcheck \ |
1300 | - && chmod -R a-w "$$dc_install_base" \ |
1301 | - && ({ \ |
1302 | - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
1303 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
1304 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
1305 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
1306 | - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
1307 | - } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
1308 | - && rm -rf "$$dc_destdir" \ |
1309 | - && $(MAKE) $(AM_MAKEFLAGS) dist \ |
1310 | - && rm -rf $(DIST_ARCHIVES) \ |
1311 | - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
1312 | - && cd "$$am__cwd" \ |
1313 | - || exit 1 |
1314 | - $(am__remove_distdir) |
1315 | - @(echo "$(distdir) archives ready for distribution: "; \ |
1316 | - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
1317 | - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
1318 | -distuninstallcheck: |
1319 | - @$(am__cd) '$(distuninstallcheck_dir)' \ |
1320 | - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
1321 | - || { echo "ERROR: files left after uninstall:" ; \ |
1322 | - if test -n "$(DESTDIR)"; then \ |
1323 | - echo " (check DESTDIR support)"; \ |
1324 | - fi ; \ |
1325 | - $(distuninstallcheck_listfiles) ; \ |
1326 | - exit 1; } >&2 |
1327 | -distcleancheck: distclean |
1328 | - @if test '$(srcdir)' = . ; then \ |
1329 | - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
1330 | - exit 1 ; \ |
1331 | - fi |
1332 | - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
1333 | - || { echo "ERROR: files left in build directory after distclean:" ; \ |
1334 | - $(distcleancheck_listfiles) ; \ |
1335 | - exit 1; } >&2 |
1336 | -check-am: all-am |
1337 | -check: check-recursive |
1338 | -all-am: Makefile |
1339 | -installdirs: installdirs-recursive |
1340 | -installdirs-am: |
1341 | -install: install-recursive |
1342 | -install-exec: install-exec-recursive |
1343 | -install-data: install-data-recursive |
1344 | -uninstall: uninstall-recursive |
1345 | - |
1346 | -install-am: all-am |
1347 | - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
1348 | - |
1349 | -installcheck: installcheck-recursive |
1350 | -install-strip: |
1351 | - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
1352 | - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
1353 | - `test -z '$(STRIP)' || \ |
1354 | - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
1355 | -mostlyclean-generic: |
1356 | - |
1357 | -clean-generic: |
1358 | - |
1359 | -distclean-generic: |
1360 | - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
1361 | - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
1362 | - |
1363 | -maintainer-clean-generic: |
1364 | - @echo "This command is intended for maintainers to use" |
1365 | - @echo "it deletes files that may require special tools to rebuild." |
1366 | -clean: clean-recursive |
1367 | - |
1368 | -clean-am: clean-generic clean-libtool mostlyclean-am |
1369 | - |
1370 | -distclean: distclean-recursive |
1371 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1372 | - -rm -f Makefile |
1373 | -distclean-am: clean-am distclean-generic distclean-libtool \ |
1374 | - distclean-tags |
1375 | - |
1376 | -dvi: dvi-recursive |
1377 | - |
1378 | -dvi-am: |
1379 | - |
1380 | -html: html-recursive |
1381 | - |
1382 | -html-am: |
1383 | - |
1384 | -info: info-recursive |
1385 | - |
1386 | -info-am: |
1387 | - |
1388 | -install-data-am: |
1389 | - |
1390 | -install-dvi: install-dvi-recursive |
1391 | - |
1392 | -install-dvi-am: |
1393 | - |
1394 | -install-exec-am: |
1395 | - |
1396 | -install-html: install-html-recursive |
1397 | - |
1398 | -install-html-am: |
1399 | - |
1400 | -install-info: install-info-recursive |
1401 | - |
1402 | -install-info-am: |
1403 | - |
1404 | -install-man: |
1405 | - |
1406 | -install-pdf: install-pdf-recursive |
1407 | - |
1408 | -install-pdf-am: |
1409 | - |
1410 | -install-ps: install-ps-recursive |
1411 | - |
1412 | -install-ps-am: |
1413 | - |
1414 | -installcheck-am: |
1415 | - |
1416 | -maintainer-clean: maintainer-clean-recursive |
1417 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1418 | - -rm -rf $(top_srcdir)/autom4te.cache |
1419 | - -rm -f Makefile |
1420 | -maintainer-clean-am: distclean-am maintainer-clean-generic |
1421 | - |
1422 | -mostlyclean: mostlyclean-recursive |
1423 | - |
1424 | -mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
1425 | - |
1426 | -pdf: pdf-recursive |
1427 | - |
1428 | -pdf-am: |
1429 | - |
1430 | -ps: ps-recursive |
1431 | - |
1432 | -ps-am: |
1433 | - |
1434 | -uninstall-am: |
1435 | - |
1436 | -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ |
1437 | - install-am install-strip tags-recursive |
1438 | - |
1439 | -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
1440 | - all all-am am--refresh check check-am clean clean-generic \ |
1441 | - clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ |
1442 | - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ |
1443 | - distcheck distclean distclean-generic distclean-libtool \ |
1444 | - distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
1445 | - dvi-am html html-am info info-am install install-am \ |
1446 | - install-data install-data-am install-dvi install-dvi-am \ |
1447 | - install-exec install-exec-am install-html install-html-am \ |
1448 | - install-info install-info-am install-man install-pdf \ |
1449 | - install-pdf-am install-ps install-ps-am install-strip \ |
1450 | - installcheck installcheck-am installdirs installdirs-am \ |
1451 | - maintainer-clean maintainer-clean-generic mostlyclean \ |
1452 | - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
1453 | - tags tags-recursive uninstall uninstall-am |
1454 | - |
1455 | - |
1456 | -# Tell versions [3.59,3.63) of GNU make to not export all variables. |
1457 | -# Otherwise a system limit (for SysV at least) may be exceeded. |
1458 | -.NOEXPORT: |
1459 | |
1460 | === removed file 'gestTest/aclocal.m4' |
1461 | --- gestTest/aclocal.m4 2010-08-20 10:00:34 +0000 |
1462 | +++ gestTest/aclocal.m4 1970-01-01 00:00:00 +0000 |
1463 | @@ -1,9297 +0,0 @@ |
1464 | -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
1465 | - |
1466 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
1467 | -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
1468 | -# This file is free software; the Free Software Foundation |
1469 | -# gives unlimited permission to copy and/or distribute it, |
1470 | -# with or without modifications, as long as this notice is preserved. |
1471 | - |
1472 | -# This program is distributed in the hope that it will be useful, |
1473 | -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
1474 | -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
1475 | -# PARTICULAR PURPOSE. |
1476 | - |
1477 | -m4_ifndef([AC_AUTOCONF_VERSION], |
1478 | - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
1479 | -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, |
1480 | -[m4_warning([this file was generated for autoconf 2.67. |
1481 | -You have another version of autoconf. It may work, but is not guaranteed to. |
1482 | -If you have problems, you may need to regenerate the build system entirely. |
1483 | -To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
1484 | - |
1485 | -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
1486 | -# |
1487 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
1488 | -# 2006, 2007, 2008 Free Software Foundation, Inc. |
1489 | -# Written by Gordon Matzigkeit, 1996 |
1490 | -# |
1491 | -# This file is free software; the Free Software Foundation gives |
1492 | -# unlimited permission to copy and/or distribute it, with or without |
1493 | -# modifications, as long as this notice is preserved. |
1494 | - |
1495 | -m4_define([_LT_COPYING], [dnl |
1496 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
1497 | -# 2006, 2007, 2008 Free Software Foundation, Inc. |
1498 | -# Written by Gordon Matzigkeit, 1996 |
1499 | -# |
1500 | -# This file is part of GNU Libtool. |
1501 | -# |
1502 | -# GNU Libtool is free software; you can redistribute it and/or |
1503 | -# modify it under the terms of the GNU General Public License as |
1504 | -# published by the Free Software Foundation; either version 2 of |
1505 | -# the License, or (at your option) any later version. |
1506 | -# |
1507 | -# As a special exception to the GNU General Public License, |
1508 | -# if you distribute this file as part of a program or library that |
1509 | -# is built using GNU Libtool, you may include this file under the |
1510 | -# same distribution terms that you use for the rest of that program. |
1511 | -# |
1512 | -# GNU Libtool is distributed in the hope that it will be useful, |
1513 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1514 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1515 | -# GNU General Public License for more details. |
1516 | -# |
1517 | -# You should have received a copy of the GNU General Public License |
1518 | -# along with GNU Libtool; see the file COPYING. If not, a copy |
1519 | -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
1520 | -# obtained by writing to the Free Software Foundation, Inc., |
1521 | -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
1522 | -]) |
1523 | - |
1524 | -# serial 56 LT_INIT |
1525 | - |
1526 | - |
1527 | -# LT_PREREQ(VERSION) |
1528 | -# ------------------ |
1529 | -# Complain and exit if this libtool version is less that VERSION. |
1530 | -m4_defun([LT_PREREQ], |
1531 | -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, |
1532 | - [m4_default([$3], |
1533 | - [m4_fatal([Libtool version $1 or higher is required], |
1534 | - 63)])], |
1535 | - [$2])]) |
1536 | - |
1537 | - |
1538 | -# _LT_CHECK_BUILDDIR |
1539 | -# ------------------ |
1540 | -# Complain if the absolute build directory name contains unusual characters |
1541 | -m4_defun([_LT_CHECK_BUILDDIR], |
1542 | -[case `pwd` in |
1543 | - *\ * | *\ *) |
1544 | - AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; |
1545 | -esac |
1546 | -]) |
1547 | - |
1548 | - |
1549 | -# LT_INIT([OPTIONS]) |
1550 | -# ------------------ |
1551 | -AC_DEFUN([LT_INIT], |
1552 | -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT |
1553 | -AC_BEFORE([$0], [LT_LANG])dnl |
1554 | -AC_BEFORE([$0], [LT_OUTPUT])dnl |
1555 | -AC_BEFORE([$0], [LTDL_INIT])dnl |
1556 | -m4_require([_LT_CHECK_BUILDDIR])dnl |
1557 | - |
1558 | -dnl Autoconf doesn't catch unexpanded LT_ macros by default: |
1559 | -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl |
1560 | -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl |
1561 | -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 |
1562 | -dnl unless we require an AC_DEFUNed macro: |
1563 | -AC_REQUIRE([LTOPTIONS_VERSION])dnl |
1564 | -AC_REQUIRE([LTSUGAR_VERSION])dnl |
1565 | -AC_REQUIRE([LTVERSION_VERSION])dnl |
1566 | -AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
1567 | -m4_require([_LT_PROG_LTMAIN])dnl |
1568 | - |
1569 | -dnl Parse OPTIONS |
1570 | -_LT_SET_OPTIONS([$0], [$1]) |
1571 | - |
1572 | -# This can be used to rebuild libtool when needed |
1573 | -LIBTOOL_DEPS="$ltmain" |
1574 | - |
1575 | -# Always use our own libtool. |
1576 | -LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
1577 | -AC_SUBST(LIBTOOL)dnl |
1578 | - |
1579 | -_LT_SETUP |
1580 | - |
1581 | -# Only expand once: |
1582 | -m4_define([LT_INIT]) |
1583 | -])# LT_INIT |
1584 | - |
1585 | -# Old names: |
1586 | -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) |
1587 | -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) |
1588 | -dnl aclocal-1.4 backwards compatibility: |
1589 | -dnl AC_DEFUN([AC_PROG_LIBTOOL], []) |
1590 | -dnl AC_DEFUN([AM_PROG_LIBTOOL], []) |
1591 | - |
1592 | - |
1593 | -# _LT_CC_BASENAME(CC) |
1594 | -# ------------------- |
1595 | -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
1596 | -m4_defun([_LT_CC_BASENAME], |
1597 | -[for cc_temp in $1""; do |
1598 | - case $cc_temp in |
1599 | - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; |
1600 | - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; |
1601 | - \-*) ;; |
1602 | - *) break;; |
1603 | - esac |
1604 | -done |
1605 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
1606 | -]) |
1607 | - |
1608 | - |
1609 | -# _LT_FILEUTILS_DEFAULTS |
1610 | -# ---------------------- |
1611 | -# It is okay to use these file commands and assume they have been set |
1612 | -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. |
1613 | -m4_defun([_LT_FILEUTILS_DEFAULTS], |
1614 | -[: ${CP="cp -f"} |
1615 | -: ${MV="mv -f"} |
1616 | -: ${RM="rm -f"} |
1617 | -])# _LT_FILEUTILS_DEFAULTS |
1618 | - |
1619 | - |
1620 | -# _LT_SETUP |
1621 | -# --------- |
1622 | -m4_defun([_LT_SETUP], |
1623 | -[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
1624 | -AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
1625 | -_LT_DECL([], [host_alias], [0], [The host system])dnl |
1626 | -_LT_DECL([], [host], [0])dnl |
1627 | -_LT_DECL([], [host_os], [0])dnl |
1628 | -dnl |
1629 | -_LT_DECL([], [build_alias], [0], [The build system])dnl |
1630 | -_LT_DECL([], [build], [0])dnl |
1631 | -_LT_DECL([], [build_os], [0])dnl |
1632 | -dnl |
1633 | -AC_REQUIRE([AC_PROG_CC])dnl |
1634 | -AC_REQUIRE([LT_PATH_LD])dnl |
1635 | -AC_REQUIRE([LT_PATH_NM])dnl |
1636 | -dnl |
1637 | -AC_REQUIRE([AC_PROG_LN_S])dnl |
1638 | -test -z "$LN_S" && LN_S="ln -s" |
1639 | -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl |
1640 | -dnl |
1641 | -AC_REQUIRE([LT_CMD_MAX_LEN])dnl |
1642 | -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl |
1643 | -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl |
1644 | -dnl |
1645 | -m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
1646 | -m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
1647 | -m4_require([_LT_CMD_RELOAD])dnl |
1648 | -m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
1649 | -m4_require([_LT_CMD_OLD_ARCHIVE])dnl |
1650 | -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl |
1651 | - |
1652 | -_LT_CONFIG_LIBTOOL_INIT([ |
1653 | -# See if we are running on zsh, and set the options which allow our |
1654 | -# commands through without removal of \ escapes INIT. |
1655 | -if test -n "\${ZSH_VERSION+set}" ; then |
1656 | - setopt NO_GLOB_SUBST |
1657 | -fi |
1658 | -]) |
1659 | -if test -n "${ZSH_VERSION+set}" ; then |
1660 | - setopt NO_GLOB_SUBST |
1661 | -fi |
1662 | - |
1663 | -_LT_CHECK_OBJDIR |
1664 | - |
1665 | -m4_require([_LT_TAG_COMPILER])dnl |
1666 | -_LT_PROG_ECHO_BACKSLASH |
1667 | - |
1668 | -case $host_os in |
1669 | -aix3*) |
1670 | - # AIX sometimes has problems with the GCC collect2 program. For some |
1671 | - # reason, if we set the COLLECT_NAMES environment variable, the problems |
1672 | - # vanish in a puff of smoke. |
1673 | - if test "X${COLLECT_NAMES+set}" != Xset; then |
1674 | - COLLECT_NAMES= |
1675 | - export COLLECT_NAMES |
1676 | - fi |
1677 | - ;; |
1678 | -esac |
1679 | - |
1680 | -# Sed substitution that helps us do robust quoting. It backslashifies |
1681 | -# metacharacters that are still active within double-quoted strings. |
1682 | -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
1683 | - |
1684 | -# Same as above, but do not quote variable references. |
1685 | -double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
1686 | - |
1687 | -# Sed substitution to delay expansion of an escaped shell variable in a |
1688 | -# double_quote_subst'ed string. |
1689 | -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
1690 | - |
1691 | -# Sed substitution to delay expansion of an escaped single quote. |
1692 | -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
1693 | - |
1694 | -# Sed substitution to avoid accidental globbing in evaled expressions |
1695 | -no_glob_subst='s/\*/\\\*/g' |
1696 | - |
1697 | -# Global variables: |
1698 | -ofile=libtool |
1699 | -can_build_shared=yes |
1700 | - |
1701 | -# All known linkers require a `.a' archive for static linking (except MSVC, |
1702 | -# which needs '.lib'). |
1703 | -libext=a |
1704 | - |
1705 | -with_gnu_ld="$lt_cv_prog_gnu_ld" |
1706 | - |
1707 | -old_CC="$CC" |
1708 | -old_CFLAGS="$CFLAGS" |
1709 | - |
1710 | -# Set sane defaults for various variables |
1711 | -test -z "$CC" && CC=cc |
1712 | -test -z "$LTCC" && LTCC=$CC |
1713 | -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
1714 | -test -z "$LD" && LD=ld |
1715 | -test -z "$ac_objext" && ac_objext=o |
1716 | - |
1717 | -_LT_CC_BASENAME([$compiler]) |
1718 | - |
1719 | -# Only perform the check for file, if the check method requires it |
1720 | -test -z "$MAGIC_CMD" && MAGIC_CMD=file |
1721 | -case $deplibs_check_method in |
1722 | -file_magic*) |
1723 | - if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
1724 | - _LT_PATH_MAGIC |
1725 | - fi |
1726 | - ;; |
1727 | -esac |
1728 | - |
1729 | -# Use C for the default configuration in the libtool script |
1730 | -LT_SUPPORTED_TAG([CC]) |
1731 | -_LT_LANG_C_CONFIG |
1732 | -_LT_LANG_DEFAULT_CONFIG |
1733 | -_LT_CONFIG_COMMANDS |
1734 | -])# _LT_SETUP |
1735 | - |
1736 | - |
1737 | -# _LT_PROG_LTMAIN |
1738 | -# --------------- |
1739 | -# Note that this code is called both from `configure', and `config.status' |
1740 | -# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, |
1741 | -# `config.status' has no value for ac_aux_dir unless we are using Automake, |
1742 | -# so we pass a copy along to make sure it has a sensible value anyway. |
1743 | -m4_defun([_LT_PROG_LTMAIN], |
1744 | -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl |
1745 | -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) |
1746 | -ltmain="$ac_aux_dir/ltmain.sh" |
1747 | -])# _LT_PROG_LTMAIN |
1748 | - |
1749 | - |
1750 | - |
1751 | -# So that we can recreate a full libtool script including additional |
1752 | -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS |
1753 | -# in macros and then make a single call at the end using the `libtool' |
1754 | -# label. |
1755 | - |
1756 | - |
1757 | -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) |
1758 | -# ---------------------------------------- |
1759 | -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
1760 | -m4_define([_LT_CONFIG_LIBTOOL_INIT], |
1761 | -[m4_ifval([$1], |
1762 | - [m4_append([_LT_OUTPUT_LIBTOOL_INIT], |
1763 | - [$1 |
1764 | -])])]) |
1765 | - |
1766 | -# Initialize. |
1767 | -m4_define([_LT_OUTPUT_LIBTOOL_INIT]) |
1768 | - |
1769 | - |
1770 | -# _LT_CONFIG_LIBTOOL([COMMANDS]) |
1771 | -# ------------------------------ |
1772 | -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
1773 | -m4_define([_LT_CONFIG_LIBTOOL], |
1774 | -[m4_ifval([$1], |
1775 | - [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], |
1776 | - [$1 |
1777 | -])])]) |
1778 | - |
1779 | -# Initialize. |
1780 | -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) |
1781 | - |
1782 | - |
1783 | -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) |
1784 | -# ----------------------------------------------------- |
1785 | -m4_defun([_LT_CONFIG_SAVE_COMMANDS], |
1786 | -[_LT_CONFIG_LIBTOOL([$1]) |
1787 | -_LT_CONFIG_LIBTOOL_INIT([$2]) |
1788 | -]) |
1789 | - |
1790 | - |
1791 | -# _LT_FORMAT_COMMENT([COMMENT]) |
1792 | -# ----------------------------- |
1793 | -# Add leading comment marks to the start of each line, and a trailing |
1794 | -# full-stop to the whole comment if one is not present already. |
1795 | -m4_define([_LT_FORMAT_COMMENT], |
1796 | -[m4_ifval([$1], [ |
1797 | -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], |
1798 | - [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) |
1799 | -)]) |
1800 | - |
1801 | - |
1802 | - |
1803 | - |
1804 | - |
1805 | -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) |
1806 | -# ------------------------------------------------------------------- |
1807 | -# CONFIGNAME is the name given to the value in the libtool script. |
1808 | -# VARNAME is the (base) name used in the configure script. |
1809 | -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on |
1810 | -# VARNAME. Any other value will be used directly. |
1811 | -m4_define([_LT_DECL], |
1812 | -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], |
1813 | - [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], |
1814 | - [m4_ifval([$1], [$1], [$2])]) |
1815 | - lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) |
1816 | - m4_ifval([$4], |
1817 | - [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) |
1818 | - lt_dict_add_subkey([lt_decl_dict], [$2], |
1819 | - [tagged?], [m4_ifval([$5], [yes], [no])])]) |
1820 | -]) |
1821 | - |
1822 | - |
1823 | -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) |
1824 | -# -------------------------------------------------------- |
1825 | -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) |
1826 | - |
1827 | - |
1828 | -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) |
1829 | -# ------------------------------------------------ |
1830 | -m4_define([lt_decl_tag_varnames], |
1831 | -[_lt_decl_filter([tagged?], [yes], $@)]) |
1832 | - |
1833 | - |
1834 | -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) |
1835 | -# --------------------------------------------------------- |
1836 | -m4_define([_lt_decl_filter], |
1837 | -[m4_case([$#], |
1838 | - [0], [m4_fatal([$0: too few arguments: $#])], |
1839 | - [1], [m4_fatal([$0: too few arguments: $#: $1])], |
1840 | - [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], |
1841 | - [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], |
1842 | - [lt_dict_filter([lt_decl_dict], $@)])[]dnl |
1843 | -]) |
1844 | - |
1845 | - |
1846 | -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) |
1847 | -# -------------------------------------------------- |
1848 | -m4_define([lt_decl_quote_varnames], |
1849 | -[_lt_decl_filter([value], [1], $@)]) |
1850 | - |
1851 | - |
1852 | -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) |
1853 | -# --------------------------------------------------- |
1854 | -m4_define([lt_decl_dquote_varnames], |
1855 | -[_lt_decl_filter([value], [2], $@)]) |
1856 | - |
1857 | - |
1858 | -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) |
1859 | -# --------------------------------------------------- |
1860 | -m4_define([lt_decl_varnames_tagged], |
1861 | -[m4_assert([$# <= 2])dnl |
1862 | -_$0(m4_quote(m4_default([$1], [[, ]])), |
1863 | - m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), |
1864 | - m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) |
1865 | -m4_define([_lt_decl_varnames_tagged], |
1866 | -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) |
1867 | - |
1868 | - |
1869 | -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) |
1870 | -# ------------------------------------------------ |
1871 | -m4_define([lt_decl_all_varnames], |
1872 | -[_$0(m4_quote(m4_default([$1], [[, ]])), |
1873 | - m4_if([$2], [], |
1874 | - m4_quote(lt_decl_varnames), |
1875 | - m4_quote(m4_shift($@))))[]dnl |
1876 | -]) |
1877 | -m4_define([_lt_decl_all_varnames], |
1878 | -[lt_join($@, lt_decl_varnames_tagged([$1], |
1879 | - lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl |
1880 | -]) |
1881 | - |
1882 | - |
1883 | -# _LT_CONFIG_STATUS_DECLARE([VARNAME]) |
1884 | -# ------------------------------------ |
1885 | -# Quote a variable value, and forward it to `config.status' so that its |
1886 | -# declaration there will have the same value as in `configure'. VARNAME |
1887 | -# must have a single quote delimited value for this to work. |
1888 | -m4_define([_LT_CONFIG_STATUS_DECLARE], |
1889 | -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) |
1890 | - |
1891 | - |
1892 | -# _LT_CONFIG_STATUS_DECLARATIONS |
1893 | -# ------------------------------ |
1894 | -# We delimit libtool config variables with single quotes, so when |
1895 | -# we write them to config.status, we have to be sure to quote all |
1896 | -# embedded single quotes properly. In configure, this macro expands |
1897 | -# each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
1898 | -# |
1899 | -# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' |
1900 | -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
1901 | -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
1902 | - [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
1903 | - |
1904 | - |
1905 | -# _LT_LIBTOOL_TAGS |
1906 | -# ---------------- |
1907 | -# Output comment and list of tags supported by the script |
1908 | -m4_defun([_LT_LIBTOOL_TAGS], |
1909 | -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl |
1910 | -available_tags="_LT_TAGS"dnl |
1911 | -]) |
1912 | - |
1913 | - |
1914 | -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) |
1915 | -# ----------------------------------- |
1916 | -# Extract the dictionary values for VARNAME (optionally with TAG) and |
1917 | -# expand to a commented shell variable setting: |
1918 | -# |
1919 | -# # Some comment about what VAR is for. |
1920 | -# visible_name=$lt_internal_name |
1921 | -m4_define([_LT_LIBTOOL_DECLARE], |
1922 | -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], |
1923 | - [description])))[]dnl |
1924 | -m4_pushdef([_libtool_name], |
1925 | - m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl |
1926 | -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), |
1927 | - [0], [_libtool_name=[$]$1], |
1928 | - [1], [_libtool_name=$lt_[]$1], |
1929 | - [2], [_libtool_name=$lt_[]$1], |
1930 | - [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl |
1931 | -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl |
1932 | -]) |
1933 | - |
1934 | - |
1935 | -# _LT_LIBTOOL_CONFIG_VARS |
1936 | -# ----------------------- |
1937 | -# Produce commented declarations of non-tagged libtool config variables |
1938 | -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' |
1939 | -# script. Tagged libtool config variables (even for the LIBTOOL CONFIG |
1940 | -# section) are produced by _LT_LIBTOOL_TAG_VARS. |
1941 | -m4_defun([_LT_LIBTOOL_CONFIG_VARS], |
1942 | -[m4_foreach([_lt_var], |
1943 | - m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), |
1944 | - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) |
1945 | - |
1946 | - |
1947 | -# _LT_LIBTOOL_TAG_VARS(TAG) |
1948 | -# ------------------------- |
1949 | -m4_define([_LT_LIBTOOL_TAG_VARS], |
1950 | -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), |
1951 | - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) |
1952 | - |
1953 | - |
1954 | -# _LT_TAGVAR(VARNAME, [TAGNAME]) |
1955 | -# ------------------------------ |
1956 | -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) |
1957 | - |
1958 | - |
1959 | -# _LT_CONFIG_COMMANDS |
1960 | -# ------------------- |
1961 | -# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of |
1962 | -# variables for single and double quote escaping we saved from calls |
1963 | -# to _LT_DECL, we can put quote escaped variables declarations |
1964 | -# into `config.status', and then the shell code to quote escape them in |
1965 | -# for loops in `config.status'. Finally, any additional code accumulated |
1966 | -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. |
1967 | -m4_defun([_LT_CONFIG_COMMANDS], |
1968 | -[AC_PROVIDE_IFELSE([LT_OUTPUT], |
1969 | - dnl If the libtool generation code has been placed in $CONFIG_LT, |
1970 | - dnl instead of duplicating it all over again into config.status, |
1971 | - dnl then we will have config.status run $CONFIG_LT later, so it |
1972 | - dnl needs to know what name is stored there: |
1973 | - [AC_CONFIG_COMMANDS([libtool], |
1974 | - [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], |
1975 | - dnl If the libtool generation code is destined for config.status, |
1976 | - dnl expand the accumulated commands and init code now: |
1977 | - [AC_CONFIG_COMMANDS([libtool], |
1978 | - [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) |
1979 | -])#_LT_CONFIG_COMMANDS |
1980 | - |
1981 | - |
1982 | -# Initialize. |
1983 | -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], |
1984 | -[ |
1985 | - |
1986 | -# The HP-UX ksh and POSIX shell print the target directory to stdout |
1987 | -# if CDPATH is set. |
1988 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
1989 | - |
1990 | -sed_quote_subst='$sed_quote_subst' |
1991 | -double_quote_subst='$double_quote_subst' |
1992 | -delay_variable_subst='$delay_variable_subst' |
1993 | -_LT_CONFIG_STATUS_DECLARATIONS |
1994 | -LTCC='$LTCC' |
1995 | -LTCFLAGS='$LTCFLAGS' |
1996 | -compiler='$compiler_DEFAULT' |
1997 | - |
1998 | -# Quote evaled strings. |
1999 | -for var in lt_decl_all_varnames([[ \ |
2000 | -]], lt_decl_quote_varnames); do |
2001 | - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
2002 | - *[[\\\\\\\`\\"\\\$]]*) |
2003 | - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
2004 | - ;; |
2005 | - *) |
2006 | - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
2007 | - ;; |
2008 | - esac |
2009 | -done |
2010 | - |
2011 | -# Double-quote double-evaled strings. |
2012 | -for var in lt_decl_all_varnames([[ \ |
2013 | -]], lt_decl_dquote_varnames); do |
2014 | - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
2015 | - *[[\\\\\\\`\\"\\\$]]*) |
2016 | - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
2017 | - ;; |
2018 | - *) |
2019 | - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
2020 | - ;; |
2021 | - esac |
2022 | -done |
2023 | - |
2024 | -# Fix-up fallback echo if it was mangled by the above quoting rules. |
2025 | -case \$lt_ECHO in |
2026 | -*'\\\[$]0 --fallback-echo"')dnl " |
2027 | - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` |
2028 | - ;; |
2029 | -esac |
2030 | - |
2031 | -_LT_OUTPUT_LIBTOOL_INIT |
2032 | -]) |
2033 | - |
2034 | - |
2035 | -# LT_OUTPUT |
2036 | -# --------- |
2037 | -# This macro allows early generation of the libtool script (before |
2038 | -# AC_OUTPUT is called), incase it is used in configure for compilation |
2039 | -# tests. |
2040 | -AC_DEFUN([LT_OUTPUT], |
2041 | -[: ${CONFIG_LT=./config.lt} |
2042 | -AC_MSG_NOTICE([creating $CONFIG_LT]) |
2043 | -cat >"$CONFIG_LT" <<_LTEOF |
2044 | -#! $SHELL |
2045 | -# Generated by $as_me. |
2046 | -# Run this file to recreate a libtool stub with the current configuration. |
2047 | - |
2048 | -lt_cl_silent=false |
2049 | -SHELL=\${CONFIG_SHELL-$SHELL} |
2050 | -_LTEOF |
2051 | - |
2052 | -cat >>"$CONFIG_LT" <<\_LTEOF |
2053 | -AS_SHELL_SANITIZE |
2054 | -_AS_PREPARE |
2055 | - |
2056 | -exec AS_MESSAGE_FD>&1 |
2057 | -exec AS_MESSAGE_LOG_FD>>config.log |
2058 | -{ |
2059 | - echo |
2060 | - AS_BOX([Running $as_me.]) |
2061 | -} >&AS_MESSAGE_LOG_FD |
2062 | - |
2063 | -lt_cl_help="\ |
2064 | -\`$as_me' creates a local libtool stub from the current configuration, |
2065 | -for use in further configure time tests before the real libtool is |
2066 | -generated. |
2067 | - |
2068 | -Usage: $[0] [[OPTIONS]] |
2069 | - |
2070 | - -h, --help print this help, then exit |
2071 | - -V, --version print version number, then exit |
2072 | - -q, --quiet do not print progress messages |
2073 | - -d, --debug don't remove temporary files |
2074 | - |
2075 | -Report bugs to <bug-libtool@gnu.org>." |
2076 | - |
2077 | -lt_cl_version="\ |
2078 | -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl |
2079 | -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
2080 | -configured by $[0], generated by m4_PACKAGE_STRING. |
2081 | - |
2082 | -Copyright (C) 2008 Free Software Foundation, Inc. |
2083 | -This config.lt script is free software; the Free Software Foundation |
2084 | -gives unlimited permision to copy, distribute and modify it." |
2085 | - |
2086 | -while test $[#] != 0 |
2087 | -do |
2088 | - case $[1] in |
2089 | - --version | --v* | -V ) |
2090 | - echo "$lt_cl_version"; exit 0 ;; |
2091 | - --help | --h* | -h ) |
2092 | - echo "$lt_cl_help"; exit 0 ;; |
2093 | - --debug | --d* | -d ) |
2094 | - debug=: ;; |
2095 | - --quiet | --q* | --silent | --s* | -q ) |
2096 | - lt_cl_silent=: ;; |
2097 | - |
2098 | - -*) AC_MSG_ERROR([unrecognized option: $[1] |
2099 | -Try \`$[0] --help' for more information.]) ;; |
2100 | - |
2101 | - *) AC_MSG_ERROR([unrecognized argument: $[1] |
2102 | -Try \`$[0] --help' for more information.]) ;; |
2103 | - esac |
2104 | - shift |
2105 | -done |
2106 | - |
2107 | -if $lt_cl_silent; then |
2108 | - exec AS_MESSAGE_FD>/dev/null |
2109 | -fi |
2110 | -_LTEOF |
2111 | - |
2112 | -cat >>"$CONFIG_LT" <<_LTEOF |
2113 | -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT |
2114 | -_LTEOF |
2115 | - |
2116 | -cat >>"$CONFIG_LT" <<\_LTEOF |
2117 | -AC_MSG_NOTICE([creating $ofile]) |
2118 | -_LT_OUTPUT_LIBTOOL_COMMANDS |
2119 | -AS_EXIT(0) |
2120 | -_LTEOF |
2121 | -chmod +x "$CONFIG_LT" |
2122 | - |
2123 | -# configure is writing to config.log, but config.lt does its own redirection, |
2124 | -# appending to config.log, which fails on DOS, as config.log is still kept |
2125 | -# open by configure. Here we exec the FD to /dev/null, effectively closing |
2126 | -# config.log, so it can be properly (re)opened and appended to by config.lt. |
2127 | -if test "$no_create" != yes; then |
2128 | - lt_cl_success=: |
2129 | - test "$silent" = yes && |
2130 | - lt_config_lt_args="$lt_config_lt_args --quiet" |
2131 | - exec AS_MESSAGE_LOG_FD>/dev/null |
2132 | - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
2133 | - exec AS_MESSAGE_LOG_FD>>config.log |
2134 | - $lt_cl_success || AS_EXIT(1) |
2135 | -fi |
2136 | -])# LT_OUTPUT |
2137 | - |
2138 | - |
2139 | -# _LT_CONFIG(TAG) |
2140 | -# --------------- |
2141 | -# If TAG is the built-in tag, create an initial libtool script with a |
2142 | -# default configuration from the untagged config vars. Otherwise add code |
2143 | -# to config.status for appending the configuration named by TAG from the |
2144 | -# matching tagged config vars. |
2145 | -m4_defun([_LT_CONFIG], |
2146 | -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
2147 | -_LT_CONFIG_SAVE_COMMANDS([ |
2148 | - m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl |
2149 | - m4_if(_LT_TAG, [C], [ |
2150 | - # See if we are running on zsh, and set the options which allow our |
2151 | - # commands through without removal of \ escapes. |
2152 | - if test -n "${ZSH_VERSION+set}" ; then |
2153 | - setopt NO_GLOB_SUBST |
2154 | - fi |
2155 | - |
2156 | - cfgfile="${ofile}T" |
2157 | - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
2158 | - $RM "$cfgfile" |
2159 | - |
2160 | - cat <<_LT_EOF >> "$cfgfile" |
2161 | -#! $SHELL |
2162 | - |
2163 | -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
2164 | -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
2165 | -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
2166 | -# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
2167 | -# |
2168 | -_LT_COPYING |
2169 | -_LT_LIBTOOL_TAGS |
2170 | - |
2171 | -# ### BEGIN LIBTOOL CONFIG |
2172 | -_LT_LIBTOOL_CONFIG_VARS |
2173 | -_LT_LIBTOOL_TAG_VARS |
2174 | -# ### END LIBTOOL CONFIG |
2175 | - |
2176 | -_LT_EOF |
2177 | - |
2178 | - case $host_os in |
2179 | - aix3*) |
2180 | - cat <<\_LT_EOF >> "$cfgfile" |
2181 | -# AIX sometimes has problems with the GCC collect2 program. For some |
2182 | -# reason, if we set the COLLECT_NAMES environment variable, the problems |
2183 | -# vanish in a puff of smoke. |
2184 | -if test "X${COLLECT_NAMES+set}" != Xset; then |
2185 | - COLLECT_NAMES= |
2186 | - export COLLECT_NAMES |
2187 | -fi |
2188 | -_LT_EOF |
2189 | - ;; |
2190 | - esac |
2191 | - |
2192 | - _LT_PROG_LTMAIN |
2193 | - |
2194 | - # We use sed instead of cat because bash on DJGPP gets confused if |
2195 | - # if finds mixed CR/LF and LF-only lines. Since sed operates in |
2196 | - # text mode, it properly converts lines to CR/LF. This bash problem |
2197 | - # is reportedly fixed, but why not run on old versions too? |
2198 | - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
2199 | - || (rm -f "$cfgfile"; exit 1) |
2200 | - |
2201 | - _LT_PROG_XSI_SHELLFNS |
2202 | - |
2203 | - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
2204 | - || (rm -f "$cfgfile"; exit 1) |
2205 | - |
2206 | - mv -f "$cfgfile" "$ofile" || |
2207 | - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
2208 | - chmod +x "$ofile" |
2209 | -], |
2210 | -[cat <<_LT_EOF >> "$ofile" |
2211 | - |
2212 | -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded |
2213 | -dnl in a comment (ie after a #). |
2214 | -# ### BEGIN LIBTOOL TAG CONFIG: $1 |
2215 | -_LT_LIBTOOL_TAG_VARS(_LT_TAG) |
2216 | -# ### END LIBTOOL TAG CONFIG: $1 |
2217 | -_LT_EOF |
2218 | -])dnl /m4_if |
2219 | -], |
2220 | -[m4_if([$1], [], [ |
2221 | - PACKAGE='$PACKAGE' |
2222 | - VERSION='$VERSION' |
2223 | - TIMESTAMP='$TIMESTAMP' |
2224 | - RM='$RM' |
2225 | - ofile='$ofile'], []) |
2226 | -])dnl /_LT_CONFIG_SAVE_COMMANDS |
2227 | -])# _LT_CONFIG |
2228 | - |
2229 | - |
2230 | -# LT_SUPPORTED_TAG(TAG) |
2231 | -# --------------------- |
2232 | -# Trace this macro to discover what tags are supported by the libtool |
2233 | -# --tag option, using: |
2234 | -# autoconf --trace 'LT_SUPPORTED_TAG:$1' |
2235 | -AC_DEFUN([LT_SUPPORTED_TAG], []) |
2236 | - |
2237 | - |
2238 | -# C support is built-in for now |
2239 | -m4_define([_LT_LANG_C_enabled], []) |
2240 | -m4_define([_LT_TAGS], []) |
2241 | - |
2242 | - |
2243 | -# LT_LANG(LANG) |
2244 | -# ------------- |
2245 | -# Enable libtool support for the given language if not already enabled. |
2246 | -AC_DEFUN([LT_LANG], |
2247 | -[AC_BEFORE([$0], [LT_OUTPUT])dnl |
2248 | -m4_case([$1], |
2249 | - [C], [_LT_LANG(C)], |
2250 | - [C++], [_LT_LANG(CXX)], |
2251 | - [Java], [_LT_LANG(GCJ)], |
2252 | - [Fortran 77], [_LT_LANG(F77)], |
2253 | - [Fortran], [_LT_LANG(FC)], |
2254 | - [Windows Resource], [_LT_LANG(RC)], |
2255 | - [m4_ifdef([_LT_LANG_]$1[_CONFIG], |
2256 | - [_LT_LANG($1)], |
2257 | - [m4_fatal([$0: unsupported language: "$1"])])])dnl |
2258 | -])# LT_LANG |
2259 | - |
2260 | - |
2261 | -# _LT_LANG(LANGNAME) |
2262 | -# ------------------ |
2263 | -m4_defun([_LT_LANG], |
2264 | -[m4_ifdef([_LT_LANG_]$1[_enabled], [], |
2265 | - [LT_SUPPORTED_TAG([$1])dnl |
2266 | - m4_append([_LT_TAGS], [$1 ])dnl |
2267 | - m4_define([_LT_LANG_]$1[_enabled], [])dnl |
2268 | - _LT_LANG_$1_CONFIG($1)])dnl |
2269 | -])# _LT_LANG |
2270 | - |
2271 | - |
2272 | -# _LT_LANG_DEFAULT_CONFIG |
2273 | -# ----------------------- |
2274 | -m4_defun([_LT_LANG_DEFAULT_CONFIG], |
2275 | -[AC_PROVIDE_IFELSE([AC_PROG_CXX], |
2276 | - [LT_LANG(CXX)], |
2277 | - [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) |
2278 | - |
2279 | -AC_PROVIDE_IFELSE([AC_PROG_F77], |
2280 | - [LT_LANG(F77)], |
2281 | - [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) |
2282 | - |
2283 | -AC_PROVIDE_IFELSE([AC_PROG_FC], |
2284 | - [LT_LANG(FC)], |
2285 | - [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) |
2286 | - |
2287 | -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal |
2288 | -dnl pulling things in needlessly. |
2289 | -AC_PROVIDE_IFELSE([AC_PROG_GCJ], |
2290 | - [LT_LANG(GCJ)], |
2291 | - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], |
2292 | - [LT_LANG(GCJ)], |
2293 | - [AC_PROVIDE_IFELSE([LT_PROG_GCJ], |
2294 | - [LT_LANG(GCJ)], |
2295 | - [m4_ifdef([AC_PROG_GCJ], |
2296 | - [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) |
2297 | - m4_ifdef([A][M_PROG_GCJ], |
2298 | - [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) |
2299 | - m4_ifdef([LT_PROG_GCJ], |
2300 | - [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) |
2301 | - |
2302 | -AC_PROVIDE_IFELSE([LT_PROG_RC], |
2303 | - [LT_LANG(RC)], |
2304 | - [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) |
2305 | -])# _LT_LANG_DEFAULT_CONFIG |
2306 | - |
2307 | -# Obsolete macros: |
2308 | -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) |
2309 | -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) |
2310 | -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) |
2311 | -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) |
2312 | -dnl aclocal-1.4 backwards compatibility: |
2313 | -dnl AC_DEFUN([AC_LIBTOOL_CXX], []) |
2314 | -dnl AC_DEFUN([AC_LIBTOOL_F77], []) |
2315 | -dnl AC_DEFUN([AC_LIBTOOL_FC], []) |
2316 | -dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) |
2317 | - |
2318 | - |
2319 | -# _LT_TAG_COMPILER |
2320 | -# ---------------- |
2321 | -m4_defun([_LT_TAG_COMPILER], |
2322 | -[AC_REQUIRE([AC_PROG_CC])dnl |
2323 | - |
2324 | -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl |
2325 | -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl |
2326 | -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl |
2327 | -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl |
2328 | - |
2329 | -# If no C compiler was specified, use CC. |
2330 | -LTCC=${LTCC-"$CC"} |
2331 | - |
2332 | -# If no C compiler flags were specified, use CFLAGS. |
2333 | -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
2334 | - |
2335 | -# Allow CC to be a program name with arguments. |
2336 | -compiler=$CC |
2337 | -])# _LT_TAG_COMPILER |
2338 | - |
2339 | - |
2340 | -# _LT_COMPILER_BOILERPLATE |
2341 | -# ------------------------ |
2342 | -# Check for compiler boilerplate output or warnings with |
2343 | -# the simple compiler test code. |
2344 | -m4_defun([_LT_COMPILER_BOILERPLATE], |
2345 | -[m4_require([_LT_DECL_SED])dnl |
2346 | -ac_outfile=conftest.$ac_objext |
2347 | -echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
2348 | -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
2349 | -_lt_compiler_boilerplate=`cat conftest.err` |
2350 | -$RM conftest* |
2351 | -])# _LT_COMPILER_BOILERPLATE |
2352 | - |
2353 | - |
2354 | -# _LT_LINKER_BOILERPLATE |
2355 | -# ---------------------- |
2356 | -# Check for linker boilerplate output or warnings with |
2357 | -# the simple link test code. |
2358 | -m4_defun([_LT_LINKER_BOILERPLATE], |
2359 | -[m4_require([_LT_DECL_SED])dnl |
2360 | -ac_outfile=conftest.$ac_objext |
2361 | -echo "$lt_simple_link_test_code" >conftest.$ac_ext |
2362 | -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
2363 | -_lt_linker_boilerplate=`cat conftest.err` |
2364 | -$RM -r conftest* |
2365 | -])# _LT_LINKER_BOILERPLATE |
2366 | - |
2367 | -# _LT_REQUIRED_DARWIN_CHECKS |
2368 | -# ------------------------- |
2369 | -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ |
2370 | - case $host_os in |
2371 | - rhapsody* | darwin*) |
2372 | - AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) |
2373 | - AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) |
2374 | - AC_CHECK_TOOL([LIPO], [lipo], [:]) |
2375 | - AC_CHECK_TOOL([OTOOL], [otool], [:]) |
2376 | - AC_CHECK_TOOL([OTOOL64], [otool64], [:]) |
2377 | - _LT_DECL([], [DSYMUTIL], [1], |
2378 | - [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) |
2379 | - _LT_DECL([], [NMEDIT], [1], |
2380 | - [Tool to change global to local symbols on Mac OS X]) |
2381 | - _LT_DECL([], [LIPO], [1], |
2382 | - [Tool to manipulate fat objects and archives on Mac OS X]) |
2383 | - _LT_DECL([], [OTOOL], [1], |
2384 | - [ldd/readelf like tool for Mach-O binaries on Mac OS X]) |
2385 | - _LT_DECL([], [OTOOL64], [1], |
2386 | - [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) |
2387 | - |
2388 | - AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], |
2389 | - [lt_cv_apple_cc_single_mod=no |
2390 | - if test -z "${LT_MULTI_MODULE}"; then |
2391 | - # By default we will add the -single_module flag. You can override |
2392 | - # by either setting the environment variable LT_MULTI_MODULE |
2393 | - # non-empty at configure time, or by adding -multi_module to the |
2394 | - # link flags. |
2395 | - rm -rf libconftest.dylib* |
2396 | - echo "int foo(void){return 1;}" > conftest.c |
2397 | - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
2398 | --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD |
2399 | - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
2400 | - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
2401 | - _lt_result=$? |
2402 | - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
2403 | - lt_cv_apple_cc_single_mod=yes |
2404 | - else |
2405 | - cat conftest.err >&AS_MESSAGE_LOG_FD |
2406 | - fi |
2407 | - rm -rf libconftest.dylib* |
2408 | - rm -f conftest.* |
2409 | - fi]) |
2410 | - AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
2411 | - [lt_cv_ld_exported_symbols_list], |
2412 | - [lt_cv_ld_exported_symbols_list=no |
2413 | - save_LDFLAGS=$LDFLAGS |
2414 | - echo "_main" > conftest.sym |
2415 | - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
2416 | - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
2417 | - [lt_cv_ld_exported_symbols_list=yes], |
2418 | - [lt_cv_ld_exported_symbols_list=no]) |
2419 | - LDFLAGS="$save_LDFLAGS" |
2420 | - ]) |
2421 | - case $host_os in |
2422 | - rhapsody* | darwin1.[[012]]) |
2423 | - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
2424 | - darwin1.*) |
2425 | - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
2426 | - darwin*) # darwin 5.x on |
2427 | - # if running on 10.5 or later, the deployment target defaults |
2428 | - # to the OS version, if on x86, and 10.4, the deployment |
2429 | - # target defaults to 10.4. Don't you love it? |
2430 | - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
2431 | - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
2432 | - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
2433 | - 10.[[012]]*) |
2434 | - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
2435 | - 10.*) |
2436 | - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
2437 | - esac |
2438 | - ;; |
2439 | - esac |
2440 | - if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
2441 | - _lt_dar_single_mod='$single_module' |
2442 | - fi |
2443 | - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
2444 | - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
2445 | - else |
2446 | - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
2447 | - fi |
2448 | - if test "$DSYMUTIL" != ":"; then |
2449 | - _lt_dsymutil='~$DSYMUTIL $lib || :' |
2450 | - else |
2451 | - _lt_dsymutil= |
2452 | - fi |
2453 | - ;; |
2454 | - esac |
2455 | -]) |
2456 | - |
2457 | - |
2458 | -# _LT_DARWIN_LINKER_FEATURES |
2459 | -# -------------------------- |
2460 | -# Checks for linker and compiler features on darwin |
2461 | -m4_defun([_LT_DARWIN_LINKER_FEATURES], |
2462 | -[ |
2463 | - m4_require([_LT_REQUIRED_DARWIN_CHECKS]) |
2464 | - _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
2465 | - _LT_TAGVAR(hardcode_direct, $1)=no |
2466 | - _LT_TAGVAR(hardcode_automatic, $1)=yes |
2467 | - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
2468 | - _LT_TAGVAR(whole_archive_flag_spec, $1)='' |
2469 | - _LT_TAGVAR(link_all_deplibs, $1)=yes |
2470 | - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
2471 | - case $cc_basename in |
2472 | - ifort*) _lt_dar_can_shared=yes ;; |
2473 | - *) _lt_dar_can_shared=$GCC ;; |
2474 | - esac |
2475 | - if test "$_lt_dar_can_shared" = "yes"; then |
2476 | - output_verbose_link_cmd=echo |
2477 | - _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}" |
2478 | - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
2479 | - _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}" |
2480 | - _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}" |
2481 | - m4_if([$1], [CXX], |
2482 | -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
2483 | - _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}" |
2484 | - _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}" |
2485 | - fi |
2486 | -],[]) |
2487 | - else |
2488 | - _LT_TAGVAR(ld_shlibs, $1)=no |
2489 | - fi |
2490 | -]) |
2491 | - |
2492 | -# _LT_SYS_MODULE_PATH_AIX |
2493 | -# ----------------------- |
2494 | -# Links a minimal program and checks the executable |
2495 | -# for the system default hardcoded library path. In most cases, |
2496 | -# this is /usr/lib:/lib, but when the MPI compilers are used |
2497 | -# the location of the communication and MPI libs are included too. |
2498 | -# If we don't find anything, use the default library path according |
2499 | -# to the aix ld manual. |
2500 | -m4_defun([_LT_SYS_MODULE_PATH_AIX], |
2501 | -[m4_require([_LT_DECL_SED])dnl |
2502 | -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ |
2503 | -lt_aix_libpath_sed=' |
2504 | - /Import File Strings/,/^$/ { |
2505 | - /^0/ { |
2506 | - s/^0 *\(.*\)$/\1/ |
2507 | - p |
2508 | - } |
2509 | - }' |
2510 | -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
2511 | -# Check for a 64-bit object if we didn't find anything. |
2512 | -if test -z "$aix_libpath"; then |
2513 | - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
2514 | -fi],[]) |
2515 | -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
2516 | -])# _LT_SYS_MODULE_PATH_AIX |
2517 | - |
2518 | - |
2519 | -# _LT_SHELL_INIT(ARG) |
2520 | -# ------------------- |
2521 | -m4_define([_LT_SHELL_INIT], |
2522 | -[ifdef([AC_DIVERSION_NOTICE], |
2523 | - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], |
2524 | - [AC_DIVERT_PUSH(NOTICE)]) |
2525 | -$1 |
2526 | -AC_DIVERT_POP |
2527 | -])# _LT_SHELL_INIT |
2528 | - |
2529 | - |
2530 | -# _LT_PROG_ECHO_BACKSLASH |
2531 | -# ----------------------- |
2532 | -# Add some code to the start of the generated configure script which |
2533 | -# will find an echo command which doesn't interpret backslashes. |
2534 | -m4_defun([_LT_PROG_ECHO_BACKSLASH], |
2535 | -[_LT_SHELL_INIT([ |
2536 | -# Check that we are running under the correct shell. |
2537 | -SHELL=${CONFIG_SHELL-/bin/sh} |
2538 | - |
2539 | -case X$lt_ECHO in |
2540 | -X*--fallback-echo) |
2541 | - # Remove one level of quotation (which was required for Make). |
2542 | - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
2543 | - ;; |
2544 | -esac |
2545 | - |
2546 | -ECHO=${lt_ECHO-echo} |
2547 | -if test "X[$]1" = X--no-reexec; then |
2548 | - # Discard the --no-reexec flag, and continue. |
2549 | - shift |
2550 | -elif test "X[$]1" = X--fallback-echo; then |
2551 | - # Avoid inline document here, it may be left over |
2552 | - : |
2553 | -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
2554 | - # Yippee, $ECHO works! |
2555 | - : |
2556 | -else |
2557 | - # Restart under the correct shell. |
2558 | - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} |
2559 | -fi |
2560 | - |
2561 | -if test "X[$]1" = X--fallback-echo; then |
2562 | - # used as fallback echo |
2563 | - shift |
2564 | - cat <<_LT_EOF |
2565 | -[$]* |
2566 | -_LT_EOF |
2567 | - exit 0 |
2568 | -fi |
2569 | - |
2570 | -# The HP-UX ksh and POSIX shell print the target directory to stdout |
2571 | -# if CDPATH is set. |
2572 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
2573 | - |
2574 | -if test -z "$lt_ECHO"; then |
2575 | - if test "X${echo_test_string+set}" != Xset; then |
2576 | - # find a string as large as possible, as long as the shell can cope with it |
2577 | - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
2578 | - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
2579 | - if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
2580 | - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
2581 | - then |
2582 | - break |
2583 | - fi |
2584 | - done |
2585 | - fi |
2586 | - |
2587 | - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
2588 | - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
2589 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
2590 | - : |
2591 | - else |
2592 | - # The Solaris, AIX, and Digital Unix default echo programs unquote |
2593 | - # backslashes. This makes it impossible to quote backslashes using |
2594 | - # echo "$something" | sed 's/\\/\\\\/g' |
2595 | - # |
2596 | - # So, first we look for a working echo in the user's PATH. |
2597 | - |
2598 | - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
2599 | - for dir in $PATH /usr/ucb; do |
2600 | - IFS="$lt_save_ifs" |
2601 | - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
2602 | - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
2603 | - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
2604 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
2605 | - ECHO="$dir/echo" |
2606 | - break |
2607 | - fi |
2608 | - done |
2609 | - IFS="$lt_save_ifs" |
2610 | - |
2611 | - if test "X$ECHO" = Xecho; then |
2612 | - # We didn't find a better echo, so look for alternatives. |
2613 | - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
2614 | - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
2615 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
2616 | - # This shell has a builtin print -r that does the trick. |
2617 | - ECHO='print -r' |
2618 | - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
2619 | - test "X$CONFIG_SHELL" != X/bin/ksh; then |
2620 | - # If we have ksh, try running configure again with it. |
2621 | - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
2622 | - export ORIGINAL_CONFIG_SHELL |
2623 | - CONFIG_SHELL=/bin/ksh |
2624 | - export CONFIG_SHELL |
2625 | - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
2626 | - else |
2627 | - # Try using printf. |
2628 | - ECHO='printf %s\n' |
2629 | - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
2630 | - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
2631 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
2632 | - # Cool, printf works |
2633 | - : |
2634 | - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
2635 | - test "X$echo_testing_string" = 'X\t' && |
2636 | - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
2637 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
2638 | - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
2639 | - export CONFIG_SHELL |
2640 | - SHELL="$CONFIG_SHELL" |
2641 | - export SHELL |
2642 | - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
2643 | - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
2644 | - test "X$echo_testing_string" = 'X\t' && |
2645 | - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
2646 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
2647 | - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
2648 | - else |
2649 | - # maybe with a smaller string... |
2650 | - prev=: |
2651 | - |
2652 | - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do |
2653 | - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
2654 | - then |
2655 | - break |
2656 | - fi |
2657 | - prev="$cmd" |
2658 | - done |
2659 | - |
2660 | - if test "$prev" != 'sed 50q "[$]0"'; then |
2661 | - echo_test_string=`eval $prev` |
2662 | - export echo_test_string |
2663 | - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} |
2664 | - else |
2665 | - # Oops. We lost completely, so just stick with echo. |
2666 | - ECHO=echo |
2667 | - fi |
2668 | - fi |
2669 | - fi |
2670 | - fi |
2671 | - fi |
2672 | -fi |
2673 | - |
2674 | -# Copy echo and quote the copy suitably for passing to libtool from |
2675 | -# the Makefile, instead of quoting the original, which is used later. |
2676 | -lt_ECHO=$ECHO |
2677 | -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
2678 | - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
2679 | -fi |
2680 | - |
2681 | -AC_SUBST(lt_ECHO) |
2682 | -]) |
2683 | -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) |
2684 | -_LT_DECL([], [ECHO], [1], |
2685 | - [An echo program that does not interpret backslashes]) |
2686 | -])# _LT_PROG_ECHO_BACKSLASH |
2687 | - |
2688 | - |
2689 | -# _LT_ENABLE_LOCK |
2690 | -# --------------- |
2691 | -m4_defun([_LT_ENABLE_LOCK], |
2692 | -[AC_ARG_ENABLE([libtool-lock], |
2693 | - [AS_HELP_STRING([--disable-libtool-lock], |
2694 | - [avoid locking (might break parallel builds)])]) |
2695 | -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
2696 | - |
2697 | -# Some flags need to be propagated to the compiler or linker for good |
2698 | -# libtool support. |
2699 | -case $host in |
2700 | -ia64-*-hpux*) |
2701 | - # Find out which ABI we are using. |
2702 | - echo 'int i;' > conftest.$ac_ext |
2703 | - if AC_TRY_EVAL(ac_compile); then |
2704 | - case `/usr/bin/file conftest.$ac_objext` in |
2705 | - *ELF-32*) |
2706 | - HPUX_IA64_MODE="32" |
2707 | - ;; |
2708 | - *ELF-64*) |
2709 | - HPUX_IA64_MODE="64" |
2710 | - ;; |
2711 | - esac |
2712 | - fi |
2713 | - rm -rf conftest* |
2714 | - ;; |
2715 | -*-*-irix6*) |
2716 | - # Find out which ABI we are using. |
2717 | - echo '[#]line __oline__ "configure"' > conftest.$ac_ext |
2718 | - if AC_TRY_EVAL(ac_compile); then |
2719 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
2720 | - case `/usr/bin/file conftest.$ac_objext` in |
2721 | - *32-bit*) |
2722 | - LD="${LD-ld} -melf32bsmip" |
2723 | - ;; |
2724 | - *N32*) |
2725 | - LD="${LD-ld} -melf32bmipn32" |
2726 | - ;; |
2727 | - *64-bit*) |
2728 | - LD="${LD-ld} -melf64bmip" |
2729 | - ;; |
2730 | - esac |
2731 | - else |
2732 | - case `/usr/bin/file conftest.$ac_objext` in |
2733 | - *32-bit*) |
2734 | - LD="${LD-ld} -32" |
2735 | - ;; |
2736 | - *N32*) |
2737 | - LD="${LD-ld} -n32" |
2738 | - ;; |
2739 | - *64-bit*) |
2740 | - LD="${LD-ld} -64" |
2741 | - ;; |
2742 | - esac |
2743 | - fi |
2744 | - fi |
2745 | - rm -rf conftest* |
2746 | - ;; |
2747 | - |
2748 | -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
2749 | -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
2750 | - # Find out which ABI we are using. |
2751 | - echo 'int i;' > conftest.$ac_ext |
2752 | - if AC_TRY_EVAL(ac_compile); then |
2753 | - case `/usr/bin/file conftest.o` in |
2754 | - *32-bit*) |
2755 | - case $host in |
2756 | - x86_64-*kfreebsd*-gnu) |
2757 | - LD="${LD-ld} -m elf_i386_fbsd" |
2758 | - ;; |
2759 | - x86_64-*linux*) |
2760 | - LD="${LD-ld} -m elf_i386" |
2761 | - ;; |
2762 | - ppc64-*linux*|powerpc64-*linux*) |
2763 | - LD="${LD-ld} -m elf32ppclinux" |
2764 | - ;; |
2765 | - s390x-*linux*) |
2766 | - LD="${LD-ld} -m elf_s390" |
2767 | - ;; |
2768 | - sparc64-*linux*) |
2769 | - LD="${LD-ld} -m elf32_sparc" |
2770 | - ;; |
2771 | - esac |
2772 | - ;; |
2773 | - *64-bit*) |
2774 | - case $host in |
2775 | - x86_64-*kfreebsd*-gnu) |
2776 | - LD="${LD-ld} -m elf_x86_64_fbsd" |
2777 | - ;; |
2778 | - x86_64-*linux*) |
2779 | - LD="${LD-ld} -m elf_x86_64" |
2780 | - ;; |
2781 | - ppc*-*linux*|powerpc*-*linux*) |
2782 | - LD="${LD-ld} -m elf64ppc" |
2783 | - ;; |
2784 | - s390*-*linux*|s390*-*tpf*) |
2785 | - LD="${LD-ld} -m elf64_s390" |
2786 | - ;; |
2787 | - sparc*-*linux*) |
2788 | - LD="${LD-ld} -m elf64_sparc" |
2789 | - ;; |
2790 | - esac |
2791 | - ;; |
2792 | - esac |
2793 | - fi |
2794 | - rm -rf conftest* |
2795 | - ;; |
2796 | - |
2797 | -*-*-sco3.2v5*) |
2798 | - # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
2799 | - SAVE_CFLAGS="$CFLAGS" |
2800 | - CFLAGS="$CFLAGS -belf" |
2801 | - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, |
2802 | - [AC_LANG_PUSH(C) |
2803 | - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) |
2804 | - AC_LANG_POP]) |
2805 | - if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
2806 | - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
2807 | - CFLAGS="$SAVE_CFLAGS" |
2808 | - fi |
2809 | - ;; |
2810 | -sparc*-*solaris*) |
2811 | - # Find out which ABI we are using. |
2812 | - echo 'int i;' > conftest.$ac_ext |
2813 | - if AC_TRY_EVAL(ac_compile); then |
2814 | - case `/usr/bin/file conftest.o` in |
2815 | - *64-bit*) |
2816 | - case $lt_cv_prog_gnu_ld in |
2817 | - yes*) LD="${LD-ld} -m elf64_sparc" ;; |
2818 | - *) |
2819 | - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
2820 | - LD="${LD-ld} -64" |
2821 | - fi |
2822 | - ;; |
2823 | - esac |
2824 | - ;; |
2825 | - esac |
2826 | - fi |
2827 | - rm -rf conftest* |
2828 | - ;; |
2829 | -esac |
2830 | - |
2831 | -need_locks="$enable_libtool_lock" |
2832 | -])# _LT_ENABLE_LOCK |
2833 | - |
2834 | - |
2835 | -# _LT_CMD_OLD_ARCHIVE |
2836 | -# ------------------- |
2837 | -m4_defun([_LT_CMD_OLD_ARCHIVE], |
2838 | -[AC_CHECK_TOOL(AR, ar, false) |
2839 | -test -z "$AR" && AR=ar |
2840 | -test -z "$AR_FLAGS" && AR_FLAGS=cru |
2841 | -_LT_DECL([], [AR], [1], [The archiver]) |
2842 | -_LT_DECL([], [AR_FLAGS], [1]) |
2843 | - |
2844 | -AC_CHECK_TOOL(STRIP, strip, :) |
2845 | -test -z "$STRIP" && STRIP=: |
2846 | -_LT_DECL([], [STRIP], [1], [A symbol stripping program]) |
2847 | - |
2848 | -AC_CHECK_TOOL(RANLIB, ranlib, :) |
2849 | -test -z "$RANLIB" && RANLIB=: |
2850 | -_LT_DECL([], [RANLIB], [1], |
2851 | - [Commands used to install an old-style archive]) |
2852 | - |
2853 | -# Determine commands to create old-style static archives. |
2854 | -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
2855 | -old_postinstall_cmds='chmod 644 $oldlib' |
2856 | -old_postuninstall_cmds= |
2857 | - |
2858 | -if test -n "$RANLIB"; then |
2859 | - case $host_os in |
2860 | - openbsd*) |
2861 | - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
2862 | - ;; |
2863 | - *) |
2864 | - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
2865 | - ;; |
2866 | - esac |
2867 | - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
2868 | -fi |
2869 | -_LT_DECL([], [old_postinstall_cmds], [2]) |
2870 | -_LT_DECL([], [old_postuninstall_cmds], [2]) |
2871 | -_LT_TAGDECL([], [old_archive_cmds], [2], |
2872 | - [Commands used to build an old-style archive]) |
2873 | -])# _LT_CMD_OLD_ARCHIVE |
2874 | - |
2875 | - |
2876 | -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
2877 | -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) |
2878 | -# ---------------------------------------------------------------- |
2879 | -# Check whether the given compiler option works |
2880 | -AC_DEFUN([_LT_COMPILER_OPTION], |
2881 | -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
2882 | -m4_require([_LT_DECL_SED])dnl |
2883 | -AC_CACHE_CHECK([$1], [$2], |
2884 | - [$2=no |
2885 | - m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) |
2886 | - echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
2887 | - lt_compiler_flag="$3" |
2888 | - # Insert the option either (1) after the last *FLAGS variable, or |
2889 | - # (2) before a word containing "conftest.", or (3) at the end. |
2890 | - # Note that $ac_compile itself does not contain backslashes and begins |
2891 | - # with a dollar sign (not a hyphen), so the echo should work correctly. |
2892 | - # The option is referenced via a variable to avoid confusing sed. |
2893 | - lt_compile=`echo "$ac_compile" | $SED \ |
2894 | - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
2895 | - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
2896 | - -e 's:$: $lt_compiler_flag:'` |
2897 | - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
2898 | - (eval "$lt_compile" 2>conftest.err) |
2899 | - ac_status=$? |
2900 | - cat conftest.err >&AS_MESSAGE_LOG_FD |
2901 | - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
2902 | - if (exit $ac_status) && test -s "$ac_outfile"; then |
2903 | - # The compiler can only warn and ignore the option if not recognized |
2904 | - # So say no if there are warnings other than the usual output. |
2905 | - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
2906 | - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
2907 | - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
2908 | - $2=yes |
2909 | - fi |
2910 | - fi |
2911 | - $RM conftest* |
2912 | -]) |
2913 | - |
2914 | -if test x"[$]$2" = xyes; then |
2915 | - m4_if([$5], , :, [$5]) |
2916 | -else |
2917 | - m4_if([$6], , :, [$6]) |
2918 | -fi |
2919 | -])# _LT_COMPILER_OPTION |
2920 | - |
2921 | -# Old name: |
2922 | -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) |
2923 | -dnl aclocal-1.4 backwards compatibility: |
2924 | -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) |
2925 | - |
2926 | - |
2927 | -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
2928 | -# [ACTION-SUCCESS], [ACTION-FAILURE]) |
2929 | -# ---------------------------------------------------- |
2930 | -# Check whether the given linker option works |
2931 | -AC_DEFUN([_LT_LINKER_OPTION], |
2932 | -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
2933 | -m4_require([_LT_DECL_SED])dnl |
2934 | -AC_CACHE_CHECK([$1], [$2], |
2935 | - [$2=no |
2936 | - save_LDFLAGS="$LDFLAGS" |
2937 | - LDFLAGS="$LDFLAGS $3" |
2938 | - echo "$lt_simple_link_test_code" > conftest.$ac_ext |
2939 | - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
2940 | - # The linker can only warn and ignore the option if not recognized |
2941 | - # So say no if there are warnings |
2942 | - if test -s conftest.err; then |
2943 | - # Append any errors to the config.log. |
2944 | - cat conftest.err 1>&AS_MESSAGE_LOG_FD |
2945 | - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
2946 | - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
2947 | - if diff conftest.exp conftest.er2 >/dev/null; then |
2948 | - $2=yes |
2949 | - fi |
2950 | - else |
2951 | - $2=yes |
2952 | - fi |
2953 | - fi |
2954 | - $RM -r conftest* |
2955 | - LDFLAGS="$save_LDFLAGS" |
2956 | -]) |
2957 | - |
2958 | -if test x"[$]$2" = xyes; then |
2959 | - m4_if([$4], , :, [$4]) |
2960 | -else |
2961 | - m4_if([$5], , :, [$5]) |
2962 | -fi |
2963 | -])# _LT_LINKER_OPTION |
2964 | - |
2965 | -# Old name: |
2966 | -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) |
2967 | -dnl aclocal-1.4 backwards compatibility: |
2968 | -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) |
2969 | - |
2970 | - |
2971 | -# LT_CMD_MAX_LEN |
2972 | -#--------------- |
2973 | -AC_DEFUN([LT_CMD_MAX_LEN], |
2974 | -[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
2975 | -# find the maximum length of command line arguments |
2976 | -AC_MSG_CHECKING([the maximum length of command line arguments]) |
2977 | -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
2978 | - i=0 |
2979 | - teststring="ABCD" |
2980 | - |
2981 | - case $build_os in |
2982 | - msdosdjgpp*) |
2983 | - # On DJGPP, this test can blow up pretty badly due to problems in libc |
2984 | - # (any single argument exceeding 2000 bytes causes a buffer overrun |
2985 | - # during glob expansion). Even if it were fixed, the result of this |
2986 | - # check would be larger than it should be. |
2987 | - lt_cv_sys_max_cmd_len=12288; # 12K is about right |
2988 | - ;; |
2989 | - |
2990 | - gnu*) |
2991 | - # Under GNU Hurd, this test is not required because there is |
2992 | - # no limit to the length of command line arguments. |
2993 | - # Libtool will interpret -1 as no limit whatsoever |
2994 | - lt_cv_sys_max_cmd_len=-1; |
2995 | - ;; |
2996 | - |
2997 | - cygwin* | mingw* | cegcc*) |
2998 | - # On Win9x/ME, this test blows up -- it succeeds, but takes |
2999 | - # about 5 minutes as the teststring grows exponentially. |
3000 | - # Worse, since 9x/ME are not pre-emptively multitasking, |
3001 | - # you end up with a "frozen" computer, even though with patience |
3002 | - # the test eventually succeeds (with a max line length of 256k). |
3003 | - # Instead, let's just punt: use the minimum linelength reported by |
3004 | - # all of the supported platforms: 8192 (on NT/2K/XP). |
3005 | - lt_cv_sys_max_cmd_len=8192; |
3006 | - ;; |
3007 | - |
3008 | - amigaos*) |
3009 | - # On AmigaOS with pdksh, this test takes hours, literally. |
3010 | - # So we just punt and use a minimum line length of 8192. |
3011 | - lt_cv_sys_max_cmd_len=8192; |
3012 | - ;; |
3013 | - |
3014 | - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
3015 | - # This has been around since 386BSD, at least. Likely further. |
3016 | - if test -x /sbin/sysctl; then |
3017 | - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
3018 | - elif test -x /usr/sbin/sysctl; then |
3019 | - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
3020 | - else |
3021 | - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
3022 | - fi |
3023 | - # And add a safety zone |
3024 | - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
3025 | - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
3026 | - ;; |
3027 | - |
3028 | - interix*) |
3029 | - # We know the value 262144 and hardcode it with a safety zone (like BSD) |
3030 | - lt_cv_sys_max_cmd_len=196608 |
3031 | - ;; |
3032 | - |
3033 | - osf*) |
3034 | - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
3035 | - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
3036 | - # nice to cause kernel panics so lets avoid the loop below. |
3037 | - # First set a reasonable default. |
3038 | - lt_cv_sys_max_cmd_len=16384 |
3039 | - # |
3040 | - if test -x /sbin/sysconfig; then |
3041 | - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
3042 | - *1*) lt_cv_sys_max_cmd_len=-1 ;; |
3043 | - esac |
3044 | - fi |
3045 | - ;; |
3046 | - sco3.2v5*) |
3047 | - lt_cv_sys_max_cmd_len=102400 |
3048 | - ;; |
3049 | - sysv5* | sco5v6* | sysv4.2uw2*) |
3050 | - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
3051 | - if test -n "$kargmax"; then |
3052 | - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
3053 | - else |
3054 | - lt_cv_sys_max_cmd_len=32768 |
3055 | - fi |
3056 | - ;; |
3057 | - *) |
3058 | - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
3059 | - if test -n "$lt_cv_sys_max_cmd_len"; then |
3060 | - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
3061 | - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
3062 | - else |
3063 | - # Make teststring a little bigger before we do anything with it. |
3064 | - # a 1K string should be a reasonable start. |
3065 | - for i in 1 2 3 4 5 6 7 8 ; do |
3066 | - teststring=$teststring$teststring |
3067 | - done |
3068 | - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
3069 | - # If test is not a shell built-in, we'll probably end up computing a |
3070 | - # maximum length that is only half of the actual maximum length, but |
3071 | - # we can't tell. |
3072 | - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
3073 | - = "XX$teststring$teststring"; } >/dev/null 2>&1 && |
3074 | - test $i != 17 # 1/2 MB should be enough |
3075 | - do |
3076 | - i=`expr $i + 1` |
3077 | - teststring=$teststring$teststring |
3078 | - done |
3079 | - # Only check the string length outside the loop. |
3080 | - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
3081 | - teststring= |
3082 | - # Add a significant safety factor because C++ compilers can tack on |
3083 | - # massive amounts of additional arguments before passing them to the |
3084 | - # linker. It appears as though 1/2 is a usable value. |
3085 | - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
3086 | - fi |
3087 | - ;; |
3088 | - esac |
3089 | -]) |
3090 | -if test -n $lt_cv_sys_max_cmd_len ; then |
3091 | - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) |
3092 | -else |
3093 | - AC_MSG_RESULT(none) |
3094 | -fi |
3095 | -max_cmd_len=$lt_cv_sys_max_cmd_len |
3096 | -_LT_DECL([], [max_cmd_len], [0], |
3097 | - [What is the maximum length of a command?]) |
3098 | -])# LT_CMD_MAX_LEN |
3099 | - |
3100 | -# Old name: |
3101 | -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) |
3102 | -dnl aclocal-1.4 backwards compatibility: |
3103 | -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) |
3104 | - |
3105 | - |
3106 | -# _LT_HEADER_DLFCN |
3107 | -# ---------------- |
3108 | -m4_defun([_LT_HEADER_DLFCN], |
3109 | -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl |
3110 | -])# _LT_HEADER_DLFCN |
3111 | - |
3112 | - |
3113 | -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, |
3114 | -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) |
3115 | -# ---------------------------------------------------------------- |
3116 | -m4_defun([_LT_TRY_DLOPEN_SELF], |
3117 | -[m4_require([_LT_HEADER_DLFCN])dnl |
3118 | -if test "$cross_compiling" = yes; then : |
3119 | - [$4] |
3120 | -else |
3121 | - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
3122 | - lt_status=$lt_dlunknown |
3123 | - cat > conftest.$ac_ext <<_LT_EOF |
3124 | -[#line __oline__ "configure" |
3125 | -#include "confdefs.h" |
3126 | - |
3127 | -#if HAVE_DLFCN_H |
3128 | -#include <dlfcn.h> |
3129 | -#endif |
3130 | - |
3131 | -#include <stdio.h> |
3132 | - |
3133 | -#ifdef RTLD_GLOBAL |
3134 | -# define LT_DLGLOBAL RTLD_GLOBAL |
3135 | -#else |
3136 | -# ifdef DL_GLOBAL |
3137 | -# define LT_DLGLOBAL DL_GLOBAL |
3138 | -# else |
3139 | -# define LT_DLGLOBAL 0 |
3140 | -# endif |
3141 | -#endif |
3142 | - |
3143 | -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
3144 | - find out it does not work in some platform. */ |
3145 | -#ifndef LT_DLLAZY_OR_NOW |
3146 | -# ifdef RTLD_LAZY |
3147 | -# define LT_DLLAZY_OR_NOW RTLD_LAZY |
3148 | -# else |
3149 | -# ifdef DL_LAZY |
3150 | -# define LT_DLLAZY_OR_NOW DL_LAZY |
3151 | -# else |
3152 | -# ifdef RTLD_NOW |
3153 | -# define LT_DLLAZY_OR_NOW RTLD_NOW |
3154 | -# else |
3155 | -# ifdef DL_NOW |
3156 | -# define LT_DLLAZY_OR_NOW DL_NOW |
3157 | -# else |
3158 | -# define LT_DLLAZY_OR_NOW 0 |
3159 | -# endif |
3160 | -# endif |
3161 | -# endif |
3162 | -# endif |
3163 | -#endif |
3164 | - |
3165 | -void fnord() { int i=42;} |
3166 | -int main () |
3167 | -{ |
3168 | - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
3169 | - int status = $lt_dlunknown; |
3170 | - |
3171 | - if (self) |
3172 | - { |
3173 | - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
3174 | - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
3175 | - /* dlclose (self); */ |
3176 | - } |
3177 | - else |
3178 | - puts (dlerror ()); |
3179 | - |
3180 | - return status; |
3181 | -}] |
3182 | -_LT_EOF |
3183 | - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then |
3184 | - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null |
3185 | - lt_status=$? |
3186 | - case x$lt_status in |
3187 | - x$lt_dlno_uscore) $1 ;; |
3188 | - x$lt_dlneed_uscore) $2 ;; |
3189 | - x$lt_dlunknown|x*) $3 ;; |
3190 | - esac |
3191 | - else : |
3192 | - # compilation failed |
3193 | - $3 |
3194 | - fi |
3195 | -fi |
3196 | -rm -fr conftest* |
3197 | -])# _LT_TRY_DLOPEN_SELF |
3198 | - |
3199 | - |
3200 | -# LT_SYS_DLOPEN_SELF |
3201 | -# ------------------ |
3202 | -AC_DEFUN([LT_SYS_DLOPEN_SELF], |
3203 | -[m4_require([_LT_HEADER_DLFCN])dnl |
3204 | -if test "x$enable_dlopen" != xyes; then |
3205 | - enable_dlopen=unknown |
3206 | - enable_dlopen_self=unknown |
3207 | - enable_dlopen_self_static=unknown |
3208 | -else |
3209 | - lt_cv_dlopen=no |
3210 | - lt_cv_dlopen_libs= |
3211 | - |
3212 | - case $host_os in |
3213 | - beos*) |
3214 | - lt_cv_dlopen="load_add_on" |
3215 | - lt_cv_dlopen_libs= |
3216 | - lt_cv_dlopen_self=yes |
3217 | - ;; |
3218 | - |
3219 | - mingw* | pw32* | cegcc*) |
3220 | - lt_cv_dlopen="LoadLibrary" |
3221 | - lt_cv_dlopen_libs= |
3222 | - ;; |
3223 | - |
3224 | - cygwin*) |
3225 | - lt_cv_dlopen="dlopen" |
3226 | - lt_cv_dlopen_libs= |
3227 | - ;; |
3228 | - |
3229 | - darwin*) |
3230 | - # if libdl is installed we need to link against it |
3231 | - AC_CHECK_LIB([dl], [dlopen], |
3232 | - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ |
3233 | - lt_cv_dlopen="dyld" |
3234 | - lt_cv_dlopen_libs= |
3235 | - lt_cv_dlopen_self=yes |
3236 | - ]) |
3237 | - ;; |
3238 | - |
3239 | - *) |
3240 | - AC_CHECK_FUNC([shl_load], |
3241 | - [lt_cv_dlopen="shl_load"], |
3242 | - [AC_CHECK_LIB([dld], [shl_load], |
3243 | - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], |
3244 | - [AC_CHECK_FUNC([dlopen], |
3245 | - [lt_cv_dlopen="dlopen"], |
3246 | - [AC_CHECK_LIB([dl], [dlopen], |
3247 | - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], |
3248 | - [AC_CHECK_LIB([svld], [dlopen], |
3249 | - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], |
3250 | - [AC_CHECK_LIB([dld], [dld_link], |
3251 | - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) |
3252 | - ]) |
3253 | - ]) |
3254 | - ]) |
3255 | - ]) |
3256 | - ]) |
3257 | - ;; |
3258 | - esac |
3259 | - |
3260 | - if test "x$lt_cv_dlopen" != xno; then |
3261 | - enable_dlopen=yes |
3262 | - else |
3263 | - enable_dlopen=no |
3264 | - fi |
3265 | - |
3266 | - case $lt_cv_dlopen in |
3267 | - dlopen) |
3268 | - save_CPPFLAGS="$CPPFLAGS" |
3269 | - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
3270 | - |
3271 | - save_LDFLAGS="$LDFLAGS" |
3272 | - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
3273 | - |
3274 | - save_LIBS="$LIBS" |
3275 | - LIBS="$lt_cv_dlopen_libs $LIBS" |
3276 | - |
3277 | - AC_CACHE_CHECK([whether a program can dlopen itself], |
3278 | - lt_cv_dlopen_self, [dnl |
3279 | - _LT_TRY_DLOPEN_SELF( |
3280 | - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, |
3281 | - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) |
3282 | - ]) |
3283 | - |
3284 | - if test "x$lt_cv_dlopen_self" = xyes; then |
3285 | - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
3286 | - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], |
3287 | - lt_cv_dlopen_self_static, [dnl |
3288 | - _LT_TRY_DLOPEN_SELF( |
3289 | - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, |
3290 | - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) |
3291 | - ]) |
3292 | - fi |
3293 | - |
3294 | - CPPFLAGS="$save_CPPFLAGS" |
3295 | - LDFLAGS="$save_LDFLAGS" |
3296 | - LIBS="$save_LIBS" |
3297 | - ;; |
3298 | - esac |
3299 | - |
3300 | - case $lt_cv_dlopen_self in |
3301 | - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
3302 | - *) enable_dlopen_self=unknown ;; |
3303 | - esac |
3304 | - |
3305 | - case $lt_cv_dlopen_self_static in |
3306 | - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
3307 | - *) enable_dlopen_self_static=unknown ;; |
3308 | - esac |
3309 | -fi |
3310 | -_LT_DECL([dlopen_support], [enable_dlopen], [0], |
3311 | - [Whether dlopen is supported]) |
3312 | -_LT_DECL([dlopen_self], [enable_dlopen_self], [0], |
3313 | - [Whether dlopen of programs is supported]) |
3314 | -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], |
3315 | - [Whether dlopen of statically linked programs is supported]) |
3316 | -])# LT_SYS_DLOPEN_SELF |
3317 | - |
3318 | -# Old name: |
3319 | -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) |
3320 | -dnl aclocal-1.4 backwards compatibility: |
3321 | -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) |
3322 | - |
3323 | - |
3324 | -# _LT_COMPILER_C_O([TAGNAME]) |
3325 | -# --------------------------- |
3326 | -# Check to see if options -c and -o are simultaneously supported by compiler. |
3327 | -# This macro does not hard code the compiler like AC_PROG_CC_C_O. |
3328 | -m4_defun([_LT_COMPILER_C_O], |
3329 | -[m4_require([_LT_DECL_SED])dnl |
3330 | -m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
3331 | -m4_require([_LT_TAG_COMPILER])dnl |
3332 | -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], |
3333 | - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], |
3334 | - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no |
3335 | - $RM -r conftest 2>/dev/null |
3336 | - mkdir conftest |
3337 | - cd conftest |
3338 | - mkdir out |
3339 | - echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
3340 | - |
3341 | - lt_compiler_flag="-o out/conftest2.$ac_objext" |
3342 | - # Insert the option either (1) after the last *FLAGS variable, or |
3343 | - # (2) before a word containing "conftest.", or (3) at the end. |
3344 | - # Note that $ac_compile itself does not contain backslashes and begins |
3345 | - # with a dollar sign (not a hyphen), so the echo should work correctly. |
3346 | - lt_compile=`echo "$ac_compile" | $SED \ |
3347 | - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
3348 | - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
3349 | - -e 's:$: $lt_compiler_flag:'` |
3350 | - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
3351 | - (eval "$lt_compile" 2>out/conftest.err) |
3352 | - ac_status=$? |
3353 | - cat out/conftest.err >&AS_MESSAGE_LOG_FD |
3354 | - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
3355 | - if (exit $ac_status) && test -s out/conftest2.$ac_objext |
3356 | - then |
3357 | - # The compiler can only warn and ignore the option if not recognized |
3358 | - # So say no if there are warnings |
3359 | - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
3360 | - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
3361 | - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
3362 | - _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
3363 | - fi |
3364 | - fi |
3365 | - chmod u+w . 2>&AS_MESSAGE_LOG_FD |
3366 | - $RM conftest* |
3367 | - # SGI C++ compiler will create directory out/ii_files/ for |
3368 | - # template instantiation |
3369 | - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
3370 | - $RM out/* && rmdir out |
3371 | - cd .. |
3372 | - $RM -r conftest |
3373 | - $RM conftest* |
3374 | -]) |
3375 | -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], |
3376 | - [Does compiler simultaneously support -c and -o options?]) |
3377 | -])# _LT_COMPILER_C_O |
3378 | - |
3379 | - |
3380 | -# _LT_COMPILER_FILE_LOCKS([TAGNAME]) |
3381 | -# ---------------------------------- |
3382 | -# Check to see if we can do hard links to lock some files if needed |
3383 | -m4_defun([_LT_COMPILER_FILE_LOCKS], |
3384 | -[m4_require([_LT_ENABLE_LOCK])dnl |
3385 | -m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
3386 | -_LT_COMPILER_C_O([$1]) |
3387 | - |
3388 | -hard_links="nottested" |
3389 | -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then |
3390 | - # do not overwrite the value of need_locks provided by the user |
3391 | - AC_MSG_CHECKING([if we can lock with hard links]) |
3392 | - hard_links=yes |
3393 | - $RM conftest* |
3394 | - ln conftest.a conftest.b 2>/dev/null && hard_links=no |
3395 | - touch conftest.a |
3396 | - ln conftest.a conftest.b 2>&5 || hard_links=no |
3397 | - ln conftest.a conftest.b 2>/dev/null && hard_links=no |
3398 | - AC_MSG_RESULT([$hard_links]) |
3399 | - if test "$hard_links" = no; then |
3400 | - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) |
3401 | - need_locks=warn |
3402 | - fi |
3403 | -else |
3404 | - need_locks=no |
3405 | -fi |
3406 | -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) |
3407 | -])# _LT_COMPILER_FILE_LOCKS |
3408 | - |
3409 | - |
3410 | -# _LT_CHECK_OBJDIR |
3411 | -# ---------------- |
3412 | -m4_defun([_LT_CHECK_OBJDIR], |
3413 | -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], |
3414 | -[rm -f .libs 2>/dev/null |
3415 | -mkdir .libs 2>/dev/null |
3416 | -if test -d .libs; then |
3417 | - lt_cv_objdir=.libs |
3418 | -else |
3419 | - # MS-DOS does not allow filenames that begin with a dot. |
3420 | - lt_cv_objdir=_libs |
3421 | -fi |
3422 | -rmdir .libs 2>/dev/null]) |
3423 | -objdir=$lt_cv_objdir |
3424 | -_LT_DECL([], [objdir], [0], |
3425 | - [The name of the directory that contains temporary libtool files])dnl |
3426 | -m4_pattern_allow([LT_OBJDIR])dnl |
3427 | -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", |
3428 | - [Define to the sub-directory in which libtool stores uninstalled libraries.]) |
3429 | -])# _LT_CHECK_OBJDIR |
3430 | - |
3431 | - |
3432 | -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) |
3433 | -# -------------------------------------- |
3434 | -# Check hardcoding attributes. |
3435 | -m4_defun([_LT_LINKER_HARDCODE_LIBPATH], |
3436 | -[AC_MSG_CHECKING([how to hardcode library paths into programs]) |
3437 | -_LT_TAGVAR(hardcode_action, $1)= |
3438 | -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || |
3439 | - test -n "$_LT_TAGVAR(runpath_var, $1)" || |
3440 | - test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then |
3441 | - |
3442 | - # We can hardcode non-existent directories. |
3443 | - if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && |
3444 | - # If the only mechanism to avoid hardcoding is shlibpath_var, we |
3445 | - # have to relink, otherwise we might link with an installed library |
3446 | - # when we should be linking with a yet-to-be-installed one |
3447 | - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && |
3448 | - test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then |
3449 | - # Linking always hardcodes the temporary library directory. |
3450 | - _LT_TAGVAR(hardcode_action, $1)=relink |
3451 | - else |
3452 | - # We can link without hardcoding, and we can hardcode nonexisting dirs. |
3453 | - _LT_TAGVAR(hardcode_action, $1)=immediate |
3454 | - fi |
3455 | -else |
3456 | - # We cannot hardcode anything, or else we can only hardcode existing |
3457 | - # directories. |
3458 | - _LT_TAGVAR(hardcode_action, $1)=unsupported |
3459 | -fi |
3460 | -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) |
3461 | - |
3462 | -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || |
3463 | - test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then |
3464 | - # Fast installation is not supported |
3465 | - enable_fast_install=no |
3466 | -elif test "$shlibpath_overrides_runpath" = yes || |
3467 | - test "$enable_shared" = no; then |
3468 | - # Fast installation is not necessary |
3469 | - enable_fast_install=needless |
3470 | -fi |
3471 | -_LT_TAGDECL([], [hardcode_action], [0], |
3472 | - [How to hardcode a shared library path into an executable]) |
3473 | -])# _LT_LINKER_HARDCODE_LIBPATH |
3474 | - |
3475 | - |
3476 | -# _LT_CMD_STRIPLIB |
3477 | -# ---------------- |
3478 | -m4_defun([_LT_CMD_STRIPLIB], |
3479 | -[m4_require([_LT_DECL_EGREP]) |
3480 | -striplib= |
3481 | -old_striplib= |
3482 | -AC_MSG_CHECKING([whether stripping libraries is possible]) |
3483 | -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
3484 | - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
3485 | - test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
3486 | - AC_MSG_RESULT([yes]) |
3487 | -else |
3488 | -# FIXME - insert some real tests, host_os isn't really good enough |
3489 | - case $host_os in |
3490 | - darwin*) |
3491 | - if test -n "$STRIP" ; then |
3492 | - striplib="$STRIP -x" |
3493 | - old_striplib="$STRIP -S" |
3494 | - AC_MSG_RESULT([yes]) |
3495 | - else |
3496 | - AC_MSG_RESULT([no]) |
3497 | - fi |
3498 | - ;; |
3499 | - *) |
3500 | - AC_MSG_RESULT([no]) |
3501 | - ;; |
3502 | - esac |
3503 | -fi |
3504 | -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) |
3505 | -_LT_DECL([], [striplib], [1]) |
3506 | -])# _LT_CMD_STRIPLIB |
3507 | - |
3508 | - |
3509 | -# _LT_SYS_DYNAMIC_LINKER([TAG]) |
3510 | -# ----------------------------- |
3511 | -# PORTME Fill in your ld.so characteristics |
3512 | -m4_defun([_LT_SYS_DYNAMIC_LINKER], |
3513 | -[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
3514 | -m4_require([_LT_DECL_EGREP])dnl |
3515 | -m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
3516 | -m4_require([_LT_DECL_OBJDUMP])dnl |
3517 | -m4_require([_LT_DECL_SED])dnl |
3518 | -AC_MSG_CHECKING([dynamic linker characteristics]) |
3519 | -m4_if([$1], |
3520 | - [], [ |
3521 | -if test "$GCC" = yes; then |
3522 | - case $host_os in |
3523 | - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
3524 | - *) lt_awk_arg="/^libraries:/" ;; |
3525 | - esac |
3526 | - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
3527 | - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
3528 | - # if the path contains ";" then we assume it to be the separator |
3529 | - # otherwise default to the standard path separator (i.e. ":") - it is |
3530 | - # assumed that no part of a normal pathname contains ";" but that should |
3531 | - # okay in the real world where ";" in dirpaths is itself problematic. |
3532 | - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
3533 | - else |
3534 | - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
3535 | - fi |
3536 | - # Ok, now we have the path, separated by spaces, we can step through it |
3537 | - # and add multilib dir if necessary. |
3538 | - lt_tmp_lt_search_path_spec= |
3539 | - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
3540 | - for lt_sys_path in $lt_search_path_spec; do |
3541 | - if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
3542 | - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
3543 | - else |
3544 | - test -d "$lt_sys_path" && \ |
3545 | - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
3546 | - fi |
3547 | - done |
3548 | - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
3549 | -BEGIN {RS=" "; FS="/|\n";} { |
3550 | - lt_foo=""; |
3551 | - lt_count=0; |
3552 | - for (lt_i = NF; lt_i > 0; lt_i--) { |
3553 | - if ($lt_i != "" && $lt_i != ".") { |
3554 | - if ($lt_i == "..") { |
3555 | - lt_count++; |
3556 | - } else { |
3557 | - if (lt_count == 0) { |
3558 | - lt_foo="/" $lt_i lt_foo; |
3559 | - } else { |
3560 | - lt_count--; |
3561 | - } |
3562 | - } |
3563 | - } |
3564 | - } |
3565 | - if (lt_foo != "") { lt_freq[[lt_foo]]++; } |
3566 | - if (lt_freq[[lt_foo]] == 1) { print lt_foo; } |
3567 | -}'` |
3568 | - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
3569 | -else |
3570 | - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
3571 | -fi]) |
3572 | -library_names_spec= |
3573 | -libname_spec='lib$name' |
3574 | -soname_spec= |
3575 | -shrext_cmds=".so" |
3576 | -postinstall_cmds= |
3577 | -postuninstall_cmds= |
3578 | -finish_cmds= |
3579 | -finish_eval= |
3580 | -shlibpath_var= |
3581 | -shlibpath_overrides_runpath=unknown |
3582 | -version_type=none |
3583 | -dynamic_linker="$host_os ld.so" |
3584 | -sys_lib_dlsearch_path_spec="/lib /usr/lib" |
3585 | -need_lib_prefix=unknown |
3586 | -hardcode_into_libs=no |
3587 | - |
3588 | -# when you set need_version to no, make sure it does not cause -set_version |
3589 | -# flags to be left without arguments |
3590 | -need_version=unknown |
3591 | - |
3592 | -case $host_os in |
3593 | -aix3*) |
3594 | - version_type=linux |
3595 | - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
3596 | - shlibpath_var=LIBPATH |
3597 | - |
3598 | - # AIX 3 has no versioning support, so we append a major version to the name. |
3599 | - soname_spec='${libname}${release}${shared_ext}$major' |
3600 | - ;; |
3601 | - |
3602 | -aix[[4-9]]*) |
3603 | - version_type=linux |
3604 | - need_lib_prefix=no |
3605 | - need_version=no |
3606 | - hardcode_into_libs=yes |
3607 | - if test "$host_cpu" = ia64; then |
3608 | - # AIX 5 supports IA64 |
3609 | - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
3610 | - shlibpath_var=LD_LIBRARY_PATH |
3611 | - else |
3612 | - # With GCC up to 2.95.x, collect2 would create an import file |
3613 | - # for dependence libraries. The import file would start with |
3614 | - # the line `#! .'. This would cause the generated library to |
3615 | - # depend on `.', always an invalid library. This was fixed in |
3616 | - # development snapshots of GCC prior to 3.0. |
3617 | - case $host_os in |
3618 | - aix4 | aix4.[[01]] | aix4.[[01]].*) |
3619 | - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
3620 | - echo ' yes ' |
3621 | - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
3622 | - : |
3623 | - else |
3624 | - can_build_shared=no |
3625 | - fi |
3626 | - ;; |
3627 | - esac |
3628 | - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
3629 | - # soname into executable. Probably we can add versioning support to |
3630 | - # collect2, so additional links can be useful in future. |
3631 | - if test "$aix_use_runtimelinking" = yes; then |
3632 | - # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
3633 | - # instead of lib<name>.a to let people know that these are not |
3634 | - # typical AIX shared libraries. |
3635 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
3636 | - else |
3637 | - # We preserve .a as extension for shared libraries through AIX4.2 |
3638 | - # and later when we are not doing run time linking. |
3639 | - library_names_spec='${libname}${release}.a $libname.a' |
3640 | - soname_spec='${libname}${release}${shared_ext}$major' |
3641 | - fi |
3642 | - shlibpath_var=LIBPATH |
3643 | - fi |
3644 | - ;; |
3645 | - |
3646 | -amigaos*) |
3647 | - case $host_cpu in |
3648 | - powerpc) |
3649 | - # Since July 2007 AmigaOS4 officially supports .so libraries. |
3650 | - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
3651 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
3652 | - ;; |
3653 | - m68k) |
3654 | - library_names_spec='$libname.ixlibrary $libname.a' |
3655 | - # Create ${libname}_ixlibrary.a entries in /sys/libs. |
3656 | - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
3657 | - ;; |
3658 | - esac |
3659 | - ;; |
3660 | - |
3661 | -beos*) |
3662 | - library_names_spec='${libname}${shared_ext}' |
3663 | - dynamic_linker="$host_os ld.so" |
3664 | - shlibpath_var=LIBRARY_PATH |
3665 | - ;; |
3666 | - |
3667 | -bsdi[[45]]*) |
3668 | - version_type=linux |
3669 | - need_version=no |
3670 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
3671 | - soname_spec='${libname}${release}${shared_ext}$major' |
3672 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
3673 | - shlibpath_var=LD_LIBRARY_PATH |
3674 | - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
3675 | - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
3676 | - # the default ld.so.conf also contains /usr/contrib/lib and |
3677 | - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
3678 | - # libtool to hard-code these into programs |
3679 | - ;; |
3680 | - |
3681 | -cygwin* | mingw* | pw32* | cegcc*) |
3682 | - version_type=windows |
3683 | - shrext_cmds=".dll" |
3684 | - need_version=no |
3685 | - need_lib_prefix=no |
3686 | - |
3687 | - case $GCC,$host_os in |
3688 | - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
3689 | - library_names_spec='$libname.dll.a' |
3690 | - # DLL is installed to $(libdir)/../bin by postinstall_cmds |
3691 | - postinstall_cmds='base_file=`basename \${file}`~ |
3692 | - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
3693 | - dldir=$destdir/`dirname \$dlpath`~ |
3694 | - test -d \$dldir || mkdir -p \$dldir~ |
3695 | - $install_prog $dir/$dlname \$dldir/$dlname~ |
3696 | - chmod a+x \$dldir/$dlname~ |
3697 | - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
3698 | - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
3699 | - fi' |
3700 | - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
3701 | - dlpath=$dir/\$dldll~ |
3702 | - $RM \$dlpath' |
3703 | - shlibpath_overrides_runpath=yes |
3704 | - |
3705 | - case $host_os in |
3706 | - cygwin*) |
3707 | - # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
3708 | - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
3709 | - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
3710 | - ;; |
3711 | - mingw* | cegcc*) |
3712 | - # MinGW DLLs use traditional 'lib' prefix |
3713 | - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
3714 | - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
3715 | - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then |
3716 | - # It is most probably a Windows format PATH printed by |
3717 | - # mingw gcc, but we are running on Cygwin. Gcc prints its search |
3718 | - # path with ; separators, and with drive letters. We can handle the |
3719 | - # drive letters (cygwin fileutils understands them), so leave them, |
3720 | - # especially as we might pass files found there to a mingw objdump, |
3721 | - # which wouldn't understand a cygwinified path. Ahh. |
3722 | - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
3723 | - else |
3724 | - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
3725 | - fi |
3726 | - ;; |
3727 | - pw32*) |
3728 | - # pw32 DLLs use 'pw' prefix rather than 'lib' |
3729 | - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
3730 | - ;; |
3731 | - esac |
3732 | - ;; |
3733 | - |
3734 | - *) |
3735 | - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' |
3736 | - ;; |
3737 | - esac |
3738 | - dynamic_linker='Win32 ld.exe' |
3739 | - # FIXME: first we should search . and the directory the executable is in |
3740 | - shlibpath_var=PATH |
3741 | - ;; |
3742 | - |
3743 | -darwin* | rhapsody*) |
3744 | - dynamic_linker="$host_os dyld" |
3745 | - version_type=darwin |
3746 | - need_lib_prefix=no |
3747 | - need_version=no |
3748 | - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
3749 | - soname_spec='${libname}${release}${major}$shared_ext' |
3750 | - shlibpath_overrides_runpath=yes |
3751 | - shlibpath_var=DYLD_LIBRARY_PATH |
3752 | - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
3753 | -m4_if([$1], [],[ |
3754 | - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) |
3755 | - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
3756 | - ;; |
3757 | - |
3758 | -dgux*) |
3759 | - version_type=linux |
3760 | - need_lib_prefix=no |
3761 | - need_version=no |
3762 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
3763 | - soname_spec='${libname}${release}${shared_ext}$major' |
3764 | - shlibpath_var=LD_LIBRARY_PATH |
3765 | - ;; |
3766 | - |
3767 | -freebsd1*) |
3768 | - dynamic_linker=no |
3769 | - ;; |
3770 | - |
3771 | -freebsd* | dragonfly*) |
3772 | - # DragonFly does not have aout. When/if they implement a new |
3773 | - # versioning mechanism, adjust this. |
3774 | - if test -x /usr/bin/objformat; then |
3775 | - objformat=`/usr/bin/objformat` |
3776 | - else |
3777 | - case $host_os in |
3778 | - freebsd[[123]]*) objformat=aout ;; |
3779 | - *) objformat=elf ;; |
3780 | - esac |
3781 | - fi |
3782 | - version_type=freebsd-$objformat |
3783 | - case $version_type in |
3784 | - freebsd-elf*) |
3785 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
3786 | - need_version=no |
3787 | - need_lib_prefix=no |
3788 | - ;; |
3789 | - freebsd-*) |
3790 | - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
3791 | - need_version=yes |
3792 | - ;; |
3793 | - esac |
3794 | - shlibpath_var=LD_LIBRARY_PATH |
3795 | - case $host_os in |
3796 | - freebsd2*) |
3797 | - shlibpath_overrides_runpath=yes |
3798 | - ;; |
3799 | - freebsd3.[[01]]* | freebsdelf3.[[01]]*) |
3800 | - shlibpath_overrides_runpath=yes |
3801 | - hardcode_into_libs=yes |
3802 | - ;; |
3803 | - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ |
3804 | - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) |
3805 | - shlibpath_overrides_runpath=no |
3806 | - hardcode_into_libs=yes |
3807 | - ;; |
3808 | - *) # from 4.6 on, and DragonFly |
3809 | - shlibpath_overrides_runpath=yes |
3810 | - hardcode_into_libs=yes |
3811 | - ;; |
3812 | - esac |
3813 | - ;; |
3814 | - |
3815 | -gnu*) |
3816 | - version_type=linux |
3817 | - need_lib_prefix=no |
3818 | - need_version=no |
3819 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
3820 | - soname_spec='${libname}${release}${shared_ext}$major' |
3821 | - shlibpath_var=LD_LIBRARY_PATH |
3822 | - hardcode_into_libs=yes |
3823 | - ;; |
3824 | - |
3825 | -hpux9* | hpux10* | hpux11*) |
3826 | - # Give a soname corresponding to the major version so that dld.sl refuses to |
3827 | - # link against other versions. |
3828 | - version_type=sunos |
3829 | - need_lib_prefix=no |
3830 | - need_version=no |
3831 | - case $host_cpu in |
3832 | - ia64*) |
3833 | - shrext_cmds='.so' |
3834 | - hardcode_into_libs=yes |
3835 | - dynamic_linker="$host_os dld.so" |
3836 | - shlibpath_var=LD_LIBRARY_PATH |
3837 | - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
3838 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
3839 | - soname_spec='${libname}${release}${shared_ext}$major' |
3840 | - if test "X$HPUX_IA64_MODE" = X32; then |
3841 | - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
3842 | - else |
3843 | - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
3844 | - fi |
3845 | - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
3846 | - ;; |
3847 | - hppa*64*) |
3848 | - shrext_cmds='.sl' |
3849 | - hardcode_into_libs=yes |
3850 | - dynamic_linker="$host_os dld.sl" |
3851 | - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
3852 | - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
3853 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
3854 | - soname_spec='${libname}${release}${shared_ext}$major' |
3855 | - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
3856 | - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
3857 | - ;; |
3858 | - *) |
3859 | - shrext_cmds='.sl' |
3860 | - dynamic_linker="$host_os dld.sl" |
3861 | - shlibpath_var=SHLIB_PATH |
3862 | - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
3863 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
3864 | - soname_spec='${libname}${release}${shared_ext}$major' |
3865 | - ;; |
3866 | - esac |
3867 | - # HP-UX runs *really* slowly unless shared libraries are mode 555. |
3868 | - postinstall_cmds='chmod 555 $lib' |
3869 | - ;; |
3870 | - |
3871 | -interix[[3-9]]*) |
3872 | - version_type=linux |
3873 | - need_lib_prefix=no |
3874 | - need_version=no |
3875 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
3876 | - soname_spec='${libname}${release}${shared_ext}$major' |
3877 | - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
3878 | - shlibpath_var=LD_LIBRARY_PATH |
3879 | - shlibpath_overrides_runpath=no |
3880 | - hardcode_into_libs=yes |
3881 | - ;; |
3882 | - |
3883 | -irix5* | irix6* | nonstopux*) |
3884 | - case $host_os in |
3885 | - nonstopux*) version_type=nonstopux ;; |
3886 | - *) |
3887 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
3888 | - version_type=linux |
3889 | - else |
3890 | - version_type=irix |
3891 | - fi ;; |
3892 | - esac |
3893 | - need_lib_prefix=no |
3894 | - need_version=no |
3895 | - soname_spec='${libname}${release}${shared_ext}$major' |
3896 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
3897 | - case $host_os in |
3898 | - irix5* | nonstopux*) |
3899 | - libsuff= shlibsuff= |
3900 | - ;; |
3901 | - *) |
3902 | - case $LD in # libtool.m4 will add one of these switches to LD |
3903 | - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
3904 | - libsuff= shlibsuff= libmagic=32-bit;; |
3905 | - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
3906 | - libsuff=32 shlibsuff=N32 libmagic=N32;; |
3907 | - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
3908 | - libsuff=64 shlibsuff=64 libmagic=64-bit;; |
3909 | - *) libsuff= shlibsuff= libmagic=never-match;; |
3910 | - esac |
3911 | - ;; |
3912 | - esac |
3913 | - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
3914 | - shlibpath_overrides_runpath=no |
3915 | - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
3916 | - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
3917 | - hardcode_into_libs=yes |
3918 | - ;; |
3919 | - |
3920 | -# No shared lib support for Linux oldld, aout, or coff. |
3921 | -linux*oldld* | linux*aout* | linux*coff*) |
3922 | - dynamic_linker=no |
3923 | - ;; |
3924 | - |
3925 | -# This must be Linux ELF. |
3926 | -linux* | k*bsd*-gnu | kopensolaris*-gnu) |
3927 | - version_type=linux |
3928 | - need_lib_prefix=no |
3929 | - need_version=no |
3930 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
3931 | - soname_spec='${libname}${release}${shared_ext}$major' |
3932 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
3933 | - shlibpath_var=LD_LIBRARY_PATH |
3934 | - shlibpath_overrides_runpath=no |
3935 | - # Some binutils ld are patched to set DT_RUNPATH |
3936 | - save_LDFLAGS=$LDFLAGS |
3937 | - save_libdir=$libdir |
3938 | - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ |
3939 | - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" |
3940 | - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
3941 | - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], |
3942 | - [shlibpath_overrides_runpath=yes])]) |
3943 | - LDFLAGS=$save_LDFLAGS |
3944 | - libdir=$save_libdir |
3945 | - |
3946 | - # This implies no fast_install, which is unacceptable. |
3947 | - # Some rework will be needed to allow for fast_install |
3948 | - # before this can be enabled. |
3949 | - hardcode_into_libs=yes |
3950 | - |
3951 | - # Append ld.so.conf contents to the search path |
3952 | - if test -f /etc/ld.so.conf; then |
3953 | - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
3954 | - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
3955 | - fi |
3956 | - |
3957 | - # We used to test for /lib/ld.so.1 and disable shared libraries on |
3958 | - # powerpc, because MkLinux only supported shared libraries with the |
3959 | - # GNU dynamic linker. Since this was broken with cross compilers, |
3960 | - # most powerpc-linux boxes support dynamic linking these days and |
3961 | - # people can always --disable-shared, the test was removed, and we |
3962 | - # assume the GNU/Linux dynamic linker is in use. |
3963 | - dynamic_linker='GNU/Linux ld.so' |
3964 | - ;; |
3965 | - |
3966 | -netbsdelf*-gnu) |
3967 | - version_type=linux |
3968 | - need_lib_prefix=no |
3969 | - need_version=no |
3970 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
3971 | - soname_spec='${libname}${release}${shared_ext}$major' |
3972 | - shlibpath_var=LD_LIBRARY_PATH |
3973 | - shlibpath_overrides_runpath=no |
3974 | - hardcode_into_libs=yes |
3975 | - dynamic_linker='NetBSD ld.elf_so' |
3976 | - ;; |
3977 | - |
3978 | -netbsd*) |
3979 | - version_type=sunos |
3980 | - need_lib_prefix=no |
3981 | - need_version=no |
3982 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
3983 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
3984 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
3985 | - dynamic_linker='NetBSD (a.out) ld.so' |
3986 | - else |
3987 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
3988 | - soname_spec='${libname}${release}${shared_ext}$major' |
3989 | - dynamic_linker='NetBSD ld.elf_so' |
3990 | - fi |
3991 | - shlibpath_var=LD_LIBRARY_PATH |
3992 | - shlibpath_overrides_runpath=yes |
3993 | - hardcode_into_libs=yes |
3994 | - ;; |
3995 | - |
3996 | -newsos6) |
3997 | - version_type=linux |
3998 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
3999 | - shlibpath_var=LD_LIBRARY_PATH |
4000 | - shlibpath_overrides_runpath=yes |
4001 | - ;; |
4002 | - |
4003 | -*nto* | *qnx*) |
4004 | - version_type=qnx |
4005 | - need_lib_prefix=no |
4006 | - need_version=no |
4007 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
4008 | - soname_spec='${libname}${release}${shared_ext}$major' |
4009 | - shlibpath_var=LD_LIBRARY_PATH |
4010 | - shlibpath_overrides_runpath=no |
4011 | - hardcode_into_libs=yes |
4012 | - dynamic_linker='ldqnx.so' |
4013 | - ;; |
4014 | - |
4015 | -openbsd*) |
4016 | - version_type=sunos |
4017 | - sys_lib_dlsearch_path_spec="/usr/lib" |
4018 | - need_lib_prefix=no |
4019 | - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
4020 | - case $host_os in |
4021 | - openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
4022 | - *) need_version=no ;; |
4023 | - esac |
4024 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
4025 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
4026 | - shlibpath_var=LD_LIBRARY_PATH |
4027 | - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
4028 | - case $host_os in |
4029 | - openbsd2.[[89]] | openbsd2.[[89]].*) |
4030 | - shlibpath_overrides_runpath=no |
4031 | - ;; |
4032 | - *) |
4033 | - shlibpath_overrides_runpath=yes |
4034 | - ;; |
4035 | - esac |
4036 | - else |
4037 | - shlibpath_overrides_runpath=yes |
4038 | - fi |
4039 | - ;; |
4040 | - |
4041 | -os2*) |
4042 | - libname_spec='$name' |
4043 | - shrext_cmds=".dll" |
4044 | - need_lib_prefix=no |
4045 | - library_names_spec='$libname${shared_ext} $libname.a' |
4046 | - dynamic_linker='OS/2 ld.exe' |
4047 | - shlibpath_var=LIBPATH |
4048 | - ;; |
4049 | - |
4050 | -osf3* | osf4* | osf5*) |
4051 | - version_type=osf |
4052 | - need_lib_prefix=no |
4053 | - need_version=no |
4054 | - soname_spec='${libname}${release}${shared_ext}$major' |
4055 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
4056 | - shlibpath_var=LD_LIBRARY_PATH |
4057 | - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
4058 | - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
4059 | - ;; |
4060 | - |
4061 | -rdos*) |
4062 | - dynamic_linker=no |
4063 | - ;; |
4064 | - |
4065 | -solaris*) |
4066 | - version_type=linux |
4067 | - need_lib_prefix=no |
4068 | - need_version=no |
4069 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
4070 | - soname_spec='${libname}${release}${shared_ext}$major' |
4071 | - shlibpath_var=LD_LIBRARY_PATH |
4072 | - shlibpath_overrides_runpath=yes |
4073 | - hardcode_into_libs=yes |
4074 | - # ldd complains unless libraries are executable |
4075 | - postinstall_cmds='chmod +x $lib' |
4076 | - ;; |
4077 | - |
4078 | -sunos4*) |
4079 | - version_type=sunos |
4080 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
4081 | - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
4082 | - shlibpath_var=LD_LIBRARY_PATH |
4083 | - shlibpath_overrides_runpath=yes |
4084 | - if test "$with_gnu_ld" = yes; then |
4085 | - need_lib_prefix=no |
4086 | - fi |
4087 | - need_version=yes |
4088 | - ;; |
4089 | - |
4090 | -sysv4 | sysv4.3*) |
4091 | - version_type=linux |
4092 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
4093 | - soname_spec='${libname}${release}${shared_ext}$major' |
4094 | - shlibpath_var=LD_LIBRARY_PATH |
4095 | - case $host_vendor in |
4096 | - sni) |
4097 | - shlibpath_overrides_runpath=no |
4098 | - need_lib_prefix=no |
4099 | - runpath_var=LD_RUN_PATH |
4100 | - ;; |
4101 | - siemens) |
4102 | - need_lib_prefix=no |
4103 | - ;; |
4104 | - motorola) |
4105 | - need_lib_prefix=no |
4106 | - need_version=no |
4107 | - shlibpath_overrides_runpath=no |
4108 | - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
4109 | - ;; |
4110 | - esac |
4111 | - ;; |
4112 | - |
4113 | -sysv4*MP*) |
4114 | - if test -d /usr/nec ;then |
4115 | - version_type=linux |
4116 | - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
4117 | - soname_spec='$libname${shared_ext}.$major' |
4118 | - shlibpath_var=LD_LIBRARY_PATH |
4119 | - fi |
4120 | - ;; |
4121 | - |
4122 | -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
4123 | - version_type=freebsd-elf |
4124 | - need_lib_prefix=no |
4125 | - need_version=no |
4126 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
4127 | - soname_spec='${libname}${release}${shared_ext}$major' |
4128 | - shlibpath_var=LD_LIBRARY_PATH |
4129 | - shlibpath_overrides_runpath=yes |
4130 | - hardcode_into_libs=yes |
4131 | - if test "$with_gnu_ld" = yes; then |
4132 | - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
4133 | - else |
4134 | - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
4135 | - case $host_os in |
4136 | - sco3.2v5*) |
4137 | - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
4138 | - ;; |
4139 | - esac |
4140 | - fi |
4141 | - sys_lib_dlsearch_path_spec='/usr/lib' |
4142 | - ;; |
4143 | - |
4144 | -tpf*) |
4145 | - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
4146 | - version_type=linux |
4147 | - need_lib_prefix=no |
4148 | - need_version=no |
4149 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
4150 | - shlibpath_var=LD_LIBRARY_PATH |
4151 | - shlibpath_overrides_runpath=no |
4152 | - hardcode_into_libs=yes |
4153 | - ;; |
4154 | - |
4155 | -uts4*) |
4156 | - version_type=linux |
4157 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
4158 | - soname_spec='${libname}${release}${shared_ext}$major' |
4159 | - shlibpath_var=LD_LIBRARY_PATH |
4160 | - ;; |
4161 | - |
4162 | -*) |
4163 | - dynamic_linker=no |
4164 | - ;; |
4165 | -esac |
4166 | -AC_MSG_RESULT([$dynamic_linker]) |
4167 | -test "$dynamic_linker" = no && can_build_shared=no |
4168 | - |
4169 | -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
4170 | -if test "$GCC" = yes; then |
4171 | - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
4172 | -fi |
4173 | - |
4174 | -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
4175 | - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
4176 | -fi |
4177 | -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
4178 | - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
4179 | -fi |
4180 | - |
4181 | -_LT_DECL([], [variables_saved_for_relink], [1], |
4182 | - [Variables whose values should be saved in libtool wrapper scripts and |
4183 | - restored at link time]) |
4184 | -_LT_DECL([], [need_lib_prefix], [0], |
4185 | - [Do we need the "lib" prefix for modules?]) |
4186 | -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) |
4187 | -_LT_DECL([], [version_type], [0], [Library versioning type]) |
4188 | -_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) |
4189 | -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) |
4190 | -_LT_DECL([], [shlibpath_overrides_runpath], [0], |
4191 | - [Is shlibpath searched before the hard-coded library search path?]) |
4192 | -_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) |
4193 | -_LT_DECL([], [library_names_spec], [1], |
4194 | - [[List of archive names. First name is the real one, the rest are links. |
4195 | - The last name is the one that the linker finds with -lNAME]]) |
4196 | -_LT_DECL([], [soname_spec], [1], |
4197 | - [[The coded name of the library, if different from the real name]]) |
4198 | -_LT_DECL([], [postinstall_cmds], [2], |
4199 | - [Command to use after installation of a shared archive]) |
4200 | -_LT_DECL([], [postuninstall_cmds], [2], |
4201 | - [Command to use after uninstallation of a shared archive]) |
4202 | -_LT_DECL([], [finish_cmds], [2], |
4203 | - [Commands used to finish a libtool library installation in a directory]) |
4204 | -_LT_DECL([], [finish_eval], [1], |
4205 | - [[As "finish_cmds", except a single script fragment to be evaled but |
4206 | - not shown]]) |
4207 | -_LT_DECL([], [hardcode_into_libs], [0], |
4208 | - [Whether we should hardcode library paths into libraries]) |
4209 | -_LT_DECL([], [sys_lib_search_path_spec], [2], |
4210 | - [Compile-time system search path for libraries]) |
4211 | -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], |
4212 | - [Run-time system search path for libraries]) |
4213 | -])# _LT_SYS_DYNAMIC_LINKER |
4214 | - |
4215 | - |
4216 | -# _LT_PATH_TOOL_PREFIX(TOOL) |
4217 | -# -------------------------- |
4218 | -# find a file program which can recognize shared library |
4219 | -AC_DEFUN([_LT_PATH_TOOL_PREFIX], |
4220 | -[m4_require([_LT_DECL_EGREP])dnl |
4221 | -AC_MSG_CHECKING([for $1]) |
4222 | -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, |
4223 | -[case $MAGIC_CMD in |
4224 | -[[\\/*] | ?:[\\/]*]) |
4225 | - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
4226 | - ;; |
4227 | -*) |
4228 | - lt_save_MAGIC_CMD="$MAGIC_CMD" |
4229 | - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
4230 | -dnl $ac_dummy forces splitting on constant user-supplied paths. |
4231 | -dnl POSIX.2 word splitting is done only on the output of word expansions, |
4232 | -dnl not every word. This closes a longstanding sh security hole. |
4233 | - ac_dummy="m4_if([$2], , $PATH, [$2])" |
4234 | - for ac_dir in $ac_dummy; do |
4235 | - IFS="$lt_save_ifs" |
4236 | - test -z "$ac_dir" && ac_dir=. |
4237 | - if test -f $ac_dir/$1; then |
4238 | - lt_cv_path_MAGIC_CMD="$ac_dir/$1" |
4239 | - if test -n "$file_magic_test_file"; then |
4240 | - case $deplibs_check_method in |
4241 | - "file_magic "*) |
4242 | - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
4243 | - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
4244 | - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
4245 | - $EGREP "$file_magic_regex" > /dev/null; then |
4246 | - : |
4247 | - else |
4248 | - cat <<_LT_EOF 1>&2 |
4249 | - |
4250 | -*** Warning: the command libtool uses to detect shared libraries, |
4251 | -*** $file_magic_cmd, produces output that libtool cannot recognize. |
4252 | -*** The result is that libtool may fail to recognize shared libraries |
4253 | -*** as such. This will affect the creation of libtool libraries that |
4254 | -*** depend on shared libraries, but programs linked with such libtool |
4255 | -*** libraries will work regardless of this problem. Nevertheless, you |
4256 | -*** may want to report the problem to your system manager and/or to |
4257 | -*** bug-libtool@gnu.org |
4258 | - |
4259 | -_LT_EOF |
4260 | - fi ;; |
4261 | - esac |
4262 | - fi |
4263 | - break |
4264 | - fi |
4265 | - done |
4266 | - IFS="$lt_save_ifs" |
4267 | - MAGIC_CMD="$lt_save_MAGIC_CMD" |
4268 | - ;; |
4269 | -esac]) |
4270 | -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
4271 | -if test -n "$MAGIC_CMD"; then |
4272 | - AC_MSG_RESULT($MAGIC_CMD) |
4273 | -else |
4274 | - AC_MSG_RESULT(no) |
4275 | -fi |
4276 | -_LT_DECL([], [MAGIC_CMD], [0], |
4277 | - [Used to examine libraries when file_magic_cmd begins with "file"])dnl |
4278 | -])# _LT_PATH_TOOL_PREFIX |
4279 | - |
4280 | -# Old name: |
4281 | -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) |
4282 | -dnl aclocal-1.4 backwards compatibility: |
4283 | -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) |
4284 | - |
4285 | - |
4286 | -# _LT_PATH_MAGIC |
4287 | -# -------------- |
4288 | -# find a file program which can recognize a shared library |
4289 | -m4_defun([_LT_PATH_MAGIC], |
4290 | -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) |
4291 | -if test -z "$lt_cv_path_MAGIC_CMD"; then |
4292 | - if test -n "$ac_tool_prefix"; then |
4293 | - _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) |
4294 | - else |
4295 | - MAGIC_CMD=: |
4296 | - fi |
4297 | -fi |
4298 | -])# _LT_PATH_MAGIC |
4299 | - |
4300 | - |
4301 | -# LT_PATH_LD |
4302 | -# ---------- |
4303 | -# find the pathname to the GNU or non-GNU linker |
4304 | -AC_DEFUN([LT_PATH_LD], |
4305 | -[AC_REQUIRE([AC_PROG_CC])dnl |
4306 | -AC_REQUIRE([AC_CANONICAL_HOST])dnl |
4307 | -AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
4308 | -m4_require([_LT_DECL_SED])dnl |
4309 | -m4_require([_LT_DECL_EGREP])dnl |
4310 | - |
4311 | -AC_ARG_WITH([gnu-ld], |
4312 | - [AS_HELP_STRING([--with-gnu-ld], |
4313 | - [assume the C compiler uses GNU ld @<:@default=no@:>@])], |
4314 | - [test "$withval" = no || with_gnu_ld=yes], |
4315 | - [with_gnu_ld=no])dnl |
4316 | - |
4317 | -ac_prog=ld |
4318 | -if test "$GCC" = yes; then |
4319 | - # Check if gcc -print-prog-name=ld gives a path. |
4320 | - AC_MSG_CHECKING([for ld used by $CC]) |
4321 | - case $host in |
4322 | - *-*-mingw*) |
4323 | - # gcc leaves a trailing carriage return which upsets mingw |
4324 | - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
4325 | - *) |
4326 | - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
4327 | - esac |
4328 | - case $ac_prog in |
4329 | - # Accept absolute paths. |
4330 | - [[\\/]]* | ?:[[\\/]]*) |
4331 | - re_direlt='/[[^/]][[^/]]*/\.\./' |
4332 | - # Canonicalize the pathname of ld |
4333 | - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
4334 | - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
4335 | - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
4336 | - done |
4337 | - test -z "$LD" && LD="$ac_prog" |
4338 | - ;; |
4339 | - "") |
4340 | - # If it fails, then pretend we aren't using GCC. |
4341 | - ac_prog=ld |
4342 | - ;; |
4343 | - *) |
4344 | - # If it is relative, then search for the first ld in PATH. |
4345 | - with_gnu_ld=unknown |
4346 | - ;; |
4347 | - esac |
4348 | -elif test "$with_gnu_ld" = yes; then |
4349 | - AC_MSG_CHECKING([for GNU ld]) |
4350 | -else |
4351 | - AC_MSG_CHECKING([for non-GNU ld]) |
4352 | -fi |
4353 | -AC_CACHE_VAL(lt_cv_path_LD, |
4354 | -[if test -z "$LD"; then |
4355 | - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
4356 | - for ac_dir in $PATH; do |
4357 | - IFS="$lt_save_ifs" |
4358 | - test -z "$ac_dir" && ac_dir=. |
4359 | - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
4360 | - lt_cv_path_LD="$ac_dir/$ac_prog" |
4361 | - # Check to see if the program is GNU ld. I'd rather use --version, |
4362 | - # but apparently some variants of GNU ld only accept -v. |
4363 | - # Break only if it was the GNU/non-GNU ld that we prefer. |
4364 | - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
4365 | - *GNU* | *'with BFD'*) |
4366 | - test "$with_gnu_ld" != no && break |
4367 | - ;; |
4368 | - *) |
4369 | - test "$with_gnu_ld" != yes && break |
4370 | - ;; |
4371 | - esac |
4372 | - fi |
4373 | - done |
4374 | - IFS="$lt_save_ifs" |
4375 | -else |
4376 | - lt_cv_path_LD="$LD" # Let the user override the test with a path. |
4377 | -fi]) |
4378 | -LD="$lt_cv_path_LD" |
4379 | -if test -n "$LD"; then |
4380 | - AC_MSG_RESULT($LD) |
4381 | -else |
4382 | - AC_MSG_RESULT(no) |
4383 | -fi |
4384 | -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) |
4385 | -_LT_PATH_LD_GNU |
4386 | -AC_SUBST([LD]) |
4387 | - |
4388 | -_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) |
4389 | -])# LT_PATH_LD |
4390 | - |
4391 | -# Old names: |
4392 | -AU_ALIAS([AM_PROG_LD], [LT_PATH_LD]) |
4393 | -AU_ALIAS([AC_PROG_LD], [LT_PATH_LD]) |
4394 | -dnl aclocal-1.4 backwards compatibility: |
4395 | -dnl AC_DEFUN([AM_PROG_LD], []) |
4396 | -dnl AC_DEFUN([AC_PROG_LD], []) |
4397 | - |
4398 | - |
4399 | -# _LT_PATH_LD_GNU |
4400 | -#- -------------- |
4401 | -m4_defun([_LT_PATH_LD_GNU], |
4402 | -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, |
4403 | -[# I'd rather use --version here, but apparently some GNU lds only accept -v. |
4404 | -case `$LD -v 2>&1 </dev/null` in |
4405 | -*GNU* | *'with BFD'*) |
4406 | - lt_cv_prog_gnu_ld=yes |
4407 | - ;; |
4408 | -*) |
4409 | - lt_cv_prog_gnu_ld=no |
4410 | - ;; |
4411 | -esac]) |
4412 | -with_gnu_ld=$lt_cv_prog_gnu_ld |
4413 | -])# _LT_PATH_LD_GNU |
4414 | - |
4415 | - |
4416 | -# _LT_CMD_RELOAD |
4417 | -# -------------- |
4418 | -# find reload flag for linker |
4419 | -# -- PORTME Some linkers may need a different reload flag. |
4420 | -m4_defun([_LT_CMD_RELOAD], |
4421 | -[AC_CACHE_CHECK([for $LD option to reload object files], |
4422 | - lt_cv_ld_reload_flag, |
4423 | - [lt_cv_ld_reload_flag='-r']) |
4424 | -reload_flag=$lt_cv_ld_reload_flag |
4425 | -case $reload_flag in |
4426 | -"" | " "*) ;; |
4427 | -*) reload_flag=" $reload_flag" ;; |
4428 | -esac |
4429 | -reload_cmds='$LD$reload_flag -o $output$reload_objs' |
4430 | -case $host_os in |
4431 | - darwin*) |
4432 | - if test "$GCC" = yes; then |
4433 | - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
4434 | - else |
4435 | - reload_cmds='$LD$reload_flag -o $output$reload_objs' |
4436 | - fi |
4437 | - ;; |
4438 | -esac |
4439 | -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl |
4440 | -_LT_DECL([], [reload_cmds], [2])dnl |
4441 | -])# _LT_CMD_RELOAD |
4442 | - |
4443 | - |
4444 | -# _LT_CHECK_MAGIC_METHOD |
4445 | -# ---------------------- |
4446 | -# how to check for library dependencies |
4447 | -# -- PORTME fill in with the dynamic library characteristics |
4448 | -m4_defun([_LT_CHECK_MAGIC_METHOD], |
4449 | -[m4_require([_LT_DECL_EGREP]) |
4450 | -m4_require([_LT_DECL_OBJDUMP]) |
4451 | -AC_CACHE_CHECK([how to recognize dependent libraries], |
4452 | -lt_cv_deplibs_check_method, |
4453 | -[lt_cv_file_magic_cmd='$MAGIC_CMD' |
4454 | -lt_cv_file_magic_test_file= |
4455 | -lt_cv_deplibs_check_method='unknown' |
4456 | -# Need to set the preceding variable on all platforms that support |
4457 | -# interlibrary dependencies. |
4458 | -# 'none' -- dependencies not supported. |
4459 | -# `unknown' -- same as none, but documents that we really don't know. |
4460 | -# 'pass_all' -- all dependencies passed with no checks. |
4461 | -# 'test_compile' -- check by making test program. |
4462 | -# 'file_magic [[regex]]' -- check by looking for files in library path |
4463 | -# which responds to the $file_magic_cmd with a given extended regex. |
4464 | -# If you have `file' or equivalent on your system and you're not sure |
4465 | -# whether `pass_all' will *always* work, you probably want this one. |
4466 | - |
4467 | -case $host_os in |
4468 | -aix[[4-9]]*) |
4469 | - lt_cv_deplibs_check_method=pass_all |
4470 | - ;; |
4471 | - |
4472 | -beos*) |
4473 | - lt_cv_deplibs_check_method=pass_all |
4474 | - ;; |
4475 | - |
4476 | -bsdi[[45]]*) |
4477 | - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' |
4478 | - lt_cv_file_magic_cmd='/usr/bin/file -L' |
4479 | - lt_cv_file_magic_test_file=/shlib/libc.so |
4480 | - ;; |
4481 | - |
4482 | -cygwin*) |
4483 | - # func_win32_libid is a shell function defined in ltmain.sh |
4484 | - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
4485 | - lt_cv_file_magic_cmd='func_win32_libid' |
4486 | - ;; |
4487 | - |
4488 | -mingw* | pw32*) |
4489 | - # Base MSYS/MinGW do not provide the 'file' command needed by |
4490 | - # func_win32_libid shell function, so use a weaker test based on 'objdump', |
4491 | - # unless we find 'file', for example because we are cross-compiling. |
4492 | - if ( file / ) >/dev/null 2>&1; then |
4493 | - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
4494 | - lt_cv_file_magic_cmd='func_win32_libid' |
4495 | - else |
4496 | - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
4497 | - lt_cv_file_magic_cmd='$OBJDUMP -f' |
4498 | - fi |
4499 | - ;; |
4500 | - |
4501 | -cegcc) |
4502 | - # use the weaker test based on 'objdump'. See mingw*. |
4503 | - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
4504 | - lt_cv_file_magic_cmd='$OBJDUMP -f' |
4505 | - ;; |
4506 | - |
4507 | -darwin* | rhapsody*) |
4508 | - lt_cv_deplibs_check_method=pass_all |
4509 | - ;; |
4510 | - |
4511 | -freebsd* | dragonfly*) |
4512 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
4513 | - case $host_cpu in |
4514 | - i*86 ) |
4515 | - # Not sure whether the presence of OpenBSD here was a mistake. |
4516 | - # Let's accept both of them until this is cleared up. |
4517 | - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' |
4518 | - lt_cv_file_magic_cmd=/usr/bin/file |
4519 | - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
4520 | - ;; |
4521 | - esac |
4522 | - else |
4523 | - lt_cv_deplibs_check_method=pass_all |
4524 | - fi |
4525 | - ;; |
4526 | - |
4527 | -gnu*) |
4528 | - lt_cv_deplibs_check_method=pass_all |
4529 | - ;; |
4530 | - |
4531 | -hpux10.20* | hpux11*) |
4532 | - lt_cv_file_magic_cmd=/usr/bin/file |
4533 | - case $host_cpu in |
4534 | - ia64*) |
4535 | - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' |
4536 | - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
4537 | - ;; |
4538 | - hppa*64*) |
4539 | - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] |
4540 | - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
4541 | - ;; |
4542 | - *) |
4543 | - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' |
4544 | - lt_cv_file_magic_test_file=/usr/lib/libc.sl |
4545 | - ;; |
4546 | - esac |
4547 | - ;; |
4548 | - |
4549 | -interix[[3-9]]*) |
4550 | - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
4551 | - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' |
4552 | - ;; |
4553 | - |
4554 | -irix5* | irix6* | nonstopux*) |
4555 | - case $LD in |
4556 | - *-32|*"-32 ") libmagic=32-bit;; |
4557 | - *-n32|*"-n32 ") libmagic=N32;; |
4558 | - *-64|*"-64 ") libmagic=64-bit;; |
4559 | - *) libmagic=never-match;; |
4560 | - esac |
4561 | - lt_cv_deplibs_check_method=pass_all |
4562 | - ;; |
4563 | - |
4564 | -# This must be Linux ELF. |
4565 | -linux* | k*bsd*-gnu | kopensolaris*-gnu) |
4566 | - lt_cv_deplibs_check_method=pass_all |
4567 | - ;; |
4568 | - |
4569 | -netbsd* | netbsdelf*-gnu) |
4570 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
4571 | - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' |
4572 | - else |
4573 | - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' |
4574 | - fi |
4575 | - ;; |
4576 | - |
4577 | -newos6*) |
4578 | - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' |
4579 | - lt_cv_file_magic_cmd=/usr/bin/file |
4580 | - lt_cv_file_magic_test_file=/usr/lib/libnls.so |
4581 | - ;; |
4582 | - |
4583 | -*nto* | *qnx*) |
4584 | - lt_cv_deplibs_check_method=pass_all |
4585 | - ;; |
4586 | - |
4587 | -openbsd*) |
4588 | - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
4589 | - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' |
4590 | - else |
4591 | - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' |
4592 | - fi |
4593 | - ;; |
4594 | - |
4595 | -osf3* | osf4* | osf5*) |
4596 | - lt_cv_deplibs_check_method=pass_all |
4597 | - ;; |
4598 | - |
4599 | -rdos*) |
4600 | - lt_cv_deplibs_check_method=pass_all |
4601 | - ;; |
4602 | - |
4603 | -solaris*) |
4604 | - lt_cv_deplibs_check_method=pass_all |
4605 | - ;; |
4606 | - |
4607 | -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
4608 | - lt_cv_deplibs_check_method=pass_all |
4609 | - ;; |
4610 | - |
4611 | -sysv4 | sysv4.3*) |
4612 | - case $host_vendor in |
4613 | - motorola) |
4614 | - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' |
4615 | - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
4616 | - ;; |
4617 | - ncr) |
4618 | - lt_cv_deplibs_check_method=pass_all |
4619 | - ;; |
4620 | - sequent) |
4621 | - lt_cv_file_magic_cmd='/bin/file' |
4622 | - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' |
4623 | - ;; |
4624 | - sni) |
4625 | - lt_cv_file_magic_cmd='/bin/file' |
4626 | - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" |
4627 | - lt_cv_file_magic_test_file=/lib/libc.so |
4628 | - ;; |
4629 | - siemens) |
4630 | - lt_cv_deplibs_check_method=pass_all |
4631 | - ;; |
4632 | - pc) |
4633 | - lt_cv_deplibs_check_method=pass_all |
4634 | - ;; |
4635 | - esac |
4636 | - ;; |
4637 | - |
4638 | -tpf*) |
4639 | - lt_cv_deplibs_check_method=pass_all |
4640 | - ;; |
4641 | -esac |
4642 | -]) |
4643 | -file_magic_cmd=$lt_cv_file_magic_cmd |
4644 | -deplibs_check_method=$lt_cv_deplibs_check_method |
4645 | -test -z "$deplibs_check_method" && deplibs_check_method=unknown |
4646 | - |
4647 | -_LT_DECL([], [deplibs_check_method], [1], |
4648 | - [Method to check whether dependent libraries are shared objects]) |
4649 | -_LT_DECL([], [file_magic_cmd], [1], |
4650 | - [Command to use when deplibs_check_method == "file_magic"]) |
4651 | -])# _LT_CHECK_MAGIC_METHOD |
4652 | - |
4653 | - |
4654 | -# LT_PATH_NM |
4655 | -# ---------- |
4656 | -# find the pathname to a BSD- or MS-compatible name lister |
4657 | -AC_DEFUN([LT_PATH_NM], |
4658 | -[AC_REQUIRE([AC_PROG_CC])dnl |
4659 | -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, |
4660 | -[if test -n "$NM"; then |
4661 | - # Let the user override the test. |
4662 | - lt_cv_path_NM="$NM" |
4663 | -else |
4664 | - lt_nm_to_check="${ac_tool_prefix}nm" |
4665 | - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
4666 | - lt_nm_to_check="$lt_nm_to_check nm" |
4667 | - fi |
4668 | - for lt_tmp_nm in $lt_nm_to_check; do |
4669 | - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
4670 | - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
4671 | - IFS="$lt_save_ifs" |
4672 | - test -z "$ac_dir" && ac_dir=. |
4673 | - tmp_nm="$ac_dir/$lt_tmp_nm" |
4674 | - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
4675 | - # Check to see if the nm accepts a BSD-compat flag. |
4676 | - # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
4677 | - # nm: unknown option "B" ignored |
4678 | - # Tru64's nm complains that /dev/null is an invalid object file |
4679 | - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
4680 | - */dev/null* | *'Invalid file or object type'*) |
4681 | - lt_cv_path_NM="$tmp_nm -B" |
4682 | - break |
4683 | - ;; |
4684 | - *) |
4685 | - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
4686 | - */dev/null*) |
4687 | - lt_cv_path_NM="$tmp_nm -p" |
4688 | - break |
4689 | - ;; |
4690 | - *) |
4691 | - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
4692 | - continue # so that we can try to find one that supports BSD flags |
4693 | - ;; |
4694 | - esac |
4695 | - ;; |
4696 | - esac |
4697 | - fi |
4698 | - done |
4699 | - IFS="$lt_save_ifs" |
4700 | - done |
4701 | - : ${lt_cv_path_NM=no} |
4702 | -fi]) |
4703 | -if test "$lt_cv_path_NM" != "no"; then |
4704 | - NM="$lt_cv_path_NM" |
4705 | -else |
4706 | - # Didn't find any BSD compatible name lister, look for dumpbin. |
4707 | - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) |
4708 | - AC_SUBST([DUMPBIN]) |
4709 | - if test "$DUMPBIN" != ":"; then |
4710 | - NM="$DUMPBIN" |
4711 | - fi |
4712 | -fi |
4713 | -test -z "$NM" && NM=nm |
4714 | -AC_SUBST([NM]) |
4715 | -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl |
4716 | - |
4717 | -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], |
4718 | - [lt_cv_nm_interface="BSD nm" |
4719 | - echo "int some_variable = 0;" > conftest.$ac_ext |
4720 | - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) |
4721 | - (eval "$ac_compile" 2>conftest.err) |
4722 | - cat conftest.err >&AS_MESSAGE_LOG_FD |
4723 | - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) |
4724 | - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
4725 | - cat conftest.err >&AS_MESSAGE_LOG_FD |
4726 | - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) |
4727 | - cat conftest.out >&AS_MESSAGE_LOG_FD |
4728 | - if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
4729 | - lt_cv_nm_interface="MS dumpbin" |
4730 | - fi |
4731 | - rm -f conftest*]) |
4732 | -])# LT_PATH_NM |
4733 | - |
4734 | -# Old names: |
4735 | -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) |
4736 | -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) |
4737 | -dnl aclocal-1.4 backwards compatibility: |
4738 | -dnl AC_DEFUN([AM_PROG_NM], []) |
4739 | -dnl AC_DEFUN([AC_PROG_NM], []) |
4740 | - |
4741 | - |
4742 | -# LT_LIB_M |
4743 | -# -------- |
4744 | -# check for math library |
4745 | -AC_DEFUN([LT_LIB_M], |
4746 | -[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
4747 | -LIBM= |
4748 | -case $host in |
4749 | -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) |
4750 | - # These system don't have libm, or don't need it |
4751 | - ;; |
4752 | -*-ncr-sysv4.3*) |
4753 | - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") |
4754 | - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") |
4755 | - ;; |
4756 | -*) |
4757 | - AC_CHECK_LIB(m, cos, LIBM="-lm") |
4758 | - ;; |
4759 | -esac |
4760 | -AC_SUBST([LIBM]) |
4761 | -])# LT_LIB_M |
4762 | - |
4763 | -# Old name: |
4764 | -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) |
4765 | -dnl aclocal-1.4 backwards compatibility: |
4766 | -dnl AC_DEFUN([AC_CHECK_LIBM], []) |
4767 | - |
4768 | - |
4769 | -# _LT_COMPILER_NO_RTTI([TAGNAME]) |
4770 | -# ------------------------------- |
4771 | -m4_defun([_LT_COMPILER_NO_RTTI], |
4772 | -[m4_require([_LT_TAG_COMPILER])dnl |
4773 | - |
4774 | -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= |
4775 | - |
4776 | -if test "$GCC" = yes; then |
4777 | - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' |
4778 | - |
4779 | - _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], |
4780 | - lt_cv_prog_compiler_rtti_exceptions, |
4781 | - [-fno-rtti -fno-exceptions], [], |
4782 | - [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) |
4783 | -fi |
4784 | -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], |
4785 | - [Compiler flag to turn off builtin functions]) |
4786 | -])# _LT_COMPILER_NO_RTTI |
4787 | - |
4788 | - |
4789 | -# _LT_CMD_GLOBAL_SYMBOLS |
4790 | -# ---------------------- |
4791 | -m4_defun([_LT_CMD_GLOBAL_SYMBOLS], |
4792 | -[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
4793 | -AC_REQUIRE([AC_PROG_CC])dnl |
4794 | -AC_REQUIRE([LT_PATH_NM])dnl |
4795 | -AC_REQUIRE([LT_PATH_LD])dnl |
4796 | -m4_require([_LT_DECL_SED])dnl |
4797 | -m4_require([_LT_DECL_EGREP])dnl |
4798 | -m4_require([_LT_TAG_COMPILER])dnl |
4799 | - |
4800 | -# Check for command to grab the raw symbol name followed by C symbol from nm. |
4801 | -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) |
4802 | -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], |
4803 | -[ |
4804 | -# These are sane defaults that work on at least a few old systems. |
4805 | -# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
4806 | - |
4807 | -# Character class describing NM global symbol codes. |
4808 | -symcode='[[BCDEGRST]]' |
4809 | - |
4810 | -# Regexp to match symbols that can be accessed directly from C. |
4811 | -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' |
4812 | - |
4813 | -# Define system-specific variables. |
4814 | -case $host_os in |
4815 | -aix*) |
4816 | - symcode='[[BCDT]]' |
4817 | - ;; |
4818 | -cygwin* | mingw* | pw32* | cegcc*) |
4819 | - symcode='[[ABCDGISTW]]' |
4820 | - ;; |
4821 | -hpux*) |
4822 | - if test "$host_cpu" = ia64; then |
4823 | - symcode='[[ABCDEGRST]]' |
4824 | - fi |
4825 | - ;; |
4826 | -irix* | nonstopux*) |
4827 | - symcode='[[BCDEGRST]]' |
4828 | - ;; |
4829 | -osf*) |
4830 | - symcode='[[BCDEGQRST]]' |
4831 | - ;; |
4832 | -solaris*) |
4833 | - symcode='[[BDRT]]' |
4834 | - ;; |
4835 | -sco3.2v5*) |
4836 | - symcode='[[DT]]' |
4837 | - ;; |
4838 | -sysv4.2uw2*) |
4839 | - symcode='[[DT]]' |
4840 | - ;; |
4841 | -sysv5* | sco5v6* | unixware* | OpenUNIX*) |
4842 | - symcode='[[ABDT]]' |
4843 | - ;; |
4844 | -sysv4) |
4845 | - symcode='[[DFNSTU]]' |
4846 | - ;; |
4847 | -esac |
4848 | - |
4849 | -# If we're using GNU nm, then use its standard symbol codes. |
4850 | -case `$NM -V 2>&1` in |
4851 | -*GNU* | *'with BFD'*) |
4852 | - symcode='[[ABCDGIRSTW]]' ;; |
4853 | -esac |
4854 | - |
4855 | -# Transform an extracted symbol line into a proper C declaration. |
4856 | -# Some systems (esp. on ia64) link data and code symbols differently, |
4857 | -# so use this general approach. |
4858 | -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
4859 | - |
4860 | -# Transform an extracted symbol line into symbol name and symbol address |
4861 | -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" |
4862 | -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
4863 | - |
4864 | -# Handle CRLF in mingw tool chain |
4865 | -opt_cr= |
4866 | -case $build_os in |
4867 | -mingw*) |
4868 | - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
4869 | - ;; |
4870 | -esac |
4871 | - |
4872 | -# Try without a prefix underscore, then with it. |
4873 | -for ac_symprfx in "" "_"; do |
4874 | - |
4875 | - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
4876 | - symxfrm="\\1 $ac_symprfx\\2 \\2" |
4877 | - |
4878 | - # Write the raw and C identifiers. |
4879 | - if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
4880 | - # Fake it for dumpbin and say T for any non-static function |
4881 | - # and D for any global variable. |
4882 | - # Also find C++ and __fastcall symbols from MSVC++, |
4883 | - # which start with @ or ?. |
4884 | - lt_cv_sys_global_symbol_pipe="$AWK ['"\ |
4885 | -" {last_section=section; section=\$ 3};"\ |
4886 | -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
4887 | -" \$ 0!~/External *\|/{next};"\ |
4888 | -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
4889 | -" {if(hide[section]) next};"\ |
4890 | -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
4891 | -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
4892 | -" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
4893 | -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
4894 | -" ' prfx=^$ac_symprfx]" |
4895 | - else |
4896 | - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
4897 | - fi |
4898 | - |
4899 | - # Check to see that the pipe works correctly. |
4900 | - pipe_works=no |
4901 | - |
4902 | - rm -f conftest* |
4903 | - cat > conftest.$ac_ext <<_LT_EOF |
4904 | -#ifdef __cplusplus |
4905 | -extern "C" { |
4906 | -#endif |
4907 | -char nm_test_var; |
4908 | -void nm_test_func(void); |
4909 | -void nm_test_func(void){} |
4910 | -#ifdef __cplusplus |
4911 | -} |
4912 | -#endif |
4913 | -int main(){nm_test_var='a';nm_test_func();return(0);} |
4914 | -_LT_EOF |
4915 | - |
4916 | - if AC_TRY_EVAL(ac_compile); then |
4917 | - # Now try to grab the symbols. |
4918 | - nlist=conftest.nm |
4919 | - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then |
4920 | - # Try sorting and uniquifying the output. |
4921 | - if sort "$nlist" | uniq > "$nlist"T; then |
4922 | - mv -f "$nlist"T "$nlist" |
4923 | - else |
4924 | - rm -f "$nlist"T |
4925 | - fi |
4926 | - |
4927 | - # Make sure that we snagged all the symbols we need. |
4928 | - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
4929 | - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
4930 | - cat <<_LT_EOF > conftest.$ac_ext |
4931 | -#ifdef __cplusplus |
4932 | -extern "C" { |
4933 | -#endif |
4934 | - |
4935 | -_LT_EOF |
4936 | - # Now generate the symbol file. |
4937 | - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
4938 | - |
4939 | - cat <<_LT_EOF >> conftest.$ac_ext |
4940 | - |
4941 | -/* The mapping between symbol names and symbols. */ |
4942 | -const struct { |
4943 | - const char *name; |
4944 | - void *address; |
4945 | -} |
4946 | -lt__PROGRAM__LTX_preloaded_symbols[[]] = |
4947 | -{ |
4948 | - { "@PROGRAM@", (void *) 0 }, |
4949 | -_LT_EOF |
4950 | - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
4951 | - cat <<\_LT_EOF >> conftest.$ac_ext |
4952 | - {0, (void *) 0} |
4953 | -}; |
4954 | - |
4955 | -/* This works around a problem in FreeBSD linker */ |
4956 | -#ifdef FREEBSD_WORKAROUND |
4957 | -static const void *lt_preloaded_setup() { |
4958 | - return lt__PROGRAM__LTX_preloaded_symbols; |
4959 | -} |
4960 | -#endif |
4961 | - |
4962 | -#ifdef __cplusplus |
4963 | -} |
4964 | -#endif |
4965 | -_LT_EOF |
4966 | - # Now try linking the two files. |
4967 | - mv conftest.$ac_objext conftstm.$ac_objext |
4968 | - lt_save_LIBS="$LIBS" |
4969 | - lt_save_CFLAGS="$CFLAGS" |
4970 | - LIBS="conftstm.$ac_objext" |
4971 | - CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" |
4972 | - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then |
4973 | - pipe_works=yes |
4974 | - fi |
4975 | - LIBS="$lt_save_LIBS" |
4976 | - CFLAGS="$lt_save_CFLAGS" |
4977 | - else |
4978 | - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD |
4979 | - fi |
4980 | - else |
4981 | - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD |
4982 | - fi |
4983 | - else |
4984 | - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD |
4985 | - fi |
4986 | - else |
4987 | - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD |
4988 | - cat conftest.$ac_ext >&5 |
4989 | - fi |
4990 | - rm -rf conftest* conftst* |
4991 | - |
4992 | - # Do not use the global_symbol_pipe unless it works. |
4993 | - if test "$pipe_works" = yes; then |
4994 | - break |
4995 | - else |
4996 | - lt_cv_sys_global_symbol_pipe= |
4997 | - fi |
4998 | -done |
4999 | -]) |
5000 | -if test -z "$lt_cv_sys_global_symbol_pipe"; then |
The diff has been truncated for viewing.
yes,
the geis version is the one to focus in.