Merge lp:~noskcaj/ubuntu/trusty/ogmrip-video-copy/merge into lp:ubuntu/trusty/ogmrip-video-copy

Proposed by Jackson Doak
Status: Needs review
Proposed branch: lp:~noskcaj/ubuntu/trusty/ogmrip-video-copy/merge
Merge into: lp:ubuntu/trusty/ogmrip-video-copy
Diff against target: 43913 lines
To merge this branch: bzr merge lp:~noskcaj/ubuntu/trusty/ogmrip-video-copy/merge
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+195705@code.launchpad.net

Description of the change

Merge from deb-multimedia

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. Uploaded.

review: Approve

Unmerged revisions

4. By Jackson Doak

* Merge from deb-multimedia
* Use dh-autoreconf
* Add -f to rm in rules file, fixes ftbfs
* New upstream release.
* Move to dh.

Preview Diff

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

Subscribers

People subscribed via source and target branches

to all changes: