Codebase list faad2 / 40d21ce
Imported Debian patch 2.6.1-3.1 Steffen Joeris authored 15 years ago Andres Mejia committed 14 years ago
20 changed file(s) with 47933 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 faad2 (2.6.1-3.1) unstable; urgency=high
1
2 * Non-maintainer upload by the security team
3 * Include upstream patch to fix heap overflow in the frontend code
4 (Closes: #499899)
5
6 -- Steffen Joeris <white@debian.org> Fri, 26 Sep 2008 12:02:35 +0000
7
8 faad2 (2.6.1-3) unstable; urgency=low
9
10 * Closes: #479802: Update man page to reflect on raw PCM is supported on
11 standard out. Also, have faad fail on trying to send non-raw PCM to
12 standard out.
13 * Apply new knowledge about the differences between hyphens, en-dashes, and
14 em-dashes to man pages.
15 * Move faad man page to patch system.
16 * Update standards version.
17 * Add license declarations and copyright declarations to copyright file.
18 Tidy up authors.
19
20 -- Matthew W. S. Bell <matthew@bells23.org.uk> Thu, 19 Jun 2008 02:35:47 +0100
21
22 faad2 (2.6.1-2) unstable; urgency=low
23
24 * Remove XMMS plugin as XMMS is being removed (Closes: #456724)
25
26 -- Matthew W. S. Bell <matthew@bells23.org.uk> Fri, 21 Dec 2007 00:04:17 +0000
27
28 faad2 (2.6.1-1) unstable; urgency=low
29
30 * Import new upstream version containing new license text
31 (Closes: #451948)
32 * Change build system to call autoreconf at build time, as
33 upstream no longer ships generated files
34 * Update debian/copyright to reflect new license text
35 * Remove Build-Depends on libsndfile1-dev (Closes: #452362)
36
37 -- Matthew W. S. Bell <matthew@bells23.org.uk> Wed, 28 Nov 2007 23:45:05 +0000
38
39 faad2 (2.6-1) unstable; urgency=low
40
41 * Import new 2.6 release. Includes several small off-by-one scale
42 fixes.
43 * Update the copyright as new code includes a clarification of the license
44 text, which indicates that the entire work is under the GPLv2 (closes:
45 #419339).
46
47 -- Matthew W. S. Bell <matthew@bells23.org.uk> Mon, 15 Oct 2007 00:16:21 +0100
48
49 faad2 (2.5-5) unstable; urgency=low
50
51 * Make packages depends bin-NMU safe
52
53 -- Matthew W. S. Bell <matthew@bells23.org.uk> Fri, 17 Aug 2007 16:07:59 +0100
54
55 faad2 (2.5-4) unstable; urgency=low
56
57 * Add mp4ff headers to libfaad-dev package (Closes: 409648)
58
59 -- Matthew W. S. Bell <matthew@bells23.org.uk> Fri, 11 May 2007 19:44:22 +0100
60
61 faad2 (2.5-3) unstable; urgency=low
62
63 * Add patch to stabilise/sanitise headers (Closes: 404279)
64 * Port several fixes from Ubuntu
65 * Add an mp4ff static library
66
67 -- Matthew W. S. Bell <matthew@bells23.org.uk> Sun, 15 Apr 2007 04:23:35 +0100
68
69 faad2 (2.5-2) unstable; urgency=low
70
71 * add xmms-mp4 desription read not like nonsense (Closes: #399457)
72 * Compile without Digital Radio Mondiale support, as it breaks base
73 functionality
74 * Update debian/copyright (See: #403117)
75
76 -- Matthew W. S. Bell <m.bell@bvrh.co.uk> Mon, 4 Dec 2006 19:56:22 +0000
77
78 faad2 (2.5-1) unstable; urgency=low
79
80 * Call make install with DESTDIR instead of prefix
81 * Change configure/Makefile to provide xmms config differently
82 * Add manual page for faad utility
83 * Call make uninstall in clean
84 * Add dummy libfaad2-0 pacakge to satisfy some third-party dependencies
85 * Upload into main (Closes: #306366)
86
87 -- Matthew W. S. Bell <m.bell@bvrh.co.uk> Wed, 18 Oct 2006 23:41:32 +0100
88
89 faad2 (2.5-0.0) unstable; urgency=low
90
91 * New upstream release.
92 * Add drm (Digital Radio Mondiale) support.
93
94 -- Christian Marillat <marillat@debian.org> Wed, 6 Sep 2006 20:18:25 +0200
95
96 faad2 (2.0.0+cvs20060416-0.1) unstable; urgency=low
97
98 * Rebuild for amd64.
99
100 -- Christian Marillat <marillat@debian.org> Sat, 13 May 2006 08:58:34 +0200
101
102 faad2 (2.0.0+cvs20060416-0.0) unstable; urgency=low
103
104 * CVS release.
105
106 -- Christian Marillat <marillat@debian.org> Sun, 16 Apr 2006 17:15:00 +0200
107
108 faad2 (2.0.0-0.7) unstable; urgency=low
109
110 * Rebuild for gcc 4.0
111
112 -- Christian Marillat <marillat@debian.org> Sat, 16 Jul 2005 17:34:28 +0200
113
114 faad2 (2.0.0-0.6) unstable; urgency=low
115
116 * New patch from Gentoo to fix amd64 problem with some files. Thanks to
117 Carl Schneidinger.
118
119 -- Christian Marillat <marillat@debian.org> Fri, 20 May 2005 18:42:23 +0200
120
121 faad2 (2.0.0-0.5) unstable; urgency=low
122
123 * Apply patch from Arnaud Rouanet to fix the -w option in faad.
124
125 -- Christian Marillat <marillat@debian.org> Mon, 21 Mar 2005 10:13:05 +0100
126
127 faad2 (2.0.0-0.4) unstable; urgency=low
128
129 * New patch 04_mp4ff.h to replace "mp4ff_int_types.h" include by <stdint.h>
130
131 -- Christian Marillat <marillat@debian.org> Wed, 9 Mar 2005 08:59:35 +0100
132
133 faad2 (2.0.0-0.3) unstable; urgency=low
134
135 * Add libfaac-dev in Build-Depends.
136 * Little hack to not build the mpeg4ip plugin.
137
138 -- Christian Marillat <marillat@debian.org> Wed, 26 Jan 2005 07:36:25 +0100
139
140 faad2 (2.0.0-0.2) unstable; urgency=low
141
142 * Build with libmp4
143 * Add new package xmms-mp4
144
145 -- Christian Marillat <marillat@debian.org> Mon, 25 Oct 2004 10:19:52 +0200
146
147 faad2 (2.0.0-0.1) unstable; urgency=low
148
149 * Really apply my patch to link against -lm
150
151 -- Christian Marillat <marillat@debian.org> Thu, 29 Jul 2004 15:48:22 +0200
152
153 faad2 (2.0.0-0.0) unstable; urgency=low
154
155 * New upstream release.
156
157 -- Christian Marillat <marillat@debian.org> Sun, 4 Jul 2004 00:26:23 +0200
158
159 faad2 (2.0-rc3-0.0) unstable; urgency=low
160
161 * New upstream release.
162
163 -- Christian Marillat <marillat@debian.org> Tue, 9 Dec 2003 10:57:01 +0100
164
165 faad2 (1.1-0.0) unstable; urgency=low
166
167 * Initial Release.
168
169 -- Christian Marillat <marillat@debian.org> Sun, 29 Dec 2002 23:09:33 +0100
170
0 Source: faad2
1 Section: libs
2 Priority: optional
3 Maintainer: Matthew W. S. Bell <matthew@bells23.org.uk>
4 Standards-Version: 3.8.0.1
5 Build-Depends: debhelper (>> 4), dpatch, libtool, libid3-dev
6 Build-Conflicts: autoconf2.13, automake1.4
7
8
9 Package: libfaad0
10 Architecture: any
11 Depends: ${shlibs:Depends}
12 Conflicts: libfaad2-0 (<< ${source:Version})
13 Replaces: libfaad2-0
14 Description: freeware Advanced Audio Decoder - runtime files
15 FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
16 decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC
17 files.
18
19 Package: libfaad2-0
20 Architecture: all
21 Depends: libfaad0 (>= ${source:Version})
22 Description: freeware Advanced Audio Decoder - dummy package
23 FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
24 decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC
25 files.
26 .
27 This package is a dummy package that satisfies dependencies on libfaad
28 for most third-party packages
29
30 Package: libfaad-dev
31 Section: libdevel
32 Architecture: any
33 Depends: libfaad0 (= ${binary:Version}), libc6-dev | libc-dev
34 Conflicts: libfaad2-dev
35 Replaces: libfaad2-dev
36 Description: freeware Advanced Audio Decoder - development files
37 FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
38 decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC
39 files.
40 .
41 This package contains development files.
42
43 Package: faad
44 Section: sound
45 Architecture: any
46 Depends: ${shlibs:Depends}
47 Conflicts: faad2
48 Replaces: faad2
49 Description: freeware Advanced Audio Decoder player
50 FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
51 decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC
52 files.
53 .
54 This package contains a command line interface to play AAC or MP4 files.
0 This package was debianized by Aubin Paul on Sun, 8 Dec 2002 12:05:10 -0500.
1 This package was prepared for inclusion in Debian by Matthew W. S. Bell
2 <matthew@bells23.org.uk> in May 2006
3
4 It was downloaded from http://faac.sourceforge.net/index.php.
5 Official website is now at http://www.audiocoding.com/
6 CVS is still hosted by SourceForge.net
7
8 Debian Authors: Matthew W. S. Bell <matthew@bells23.org.uk>
9 Aubin Paul <aubin@outlyer.org>
10 Copyright: 2006, 2007, 2008 Matthew W. S. Bell
11 200 Aubin Paul
12
13 Upstream Authors: menno <menno@audiocoding.com>
14 Alexander Kurpiers <a.kurpiers@nt.tu-darmstadt.de>
15 M. Bakker <mbakker@nero.com>
16 Ahead Software AG
17 Nero AG
18 Copyright: 2002-2005 M. Bakker
19 2003-2005 Ahead Software AG
20 2003-2005 Nero AG
21
22 Other Authors: John Edwards
23 Bill May <wmay@cisco.com>
24 Quinnware
25 VideoLAN
26 Copyright: 2002 John Edwards
27 2003 Bill May
28 1997-2002 Quinnware
29 2004 VideoLAN
30
31 License Declaration:
32
33 The GPL may be found in the file /usr/share/common-licenses/GPL.
34
35 The upstream source has the follwing license declaration:
36 ---
37 This program is free software; you can redistribute it and/or modify it under
38 the terms of the GNU General Public License as published by the Free Software
39 Foundation; either version 2 of the License, or (at your option) any later
40 version.
41
42 This program is distributed in the hope that it will be useful, but WITHOUT ANY
43 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
44 PARTICULAR PURPOSE. See the GNU General Public License for more details.
45
46 You should have received a copy of the GNU General Public License along with
47 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
48 Place - Suite 330, Boston, MA 02111-1307, USA.
49
50 Any non-GPL usage of this software or parts of this software is strictly
51 forbidden.
52
53 The "appropriate copyright message" mentioned in section 2c of the GPLv2 must
54 read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com"
55 ---
56
57 The aacDECdrop module has the following license declaration:
58 ---
59 This program is distributed under the GNU General Public License, version 2. A
60 copy of this license is included with this source.
61 ---
62
63 Some files (extra components and plugins) and the Debian packaging have the
64 following license declaration:
65 ---
66 This program is free software; you can redistribute it and/or modify it under
67 the terms of the GNU General Public License as published by the Free Software
68 Foundation; either version 2 of the License, or (at your option) any later
69 version.
70
71 This program is distributed in the hope that it will be useful, but WITHOUT ANY
72 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
73 PARTICULAR PURPOSE. See the GNU General Public License for more details.
74 ---
0 frontend/faad.man
0 usr/include
1 usr/lib/lib*.{a,la,so}
0 02_public-headers
1 04_mp4ff_h-fix
2 05_mp4ff-static-makefile
3 07_remove-static
4 10_faad-man
5 11_faad-stdio
6 12_heap_overflow
7 99_autotools-regenerated
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 01_xmms-autotools.dpatch by Matthew W. S. Bell <matthew@bells23.org.uk>
2 ##
3 ## All lines beginning with ## DP:' are a description of the patch.
4 ## DP: Fix the configuration of the XMMS plugin using autotools
5 ## DP: This patch has already been applied, and autoreconf called.
6
7 @DPATCH@
8 diff -urNad faad2.tmp~/configure.in faad2.tmp/configure.in
9 --- faad2.tmp~/configure.in 2007-10-15 00:41:42.000000000 +0100
10 +++ faad2.tmp/configure.in 2007-10-15 00:43:05.000000000 +0100
11 @@ -16,9 +16,9 @@
12
13 dnl Checks for programs.
14 AC_PROG_CC
15 -AC_PROG_CPP
16 -dnl disable for mpeg4ip plugin
17 -dnl AC_PROG_CXX
18 +dnl AC_PROG_CPP
19 +dnl enable for mpeg4ip plugin, rather than above
20 +AC_PROG_CXX
21 AC_PROG_INSTALL
22 AC_PROG_LN_S
23 AC_PROG_MAKE_SET
24 @@ -129,10 +129,7 @@
25 fi
26
27 if test x$WITHXMMS = xyes; then
28 - AC_CHECK_PROGS(XMMS_CONFIG, xmms-config,"not_found")
29 - if test "$XMMS_CONFIG" = "not_found"; then
30 - AC_MSG_ERROR("*** xmms-config not found - xmms plugin can't be build")
31 - fi
32 + AM_PATH_XMMS()
33 AC_CHECK_HEADER(pthread.h,,
34 AC_MSG_ERROR(*** pthread headers support not installed or not found))
35 AC_CHECK_HEADER(id3.h,,
36 diff -urNad faad2.tmp~/plugins/xmms/src/Makefile.am faad2.tmp/plugins/xmms/src/Makefile.am
37 --- faad2.tmp~/plugins/xmms/src/Makefile.am 2007-10-15 00:42:18.000000000 +0100
38 +++ faad2.tmp/plugins/xmms/src/Makefile.am 2007-10-15 00:43:32.000000000 +0100
39 @@ -1,6 +1,7 @@
40 -local_CFLAGS=`$(XMMS_CONFIG) --cflags` -Wall
41 -local_LDFLAGS=`$(XMMS_CONFIG) --libs`
42 -libdir = `$(XMMS_CONFIG) --input-plugin-dir`
43 +local_CFLAGS=$(XMMS_CFLAGS) -Wall
44 +local_LDFLAGS=$(XMMS_LIBS)
45 +libdir = $(XMMS_INPUT_PLUGIN_DIR)
46 +
47 lib_LTLIBRARIES = libmp4.la
48
49 libmp4_la_CFLAGS = $(local_CFLAGS) -Wall \
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 01_configure.dpatch by Christian Marillat <marillat@debian.org>
2 ##
3 ## All lines beginning with ## DP:' are a description of the patch.
4 ## DP: Fix configure.
5
6 @DPATCH@
7
8 --- faad2-2.0+cvs20060416.orig/plugins/xmms/src/Makefile.in 2006-04-16 16:08:55.000000000 +0200
9 +++ faad2-2.0+cvs20060416/plugins/xmms/src/Makefile.in 2006-04-16 16:09:14.000000000 +0200
10 @@ -171,7 +171,7 @@
11 includedir = @includedir@
12 infodir = @infodir@
13 install_sh = @install_sh@
14 -libdir = `$(XMMS_CONFIG) --input-plugin-dir`
15 +libdir = $(prefix)/lib/xmms/Input
16 libexecdir = @libexecdir@
17 localedir = @localedir@
18 localstatedir = @localstatedir@
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 02_public-headers.dpatch by <matthew@bells23.org.uk>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: Use the public headers directly internally
5
6 @DPATCH@
7 diff -urNad faad2-svn~/include/neaacdec.h faad2-svn/include/neaacdec.h
8 --- faad2-svn~/include/neaacdec.h 2007-11-28 23:28:14.000000000 +0000
9 +++ faad2-svn/include/neaacdec.h 2007-11-28 23:29:27.000000000 +0000
10 @@ -35,6 +35,7 @@
11 extern "C" {
12 #endif /* __cplusplus */
13
14 +#include <stdint.h>
15
16 #if 1
17 /* MACROS FOR BACKWARDS COMPATIBILITY */
18 @@ -197,51 +198,51 @@
19 unsigned char ps;
20 } NeAACDecFrameInfo;
21
22 -char* NEAACDECAPI NeAACDecGetErrorMessage(unsigned char errcode);
23 +int8_t* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode);
24
25 -unsigned long NEAACDECAPI NeAACDecGetCapabilities(void);
26 +uint32_t NEAACDECAPI NeAACDecGetCapabilities(void);
27
28 NeAACDecHandle NEAACDECAPI NeAACDecOpen(void);
29
30 NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder);
31
32 -unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
33 +uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
34 NeAACDecConfigurationPtr config);
35
36 /* Init the library based on info from the AAC file (ADTS/ADIF) */
37 -long NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder,
38 - unsigned char *buffer,
39 - unsigned long buffer_size,
40 - unsigned long *samplerate,
41 - unsigned char *channels);
42 +int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder,
43 + uint8_t *buffer,
44 + uint32_t buffer_size,
45 + uint32_t *samplerate,
46 + uint8_t *channels);
47
48 /* Init the library using a DecoderSpecificInfo */
49 -char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, unsigned char *pBuffer,
50 - unsigned long SizeOfDecoderSpecificInfo,
51 - unsigned long *samplerate, unsigned char *channels);
52 +int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, unsigned char *pBuffer,
53 + uint32_t SizeOfDecoderSpecificInfo,
54 + uint32_t *samplerate, uint8_t *channels);
55
56 /* Init the library for DRM */
57 -char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate,
58 - unsigned char channels);
59 +int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate,
60 + uint8_t channels);
61
62 -void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame);
63 +void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame);
64
65 void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder);
66
67 void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder,
68 NeAACDecFrameInfo *hInfo,
69 - unsigned char *buffer,
70 - unsigned long buffer_size);
71 + uint8_t *buffer,
72 + uint32_t buffer_size);
73
74 void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder,
75 NeAACDecFrameInfo *hInfo,
76 - unsigned char *buffer,
77 - unsigned long buffer_size,
78 + uint8_t *buffer,
79 + uint32_t buffer_size,
80 void **sample_buffer,
81 - unsigned long sample_buffer_size);
82 + uint32_t sample_buffer_size);
83
84 -char NEAACDECAPI NeAACDecAudioSpecificConfig(unsigned char *pBuffer,
85 - unsigned long buffer_size,
86 +int8_t NEAACDECAPI NeAACDecAudioSpecificConfig(uint8_t *pBuffer,
87 + uint32_t buffer_size,
88 mp4AudioSpecificConfig *mp4ASC);
89
90 #ifdef _WIN32
91 diff -urNad faad2-svn~/libfaad/Makefile.am faad2-svn/libfaad/Makefile.am
92 --- faad2-svn~/libfaad/Makefile.am 2007-11-28 23:28:14.000000000 +0000
93 +++ faad2-svn/libfaad/Makefile.am 2007-11-28 23:31:03.000000000 +0000
94 @@ -1,28 +1,29 @@
95 lib_LTLIBRARIES = libfaad.la
96
97 +AM_CFLAGS = -iquote $(top_srcdir)/include
98 include_HEADERS = $(top_srcdir)/include/faad.h \
99 - $(top_srcdir)/include/neaacdec.h
100 + $(top_srcdir)/include/neaacdec.h
101
102 libfaad_la_LDFLAGS = -lm
103
104 libfaad_la_SOURCES = bits.c cfft.c decoder.c drc.c \
105 -drm_dec.c error.c filtbank.c \
106 -ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c \
107 -ps_dec.c ps_syntax.c \
108 -pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \
109 -rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \
110 -sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \
111 -sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c \
112 -analysis.h bits.h cfft.h cfft_tab.h common.h \
113 -decoder.h drc.h drm_dec.h error.h fixed.h filtbank.h \
114 -huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h \
115 -mdct.h mdct_tab.h mp4.h ms.h output.h pns.h ps_dec.h ps_tables.h \
116 -pulse.h rvlc.h \
117 -sbr_dct.h sbr_dec.h sbr_e_nf.h sbr_fbt.h sbr_hfadj.h sbr_hfgen.h \
118 -sbr_huff.h sbr_noise.h sbr_qmf.h sbr_syntax.h sbr_tf_grid.h \
119 -sine_win.h specrec.h ssr.h ssr_fb.h ssr_ipqf.h \
120 -ssr_win.h syntax.h structs.h tns.h \
121 -sbr_qmf_c.h codebook/hcb.h \
122 -codebook/hcb_1.h codebook/hcb_2.h codebook/hcb_3.h codebook/hcb_4.h \
123 -codebook/hcb_5.h codebook/hcb_6.h codebook/hcb_7.h codebook/hcb_8.h \
124 -codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h
125 \ No newline at end of file
126 + drm_dec.c error.c filtbank.c \
127 + ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c \
128 + ps_dec.c ps_syntax.c \
129 + pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \
130 + rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \
131 + sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \
132 + sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c \
133 + analysis.h bits.h cfft.h cfft_tab.h common.h \
134 + decoder.h drc.h drm_dec.h error.h fixed.h filtbank.h \
135 + huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h \
136 + mdct.h mdct_tab.h mp4.h ms.h output.h pns.h ps_dec.h ps_tables.h \
137 + pulse.h rvlc.h \
138 + sbr_dct.h sbr_dec.h sbr_e_nf.h sbr_fbt.h sbr_hfadj.h sbr_hfgen.h \
139 + sbr_huff.h sbr_noise.h sbr_qmf.h sbr_syntax.h sbr_tf_grid.h \
140 + sine_win.h specrec.h ssr.h ssr_fb.h ssr_ipqf.h \
141 + ssr_win.h syntax.h structs.h tns.h \
142 + sbr_qmf_c.h codebook/hcb.h \
143 + codebook/hcb_1.h codebook/hcb_2.h codebook/hcb_3.h codebook/hcb_4.h \
144 + codebook/hcb_5.h codebook/hcb_6.h codebook/hcb_7.h codebook/hcb_8.h \
145 + codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h
146 diff -urNad faad2-svn~/libfaad/common.h faad2-svn/libfaad/common.h
147 --- faad2-svn~/libfaad/common.h 2007-11-28 23:28:14.000000000 +0000
148 +++ faad2-svn/libfaad/common.h 2007-11-28 23:29:27.000000000 +0000
149 @@ -39,6 +39,8 @@
150 # include "../config.h"
151 #endif
152
153 +#include "neaacdec.h"
154 +
155 #if 1
156 #define INLINE __inline
157 #else
158 @@ -210,7 +212,7 @@
159 #else
160 # if HAVE_STDINT_H
161 # include <stdint.h>
162 -# else
163 +# else /* !HAVE_STDINT_H */
164 /* we need these... */
165 #ifndef __TCS__
166 typedef unsigned long long uint64_t;
167 @@ -225,7 +227,7 @@
168 typedef long int32_t;
169 typedef short int16_t;
170 typedef char int8_t;
171 -# endif
172 +# endif /* !HAVE_STDINT_H */
173 #endif
174 #if HAVE_UNISTD_H
175 //# include <unistd.h>
176 diff -urNad faad2-svn~/libfaad/decoder.c faad2-svn/libfaad/decoder.c
177 --- faad2-svn~/libfaad/decoder.c 2007-11-28 23:28:14.000000000 +0000
178 +++ faad2-svn/libfaad/decoder.c 2007-11-28 23:29:27.000000000 +0000
179 @@ -34,7 +34,6 @@
180 #include <stdlib.h>
181 #include <string.h>
182
183 -#include "decoder.h"
184 #include "mp4.h"
185 #include "syntax.h"
186 #include "error.h"
187 @@ -54,13 +53,13 @@
188 #endif
189
190 /* static function declarations */
191 -static void* aac_frame_decode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
192 +static void* aac_frame_decode(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
193 uint8_t *buffer, uint32_t buffer_size,
194 void **sample_buffer, uint32_t sample_buffer_size);
195 -static void create_channel_config(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo);
196 +static void create_channel_config(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo);
197
198
199 -char* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode)
200 +int8_t* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode)
201 {
202 if (errcode >= NUM_ERROR_MESSAGES)
203 return NULL;
204 @@ -97,9 +96,9 @@
205 NeAACDecHandle NEAACDECAPI NeAACDecOpen(void)
206 {
207 uint8_t i;
208 - NeAACDecHandle hDecoder = NULL;
209 + NeAACDecStruct* hDecoder = NULL;
210
211 - if ((hDecoder = (NeAACDecHandle)faad_malloc(sizeof(NeAACDecStruct))) == NULL)
212 + if ((hDecoder = (NeAACDecStruct*)faad_malloc(sizeof(NeAACDecStruct))) == NULL)
213 return NULL;
214
215 memset(hDecoder, 0, sizeof(NeAACDecStruct));
216 @@ -154,8 +153,9 @@
217 return hDecoder;
218 }
219
220 -NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder)
221 +NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder)
222 {
223 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
224 if (hDecoder)
225 {
226 NeAACDecConfigurationPtr config = &(hDecoder->config);
227 @@ -166,9 +166,10 @@
228 return NULL;
229 }
230
231 -uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
232 +uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hpDecoder,
233 NeAACDecConfigurationPtr config)
234 {
235 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
236 if (hDecoder && config)
237 {
238 /* check if we can decode this object type */
239 @@ -203,7 +204,7 @@
240 }
241
242
243 -int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, uint8_t *buffer,
244 +int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hpDecoder, uint8_t *buffer,
245 uint32_t buffer_size,
246 uint32_t *samplerate, uint8_t *channels)
247 {
248 @@ -211,7 +212,7 @@
249 bitfile ld;
250 adif_header adif;
251 adts_header adts;
252 -
253 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
254
255 if ((hDecoder == NULL) || (samplerate == NULL) || (channels == NULL))
256 return -1;
257 @@ -310,12 +311,13 @@
258 }
259
260 /* Init the library using a DecoderSpecificInfo */
261 -int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer,
262 +int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hpDecoder, uint8_t *pBuffer,
263 uint32_t SizeOfDecoderSpecificInfo,
264 uint32_t *samplerate, uint8_t *channels)
265 {
266 int8_t rc;
267 mp4AudioSpecificConfig mp4ASC;
268 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
269
270 if((hDecoder == NULL)
271 || (pBuffer == NULL)
272 @@ -401,9 +403,11 @@
273 }
274
275 #ifdef DRM
276 -int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate,
277 +int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hpDecoder, uint32_t samplerate,
278 uint8_t channels)
279 {
280 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
281 +
282 if (hDecoder == NULL)
283 return 1; /* error */
284
285 @@ -442,9 +446,10 @@
286 }
287 #endif
288
289 -void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder)
290 +void NEAACDECAPI NeAACDecClose(NeAACDecHandle hpDecoder)
291 {
292 uint8_t i;
293 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
294
295 if (hDecoder == NULL)
296 return;
297 @@ -495,8 +500,10 @@
298 if (hDecoder) faad_free(hDecoder);
299 }
300
301 -void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame)
302 +void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, int32_t frame)
303 {
304 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
305 +
306 if (hDecoder)
307 {
308 hDecoder->postSeekResetFlag = 1;
309 @@ -506,7 +513,7 @@
310 }
311 }
312
313 -static void create_channel_config(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo)
314 +static void create_channel_config(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo)
315 {
316 hInfo->num_front_channels = 0;
317 hInfo->num_side_channels = 0;
318 @@ -724,18 +731,22 @@
319 }
320 }
321
322 -void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder,
323 +void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hpDecoder,
324 NeAACDecFrameInfo *hInfo,
325 uint8_t *buffer, uint32_t buffer_size)
326 {
327 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
328 +
329 return aac_frame_decode(hDecoder, hInfo, buffer, buffer_size, NULL, 0);
330 }
331
332 -void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder,
333 +void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hpDecoder,
334 NeAACDecFrameInfo *hInfo,
335 uint8_t *buffer, uint32_t buffer_size,
336 void **sample_buffer, uint32_t sample_buffer_size)
337 {
338 + NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
339 +
340 if ((sample_buffer == NULL) || (sample_buffer_size == 0))
341 {
342 hInfo->error = 27;
343 @@ -750,14 +761,14 @@
344
345 #define ERROR_STATE_INIT 6
346
347 -static void conceal_output(NeAACDecHandle hDecoder, uint16_t frame_len,
348 +static void conceal_output(NeAACDecStruct* hDecoder, uint16_t frame_len,
349 uint8_t out_ch, void *sample_buffer)
350 {
351 return;
352 }
353 #endif
354
355 -static void* aac_frame_decode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
356 +static void* aac_frame_decode(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
357 uint8_t *buffer, uint32_t buffer_size,
358 void **sample_buffer2, uint32_t sample_buffer_size)
359 {
360 diff -urNad faad2-svn~/libfaad/decoder.h faad2-svn/libfaad/decoder.h
361 --- faad2-svn~/libfaad/decoder.h 2007-11-28 23:28:14.000000000 +0000
362 +++ faad2-svn/libfaad/decoder.h 1970-01-01 01:00:00.000000000 +0100
363 @@ -1,124 +0,0 @@
364 -/*
365 -** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
366 -** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com
367 -**
368 -** This program is free software; you can redistribute it and/or modify
369 -** it under the terms of the GNU General Public License as published by
370 -** the Free Software Foundation; either version 2 of the License, or
371 -** (at your option) any later version.
372 -**
373 -** This program is distributed in the hope that it will be useful,
374 -** but WITHOUT ANY WARRANTY; without even the implied warranty of
375 -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376 -** GNU General Public License for more details.
377 -**
378 -** You should have received a copy of the GNU General Public License
379 -** along with this program; if not, write to the Free Software
380 -** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
381 -**
382 -** Any non-GPL usage of this software or parts of this software is strictly
383 -** forbidden.
384 -**
385 -** The "appropriate copyright message" mentioned in section 2c of the GPLv2
386 -** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com"
387 -**
388 -** Commercial non-GPL licensing of this software is possible.
389 -** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
390 -**
391 -** $Id: decoder.h,v 1.48 2007/11/01 12:33:30 menno Exp $
392 -**/
393 -
394 -#ifndef __DECODER_H__
395 -#define __DECODER_H__
396 -
397 -#ifdef __cplusplus
398 -extern "C" {
399 -#endif
400 -
401 -#ifdef _WIN32
402 - #pragma pack(push, 8)
403 - #ifndef NEAACDECAPI
404 - #define NEAACDECAPI __cdecl
405 - #endif
406 -#else
407 - #ifndef NEAACDECAPI
408 - #define NEAACDECAPI
409 - #endif
410 -#endif
411 -
412 -
413 -/* library output formats */
414 -#define FAAD_FMT_16BIT 1
415 -#define FAAD_FMT_24BIT 2
416 -#define FAAD_FMT_32BIT 3
417 -#define FAAD_FMT_FLOAT 4
418 -#define FAAD_FMT_FIXED FAAD_FMT_FLOAT
419 -#define FAAD_FMT_DOUBLE 5
420 -
421 -#define LC_DEC_CAP (1<<0)
422 -#define MAIN_DEC_CAP (1<<1)
423 -#define LTP_DEC_CAP (1<<2)
424 -#define LD_DEC_CAP (1<<3)
425 -#define ERROR_RESILIENCE_CAP (1<<4)
426 -#define FIXED_POINT_CAP (1<<5)
427 -
428 -#define FRONT_CHANNEL_CENTER (1)
429 -#define FRONT_CHANNEL_LEFT (2)
430 -#define FRONT_CHANNEL_RIGHT (3)
431 -#define SIDE_CHANNEL_LEFT (4)
432 -#define SIDE_CHANNEL_RIGHT (5)
433 -#define BACK_CHANNEL_LEFT (6)
434 -#define BACK_CHANNEL_RIGHT (7)
435 -#define BACK_CHANNEL_CENTER (8)
436 -#define LFE_CHANNEL (9)
437 -#define UNKNOWN_CHANNEL (0)
438 -
439 -char* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode);
440 -
441 -uint32_t NEAACDECAPI NeAACDecGetCapabilities(void);
442 -
443 -NeAACDecHandle NEAACDECAPI NeAACDecOpen(void);
444 -
445 -NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder);
446 -
447 -uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
448 - NeAACDecConfigurationPtr config);
449 -
450 -/* Init the library based on info from the AAC file (ADTS/ADIF) */
451 -int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder,
452 - uint8_t *buffer,
453 - uint32_t buffer_size,
454 - uint32_t *samplerate,
455 - uint8_t *channels);
456 -
457 -/* Init the library using a DecoderSpecificInfo */
458 -int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer,
459 - uint32_t SizeOfDecoderSpecificInfo,
460 - uint32_t *samplerate, uint8_t *channels);
461 -
462 -/* Init the library for DRM */
463 -int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate,
464 - uint8_t channels);
465 -
466 -void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder);
467 -
468 -void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame);
469 -
470 -void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder,
471 - NeAACDecFrameInfo *hInfo,
472 - uint8_t *buffer,
473 - uint32_t buffer_size);
474 -
475 -void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder,
476 - NeAACDecFrameInfo *hInfo,
477 - uint8_t *buffer, uint32_t buffer_size,
478 - void **sample_buffer, uint32_t sample_buffer_size);
479 -
480 -#ifdef _WIN32
481 - #pragma pack(pop)
482 -#endif
483 -
484 -#ifdef __cplusplus
485 -}
486 -#endif
487 -#endif
488 diff -urNad faad2-svn~/libfaad/filtbank.c faad2-svn/libfaad/filtbank.c
489 --- faad2-svn~/libfaad/filtbank.c 2007-11-28 23:28:14.000000000 +0000
490 +++ faad2-svn/libfaad/filtbank.c 2007-11-28 23:29:27.000000000 +0000
491 @@ -40,7 +40,6 @@
492 #endif
493
494 #include "filtbank.h"
495 -#include "decoder.h"
496 #include "syntax.h"
497 #include "kbd_win.h"
498 #include "sine_win.h"
499 diff -urNad faad2-svn~/libfaad/hcr.c faad2-svn/libfaad/hcr.c
500 --- faad2-svn~/libfaad/hcr.c 2007-11-28 23:28:14.000000000 +0000
501 +++ faad2-svn/libfaad/hcr.c 2007-11-28 23:29:27.000000000 +0000
502 @@ -214,7 +214,7 @@
503 codeword[index].bits.len = 0;
504 }
505
506 -uint8_t reordered_spectral_data(NeAACDecHandle hDecoder, ic_stream *ics,
507 +uint8_t reordered_spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics,
508 bitfile *ld, int16_t *spectral_data)
509 {
510 uint16_t PCWs_done;
511 diff -urNad faad2-svn~/libfaad/mp4.h faad2-svn/libfaad/mp4.h
512 --- faad2-svn~/libfaad/mp4.h 2007-11-28 23:28:14.000000000 +0000
513 +++ faad2-svn/libfaad/mp4.h 2007-11-28 23:29:27.000000000 +0000
514 @@ -35,11 +35,7 @@
515 extern "C" {
516 #endif
517
518 -#include "decoder.h"
519 -
520 -int8_t NEAACDECAPI NeAACDecAudioSpecificConfig(uint8_t *pBuffer,
521 - uint32_t buffer_size,
522 - mp4AudioSpecificConfig *mp4ASC);
523 +#include "neaacdec.h"
524
525 int8_t AudioSpecificConfig2(uint8_t *pBuffer,
526 uint32_t buffer_size,
527 diff -urNad faad2-svn~/libfaad/output.c faad2-svn/libfaad/output.c
528 --- faad2-svn~/libfaad/output.c 2007-11-28 23:28:14.000000000 +0000
529 +++ faad2-svn/libfaad/output.c 2007-11-28 23:29:27.000000000 +0000
530 @@ -32,7 +32,6 @@
531 #include "structs.h"
532
533 #include "output.h"
534 -#include "decoder.h"
535
536 #ifndef FIXED_POINT
537
538 @@ -87,7 +86,7 @@
539
540 #define CONV(a,b) ((a<<1)|(b&0x1))
541
542 -static void to_PCM_16bit(NeAACDecHandle hDecoder, real_t **input,
543 +static void to_PCM_16bit(NeAACDecStruct* hDecoder, real_t **input,
544 uint8_t channels, uint16_t frame_len,
545 int16_t **sample_buffer)
546 {
547 @@ -152,7 +151,7 @@
548 }
549 }
550
551 -static void to_PCM_24bit(NeAACDecHandle hDecoder, real_t **input,
552 +static void to_PCM_24bit(NeAACDecStruct* hDecoder, real_t **input,
553 uint8_t channels, uint16_t frame_len,
554 int32_t **sample_buffer)
555 {
556 @@ -222,7 +221,7 @@
557 }
558 }
559
560 -static void to_PCM_32bit(NeAACDecHandle hDecoder, real_t **input,
561 +static void to_PCM_32bit(NeAACDecStruct* hDecoder, real_t **input,
562 uint8_t channels, uint16_t frame_len,
563 int32_t **sample_buffer)
564 {
565 @@ -292,7 +291,7 @@
566 }
567 }
568
569 -static void to_PCM_float(NeAACDecHandle hDecoder, real_t **input,
570 +static void to_PCM_float(NeAACDecStruct* hDecoder, real_t **input,
571 uint8_t channels, uint16_t frame_len,
572 float32_t **sample_buffer)
573 {
574 @@ -344,7 +343,7 @@
575 }
576 }
577
578 -static void to_PCM_double(NeAACDecHandle hDecoder, real_t **input,
579 +static void to_PCM_double(NeAACDecStruct* hDecoder, real_t **input,
580 uint8_t channels, uint16_t frame_len,
581 double **sample_buffer)
582 {
583 @@ -396,7 +395,7 @@
584 }
585 }
586
587 -void *output_to_PCM(NeAACDecHandle hDecoder,
588 +void *output_to_PCM(NeAACDecStruct* hDecoder,
589 real_t **input, void *sample_buffer, uint8_t channels,
590 uint16_t frame_len, uint8_t format)
591 {
592 @@ -466,7 +465,7 @@
593 }
594 }
595
596 -void* output_to_PCM(NeAACDecHandle hDecoder,
597 +void* output_to_PCM(NeAACDecStruct* hDecoder,
598 real_t **input, void *sample_buffer, uint8_t channels,
599 uint16_t frame_len, uint8_t format)
600 {
601 diff -urNad faad2-svn~/libfaad/output.h faad2-svn/libfaad/output.h
602 --- faad2-svn~/libfaad/output.h 2007-11-28 23:28:14.000000000 +0000
603 +++ faad2-svn/libfaad/output.h 2007-11-28 23:29:27.000000000 +0000
604 @@ -35,7 +35,7 @@
605 extern "C" {
606 #endif
607
608 -void* output_to_PCM(NeAACDecHandle hDecoder,
609 +void* output_to_PCM(NeAACDecStruct* hDecoder,
610 real_t **input,
611 void *samplebuffer,
612 uint8_t channels,
613 diff -urNad faad2-svn~/libfaad/specrec.c faad2-svn/libfaad/specrec.c
614 --- faad2-svn~/libfaad/specrec.c 2007-11-28 23:28:14.000000000 +0000
615 +++ faad2-svn/libfaad/specrec.c 2007-11-28 23:29:27.000000000 +0000
616 @@ -58,7 +58,7 @@
617
618
619 /* static function declarations */
620 -static uint8_t quant_to_spec(NeAACDecHandle hDecoder,
621 +static uint8_t quant_to_spec(NeAACDecStruct* hDecoder,
622 ic_stream *ics, int16_t *quant_data,
623 real_t *spec_data, uint16_t frame_len);
624
625 @@ -300,10 +300,9 @@
626 in section named section. This offset depends on window_sequence and
627 scale_factor_grouping and is needed to decode the spectral_data().
628 */
629 -uint8_t window_grouping_info(NeAACDecHandle hDecoder, ic_stream *ics)
630 +uint8_t window_grouping_info(NeAACDecStruct* hDecoder, ic_stream *ics)
631 {
632 uint8_t i, g;
633 -
634 uint8_t sf_index = hDecoder->sf_index;
635
636 switch (ics->window_sequence) {
637 @@ -546,7 +545,7 @@
638 - Within a scalefactor window band, the coefficients are in ascending
639 spectral order.
640 */
641 -static uint8_t quant_to_spec(NeAACDecHandle hDecoder,
642 +static uint8_t quant_to_spec(NeAACDecStruct* hDecoder,
643 ic_stream *ics, int16_t *quant_data,
644 real_t *spec_data, uint16_t frame_len)
645 {
646 @@ -680,7 +679,7 @@
647 return error;
648 }
649
650 -static uint8_t allocate_single_channel(NeAACDecHandle hDecoder, uint8_t channel,
651 +static uint8_t allocate_single_channel(NeAACDecStruct* hDecoder, uint8_t channel,
652 uint8_t output_channels)
653 {
654 int mul = 1;
655 @@ -781,7 +780,7 @@
656 return 0;
657 }
658
659 -static uint8_t allocate_channel_pair(NeAACDecHandle hDecoder,
660 +static uint8_t allocate_channel_pair(NeAACDecStruct* hDecoder,
661 uint8_t channel, uint8_t paired_channel)
662 {
663 int mul = 1;
664 @@ -886,7 +885,7 @@
665 return 0;
666 }
667
668 -uint8_t reconstruct_single_channel(NeAACDecHandle hDecoder, ic_stream *ics,
669 +uint8_t reconstruct_single_channel(NeAACDecStruct* hDecoder, ic_stream *ics,
670 element *sce, int16_t *spec_data)
671 {
672 uint8_t retval;
673 @@ -1096,7 +1095,7 @@
674 return 0;
675 }
676
677 -uint8_t reconstruct_channel_pair(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2,
678 +uint8_t reconstruct_channel_pair(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2,
679 element *cpe, int16_t *spec_data1, int16_t *spec_data2)
680 {
681 uint8_t retval;
682 @@ -1106,6 +1105,7 @@
683 #ifdef PROFILE
684 int64_t count = faad_get_ts();
685 #endif
686 +
687 if (hDecoder->element_alloced[hDecoder->fr_ch_ele] == 0)
688 {
689 retval = allocate_channel_pair(hDecoder, cpe->channel, (uint8_t)cpe->paired_channel);
690 diff -urNad faad2-svn~/libfaad/specrec.h faad2-svn/libfaad/specrec.h
691 --- faad2-svn~/libfaad/specrec.h 2007-11-28 23:28:14.000000000 +0000
692 +++ faad2-svn/libfaad/specrec.h 2007-11-28 23:29:27.000000000 +0000
693 @@ -37,10 +37,10 @@
694
695 #include "syntax.h"
696
697 -uint8_t window_grouping_info(NeAACDecHandle hDecoder, ic_stream *ics);
698 -uint8_t reconstruct_channel_pair(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2,
699 +uint8_t window_grouping_info(NeAACDecStruct* hDecoder, ic_stream *ics);
700 +uint8_t reconstruct_channel_pair(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2,
701 element *cpe, int16_t *spec_data1, int16_t *spec_data2);
702 -uint8_t reconstruct_single_channel(NeAACDecHandle hDecoder, ic_stream *ics, element *sce,
703 +uint8_t reconstruct_single_channel(NeAACDecStruct* hDecoder, ic_stream *ics, element *sce,
704 int16_t *spec_data);
705
706 #ifdef __cplusplus
707 diff -urNad faad2-svn~/libfaad/structs.h faad2-svn/libfaad/structs.h
708 --- faad2-svn~/libfaad/structs.h 2007-11-28 23:28:14.000000000 +0000
709 +++ faad2-svn/libfaad/structs.h 2007-11-28 23:29:27.000000000 +0000
710 @@ -312,67 +312,6 @@
711 ic_stream ics2;
712 } element; /* syntax element (SCE, CPE, LFE) */
713
714 -typedef struct mp4AudioSpecificConfig
715 -{
716 - /* Audio Specific Info */
717 - /*uint8_t*/ unsigned char objectTypeIndex;
718 - /*uint8_t*/ unsigned char samplingFrequencyIndex;
719 - /*uint32_t*/ unsigned long samplingFrequency;
720 - /*uint8_t*/ unsigned char channelsConfiguration;
721 -
722 - /* GA Specific Info */
723 - /*uint8_t*/ unsigned char frameLengthFlag;
724 - /*uint8_t*/ unsigned char dependsOnCoreCoder;
725 - /*uint16_t*/ unsigned short coreCoderDelay;
726 - /*uint8_t*/ unsigned char extensionFlag;
727 - /*uint8_t*/ unsigned char aacSectionDataResilienceFlag;
728 - /*uint8_t*/ unsigned char aacScalefactorDataResilienceFlag;
729 - /*uint8_t*/ unsigned char aacSpectralDataResilienceFlag;
730 - /*uint8_t*/ unsigned char epConfig;
731 -
732 - /*uint8_t*/ char sbr_present_flag;
733 - /*uint8_t*/ char forceUpSampling;
734 - /*uint8_t*/ char downSampledSBR;
735 -} mp4AudioSpecificConfig;
736 -
737 -typedef struct NeAACDecConfiguration
738 -{
739 - /*uint8_t*/ unsigned char defObjectType;
740 - /*uint32_t*/ unsigned long defSampleRate;
741 - /*uint8_t*/ unsigned char outputFormat;
742 - /*uint8_t*/ unsigned char downMatrix;
743 - /*uint8_t*/ unsigned char useOldADTSFormat;
744 - /*uint8_t*/ unsigned char dontUpSampleImplicitSBR;
745 -} NeAACDecConfiguration, *NeAACDecConfigurationPtr;
746 -
747 -typedef struct NeAACDecFrameInfo
748 -{
749 - /*uint32_t*/ unsigned long bytesconsumed;
750 - /*uint32_t*/ unsigned long samples;
751 - /*uint8_t*/ unsigned char channels;
752 - /*uint8_t*/ unsigned char error;
753 - /*uint32_t*/ unsigned long samplerate;
754 -
755 - /* SBR: 0: off, 1: on; normal, 2: on; downsampled */
756 - /*uint8_t*/ unsigned char sbr;
757 -
758 - /* MPEG-4 ObjectType */
759 - /*uint8_t*/ unsigned char object_type;
760 -
761 - /* AAC header type; MP4 will be signalled as RAW also */
762 - /*uint8_t*/ unsigned char header_type;
763 -
764 - /* multichannel configuration */
765 - /*uint8_t*/ unsigned char num_front_channels;
766 - /*uint8_t*/ unsigned char num_side_channels;
767 - /*uint8_t*/ unsigned char num_back_channels;
768 - /*uint8_t*/ unsigned char num_lfe_channels;
769 - /*uint8_t*/ unsigned char channel_position[MAX_CHANNELS];
770 -
771 - /* PS: 0: off, 1: on */
772 - /*uint8_t*/ unsigned char ps;
773 -} NeAACDecFrameInfo;
774 -
775 typedef struct
776 {
777 uint8_t adts_header_present;
778 @@ -477,9 +416,7 @@
779 int64_t requant_cycles;
780 #endif
781 const unsigned char *cmes;
782 -} NeAACDecStruct, *NeAACDecHandle;
783 -
784 -
785 +} NeAACDecStruct;
786
787 #ifdef __cplusplus
788 }
789 diff -urNad faad2-svn~/libfaad/syntax.c faad2-svn/libfaad/syntax.c
790 --- faad2-svn~/libfaad/syntax.c 2007-11-28 23:28:14.000000000 +0000
791 +++ faad2-svn/libfaad/syntax.c 2007-11-28 23:29:27.000000000 +0000
792 @@ -38,7 +38,6 @@
793 #include <stdlib.h>
794 #include <string.h>
795
796 -#include "decoder.h"
797 #include "syntax.h"
798 #include "specrec.h"
799 #include "huffman.h"
800 @@ -55,51 +54,51 @@
801
802
803 /* static function declarations */
804 -static void decode_sce_lfe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
805 +static void decode_sce_lfe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
806 uint8_t id_syn_ele);
807 -static void decode_cpe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
808 +static void decode_cpe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
809 uint8_t id_syn_ele);
810 -static uint8_t single_lfe_channel_element(NeAACDecHandle hDecoder, bitfile *ld,
811 +static uint8_t single_lfe_channel_element(NeAACDecStruct* hDecoder, bitfile *ld,
812 uint8_t channel, uint8_t *tag);
813 -static uint8_t channel_pair_element(NeAACDecHandle hDecoder, bitfile *ld,
814 +static uint8_t channel_pair_element(NeAACDecStruct* hDecoder, bitfile *ld,
815 uint8_t channel, uint8_t *tag);
816 #ifdef COUPLING_DEC
817 -static uint8_t coupling_channel_element(NeAACDecHandle hDecoder, bitfile *ld);
818 +static uint8_t coupling_channel_element(NeAACDecStruct* hDecoder, bitfile *ld);
819 #endif
820 -static uint16_t data_stream_element(NeAACDecHandle hDecoder, bitfile *ld);
821 +static uint16_t data_stream_element(NeAACDecStruct* hDecoder, bitfile *ld);
822 static uint8_t program_config_element(program_config *pce, bitfile *ld);
823 -static uint8_t fill_element(NeAACDecHandle hDecoder, bitfile *ld, drc_info *drc
824 +static uint8_t fill_element(NeAACDecStruct* hDecoder, bitfile *ld, drc_info *drc
825 #ifdef SBR_DEC
826 ,uint8_t sbr_ele
827 #endif
828 );
829 -static uint8_t individual_channel_stream(NeAACDecHandle hDecoder, element *ele,
830 +static uint8_t individual_channel_stream(NeAACDecStruct* hDecoder, element *ele,
831 bitfile *ld, ic_stream *ics, uint8_t scal_flag,
832 int16_t *spec_data);
833 -static uint8_t ics_info(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
834 +static uint8_t ics_info(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
835 uint8_t common_window);
836 -static uint8_t section_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld);
837 -static uint8_t scale_factor_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld);
838 +static uint8_t section_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld);
839 +static uint8_t scale_factor_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld);
840 #ifdef SSR_DEC
841 static void gain_control_data(bitfile *ld, ic_stream *ics);
842 #endif
843 -static uint8_t spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
844 +static uint8_t spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
845 int16_t *spectral_data);
846 static uint16_t extension_payload(bitfile *ld, drc_info *drc, uint16_t count);
847 static uint8_t pulse_data(ic_stream *ics, pulse_info *pul, bitfile *ld);
848 static void tns_data(ic_stream *ics, tns_info *tns, bitfile *ld);
849 #ifdef LTP_DEC
850 -static uint8_t ltp_data(NeAACDecHandle hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld);
851 +static uint8_t ltp_data(NeAACDecStruct* hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld);
852 #endif
853 static uint8_t adts_fixed_header(adts_header *adts, bitfile *ld);
854 static void adts_variable_header(adts_header *adts, bitfile *ld);
855 static void adts_error_check(adts_header *adts, bitfile *ld);
856 static uint8_t dynamic_range_info(bitfile *ld, drc_info *drc);
857 static uint8_t excluded_channels(bitfile *ld, drc_info *drc);
858 -static uint8_t side_info(NeAACDecHandle hDecoder, element *ele,
859 +static uint8_t side_info(NeAACDecStruct* hDecoder, element *ele,
860 bitfile *ld, ic_stream *ics, uint8_t scal_flag);
861 #ifdef DRM
862 -static int8_t DRM_aac_scalable_main_header(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2,
863 +static int8_t DRM_aac_scalable_main_header(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2,
864 bitfile *ld, uint8_t this_layer_stereo);
865 #endif
866
867 @@ -321,7 +320,7 @@
868 return 0;
869 }
870
871 -static void decode_sce_lfe(NeAACDecHandle hDecoder,
872 +static void decode_sce_lfe(NeAACDecStruct* hDecoder,
873 NeAACDecFrameInfo *hInfo, bitfile *ld,
874 uint8_t id_syn_ele)
875 {
876 @@ -366,7 +365,7 @@
877 hDecoder->fr_ch_ele++;
878 }
879
880 -static void decode_cpe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
881 +static void decode_cpe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
882 uint8_t id_syn_ele)
883 {
884 uint8_t channels = hDecoder->fr_channels;
885 @@ -414,7 +413,7 @@
886 hDecoder->fr_ch_ele++;
887 }
888
889 -void raw_data_block(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
890 +void raw_data_block(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
891 bitfile *ld, program_config *pce, drc_info *drc)
892 {
893 uint8_t id_syn_ele;
894 @@ -584,7 +583,7 @@
895
896 /* Table 4.4.4 and */
897 /* Table 4.4.9 */
898 -static uint8_t single_lfe_channel_element(NeAACDecHandle hDecoder, bitfile *ld,
899 +static uint8_t single_lfe_channel_element(NeAACDecStruct* hDecoder, bitfile *ld,
900 uint8_t channel, uint8_t *tag)
901 {
902 uint8_t retval = 0;
903 @@ -631,7 +630,7 @@
904 }
905
906 /* Table 4.4.5 */
907 -static uint8_t channel_pair_element(NeAACDecHandle hDecoder, bitfile *ld,
908 +static uint8_t channel_pair_element(NeAACDecStruct* hDecoder, bitfile *ld,
909 uint8_t channels, uint8_t *tag)
910 {
911 ALIGN int16_t spec_data1[1024] = {0};
912 @@ -761,7 +760,7 @@
913 }
914
915 /* Table 4.4.6 */
916 -static uint8_t ics_info(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
917 +static uint8_t ics_info(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
918 uint8_t common_window)
919 {
920 uint8_t retval = 0;
921 @@ -912,7 +911,7 @@
922
923 #ifdef COUPLING_DEC
924 /* Table 4.4.8: Currently just for skipping the bits... */
925 -static uint8_t coupling_channel_element(NeAACDecHandle hDecoder, bitfile *ld)
926 +static uint8_t coupling_channel_element(NeAACDecStruct* hDecoder, bitfile *ld)
927 {
928 uint8_t c, result = 0;
929 uint8_t ind_sw_cce_flag = 0;
930 @@ -1005,7 +1004,7 @@
931 #endif
932
933 /* Table 4.4.10 */
934 -static uint16_t data_stream_element(NeAACDecHandle hDecoder, bitfile *ld)
935 +static uint16_t data_stream_element(NeAACDecStruct* hDecoder, bitfile *ld)
936 {
937 uint8_t byte_aligned;
938 uint16_t i, count;
939 @@ -1034,7 +1033,7 @@
940 }
941
942 /* Table 4.4.11 */
943 -static uint8_t fill_element(NeAACDecHandle hDecoder, bitfile *ld, drc_info *drc
944 +static uint8_t fill_element(NeAACDecStruct* hDecoder, bitfile *ld, drc_info *drc
945 #ifdef SBR_DEC
946 ,uint8_t sbr_ele
947 #endif
948 @@ -1213,7 +1212,7 @@
949
950 #ifdef DRM
951 /* Table 4.4.13 ASME */
952 -void DRM_aac_scalable_main_element(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
953 +void DRM_aac_scalable_main_element(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
954 bitfile *ld, program_config *pce, drc_info *drc)
955 {
956 uint8_t retval = 0;
957 @@ -1423,7 +1422,7 @@
958 }
959
960 /* Table 4.4.15 */
961 -static int8_t DRM_aac_scalable_main_header(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2,
962 +static int8_t DRM_aac_scalable_main_header(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2,
963 bitfile *ld, uint8_t this_layer_stereo)
964 {
965 uint8_t retval = 0;
966 @@ -1491,7 +1490,7 @@
967 }
968 #endif
969
970 -static uint8_t side_info(NeAACDecHandle hDecoder, element *ele,
971 +static uint8_t side_info(NeAACDecStruct* hDecoder, element *ele,
972 bitfile *ld, ic_stream *ics, uint8_t scal_flag)
973 {
974 uint8_t result;
975 @@ -1584,7 +1583,7 @@
976 }
977
978 /* Table 4.4.24 */
979 -static uint8_t individual_channel_stream(NeAACDecHandle hDecoder, element *ele,
980 +static uint8_t individual_channel_stream(NeAACDecStruct* hDecoder, element *ele,
981 bitfile *ld, ic_stream *ics, uint8_t scal_flag,
982 int16_t *spec_data)
983 {
984 @@ -1644,7 +1643,7 @@
985 }
986
987 /* Table 4.4.25 */
988 -static uint8_t section_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld)
989 +static uint8_t section_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld)
990 {
991 uint8_t g;
992 uint8_t sect_esc_val, sect_bits;
993 @@ -1891,7 +1890,7 @@
994 }
995
996 /* Table 4.4.26 */
997 -static uint8_t scale_factor_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld)
998 +static uint8_t scale_factor_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld)
999 {
1000 uint8_t ret = 0;
1001 #ifdef PROFILE
1002 @@ -1999,7 +1998,7 @@
1003
1004 #ifdef LTP_DEC
1005 /* Table 4.4.28 */
1006 -static uint8_t ltp_data(NeAACDecHandle hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld)
1007 +static uint8_t ltp_data(NeAACDecStruct* hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld)
1008 {
1009 uint8_t sfb, w;
1010
1011 @@ -2062,7 +2061,7 @@
1012 #endif
1013
1014 /* Table 4.4.29 */
1015 -static uint8_t spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
1016 +static uint8_t spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
1017 int16_t *spectral_data)
1018 {
1019 int8_t i;
1020 diff -urNad faad2-svn~/libfaad/syntax.h faad2-svn/libfaad/syntax.h
1021 --- faad2-svn~/libfaad/syntax.h 2007-11-28 23:28:14.000000000 +0000
1022 +++ faad2-svn/libfaad/syntax.h 2007-11-28 23:29:27.000000000 +0000
1023 @@ -35,7 +35,6 @@
1024 extern "C" {
1025 #endif
1026
1027 -#include "decoder.h"
1028 #include "bits.h"
1029
1030 #define MAIN 1
1031 @@ -113,12 +112,12 @@
1032
1033 uint8_t adts_frame(adts_header *adts, bitfile *ld);
1034 void get_adif_header(adif_header *adif, bitfile *ld);
1035 -void raw_data_block(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
1036 +void raw_data_block(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
1037 bitfile *ld, program_config *pce, drc_info *drc);
1038 -uint8_t reordered_spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
1039 +uint8_t reordered_spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
1040 int16_t *spectral_data);
1041 #ifdef DRM
1042 -void DRM_aac_scalable_main_element(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
1043 +void DRM_aac_scalable_main_element(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
1044 bitfile *ld, program_config *pce, drc_info *drc);
1045 #endif
1046
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## mp4ff.h_fix.dpatch by <matthew@bells23.org.uk>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: Imported from Ubuntu
5
6 @DPATCH@
7 diff -urNad faad2.tmp~/common/mp4ff/mp4ff.h faad2.tmp/common/mp4ff/mp4ff.h
8 --- faad2.tmp~/common/mp4ff/mp4ff.h 2007-10-15 00:36:42.000000000 +0100
9 +++ faad2.tmp/common/mp4ff/mp4ff.h 2007-10-15 16:52:52.000000000 +0100
10 @@ -37,7 +37,7 @@
11 extern "C" {
12 #endif /* __cplusplus */
13
14 -#include "mp4ff_int_types.h"
15 +#include <stdint.h>
16
17 /* file callback structure */
18 typedef struct
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 05_mp4ff-static_makefile.dpatch by <matthew@localhost.localdomain>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: Add a static build of mp4ff to Makefile
5
6 @DPATCH@
7 diff -urNad faad2-svn~/common/mp4ff/Makefile.am faad2-svn/common/mp4ff/Makefile.am
8 --- faad2-svn~/common/mp4ff/Makefile.am 2007-11-28 23:34:18.000000000 +0000
9 +++ faad2-svn/common/mp4ff/Makefile.am 2007-11-28 23:40:29.000000000 +0000
10 @@ -1,8 +1,9 @@
11 -noinst_LTLIBRARIES = libmp4ff.la
12 +lib_LIBRARIES = libmp4ff.a
13 +include_HEADERS = mp4ff.h mp4ffint.h
14
15 -libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
16 +libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
17
18 -libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
19 - mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
20 - drms.h drms.c drmstables.h
21 +libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
22 + mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
23 + drms.h drms.c drmstables.h
24
25 diff -urNad faad2-svn~/frontend/Makefile.am faad2-svn/frontend/Makefile.am
26 --- faad2-svn~/frontend/Makefile.am 2007-11-28 23:34:18.000000000 +0000
27 +++ faad2-svn/frontend/Makefile.am 2007-11-28 23:39:28.000000000 +0000
28 @@ -1,11 +1,11 @@
29 bin_PROGRAMS = faad
30
31 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
32 - -I$(top_srcdir)/common/mp4ff
33 + -I$(top_srcdir)/common/mp4ff
34
35 faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
36 - $(top_builddir)/common/mp4ff/libmp4ff.la
37 + $(top_builddir)/common/mp4ff/libmp4ff.a
38
39 faad_SOURCES = main.c \
40 - audio.c audio.h \
41 - $(top_srcdir)/common/faad/getopt.c
42 + audio.c audio.h \
43 + $(top_srcdir)/common/faad/getopt.c
44 diff -urNad faad2-svn~/plugins/xmms/src/Makefile.am faad2-svn/plugins/xmms/src/Makefile.am
45 --- faad2-svn~/plugins/xmms/src/Makefile.am 2007-11-28 23:38:02.000000000 +0000
46 +++ faad2-svn/plugins/xmms/src/Makefile.am 2007-11-28 23:38:02.000000000 +0000
47 @@ -8,7 +8,7 @@
48 -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4ff
49
50 libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \
51 - $(top_builddir)/common/mp4ff/libmp4ff.la
52 + $(top_builddir)/common/mp4ff/libmp4ff.a
53
54 libmp4_la_LDFLAGS = -module -avoid-version $(local_LDFLAGS) -lpthread
55
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## mp4ff.c_remove-static.dpatch by <matthew@bells23.org.uk>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: Imported from Ubuntu
5
6 @DPATCH@
7
8 diff -Nur faad2-2.0.0clean-old/common/mp4ff/mp4ff.c faad2-2.0.0/common/mp4ff/mp4ff.c
9 --- faad2-2.0.0clean-old/common/mp4ff/mp4ff.c 2005-07-15 18:58:03.807969368 +0000
10 +++ faad2-2.0.0/common/mp4ff/mp4ff.c 2005-07-15 19:00:22.142939256 +0000
11 @@ -105,7 +105,7 @@
12 if (ff) free(ff);
13 }
14
15 -static void mp4ff_track_add(mp4ff_t *f)
16 +void mp4ff_track_add(mp4ff_t *f)
17 {
18 f->total_tracks++;
19
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 10_faad-man.dpatch by <matthew@ibis.bells>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: No description.
5
6 @DPATCH@
7 diff -urNad faad2-2.6.1~/frontend/faad.man faad2-2.6.1/frontend/faad.man
8 --- faad2-2.6.1~/frontend/faad.man 1970-01-01 01:00:00.000000000 +0100
9 +++ faad2-2.6.1/frontend/faad.man 2008-06-17 04:19:24.000000000 +0100
10 @@ -0,0 +1,85 @@
11 +.TH FAAD "1" "October 2006" "faad 2.5" ""
12 +.SH NAME
13 +faad \(em Process an Advanced Audio Codec stream
14 +
15 +.SH "SYNOPSIS"
16 +.B faad
17 +[options] [\-w | \-o <output_filename> | \-a <output_filename>] input_filename
18 +
19 +.SH "DESCRIPTION"
20 +This utility provides a command line interface to libfaad2. This program reads in MPEG\(hy4 AAC files, processes, and outputs them in either Microsoft WAV, MPEG\(hy4 AAC ADTS, or standard PCM formats.
21 +
22 +.SH "OPTIONS"
23 +.TP
24 +.BI \-a " <filename>" ", \-\^\-adtsout" " <filename>"
25 +Sets the processing to output to the specified file in MPEG\(hy4 AAC ADTS format
26 +.TP
27 +.BI \-b " <number>" ", \-\^\-bits" " <number>"
28 +Set the output (individual) sample format. The number takes one of the following values:
29 +.RS
30 +.RS
31 +1: 16\(hybit PCM data (default).
32 +.br
33 +2: 24\(hybit PCM data.
34 +.br
35 +3: 32\(hybit PCM data.
36 +.br
37 +4: 32\(hybit floating\hy(point data.
38 +.br
39 +5: 64\(hybit floating\hy(point data.
40 +.RE
41 +.RE
42 +.TP
43 +.B \-d ", \-\^\-downmix"
44 +Set the processing to downsample from 5.1 (surround sound and bass) channels to 2 channels (stereo).
45 +.TP
46 +.BI \-f " <number>" ", \-\^\-format" " <number>"
47 +Set the output file format. The number takes one of the following values:
48 +.RS
49 +.RS
50 +1: Microsoft WAV format (default).
51 +.br
52 +2: Raw PCM data.
53 +.RE
54 +.RE
55 +.TP
56 +.BI \-g
57 +Set the processing to not perform gapless decoding.
58 +.TP
59 +.B \-h ", \-\^\-help"
60 +Shows a usage summary.
61 +.TP
62 +.B \-i ", \-\^\-info"
63 +Shows information about the about the input file.
64 +.TP
65 +.BI \-l " <number>" ", \-\^\-objecttype" " <number>"
66 +Sets the MPEG\hy(4 profile and object type for the processing to use. The number takes one of the following values:
67 +.RS
68 +.RS
69 +1: Main object type.
70 +.br
71 +2: Low Complexity (LC) object type (default).
72 +.br
73 +4: Long Term Prediction (LTP) object type.
74 +.br
75 +23: Low Delay (LD) object type.
76 +.RE
77 +.RE
78 +.TP
79 +.BI \-o " <filename>" ", \-\^\-outfile" " <number>"
80 +Sets the filename for processing output.
81 +.TP
82 +.B \-q ", \-\^\-quiet"
83 +Quiet \- Suppresses status messages during processing.
84 +.TP
85 +.B \-t ", \-\^\-oldformat"
86 +Sets the processing to use the old MPEG\(hy4 AAC ADTS format when outputting in said format.
87 +.TP
88 +.B \-w ", \-\^\-stdio"
89 +Sets the processing output to be sent to the standard out.
90 +
91 +.SH "AUTHOR"
92 +Matthew W. S. Bell <matthew (at) bells23.org.uk>
93 +
94 +.SH "SEE ALSO"
95 +\fBfaac\fP(1)
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 10_faad-stdio.dpatch by <matthew@ibis.bells>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: No description.
5
6 @DPATCH@
7 diff -urNad faad2-2.6.1~/frontend/faad.man faad2-2.6.1/frontend/faad.man
8 --- faad2-2.6.1~/frontend/faad.man 2008-06-17 04:27:16.000000000 +0100
9 +++ faad2-2.6.1/frontend/faad.man 2008-06-17 04:27:17.000000000 +0100
10 @@ -73,7 +73,7 @@
11 Quiet \- Suppresses status messages during processing.
12 .TP
13 .B \-t ", \-\^\-oldformat"
14 -Sets the processing to use the old MPEG\(hy4 AAC ADTS format when outputting in said format.
15 +Sets the processing output to be sent to the standard out. Only raw PCM may be sent to the standard out, as headers cannot currently be streamed.
16 .TP
17 .B \-w ", \-\^\-stdio"
18 Sets the processing output to be sent to the standard out.
19 diff -urNad faad2-2.6.1~/frontend/main.c faad2-2.6.1/frontend/main.c
20 --- faad2-2.6.1~/frontend/main.c 2007-11-01 12:33:29.000000000 +0000
21 +++ faad2-2.6.1/frontend/main.c 2008-06-17 03:58:33.000000000 +0100
22 @@ -1190,9 +1190,10 @@
23 }
24
25 /* only allow raw data on stdio */
26 - if (writeToStdio == 1)
27 + if (writeToStdio && (format != 2))
28 {
29 - format = 2;
30 + faad_fprintf(stderr, "Only raw PCM data (2) may be sent to the standard out.\n");
31 + return 1;
32 }
33
34 /* point to the specified file name */
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1
2 @DPATCH@
3 --- faad2-2.6.1\faad2\frontend\main.c 2007-11-01 13:33:30.000000000 -0700
4 +++ faad2-2.6.1/frontend/main.c 2008-09-16 11:01:40.000000000 -0700
5 @@ -911,12 +911,14 @@
6 if (sampleId == 0) dur = 0;
7
8 if (useAacLength || (timescale != samplerate)) {
9 sample_count = frameInfo.samples;
10 } else {
11 sample_count = (unsigned int)(dur * frameInfo.channels);
12 + if (sample_count > frameInfo.samples)
13 + sample_count = frameInfo.samples;
14
15 if (!useAacLength && !initial && (sampleId < numSamples/2) && (sample_count != frameInfo.samples))
16 {
17 faad_fprintf(stderr, "MP4 seems to have incorrect frame duration, using values from AAC data.\n");
18 useAacLength = 1;
19 sample_count = frameInfo.samples;
20
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 99_autotools-regenerated.dpatch by <matthew@bells23.org.uk>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: No description.
5
6 @DPATCH@
7 diff -urNad faad2-svn~/INSTALL faad2-svn/INSTALL
8 --- faad2-svn~/INSTALL 1970-01-01 01:00:00.000000000 +0100
9 +++ faad2-svn/INSTALL 2007-12-25 22:22:07.000000000 +0000
10 @@ -0,0 +1,236 @@
11 +Installation Instructions
12 +*************************
13 +
14 +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
15 +Software Foundation, Inc.
16 +
17 +This file is free documentation; the Free Software Foundation gives
18 +unlimited permission to copy, distribute and modify it.
19 +
20 +Basic Installation
21 +==================
22 +
23 +These are generic installation instructions.
24 +
25 + The `configure' shell script attempts to guess correct values for
26 +various system-dependent variables used during compilation. It uses
27 +those values to create a `Makefile' in each directory of the package.
28 +It may also create one or more `.h' files containing system-dependent
29 +definitions. Finally, it creates a shell script `config.status' that
30 +you can run in the future to recreate the current configuration, and a
31 +file `config.log' containing compiler output (useful mainly for
32 +debugging `configure').
33 +
34 + It can also use an optional file (typically called `config.cache'
35 +and enabled with `--cache-file=config.cache' or simply `-C') that saves
36 +the results of its tests to speed up reconfiguring. (Caching is
37 +disabled by default to prevent problems with accidental use of stale
38 +cache files.)
39 +
40 + If you need to do unusual things to compile the package, please try
41 +to figure out how `configure' could check whether to do them, and mail
42 +diffs or instructions to the address given in the `README' so they can
43 +be considered for the next release. If you are using the cache, and at
44 +some point `config.cache' contains results you don't want to keep, you
45 +may remove or edit it.
46 +
47 + The file `configure.ac' (or `configure.in') is used to create
48 +`configure' by a program called `autoconf'. You only need
49 +`configure.ac' if you want to change it or regenerate `configure' using
50 +a newer version of `autoconf'.
51 +
52 +The simplest way to compile this package is:
53 +
54 + 1. `cd' to the directory containing the package's source code and type
55 + `./configure' to configure the package for your system. If you're
56 + using `csh' on an old version of System V, you might need to type
57 + `sh ./configure' instead to prevent `csh' from trying to execute
58 + `configure' itself.
59 +
60 + Running `configure' takes awhile. While running, it prints some
61 + messages telling which features it is checking for.
62 +
63 + 2. Type `make' to compile the package.
64 +
65 + 3. Optionally, type `make check' to run any self-tests that come with
66 + the package.
67 +
68 + 4. Type `make install' to install the programs and any data files and
69 + documentation.
70 +
71 + 5. You can remove the program binaries and object files from the
72 + source code directory by typing `make clean'. To also remove the
73 + files that `configure' created (so you can compile the package for
74 + a different kind of computer), type `make distclean'. There is
75 + also a `make maintainer-clean' target, but that is intended mainly
76 + for the package's developers. If you use it, you may have to get
77 + all sorts of other programs in order to regenerate files that came
78 + with the distribution.
79 +
80 +Compilers and Options
81 +=====================
82 +
83 +Some systems require unusual options for compilation or linking that the
84 +`configure' script does not know about. Run `./configure --help' for
85 +details on some of the pertinent environment variables.
86 +
87 + You can give `configure' initial values for configuration parameters
88 +by setting variables in the command line or in the environment. Here
89 +is an example:
90 +
91 + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
92 +
93 + *Note Defining Variables::, for more details.
94 +
95 +Compiling For Multiple Architectures
96 +====================================
97 +
98 +You can compile the package for more than one kind of computer at the
99 +same time, by placing the object files for each architecture in their
100 +own directory. To do this, you must use a version of `make' that
101 +supports the `VPATH' variable, such as GNU `make'. `cd' to the
102 +directory where you want the object files and executables to go and run
103 +the `configure' script. `configure' automatically checks for the
104 +source code in the directory that `configure' is in and in `..'.
105 +
106 + If you have to use a `make' that does not support the `VPATH'
107 +variable, you have to compile the package for one architecture at a
108 +time in the source code directory. After you have installed the
109 +package for one architecture, use `make distclean' before reconfiguring
110 +for another architecture.
111 +
112 +Installation Names
113 +==================
114 +
115 +By default, `make install' installs the package's commands under
116 +`/usr/local/bin', include files under `/usr/local/include', etc. You
117 +can specify an installation prefix other than `/usr/local' by giving
118 +`configure' the option `--prefix=PREFIX'.
119 +
120 + You can specify separate installation prefixes for
121 +architecture-specific files and architecture-independent files. If you
122 +pass the option `--exec-prefix=PREFIX' to `configure', the package uses
123 +PREFIX as the prefix for installing programs and libraries.
124 +Documentation and other data files still use the regular prefix.
125 +
126 + In addition, if you use an unusual directory layout you can give
127 +options like `--bindir=DIR' to specify different values for particular
128 +kinds of files. Run `configure --help' for a list of the directories
129 +you can set and what kinds of files go in them.
130 +
131 + If the package supports it, you can cause programs to be installed
132 +with an extra prefix or suffix on their names by giving `configure' the
133 +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
134 +
135 +Optional Features
136 +=================
137 +
138 +Some packages pay attention to `--enable-FEATURE' options to
139 +`configure', where FEATURE indicates an optional part of the package.
140 +They may also pay attention to `--with-PACKAGE' options, where PACKAGE
141 +is something like `gnu-as' or `x' (for the X Window System). The
142 +`README' should mention any `--enable-' and `--with-' options that the
143 +package recognizes.
144 +
145 + For packages that use the X Window System, `configure' can usually
146 +find the X include and library files automatically, but if it doesn't,
147 +you can use the `configure' options `--x-includes=DIR' and
148 +`--x-libraries=DIR' to specify their locations.
149 +
150 +Specifying the System Type
151 +==========================
152 +
153 +There may be some features `configure' cannot figure out automatically,
154 +but needs to determine by the type of machine the package will run on.
155 +Usually, assuming the package is built to be run on the _same_
156 +architectures, `configure' can figure that out, but if it prints a
157 +message saying it cannot guess the machine type, give it the
158 +`--build=TYPE' option. TYPE can either be a short name for the system
159 +type, such as `sun4', or a canonical name which has the form:
160 +
161 + CPU-COMPANY-SYSTEM
162 +
163 +where SYSTEM can have one of these forms:
164 +
165 + OS KERNEL-OS
166 +
167 + See the file `config.sub' for the possible values of each field. If
168 +`config.sub' isn't included in this package, then this package doesn't
169 +need to know the machine type.
170 +
171 + If you are _building_ compiler tools for cross-compiling, you should
172 +use the option `--target=TYPE' to select the type of system they will
173 +produce code for.
174 +
175 + If you want to _use_ a cross compiler, that generates code for a
176 +platform different from the build platform, you should specify the
177 +"host" platform (i.e., that on which the generated programs will
178 +eventually be run) with `--host=TYPE'.
179 +
180 +Sharing Defaults
181 +================
182 +
183 +If you want to set default values for `configure' scripts to share, you
184 +can create a site shell script called `config.site' that gives default
185 +values for variables like `CC', `cache_file', and `prefix'.
186 +`configure' looks for `PREFIX/share/config.site' if it exists, then
187 +`PREFIX/etc/config.site' if it exists. Or, you can set the
188 +`CONFIG_SITE' environment variable to the location of the site script.
189 +A warning: not all `configure' scripts look for a site script.
190 +
191 +Defining Variables
192 +==================
193 +
194 +Variables not defined in a site shell script can be set in the
195 +environment passed to `configure'. However, some packages may run
196 +configure again during the build, and the customized values of these
197 +variables may be lost. In order to avoid this problem, you should set
198 +them in the `configure' command line, using `VAR=value'. For example:
199 +
200 + ./configure CC=/usr/local2/bin/gcc
201 +
202 +causes the specified `gcc' to be used as the C compiler (unless it is
203 +overridden in the site shell script). Here is a another example:
204 +
205 + /bin/bash ./configure CONFIG_SHELL=/bin/bash
206 +
207 +Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
208 +configuration-related scripts to be executed by `/bin/bash'.
209 +
210 +`configure' Invocation
211 +======================
212 +
213 +`configure' recognizes the following options to control how it operates.
214 +
215 +`--help'
216 +`-h'
217 + Print a summary of the options to `configure', and exit.
218 +
219 +`--version'
220 +`-V'
221 + Print the version of Autoconf used to generate the `configure'
222 + script, and exit.
223 +
224 +`--cache-file=FILE'
225 + Enable the cache: use and save the results of the tests in FILE,
226 + traditionally `config.cache'. FILE defaults to `/dev/null' to
227 + disable caching.
228 +
229 +`--config-cache'
230 +`-C'
231 + Alias for `--cache-file=config.cache'.
232 +
233 +`--quiet'
234 +`--silent'
235 +`-q'
236 + Do not print messages saying which checks are being made. To
237 + suppress all normal output, redirect it to `/dev/null' (any error
238 + messages will still be shown).
239 +
240 +`--srcdir=DIR'
241 + Look for the package's source code in directory DIR. Usually
242 + `configure' can determine that directory automatically.
243 +
244 +`configure' also accepts some other, not widely useful, options. Run
245 +`configure --help' for more details.
246 +
247 diff -urNad faad2-svn~/Makefile.in faad2-svn/Makefile.in
248 --- faad2-svn~/Makefile.in 1970-01-01 01:00:00.000000000 +0100
249 +++ faad2-svn/Makefile.in 2007-12-25 22:22:07.000000000 +0000
250 @@ -0,0 +1,643 @@
251 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
252 +# @configure_input@
253 +
254 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
255 +# 2003, 2004, 2005 Free Software Foundation, Inc.
256 +# This Makefile.in is free software; the Free Software Foundation
257 +# gives unlimited permission to copy and/or distribute it,
258 +# with or without modifications, as long as this notice is preserved.
259 +
260 +# This program is distributed in the hope that it will be useful,
261 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
262 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
263 +# PARTICULAR PURPOSE.
264 +
265 +@SET_MAKE@
266 +srcdir = @srcdir@
267 +top_srcdir = @top_srcdir@
268 +VPATH = @srcdir@
269 +pkgdatadir = $(datadir)/@PACKAGE@
270 +pkglibdir = $(libdir)/@PACKAGE@
271 +pkgincludedir = $(includedir)/@PACKAGE@
272 +top_builddir = .
273 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
274 +INSTALL = @INSTALL@
275 +install_sh_DATA = $(install_sh) -c -m 644
276 +install_sh_PROGRAM = $(install_sh) -c
277 +install_sh_SCRIPT = $(install_sh) -c
278 +INSTALL_HEADER = $(INSTALL_DATA)
279 +transform = $(program_transform_name)
280 +NORMAL_INSTALL = :
281 +PRE_INSTALL = :
282 +POST_INSTALL = :
283 +NORMAL_UNINSTALL = :
284 +PRE_UNINSTALL = :
285 +POST_UNINSTALL = :
286 +build_triplet = @build@
287 +host_triplet = @host@
288 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
289 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
290 + $(srcdir)/faad2.spec.in $(top_srcdir)/configure AUTHORS \
291 + COPYING ChangeLog INSTALL NEWS TODO compile config.guess \
292 + config.sub depcomp install-sh ltmain.sh missing
293 +subdir = .
294 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
295 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
296 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
297 + $(ACLOCAL_M4)
298 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
299 + configure.lineno configure.status.lineno
300 +mkinstalldirs = $(install_sh) -d
301 +CONFIG_HEADER = config.h
302 +CONFIG_CLEAN_FILES = faad2.spec
303 +SOURCES =
304 +DIST_SOURCES =
305 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
306 + html-recursive info-recursive install-data-recursive \
307 + install-exec-recursive install-info-recursive \
308 + install-recursive installcheck-recursive installdirs-recursive \
309 + pdf-recursive ps-recursive uninstall-info-recursive \
310 + uninstall-recursive
311 +ETAGS = etags
312 +CTAGS = ctags
313 +DIST_SUBDIRS = $(SUBDIRS)
314 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
315 +distdir = $(PACKAGE)-$(VERSION)
316 +top_distdir = $(distdir)
317 +am__remove_distdir = \
318 + { test ! -d $(distdir) \
319 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
320 + && rm -fr $(distdir); }; }
321 +DIST_ARCHIVES = $(distdir).tar.gz
322 +GZIP_ENV = --best
323 +distuninstallcheck_listfiles = find . -type f -print
324 +distcleancheck_listfiles = find . -type f -print
325 +ACLOCAL = @ACLOCAL@
326 +AMDEP_FALSE = @AMDEP_FALSE@
327 +AMDEP_TRUE = @AMDEP_TRUE@
328 +AMTAR = @AMTAR@
329 +AR = @AR@
330 +AUTOCONF = @AUTOCONF@
331 +AUTOHEADER = @AUTOHEADER@
332 +AUTOMAKE = @AUTOMAKE@
333 +AWK = @AWK@
334 +CC = @CC@
335 +CCDEPMODE = @CCDEPMODE@
336 +CFLAGS = @CFLAGS@
337 +CPP = @CPP@
338 +CPPFLAGS = @CPPFLAGS@
339 +CXX = @CXX@
340 +CXXCPP = @CXXCPP@
341 +CXXDEPMODE = @CXXDEPMODE@
342 +CXXFLAGS = @CXXFLAGS@
343 +CYGPATH_W = @CYGPATH_W@
344 +DEFS = @DEFS@
345 +DEPDIR = @DEPDIR@
346 +ECHO = @ECHO@
347 +ECHO_C = @ECHO_C@
348 +ECHO_N = @ECHO_N@
349 +ECHO_T = @ECHO_T@
350 +EGREP = @EGREP@
351 +EXEEXT = @EXEEXT@
352 +F77 = @F77@
353 +FFLAGS = @FFLAGS@
354 +GREP = @GREP@
355 +GTK_CONFIG = @GTK_CONFIG@
356 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
357 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
358 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
359 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
360 +INSTALL_DATA = @INSTALL_DATA@
361 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
362 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
363 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
364 +LDFLAGS = @LDFLAGS@
365 +LIBOBJS = @LIBOBJS@
366 +LIBS = @LIBS@
367 +LIBTOOL = @LIBTOOL@
368 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
369 +LN_S = @LN_S@
370 +LTLIBOBJS = @LTLIBOBJS@
371 +MAKEINFO = @MAKEINFO@
372 +MP4FF_LIBS = @MP4FF_LIBS@
373 +OBJEXT = @OBJEXT@
374 +PACKAGE = @PACKAGE@
375 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
376 +PACKAGE_NAME = @PACKAGE_NAME@
377 +PACKAGE_STRING = @PACKAGE_STRING@
378 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
379 +PACKAGE_VERSION = @PACKAGE_VERSION@
380 +PATH_SEPARATOR = @PATH_SEPARATOR@
381 +RANLIB = @RANLIB@
382 +RPMBUILD = @RPMBUILD@
383 +SED = @SED@
384 +SET_MAKE = @SET_MAKE@
385 +SHELL = @SHELL@
386 +STRIP = @STRIP@
387 +VERSION = @VERSION@
388 +XMMS_CFLAGS = @XMMS_CFLAGS@
389 +XMMS_CONFIG = @XMMS_CONFIG@
390 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
391 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
392 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
393 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
394 +XMMS_LIBS = @XMMS_LIBS@
395 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
396 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
397 +XMMS_VERSION = @XMMS_VERSION@
398 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
399 +ac_ct_CC = @ac_ct_CC@
400 +ac_ct_CXX = @ac_ct_CXX@
401 +ac_ct_F77 = @ac_ct_F77@
402 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
403 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
404 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
405 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
406 +am__include = @am__include@
407 +am__leading_dot = @am__leading_dot@
408 +am__quote = @am__quote@
409 +am__tar = @am__tar@
410 +am__untar = @am__untar@
411 +bindir = @bindir@
412 +build = @build@
413 +build_alias = @build_alias@
414 +build_cpu = @build_cpu@
415 +build_os = @build_os@
416 +build_vendor = @build_vendor@
417 +datadir = @datadir@
418 +datarootdir = @datarootdir@
419 +docdir = @docdir@
420 +dvidir = @dvidir@
421 +exec_prefix = @exec_prefix@
422 +external_mp4v2 = @external_mp4v2@
423 +host = @host@
424 +host_alias = @host_alias@
425 +host_cpu = @host_cpu@
426 +host_os = @host_os@
427 +host_vendor = @host_vendor@
428 +htmldir = @htmldir@
429 +includedir = @includedir@
430 +infodir = @infodir@
431 +install_sh = @install_sh@
432 +libdir = @libdir@
433 +libexecdir = @libexecdir@
434 +localedir = @localedir@
435 +localstatedir = @localstatedir@
436 +mandir = @mandir@
437 +mkdir_p = @mkdir_p@
438 +oldincludedir = @oldincludedir@
439 +pdfdir = @pdfdir@
440 +prefix = @prefix@
441 +program_transform_name = @program_transform_name@
442 +psdir = @psdir@
443 +sbindir = @sbindir@
444 +sharedstatedir = @sharedstatedir@
445 +sysconfdir = @sysconfdir@
446 +target_alias = @target_alias@
447 +SUBDIRS = libfaad common frontend plugins
448 +EXTRA_DIST = faad2.spec
449 +all: config.h
450 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
451 +
452 +.SUFFIXES:
453 +am--refresh:
454 + @:
455 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
456 + @for dep in $?; do \
457 + case '$(am__configure_deps)' in \
458 + *$$dep*) \
459 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
460 + cd $(srcdir) && $(AUTOMAKE) --gnu \
461 + && exit 0; \
462 + exit 1;; \
463 + esac; \
464 + done; \
465 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
466 + cd $(top_srcdir) && \
467 + $(AUTOMAKE) --gnu Makefile
468 +.PRECIOUS: Makefile
469 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
470 + @case '$?' in \
471 + *config.status*) \
472 + echo ' $(SHELL) ./config.status'; \
473 + $(SHELL) ./config.status;; \
474 + *) \
475 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
476 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
477 + esac;
478 +
479 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
480 + $(SHELL) ./config.status --recheck
481 +
482 +$(top_srcdir)/configure: $(am__configure_deps)
483 + cd $(srcdir) && $(AUTOCONF)
484 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
485 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
486 +
487 +config.h: stamp-h1
488 + @if test ! -f $@; then \
489 + rm -f stamp-h1; \
490 + $(MAKE) stamp-h1; \
491 + else :; fi
492 +
493 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
494 + @rm -f stamp-h1
495 + cd $(top_builddir) && $(SHELL) ./config.status config.h
496 +$(srcdir)/config.h.in: $(am__configure_deps)
497 + cd $(top_srcdir) && $(AUTOHEADER)
498 + rm -f stamp-h1
499 + touch $@
500 +
501 +distclean-hdr:
502 + -rm -f config.h stamp-h1
503 +faad2.spec: $(top_builddir)/config.status $(srcdir)/faad2.spec.in
504 + cd $(top_builddir) && $(SHELL) ./config.status $@
505 +
506 +mostlyclean-libtool:
507 + -rm -f *.lo
508 +
509 +clean-libtool:
510 + -rm -rf .libs _libs
511 +
512 +distclean-libtool:
513 + -rm -f libtool
514 +uninstall-info-am:
515 +
516 +# This directory's subdirectories are mostly independent; you can cd
517 +# into them and run `make' without going through this Makefile.
518 +# To change the values of `make' variables: instead of editing Makefiles,
519 +# (1) if the variable is set in `config.status', edit `config.status'
520 +# (which will cause the Makefiles to be regenerated when you run `make');
521 +# (2) otherwise, pass the desired values on the `make' command line.
522 +$(RECURSIVE_TARGETS):
523 + @failcom='exit 1'; \
524 + for f in x $$MAKEFLAGS; do \
525 + case $$f in \
526 + *=* | --[!k]*);; \
527 + *k*) failcom='fail=yes';; \
528 + esac; \
529 + done; \
530 + dot_seen=no; \
531 + target=`echo $@ | sed s/-recursive//`; \
532 + list='$(SUBDIRS)'; for subdir in $$list; do \
533 + echo "Making $$target in $$subdir"; \
534 + if test "$$subdir" = "."; then \
535 + dot_seen=yes; \
536 + local_target="$$target-am"; \
537 + else \
538 + local_target="$$target"; \
539 + fi; \
540 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
541 + || eval $$failcom; \
542 + done; \
543 + if test "$$dot_seen" = "no"; then \
544 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
545 + fi; test -z "$$fail"
546 +
547 +mostlyclean-recursive clean-recursive distclean-recursive \
548 +maintainer-clean-recursive:
549 + @failcom='exit 1'; \
550 + for f in x $$MAKEFLAGS; do \
551 + case $$f in \
552 + *=* | --[!k]*);; \
553 + *k*) failcom='fail=yes';; \
554 + esac; \
555 + done; \
556 + dot_seen=no; \
557 + case "$@" in \
558 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
559 + *) list='$(SUBDIRS)' ;; \
560 + esac; \
561 + rev=''; for subdir in $$list; do \
562 + if test "$$subdir" = "."; then :; else \
563 + rev="$$subdir $$rev"; \
564 + fi; \
565 + done; \
566 + rev="$$rev ."; \
567 + target=`echo $@ | sed s/-recursive//`; \
568 + for subdir in $$rev; do \
569 + echo "Making $$target in $$subdir"; \
570 + if test "$$subdir" = "."; then \
571 + local_target="$$target-am"; \
572 + else \
573 + local_target="$$target"; \
574 + fi; \
575 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
576 + || eval $$failcom; \
577 + done && test -z "$$fail"
578 +tags-recursive:
579 + list='$(SUBDIRS)'; for subdir in $$list; do \
580 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
581 + done
582 +ctags-recursive:
583 + list='$(SUBDIRS)'; for subdir in $$list; do \
584 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
585 + done
586 +
587 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
588 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
589 + unique=`for i in $$list; do \
590 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
591 + done | \
592 + $(AWK) ' { files[$$0] = 1; } \
593 + END { for (i in files) print i; }'`; \
594 + mkid -fID $$unique
595 +tags: TAGS
596 +
597 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
598 + $(TAGS_FILES) $(LISP)
599 + tags=; \
600 + here=`pwd`; \
601 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
602 + include_option=--etags-include; \
603 + empty_fix=.; \
604 + else \
605 + include_option=--include; \
606 + empty_fix=; \
607 + fi; \
608 + list='$(SUBDIRS)'; for subdir in $$list; do \
609 + if test "$$subdir" = .; then :; else \
610 + test ! -f $$subdir/TAGS || \
611 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
612 + fi; \
613 + done; \
614 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
615 + unique=`for i in $$list; do \
616 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
617 + done | \
618 + $(AWK) ' { files[$$0] = 1; } \
619 + END { for (i in files) print i; }'`; \
620 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
621 + test -n "$$unique" || unique=$$empty_fix; \
622 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
623 + $$tags $$unique; \
624 + fi
625 +ctags: CTAGS
626 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
627 + $(TAGS_FILES) $(LISP)
628 + tags=; \
629 + here=`pwd`; \
630 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
631 + unique=`for i in $$list; do \
632 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
633 + done | \
634 + $(AWK) ' { files[$$0] = 1; } \
635 + END { for (i in files) print i; }'`; \
636 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
637 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
638 + $$tags $$unique
639 +
640 +GTAGS:
641 + here=`$(am__cd) $(top_builddir) && pwd` \
642 + && cd $(top_srcdir) \
643 + && gtags -i $(GTAGS_ARGS) $$here
644 +
645 +distclean-tags:
646 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
647 +
648 +distdir: $(DISTFILES)
649 + $(am__remove_distdir)
650 + mkdir $(distdir)
651 + $(mkdir_p) $(distdir)/.
652 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
653 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
654 + list='$(DISTFILES)'; for file in $$list; do \
655 + case $$file in \
656 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
657 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
658 + esac; \
659 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
660 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
661 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
662 + dir="/$$dir"; \
663 + $(mkdir_p) "$(distdir)$$dir"; \
664 + else \
665 + dir=''; \
666 + fi; \
667 + if test -d $$d/$$file; then \
668 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
669 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
670 + fi; \
671 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
672 + else \
673 + test -f $(distdir)/$$file \
674 + || cp -p $$d/$$file $(distdir)/$$file \
675 + || exit 1; \
676 + fi; \
677 + done
678 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
679 + if test "$$subdir" = .; then :; else \
680 + test -d "$(distdir)/$$subdir" \
681 + || $(mkdir_p) "$(distdir)/$$subdir" \
682 + || exit 1; \
683 + distdir=`$(am__cd) $(distdir) && pwd`; \
684 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
685 + (cd $$subdir && \
686 + $(MAKE) $(AM_MAKEFLAGS) \
687 + top_distdir="$$top_distdir" \
688 + distdir="$$distdir/$$subdir" \
689 + distdir) \
690 + || exit 1; \
691 + fi; \
692 + done
693 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
694 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
695 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
696 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
697 + || chmod -R a+r $(distdir)
698 +dist-gzip: distdir
699 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
700 + $(am__remove_distdir)
701 +
702 +dist-bzip2: distdir
703 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
704 + $(am__remove_distdir)
705 +
706 +dist-tarZ: distdir
707 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
708 + $(am__remove_distdir)
709 +
710 +dist-shar: distdir
711 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
712 + $(am__remove_distdir)
713 +
714 +dist-zip: distdir
715 + -rm -f $(distdir).zip
716 + zip -rq $(distdir).zip $(distdir)
717 + $(am__remove_distdir)
718 +
719 +dist dist-all: distdir
720 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
721 + $(am__remove_distdir)
722 +
723 +# This target untars the dist file and tries a VPATH configuration. Then
724 +# it guarantees that the distribution is self-contained by making another
725 +# tarfile.
726 +distcheck: dist
727 + case '$(DIST_ARCHIVES)' in \
728 + *.tar.gz*) \
729 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
730 + *.tar.bz2*) \
731 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
732 + *.tar.Z*) \
733 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
734 + *.shar.gz*) \
735 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
736 + *.zip*) \
737 + unzip $(distdir).zip ;;\
738 + esac
739 + chmod -R a-w $(distdir); chmod a+w $(distdir)
740 + mkdir $(distdir)/_build
741 + mkdir $(distdir)/_inst
742 + chmod a-w $(distdir)
743 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
744 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
745 + && cd $(distdir)/_build \
746 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
747 + $(DISTCHECK_CONFIGURE_FLAGS) \
748 + && $(MAKE) $(AM_MAKEFLAGS) \
749 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
750 + && $(MAKE) $(AM_MAKEFLAGS) check \
751 + && $(MAKE) $(AM_MAKEFLAGS) install \
752 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
753 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
754 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
755 + distuninstallcheck \
756 + && chmod -R a-w "$$dc_install_base" \
757 + && ({ \
758 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
759 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
760 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
761 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
762 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
763 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
764 + && rm -rf "$$dc_destdir" \
765 + && $(MAKE) $(AM_MAKEFLAGS) dist \
766 + && rm -rf $(DIST_ARCHIVES) \
767 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
768 + $(am__remove_distdir)
769 + @(echo "$(distdir) archives ready for distribution: "; \
770 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
771 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
772 +distuninstallcheck:
773 + @cd $(distuninstallcheck_dir) \
774 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
775 + || { echo "ERROR: files left after uninstall:" ; \
776 + if test -n "$(DESTDIR)"; then \
777 + echo " (check DESTDIR support)"; \
778 + fi ; \
779 + $(distuninstallcheck_listfiles) ; \
780 + exit 1; } >&2
781 +distcleancheck: distclean
782 + @if test '$(srcdir)' = . ; then \
783 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
784 + exit 1 ; \
785 + fi
786 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
787 + || { echo "ERROR: files left in build directory after distclean:" ; \
788 + $(distcleancheck_listfiles) ; \
789 + exit 1; } >&2
790 +check-am: all-am
791 +check: check-recursive
792 +all-am: Makefile config.h
793 +installdirs: installdirs-recursive
794 +installdirs-am:
795 +install: install-recursive
796 +install-exec: install-exec-recursive
797 +install-data: install-data-recursive
798 +uninstall: uninstall-recursive
799 +
800 +install-am: all-am
801 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
802 +
803 +installcheck: installcheck-recursive
804 +install-strip:
805 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
806 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
807 + `test -z '$(STRIP)' || \
808 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
809 +mostlyclean-generic:
810 +
811 +clean-generic:
812 +
813 +distclean-generic:
814 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
815 +
816 +maintainer-clean-generic:
817 + @echo "This command is intended for maintainers to use"
818 + @echo "it deletes files that may require special tools to rebuild."
819 +clean: clean-recursive
820 +
821 +clean-am: clean-generic clean-libtool mostlyclean-am
822 +
823 +distclean: distclean-recursive
824 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
825 + -rm -f Makefile
826 +distclean-am: clean-am distclean-generic distclean-hdr \
827 + distclean-libtool distclean-tags
828 +
829 +dvi: dvi-recursive
830 +
831 +dvi-am:
832 +
833 +html: html-recursive
834 +
835 +info: info-recursive
836 +
837 +info-am:
838 +
839 +install-data-am:
840 +
841 +install-exec-am:
842 +
843 +install-info: install-info-recursive
844 +
845 +install-man:
846 +
847 +installcheck-am:
848 +
849 +maintainer-clean: maintainer-clean-recursive
850 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
851 + -rm -rf $(top_srcdir)/autom4te.cache
852 + -rm -f Makefile
853 +maintainer-clean-am: distclean-am maintainer-clean-generic
854 +
855 +mostlyclean: mostlyclean-recursive
856 +
857 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
858 +
859 +pdf: pdf-recursive
860 +
861 +pdf-am:
862 +
863 +ps: ps-recursive
864 +
865 +ps-am:
866 +
867 +uninstall-am: uninstall-info-am
868 +
869 +uninstall-info: uninstall-info-recursive
870 +
871 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
872 + check-am clean clean-generic clean-libtool clean-recursive \
873 + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
874 + dist-shar dist-tarZ dist-zip distcheck distclean \
875 + distclean-generic distclean-hdr distclean-libtool \
876 + distclean-recursive distclean-tags distcleancheck distdir \
877 + distuninstallcheck dvi dvi-am html html-am info info-am \
878 + install install-am install-data install-data-am install-exec \
879 + install-exec-am install-info install-info-am install-man \
880 + install-strip installcheck installcheck-am installdirs \
881 + installdirs-am maintainer-clean maintainer-clean-generic \
882 + maintainer-clean-recursive mostlyclean mostlyclean-generic \
883 + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
884 + tags tags-recursive uninstall uninstall-am uninstall-info-am
885 +
886 +
887 +rpm: Makefile
888 + make dist
889 + $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
890 + rm $(PACKAGE)-$(VERSION).tar.gz
891 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
892 +# Otherwise a system limit (for SysV at least) may be exceeded.
893 +.NOEXPORT:
894 diff -urNad faad2-svn~/aclocal.m4 faad2-svn/aclocal.m4
895 --- faad2-svn~/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
896 +++ faad2-svn/aclocal.m4 2007-12-25 22:22:07.000000000 +0000
897 @@ -0,0 +1,7592 @@
898 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
899 +
900 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
901 +# 2005 Free Software Foundation, Inc.
902 +# This file is free software; the Free Software Foundation
903 +# gives unlimited permission to copy and/or distribute it,
904 +# with or without modifications, as long as this notice is preserved.
905 +
906 +# This program is distributed in the hope that it will be useful,
907 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
908 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
909 +# PARTICULAR PURPOSE.
910 +
911 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
912 +
913 +# serial 51 Debian 1.5.24-2 AC_PROG_LIBTOOL
914 +
915 +
916 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
917 +# -----------------------------------------------------------
918 +# If this macro is not defined by Autoconf, define it here.
919 +m4_ifdef([AC_PROVIDE_IFELSE],
920 + [],
921 + [m4_define([AC_PROVIDE_IFELSE],
922 + [m4_ifdef([AC_PROVIDE_$1],
923 + [$2], [$3])])])
924 +
925 +
926 +# AC_PROG_LIBTOOL
927 +# ---------------
928 +AC_DEFUN([AC_PROG_LIBTOOL],
929 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
930 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
931 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
932 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
933 + [AC_LIBTOOL_CXX],
934 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
935 + ])])
936 +dnl And a similar setup for Fortran 77 support
937 + AC_PROVIDE_IFELSE([AC_PROG_F77],
938 + [AC_LIBTOOL_F77],
939 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
940 +])])
941 +
942 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
943 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
944 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
945 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
946 + [AC_LIBTOOL_GCJ],
947 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
948 + [AC_LIBTOOL_GCJ],
949 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
950 + [AC_LIBTOOL_GCJ],
951 + [ifdef([AC_PROG_GCJ],
952 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
953 + ifdef([A][M_PROG_GCJ],
954 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
955 + ifdef([LT_AC_PROG_GCJ],
956 + [define([LT_AC_PROG_GCJ],
957 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
958 +])])# AC_PROG_LIBTOOL
959 +
960 +
961 +# _AC_PROG_LIBTOOL
962 +# ----------------
963 +AC_DEFUN([_AC_PROG_LIBTOOL],
964 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
965 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
966 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
967 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
968 +
969 +# This can be used to rebuild libtool when needed
970 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
971 +
972 +# Always use our own libtool.
973 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
974 +AC_SUBST(LIBTOOL)dnl
975 +
976 +# Prevent multiple expansion
977 +define([AC_PROG_LIBTOOL], [])
978 +])# _AC_PROG_LIBTOOL
979 +
980 +
981 +# AC_LIBTOOL_SETUP
982 +# ----------------
983 +AC_DEFUN([AC_LIBTOOL_SETUP],
984 +[AC_PREREQ(2.50)dnl
985 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
986 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
987 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
988 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
989 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
990 +AC_REQUIRE([AC_PROG_CC])dnl
991 +AC_REQUIRE([AC_PROG_LD])dnl
992 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
993 +AC_REQUIRE([AC_PROG_NM])dnl
994 +
995 +AC_REQUIRE([AC_PROG_LN_S])dnl
996 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
997 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
998 +AC_REQUIRE([AC_OBJEXT])dnl
999 +AC_REQUIRE([AC_EXEEXT])dnl
1000 +dnl
1001 +
1002 +AC_LIBTOOL_SYS_MAX_CMD_LEN
1003 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1004 +AC_LIBTOOL_OBJDIR
1005 +
1006 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1007 +_LT_AC_PROG_ECHO_BACKSLASH
1008 +
1009 +case $host_os in
1010 +aix3*)
1011 + # AIX sometimes has problems with the GCC collect2 program. For some
1012 + # reason, if we set the COLLECT_NAMES environment variable, the problems
1013 + # vanish in a puff of smoke.
1014 + if test "X${COLLECT_NAMES+set}" != Xset; then
1015 + COLLECT_NAMES=
1016 + export COLLECT_NAMES
1017 + fi
1018 + ;;
1019 +esac
1020 +
1021 +# Sed substitution that helps us do robust quoting. It backslashifies
1022 +# metacharacters that are still active within double-quoted strings.
1023 +Xsed='sed -e 1s/^X//'
1024 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
1025 +
1026 +# Same as above, but do not quote variable references.
1027 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
1028 +
1029 +# Sed substitution to delay expansion of an escaped shell variable in a
1030 +# double_quote_subst'ed string.
1031 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1032 +
1033 +# Sed substitution to avoid accidental globbing in evaled expressions
1034 +no_glob_subst='s/\*/\\\*/g'
1035 +
1036 +# Constants:
1037 +rm="rm -f"
1038 +
1039 +# Global variables:
1040 +default_ofile=libtool
1041 +can_build_shared=yes
1042 +
1043 +# All known linkers require a `.a' archive for static linking (except MSVC,
1044 +# which needs '.lib').
1045 +libext=a
1046 +ltmain="$ac_aux_dir/ltmain.sh"
1047 +ofile="$default_ofile"
1048 +with_gnu_ld="$lt_cv_prog_gnu_ld"
1049 +
1050 +AC_CHECK_TOOL(AR, ar, false)
1051 +AC_CHECK_TOOL(RANLIB, ranlib, :)
1052 +AC_CHECK_TOOL(STRIP, strip, :)
1053 +
1054 +old_CC="$CC"
1055 +old_CFLAGS="$CFLAGS"
1056 +
1057 +# Set sane defaults for various variables
1058 +test -z "$AR" && AR=ar
1059 +test -z "$AR_FLAGS" && AR_FLAGS=cru
1060 +test -z "$AS" && AS=as
1061 +test -z "$CC" && CC=cc
1062 +test -z "$LTCC" && LTCC=$CC
1063 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
1064 +test -z "$DLLTOOL" && DLLTOOL=dlltool
1065 +test -z "$LD" && LD=ld
1066 +test -z "$LN_S" && LN_S="ln -s"
1067 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
1068 +test -z "$NM" && NM=nm
1069 +test -z "$SED" && SED=sed
1070 +test -z "$OBJDUMP" && OBJDUMP=objdump
1071 +test -z "$RANLIB" && RANLIB=:
1072 +test -z "$STRIP" && STRIP=:
1073 +test -z "$ac_objext" && ac_objext=o
1074 +
1075 +# Determine commands to create old-style static archives.
1076 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1077 +old_postinstall_cmds='chmod 644 $oldlib'
1078 +old_postuninstall_cmds=
1079 +
1080 +if test -n "$RANLIB"; then
1081 + case $host_os in
1082 + openbsd*)
1083 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1084 + ;;
1085 + *)
1086 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1087 + ;;
1088 + esac
1089 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1090 +fi
1091 +
1092 +_LT_CC_BASENAME([$compiler])
1093 +
1094 +# Only perform the check for file, if the check method requires it
1095 +case $deplibs_check_method in
1096 +file_magic*)
1097 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1098 + AC_PATH_MAGIC
1099 + fi
1100 + ;;
1101 +esac
1102 +
1103 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
1104 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1105 +enable_win32_dll=yes, enable_win32_dll=no)
1106 +
1107 +AC_ARG_ENABLE([libtool-lock],
1108 + [AC_HELP_STRING([--disable-libtool-lock],
1109 + [avoid locking (might break parallel builds)])])
1110 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1111 +
1112 +AC_ARG_WITH([pic],
1113 + [AC_HELP_STRING([--with-pic],
1114 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
1115 + [pic_mode="$withval"],
1116 + [pic_mode=default])
1117 +test -z "$pic_mode" && pic_mode=default
1118 +
1119 +# Use C for the default configuration in the libtool script
1120 +tagname=
1121 +AC_LIBTOOL_LANG_C_CONFIG
1122 +_LT_AC_TAGCONFIG
1123 +])# AC_LIBTOOL_SETUP
1124 +
1125 +
1126 +# _LT_AC_SYS_COMPILER
1127 +# -------------------
1128 +AC_DEFUN([_LT_AC_SYS_COMPILER],
1129 +[AC_REQUIRE([AC_PROG_CC])dnl
1130 +
1131 +# If no C compiler was specified, use CC.
1132 +LTCC=${LTCC-"$CC"}
1133 +
1134 +# If no C compiler flags were specified, use CFLAGS.
1135 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1136 +
1137 +# Allow CC to be a program name with arguments.
1138 +compiler=$CC
1139 +])# _LT_AC_SYS_COMPILER
1140 +
1141 +
1142 +# _LT_CC_BASENAME(CC)
1143 +# -------------------
1144 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1145 +AC_DEFUN([_LT_CC_BASENAME],
1146 +[for cc_temp in $1""; do
1147 + case $cc_temp in
1148 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1149 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1150 + \-*) ;;
1151 + *) break;;
1152 + esac
1153 +done
1154 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1155 +])
1156 +
1157 +
1158 +# _LT_COMPILER_BOILERPLATE
1159 +# ------------------------
1160 +# Check for compiler boilerplate output or warnings with
1161 +# the simple compiler test code.
1162 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
1163 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
1164 +ac_outfile=conftest.$ac_objext
1165 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
1166 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1167 +_lt_compiler_boilerplate=`cat conftest.err`
1168 +$rm conftest*
1169 +])# _LT_COMPILER_BOILERPLATE
1170 +
1171 +
1172 +# _LT_LINKER_BOILERPLATE
1173 +# ----------------------
1174 +# Check for linker boilerplate output or warnings with
1175 +# the simple link test code.
1176 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
1177 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
1178 +ac_outfile=conftest.$ac_objext
1179 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
1180 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1181 +_lt_linker_boilerplate=`cat conftest.err`
1182 +$rm conftest*
1183 +])# _LT_LINKER_BOILERPLATE
1184 +
1185 +
1186 +# _LT_AC_SYS_LIBPATH_AIX
1187 +# ----------------------
1188 +# Links a minimal program and checks the executable
1189 +# for the system default hardcoded library path. In most cases,
1190 +# this is /usr/lib:/lib, but when the MPI compilers are used
1191 +# the location of the communication and MPI libs are included too.
1192 +# If we don't find anything, use the default library path according
1193 +# to the aix ld manual.
1194 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
1195 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
1196 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1197 +lt_aix_libpath_sed='
1198 + /Import File Strings/,/^$/ {
1199 + /^0/ {
1200 + s/^0 *\(.*\)$/\1/
1201 + p
1202 + }
1203 + }'
1204 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1205 +# Check for a 64-bit object if we didn't find anything.
1206 +if test -z "$aix_libpath"; then
1207 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1208 +fi],[])
1209 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1210 +])# _LT_AC_SYS_LIBPATH_AIX
1211 +
1212 +
1213 +# _LT_AC_SHELL_INIT(ARG)
1214 +# ----------------------
1215 +AC_DEFUN([_LT_AC_SHELL_INIT],
1216 +[ifdef([AC_DIVERSION_NOTICE],
1217 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1218 + [AC_DIVERT_PUSH(NOTICE)])
1219 +$1
1220 +AC_DIVERT_POP
1221 +])# _LT_AC_SHELL_INIT
1222 +
1223 +
1224 +# _LT_AC_PROG_ECHO_BACKSLASH
1225 +# --------------------------
1226 +# Add some code to the start of the generated configure script which
1227 +# will find an echo command which doesn't interpret backslashes.
1228 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
1229 +[_LT_AC_SHELL_INIT([
1230 +# Check that we are running under the correct shell.
1231 +SHELL=${CONFIG_SHELL-/bin/sh}
1232 +
1233 +case X$ECHO in
1234 +X*--fallback-echo)
1235 + # Remove one level of quotation (which was required for Make).
1236 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1237 + ;;
1238 +esac
1239 +
1240 +echo=${ECHO-echo}
1241 +if test "X[$]1" = X--no-reexec; then
1242 + # Discard the --no-reexec flag, and continue.
1243 + shift
1244 +elif test "X[$]1" = X--fallback-echo; then
1245 + # Avoid inline document here, it may be left over
1246 + :
1247 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1248 + # Yippee, $echo works!
1249 + :
1250 +else
1251 + # Restart under the correct shell.
1252 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1253 +fi
1254 +
1255 +if test "X[$]1" = X--fallback-echo; then
1256 + # used as fallback echo
1257 + shift
1258 + cat <<EOF
1259 +[$]*
1260 +EOF
1261 + exit 0
1262 +fi
1263 +
1264 +# The HP-UX ksh and POSIX shell print the target directory to stdout
1265 +# if CDPATH is set.
1266 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1267 +
1268 +if test -z "$ECHO"; then
1269 +if test "X${echo_test_string+set}" != Xset; then
1270 +# find a string as large as possible, as long as the shell can cope with it
1271 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1272 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1273 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
1274 + echo_test_string=`eval $cmd` &&
1275 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1276 + then
1277 + break
1278 + fi
1279 + done
1280 +fi
1281 +
1282 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1283 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1284 + test "X$echo_testing_string" = "X$echo_test_string"; then
1285 + :
1286 +else
1287 + # The Solaris, AIX, and Digital Unix default echo programs unquote
1288 + # backslashes. This makes it impossible to quote backslashes using
1289 + # echo "$something" | sed 's/\\/\\\\/g'
1290 + #
1291 + # So, first we look for a working echo in the user's PATH.
1292 +
1293 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1294 + for dir in $PATH /usr/ucb; do
1295 + IFS="$lt_save_ifs"
1296 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1297 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1298 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1299 + test "X$echo_testing_string" = "X$echo_test_string"; then
1300 + echo="$dir/echo"
1301 + break
1302 + fi
1303 + done
1304 + IFS="$lt_save_ifs"
1305 +
1306 + if test "X$echo" = Xecho; then
1307 + # We didn't find a better echo, so look for alternatives.
1308 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
1309 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
1310 + test "X$echo_testing_string" = "X$echo_test_string"; then
1311 + # This shell has a builtin print -r that does the trick.
1312 + echo='print -r'
1313 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
1314 + test "X$CONFIG_SHELL" != X/bin/ksh; then
1315 + # If we have ksh, try running configure again with it.
1316 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1317 + export ORIGINAL_CONFIG_SHELL
1318 + CONFIG_SHELL=/bin/ksh
1319 + export CONFIG_SHELL
1320 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1321 + else
1322 + # Try using printf.
1323 + echo='printf %s\n'
1324 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1325 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1326 + test "X$echo_testing_string" = "X$echo_test_string"; then
1327 + # Cool, printf works
1328 + :
1329 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1330 + test "X$echo_testing_string" = 'X\t' &&
1331 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1332 + test "X$echo_testing_string" = "X$echo_test_string"; then
1333 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1334 + export CONFIG_SHELL
1335 + SHELL="$CONFIG_SHELL"
1336 + export SHELL
1337 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
1338 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1339 + test "X$echo_testing_string" = 'X\t' &&
1340 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1341 + test "X$echo_testing_string" = "X$echo_test_string"; then
1342 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
1343 + else
1344 + # maybe with a smaller string...
1345 + prev=:
1346 +
1347 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1348 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
1349 + then
1350 + break
1351 + fi
1352 + prev="$cmd"
1353 + done
1354 +
1355 + if test "$prev" != 'sed 50q "[$]0"'; then
1356 + echo_test_string=`eval $prev`
1357 + export echo_test_string
1358 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1359 + else
1360 + # Oops. We lost completely, so just stick with echo.
1361 + echo=echo
1362 + fi
1363 + fi
1364 + fi
1365 + fi
1366 +fi
1367 +fi
1368 +
1369 +# Copy echo and quote the copy suitably for passing to libtool from
1370 +# the Makefile, instead of quoting the original, which is used later.
1371 +ECHO=$echo
1372 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1373 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1374 +fi
1375 +
1376 +AC_SUBST(ECHO)
1377 +])])# _LT_AC_PROG_ECHO_BACKSLASH
1378 +
1379 +
1380 +# _LT_AC_LOCK
1381 +# -----------
1382 +AC_DEFUN([_LT_AC_LOCK],
1383 +[AC_ARG_ENABLE([libtool-lock],
1384 + [AC_HELP_STRING([--disable-libtool-lock],
1385 + [avoid locking (might break parallel builds)])])
1386 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1387 +
1388 +# Some flags need to be propagated to the compiler or linker for good
1389 +# libtool support.
1390 +case $host in
1391 +ia64-*-hpux*)
1392 + # Find out which ABI we are using.
1393 + echo 'int i;' > conftest.$ac_ext
1394 + if AC_TRY_EVAL(ac_compile); then
1395 + case `/usr/bin/file conftest.$ac_objext` in
1396 + *ELF-32*)
1397 + HPUX_IA64_MODE="32"
1398 + ;;
1399 + *ELF-64*)
1400 + HPUX_IA64_MODE="64"
1401 + ;;
1402 + esac
1403 + fi
1404 + rm -rf conftest*
1405 + ;;
1406 +*-*-irix6*)
1407 + # Find out which ABI we are using.
1408 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1409 + if AC_TRY_EVAL(ac_compile); then
1410 + if test "$lt_cv_prog_gnu_ld" = yes; then
1411 + case `/usr/bin/file conftest.$ac_objext` in
1412 + *32-bit*)
1413 + LD="${LD-ld} -melf32bsmip"
1414 + ;;
1415 + *N32*)
1416 + LD="${LD-ld} -melf32bmipn32"
1417 + ;;
1418 + *64-bit*)
1419 + LD="${LD-ld} -melf64bmip"
1420 + ;;
1421 + esac
1422 + else
1423 + case `/usr/bin/file conftest.$ac_objext` in
1424 + *32-bit*)
1425 + LD="${LD-ld} -32"
1426 + ;;
1427 + *N32*)
1428 + LD="${LD-ld} -n32"
1429 + ;;
1430 + *64-bit*)
1431 + LD="${LD-ld} -64"
1432 + ;;
1433 + esac
1434 + fi
1435 + fi
1436 + rm -rf conftest*
1437 + ;;
1438 +
1439 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1440 +s390*-*linux*|sparc*-*linux*)
1441 + # Find out which ABI we are using.
1442 + echo 'int i;' > conftest.$ac_ext
1443 + if AC_TRY_EVAL(ac_compile); then
1444 + case `/usr/bin/file conftest.o` in
1445 + *32-bit*)
1446 + case $host in
1447 + x86_64-*kfreebsd*-gnu)
1448 + LD="${LD-ld} -m elf_i386_fbsd"
1449 + ;;
1450 + x86_64-*linux*)
1451 + LD="${LD-ld} -m elf_i386"
1452 + ;;
1453 + ppc64-*linux*|powerpc64-*linux*)
1454 + LD="${LD-ld} -m elf32ppclinux"
1455 + ;;
1456 + s390x-*linux*)
1457 + LD="${LD-ld} -m elf_s390"
1458 + ;;
1459 + sparc64-*linux*)
1460 + LD="${LD-ld} -m elf32_sparc"
1461 + ;;
1462 + esac
1463 + ;;
1464 + *64-bit*)
1465 + case $host in
1466 + x86_64-*kfreebsd*-gnu)
1467 + LD="${LD-ld} -m elf_x86_64_fbsd"
1468 + ;;
1469 + x86_64-*linux*)
1470 + LD="${LD-ld} -m elf_x86_64"
1471 + ;;
1472 + ppc*-*linux*|powerpc*-*linux*)
1473 + LD="${LD-ld} -m elf64ppc"
1474 + ;;
1475 + s390*-*linux*)
1476 + LD="${LD-ld} -m elf64_s390"
1477 + ;;
1478 + sparc*-*linux*)
1479 + LD="${LD-ld} -m elf64_sparc"
1480 + ;;
1481 + esac
1482 + ;;
1483 + esac
1484 + fi
1485 + rm -rf conftest*
1486 + ;;
1487 +
1488 +*-*-sco3.2v5*)
1489 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1490 + SAVE_CFLAGS="$CFLAGS"
1491 + CFLAGS="$CFLAGS -belf"
1492 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1493 + [AC_LANG_PUSH(C)
1494 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1495 + AC_LANG_POP])
1496 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1497 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1498 + CFLAGS="$SAVE_CFLAGS"
1499 + fi
1500 + ;;
1501 +sparc*-*solaris*)
1502 + # Find out which ABI we are using.
1503 + echo 'int i;' > conftest.$ac_ext
1504 + if AC_TRY_EVAL(ac_compile); then
1505 + case `/usr/bin/file conftest.o` in
1506 + *64-bit*)
1507 + case $lt_cv_prog_gnu_ld in
1508 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
1509 + *) LD="${LD-ld} -64" ;;
1510 + esac
1511 + ;;
1512 + esac
1513 + fi
1514 + rm -rf conftest*
1515 + ;;
1516 +
1517 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1518 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1519 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1520 + AC_CHECK_TOOL(AS, as, false)
1521 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
1522 + ;;
1523 + ])
1524 +esac
1525 +
1526 +need_locks="$enable_libtool_lock"
1527 +
1528 +])# _LT_AC_LOCK
1529 +
1530 +
1531 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1532 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1533 +# ----------------------------------------------------------------
1534 +# Check whether the given compiler option works
1535 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
1536 +[AC_REQUIRE([LT_AC_PROG_SED])
1537 +AC_CACHE_CHECK([$1], [$2],
1538 + [$2=no
1539 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1540 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1541 + lt_compiler_flag="$3"
1542 + # Insert the option either (1) after the last *FLAGS variable, or
1543 + # (2) before a word containing "conftest.", or (3) at the end.
1544 + # Note that $ac_compile itself does not contain backslashes and begins
1545 + # with a dollar sign (not a hyphen), so the echo should work correctly.
1546 + # The option is referenced via a variable to avoid confusing sed.
1547 + lt_compile=`echo "$ac_compile" | $SED \
1548 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1549 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1550 + -e 's:$: $lt_compiler_flag:'`
1551 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1552 + (eval "$lt_compile" 2>conftest.err)
1553 + ac_status=$?
1554 + cat conftest.err >&AS_MESSAGE_LOG_FD
1555 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1556 + if (exit $ac_status) && test -s "$ac_outfile"; then
1557 + # The compiler can only warn and ignore the option if not recognized
1558 + # So say no if there are warnings other than the usual output.
1559 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1560 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1561 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1562 + $2=yes
1563 + fi
1564 + fi
1565 + $rm conftest*
1566 +])
1567 +
1568 +if test x"[$]$2" = xyes; then
1569 + ifelse([$5], , :, [$5])
1570 +else
1571 + ifelse([$6], , :, [$6])
1572 +fi
1573 +])# AC_LIBTOOL_COMPILER_OPTION
1574 +
1575 +
1576 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1577 +# [ACTION-SUCCESS], [ACTION-FAILURE])
1578 +# ------------------------------------------------------------
1579 +# Check whether the given compiler option works
1580 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
1581 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
1582 +AC_CACHE_CHECK([$1], [$2],
1583 + [$2=no
1584 + save_LDFLAGS="$LDFLAGS"
1585 + LDFLAGS="$LDFLAGS $3"
1586 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
1587 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1588 + # The linker can only warn and ignore the option if not recognized
1589 + # So say no if there are warnings
1590 + if test -s conftest.err; then
1591 + # Append any errors to the config.log.
1592 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
1593 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1594 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1595 + if diff conftest.exp conftest.er2 >/dev/null; then
1596 + $2=yes
1597 + fi
1598 + else
1599 + $2=yes
1600 + fi
1601 + fi
1602 + $rm conftest*
1603 + LDFLAGS="$save_LDFLAGS"
1604 +])
1605 +
1606 +if test x"[$]$2" = xyes; then
1607 + ifelse([$4], , :, [$4])
1608 +else
1609 + ifelse([$5], , :, [$5])
1610 +fi
1611 +])# AC_LIBTOOL_LINKER_OPTION
1612 +
1613 +
1614 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
1615 +# --------------------------
1616 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
1617 +[# find the maximum length of command line arguments
1618 +AC_MSG_CHECKING([the maximum length of command line arguments])
1619 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1620 + i=0
1621 + teststring="ABCD"
1622 +
1623 + case $build_os in
1624 + msdosdjgpp*)
1625 + # On DJGPP, this test can blow up pretty badly due to problems in libc
1626 + # (any single argument exceeding 2000 bytes causes a buffer overrun
1627 + # during glob expansion). Even if it were fixed, the result of this
1628 + # check would be larger than it should be.
1629 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
1630 + ;;
1631 +
1632 + gnu*)
1633 + # Under GNU Hurd, this test is not required because there is
1634 + # no limit to the length of command line arguments.
1635 + # Libtool will interpret -1 as no limit whatsoever
1636 + lt_cv_sys_max_cmd_len=-1;
1637 + ;;
1638 +
1639 + cygwin* | mingw*)
1640 + # On Win9x/ME, this test blows up -- it succeeds, but takes
1641 + # about 5 minutes as the teststring grows exponentially.
1642 + # Worse, since 9x/ME are not pre-emptively multitasking,
1643 + # you end up with a "frozen" computer, even though with patience
1644 + # the test eventually succeeds (with a max line length of 256k).
1645 + # Instead, let's just punt: use the minimum linelength reported by
1646 + # all of the supported platforms: 8192 (on NT/2K/XP).
1647 + lt_cv_sys_max_cmd_len=8192;
1648 + ;;
1649 +
1650 + amigaos*)
1651 + # On AmigaOS with pdksh, this test takes hours, literally.
1652 + # So we just punt and use a minimum line length of 8192.
1653 + lt_cv_sys_max_cmd_len=8192;
1654 + ;;
1655 +
1656 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1657 + # This has been around since 386BSD, at least. Likely further.
1658 + if test -x /sbin/sysctl; then
1659 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1660 + elif test -x /usr/sbin/sysctl; then
1661 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1662 + else
1663 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1664 + fi
1665 + # And add a safety zone
1666 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1667 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1668 + ;;
1669 +
1670 + interix*)
1671 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
1672 + lt_cv_sys_max_cmd_len=196608
1673 + ;;
1674 +
1675 + osf*)
1676 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1677 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1678 + # nice to cause kernel panics so lets avoid the loop below.
1679 + # First set a reasonable default.
1680 + lt_cv_sys_max_cmd_len=16384
1681 + #
1682 + if test -x /sbin/sysconfig; then
1683 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1684 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
1685 + esac
1686 + fi
1687 + ;;
1688 + sco3.2v5*)
1689 + lt_cv_sys_max_cmd_len=102400
1690 + ;;
1691 + sysv5* | sco5v6* | sysv4.2uw2*)
1692 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1693 + if test -n "$kargmax"; then
1694 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1695 + else
1696 + lt_cv_sys_max_cmd_len=32768
1697 + fi
1698 + ;;
1699 + *)
1700 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1701 + if test -n "$lt_cv_sys_max_cmd_len"; then
1702 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1703 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1704 + else
1705 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1706 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1707 + = "XX$teststring") >/dev/null 2>&1 &&
1708 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
1709 + lt_cv_sys_max_cmd_len=$new_result &&
1710 + test $i != 17 # 1/2 MB should be enough
1711 + do
1712 + i=`expr $i + 1`
1713 + teststring=$teststring$teststring
1714 + done
1715 + teststring=
1716 + # Add a significant safety factor because C++ compilers can tack on massive
1717 + # amounts of additional arguments before passing them to the linker.
1718 + # It appears as though 1/2 is a usable value.
1719 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1720 + fi
1721 + ;;
1722 + esac
1723 +])
1724 +if test -n $lt_cv_sys_max_cmd_len ; then
1725 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1726 +else
1727 + AC_MSG_RESULT(none)
1728 +fi
1729 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
1730 +
1731 +
1732 +# _LT_AC_CHECK_DLFCN
1733 +# ------------------
1734 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
1735 +[AC_CHECK_HEADERS(dlfcn.h)dnl
1736 +])# _LT_AC_CHECK_DLFCN
1737 +
1738 +
1739 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1740 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1741 +# ---------------------------------------------------------------------
1742 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1743 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1744 +if test "$cross_compiling" = yes; then :
1745 + [$4]
1746 +else
1747 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1748 + lt_status=$lt_dlunknown
1749 + cat > conftest.$ac_ext <<EOF
1750 +[#line __oline__ "configure"
1751 +#include "confdefs.h"
1752 +
1753 +#if HAVE_DLFCN_H
1754 +#include <dlfcn.h>
1755 +#endif
1756 +
1757 +#include <stdio.h>
1758 +
1759 +#ifdef RTLD_GLOBAL
1760 +# define LT_DLGLOBAL RTLD_GLOBAL
1761 +#else
1762 +# ifdef DL_GLOBAL
1763 +# define LT_DLGLOBAL DL_GLOBAL
1764 +# else
1765 +# define LT_DLGLOBAL 0
1766 +# endif
1767 +#endif
1768 +
1769 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1770 + find out it does not work in some platform. */
1771 +#ifndef LT_DLLAZY_OR_NOW
1772 +# ifdef RTLD_LAZY
1773 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
1774 +# else
1775 +# ifdef DL_LAZY
1776 +# define LT_DLLAZY_OR_NOW DL_LAZY
1777 +# else
1778 +# ifdef RTLD_NOW
1779 +# define LT_DLLAZY_OR_NOW RTLD_NOW
1780 +# else
1781 +# ifdef DL_NOW
1782 +# define LT_DLLAZY_OR_NOW DL_NOW
1783 +# else
1784 +# define LT_DLLAZY_OR_NOW 0
1785 +# endif
1786 +# endif
1787 +# endif
1788 +# endif
1789 +#endif
1790 +
1791 +#ifdef __cplusplus
1792 +extern "C" void exit (int);
1793 +#endif
1794 +
1795 +void fnord() { int i=42;}
1796 +int main ()
1797 +{
1798 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1799 + int status = $lt_dlunknown;
1800 +
1801 + if (self)
1802 + {
1803 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1804 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1805 + /* dlclose (self); */
1806 + }
1807 + else
1808 + puts (dlerror ());
1809 +
1810 + exit (status);
1811 +}]
1812 +EOF
1813 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1814 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1815 + lt_status=$?
1816 + case x$lt_status in
1817 + x$lt_dlno_uscore) $1 ;;
1818 + x$lt_dlneed_uscore) $2 ;;
1819 + x$lt_dlunknown|x*) $3 ;;
1820 + esac
1821 + else :
1822 + # compilation failed
1823 + $3
1824 + fi
1825 +fi
1826 +rm -fr conftest*
1827 +])# _LT_AC_TRY_DLOPEN_SELF
1828 +
1829 +
1830 +# AC_LIBTOOL_DLOPEN_SELF
1831 +# ----------------------
1832 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1833 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1834 +if test "x$enable_dlopen" != xyes; then
1835 + enable_dlopen=unknown
1836 + enable_dlopen_self=unknown
1837 + enable_dlopen_self_static=unknown
1838 +else
1839 + lt_cv_dlopen=no
1840 + lt_cv_dlopen_libs=
1841 +
1842 + case $host_os in
1843 + beos*)
1844 + lt_cv_dlopen="load_add_on"
1845 + lt_cv_dlopen_libs=
1846 + lt_cv_dlopen_self=yes
1847 + ;;
1848 +
1849 + mingw* | pw32*)
1850 + lt_cv_dlopen="LoadLibrary"
1851 + lt_cv_dlopen_libs=
1852 + ;;
1853 +
1854 + cygwin*)
1855 + lt_cv_dlopen="dlopen"
1856 + lt_cv_dlopen_libs=
1857 + ;;
1858 +
1859 + darwin*)
1860 + # if libdl is installed we need to link against it
1861 + AC_CHECK_LIB([dl], [dlopen],
1862 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1863 + lt_cv_dlopen="dyld"
1864 + lt_cv_dlopen_libs=
1865 + lt_cv_dlopen_self=yes
1866 + ])
1867 + ;;
1868 +
1869 + *)
1870 + AC_CHECK_FUNC([shl_load],
1871 + [lt_cv_dlopen="shl_load"],
1872 + [AC_CHECK_LIB([dld], [shl_load],
1873 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1874 + [AC_CHECK_FUNC([dlopen],
1875 + [lt_cv_dlopen="dlopen"],
1876 + [AC_CHECK_LIB([dl], [dlopen],
1877 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1878 + [AC_CHECK_LIB([svld], [dlopen],
1879 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1880 + [AC_CHECK_LIB([dld], [dld_link],
1881 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1882 + ])
1883 + ])
1884 + ])
1885 + ])
1886 + ])
1887 + ;;
1888 + esac
1889 +
1890 + if test "x$lt_cv_dlopen" != xno; then
1891 + enable_dlopen=yes
1892 + else
1893 + enable_dlopen=no
1894 + fi
1895 +
1896 + case $lt_cv_dlopen in
1897 + dlopen)
1898 + save_CPPFLAGS="$CPPFLAGS"
1899 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1900 +
1901 + save_LDFLAGS="$LDFLAGS"
1902 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1903 +
1904 + save_LIBS="$LIBS"
1905 + LIBS="$lt_cv_dlopen_libs $LIBS"
1906 +
1907 + AC_CACHE_CHECK([whether a program can dlopen itself],
1908 + lt_cv_dlopen_self, [dnl
1909 + _LT_AC_TRY_DLOPEN_SELF(
1910 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1911 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1912 + ])
1913 +
1914 + if test "x$lt_cv_dlopen_self" = xyes; then
1915 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1916 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1917 + lt_cv_dlopen_self_static, [dnl
1918 + _LT_AC_TRY_DLOPEN_SELF(
1919 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1920 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1921 + ])
1922 + fi
1923 +
1924 + CPPFLAGS="$save_CPPFLAGS"
1925 + LDFLAGS="$save_LDFLAGS"
1926 + LIBS="$save_LIBS"
1927 + ;;
1928 + esac
1929 +
1930 + case $lt_cv_dlopen_self in
1931 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1932 + *) enable_dlopen_self=unknown ;;
1933 + esac
1934 +
1935 + case $lt_cv_dlopen_self_static in
1936 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1937 + *) enable_dlopen_self_static=unknown ;;
1938 + esac
1939 +fi
1940 +])# AC_LIBTOOL_DLOPEN_SELF
1941 +
1942 +
1943 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1944 +# ---------------------------------
1945 +# Check to see if options -c and -o are simultaneously supported by compiler
1946 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1947 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
1948 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1949 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1950 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1951 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1952 + $rm -r conftest 2>/dev/null
1953 + mkdir conftest
1954 + cd conftest
1955 + mkdir out
1956 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1957 +
1958 + lt_compiler_flag="-o out/conftest2.$ac_objext"
1959 + # Insert the option either (1) after the last *FLAGS variable, or
1960 + # (2) before a word containing "conftest.", or (3) at the end.
1961 + # Note that $ac_compile itself does not contain backslashes and begins
1962 + # with a dollar sign (not a hyphen), so the echo should work correctly.
1963 + lt_compile=`echo "$ac_compile" | $SED \
1964 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1965 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1966 + -e 's:$: $lt_compiler_flag:'`
1967 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1968 + (eval "$lt_compile" 2>out/conftest.err)
1969 + ac_status=$?
1970 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
1971 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1972 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
1973 + then
1974 + # The compiler can only warn and ignore the option if not recognized
1975 + # So say no if there are warnings
1976 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1977 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1978 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1979 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1980 + fi
1981 + fi
1982 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
1983 + $rm conftest*
1984 + # SGI C++ compiler will create directory out/ii_files/ for
1985 + # template instantiation
1986 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1987 + $rm out/* && rmdir out
1988 + cd ..
1989 + rmdir conftest
1990 + $rm conftest*
1991 +])
1992 +])# AC_LIBTOOL_PROG_CC_C_O
1993 +
1994 +
1995 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1996 +# -----------------------------------------
1997 +# Check to see if we can do hard links to lock some files if needed
1998 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1999 +[AC_REQUIRE([_LT_AC_LOCK])dnl
2000 +
2001 +hard_links="nottested"
2002 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
2003 + # do not overwrite the value of need_locks provided by the user
2004 + AC_MSG_CHECKING([if we can lock with hard links])
2005 + hard_links=yes
2006 + $rm conftest*
2007 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
2008 + touch conftest.a
2009 + ln conftest.a conftest.b 2>&5 || hard_links=no
2010 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
2011 + AC_MSG_RESULT([$hard_links])
2012 + if test "$hard_links" = no; then
2013 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
2014 + need_locks=warn
2015 + fi
2016 +else
2017 + need_locks=no
2018 +fi
2019 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
2020 +
2021 +
2022 +# AC_LIBTOOL_OBJDIR
2023 +# -----------------
2024 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
2025 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
2026 +[rm -f .libs 2>/dev/null
2027 +mkdir .libs 2>/dev/null
2028 +if test -d .libs; then
2029 + lt_cv_objdir=.libs
2030 +else
2031 + # MS-DOS does not allow filenames that begin with a dot.
2032 + lt_cv_objdir=_libs
2033 +fi
2034 +rmdir .libs 2>/dev/null])
2035 +objdir=$lt_cv_objdir
2036 +])# AC_LIBTOOL_OBJDIR
2037 +
2038 +
2039 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
2040 +# ----------------------------------------------
2041 +# Check hardcoding attributes.
2042 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
2043 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
2044 +_LT_AC_TAGVAR(hardcode_action, $1)=
2045 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
2046 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
2047 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
2048 +
2049 + # We can hardcode non-existant directories.
2050 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
2051 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
2052 + # have to relink, otherwise we might link with an installed library
2053 + # when we should be linking with a yet-to-be-installed one
2054 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
2055 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
2056 + # Linking always hardcodes the temporary library directory.
2057 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
2058 + else
2059 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
2060 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
2061 + fi
2062 +else
2063 + # We cannot hardcode anything, or else we can only hardcode existing
2064 + # directories.
2065 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
2066 +fi
2067 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
2068 +
2069 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
2070 + # Fast installation is not supported
2071 + enable_fast_install=no
2072 +elif test "$shlibpath_overrides_runpath" = yes ||
2073 + test "$enable_shared" = no; then
2074 + # Fast installation is not necessary
2075 + enable_fast_install=needless
2076 +fi
2077 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
2078 +
2079 +
2080 +# AC_LIBTOOL_SYS_LIB_STRIP
2081 +# ------------------------
2082 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
2083 +[striplib=
2084 +old_striplib=
2085 +AC_MSG_CHECKING([whether stripping libraries is possible])
2086 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
2087 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2088 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2089 + AC_MSG_RESULT([yes])
2090 +else
2091 +# FIXME - insert some real tests, host_os isn't really good enough
2092 + case $host_os in
2093 + darwin*)
2094 + if test -n "$STRIP" ; then
2095 + striplib="$STRIP -x"
2096 + old_striplib="$STRIP -S"
2097 + AC_MSG_RESULT([yes])
2098 + else
2099 + AC_MSG_RESULT([no])
2100 +fi
2101 + ;;
2102 + *)
2103 + AC_MSG_RESULT([no])
2104 + ;;
2105 + esac
2106 +fi
2107 +])# AC_LIBTOOL_SYS_LIB_STRIP
2108 +
2109 +
2110 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2111 +# -----------------------------
2112 +# PORTME Fill in your ld.so characteristics
2113 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
2114 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
2115 +AC_MSG_CHECKING([dynamic linker characteristics])
2116 +library_names_spec=
2117 +libname_spec='lib$name'
2118 +soname_spec=
2119 +shrext_cmds=".so"
2120 +postinstall_cmds=
2121 +postuninstall_cmds=
2122 +finish_cmds=
2123 +finish_eval=
2124 +shlibpath_var=
2125 +shlibpath_overrides_runpath=unknown
2126 +version_type=none
2127 +dynamic_linker="$host_os ld.so"
2128 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
2129 +m4_if($1,[],[
2130 +if test "$GCC" = yes; then
2131 + case $host_os in
2132 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2133 + *) lt_awk_arg="/^libraries:/" ;;
2134 + esac
2135 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2136 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
2137 + # if the path contains ";" then we assume it to be the separator
2138 + # otherwise default to the standard path separator (i.e. ":") - it is
2139 + # assumed that no part of a normal pathname contains ";" but that should
2140 + # okay in the real world where ";" in dirpaths is itself problematic.
2141 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
2142 + else
2143 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2144 + fi
2145 + # Ok, now we have the path, separated by spaces, we can step through it
2146 + # and add multilib dir if necessary.
2147 + lt_tmp_lt_search_path_spec=
2148 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2149 + for lt_sys_path in $lt_search_path_spec; do
2150 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
2151 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
2152 + else
2153 + test -d "$lt_sys_path" && \
2154 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2155 + fi
2156 + done
2157 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
2158 +BEGIN {RS=" "; FS="/|\n";} {
2159 + lt_foo="";
2160 + lt_count=0;
2161 + for (lt_i = NF; lt_i > 0; lt_i--) {
2162 + if ($lt_i != "" && $lt_i != ".") {
2163 + if ($lt_i == "..") {
2164 + lt_count++;
2165 + } else {
2166 + if (lt_count == 0) {
2167 + lt_foo="/" $lt_i lt_foo;
2168 + } else {
2169 + lt_count--;
2170 + }
2171 + }
2172 + }
2173 + }
2174 + if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2175 + if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2176 +}'`
2177 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
2178 +else
2179 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2180 +fi])
2181 +need_lib_prefix=unknown
2182 +hardcode_into_libs=no
2183 +
2184 +# when you set need_version to no, make sure it does not cause -set_version
2185 +# flags to be left without arguments
2186 +need_version=unknown
2187 +
2188 +case $host_os in
2189 +aix3*)
2190 + version_type=linux
2191 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2192 + shlibpath_var=LIBPATH
2193 +
2194 + # AIX 3 has no versioning support, so we append a major version to the name.
2195 + soname_spec='${libname}${release}${shared_ext}$major'
2196 + ;;
2197 +
2198 +aix4* | aix5*)
2199 + version_type=linux
2200 + need_lib_prefix=no
2201 + need_version=no
2202 + hardcode_into_libs=yes
2203 + if test "$host_cpu" = ia64; then
2204 + # AIX 5 supports IA64
2205 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
2206 + shlibpath_var=LD_LIBRARY_PATH
2207 + else
2208 + # With GCC up to 2.95.x, collect2 would create an import file
2209 + # for dependence libraries. The import file would start with
2210 + # the line `#! .'. This would cause the generated library to
2211 + # depend on `.', always an invalid library. This was fixed in
2212 + # development snapshots of GCC prior to 3.0.
2213 + case $host_os in
2214 + aix4 | aix4.[[01]] | aix4.[[01]].*)
2215 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2216 + echo ' yes '
2217 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
2218 + :
2219 + else
2220 + can_build_shared=no
2221 + fi
2222 + ;;
2223 + esac
2224 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
2225 + # soname into executable. Probably we can add versioning support to
2226 + # collect2, so additional links can be useful in future.
2227 + if test "$aix_use_runtimelinking" = yes; then
2228 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2229 + # instead of lib<name>.a to let people know that these are not
2230 + # typical AIX shared libraries.
2231 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2232 + else
2233 + # We preserve .a as extension for shared libraries through AIX4.2
2234 + # and later when we are not doing run time linking.
2235 + library_names_spec='${libname}${release}.a $libname.a'
2236 + soname_spec='${libname}${release}${shared_ext}$major'
2237 + fi
2238 + shlibpath_var=LIBPATH
2239 + fi
2240 + ;;
2241 +
2242 +amigaos*)
2243 + library_names_spec='$libname.ixlibrary $libname.a'
2244 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
2245 + 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'
2246 + ;;
2247 +
2248 +beos*)
2249 + library_names_spec='${libname}${shared_ext}'
2250 + dynamic_linker="$host_os ld.so"
2251 + shlibpath_var=LIBRARY_PATH
2252 + ;;
2253 +
2254 +bsdi[[45]]*)
2255 + version_type=linux
2256 + need_version=no
2257 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2258 + soname_spec='${libname}${release}${shared_ext}$major'
2259 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2260 + shlibpath_var=LD_LIBRARY_PATH
2261 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2262 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2263 + # the default ld.so.conf also contains /usr/contrib/lib and
2264 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2265 + # libtool to hard-code these into programs
2266 + ;;
2267 +
2268 +cygwin* | mingw* | pw32*)
2269 + version_type=windows
2270 + shrext_cmds=".dll"
2271 + need_version=no
2272 + need_lib_prefix=no
2273 +
2274 + case $GCC,$host_os in
2275 + yes,cygwin* | yes,mingw* | yes,pw32*)
2276 + library_names_spec='$libname.dll.a'
2277 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
2278 + postinstall_cmds='base_file=`basename \${file}`~
2279 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
2280 + dldir=$destdir/`dirname \$dlpath`~
2281 + test -d \$dldir || mkdir -p \$dldir~
2282 + $install_prog $dir/$dlname \$dldir/$dlname~
2283 + chmod a+x \$dldir/$dlname'
2284 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2285 + dlpath=$dir/\$dldll~
2286 + $rm \$dlpath'
2287 + shlibpath_overrides_runpath=yes
2288 +
2289 + case $host_os in
2290 + cygwin*)
2291 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2292 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2293 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2294 + ;;
2295 + mingw*)
2296 + # MinGW DLLs use traditional 'lib' prefix
2297 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2298 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2299 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
2300 + # It is most probably a Windows format PATH printed by
2301 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
2302 + # path with ; separators, and with drive letters. We can handle the
2303 + # drive letters (cygwin fileutils understands them), so leave them,
2304 + # especially as we might pass files found there to a mingw objdump,
2305 + # which wouldn't understand a cygwinified path. Ahh.
2306 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2307 + else
2308 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2309 + fi
2310 + ;;
2311 + pw32*)
2312 + # pw32 DLLs use 'pw' prefix rather than 'lib'
2313 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2314 + ;;
2315 + esac
2316 + ;;
2317 +
2318 + *)
2319 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2320 + ;;
2321 + esac
2322 + dynamic_linker='Win32 ld.exe'
2323 + # FIXME: first we should search . and the directory the executable is in
2324 + shlibpath_var=PATH
2325 + ;;
2326 +
2327 +darwin* | rhapsody*)
2328 + dynamic_linker="$host_os dyld"
2329 + version_type=darwin
2330 + need_lib_prefix=no
2331 + need_version=no
2332 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2333 + soname_spec='${libname}${release}${major}$shared_ext'
2334 + shlibpath_overrides_runpath=yes
2335 + shlibpath_var=DYLD_LIBRARY_PATH
2336 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
2337 + m4_if([$1], [],[
2338 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
2339 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2340 + ;;
2341 +
2342 +dgux*)
2343 + version_type=linux
2344 + need_lib_prefix=no
2345 + need_version=no
2346 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2347 + soname_spec='${libname}${release}${shared_ext}$major'
2348 + shlibpath_var=LD_LIBRARY_PATH
2349 + ;;
2350 +
2351 +freebsd1*)
2352 + dynamic_linker=no
2353 + ;;
2354 +
2355 +freebsd* | dragonfly*)
2356 + # DragonFly does not have aout. When/if they implement a new
2357 + # versioning mechanism, adjust this.
2358 + if test -x /usr/bin/objformat; then
2359 + objformat=`/usr/bin/objformat`
2360 + else
2361 + case $host_os in
2362 + freebsd[[123]]*) objformat=aout ;;
2363 + *) objformat=elf ;;
2364 + esac
2365 + fi
2366 + version_type=freebsd-$objformat
2367 + case $version_type in
2368 + freebsd-elf*)
2369 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2370 + need_version=no
2371 + need_lib_prefix=no
2372 + ;;
2373 + freebsd-*)
2374 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2375 + need_version=yes
2376 + ;;
2377 + esac
2378 + shlibpath_var=LD_LIBRARY_PATH
2379 + case $host_os in
2380 + freebsd2*)
2381 + shlibpath_overrides_runpath=yes
2382 + ;;
2383 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2384 + shlibpath_overrides_runpath=yes
2385 + hardcode_into_libs=yes
2386 + ;;
2387 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2388 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2389 + shlibpath_overrides_runpath=no
2390 + hardcode_into_libs=yes
2391 + ;;
2392 + *) # from 4.6 on, and DragonFly
2393 + shlibpath_overrides_runpath=yes
2394 + hardcode_into_libs=yes
2395 + ;;
2396 + esac
2397 + ;;
2398 +
2399 +gnu*)
2400 + version_type=linux
2401 + need_lib_prefix=no
2402 + need_version=no
2403 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2404 + soname_spec='${libname}${release}${shared_ext}$major'
2405 + shlibpath_var=LD_LIBRARY_PATH
2406 + hardcode_into_libs=yes
2407 + ;;
2408 +
2409 +hpux9* | hpux10* | hpux11*)
2410 + # Give a soname corresponding to the major version so that dld.sl refuses to
2411 + # link against other versions.
2412 + version_type=sunos
2413 + need_lib_prefix=no
2414 + need_version=no
2415 + case $host_cpu in
2416 + ia64*)
2417 + shrext_cmds='.so'
2418 + hardcode_into_libs=yes
2419 + dynamic_linker="$host_os dld.so"
2420 + shlibpath_var=LD_LIBRARY_PATH
2421 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2422 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2423 + soname_spec='${libname}${release}${shared_ext}$major'
2424 + if test "X$HPUX_IA64_MODE" = X32; then
2425 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2426 + else
2427 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2428 + fi
2429 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2430 + ;;
2431 + hppa*64*)
2432 + shrext_cmds='.sl'
2433 + hardcode_into_libs=yes
2434 + dynamic_linker="$host_os dld.sl"
2435 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2436 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2437 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2438 + soname_spec='${libname}${release}${shared_ext}$major'
2439 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2440 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2441 + ;;
2442 + *)
2443 + shrext_cmds='.sl'
2444 + dynamic_linker="$host_os dld.sl"
2445 + shlibpath_var=SHLIB_PATH
2446 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2447 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2448 + soname_spec='${libname}${release}${shared_ext}$major'
2449 + ;;
2450 + esac
2451 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
2452 + postinstall_cmds='chmod 555 $lib'
2453 + ;;
2454 +
2455 +interix[[3-9]]*)
2456 + version_type=linux
2457 + need_lib_prefix=no
2458 + need_version=no
2459 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2460 + soname_spec='${libname}${release}${shared_ext}$major'
2461 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
2462 + shlibpath_var=LD_LIBRARY_PATH
2463 + shlibpath_overrides_runpath=no
2464 + hardcode_into_libs=yes
2465 + ;;
2466 +
2467 +irix5* | irix6* | nonstopux*)
2468 + case $host_os in
2469 + nonstopux*) version_type=nonstopux ;;
2470 + *)
2471 + if test "$lt_cv_prog_gnu_ld" = yes; then
2472 + version_type=linux
2473 + else
2474 + version_type=irix
2475 + fi ;;
2476 + esac
2477 + need_lib_prefix=no
2478 + need_version=no
2479 + soname_spec='${libname}${release}${shared_ext}$major'
2480 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
2481 + case $host_os in
2482 + irix5* | nonstopux*)
2483 + libsuff= shlibsuff=
2484 + ;;
2485 + *)
2486 + case $LD in # libtool.m4 will add one of these switches to LD
2487 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2488 + libsuff= shlibsuff= libmagic=32-bit;;
2489 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2490 + libsuff=32 shlibsuff=N32 libmagic=N32;;
2491 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2492 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
2493 + *) libsuff= shlibsuff= libmagic=never-match;;
2494 + esac
2495 + ;;
2496 + esac
2497 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2498 + shlibpath_overrides_runpath=no
2499 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2500 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2501 + hardcode_into_libs=yes
2502 + ;;
2503 +
2504 +# No shared lib support for Linux oldld, aout, or coff.
2505 +linux*oldld* | linux*aout* | linux*coff*)
2506 + dynamic_linker=no
2507 + ;;
2508 +
2509 +# This must be Linux ELF.
2510 +linux* | k*bsd*-gnu)
2511 + version_type=linux
2512 + need_lib_prefix=no
2513 + need_version=no
2514 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2515 + soname_spec='${libname}${release}${shared_ext}$major'
2516 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2517 + shlibpath_var=LD_LIBRARY_PATH
2518 + shlibpath_overrides_runpath=no
2519 + # This implies no fast_install, which is unacceptable.
2520 + # Some rework will be needed to allow for fast_install
2521 + # before this can be enabled.
2522 + hardcode_into_libs=yes
2523 +
2524 + # Append ld.so.conf contents to the search path
2525 + if test -f /etc/ld.so.conf; then
2526 + 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' ' '`
2527 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2528 + fi
2529 +
2530 + # We used to test for /lib/ld.so.1 and disable shared libraries on
2531 + # powerpc, because MkLinux only supported shared libraries with the
2532 + # GNU dynamic linker. Since this was broken with cross compilers,
2533 + # most powerpc-linux boxes support dynamic linking these days and
2534 + # people can always --disable-shared, the test was removed, and we
2535 + # assume the GNU/Linux dynamic linker is in use.
2536 + dynamic_linker='GNU/Linux ld.so'
2537 + ;;
2538 +
2539 +netbsdelf*-gnu)
2540 + version_type=linux
2541 + need_lib_prefix=no
2542 + need_version=no
2543 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2544 + soname_spec='${libname}${release}${shared_ext}$major'
2545 + shlibpath_var=LD_LIBRARY_PATH
2546 + shlibpath_overrides_runpath=no
2547 + hardcode_into_libs=yes
2548 + dynamic_linker='NetBSD ld.elf_so'
2549 + ;;
2550 +
2551 +netbsd*)
2552 + version_type=sunos
2553 + need_lib_prefix=no
2554 + need_version=no
2555 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2556 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2557 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2558 + dynamic_linker='NetBSD (a.out) ld.so'
2559 + else
2560 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2561 + soname_spec='${libname}${release}${shared_ext}$major'
2562 + dynamic_linker='NetBSD ld.elf_so'
2563 + fi
2564 + shlibpath_var=LD_LIBRARY_PATH
2565 + shlibpath_overrides_runpath=yes
2566 + hardcode_into_libs=yes
2567 + ;;
2568 +
2569 +newsos6)
2570 + version_type=linux
2571 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2572 + shlibpath_var=LD_LIBRARY_PATH
2573 + shlibpath_overrides_runpath=yes
2574 + ;;
2575 +
2576 +nto-qnx*)
2577 + version_type=linux
2578 + need_lib_prefix=no
2579 + need_version=no
2580 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2581 + soname_spec='${libname}${release}${shared_ext}$major'
2582 + shlibpath_var=LD_LIBRARY_PATH
2583 + shlibpath_overrides_runpath=yes
2584 + ;;
2585 +
2586 +openbsd*)
2587 + version_type=sunos
2588 + sys_lib_dlsearch_path_spec="/usr/lib"
2589 + need_lib_prefix=no
2590 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
2591 + case $host_os in
2592 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
2593 + *) need_version=no ;;
2594 + esac
2595 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2596 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2597 + shlibpath_var=LD_LIBRARY_PATH
2598 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2599 + case $host_os in
2600 + openbsd2.[[89]] | openbsd2.[[89]].*)
2601 + shlibpath_overrides_runpath=no
2602 + ;;
2603 + *)
2604 + shlibpath_overrides_runpath=yes
2605 + ;;
2606 + esac
2607 + else
2608 + shlibpath_overrides_runpath=yes
2609 + fi
2610 + ;;
2611 +
2612 +os2*)
2613 + libname_spec='$name'
2614 + shrext_cmds=".dll"
2615 + need_lib_prefix=no
2616 + library_names_spec='$libname${shared_ext} $libname.a'
2617 + dynamic_linker='OS/2 ld.exe'
2618 + shlibpath_var=LIBPATH
2619 + ;;
2620 +
2621 +osf3* | osf4* | osf5*)
2622 + version_type=osf
2623 + need_lib_prefix=no
2624 + need_version=no
2625 + soname_spec='${libname}${release}${shared_ext}$major'
2626 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2627 + shlibpath_var=LD_LIBRARY_PATH
2628 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
2629 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
2630 + ;;
2631 +
2632 +rdos*)
2633 + dynamic_linker=no
2634 + ;;
2635 +
2636 +solaris*)
2637 + version_type=linux
2638 + need_lib_prefix=no
2639 + need_version=no
2640 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2641 + soname_spec='${libname}${release}${shared_ext}$major'
2642 + shlibpath_var=LD_LIBRARY_PATH
2643 + shlibpath_overrides_runpath=yes
2644 + hardcode_into_libs=yes
2645 + # ldd complains unless libraries are executable
2646 + postinstall_cmds='chmod +x $lib'
2647 + ;;
2648 +
2649 +sunos4*)
2650 + version_type=sunos
2651 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2652 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
2653 + shlibpath_var=LD_LIBRARY_PATH
2654 + shlibpath_overrides_runpath=yes
2655 + if test "$with_gnu_ld" = yes; then
2656 + need_lib_prefix=no
2657 + fi
2658 + need_version=yes
2659 + ;;
2660 +
2661 +sysv4 | sysv4.3*)
2662 + version_type=linux
2663 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2664 + soname_spec='${libname}${release}${shared_ext}$major'
2665 + shlibpath_var=LD_LIBRARY_PATH
2666 + case $host_vendor in
2667 + sni)
2668 + shlibpath_overrides_runpath=no
2669 + need_lib_prefix=no
2670 + export_dynamic_flag_spec='${wl}-Blargedynsym'
2671 + runpath_var=LD_RUN_PATH
2672 + ;;
2673 + siemens)
2674 + need_lib_prefix=no
2675 + ;;
2676 + motorola)
2677 + need_lib_prefix=no
2678 + need_version=no
2679 + shlibpath_overrides_runpath=no
2680 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
2681 + ;;
2682 + esac
2683 + ;;
2684 +
2685 +sysv4*MP*)
2686 + if test -d /usr/nec ;then
2687 + version_type=linux
2688 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2689 + soname_spec='$libname${shared_ext}.$major'
2690 + shlibpath_var=LD_LIBRARY_PATH
2691 + fi
2692 + ;;
2693 +
2694 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2695 + version_type=freebsd-elf
2696 + need_lib_prefix=no
2697 + need_version=no
2698 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2699 + soname_spec='${libname}${release}${shared_ext}$major'
2700 + shlibpath_var=LD_LIBRARY_PATH
2701 + hardcode_into_libs=yes
2702 + if test "$with_gnu_ld" = yes; then
2703 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
2704 + shlibpath_overrides_runpath=no
2705 + else
2706 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
2707 + shlibpath_overrides_runpath=yes
2708 + case $host_os in
2709 + sco3.2v5*)
2710 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
2711 + ;;
2712 + esac
2713 + fi
2714 + sys_lib_dlsearch_path_spec='/usr/lib'
2715 + ;;
2716 +
2717 +uts4*)
2718 + version_type=linux
2719 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2720 + soname_spec='${libname}${release}${shared_ext}$major'
2721 + shlibpath_var=LD_LIBRARY_PATH
2722 + ;;
2723 +
2724 +*)
2725 + dynamic_linker=no
2726 + ;;
2727 +esac
2728 +AC_MSG_RESULT([$dynamic_linker])
2729 +test "$dynamic_linker" = no && can_build_shared=no
2730 +
2731 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2732 +if test "$GCC" = yes; then
2733 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2734 +fi
2735 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2736 +
2737 +
2738 +# _LT_AC_TAGCONFIG
2739 +# ----------------
2740 +AC_DEFUN([_LT_AC_TAGCONFIG],
2741 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
2742 +AC_ARG_WITH([tags],
2743 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
2744 + [include additional configurations @<:@automatic@:>@])],
2745 + [tagnames="$withval"])
2746 +
2747 +if test -f "$ltmain" && test -n "$tagnames"; then
2748 + if test ! -f "${ofile}"; then
2749 + AC_MSG_WARN([output file `$ofile' does not exist])
2750 + fi
2751 +
2752 + if test -z "$LTCC"; then
2753 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
2754 + if test -z "$LTCC"; then
2755 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
2756 + else
2757 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
2758 + fi
2759 + fi
2760 + if test -z "$LTCFLAGS"; then
2761 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
2762 + fi
2763 +
2764 + # Extract list of available tagged configurations in $ofile.
2765 + # Note that this assumes the entire list is on one line.
2766 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
2767 +
2768 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2769 + for tagname in $tagnames; do
2770 + IFS="$lt_save_ifs"
2771 + # Check whether tagname contains only valid characters
2772 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
2773 + "") ;;
2774 + *) AC_MSG_ERROR([invalid tag name: $tagname])
2775 + ;;
2776 + esac
2777 +
2778 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
2779 + then
2780 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
2781 + fi
2782 +
2783 + # Update the list of available tags.
2784 + if test -n "$tagname"; then
2785 + echo appending configuration tag \"$tagname\" to $ofile
2786 +
2787 + case $tagname in
2788 + CXX)
2789 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
2790 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
2791 + (test "X$CXX" != "Xg++"))) ; then
2792 + AC_LIBTOOL_LANG_CXX_CONFIG
2793 + else
2794 + tagname=""
2795 + fi
2796 + ;;
2797 +
2798 + F77)
2799 + if test -n "$F77" && test "X$F77" != "Xno"; then
2800 + AC_LIBTOOL_LANG_F77_CONFIG
2801 + else
2802 + tagname=""
2803 + fi
2804 + ;;
2805 +
2806 + GCJ)
2807 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
2808 + AC_LIBTOOL_LANG_GCJ_CONFIG
2809 + else
2810 + tagname=""
2811 + fi
2812 + ;;
2813 +
2814 + RC)
2815 + AC_LIBTOOL_LANG_RC_CONFIG
2816 + ;;
2817 +
2818 + *)
2819 + AC_MSG_ERROR([Unsupported tag name: $tagname])
2820 + ;;
2821 + esac
2822 +
2823 + # Append the new tag name to the list of available tags.
2824 + if test -n "$tagname" ; then
2825 + available_tags="$available_tags $tagname"
2826 + fi
2827 + fi
2828 + done
2829 + IFS="$lt_save_ifs"
2830 +
2831 + # Now substitute the updated list of available tags.
2832 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
2833 + mv "${ofile}T" "$ofile"
2834 + chmod +x "$ofile"
2835 + else
2836 + rm -f "${ofile}T"
2837 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
2838 + fi
2839 +fi
2840 +])# _LT_AC_TAGCONFIG
2841 +
2842 +
2843 +# AC_LIBTOOL_DLOPEN
2844 +# -----------------
2845 +# enable checks for dlopen support
2846 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
2847 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
2848 +])# AC_LIBTOOL_DLOPEN
2849 +
2850 +
2851 +# AC_LIBTOOL_WIN32_DLL
2852 +# --------------------
2853 +# declare package support for building win32 DLLs
2854 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
2855 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
2856 +])# AC_LIBTOOL_WIN32_DLL
2857 +
2858 +
2859 +# AC_ENABLE_SHARED([DEFAULT])
2860 +# ---------------------------
2861 +# implement the --enable-shared flag
2862 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2863 +AC_DEFUN([AC_ENABLE_SHARED],
2864 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
2865 +AC_ARG_ENABLE([shared],
2866 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
2867 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
2868 + [p=${PACKAGE-default}
2869 + case $enableval in
2870 + yes) enable_shared=yes ;;
2871 + no) enable_shared=no ;;
2872 + *)
2873 + enable_shared=no
2874 + # Look at the argument we got. We use all the common list separators.
2875 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2876 + for pkg in $enableval; do
2877 + IFS="$lt_save_ifs"
2878 + if test "X$pkg" = "X$p"; then
2879 + enable_shared=yes
2880 + fi
2881 + done
2882 + IFS="$lt_save_ifs"
2883 + ;;
2884 + esac],
2885 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
2886 +])# AC_ENABLE_SHARED
2887 +
2888 +
2889 +# AC_DISABLE_SHARED
2890 +# -----------------
2891 +# set the default shared flag to --disable-shared
2892 +AC_DEFUN([AC_DISABLE_SHARED],
2893 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2894 +AC_ENABLE_SHARED(no)
2895 +])# AC_DISABLE_SHARED
2896 +
2897 +
2898 +# AC_ENABLE_STATIC([DEFAULT])
2899 +# ---------------------------
2900 +# implement the --enable-static flag
2901 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2902 +AC_DEFUN([AC_ENABLE_STATIC],
2903 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
2904 +AC_ARG_ENABLE([static],
2905 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
2906 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
2907 + [p=${PACKAGE-default}
2908 + case $enableval in
2909 + yes) enable_static=yes ;;
2910 + no) enable_static=no ;;
2911 + *)
2912 + enable_static=no
2913 + # Look at the argument we got. We use all the common list separators.
2914 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2915 + for pkg in $enableval; do
2916 + IFS="$lt_save_ifs"
2917 + if test "X$pkg" = "X$p"; then
2918 + enable_static=yes
2919 + fi
2920 + done
2921 + IFS="$lt_save_ifs"
2922 + ;;
2923 + esac],
2924 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
2925 +])# AC_ENABLE_STATIC
2926 +
2927 +
2928 +# AC_DISABLE_STATIC
2929 +# -----------------
2930 +# set the default static flag to --disable-static
2931 +AC_DEFUN([AC_DISABLE_STATIC],
2932 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2933 +AC_ENABLE_STATIC(no)
2934 +])# AC_DISABLE_STATIC
2935 +
2936 +
2937 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
2938 +# ---------------------------------
2939 +# implement the --enable-fast-install flag
2940 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2941 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
2942 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
2943 +AC_ARG_ENABLE([fast-install],
2944 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
2945 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
2946 + [p=${PACKAGE-default}
2947 + case $enableval in
2948 + yes) enable_fast_install=yes ;;
2949 + no) enable_fast_install=no ;;
2950 + *)
2951 + enable_fast_install=no
2952 + # Look at the argument we got. We use all the common list separators.
2953 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2954 + for pkg in $enableval; do
2955 + IFS="$lt_save_ifs"
2956 + if test "X$pkg" = "X$p"; then
2957 + enable_fast_install=yes
2958 + fi
2959 + done
2960 + IFS="$lt_save_ifs"
2961 + ;;
2962 + esac],
2963 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
2964 +])# AC_ENABLE_FAST_INSTALL
2965 +
2966 +
2967 +# AC_DISABLE_FAST_INSTALL
2968 +# -----------------------
2969 +# set the default to --disable-fast-install
2970 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
2971 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2972 +AC_ENABLE_FAST_INSTALL(no)
2973 +])# AC_DISABLE_FAST_INSTALL
2974 +
2975 +
2976 +# AC_LIBTOOL_PICMODE([MODE])
2977 +# --------------------------
2978 +# implement the --with-pic flag
2979 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
2980 +AC_DEFUN([AC_LIBTOOL_PICMODE],
2981 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2982 +pic_mode=ifelse($#,1,$1,default)
2983 +])# AC_LIBTOOL_PICMODE
2984 +
2985 +
2986 +# AC_PROG_EGREP
2987 +# -------------
2988 +# This is predefined starting with Autoconf 2.54, so this conditional
2989 +# definition can be removed once we require Autoconf 2.54 or later.
2990 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
2991 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
2992 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2993 + then ac_cv_prog_egrep='grep -E'
2994 + else ac_cv_prog_egrep='egrep'
2995 + fi])
2996 + EGREP=$ac_cv_prog_egrep
2997 + AC_SUBST([EGREP])
2998 +])])
2999 +
3000 +
3001 +# AC_PATH_TOOL_PREFIX
3002 +# -------------------
3003 +# find a file program which can recognize shared library
3004 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
3005 +[AC_REQUIRE([AC_PROG_EGREP])dnl
3006 +AC_MSG_CHECKING([for $1])
3007 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
3008 +[case $MAGIC_CMD in
3009 +[[\\/*] | ?:[\\/]*])
3010 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3011 + ;;
3012 +*)
3013 + lt_save_MAGIC_CMD="$MAGIC_CMD"
3014 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3015 +dnl $ac_dummy forces splitting on constant user-supplied paths.
3016 +dnl POSIX.2 word splitting is done only on the output of word expansions,
3017 +dnl not every word. This closes a longstanding sh security hole.
3018 + ac_dummy="ifelse([$2], , $PATH, [$2])"
3019 + for ac_dir in $ac_dummy; do
3020 + IFS="$lt_save_ifs"
3021 + test -z "$ac_dir" && ac_dir=.
3022 + if test -f $ac_dir/$1; then
3023 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
3024 + if test -n "$file_magic_test_file"; then
3025 + case $deplibs_check_method in
3026 + "file_magic "*)
3027 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3028 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3029 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3030 + $EGREP "$file_magic_regex" > /dev/null; then
3031 + :
3032 + else
3033 + cat <<EOF 1>&2
3034 +
3035 +*** Warning: the command libtool uses to detect shared libraries,
3036 +*** $file_magic_cmd, produces output that libtool cannot recognize.
3037 +*** The result is that libtool may fail to recognize shared libraries
3038 +*** as such. This will affect the creation of libtool libraries that
3039 +*** depend on shared libraries, but programs linked with such libtool
3040 +*** libraries will work regardless of this problem. Nevertheless, you
3041 +*** may want to report the problem to your system manager and/or to
3042 +*** bug-libtool@gnu.org
3043 +
3044 +EOF
3045 + fi ;;
3046 + esac
3047 + fi
3048 + break
3049 + fi
3050 + done
3051 + IFS="$lt_save_ifs"
3052 + MAGIC_CMD="$lt_save_MAGIC_CMD"
3053 + ;;
3054 +esac])
3055 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3056 +if test -n "$MAGIC_CMD"; then
3057 + AC_MSG_RESULT($MAGIC_CMD)
3058 +else
3059 + AC_MSG_RESULT(no)
3060 +fi
3061 +])# AC_PATH_TOOL_PREFIX
3062 +
3063 +
3064 +# AC_PATH_MAGIC
3065 +# -------------
3066 +# find a file program which can recognize a shared library
3067 +AC_DEFUN([AC_PATH_MAGIC],
3068 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3069 +if test -z "$lt_cv_path_MAGIC_CMD"; then
3070 + if test -n "$ac_tool_prefix"; then
3071 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3072 + else
3073 + MAGIC_CMD=:
3074 + fi
3075 +fi
3076 +])# AC_PATH_MAGIC
3077 +
3078 +
3079 +# AC_PROG_LD
3080 +# ----------
3081 +# find the pathname to the GNU or non-GNU linker
3082 +AC_DEFUN([AC_PROG_LD],
3083 +[AC_ARG_WITH([gnu-ld],
3084 + [AC_HELP_STRING([--with-gnu-ld],
3085 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3086 + [test "$withval" = no || with_gnu_ld=yes],
3087 + [with_gnu_ld=no])
3088 +AC_REQUIRE([LT_AC_PROG_SED])dnl
3089 +AC_REQUIRE([AC_PROG_CC])dnl
3090 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
3091 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3092 +ac_prog=ld
3093 +if test "$GCC" = yes; then
3094 + # Check if gcc -print-prog-name=ld gives a path.
3095 + AC_MSG_CHECKING([for ld used by $CC])
3096 + case $host in
3097 + *-*-mingw*)
3098 + # gcc leaves a trailing carriage return which upsets mingw
3099 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3100 + *)
3101 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3102 + esac
3103 + case $ac_prog in
3104 + # Accept absolute paths.
3105 + [[\\/]]* | ?:[[\\/]]*)
3106 + re_direlt='/[[^/]][[^/]]*/\.\./'
3107 + # Canonicalize the pathname of ld
3108 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3109 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3110 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3111 + done
3112 + test -z "$LD" && LD="$ac_prog"
3113 + ;;
3114 + "")
3115 + # If it fails, then pretend we aren't using GCC.
3116 + ac_prog=ld
3117 + ;;
3118 + *)
3119 + # If it is relative, then search for the first ld in PATH.
3120 + with_gnu_ld=unknown
3121 + ;;
3122 + esac
3123 +elif test "$with_gnu_ld" = yes; then
3124 + AC_MSG_CHECKING([for GNU ld])
3125 +else
3126 + AC_MSG_CHECKING([for non-GNU ld])
3127 +fi
3128 +AC_CACHE_VAL(lt_cv_path_LD,
3129 +[if test -z "$LD"; then
3130 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3131 + for ac_dir in $PATH; do
3132 + IFS="$lt_save_ifs"
3133 + test -z "$ac_dir" && ac_dir=.
3134 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3135 + lt_cv_path_LD="$ac_dir/$ac_prog"
3136 + # Check to see if the program is GNU ld. I'd rather use --version,
3137 + # but apparently some variants of GNU ld only accept -v.
3138 + # Break only if it was the GNU/non-GNU ld that we prefer.
3139 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3140 + *GNU* | *'with BFD'*)
3141 + test "$with_gnu_ld" != no && break
3142 + ;;
3143 + *)
3144 + test "$with_gnu_ld" != yes && break
3145 + ;;
3146 + esac
3147 + fi
3148 + done
3149 + IFS="$lt_save_ifs"
3150 +else
3151 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
3152 +fi])
3153 +LD="$lt_cv_path_LD"
3154 +if test -n "$LD"; then
3155 + AC_MSG_RESULT($LD)
3156 +else
3157 + AC_MSG_RESULT(no)
3158 +fi
3159 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3160 +AC_PROG_LD_GNU
3161 +])# AC_PROG_LD
3162 +
3163 +
3164 +# AC_PROG_LD_GNU
3165 +# --------------
3166 +AC_DEFUN([AC_PROG_LD_GNU],
3167 +[AC_REQUIRE([AC_PROG_EGREP])dnl
3168 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3169 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
3170 +case `$LD -v 2>&1 </dev/null` in
3171 +*GNU* | *'with BFD'*)
3172 + lt_cv_prog_gnu_ld=yes
3173 + ;;
3174 +*)
3175 + lt_cv_prog_gnu_ld=no
3176 + ;;
3177 +esac])
3178 +with_gnu_ld=$lt_cv_prog_gnu_ld
3179 +])# AC_PROG_LD_GNU
3180 +
3181 +
3182 +# AC_PROG_LD_RELOAD_FLAG
3183 +# ----------------------
3184 +# find reload flag for linker
3185 +# -- PORTME Some linkers may need a different reload flag.
3186 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
3187 +[AC_CACHE_CHECK([for $LD option to reload object files],
3188 + lt_cv_ld_reload_flag,
3189 + [lt_cv_ld_reload_flag='-r'])
3190 +reload_flag=$lt_cv_ld_reload_flag
3191 +case $reload_flag in
3192 +"" | " "*) ;;
3193 +*) reload_flag=" $reload_flag" ;;
3194 +esac
3195 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
3196 +case $host_os in
3197 + darwin*)
3198 + if test "$GCC" = yes; then
3199 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3200 + else
3201 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
3202 + fi
3203 + ;;
3204 +esac
3205 +])# AC_PROG_LD_RELOAD_FLAG
3206 +
3207 +
3208 +# AC_DEPLIBS_CHECK_METHOD
3209 +# -----------------------
3210 +# how to check for library dependencies
3211 +# -- PORTME fill in with the dynamic library characteristics
3212 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
3213 +[AC_CACHE_CHECK([how to recognize dependent libraries],
3214 +lt_cv_deplibs_check_method,
3215 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
3216 +lt_cv_file_magic_test_file=
3217 +lt_cv_deplibs_check_method='unknown'
3218 +# Need to set the preceding variable on all platforms that support
3219 +# interlibrary dependencies.
3220 +# 'none' -- dependencies not supported.
3221 +# `unknown' -- same as none, but documents that we really don't know.
3222 +# 'pass_all' -- all dependencies passed with no checks.
3223 +# 'test_compile' -- check by making test program.
3224 +# 'file_magic [[regex]]' -- check by looking for files in library path
3225 +# which responds to the $file_magic_cmd with a given extended regex.
3226 +# If you have `file' or equivalent on your system and you're not sure
3227 +# whether `pass_all' will *always* work, you probably want this one.
3228 +
3229 +case $host_os in
3230 +aix4* | aix5*)
3231 + lt_cv_deplibs_check_method=pass_all
3232 + ;;
3233 +
3234 +beos*)
3235 + lt_cv_deplibs_check_method=pass_all
3236 + ;;
3237 +
3238 +bsdi[[45]]*)
3239 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3240 + lt_cv_file_magic_cmd='/usr/bin/file -L'
3241 + lt_cv_file_magic_test_file=/shlib/libc.so
3242 + ;;
3243 +
3244 +cygwin*)
3245 + # func_win32_libid is a shell function defined in ltmain.sh
3246 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3247 + lt_cv_file_magic_cmd='func_win32_libid'
3248 + ;;
3249 +
3250 +mingw* | pw32*)
3251 + # Base MSYS/MinGW do not provide the 'file' command needed by
3252 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
3253 + # unless we find 'file', for example because we are cross-compiling.
3254 + if ( file / ) >/dev/null 2>&1; then
3255 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3256 + lt_cv_file_magic_cmd='func_win32_libid'
3257 + else
3258 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3259 + lt_cv_file_magic_cmd='$OBJDUMP -f'
3260 + fi
3261 + ;;
3262 +
3263 +darwin* | rhapsody*)
3264 + lt_cv_deplibs_check_method=pass_all
3265 + ;;
3266 +
3267 +freebsd* | dragonfly*)
3268 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3269 + case $host_cpu in
3270 + i*86 )
3271 + # Not sure whether the presence of OpenBSD here was a mistake.
3272 + # Let's accept both of them until this is cleared up.
3273 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3274 + lt_cv_file_magic_cmd=/usr/bin/file
3275 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3276 + ;;
3277 + esac
3278 + else
3279 + lt_cv_deplibs_check_method=pass_all
3280 + fi
3281 + ;;
3282 +
3283 +gnu*)
3284 + lt_cv_deplibs_check_method=pass_all
3285 + ;;
3286 +
3287 +hpux10.20* | hpux11*)
3288 + lt_cv_file_magic_cmd=/usr/bin/file
3289 + case $host_cpu in
3290 + ia64*)
3291 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3292 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3293 + ;;
3294 + hppa*64*)
3295 + [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]']
3296 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3297 + ;;
3298 + *)
3299 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3300 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
3301 + ;;
3302 + esac
3303 + ;;
3304 +
3305 +interix[[3-9]]*)
3306 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3307 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
3308 + ;;
3309 +
3310 +irix5* | irix6* | nonstopux*)
3311 + case $LD in
3312 + *-32|*"-32 ") libmagic=32-bit;;
3313 + *-n32|*"-n32 ") libmagic=N32;;
3314 + *-64|*"-64 ") libmagic=64-bit;;
3315 + *) libmagic=never-match;;
3316 + esac
3317 + lt_cv_deplibs_check_method=pass_all
3318 + ;;
3319 +
3320 +# This must be Linux ELF.
3321 +linux* | k*bsd*-gnu)
3322 + lt_cv_deplibs_check_method=pass_all
3323 + ;;
3324 +
3325 +netbsd* | netbsdelf*-gnu)
3326 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3327 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3328 + else
3329 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3330 + fi
3331 + ;;
3332 +
3333 +newos6*)
3334 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3335 + lt_cv_file_magic_cmd=/usr/bin/file
3336 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
3337 + ;;
3338 +
3339 +nto-qnx*)
3340 + lt_cv_deplibs_check_method=unknown
3341 + ;;
3342 +
3343 +openbsd*)
3344 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3345 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3346 + else
3347 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3348 + fi
3349 + ;;
3350 +
3351 +osf3* | osf4* | osf5*)
3352 + lt_cv_deplibs_check_method=pass_all
3353 + ;;
3354 +
3355 +rdos*)
3356 + lt_cv_deplibs_check_method=pass_all
3357 + ;;
3358 +
3359 +solaris*)
3360 + lt_cv_deplibs_check_method=pass_all
3361 + ;;
3362 +
3363 +sysv4 | sysv4.3*)
3364 + case $host_vendor in
3365 + motorola)
3366 + 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]]'
3367 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3368 + ;;
3369 + ncr)
3370 + lt_cv_deplibs_check_method=pass_all
3371 + ;;
3372 + sequent)
3373 + lt_cv_file_magic_cmd='/bin/file'
3374 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3375 + ;;
3376 + sni)
3377 + lt_cv_file_magic_cmd='/bin/file'
3378 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3379 + lt_cv_file_magic_test_file=/lib/libc.so
3380 + ;;
3381 + siemens)
3382 + lt_cv_deplibs_check_method=pass_all
3383 + ;;
3384 + pc)
3385 + lt_cv_deplibs_check_method=pass_all
3386 + ;;
3387 + esac
3388 + ;;
3389 +
3390 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3391 + lt_cv_deplibs_check_method=pass_all
3392 + ;;
3393 +esac
3394 +])
3395 +file_magic_cmd=$lt_cv_file_magic_cmd
3396 +deplibs_check_method=$lt_cv_deplibs_check_method
3397 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
3398 +])# AC_DEPLIBS_CHECK_METHOD
3399 +
3400 +
3401 +# AC_PROG_NM
3402 +# ----------
3403 +# find the pathname to a BSD-compatible name lister
3404 +AC_DEFUN([AC_PROG_NM],
3405 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3406 +[if test -n "$NM"; then
3407 + # Let the user override the test.
3408 + lt_cv_path_NM="$NM"
3409 +else
3410 + lt_nm_to_check="${ac_tool_prefix}nm"
3411 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3412 + lt_nm_to_check="$lt_nm_to_check nm"
3413 + fi
3414 + for lt_tmp_nm in $lt_nm_to_check; do
3415 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3416 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3417 + IFS="$lt_save_ifs"
3418 + test -z "$ac_dir" && ac_dir=.
3419 + tmp_nm="$ac_dir/$lt_tmp_nm"
3420 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3421 + # Check to see if the nm accepts a BSD-compat flag.
3422 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3423 + # nm: unknown option "B" ignored
3424 + # Tru64's nm complains that /dev/null is an invalid object file
3425 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3426 + */dev/null* | *'Invalid file or object type'*)
3427 + lt_cv_path_NM="$tmp_nm -B"
3428 + break
3429 + ;;
3430 + *)
3431 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3432 + */dev/null*)
3433 + lt_cv_path_NM="$tmp_nm -p"
3434 + break
3435 + ;;
3436 + *)
3437 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3438 + continue # so that we can try to find one that supports BSD flags
3439 + ;;
3440 + esac
3441 + ;;
3442 + esac
3443 + fi
3444 + done
3445 + IFS="$lt_save_ifs"
3446 + done
3447 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3448 +fi])
3449 +NM="$lt_cv_path_NM"
3450 +])# AC_PROG_NM
3451 +
3452 +
3453 +# AC_CHECK_LIBM
3454 +# -------------
3455 +# check for math library
3456 +AC_DEFUN([AC_CHECK_LIBM],
3457 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3458 +LIBM=
3459 +case $host in
3460 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3461 + # These system don't have libm, or don't need it
3462 + ;;
3463 +*-ncr-sysv4.3*)
3464 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3465 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3466 + ;;
3467 +*)
3468 + AC_CHECK_LIB(m, cos, LIBM="-lm")
3469 + ;;
3470 +esac
3471 +])# AC_CHECK_LIBM
3472 +
3473 +
3474 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
3475 +# -----------------------------------
3476 +# sets LIBLTDL to the link flags for the libltdl convenience library and
3477 +# LTDLINCL to the include flags for the libltdl header and adds
3478 +# --enable-ltdl-convenience to the configure arguments. Note that
3479 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3480 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
3481 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
3482 +# (note the single quotes!). If your package is not flat and you're not
3483 +# using automake, define top_builddir and top_srcdir appropriately in
3484 +# the Makefiles.
3485 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
3486 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3487 + case $enable_ltdl_convenience in
3488 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
3489 + "") enable_ltdl_convenience=yes
3490 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
3491 + esac
3492 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
3493 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3494 + # For backwards non-gettext consistent compatibility...
3495 + INCLTDL="$LTDLINCL"
3496 +])# AC_LIBLTDL_CONVENIENCE
3497 +
3498 +
3499 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
3500 +# -----------------------------------
3501 +# sets LIBLTDL to the link flags for the libltdl installable library and
3502 +# LTDLINCL to the include flags for the libltdl header and adds
3503 +# --enable-ltdl-install to the configure arguments. Note that
3504 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3505 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
3506 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
3507 +# '${top_srcdir}/' (note the single quotes!). If your package is not
3508 +# flat and you're not using automake, define top_builddir and top_srcdir
3509 +# appropriately in the Makefiles.
3510 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
3511 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
3512 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3513 + AC_CHECK_LIB(ltdl, lt_dlinit,
3514 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
3515 + [if test x"$enable_ltdl_install" = xno; then
3516 + AC_MSG_WARN([libltdl not installed, but installation disabled])
3517 + else
3518 + enable_ltdl_install=yes
3519 + fi
3520 + ])
3521 + if test x"$enable_ltdl_install" = x"yes"; then
3522 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
3523 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
3524 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3525 + else
3526 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
3527 + LIBLTDL="-lltdl"
3528 + LTDLINCL=
3529 + fi
3530 + # For backwards non-gettext consistent compatibility...
3531 + INCLTDL="$LTDLINCL"
3532 +])# AC_LIBLTDL_INSTALLABLE
3533 +
3534 +
3535 +# AC_LIBTOOL_CXX
3536 +# --------------
3537 +# enable support for C++ libraries
3538 +AC_DEFUN([AC_LIBTOOL_CXX],
3539 +[AC_REQUIRE([_LT_AC_LANG_CXX])
3540 +])# AC_LIBTOOL_CXX
3541 +
3542 +
3543 +# _LT_AC_LANG_CXX
3544 +# ---------------
3545 +AC_DEFUN([_LT_AC_LANG_CXX],
3546 +[AC_REQUIRE([AC_PROG_CXX])
3547 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
3548 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3549 +])# _LT_AC_LANG_CXX
3550 +
3551 +# _LT_AC_PROG_CXXCPP
3552 +# ------------------
3553 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
3554 +[
3555 +AC_REQUIRE([AC_PROG_CXX])
3556 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
3557 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
3558 + (test "X$CXX" != "Xg++"))) ; then
3559 + AC_PROG_CXXCPP
3560 +fi
3561 +])# _LT_AC_PROG_CXXCPP
3562 +
3563 +# AC_LIBTOOL_F77
3564 +# --------------
3565 +# enable support for Fortran 77 libraries
3566 +AC_DEFUN([AC_LIBTOOL_F77],
3567 +[AC_REQUIRE([_LT_AC_LANG_F77])
3568 +])# AC_LIBTOOL_F77
3569 +
3570 +
3571 +# _LT_AC_LANG_F77
3572 +# ---------------
3573 +AC_DEFUN([_LT_AC_LANG_F77],
3574 +[AC_REQUIRE([AC_PROG_F77])
3575 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3576 +])# _LT_AC_LANG_F77
3577 +
3578 +
3579 +# AC_LIBTOOL_GCJ
3580 +# --------------
3581 +# enable support for GCJ libraries
3582 +AC_DEFUN([AC_LIBTOOL_GCJ],
3583 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
3584 +])# AC_LIBTOOL_GCJ
3585 +
3586 +
3587 +# _LT_AC_LANG_GCJ
3588 +# ---------------
3589 +AC_DEFUN([_LT_AC_LANG_GCJ],
3590 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
3591 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
3592 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
3593 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
3594 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
3595 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
3596 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
3597 +])# _LT_AC_LANG_GCJ
3598 +
3599 +
3600 +# AC_LIBTOOL_RC
3601 +# -------------
3602 +# enable support for Windows resource files
3603 +AC_DEFUN([AC_LIBTOOL_RC],
3604 +[AC_REQUIRE([LT_AC_PROG_RC])
3605 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
3606 +])# AC_LIBTOOL_RC
3607 +
3608 +
3609 +# AC_LIBTOOL_LANG_C_CONFIG
3610 +# ------------------------
3611 +# Ensure that the configuration vars for the C compiler are
3612 +# suitably defined. Those variables are subsequently used by
3613 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3614 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
3615 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
3616 +[lt_save_CC="$CC"
3617 +AC_LANG_PUSH(C)
3618 +
3619 +# Source file extension for C test sources.
3620 +ac_ext=c
3621 +
3622 +# Object file extension for compiled C test sources.
3623 +objext=o
3624 +_LT_AC_TAGVAR(objext, $1)=$objext
3625 +
3626 +# Code to be used in simple compile tests
3627 +lt_simple_compile_test_code="int some_variable = 0;"
3628 +
3629 +# Code to be used in simple link tests
3630 +lt_simple_link_test_code='int main(){return(0);}'
3631 +
3632 +_LT_AC_SYS_COMPILER
3633 +
3634 +# save warnings/boilerplate of simple test code
3635 +_LT_COMPILER_BOILERPLATE
3636 +_LT_LINKER_BOILERPLATE
3637 +
3638 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
3639 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
3640 +AC_LIBTOOL_PROG_CC_C_O($1)
3641 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3642 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
3643 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3644 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3645 +AC_LIBTOOL_SYS_LIB_STRIP
3646 +AC_LIBTOOL_DLOPEN_SELF
3647 +
3648 +# Report which library types will actually be built
3649 +AC_MSG_CHECKING([if libtool supports shared libraries])
3650 +AC_MSG_RESULT([$can_build_shared])
3651 +
3652 +AC_MSG_CHECKING([whether to build shared libraries])
3653 +test "$can_build_shared" = "no" && enable_shared=no
3654 +
3655 +# On AIX, shared libraries and static libraries use the same namespace, and
3656 +# are all built from PIC.
3657 +case $host_os in
3658 +aix3*)
3659 + test "$enable_shared" = yes && enable_static=no
3660 + if test -n "$RANLIB"; then
3661 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
3662 + postinstall_cmds='$RANLIB $lib'
3663 + fi
3664 + ;;
3665 +
3666 +aix4* | aix5*)
3667 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3668 + test "$enable_shared" = yes && enable_static=no
3669 + fi
3670 + ;;
3671 +esac
3672 +AC_MSG_RESULT([$enable_shared])
3673 +
3674 +AC_MSG_CHECKING([whether to build static libraries])
3675 +# Make sure either enable_shared or enable_static is yes.
3676 +test "$enable_shared" = yes || enable_static=yes
3677 +AC_MSG_RESULT([$enable_static])
3678 +
3679 +AC_LIBTOOL_CONFIG($1)
3680 +
3681 +AC_LANG_POP
3682 +CC="$lt_save_CC"
3683 +])# AC_LIBTOOL_LANG_C_CONFIG
3684 +
3685 +
3686 +# AC_LIBTOOL_LANG_CXX_CONFIG
3687 +# --------------------------
3688 +# Ensure that the configuration vars for the C compiler are
3689 +# suitably defined. Those variables are subsequently used by
3690 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3691 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
3692 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
3693 +[AC_LANG_PUSH(C++)
3694 +AC_REQUIRE([AC_PROG_CXX])
3695 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
3696 +
3697 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3698 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
3699 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
3700 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3701 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3702 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
3703 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3704 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3705 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3706 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3707 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3708 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
3709 +_LT_AC_TAGVAR(module_cmds, $1)=
3710 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
3711 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3712 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3713 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
3714 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3715 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3716 +
3717 +# Dependencies to place before and after the object being linked:
3718 +_LT_AC_TAGVAR(predep_objects, $1)=
3719 +_LT_AC_TAGVAR(postdep_objects, $1)=
3720 +_LT_AC_TAGVAR(predeps, $1)=
3721 +_LT_AC_TAGVAR(postdeps, $1)=
3722 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
3723 +
3724 +# Source file extension for C++ test sources.
3725 +ac_ext=cpp
3726 +
3727 +# Object file extension for compiled C++ test sources.
3728 +objext=o
3729 +_LT_AC_TAGVAR(objext, $1)=$objext
3730 +
3731 +# Code to be used in simple compile tests
3732 +lt_simple_compile_test_code="int some_variable = 0;"
3733 +
3734 +# Code to be used in simple link tests
3735 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
3736 +
3737 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3738 +_LT_AC_SYS_COMPILER
3739 +
3740 +# save warnings/boilerplate of simple test code
3741 +_LT_COMPILER_BOILERPLATE
3742 +_LT_LINKER_BOILERPLATE
3743 +
3744 +# Allow CC to be a program name with arguments.
3745 +lt_save_CC=$CC
3746 +lt_save_LD=$LD
3747 +lt_save_GCC=$GCC
3748 +GCC=$GXX
3749 +lt_save_with_gnu_ld=$with_gnu_ld
3750 +lt_save_path_LD=$lt_cv_path_LD
3751 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
3752 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
3753 +else
3754 + $as_unset lt_cv_prog_gnu_ld
3755 +fi
3756 +if test -n "${lt_cv_path_LDCXX+set}"; then
3757 + lt_cv_path_LD=$lt_cv_path_LDCXX
3758 +else
3759 + $as_unset lt_cv_path_LD
3760 +fi
3761 +test -z "${LDCXX+set}" || LD=$LDCXX
3762 +CC=${CXX-"c++"}
3763 +compiler=$CC
3764 +_LT_AC_TAGVAR(compiler, $1)=$CC
3765 +_LT_CC_BASENAME([$compiler])
3766 +
3767 +# We don't want -fno-exception wen compiling C++ code, so set the
3768 +# no_builtin_flag separately
3769 +if test "$GXX" = yes; then
3770 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3771 +else
3772 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3773 +fi
3774 +
3775 +if test "$GXX" = yes; then
3776 + # Set up default GNU C++ configuration
3777 +
3778 + AC_PROG_LD
3779 +
3780 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
3781 + # archiving commands below assume that GNU ld is being used.
3782 + if test "$with_gnu_ld" = yes; then
3783 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3784 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3785 +
3786 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3787 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3788 +
3789 + # If archive_cmds runs LD, not CC, wlarc should be empty
3790 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
3791 + # investigate it a little bit more. (MM)
3792 + wlarc='${wl}'
3793 +
3794 + # ancient GNU ld didn't support --whole-archive et. al.
3795 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
3796 + grep 'no-whole-archive' > /dev/null; then
3797 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3798 + else
3799 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3800 + fi
3801 + else
3802 + with_gnu_ld=no
3803 + wlarc=
3804 +
3805 + # A generic and very simple default shared library creation
3806 + # command for GNU C++ for the case where it uses the native
3807 + # linker, instead of GNU ld. If possible, this setting should
3808 + # overridden to take advantage of the native linker features on
3809 + # the platform it is being used on.
3810 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3811 + fi
3812 +
3813 + # Commands to make compiler produce verbose output that lists
3814 + # what "hidden" libraries, object files and flags are used when
3815 + # linking a shared library.
3816 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3817 +
3818 +else
3819 + GXX=no
3820 + with_gnu_ld=no
3821 + wlarc=
3822 +fi
3823 +
3824 +# PORTME: fill in a description of your system's C++ link characteristics
3825 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3826 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
3827 +case $host_os in
3828 + aix3*)
3829 + # FIXME: insert proper C++ library support
3830 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3831 + ;;
3832 + aix4* | aix5*)
3833 + if test "$host_cpu" = ia64; then
3834 + # On IA64, the linker does run time linking by default, so we don't
3835 + # have to do anything special.
3836 + aix_use_runtimelinking=no
3837 + exp_sym_flag='-Bexport'
3838 + no_entry_flag=""
3839 + else
3840 + aix_use_runtimelinking=no
3841 +
3842 + # Test if we are trying to use run time linking or normal
3843 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3844 + # need to do runtime linking.
3845 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
3846 + for ld_flag in $LDFLAGS; do
3847 + case $ld_flag in
3848 + *-brtl*)
3849 + aix_use_runtimelinking=yes
3850 + break
3851 + ;;
3852 + esac
3853 + done
3854 + ;;
3855 + esac
3856 +
3857 + exp_sym_flag='-bexport'
3858 + no_entry_flag='-bnoentry'
3859 + fi
3860 +
3861 + # When large executables or shared objects are built, AIX ld can
3862 + # have problems creating the table of contents. If linking a library
3863 + # or program results in "error TOC overflow" add -mminimal-toc to
3864 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
3865 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
3866 +
3867 + _LT_AC_TAGVAR(archive_cmds, $1)=''
3868 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3869 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3870 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3871 +
3872 + if test "$GXX" = yes; then
3873 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
3874 + # We only want to do this on AIX 4.2 and lower, the check
3875 + # below for broken collect2 doesn't work under 4.3+
3876 + collect2name=`${CC} -print-prog-name=collect2`
3877 + if test -f "$collect2name" && \
3878 + strings "$collect2name" | grep resolve_lib_name >/dev/null
3879 + then
3880 + # We have reworked collect2
3881 + :
3882 + else
3883 + # We have old collect2
3884 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3885 + # It fails to find uninstalled libraries when the uninstalled
3886 + # path is not listed in the libpath. Setting hardcode_minus_L
3887 + # to unsupported forces relinking
3888 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3889 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3890 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3891 + fi
3892 + ;;
3893 + esac
3894 + shared_flag='-shared'
3895 + if test "$aix_use_runtimelinking" = yes; then
3896 + shared_flag="$shared_flag "'${wl}-G'
3897 + fi
3898 + else
3899 + # not using gcc
3900 + if test "$host_cpu" = ia64; then
3901 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
3902 + # chokes on -Wl,-G. The following line is correct:
3903 + shared_flag='-G'
3904 + else
3905 + if test "$aix_use_runtimelinking" = yes; then
3906 + shared_flag='${wl}-G'
3907 + else
3908 + shared_flag='${wl}-bM:SRE'
3909 + fi
3910 + fi
3911 + fi
3912 +
3913 + # It seems that -bexpall does not export symbols beginning with
3914 + # underscore (_), so it is better to generate a list of symbols to export.
3915 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3916 + if test "$aix_use_runtimelinking" = yes; then
3917 + # Warning - without using the other runtime loading flags (-brtl),
3918 + # -berok will link without error, but may produce a broken library.
3919 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
3920 + # Determine the default libpath from the value encoded in an empty executable.
3921 + _LT_AC_SYS_LIBPATH_AIX
3922 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3923 +
3924 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3925 + else
3926 + if test "$host_cpu" = ia64; then
3927 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3928 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3929 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
3930 + else
3931 + # Determine the default libpath from the value encoded in an empty executable.
3932 + _LT_AC_SYS_LIBPATH_AIX
3933 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3934 + # Warning - without using the other run time loading flags,
3935 + # -berok will link without error, but may produce a broken library.
3936 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3937 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3938 + # Exported symbols can be pulled into shared objects from archives
3939 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3940 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3941 + # This is similar to how AIX traditionally builds its shared libraries.
3942 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3943 + fi
3944 + fi
3945 + ;;
3946 +
3947 + beos*)
3948 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3949 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3950 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
3951 + # support --undefined. This deserves some investigation. FIXME
3952 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3953 + else
3954 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3955 + fi
3956 + ;;
3957 +
3958 + chorus*)
3959 + case $cc_basename in
3960 + *)
3961 + # FIXME: insert proper C++ library support
3962 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3963 + ;;
3964 + esac
3965 + ;;
3966 +
3967 + cygwin* | mingw* | pw32*)
3968 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3969 + # as there is no search path for DLLs.
3970 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3971 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3972 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
3973 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3974 +
3975 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3976 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3977 + # If the export-symbols file already is a .def file (1st line
3978 + # is EXPORTS), use it as is; otherwise, prepend...
3979 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3980 + cp $export_symbols $output_objdir/$soname.def;
3981 + else
3982 + echo EXPORTS > $output_objdir/$soname.def;
3983 + cat $export_symbols >> $output_objdir/$soname.def;
3984 + fi~
3985 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3986 + else
3987 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3988 + fi
3989 + ;;
3990 + darwin* | rhapsody*)
3991 + case $host_os in
3992 + rhapsody* | darwin1.[[012]])
3993 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3994 + ;;
3995 + *) # Darwin 1.3 on
3996 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3997 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3998 + else
3999 + case ${MACOSX_DEPLOYMENT_TARGET} in
4000 + 10.[[012]])
4001 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4002 + ;;
4003 + 10.*)
4004 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
4005 + ;;
4006 + esac
4007 + fi
4008 + ;;
4009 + esac
4010 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4011 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4012 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4013 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4014 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
4015 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4016 +
4017 + if test "$GXX" = yes ; then
4018 + lt_int_apple_cc_single_mod=no
4019 + output_verbose_link_cmd='echo'
4020 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
4021 + lt_int_apple_cc_single_mod=yes
4022 + fi
4023 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4024 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4025 + else
4026 + _LT_AC_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'
4027 + fi
4028 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4029 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4030 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4031 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4032 + else
4033 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4034 + fi
4035 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4036 + else
4037 + case $cc_basename in
4038 + xlc*)
4039 + output_verbose_link_cmd='echo'
4040 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
4041 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4042 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4043 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4044 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4045 + ;;
4046 + *)
4047 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4048 + ;;
4049 + esac
4050 + fi
4051 + ;;
4052 +
4053 + dgux*)
4054 + case $cc_basename in
4055 + ec++*)
4056 + # FIXME: insert proper C++ library support
4057 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4058 + ;;
4059 + ghcx*)
4060 + # Green Hills C++ Compiler
4061 + # FIXME: insert proper C++ library support
4062 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4063 + ;;
4064 + *)
4065 + # FIXME: insert proper C++ library support
4066 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4067 + ;;
4068 + esac
4069 + ;;
4070 + freebsd[[12]]*)
4071 + # C++ shared libraries reported to be fairly broken before switch to ELF
4072 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4073 + ;;
4074 + freebsd-elf*)
4075 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4076 + ;;
4077 + freebsd* | dragonfly*)
4078 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
4079 + # conventions
4080 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4081 + ;;
4082 + gnu*)
4083 + ;;
4084 + hpux9*)
4085 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4086 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4087 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4088 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4089 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4090 + # but as the default
4091 + # location of the library.
4092 +
4093 + case $cc_basename in
4094 + CC*)
4095 + # FIXME: insert proper C++ library support
4096 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4097 + ;;
4098 + aCC*)
4099 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4100 + # Commands to make compiler produce verbose output that lists
4101 + # what "hidden" libraries, object files and flags are used when
4102 + # linking a shared library.
4103 + #
4104 + # There doesn't appear to be a way to prevent this compiler from
4105 + # explicitly linking system object files so we need to strip them
4106 + # from the output so that they don't get included in the library
4107 + # dependencies.
4108 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4109 + ;;
4110 + *)
4111 + if test "$GXX" = yes; then
4112 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4113 + else
4114 + # FIXME: insert proper C++ library support
4115 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4116 + fi
4117 + ;;
4118 + esac
4119 + ;;
4120 + hpux10*|hpux11*)
4121 + if test $with_gnu_ld = no; then
4122 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4123 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4124 +
4125 + case $host_cpu in
4126 + hppa*64*|ia64*) ;;
4127 + *)
4128 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4129 + ;;
4130 + esac
4131 + fi
4132 + case $host_cpu in
4133 + hppa*64*|ia64*)
4134 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4135 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4136 + ;;
4137 + *)
4138 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4139 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4140 + # but as the default
4141 + # location of the library.
4142 + ;;
4143 + esac
4144 +
4145 + case $cc_basename in
4146 + CC*)
4147 + # FIXME: insert proper C++ library support
4148 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4149 + ;;
4150 + aCC*)
4151 + case $host_cpu in
4152 + hppa*64*)
4153 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4154 + ;;
4155 + ia64*)
4156 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4157 + ;;
4158 + *)
4159 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4160 + ;;
4161 + esac
4162 + # Commands to make compiler produce verbose output that lists
4163 + # what "hidden" libraries, object files and flags are used when
4164 + # linking a shared library.
4165 + #
4166 + # There doesn't appear to be a way to prevent this compiler from
4167 + # explicitly linking system object files so we need to strip them
4168 + # from the output so that they don't get included in the library
4169 + # dependencies.
4170 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4171 + ;;
4172 + *)
4173 + if test "$GXX" = yes; then
4174 + if test $with_gnu_ld = no; then
4175 + case $host_cpu in
4176 + hppa*64*)
4177 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4178 + ;;
4179 + ia64*)
4180 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4181 + ;;
4182 + *)
4183 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4184 + ;;
4185 + esac
4186 + fi
4187 + else
4188 + # FIXME: insert proper C++ library support
4189 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4190 + fi
4191 + ;;
4192 + esac
4193 + ;;
4194 + interix[[3-9]]*)
4195 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4196 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4197 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4198 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4199 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
4200 + # Instead, shared libraries are loaded at an image base (0x10000000 by
4201 + # default) and relocated if they conflict, which is a slow very memory
4202 + # consuming and fragmenting process. To avoid this, we pick a random,
4203 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
4204 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
4205 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4206 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4207 + ;;
4208 + irix5* | irix6*)
4209 + case $cc_basename in
4210 + CC*)
4211 + # SGI C++
4212 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4213 +
4214 + # Archives containing C++ object files must be created using
4215 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
4216 + # necessary to make sure instantiated templates are included
4217 + # in the archive.
4218 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
4219 + ;;
4220 + *)
4221 + if test "$GXX" = yes; then
4222 + if test "$with_gnu_ld" = no; then
4223 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4224 + else
4225 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
4226 + fi
4227 + fi
4228 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4229 + ;;
4230 + esac
4231 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4232 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4233 + ;;
4234 + linux* | k*bsd*-gnu)
4235 + case $cc_basename in
4236 + KCC*)
4237 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4238 +
4239 + # KCC will only create a shared library if the output file
4240 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4241 + # to its proper name (with version) after linking.
4242 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4243 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
4244 + # Commands to make compiler produce verbose output that lists
4245 + # what "hidden" libraries, object files and flags are used when
4246 + # linking a shared library.
4247 + #
4248 + # There doesn't appear to be a way to prevent this compiler from
4249 + # explicitly linking system object files so we need to strip them
4250 + # from the output so that they don't get included in the library
4251 + # dependencies.
4252 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4253 +
4254 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
4255 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4256 +
4257 + # Archives containing C++ object files must be created using
4258 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4259 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4260 + ;;
4261 + icpc*)
4262 + # Intel C++
4263 + with_gnu_ld=yes
4264 + # version 8.0 and above of icpc choke on multiply defined symbols
4265 + # if we add $predep_objects and $postdep_objects, however 7.1 and
4266 + # earlier do not add the objects themselves.
4267 + case `$CC -V 2>&1` in
4268 + *"Version 7."*)
4269 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4270 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4271 + ;;
4272 + *) # Version 8.0 or newer
4273 + tmp_idyn=
4274 + case $host_cpu in
4275 + ia64*) tmp_idyn=' -i_dynamic';;
4276 + esac
4277 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4278 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4279 + ;;
4280 + esac
4281 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4282 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4283 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4284 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
4285 + ;;
4286 + pgCC*)
4287 + # Portland Group C++ compiler
4288 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
4289 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
4290 +
4291 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4292 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4293 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
4294 + ;;
4295 + cxx*)
4296 + # Compaq C++
4297 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4298 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
4299 +
4300 + runpath_var=LD_RUN_PATH
4301 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4302 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4303 +
4304 + # Commands to make compiler produce verbose output that lists
4305 + # what "hidden" libraries, object files and flags are used when
4306 + # linking a shared library.
4307 + #
4308 + # There doesn't appear to be a way to prevent this compiler from
4309 + # explicitly linking system object files so we need to strip them
4310 + # from the output so that they don't get included in the library
4311 + # dependencies.
4312 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4313 + ;;
4314 + *)
4315 + case `$CC -V 2>&1 | sed 5q` in
4316 + *Sun\ C*)
4317 + # Sun C++ 5.9
4318 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
4319 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4320 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
4321 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4322 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
4323 +
4324 + # Not sure whether something based on
4325 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
4326 + # would be better.
4327 + output_verbose_link_cmd='echo'
4328 +
4329 + # Archives containing C++ object files must be created using
4330 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
4331 + # necessary to make sure instantiated templates are included
4332 + # in the archive.
4333 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
4334 + ;;
4335 + esac
4336 + ;;
4337 + esac
4338 + ;;
4339 + lynxos*)
4340 + # FIXME: insert proper C++ library support
4341 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4342 + ;;
4343 + m88k*)
4344 + # FIXME: insert proper C++ library support
4345 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4346 + ;;
4347 + mvs*)
4348 + case $cc_basename in
4349 + cxx*)
4350 + # FIXME: insert proper C++ library support
4351 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4352 + ;;
4353 + *)
4354 + # FIXME: insert proper C++ library support
4355 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4356 + ;;
4357 + esac
4358 + ;;
4359 + netbsd* | netbsdelf*-gnu)
4360 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4361 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
4362 + wlarc=
4363 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4364 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4365 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4366 + fi
4367 + # Workaround some broken pre-1.5 toolchains
4368 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
4369 + ;;
4370 + openbsd2*)
4371 + # C++ shared libraries are fairly broken
4372 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4373 + ;;
4374 + openbsd*)
4375 + if test -f /usr/libexec/ld.so; then
4376 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4377 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4378 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
4379 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4380 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4381 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
4382 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4383 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4384 + fi
4385 + output_verbose_link_cmd='echo'
4386 + else
4387 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4388 + fi
4389 + ;;
4390 + osf3*)
4391 + case $cc_basename in
4392 + KCC*)
4393 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4394 +
4395 + # KCC will only create a shared library if the output file
4396 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4397 + # to its proper name (with version) after linking.
4398 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4399 +
4400 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4401 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4402 +
4403 + # Archives containing C++ object files must be created using
4404 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4405 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4406 +
4407 + ;;
4408 + RCC*)
4409 + # Rational C++ 2.4.1
4410 + # FIXME: insert proper C++ library support
4411 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4412 + ;;
4413 + cxx*)
4414 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4415 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4416 +
4417 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4418 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4419 +
4420 + # Commands to make compiler produce verbose output that lists
4421 + # what "hidden" libraries, object files and flags are used when
4422 + # linking a shared library.
4423 + #
4424 + # There doesn't appear to be a way to prevent this compiler from
4425 + # explicitly linking system object files so we need to strip them
4426 + # from the output so that they don't get included in the library
4427 + # dependencies.
4428 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4429 + ;;
4430 + *)
4431 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4432 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4433 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4434 +
4435 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4436 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4437 +
4438 + # Commands to make compiler produce verbose output that lists
4439 + # what "hidden" libraries, object files and flags are used when
4440 + # linking a shared library.
4441 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4442 +
4443 + else
4444 + # FIXME: insert proper C++ library support
4445 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4446 + fi
4447 + ;;
4448 + esac
4449 + ;;
4450 + osf4* | osf5*)
4451 + case $cc_basename in
4452 + KCC*)
4453 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4454 +
4455 + # KCC will only create a shared library if the output file
4456 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4457 + # to its proper name (with version) after linking.
4458 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4459 +
4460 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4461 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4462 +
4463 + # Archives containing C++ object files must be created using
4464 + # the KAI C++ compiler.
4465 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
4466 + ;;
4467 + RCC*)
4468 + # Rational C++ 2.4.1
4469 + # FIXME: insert proper C++ library support
4470 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4471 + ;;
4472 + cxx*)
4473 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4474 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4475 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
4476 + echo "-hidden">> $lib.exp~
4477 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
4478 + $rm $lib.exp'
4479 +
4480 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4481 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4482 +
4483 + # Commands to make compiler produce verbose output that lists
4484 + # what "hidden" libraries, object files and flags are used when
4485 + # linking a shared library.
4486 + #
4487 + # There doesn't appear to be a way to prevent this compiler from
4488 + # explicitly linking system object files so we need to strip them
4489 + # from the output so that they don't get included in the library
4490 + # dependencies.
4491 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4492 + ;;
4493 + *)
4494 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4495 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4496 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4497 +
4498 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4499 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4500 +
4501 + # Commands to make compiler produce verbose output that lists
4502 + # what "hidden" libraries, object files and flags are used when
4503 + # linking a shared library.
4504 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4505 +
4506 + else
4507 + # FIXME: insert proper C++ library support
4508 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4509 + fi
4510 + ;;
4511 + esac
4512 + ;;
4513 + psos*)
4514 + # FIXME: insert proper C++ library support
4515 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4516 + ;;
4517 + sunos4*)
4518 + case $cc_basename in
4519 + CC*)
4520 + # Sun C++ 4.x
4521 + # FIXME: insert proper C++ library support
4522 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4523 + ;;
4524 + lcc*)
4525 + # Lucid
4526 + # FIXME: insert proper C++ library support
4527 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4528 + ;;
4529 + *)
4530 + # FIXME: insert proper C++ library support
4531 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4532 + ;;
4533 + esac
4534 + ;;
4535 + solaris*)
4536 + case $cc_basename in
4537 + CC*)
4538 + # Sun C++ 4.2, 5.x and Centerline C++
4539 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
4540 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
4541 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4542 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4543 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4544 +
4545 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4546 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4547 + case $host_os in
4548 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4549 + *)
4550 + # The compiler driver will combine and reorder linker options,
4551 + # but understands `-z linker_flag'.
4552 + # Supported since Solaris 2.6 (maybe 2.5.1?)
4553 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
4554 + ;;
4555 + esac
4556 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4557 +
4558 + output_verbose_link_cmd='echo'
4559 +
4560 + # Archives containing C++ object files must be created using
4561 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
4562 + # necessary to make sure instantiated templates are included
4563 + # in the archive.
4564 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
4565 + ;;
4566 + gcx*)
4567 + # Green Hills C++ Compiler
4568 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4569 +
4570 + # The C++ compiler must be used to create the archive.
4571 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
4572 + ;;
4573 + *)
4574 + # GNU C++ compiler with Solaris linker
4575 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4576 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
4577 + if $CC --version | grep -v '^2\.7' > /dev/null; then
4578 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4579 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4580 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4581 +
4582 + # Commands to make compiler produce verbose output that lists
4583 + # what "hidden" libraries, object files and flags are used when
4584 + # linking a shared library.
4585 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4586 + else
4587 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
4588 + # platform.
4589 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4590 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4591 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4592 +
4593 + # Commands to make compiler produce verbose output that lists
4594 + # what "hidden" libraries, object files and flags are used when
4595 + # linking a shared library.
4596 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4597 + fi
4598 +
4599 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
4600 + case $host_os in
4601 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4602 + *)
4603 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
4604 + ;;
4605 + esac
4606 + fi
4607 + ;;
4608 + esac
4609 + ;;
4610 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
4611 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4612 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4613 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4614 + runpath_var='LD_RUN_PATH'
4615 +
4616 + case $cc_basename in
4617 + CC*)
4618 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4619 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4620 + ;;
4621 + *)
4622 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4623 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4624 + ;;
4625 + esac
4626 + ;;
4627 + sysv5* | sco3.2v5* | sco5v6*)
4628 + # Note: We can NOT use -z defs as we might desire, because we do not
4629 + # link with -lc, and that would cause any symbols used from libc to
4630 + # always be unresolved, which means just about no library would
4631 + # ever link correctly. If we're not using GNU ld we use -z text
4632 + # though, which does catch some bad symbols but isn't as heavy-handed
4633 + # as -z defs.
4634 + # For security reasons, it is highly recommended that you always
4635 + # use absolute paths for naming shared libraries, and exclude the
4636 + # DT_RUNPATH tag from executables and libraries. But doing so
4637 + # requires that you compile everything twice, which is a pain.
4638 + # So that behaviour is only enabled if SCOABSPATH is set to a
4639 + # non-empty value in the environment. Most likely only useful for
4640 + # creating official distributions of packages.
4641 + # This is a hack until libtool officially supports absolute path
4642 + # names for shared libraries.
4643 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4644 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
4645 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4646 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4647 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
4648 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4649 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4650 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4651 + runpath_var='LD_RUN_PATH'
4652 +
4653 + case $cc_basename in
4654 + CC*)
4655 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4656 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4657 + ;;
4658 + *)
4659 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4660 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4661 + ;;
4662 + esac
4663 + ;;
4664 + tandem*)
4665 + case $cc_basename in
4666 + NCC*)
4667 + # NonStop-UX NCC 3.20
4668 + # FIXME: insert proper C++ library support
4669 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4670 + ;;
4671 + *)
4672 + # FIXME: insert proper C++ library support
4673 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4674 + ;;
4675 + esac
4676 + ;;
4677 + vxworks*)
4678 + # FIXME: insert proper C++ library support
4679 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4680 + ;;
4681 + *)
4682 + # FIXME: insert proper C++ library support
4683 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4684 + ;;
4685 +esac
4686 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4687 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4688 +
4689 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
4690 +_LT_AC_TAGVAR(LD, $1)="$LD"
4691 +
4692 +AC_LIBTOOL_POSTDEP_PREDEP($1)
4693 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
4694 +AC_LIBTOOL_PROG_CC_C_O($1)
4695 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4696 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
4697 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4698 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4699 +
4700 +AC_LIBTOOL_CONFIG($1)
4701 +
4702 +AC_LANG_POP
4703 +CC=$lt_save_CC
4704 +LDCXX=$LD
4705 +LD=$lt_save_LD
4706 +GCC=$lt_save_GCC
4707 +with_gnu_ldcxx=$with_gnu_ld
4708 +with_gnu_ld=$lt_save_with_gnu_ld
4709 +lt_cv_path_LDCXX=$lt_cv_path_LD
4710 +lt_cv_path_LD=$lt_save_path_LD
4711 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
4712 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
4713 +])# AC_LIBTOOL_LANG_CXX_CONFIG
4714 +
4715 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
4716 +# ------------------------------------
4717 +# Figure out "hidden" library dependencies from verbose
4718 +# compiler output when linking a shared library.
4719 +# Parse the compiler output and extract the necessary
4720 +# objects, libraries and library flags.
4721 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
4722 +dnl we can't use the lt_simple_compile_test_code here,
4723 +dnl because it contains code intended for an executable,
4724 +dnl not a library. It's possible we should let each
4725 +dnl tag define a new lt_????_link_test_code variable,
4726 +dnl but it's only used here...
4727 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
4728 +int a;
4729 +void foo (void) { a = 0; }
4730 +EOF
4731 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
4732 +class Foo
4733 +{
4734 +public:
4735 + Foo (void) { a = 0; }
4736 +private:
4737 + int a;
4738 +};
4739 +EOF
4740 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
4741 + subroutine foo
4742 + implicit none
4743 + integer*4 a
4744 + a=0
4745 + return
4746 + end
4747 +EOF
4748 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
4749 +public class foo {
4750 + private int a;
4751 + public void bar (void) {
4752 + a = 0;
4753 + }
4754 +};
4755 +EOF
4756 +])
4757 +dnl Parse the compiler output and extract the necessary
4758 +dnl objects, libraries and library flags.
4759 +if AC_TRY_EVAL(ac_compile); then
4760 + # Parse the compiler output and extract the necessary
4761 + # objects, libraries and library flags.
4762 +
4763 + # Sentinel used to keep track of whether or not we are before
4764 + # the conftest object file.
4765 + pre_test_object_deps_done=no
4766 +
4767 + # The `*' in the case matches for architectures that use `case' in
4768 + # $output_verbose_cmd can trigger glob expansion during the loop
4769 + # eval without this substitution.
4770 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
4771 +
4772 + for p in `eval $output_verbose_link_cmd`; do
4773 + case $p in
4774 +
4775 + -L* | -R* | -l*)
4776 + # Some compilers place space between "-{L,R}" and the path.
4777 + # Remove the space.
4778 + if test $p = "-L" \
4779 + || test $p = "-R"; then
4780 + prev=$p
4781 + continue
4782 + else
4783 + prev=
4784 + fi
4785 +
4786 + if test "$pre_test_object_deps_done" = no; then
4787 + case $p in
4788 + -L* | -R*)
4789 + # Internal compiler library paths should come after those
4790 + # provided the user. The postdeps already come after the
4791 + # user supplied libs so there is no need to process them.
4792 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
4793 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
4794 + else
4795 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
4796 + fi
4797 + ;;
4798 + # The "-l" case would never come before the object being
4799 + # linked, so don't bother handling this case.
4800 + esac
4801 + else
4802 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
4803 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
4804 + else
4805 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
4806 + fi
4807 + fi
4808 + ;;
4809 +
4810 + *.$objext)
4811 + # This assumes that the test object file only shows up
4812 + # once in the compiler output.
4813 + if test "$p" = "conftest.$objext"; then
4814 + pre_test_object_deps_done=yes
4815 + continue
4816 + fi
4817 +
4818 + if test "$pre_test_object_deps_done" = no; then
4819 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
4820 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
4821 + else
4822 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
4823 + fi
4824 + else
4825 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
4826 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
4827 + else
4828 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
4829 + fi
4830 + fi
4831 + ;;
4832 +
4833 + *) ;; # Ignore the rest.
4834 +
4835 + esac
4836 + done
4837 +
4838 + # Clean up.
4839 + rm -f a.out a.exe
4840 +else
4841 + echo "libtool.m4: error: problem compiling $1 test program"
4842 +fi
4843 +
4844 +$rm -f confest.$objext
4845 +
4846 +# PORTME: override above test on systems where it is broken
4847 +ifelse([$1],[CXX],
4848 +[case $host_os in
4849 +interix[[3-9]]*)
4850 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
4851 + # hack all around it, let's just trust "g++" to DTRT.
4852 + _LT_AC_TAGVAR(predep_objects,$1)=
4853 + _LT_AC_TAGVAR(postdep_objects,$1)=
4854 + _LT_AC_TAGVAR(postdeps,$1)=
4855 + ;;
4856 +
4857 +linux*)
4858 + case `$CC -V 2>&1 | sed 5q` in
4859 + *Sun\ C*)
4860 + # Sun C++ 5.9
4861 + #
4862 + # The more standards-conforming stlport4 library is
4863 + # incompatible with the Cstd library. Avoid specifying
4864 + # it if it's in CXXFLAGS. Ignore libCrun as
4865 + # -library=stlport4 depends on it.
4866 + case " $CXX $CXXFLAGS " in
4867 + *" -library=stlport4 "*)
4868 + solaris_use_stlport4=yes
4869 + ;;
4870 + esac
4871 + if test "$solaris_use_stlport4" != yes; then
4872 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4873 + fi
4874 + ;;
4875 + esac
4876 + ;;
4877 +
4878 +solaris*)
4879 + case $cc_basename in
4880 + CC*)
4881 + # The more standards-conforming stlport4 library is
4882 + # incompatible with the Cstd library. Avoid specifying
4883 + # it if it's in CXXFLAGS. Ignore libCrun as
4884 + # -library=stlport4 depends on it.
4885 + case " $CXX $CXXFLAGS " in
4886 + *" -library=stlport4 "*)
4887 + solaris_use_stlport4=yes
4888 + ;;
4889 + esac
4890 +
4891 + # Adding this requires a known-good setup of shared libraries for
4892 + # Sun compiler versions before 5.6, else PIC objects from an old
4893 + # archive will be linked into the output, leading to subtle bugs.
4894 + if test "$solaris_use_stlport4" != yes; then
4895 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4896 + fi
4897 + ;;
4898 + esac
4899 + ;;
4900 +esac
4901 +])
4902 +
4903 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
4904 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4905 +esac
4906 +])# AC_LIBTOOL_POSTDEP_PREDEP
4907 +
4908 +# AC_LIBTOOL_LANG_F77_CONFIG
4909 +# --------------------------
4910 +# Ensure that the configuration vars for the C compiler are
4911 +# suitably defined. Those variables are subsequently used by
4912 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4913 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
4914 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
4915 +[AC_REQUIRE([AC_PROG_F77])
4916 +AC_LANG_PUSH(Fortran 77)
4917 +
4918 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4919 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
4920 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
4921 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4922 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4923 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
4924 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4925 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4926 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4927 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4928 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
4929 +_LT_AC_TAGVAR(module_cmds, $1)=
4930 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
4931 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4932 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4933 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
4934 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4935 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4936 +
4937 +# Source file extension for f77 test sources.
4938 +ac_ext=f
4939 +
4940 +# Object file extension for compiled f77 test sources.
4941 +objext=o
4942 +_LT_AC_TAGVAR(objext, $1)=$objext
4943 +
4944 +# Code to be used in simple compile tests
4945 +lt_simple_compile_test_code="\
4946 + subroutine t
4947 + return
4948 + end
4949 +"
4950 +
4951 +# Code to be used in simple link tests
4952 +lt_simple_link_test_code="\
4953 + program t
4954 + end
4955 +"
4956 +
4957 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4958 +_LT_AC_SYS_COMPILER
4959 +
4960 +# save warnings/boilerplate of simple test code
4961 +_LT_COMPILER_BOILERPLATE
4962 +_LT_LINKER_BOILERPLATE
4963 +
4964 +# Allow CC to be a program name with arguments.
4965 +lt_save_CC="$CC"
4966 +CC=${F77-"f77"}
4967 +compiler=$CC
4968 +_LT_AC_TAGVAR(compiler, $1)=$CC
4969 +_LT_CC_BASENAME([$compiler])
4970 +
4971 +AC_MSG_CHECKING([if libtool supports shared libraries])
4972 +AC_MSG_RESULT([$can_build_shared])
4973 +
4974 +AC_MSG_CHECKING([whether to build shared libraries])
4975 +test "$can_build_shared" = "no" && enable_shared=no
4976 +
4977 +# On AIX, shared libraries and static libraries use the same namespace, and
4978 +# are all built from PIC.
4979 +case $host_os in
4980 +aix3*)
4981 + test "$enable_shared" = yes && enable_static=no
4982 + if test -n "$RANLIB"; then
4983 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
4984 + postinstall_cmds='$RANLIB $lib'
4985 + fi
4986 + ;;
4987 +aix4* | aix5*)
4988 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4989 + test "$enable_shared" = yes && enable_static=no
4990 + fi
4991 + ;;
4992 +esac
4993 +AC_MSG_RESULT([$enable_shared])
4994 +
4995 +AC_MSG_CHECKING([whether to build static libraries])
4996 +# Make sure either enable_shared or enable_static is yes.
4997 +test "$enable_shared" = yes || enable_static=yes
4998 +AC_MSG_RESULT([$enable_static])
4999 +
5000 +_LT_AC_TAGVAR(GCC, $1)="$G77"
5001 +_LT_AC_TAGVAR(LD, $1)="$LD"
5002 +
5003 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5004 +AC_LIBTOOL_PROG_CC_C_O($1)
5005 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5006 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5007 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5008 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5009 +
5010 +AC_LIBTOOL_CONFIG($1)
5011 +
5012 +AC_LANG_POP
5013 +CC="$lt_save_CC"
5014 +])# AC_LIBTOOL_LANG_F77_CONFIG
5015 +
5016 +
5017 +# AC_LIBTOOL_LANG_GCJ_CONFIG
5018 +# --------------------------
5019 +# Ensure that the configuration vars for the C compiler are
5020 +# suitably defined. Those variables are subsequently used by
5021 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5022 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
5023 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
5024 +[AC_LANG_SAVE
5025 +
5026 +# Source file extension for Java test sources.
5027 +ac_ext=java
5028 +
5029 +# Object file extension for compiled Java test sources.
5030 +objext=o
5031 +_LT_AC_TAGVAR(objext, $1)=$objext
5032 +
5033 +# Code to be used in simple compile tests
5034 +lt_simple_compile_test_code="class foo {}"
5035 +
5036 +# Code to be used in simple link tests
5037 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
5038 +
5039 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5040 +_LT_AC_SYS_COMPILER
5041 +
5042 +# save warnings/boilerplate of simple test code
5043 +_LT_COMPILER_BOILERPLATE
5044 +_LT_LINKER_BOILERPLATE
5045 +
5046 +# Allow CC to be a program name with arguments.
5047 +lt_save_CC="$CC"
5048 +CC=${GCJ-"gcj"}
5049 +compiler=$CC
5050 +_LT_AC_TAGVAR(compiler, $1)=$CC
5051 +_LT_CC_BASENAME([$compiler])
5052 +
5053 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
5054 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5055 +
5056 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5057 +
5058 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
5059 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5060 +AC_LIBTOOL_PROG_CC_C_O($1)
5061 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5062 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5063 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5064 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5065 +
5066 +AC_LIBTOOL_CONFIG($1)
5067 +
5068 +AC_LANG_RESTORE
5069 +CC="$lt_save_CC"
5070 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
5071 +
5072 +
5073 +# AC_LIBTOOL_LANG_RC_CONFIG
5074 +# -------------------------
5075 +# Ensure that the configuration vars for the Windows resource compiler are
5076 +# suitably defined. Those variables are subsequently used by
5077 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5078 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
5079 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
5080 +[AC_LANG_SAVE
5081 +
5082 +# Source file extension for RC test sources.
5083 +ac_ext=rc
5084 +
5085 +# Object file extension for compiled RC test sources.
5086 +objext=o
5087 +_LT_AC_TAGVAR(objext, $1)=$objext
5088 +
5089 +# Code to be used in simple compile tests
5090 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
5091 +
5092 +# Code to be used in simple link tests
5093 +lt_simple_link_test_code="$lt_simple_compile_test_code"
5094 +
5095 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5096 +_LT_AC_SYS_COMPILER
5097 +
5098 +# save warnings/boilerplate of simple test code
5099 +_LT_COMPILER_BOILERPLATE
5100 +_LT_LINKER_BOILERPLATE
5101 +
5102 +# Allow CC to be a program name with arguments.
5103 +lt_save_CC="$CC"
5104 +CC=${RC-"windres"}
5105 +compiler=$CC
5106 +_LT_AC_TAGVAR(compiler, $1)=$CC
5107 +_LT_CC_BASENAME([$compiler])
5108 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
5109 +
5110 +AC_LIBTOOL_CONFIG($1)
5111 +
5112 +AC_LANG_RESTORE
5113 +CC="$lt_save_CC"
5114 +])# AC_LIBTOOL_LANG_RC_CONFIG
5115 +
5116 +
5117 +# AC_LIBTOOL_CONFIG([TAGNAME])
5118 +# ----------------------------
5119 +# If TAGNAME is not passed, then create an initial libtool script
5120 +# with a default configuration from the untagged config vars. Otherwise
5121 +# add code to config.status for appending the configuration named by
5122 +# TAGNAME from the matching tagged config vars.
5123 +AC_DEFUN([AC_LIBTOOL_CONFIG],
5124 +[# The else clause should only fire when bootstrapping the
5125 +# libtool distribution, otherwise you forgot to ship ltmain.sh
5126 +# with your package, and you will get complaints that there are
5127 +# no rules to generate ltmain.sh.
5128 +if test -f "$ltmain"; then
5129 + # See if we are running on zsh, and set the options which allow our commands through
5130 + # without removal of \ escapes.
5131 + if test -n "${ZSH_VERSION+set}" ; then
5132 + setopt NO_GLOB_SUBST
5133 + fi
5134 + # Now quote all the things that may contain metacharacters while being
5135 + # careful not to overquote the AC_SUBSTed values. We take copies of the
5136 + # variables and quote the copies for generation of the libtool script.
5137 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
5138 + SED SHELL STRIP \
5139 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5140 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5141 + deplibs_check_method reload_flag reload_cmds need_locks \
5142 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5143 + lt_cv_sys_global_symbol_to_c_name_address \
5144 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5145 + old_postinstall_cmds old_postuninstall_cmds \
5146 + _LT_AC_TAGVAR(compiler, $1) \
5147 + _LT_AC_TAGVAR(CC, $1) \
5148 + _LT_AC_TAGVAR(LD, $1) \
5149 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
5150 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
5151 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
5152 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
5153 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
5154 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
5155 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
5156 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
5157 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
5158 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
5159 + _LT_AC_TAGVAR(predep_objects, $1) \
5160 + _LT_AC_TAGVAR(postdep_objects, $1) \
5161 + _LT_AC_TAGVAR(predeps, $1) \
5162 + _LT_AC_TAGVAR(postdeps, $1) \
5163 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
5164 + _LT_AC_TAGVAR(archive_cmds, $1) \
5165 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
5166 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
5167 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
5168 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
5169 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
5170 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
5171 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
5172 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
5173 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
5174 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
5175 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
5176 + _LT_AC_TAGVAR(module_cmds, $1) \
5177 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
5178 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
5179 + _LT_AC_TAGVAR(fix_srcfile_path, $1) \
5180 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
5181 + _LT_AC_TAGVAR(include_expsyms, $1); do
5182 +
5183 + case $var in
5184 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
5185 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
5186 + _LT_AC_TAGVAR(archive_cmds, $1) | \
5187 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
5188 + _LT_AC_TAGVAR(module_cmds, $1) | \
5189 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
5190 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
5191 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
5192 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
5193 + postinstall_cmds | postuninstall_cmds | \
5194 + old_postinstall_cmds | old_postuninstall_cmds | \
5195 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5196 + # Double-quote double-evaled strings.
5197 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5198 + ;;
5199 + *)
5200 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5201 + ;;
5202 + esac
5203 + done
5204 +
5205 + case $lt_echo in
5206 + *'\[$]0 --fallback-echo"')
5207 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
5208 + ;;
5209 + esac
5210 +
5211 +ifelse([$1], [],
5212 + [cfgfile="${ofile}T"
5213 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
5214 + $rm -f "$cfgfile"
5215 + AC_MSG_NOTICE([creating $ofile])],
5216 + [cfgfile="$ofile"])
5217 +
5218 + cat <<__EOF__ >> "$cfgfile"
5219 +ifelse([$1], [],
5220 +[#! $SHELL
5221 +
5222 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
5223 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
5224 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
5225 +#
5226 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5227 +# Free Software Foundation, Inc.
5228 +#
5229 +# This file is part of GNU Libtool:
5230 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
5231 +#
5232 +# This program is free software; you can redistribute it and/or modify
5233 +# it under the terms of the GNU General Public License as published by
5234 +# the Free Software Foundation; either version 2 of the License, or
5235 +# (at your option) any later version.
5236 +#
5237 +# This program is distributed in the hope that it will be useful, but
5238 +# WITHOUT ANY WARRANTY; without even the implied warranty of
5239 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5240 +# General Public License for more details.
5241 +#
5242 +# You should have received a copy of the GNU General Public License
5243 +# along with this program; if not, write to the Free Software
5244 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
5245 +#
5246 +# As a special exception to the GNU General Public License, if you
5247 +# distribute this file as part of a program that contains a
5248 +# configuration script generated by Autoconf, you may include it under
5249 +# the same distribution terms that you use for the rest of that program.
5250 +
5251 +# A sed program that does not truncate output.
5252 +SED=$lt_SED
5253 +
5254 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
5255 +Xsed="$SED -e 1s/^X//"
5256 +
5257 +# The HP-UX ksh and POSIX shell print the target directory to stdout
5258 +# if CDPATH is set.
5259 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5260 +
5261 +# The names of the tagged configurations supported by this script.
5262 +available_tags=
5263 +
5264 +# ### BEGIN LIBTOOL CONFIG],
5265 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
5266 +
5267 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5268 +
5269 +# Shell to use when invoking shell scripts.
5270 +SHELL=$lt_SHELL
5271 +
5272 +# Whether or not to build shared libraries.
5273 +build_libtool_libs=$enable_shared
5274 +
5275 +# Whether or not to build static libraries.
5276 +build_old_libs=$enable_static
5277 +
5278 +# Whether or not to add -lc for building shared libraries.
5279 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
5280 +
5281 +# Whether or not to disallow shared libs when runtime libs are static
5282 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
5283 +
5284 +# Whether or not to optimize for fast installation.
5285 +fast_install=$enable_fast_install
5286 +
5287 +# The host system.
5288 +host_alias=$host_alias
5289 +host=$host
5290 +host_os=$host_os
5291 +
5292 +# The build system.
5293 +build_alias=$build_alias
5294 +build=$build
5295 +build_os=$build_os
5296 +
5297 +# An echo program that does not interpret backslashes.
5298 +echo=$lt_echo
5299 +
5300 +# The archiver.
5301 +AR=$lt_AR
5302 +AR_FLAGS=$lt_AR_FLAGS
5303 +
5304 +# A C compiler.
5305 +LTCC=$lt_LTCC
5306 +
5307 +# LTCC compiler flags.
5308 +LTCFLAGS=$lt_LTCFLAGS
5309 +
5310 +# A language-specific compiler.
5311 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
5312 +
5313 +# Is the compiler the GNU C compiler?
5314 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
5315 +
5316 +# An ERE matcher.
5317 +EGREP=$lt_EGREP
5318 +
5319 +# The linker used to build libraries.
5320 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
5321 +
5322 +# Whether we need hard or soft links.
5323 +LN_S=$lt_LN_S
5324 +
5325 +# A BSD-compatible nm program.
5326 +NM=$lt_NM
5327 +
5328 +# A symbol stripping program
5329 +STRIP=$lt_STRIP
5330 +
5331 +# Used to examine libraries when file_magic_cmd begins "file"
5332 +MAGIC_CMD=$MAGIC_CMD
5333 +
5334 +# Used on cygwin: DLL creation program.
5335 +DLLTOOL="$DLLTOOL"
5336 +
5337 +# Used on cygwin: object dumper.
5338 +OBJDUMP="$OBJDUMP"
5339 +
5340 +# Used on cygwin: assembler.
5341 +AS="$AS"
5342 +
5343 +# The name of the directory that contains temporary libtool files.
5344 +objdir=$objdir
5345 +
5346 +# How to create reloadable object files.
5347 +reload_flag=$lt_reload_flag
5348 +reload_cmds=$lt_reload_cmds
5349 +
5350 +# How to pass a linker flag through the compiler.
5351 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
5352 +
5353 +# Object file suffix (normally "o").
5354 +objext="$ac_objext"
5355 +
5356 +# Old archive suffix (normally "a").
5357 +libext="$libext"
5358 +
5359 +# Shared library suffix (normally ".so").
5360 +shrext_cmds='$shrext_cmds'
5361 +
5362 +# Executable file suffix (normally "").
5363 +exeext="$exeext"
5364 +
5365 +# Additional compiler flags for building library objects.
5366 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
5367 +pic_mode=$pic_mode
5368 +
5369 +# What is the maximum length of a command?
5370 +max_cmd_len=$lt_cv_sys_max_cmd_len
5371 +
5372 +# Does compiler simultaneously support -c and -o options?
5373 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
5374 +
5375 +# Must we lock files when doing compilation?
5376 +need_locks=$lt_need_locks
5377 +
5378 +# Do we need the lib prefix for modules?
5379 +need_lib_prefix=$need_lib_prefix
5380 +
5381 +# Do we need a version for libraries?
5382 +need_version=$need_version
5383 +
5384 +# Whether dlopen is supported.
5385 +dlopen_support=$enable_dlopen
5386 +
5387 +# Whether dlopen of programs is supported.
5388 +dlopen_self=$enable_dlopen_self
5389 +
5390 +# Whether dlopen of statically linked programs is supported.
5391 +dlopen_self_static=$enable_dlopen_self_static
5392 +
5393 +# Compiler flag to prevent dynamic linking.
5394 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
5395 +
5396 +# Compiler flag to turn off builtin functions.
5397 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
5398 +
5399 +# Compiler flag to allow reflexive dlopens.
5400 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
5401 +
5402 +# Compiler flag to generate shared objects directly from archives.
5403 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
5404 +
5405 +# Compiler flag to generate thread-safe objects.
5406 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
5407 +
5408 +# Library versioning type.
5409 +version_type=$version_type
5410 +
5411 +# Format of library name prefix.
5412 +libname_spec=$lt_libname_spec
5413 +
5414 +# List of archive names. First name is the real one, the rest are links.
5415 +# The last name is the one that the linker finds with -lNAME.
5416 +library_names_spec=$lt_library_names_spec
5417 +
5418 +# The coded name of the library, if different from the real name.
5419 +soname_spec=$lt_soname_spec
5420 +
5421 +# Commands used to build and install an old-style archive.
5422 +RANLIB=$lt_RANLIB
5423 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
5424 +old_postinstall_cmds=$lt_old_postinstall_cmds
5425 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
5426 +
5427 +# Create an old-style archive from a shared archive.
5428 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
5429 +
5430 +# Create a temporary old-style archive to link instead of a shared archive.
5431 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
5432 +
5433 +# Commands used to build and install a shared archive.
5434 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
5435 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
5436 +postinstall_cmds=$lt_postinstall_cmds
5437 +postuninstall_cmds=$lt_postuninstall_cmds
5438 +
5439 +# Commands used to build a loadable module (assumed same as above if empty)
5440 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
5441 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
5442 +
5443 +# Commands to strip libraries.
5444 +old_striplib=$lt_old_striplib
5445 +striplib=$lt_striplib
5446 +
5447 +# Dependencies to place before the objects being linked to create a
5448 +# shared library.
5449 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
5450 +
5451 +# Dependencies to place after the objects being linked to create a
5452 +# shared library.
5453 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
5454 +
5455 +# Dependencies to place before the objects being linked to create a
5456 +# shared library.
5457 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
5458 +
5459 +# Dependencies to place after the objects being linked to create a
5460 +# shared library.
5461 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
5462 +
5463 +# The library search path used internally by the compiler when linking
5464 +# a shared library.
5465 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
5466 +
5467 +# Method to check whether dependent libraries are shared objects.
5468 +deplibs_check_method=$lt_deplibs_check_method
5469 +
5470 +# Command to use when deplibs_check_method == file_magic.
5471 +file_magic_cmd=$lt_file_magic_cmd
5472 +
5473 +# Flag that allows shared libraries with undefined symbols to be built.
5474 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
5475 +
5476 +# Flag that forces no undefined symbols.
5477 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
5478 +
5479 +# Commands used to finish a libtool library installation in a directory.
5480 +finish_cmds=$lt_finish_cmds
5481 +
5482 +# Same as above, but a single script fragment to be evaled but not shown.
5483 +finish_eval=$lt_finish_eval
5484 +
5485 +# Take the output of nm and produce a listing of raw symbols and C names.
5486 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5487 +
5488 +# Transform the output of nm in a proper C declaration
5489 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5490 +
5491 +# Transform the output of nm in a C name address pair
5492 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5493 +
5494 +# This is the shared library runtime path variable.
5495 +runpath_var=$runpath_var
5496 +
5497 +# This is the shared library path variable.
5498 +shlibpath_var=$shlibpath_var
5499 +
5500 +# Is shlibpath searched before the hard-coded library search path?
5501 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
5502 +
5503 +# How to hardcode a shared library path into an executable.
5504 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
5505 +
5506 +# Whether we should hardcode library paths into libraries.
5507 +hardcode_into_libs=$hardcode_into_libs
5508 +
5509 +# Flag to hardcode \$libdir into a binary during linking.
5510 +# This must work even if \$libdir does not exist.
5511 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
5512 +
5513 +# If ld is used when linking, flag to hardcode \$libdir into
5514 +# a binary during linking. This must work even if \$libdir does
5515 +# not exist.
5516 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
5517 +
5518 +# Whether we need a single -rpath flag with a separated argument.
5519 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
5520 +
5521 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
5522 +# resulting binary.
5523 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
5524 +
5525 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
5526 +# resulting binary.
5527 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
5528 +
5529 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
5530 +# the resulting binary.
5531 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
5532 +
5533 +# Set to yes if building a shared library automatically hardcodes DIR into the library
5534 +# and all subsequent libraries and executables linked against it.
5535 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
5536 +
5537 +# Variables whose values should be saved in libtool wrapper scripts and
5538 +# restored at relink time.
5539 +variables_saved_for_relink="$variables_saved_for_relink"
5540 +
5541 +# Whether libtool must link a program against all its dependency libraries.
5542 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
5543 +
5544 +# Compile-time system search path for libraries
5545 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
5546 +
5547 +# Run-time system search path for libraries
5548 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
5549 +
5550 +# Fix the shell variable \$srcfile for the compiler.
5551 +fix_srcfile_path=$lt_fix_srcfile_path
5552 +
5553 +# Set to yes if exported symbols are required.
5554 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
5555 +
5556 +# The commands to list exported symbols.
5557 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
5558 +
5559 +# The commands to extract the exported symbol list from a shared archive.
5560 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
5561 +
5562 +# Symbols that should not be listed in the preloaded symbols.
5563 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
5564 +
5565 +# Symbols that must always be exported.
5566 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
5567 +
5568 +ifelse([$1],[],
5569 +[# ### END LIBTOOL CONFIG],
5570 +[# ### END LIBTOOL TAG CONFIG: $tagname])
5571 +
5572 +__EOF__
5573 +
5574 +ifelse([$1],[], [
5575 + case $host_os in
5576 + aix3*)
5577 + cat <<\EOF >> "$cfgfile"
5578 +
5579 +# AIX sometimes has problems with the GCC collect2 program. For some
5580 +# reason, if we set the COLLECT_NAMES environment variable, the problems
5581 +# vanish in a puff of smoke.
5582 +if test "X${COLLECT_NAMES+set}" != Xset; then
5583 + COLLECT_NAMES=
5584 + export COLLECT_NAMES
5585 +fi
5586 +EOF
5587 + ;;
5588 + esac
5589 +
5590 + # We use sed instead of cat because bash on DJGPP gets confused if
5591 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
5592 + # text mode, it properly converts lines to CR/LF. This bash problem
5593 + # is reportedly fixed, but why not run on old versions too?
5594 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
5595 +
5596 + mv -f "$cfgfile" "$ofile" || \
5597 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
5598 + chmod +x "$ofile"
5599 +])
5600 +else
5601 + # If there is no Makefile yet, we rely on a make rule to execute
5602 + # `config.status --recheck' to rerun these tests and create the
5603 + # libtool script then.
5604 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5605 + if test -f "$ltmain_in"; then
5606 + test -f Makefile && make "$ltmain"
5607 + fi
5608 +fi
5609 +])# AC_LIBTOOL_CONFIG
5610 +
5611 +
5612 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
5613 +# -------------------------------------------
5614 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
5615 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
5616 +
5617 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
5618 +
5619 +if test "$GCC" = yes; then
5620 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
5621 +
5622 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
5623 + lt_cv_prog_compiler_rtti_exceptions,
5624 + [-fno-rtti -fno-exceptions], [],
5625 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
5626 +fi
5627 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
5628 +
5629 +
5630 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5631 +# ---------------------------------
5632 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
5633 +[AC_REQUIRE([AC_CANONICAL_HOST])
5634 +AC_REQUIRE([LT_AC_PROG_SED])
5635 +AC_REQUIRE([AC_PROG_NM])
5636 +AC_REQUIRE([AC_OBJEXT])
5637 +# Check for command to grab the raw symbol name followed by C symbol from nm.
5638 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
5639 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
5640 +[
5641 +# These are sane defaults that work on at least a few old systems.
5642 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5643 +
5644 +# Character class describing NM global symbol codes.
5645 +symcode='[[BCDEGRST]]'
5646 +
5647 +# Regexp to match symbols that can be accessed directly from C.
5648 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
5649 +
5650 +# Transform an extracted symbol line into a proper C declaration
5651 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5652 +
5653 +# Transform an extracted symbol line into symbol name and symbol address
5654 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5655 +
5656 +# Define system-specific variables.
5657 +case $host_os in
5658 +aix*)
5659 + symcode='[[BCDT]]'
5660 + ;;
5661 +cygwin* | mingw* | pw32*)
5662 + symcode='[[ABCDGISTW]]'
5663 + ;;
5664 +hpux*) # Its linker distinguishes data from code symbols
5665 + if test "$host_cpu" = ia64; then
5666 + symcode='[[ABCDEGRST]]'
5667 + fi
5668 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5669 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5670 + ;;
5671 +linux* | k*bsd*-gnu)
5672 + if test "$host_cpu" = ia64; then
5673 + symcode='[[ABCDGIRSTW]]'
5674 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5675 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5676 + fi
5677 + ;;
5678 +irix* | nonstopux*)
5679 + symcode='[[BCDEGRST]]'
5680 + ;;
5681 +osf*)
5682 + symcode='[[BCDEGQRST]]'
5683 + ;;
5684 +solaris*)
5685 + symcode='[[BDRT]]'
5686 + ;;
5687 +sco3.2v5*)
5688 + symcode='[[DT]]'
5689 + ;;
5690 +sysv4.2uw2*)
5691 + symcode='[[DT]]'
5692 + ;;
5693 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
5694 + symcode='[[ABDT]]'
5695 + ;;
5696 +sysv4)
5697 + symcode='[[DFNSTU]]'
5698 + ;;
5699 +esac
5700 +
5701 +# Handle CRLF in mingw tool chain
5702 +opt_cr=
5703 +case $build_os in
5704 +mingw*)
5705 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5706 + ;;
5707 +esac
5708 +
5709 +# If we're using GNU nm, then use its standard symbol codes.
5710 +case `$NM -V 2>&1` in
5711 +*GNU* | *'with BFD'*)
5712 + symcode='[[ABCDGIRSTW]]' ;;
5713 +esac
5714 +
5715 +# Try without a prefix undercore, then with it.
5716 +for ac_symprfx in "" "_"; do
5717 +
5718 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5719 + symxfrm="\\1 $ac_symprfx\\2 \\2"
5720 +
5721 + # Write the raw and C identifiers.
5722 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5723 +
5724 + # Check to see that the pipe works correctly.
5725 + pipe_works=no
5726 +
5727 + rm -f conftest*
5728 + cat > conftest.$ac_ext <<EOF
5729 +#ifdef __cplusplus
5730 +extern "C" {
5731 +#endif
5732 +char nm_test_var;
5733 +void nm_test_func(){}
5734 +#ifdef __cplusplus
5735 +}
5736 +#endif
5737 +int main(){nm_test_var='a';nm_test_func();return(0);}
5738 +EOF
5739 +
5740 + if AC_TRY_EVAL(ac_compile); then
5741 + # Now try to grab the symbols.
5742 + nlist=conftest.nm
5743 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
5744 + # Try sorting and uniquifying the output.
5745 + if sort "$nlist" | uniq > "$nlist"T; then
5746 + mv -f "$nlist"T "$nlist"
5747 + else
5748 + rm -f "$nlist"T
5749 + fi
5750 +
5751 + # Make sure that we snagged all the symbols we need.
5752 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
5753 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
5754 + cat <<EOF > conftest.$ac_ext
5755 +#ifdef __cplusplus
5756 +extern "C" {
5757 +#endif
5758 +
5759 +EOF
5760 + # Now generate the symbol file.
5761 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5762 +
5763 + cat <<EOF >> conftest.$ac_ext
5764 +#if defined (__STDC__) && __STDC__
5765 +# define lt_ptr_t void *
5766 +#else
5767 +# define lt_ptr_t char *
5768 +# define const
5769 +#endif
5770 +
5771 +/* The mapping between symbol names and symbols. */
5772 +const struct {
5773 + const char *name;
5774 + lt_ptr_t address;
5775 +}
5776 +lt_preloaded_symbols[[]] =
5777 +{
5778 +EOF
5779 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5780 + cat <<\EOF >> conftest.$ac_ext
5781 + {0, (lt_ptr_t) 0}
5782 +};
5783 +
5784 +#ifdef __cplusplus
5785 +}
5786 +#endif
5787 +EOF
5788 + # Now try linking the two files.
5789 + mv conftest.$ac_objext conftstm.$ac_objext
5790 + lt_save_LIBS="$LIBS"
5791 + lt_save_CFLAGS="$CFLAGS"
5792 + LIBS="conftstm.$ac_objext"
5793 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
5794 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
5795 + pipe_works=yes
5796 + fi
5797 + LIBS="$lt_save_LIBS"
5798 + CFLAGS="$lt_save_CFLAGS"
5799 + else
5800 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
5801 + fi
5802 + else
5803 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
5804 + fi
5805 + else
5806 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
5807 + fi
5808 + else
5809 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
5810 + cat conftest.$ac_ext >&5
5811 + fi
5812 + rm -f conftest* conftst*
5813 +
5814 + # Do not use the global_symbol_pipe unless it works.
5815 + if test "$pipe_works" = yes; then
5816 + break
5817 + else
5818 + lt_cv_sys_global_symbol_pipe=
5819 + fi
5820 +done
5821 +])
5822 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
5823 + lt_cv_sys_global_symbol_to_cdecl=
5824 +fi
5825 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5826 + AC_MSG_RESULT(failed)
5827 +else
5828 + AC_MSG_RESULT(ok)
5829 +fi
5830 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5831 +
5832 +
5833 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
5834 +# ---------------------------------------
5835 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
5836 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
5837 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5838 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
5839 +
5840 +AC_MSG_CHECKING([for $compiler option to produce PIC])
5841 + ifelse([$1],[CXX],[
5842 + # C++ specific cases for pic, static, wl, etc.
5843 + if test "$GXX" = yes; then
5844 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5845 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5846 +
5847 + case $host_os in
5848 + aix*)
5849 + # All AIX code is PIC.
5850 + if test "$host_cpu" = ia64; then
5851 + # AIX 5 now supports IA64 processor
5852 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5853 + fi
5854 + ;;
5855 + amigaos*)
5856 + # FIXME: we need at least 68020 code to build shared libraries, but
5857 + # adding the `-m68020' flag to GCC prevents building anything better,
5858 + # like `-m68040'.
5859 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5860 + ;;
5861 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5862 + # PIC is the default for these OSes.
5863 + ;;
5864 + mingw* | cygwin* | os2* | pw32*)
5865 + # This hack is so that the source file can tell whether it is being
5866 + # built for inclusion in a dll (and should export symbols for example).
5867 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
5868 + # (--disable-auto-import) libraries
5869 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5870 + ;;
5871 + darwin* | rhapsody*)
5872 + # PIC is the default on this platform
5873 + # Common symbols not allowed in MH_DYLIB files
5874 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5875 + ;;
5876 + *djgpp*)
5877 + # DJGPP does not support shared libraries at all
5878 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5879 + ;;
5880 + interix[[3-9]]*)
5881 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5882 + # Instead, we relocate shared libraries at runtime.
5883 + ;;
5884 + sysv4*MP*)
5885 + if test -d /usr/nec; then
5886 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5887 + fi
5888 + ;;
5889 + hpux*)
5890 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5891 + # not for PA HP-UX.
5892 + case $host_cpu in
5893 + hppa*64*|ia64*)
5894 + ;;
5895 + *)
5896 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5897 + ;;
5898 + esac
5899 + ;;
5900 + *)
5901 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5902 + ;;
5903 + esac
5904 + else
5905 + case $host_os in
5906 + aix4* | aix5*)
5907 + # All AIX code is PIC.
5908 + if test "$host_cpu" = ia64; then
5909 + # AIX 5 now supports IA64 processor
5910 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5911 + else
5912 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5913 + fi
5914 + ;;
5915 + chorus*)
5916 + case $cc_basename in
5917 + cxch68*)
5918 + # Green Hills C++ Compiler
5919 + # _LT_AC_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"
5920 + ;;
5921 + esac
5922 + ;;
5923 + darwin*)
5924 + # PIC is the default on this platform
5925 + # Common symbols not allowed in MH_DYLIB files
5926 + case $cc_basename in
5927 + xlc*)
5928 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5929 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5930 + ;;
5931 + esac
5932 + ;;
5933 + dgux*)
5934 + case $cc_basename in
5935 + ec++*)
5936 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5937 + ;;
5938 + ghcx*)
5939 + # Green Hills C++ Compiler
5940 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5941 + ;;
5942 + *)
5943 + ;;
5944 + esac
5945 + ;;
5946 + freebsd* | dragonfly*)
5947 + # FreeBSD uses GNU C++
5948 + ;;
5949 + hpux9* | hpux10* | hpux11*)
5950 + case $cc_basename in
5951 + CC*)
5952 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5953 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5954 + if test "$host_cpu" != ia64; then
5955 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5956 + fi
5957 + ;;
5958 + aCC*)
5959 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5960 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5961 + case $host_cpu in
5962 + hppa*64*|ia64*)
5963 + # +Z the default
5964 + ;;
5965 + *)
5966 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5967 + ;;
5968 + esac
5969 + ;;
5970 + *)
5971 + ;;
5972 + esac
5973 + ;;
5974 + interix*)
5975 + # This is c89, which is MS Visual C++ (no shared libs)
5976 + # Anyone wants to do a port?
5977 + ;;
5978 + irix5* | irix6* | nonstopux*)
5979 + case $cc_basename in
5980 + CC*)
5981 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5982 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5983 + # CC pic flag -KPIC is the default.
5984 + ;;
5985 + *)
5986 + ;;
5987 + esac
5988 + ;;
5989 + linux* | k*bsd*-gnu)
5990 + case $cc_basename in
5991 + KCC*)
5992 + # KAI C++ Compiler
5993 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5994 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5995 + ;;
5996 + icpc* | ecpc*)
5997 + # Intel C++
5998 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5999 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6000 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6001 + ;;
6002 + pgCC*)
6003 + # Portland Group C++ compiler.
6004 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6005 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6006 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6007 + ;;
6008 + cxx*)
6009 + # Compaq C++
6010 + # Make sure the PIC flag is empty. It appears that all Alpha
6011 + # Linux and Compaq Tru64 Unix objects are PIC.
6012 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6013 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6014 + ;;
6015 + *)
6016 + case `$CC -V 2>&1 | sed 5q` in
6017 + *Sun\ C*)
6018 + # Sun C++ 5.9
6019 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6020 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6021 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6022 + ;;
6023 + esac
6024 + ;;
6025 + esac
6026 + ;;
6027 + lynxos*)
6028 + ;;
6029 + m88k*)
6030 + ;;
6031 + mvs*)
6032 + case $cc_basename in
6033 + cxx*)
6034 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
6035 + ;;
6036 + *)
6037 + ;;
6038 + esac
6039 + ;;
6040 + netbsd* | netbsdelf*-gnu)
6041 + ;;
6042 + osf3* | osf4* | osf5*)
6043 + case $cc_basename in
6044 + KCC*)
6045 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
6046 + ;;
6047 + RCC*)
6048 + # Rational C++ 2.4.1
6049 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6050 + ;;
6051 + cxx*)
6052 + # Digital/Compaq C++
6053 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6054 + # Make sure the PIC flag is empty. It appears that all Alpha
6055 + # Linux and Compaq Tru64 Unix objects are PIC.
6056 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6057 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6058 + ;;
6059 + *)
6060 + ;;
6061 + esac
6062 + ;;
6063 + psos*)
6064 + ;;
6065 + solaris*)
6066 + case $cc_basename in
6067 + CC*)
6068 + # Sun C++ 4.2, 5.x and Centerline C++
6069 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6070 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6071 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6072 + ;;
6073 + gcx*)
6074 + # Green Hills C++ Compiler
6075 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
6076 + ;;
6077 + *)
6078 + ;;
6079 + esac
6080 + ;;
6081 + sunos4*)
6082 + case $cc_basename in
6083 + CC*)
6084 + # Sun C++ 4.x
6085 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6086 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6087 + ;;
6088 + lcc*)
6089 + # Lucid
6090 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6091 + ;;
6092 + *)
6093 + ;;
6094 + esac
6095 + ;;
6096 + tandem*)
6097 + case $cc_basename in
6098 + NCC*)
6099 + # NonStop-UX NCC 3.20
6100 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6101 + ;;
6102 + *)
6103 + ;;
6104 + esac
6105 + ;;
6106 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6107 + case $cc_basename in
6108 + CC*)
6109 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6110 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6111 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6112 + ;;
6113 + esac
6114 + ;;
6115 + vxworks*)
6116 + ;;
6117 + *)
6118 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6119 + ;;
6120 + esac
6121 + fi
6122 +],
6123 +[
6124 + if test "$GCC" = yes; then
6125 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6126 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6127 +
6128 + case $host_os in
6129 + aix*)
6130 + # All AIX code is PIC.
6131 + if test "$host_cpu" = ia64; then
6132 + # AIX 5 now supports IA64 processor
6133 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6134 + fi
6135 + ;;
6136 +
6137 + amigaos*)
6138 + # FIXME: we need at least 68020 code to build shared libraries, but
6139 + # adding the `-m68020' flag to GCC prevents building anything better,
6140 + # like `-m68040'.
6141 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
6142 + ;;
6143 +
6144 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6145 + # PIC is the default for these OSes.
6146 + ;;
6147 +
6148 + mingw* | cygwin* | pw32* | os2*)
6149 + # This hack is so that the source file can tell whether it is being
6150 + # built for inclusion in a dll (and should export symbols for example).
6151 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
6152 + # (--disable-auto-import) libraries
6153 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6154 + ;;
6155 +
6156 + darwin* | rhapsody*)
6157 + # PIC is the default on this platform
6158 + # Common symbols not allowed in MH_DYLIB files
6159 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6160 + ;;
6161 +
6162 + interix[[3-9]]*)
6163 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6164 + # Instead, we relocate shared libraries at runtime.
6165 + ;;
6166 +
6167 + msdosdjgpp*)
6168 + # Just because we use GCC doesn't mean we suddenly get shared libraries
6169 + # on systems that don't support them.
6170 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6171 + enable_shared=no
6172 + ;;
6173 +
6174 + sysv4*MP*)
6175 + if test -d /usr/nec; then
6176 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
6177 + fi
6178 + ;;
6179 +
6180 + hpux*)
6181 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6182 + # not for PA HP-UX.
6183 + case $host_cpu in
6184 + hppa*64*|ia64*)
6185 + # +Z the default
6186 + ;;
6187 + *)
6188 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6189 + ;;
6190 + esac
6191 + ;;
6192 +
6193 + *)
6194 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6195 + ;;
6196 + esac
6197 + else
6198 + # PORTME Check for flag to pass linker flags through the system compiler.
6199 + case $host_os in
6200 + aix*)
6201 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6202 + if test "$host_cpu" = ia64; then
6203 + # AIX 5 now supports IA64 processor
6204 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6205 + else
6206 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
6207 + fi
6208 + ;;
6209 + darwin*)
6210 + # PIC is the default on this platform
6211 + # Common symbols not allowed in MH_DYLIB files
6212 + case $cc_basename in
6213 + xlc*)
6214 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
6215 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6216 + ;;
6217 + esac
6218 + ;;
6219 +
6220 + mingw* | cygwin* | pw32* | os2*)
6221 + # This hack is so that the source file can tell whether it is being
6222 + # built for inclusion in a dll (and should export symbols for example).
6223 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6224 + ;;
6225 +
6226 + hpux9* | hpux10* | hpux11*)
6227 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6228 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6229 + # not for PA HP-UX.
6230 + case $host_cpu in
6231 + hppa*64*|ia64*)
6232 + # +Z the default
6233 + ;;
6234 + *)
6235 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6236 + ;;
6237 + esac
6238 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
6239 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
6240 + ;;
6241 +
6242 + irix5* | irix6* | nonstopux*)
6243 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6244 + # PIC (with -KPIC) is the default.
6245 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6246 + ;;
6247 +
6248 + newsos6)
6249 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6250 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6251 + ;;
6252 +
6253 + linux* | k*bsd*-gnu)
6254 + case $cc_basename in
6255 + icc* | ecc*)
6256 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6257 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6258 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6259 + ;;
6260 + pgcc* | pgf77* | pgf90* | pgf95*)
6261 + # Portland Group compilers (*not* the Pentium gcc compiler,
6262 + # which looks to be a dead project)
6263 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6264 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6265 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6266 + ;;
6267 + ccc*)
6268 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6269 + # All Alpha code is PIC.
6270 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6271 + ;;
6272 + *)
6273 + case `$CC -V 2>&1 | sed 5q` in
6274 + *Sun\ C*)
6275 + # Sun C 5.9
6276 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6277 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6278 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6279 + ;;
6280 + *Sun\ F*)
6281 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
6282 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6283 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6284 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
6285 + ;;
6286 + esac
6287 + ;;
6288 + esac
6289 + ;;
6290 +
6291 + osf3* | osf4* | osf5*)
6292 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6293 + # All OSF/1 code is PIC.
6294 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6295 + ;;
6296 +
6297 + rdos*)
6298 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6299 + ;;
6300 +
6301 + solaris*)
6302 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6303 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6304 + case $cc_basename in
6305 + f77* | f90* | f95*)
6306 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
6307 + *)
6308 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
6309 + esac
6310 + ;;
6311 +
6312 + sunos4*)
6313 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6314 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
6315 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6316 + ;;
6317 +
6318 + sysv4 | sysv4.2uw2* | sysv4.3*)
6319 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6320 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6321 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6322 + ;;
6323 +
6324 + sysv4*MP*)
6325 + if test -d /usr/nec ;then
6326 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
6327 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6328 + fi
6329 + ;;
6330 +
6331 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6332 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6333 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6334 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6335 + ;;
6336 +
6337 + unicos*)
6338 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6339 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6340 + ;;
6341 +
6342 + uts4*)
6343 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6344 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6345 + ;;
6346 +
6347 + *)
6348 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6349 + ;;
6350 + esac
6351 + fi
6352 +])
6353 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
6354 +
6355 +#
6356 +# Check to make sure the PIC flag actually works.
6357 +#
6358 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
6359 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
6360 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
6361 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
6362 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
6363 + "" | " "*) ;;
6364 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
6365 + esac],
6366 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6367 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
6368 +fi
6369 +case $host_os in
6370 + # For platforms which do not support PIC, -DPIC is meaningless:
6371 + *djgpp*)
6372 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6373 + ;;
6374 + *)
6375 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
6376 + ;;
6377 +esac
6378 +
6379 +#
6380 +# Check to make sure the static flag actually works.
6381 +#
6382 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
6383 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
6384 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
6385 + $lt_tmp_static_flag,
6386 + [],
6387 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
6388 +])
6389 +
6390 +
6391 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
6392 +# ------------------------------------
6393 +# See if the linker supports building shared libraries.
6394 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
6395 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
6396 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
6397 +ifelse([$1],[CXX],[
6398 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6399 + case $host_os in
6400 + aix4* | aix5*)
6401 + # If we're using GNU nm, then we don't want the "-C" option.
6402 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
6403 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6404 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6405 + else
6406 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6407 + fi
6408 + ;;
6409 + pw32*)
6410 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
6411 + ;;
6412 + cygwin* | mingw*)
6413 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
6414 + ;;
6415 + linux* | k*bsd*-gnu)
6416 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6417 + ;;
6418 + *)
6419 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6420 + ;;
6421 + esac
6422 +],[
6423 + runpath_var=
6424 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6425 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6426 + _LT_AC_TAGVAR(archive_cmds, $1)=
6427 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
6428 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
6429 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
6430 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
6431 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6432 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
6433 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6434 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6435 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6436 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
6437 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6438 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6439 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
6440 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
6441 + _LT_AC_TAGVAR(module_cmds, $1)=
6442 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
6443 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
6444 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6445 + # include_expsyms should be a list of space-separated symbols to be *always*
6446 + # included in the symbol list
6447 + _LT_AC_TAGVAR(include_expsyms, $1)=
6448 + # exclude_expsyms can be an extended regexp of symbols to exclude
6449 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
6450 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6451 + # as well as any symbol that contains `d'.
6452 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
6453 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6454 + # platforms (ab)use it in PIC code, but their linkers get confused if
6455 + # the symbol is explicitly referenced. Since portable code cannot
6456 + # rely on this symbol name, it's probably fine to never include it in
6457 + # preloaded symbol tables.
6458 + extract_expsyms_cmds=
6459 + # Just being paranoid about ensuring that cc_basename is set.
6460 + _LT_CC_BASENAME([$compiler])
6461 + case $host_os in
6462 + cygwin* | mingw* | pw32*)
6463 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
6464 + # When not using gcc, we currently assume that we are using
6465 + # Microsoft Visual C++.
6466 + if test "$GCC" != yes; then
6467 + with_gnu_ld=no
6468 + fi
6469 + ;;
6470 + interix*)
6471 + # we just hope/assume this is gcc and not c89 (= MSVC++)
6472 + with_gnu_ld=yes
6473 + ;;
6474 + openbsd*)
6475 + with_gnu_ld=no
6476 + ;;
6477 + esac
6478 +
6479 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6480 + if test "$with_gnu_ld" = yes; then
6481 + # If archive_cmds runs LD, not CC, wlarc should be empty
6482 + wlarc='${wl}'
6483 +
6484 + # Set some defaults for GNU ld with shared library support. These
6485 + # are reset later if shared libraries are not supported. Putting them
6486 + # here allows them to be overridden if necessary.
6487 + runpath_var=LD_RUN_PATH
6488 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6489 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6490 + # ancient GNU ld didn't support --whole-archive et. al.
6491 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6492 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6493 + else
6494 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6495 + fi
6496 + supports_anon_versioning=no
6497 + case `$LD -v 2>/dev/null` in
6498 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
6499 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6500 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6501 + *\ 2.11.*) ;; # other 2.11 versions
6502 + *) supports_anon_versioning=yes ;;
6503 + esac
6504 +
6505 + # See if GNU ld supports shared libraries.
6506 + case $host_os in
6507 + aix3* | aix4* | aix5*)
6508 + # On AIX/PPC, the GNU linker is very broken
6509 + if test "$host_cpu" != ia64; then
6510 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6511 + cat <<EOF 1>&2
6512 +
6513 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6514 +*** to be unable to reliably create shared libraries on AIX.
6515 +*** Therefore, libtool is disabling shared libraries support. If you
6516 +*** really care for shared libraries, you may want to modify your PATH
6517 +*** so that a non-GNU linker is found, and then restart.
6518 +
6519 +EOF
6520 + fi
6521 + ;;
6522 +
6523 + amigaos*)
6524 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6525 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6526 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6527 +
6528 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6529 + # that the semantics of dynamic libraries on AmigaOS, at least up
6530 + # to version 4, is to share data among multiple programs linked
6531 + # with the same dynamic library. Since this doesn't match the
6532 + # behavior of shared libraries on other platforms, we can't use
6533 + # them.
6534 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6535 + ;;
6536 +
6537 + beos*)
6538 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6539 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6540 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6541 + # support --undefined. This deserves some investigation. FIXME
6542 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6543 + else
6544 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6545 + fi
6546 + ;;
6547 +
6548 + cygwin* | mingw* | pw32*)
6549 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6550 + # as there is no search path for DLLs.
6551 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6552 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6553 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
6554 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6555 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
6556 +
6557 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6558 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6559 + # If the export-symbols file already is a .def file (1st line
6560 + # is EXPORTS), use it as is; otherwise, prepend...
6561 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6562 + cp $export_symbols $output_objdir/$soname.def;
6563 + else
6564 + echo EXPORTS > $output_objdir/$soname.def;
6565 + cat $export_symbols >> $output_objdir/$soname.def;
6566 + fi~
6567 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6568 + else
6569 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6570 + fi
6571 + ;;
6572 +
6573 + interix[[3-9]]*)
6574 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
6575 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6576 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6577 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6578 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6579 + # Instead, shared libraries are loaded at an image base (0x10000000 by
6580 + # default) and relocated if they conflict, which is a slow very memory
6581 + # consuming and fragmenting process. To avoid this, we pick a random,
6582 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6583 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6584 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6585 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6586 + ;;
6587 +
6588 + gnu* | linux* | k*bsd*-gnu)
6589 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6590 + tmp_addflag=
6591 + case $cc_basename,$host_cpu in
6592 + pgcc*) # Portland Group C compiler
6593 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6594 + tmp_addflag=' $pic_flag'
6595 + ;;
6596 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6597 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6598 + tmp_addflag=' $pic_flag -Mnomain' ;;
6599 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6600 + tmp_addflag=' -i_dynamic' ;;
6601 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6602 + tmp_addflag=' -i_dynamic -nofor_main' ;;
6603 + ifc* | ifort*) # Intel Fortran compiler
6604 + tmp_addflag=' -nofor_main' ;;
6605 + esac
6606 + case `$CC -V 2>&1 | sed 5q` in
6607 + *Sun\ C*) # Sun C 5.9
6608 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6609 + tmp_sharedflag='-G' ;;
6610 + *Sun\ F*) # Sun Fortran 8.3
6611 + tmp_sharedflag='-G' ;;
6612 + *)
6613 + tmp_sharedflag='-shared' ;;
6614 + esac
6615 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6616 +
6617 + if test $supports_anon_versioning = yes; then
6618 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
6619 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6620 + $echo "local: *; };" >> $output_objdir/$libname.ver~
6621 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6622 + fi
6623 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6624 + else
6625 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6626 + fi
6627 + ;;
6628 +
6629 + netbsd* | netbsdelf*-gnu)
6630 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6631 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6632 + wlarc=
6633 + else
6634 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6635 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6636 + fi
6637 + ;;
6638 +
6639 + solaris*)
6640 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6641 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6642 + cat <<EOF 1>&2
6643 +
6644 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6645 +*** create shared libraries on Solaris systems. Therefore, libtool
6646 +*** is disabling shared libraries support. We urge you to upgrade GNU
6647 +*** binutils to release 2.9.1 or newer. Another option is to modify
6648 +*** your PATH or compiler configuration so that the native linker is
6649 +*** used, and then restart.
6650 +
6651 +EOF
6652 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6653 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6654 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6655 + else
6656 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6657 + fi
6658 + ;;
6659 +
6660 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
6661 + case `$LD -v 2>&1` in
6662 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
6663 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6664 + cat <<_LT_EOF 1>&2
6665 +
6666 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6667 +*** reliably create shared libraries on SCO systems. Therefore, libtool
6668 +*** is disabling shared libraries support. We urge you to upgrade GNU
6669 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6670 +*** your PATH or compiler configuration so that the native linker is
6671 +*** used, and then restart.
6672 +
6673 +_LT_EOF
6674 + ;;
6675 + *)
6676 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6677 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
6678 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
6679 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
6680 + else
6681 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6682 + fi
6683 + ;;
6684 + esac
6685 + ;;
6686 +
6687 + sunos4*)
6688 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6689 + wlarc=
6690 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6691 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6692 + ;;
6693 +
6694 + *)
6695 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6696 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6697 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6698 + else
6699 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6700 + fi
6701 + ;;
6702 + esac
6703 +
6704 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
6705 + runpath_var=
6706 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6707 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
6708 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6709 + fi
6710 + else
6711 + # PORTME fill in a description of your system's linker (not GNU ld)
6712 + case $host_os in
6713 + aix3*)
6714 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6715 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6716 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6717 + # Note: this linker hardcodes the directories in LIBPATH if there
6718 + # are no directories specified by -L.
6719 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6720 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6721 + # Neither direct hardcoding nor static linking is supported with a
6722 + # broken collect2.
6723 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
6724 + fi
6725 + ;;
6726 +
6727 + aix4* | aix5*)
6728 + if test "$host_cpu" = ia64; then
6729 + # On IA64, the linker does run time linking by default, so we don't
6730 + # have to do anything special.
6731 + aix_use_runtimelinking=no
6732 + exp_sym_flag='-Bexport'
6733 + no_entry_flag=""
6734 + else
6735 + # If we're using GNU nm, then we don't want the "-C" option.
6736 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
6737 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6738 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6739 + else
6740 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6741 + fi
6742 + aix_use_runtimelinking=no
6743 +
6744 + # Test if we are trying to use run time linking or normal
6745 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6746 + # need to do runtime linking.
6747 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
6748 + for ld_flag in $LDFLAGS; do
6749 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6750 + aix_use_runtimelinking=yes
6751 + break
6752 + fi
6753 + done
6754 + ;;
6755 + esac
6756 +
6757 + exp_sym_flag='-bexport'
6758 + no_entry_flag='-bnoentry'
6759 + fi
6760 +
6761 + # When large executables or shared objects are built, AIX ld can
6762 + # have problems creating the table of contents. If linking a library
6763 + # or program results in "error TOC overflow" add -mminimal-toc to
6764 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6765 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6766 +
6767 + _LT_AC_TAGVAR(archive_cmds, $1)=''
6768 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6769 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6770 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6771 +
6772 + if test "$GCC" = yes; then
6773 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
6774 + # We only want to do this on AIX 4.2 and lower, the check
6775 + # below for broken collect2 doesn't work under 4.3+
6776 + collect2name=`${CC} -print-prog-name=collect2`
6777 + if test -f "$collect2name" && \
6778 + strings "$collect2name" | grep resolve_lib_name >/dev/null
6779 + then
6780 + # We have reworked collect2
6781 + :
6782 + else
6783 + # We have old collect2
6784 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
6785 + # It fails to find uninstalled libraries when the uninstalled
6786 + # path is not listed in the libpath. Setting hardcode_minus_L
6787 + # to unsupported forces relinking
6788 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6789 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6790 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6791 + fi
6792 + ;;
6793 + esac
6794 + shared_flag='-shared'
6795 + if test "$aix_use_runtimelinking" = yes; then
6796 + shared_flag="$shared_flag "'${wl}-G'
6797 + fi
6798 + else
6799 + # not using gcc
6800 + if test "$host_cpu" = ia64; then
6801 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6802 + # chokes on -Wl,-G. The following line is correct:
6803 + shared_flag='-G'
6804 + else
6805 + if test "$aix_use_runtimelinking" = yes; then
6806 + shared_flag='${wl}-G'
6807 + else
6808 + shared_flag='${wl}-bM:SRE'
6809 + fi
6810 + fi
6811 + fi
6812 +
6813 + # It seems that -bexpall does not export symbols beginning with
6814 + # underscore (_), so it is better to generate a list of symbols to export.
6815 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6816 + if test "$aix_use_runtimelinking" = yes; then
6817 + # Warning - without using the other runtime loading flags (-brtl),
6818 + # -berok will link without error, but may produce a broken library.
6819 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
6820 + # Determine the default libpath from the value encoded in an empty executable.
6821 + _LT_AC_SYS_LIBPATH_AIX
6822 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6823 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6824 + else
6825 + if test "$host_cpu" = ia64; then
6826 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
6827 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6828 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
6829 + else
6830 + # Determine the default libpath from the value encoded in an empty executable.
6831 + _LT_AC_SYS_LIBPATH_AIX
6832 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6833 + # Warning - without using the other run time loading flags,
6834 + # -berok will link without error, but may produce a broken library.
6835 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
6836 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6837 + # Exported symbols can be pulled into shared objects from archives
6838 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6839 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6840 + # This is similar to how AIX traditionally builds its shared libraries.
6841 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6842 + fi
6843 + fi
6844 + ;;
6845 +
6846 + amigaos*)
6847 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6848 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6849 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6850 + # see comment about different semantics on the GNU ld section
6851 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6852 + ;;
6853 +
6854 + bsdi[[45]]*)
6855 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
6856 + ;;
6857 +
6858 + cygwin* | mingw* | pw32*)
6859 + # When not using gcc, we currently assume that we are using
6860 + # Microsoft Visual C++.
6861 + # hardcode_libdir_flag_spec is actually meaningless, as there is
6862 + # no search path for DLLs.
6863 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6864 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6865 + # Tell ltmain to make .lib files, not .a files.
6866 + libext=lib
6867 + # Tell ltmain to make .dll files, not .so files.
6868 + shrext_cmds=".dll"
6869 + # FIXME: Setting linknames here is a bad hack.
6870 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6871 + # The linker will automatically build a .lib file if we build a DLL.
6872 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
6873 + # FIXME: Should let the user specify the lib program.
6874 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
6875 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
6876 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6877 + ;;
6878 +
6879 + darwin* | rhapsody*)
6880 + case $host_os in
6881 + rhapsody* | darwin1.[[012]])
6882 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
6883 + ;;
6884 + *) # Darwin 1.3 on
6885 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6886 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6887 + else
6888 + case ${MACOSX_DEPLOYMENT_TARGET} in
6889 + 10.[[012]])
6890 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6891 + ;;
6892 + 10.*)
6893 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
6894 + ;;
6895 + esac
6896 + fi
6897 + ;;
6898 + esac
6899 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6900 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
6901 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
6902 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6903 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
6904 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6905 + if test "$GCC" = yes ; then
6906 + output_verbose_link_cmd='echo'
6907 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6908 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6909 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6910 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6911 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6912 + else
6913 + case $cc_basename in
6914 + xlc*)
6915 + output_verbose_link_cmd='echo'
6916 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
6917 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6918 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6919 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6920 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6921 + ;;
6922 + *)
6923 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6924 + ;;
6925 + esac
6926 + fi
6927 + ;;
6928 +
6929 + dgux*)
6930 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6931 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6932 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6933 + ;;
6934 +
6935 + freebsd1*)
6936 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
6937 + ;;
6938 +
6939 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6940 + # support. Future versions do this automatically, but an explicit c++rt0.o
6941 + # does not break anything, and helps significantly (at the cost of a little
6942 + # extra space).
6943 + freebsd2.2*)
6944 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6945 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6946 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6947 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6948 + ;;
6949 +
6950 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6951 + freebsd2*)
6952 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6953 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6954 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6955 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6956 + ;;
6957 +
6958 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6959 + freebsd* | dragonfly*)
6960 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6961 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6962 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6963 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6964 + ;;
6965 +
6966 + hpux9*)
6967 + if test "$GCC" = yes; then
6968 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6969 + else
6970 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6971 + fi
6972 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6973 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6974 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6975 +
6976 + # hardcode_minus_L: Not really in the search PATH,
6977 + # but as the default location of the library.
6978 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6979 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6980 + ;;
6981 +
6982 + hpux10*)
6983 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6984 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6985 + else
6986 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6987 + fi
6988 + if test "$with_gnu_ld" = no; then
6989 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6990 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6991 +
6992 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6993 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6994 +
6995 + # hardcode_minus_L: Not really in the search PATH,
6996 + # but as the default location of the library.
6997 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6998 + fi
6999 + ;;
7000 +
7001 + hpux11*)
7002 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7003 + case $host_cpu in
7004 + hppa*64*)
7005 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7006 + ;;
7007 + ia64*)
7008 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7009 + ;;
7010 + *)
7011 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7012 + ;;
7013 + esac
7014 + else
7015 + case $host_cpu in
7016 + hppa*64*)
7017 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7018 + ;;
7019 + ia64*)
7020 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7021 + ;;
7022 + *)
7023 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7024 + ;;
7025 + esac
7026 + fi
7027 + if test "$with_gnu_ld" = no; then
7028 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7029 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7030 +
7031 + case $host_cpu in
7032 + hppa*64*|ia64*)
7033 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
7034 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7035 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7036 + ;;
7037 + *)
7038 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7039 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7040 +
7041 + # hardcode_minus_L: Not really in the search PATH,
7042 + # but as the default location of the library.
7043 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7044 + ;;
7045 + esac
7046 + fi
7047 + ;;
7048 +
7049 + irix5* | irix6* | nonstopux*)
7050 + if test "$GCC" = yes; then
7051 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7052 + else
7053 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7054 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
7055 + fi
7056 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7057 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7058 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7059 + ;;
7060 +
7061 + netbsd* | netbsdelf*-gnu)
7062 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7063 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7064 + else
7065 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7066 + fi
7067 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7068 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7069 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7070 + ;;
7071 +
7072 + newsos6)
7073 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7074 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7075 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7076 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7077 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7078 + ;;
7079 +
7080 + openbsd*)
7081 + if test -f /usr/libexec/ld.so; then
7082 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7083 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7084 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7085 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7086 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7087 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7088 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7089 + else
7090 + case $host_os in
7091 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
7092 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7093 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7094 + ;;
7095 + *)
7096 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7097 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7098 + ;;
7099 + esac
7100 + fi
7101 + else
7102 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7103 + fi
7104 + ;;
7105 +
7106 + os2*)
7107 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7108 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7109 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7110 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7111 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7112 + ;;
7113 +
7114 + osf3*)
7115 + if test "$GCC" = yes; then
7116 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7117 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7118 + else
7119 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7120 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7121 + fi
7122 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7123 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7124 + ;;
7125 +
7126 + osf4* | osf5*) # as osf3* with the addition of -msym flag
7127 + if test "$GCC" = yes; then
7128 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7129 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7130 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7131 + else
7132 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7133 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7134 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7135 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7136 +
7137 + # Both c and cxx compiler support -rpath directly
7138 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7139 + fi
7140 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7141 + ;;
7142 +
7143 + solaris*)
7144 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
7145 + if test "$GCC" = yes; then
7146 + wlarc='${wl}'
7147 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7148 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7149 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7150 + else
7151 + wlarc=''
7152 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7153 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7154 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7155 + fi
7156 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7157 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7158 + case $host_os in
7159 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7160 + *)
7161 + # The compiler driver will combine and reorder linker options,
7162 + # but understands `-z linker_flag'. GCC discards it without `$wl',
7163 + # but is careful enough not to reorder.
7164 + # Supported since Solaris 2.6 (maybe 2.5.1?)
7165 + if test "$GCC" = yes; then
7166 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7167 + else
7168 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7169 + fi
7170 + ;;
7171 + esac
7172 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7173 + ;;
7174 +
7175 + sunos4*)
7176 + if test "x$host_vendor" = xsequent; then
7177 + # Use $CC to link under sequent, because it throws in some extra .o
7178 + # files that make .init and .fini sections work.
7179 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7180 + else
7181 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7182 + fi
7183 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7184 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7185 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7186 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7187 + ;;
7188 +
7189 + sysv4)
7190 + case $host_vendor in
7191 + sni)
7192 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7193 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
7194 + ;;
7195 + siemens)
7196 + ## LD is ld it makes a PLAMLIB
7197 + ## CC just makes a GrossModule.
7198 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7199 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
7200 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7201 + ;;
7202 + motorola)
7203 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7204 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
7205 + ;;
7206 + esac
7207 + runpath_var='LD_RUN_PATH'
7208 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7209 + ;;
7210 +
7211 + sysv4.3*)
7212 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7213 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7214 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
7215 + ;;
7216 +
7217 + sysv4*MP*)
7218 + if test -d /usr/nec; then
7219 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7220 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7221 + runpath_var=LD_RUN_PATH
7222 + hardcode_runpath_var=yes
7223 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7224 + fi
7225 + ;;
7226 +
7227 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
7228 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7229 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7230 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7231 + runpath_var='LD_RUN_PATH'
7232 +
7233 + if test "$GCC" = yes; then
7234 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7235 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7236 + else
7237 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7238 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7239 + fi
7240 + ;;
7241 +
7242 + sysv5* | sco3.2v5* | sco5v6*)
7243 + # Note: We can NOT use -z defs as we might desire, because we do not
7244 + # link with -lc, and that would cause any symbols used from libc to
7245 + # always be unresolved, which means just about no library would
7246 + # ever link correctly. If we're not using GNU ld we use -z text
7247 + # though, which does catch some bad symbols but isn't as heavy-handed
7248 + # as -z defs.
7249 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7250 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
7251 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7252 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7253 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7254 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7255 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7256 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
7257 + runpath_var='LD_RUN_PATH'
7258 +
7259 + if test "$GCC" = yes; then
7260 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7261 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7262 + else
7263 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7264 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7265 + fi
7266 + ;;
7267 +
7268 + uts4*)
7269 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7270 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7271 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7272 + ;;
7273 +
7274 + *)
7275 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7276 + ;;
7277 + esac
7278 + fi
7279 +])
7280 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
7281 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
7282 +
7283 +#
7284 +# Do we need to explicitly link libc?
7285 +#
7286 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
7287 +x|xyes)
7288 + # Assume -lc should be added
7289 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7290 +
7291 + if test "$enable_shared" = yes && test "$GCC" = yes; then
7292 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
7293 + *'~'*)
7294 + # FIXME: we may have to deal with multi-command sequences.
7295 + ;;
7296 + '$CC '*)
7297 + # Test whether the compiler implicitly links with -lc since on some
7298 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
7299 + # to ld, don't add -lc before -lgcc.
7300 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
7301 + $rm conftest*
7302 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7303 +
7304 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
7305 + soname=conftest
7306 + lib=conftest
7307 + libobjs=conftest.$ac_objext
7308 + deplibs=
7309 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
7310 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
7311 + compiler_flags=-v
7312 + linker_flags=-v
7313 + verstring=
7314 + output_objdir=.
7315 + libname=conftest
7316 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
7317 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
7318 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
7319 + then
7320 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7321 + else
7322 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7323 + fi
7324 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
7325 + else
7326 + cat conftest.err 1>&5
7327 + fi
7328 + $rm conftest*
7329 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
7330 + ;;
7331 + esac
7332 + fi
7333 + ;;
7334 +esac
7335 +])# AC_LIBTOOL_PROG_LD_SHLIBS
7336 +
7337 +
7338 +# _LT_AC_FILE_LTDLL_C
7339 +# -------------------
7340 +# Be careful that the start marker always follows a newline.
7341 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
7342 +# /* ltdll.c starts here */
7343 +# #define WIN32_LEAN_AND_MEAN
7344 +# #include <windows.h>
7345 +# #undef WIN32_LEAN_AND_MEAN
7346 +# #include <stdio.h>
7347 +#
7348 +# #ifndef __CYGWIN__
7349 +# # ifdef __CYGWIN32__
7350 +# # define __CYGWIN__ __CYGWIN32__
7351 +# # endif
7352 +# #endif
7353 +#
7354 +# #ifdef __cplusplus
7355 +# extern "C" {
7356 +# #endif
7357 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
7358 +# #ifdef __cplusplus
7359 +# }
7360 +# #endif
7361 +#
7362 +# #ifdef __CYGWIN__
7363 +# #include <cygwin/cygwin_dll.h>
7364 +# DECLARE_CYGWIN_DLL( DllMain );
7365 +# #endif
7366 +# HINSTANCE __hDllInstance_base;
7367 +#
7368 +# BOOL APIENTRY
7369 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
7370 +# {
7371 +# __hDllInstance_base = hInst;
7372 +# return TRUE;
7373 +# }
7374 +# /* ltdll.c ends here */
7375 +])# _LT_AC_FILE_LTDLL_C
7376 +
7377 +
7378 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
7379 +# ---------------------------------
7380 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
7381 +
7382 +
7383 +# old names
7384 +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
7385 +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
7386 +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
7387 +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
7388 +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
7389 +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
7390 +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
7391 +
7392 +# This is just to silence aclocal about the macro not being used
7393 +ifelse([AC_DISABLE_FAST_INSTALL])
7394 +
7395 +AC_DEFUN([LT_AC_PROG_GCJ],
7396 +[AC_CHECK_TOOL(GCJ, gcj, no)
7397 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
7398 + AC_SUBST(GCJFLAGS)
7399 +])
7400 +
7401 +AC_DEFUN([LT_AC_PROG_RC],
7402 +[AC_CHECK_TOOL(RC, windres, no)
7403 +])
7404 +
7405 +
7406 +# Cheap backport of AS_EXECUTABLE_P and required macros
7407 +# from Autoconf 2.59; we should not use $as_executable_p directly.
7408 +
7409 +# _AS_TEST_PREPARE
7410 +# ----------------
7411 +m4_ifndef([_AS_TEST_PREPARE],
7412 +[m4_defun([_AS_TEST_PREPARE],
7413 +[if test -x / >/dev/null 2>&1; then
7414 + as_executable_p='test -x'
7415 +else
7416 + as_executable_p='test -f'
7417 +fi
7418 +])])# _AS_TEST_PREPARE
7419 +
7420 +# AS_EXECUTABLE_P
7421 +# ---------------
7422 +# Check whether a file is executable.
7423 +m4_ifndef([AS_EXECUTABLE_P],
7424 +[m4_defun([AS_EXECUTABLE_P],
7425 +[AS_REQUIRE([_AS_TEST_PREPARE])dnl
7426 +$as_executable_p $1[]dnl
7427 +])])# AS_EXECUTABLE_P
7428 +
7429 +# NOTE: This macro has been submitted for inclusion into #
7430 +# GNU Autoconf as AC_PROG_SED. When it is available in #
7431 +# a released version of Autoconf we should remove this #
7432 +# macro and use it instead. #
7433 +# LT_AC_PROG_SED
7434 +# --------------
7435 +# Check for a fully-functional sed program, that truncates
7436 +# as few characters as possible. Prefer GNU sed if found.
7437 +AC_DEFUN([LT_AC_PROG_SED],
7438 +[AC_MSG_CHECKING([for a sed that does not truncate output])
7439 +AC_CACHE_VAL(lt_cv_path_SED,
7440 +[# Loop through the user's path and test for sed and gsed.
7441 +# Then use that list of sed's as ones to test for truncation.
7442 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 +for as_dir in $PATH
7444 +do
7445 + IFS=$as_save_IFS
7446 + test -z "$as_dir" && as_dir=.
7447 + for lt_ac_prog in sed gsed; do
7448 + for ac_exec_ext in '' $ac_executable_extensions; do
7449 + if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
7450 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7451 + fi
7452 + done
7453 + done
7454 +done
7455 +IFS=$as_save_IFS
7456 +lt_ac_max=0
7457 +lt_ac_count=0
7458 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7459 +# along with /bin/sed that truncates output.
7460 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7461 + test ! -f $lt_ac_sed && continue
7462 + cat /dev/null > conftest.in
7463 + lt_ac_count=0
7464 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7465 + # Check for GNU sed and select it if it is found.
7466 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7467 + lt_cv_path_SED=$lt_ac_sed
7468 + break
7469 + fi
7470 + while true; do
7471 + cat conftest.in conftest.in >conftest.tmp
7472 + mv conftest.tmp conftest.in
7473 + cp conftest.in conftest.nl
7474 + echo >>conftest.nl
7475 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7476 + cmp -s conftest.out conftest.nl || break
7477 + # 10000 chars as input seems more than enough
7478 + test $lt_ac_count -gt 10 && break
7479 + lt_ac_count=`expr $lt_ac_count + 1`
7480 + if test $lt_ac_count -gt $lt_ac_max; then
7481 + lt_ac_max=$lt_ac_count
7482 + lt_cv_path_SED=$lt_ac_sed
7483 + fi
7484 + done
7485 +done
7486 +])
7487 +SED=$lt_cv_path_SED
7488 +AC_SUBST([SED])
7489 +AC_MSG_RESULT([$SED])
7490 +])
7491 +
7492 +# CFLAGS and library paths for XMMS
7493 +# written 15 December 1999 by Ben Gertzfield <che@debian.org>
7494 +
7495 +dnl Usage:
7496 +dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
7497 +dnl
7498 +dnl Example:
7499 +dnl AM_PATH_XMMS(0.9.5.1, , AC_MSG_ERROR([*** XMMS >= 0.9.5.1 not installed - please install first ***]))
7500 +dnl
7501 +dnl Defines XMMS_CFLAGS, XMMS_LIBS, XMMS_DATA_DIR, XMMS_PLUGIN_DIR,
7502 +dnl XMMS_VISUALIZATION_PLUGIN_DIR, XMMS_INPUT_PLUGIN_DIR,
7503 +dnl XMMS_OUTPUT_PLUGIN_DIR, XMMS_GENERAL_PLUGIN_DIR, XMMS_EFFECT_PLUGIN_DIR,
7504 +dnl and XMMS_VERSION for your plugin pleasure.
7505 +dnl
7506 +
7507 +dnl XMMS_TEST_VERSION(AVAILABLE-VERSION, NEEDED-VERSION [, ACTION-IF-OKAY [, ACTION-IF-NOT-OKAY]])
7508 +AC_DEFUN([XMMS_TEST_VERSION], [
7509 +
7510 +# Determine which version number is greater. Prints 2 to stdout if
7511 +# the second number is greater, 1 if the first number is greater,
7512 +# 0 if the numbers are equal.
7513 +
7514 +# Written 15 December 1999 by Ben Gertzfield <che@debian.org>
7515 +# Revised 15 December 1999 by Jim Monty <monty@primenet.com>
7516 +
7517 + AC_PROG_AWK
7518 + xmms_got_version=[` $AWK ' \
7519 +BEGIN { \
7520 + print vercmp(ARGV[1], ARGV[2]); \
7521 +} \
7522 + \
7523 +function vercmp(ver1, ver2, ver1arr, ver2arr, \
7524 + ver1len, ver2len, \
7525 + ver1int, ver2int, len, i, p) { \
7526 + \
7527 + ver1len = split(ver1, ver1arr, /\./); \
7528 + ver2len = split(ver2, ver2arr, /\./); \
7529 + \
7530 + len = ver1len > ver2len ? ver1len : ver2len; \
7531 + \
7532 + for (i = 1; i <= len; i++) { \
7533 + p = 1000 ^ (len - i); \
7534 + ver1int += ver1arr[i] * p; \
7535 + ver2int += ver2arr[i] * p; \
7536 + } \
7537 + \
7538 + if (ver1int < ver2int) \
7539 + return 2; \
7540 + else if (ver1int > ver2int) \
7541 + return 1; \
7542 + else \
7543 + return 0; \
7544 +}' $1 $2`]
7545 +
7546 + if test $xmms_got_version -eq 2; then # failure
7547 + ifelse([$4], , :, $4)
7548 + else # success!
7549 + ifelse([$3], , :, $3)
7550 + fi
7551 +])
7552 +
7553 +AC_DEFUN([AM_PATH_XMMS],
7554 +[
7555 +AC_ARG_WITH(xmms-prefix,[ --with-xmms-prefix=PFX Prefix where XMMS is installed (optional)],
7556 + xmms_config_prefix="$withval", xmms_config_prefix="")
7557 +AC_ARG_WITH(xmms-exec-prefix,[ --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)],
7558 + xmms_config_exec_prefix="$withval", xmms_config_exec_prefix="")
7559 +
7560 +if test x$xmms_config_exec_prefix != x; then
7561 + xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
7562 + if test x${XMMS_CONFIG+set} != xset; then
7563 + XMMS_CONFIG=$xmms_config_exec_prefix/bin/xmms-config
7564 + fi
7565 +fi
7566 +
7567 +if test x$xmms_config_prefix != x; then
7568 + xmms_config_args="$xmms_config_args --prefix=$xmms_config_prefix"
7569 + if test x${XMMS_CONFIG+set} != xset; then
7570 + XMMS_CONFIG=$xmms_config_prefix/bin/xmms-config
7571 + fi
7572 +fi
7573 +
7574 +AC_PATH_PROG(XMMS_CONFIG, xmms-config, no)
7575 +min_xmms_version=ifelse([$1], ,0.9.5.1, $1)
7576 +
7577 +if test "$XMMS_CONFIG" = "no"; then
7578 + no_xmms=yes
7579 +else
7580 + XMMS_CFLAGS=`$XMMS_CONFIG $xmms_config_args --cflags`
7581 + XMMS_LIBS=`$XMMS_CONFIG $xmms_config_args --libs`
7582 + XMMS_VERSION=`$XMMS_CONFIG $xmms_config_args --version`
7583 + XMMS_DATA_DIR=`$XMMS_CONFIG $xmms_config_args --data-dir`
7584 + XMMS_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --plugin-dir`
7585 + XMMS_VISUALIZATION_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args \
7586 + --visualization-plugin-dir`
7587 + XMMS_INPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --input-plugin-dir`
7588 + XMMS_OUTPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --output-plugin-dir`
7589 + XMMS_EFFECT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
7590 + XMMS_GENERAL_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
7591 +
7592 + XMMS_TEST_VERSION($XMMS_VERSION, $min_xmms_version, ,no_xmms=version)
7593 +fi
7594 +
7595 +AC_MSG_CHECKING(for XMMS - version >= $min_xmms_version)
7596 +
7597 +if test "x$no_xmms" = x; then
7598 + AC_MSG_RESULT(yes)
7599 + ifelse([$2], , :, [$2])
7600 +else
7601 + AC_MSG_RESULT(no)
7602 +
7603 + if test "$XMMS_CONFIG" = "no" ; then
7604 + echo "*** The xmms-config script installed by XMMS could not be found."
7605 + echo "*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in"
7606 + echo "*** your path, or set the XMMS_CONFIG environment variable to the"
7607 + echo "*** full path to xmms-config."
7608 + else
7609 + if test "$no_xmms" = "version"; then
7610 + echo "*** An old version of XMMS, $XMMS_VERSION, was found."
7611 + echo "*** You need a version of XMMS newer than $min_xmms_version."
7612 + echo "*** The latest version of XMMS is always available from"
7613 + echo "*** http://www.xmms.org/"
7614 + echo "***"
7615 +
7616 + echo "*** If you have already installed a sufficiently new version, this error"
7617 + echo "*** probably means that the wrong copy of the xmms-config shell script is"
7618 + echo "*** being found. The easiest way to fix this is to remove the old version"
7619 + echo "*** of XMMS, but you can also set the XMMS_CONFIG environment to point to the"
7620 + echo "*** correct copy of xmms-config. (In this case, you will have to"
7621 + echo "*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf"
7622 + echo "*** so that the correct libraries are found at run-time)"
7623 + fi
7624 + fi
7625 + XMMS_CFLAGS=""
7626 + XMMS_LIBS=""
7627 + ifelse([$3], , :, [$3])
7628 +fi
7629 +AC_SUBST(XMMS_CFLAGS)
7630 +AC_SUBST(XMMS_LIBS)
7631 +AC_SUBST(XMMS_VERSION)
7632 +AC_SUBST(XMMS_DATA_DIR)
7633 +AC_SUBST(XMMS_PLUGIN_DIR)
7634 +AC_SUBST(XMMS_VISUALIZATION_PLUGIN_DIR)
7635 +AC_SUBST(XMMS_INPUT_PLUGIN_DIR)
7636 +AC_SUBST(XMMS_OUTPUT_PLUGIN_DIR)
7637 +AC_SUBST(XMMS_GENERAL_PLUGIN_DIR)
7638 +AC_SUBST(XMMS_EFFECT_PLUGIN_DIR)
7639 +])
7640 +
7641 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
7642 +#
7643 +# This file is free software; the Free Software Foundation
7644 +# gives unlimited permission to copy and/or distribute it,
7645 +# with or without modifications, as long as this notice is preserved.
7646 +
7647 +# AM_AUTOMAKE_VERSION(VERSION)
7648 +# ----------------------------
7649 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
7650 +# generated from the m4 files accompanying Automake X.Y.
7651 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
7652 +
7653 +# AM_SET_CURRENT_AUTOMAKE_VERSION
7654 +# -------------------------------
7655 +# Call AM_AUTOMAKE_VERSION so it can be traced.
7656 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7657 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7658 + [AM_AUTOMAKE_VERSION([1.9.6])])
7659 +
7660 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
7661 +
7662 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7663 +#
7664 +# This file is free software; the Free Software Foundation
7665 +# gives unlimited permission to copy and/or distribute it,
7666 +# with or without modifications, as long as this notice is preserved.
7667 +
7668 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
7669 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
7670 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
7671 +#
7672 +# Of course, Automake must honor this variable whenever it calls a
7673 +# tool from the auxiliary directory. The problem is that $srcdir (and
7674 +# therefore $ac_aux_dir as well) can be either absolute or relative,
7675 +# depending on how configure is run. This is pretty annoying, since
7676 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
7677 +# source directory, any form will work fine, but in subdirectories a
7678 +# relative path needs to be adjusted first.
7679 +#
7680 +# $ac_aux_dir/missing
7681 +# fails when called from a subdirectory if $ac_aux_dir is relative
7682 +# $top_srcdir/$ac_aux_dir/missing
7683 +# fails if $ac_aux_dir is absolute,
7684 +# fails when called from a subdirectory in a VPATH build with
7685 +# a relative $ac_aux_dir
7686 +#
7687 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
7688 +# are both prefixed by $srcdir. In an in-source build this is usually
7689 +# harmless because $srcdir is `.', but things will broke when you
7690 +# start a VPATH build or use an absolute $srcdir.
7691 +#
7692 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
7693 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
7694 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
7695 +# and then we would define $MISSING as
7696 +# MISSING="\${SHELL} $am_aux_dir/missing"
7697 +# This will work as long as MISSING is not called from configure, because
7698 +# unfortunately $(top_srcdir) has no meaning in configure.
7699 +# However there are other variables, like CC, which are often used in
7700 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
7701 +#
7702 +# Another solution, used here, is to always expand $ac_aux_dir to an
7703 +# absolute PATH. The drawback is that using absolute paths prevent a
7704 +# configured tree to be moved without reconfiguration.
7705 +
7706 +AC_DEFUN([AM_AUX_DIR_EXPAND],
7707 +[dnl Rely on autoconf to set up CDPATH properly.
7708 +AC_PREREQ([2.50])dnl
7709 +# expand $ac_aux_dir to an absolute path
7710 +am_aux_dir=`cd $ac_aux_dir && pwd`
7711 +])
7712 +
7713 +# AM_CONDITIONAL -*- Autoconf -*-
7714 +
7715 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
7716 +# Free Software Foundation, Inc.
7717 +#
7718 +# This file is free software; the Free Software Foundation
7719 +# gives unlimited permission to copy and/or distribute it,
7720 +# with or without modifications, as long as this notice is preserved.
7721 +
7722 +# serial 7
7723 +
7724 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
7725 +# -------------------------------------
7726 +# Define a conditional.
7727 +AC_DEFUN([AM_CONDITIONAL],
7728 +[AC_PREREQ(2.52)dnl
7729 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
7730 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
7731 +AC_SUBST([$1_TRUE])
7732 +AC_SUBST([$1_FALSE])
7733 +if $2; then
7734 + $1_TRUE=
7735 + $1_FALSE='#'
7736 +else
7737 + $1_TRUE='#'
7738 + $1_FALSE=
7739 +fi
7740 +AC_CONFIG_COMMANDS_PRE(
7741 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
7742 + AC_MSG_ERROR([[conditional "$1" was never defined.
7743 +Usually this means the macro was only invoked conditionally.]])
7744 +fi])])
7745 +
7746 +
7747 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7748 +# Free Software Foundation, Inc.
7749 +#
7750 +# This file is free software; the Free Software Foundation
7751 +# gives unlimited permission to copy and/or distribute it,
7752 +# with or without modifications, as long as this notice is preserved.
7753 +
7754 +# serial 8
7755 +
7756 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
7757 +# written in clear, in which case automake, when reading aclocal.m4,
7758 +# will think it sees a *use*, and therefore will trigger all it's
7759 +# C support machinery. Also note that it means that autoscan, seeing
7760 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
7761 +
7762 +
7763 +# _AM_DEPENDENCIES(NAME)
7764 +# ----------------------
7765 +# See how the compiler implements dependency checking.
7766 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
7767 +# We try a few techniques and use that to set a single cache variable.
7768 +#
7769 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
7770 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
7771 +# dependency, and given that the user is not expected to run this macro,
7772 +# just rely on AC_PROG_CC.
7773 +AC_DEFUN([_AM_DEPENDENCIES],
7774 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
7775 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
7776 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
7777 +AC_REQUIRE([AM_DEP_TRACK])dnl
7778 +
7779 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
7780 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
7781 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
7782 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
7783 + [depcc="$$1" am_compiler_list=])
7784 +
7785 +AC_CACHE_CHECK([dependency style of $depcc],
7786 + [am_cv_$1_dependencies_compiler_type],
7787 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7788 + # We make a subdir and do the tests there. Otherwise we can end up
7789 + # making bogus files that we don't know about and never remove. For
7790 + # instance it was reported that on HP-UX the gcc test will end up
7791 + # making a dummy file named `D' -- because `-MD' means `put the output
7792 + # in D'.
7793 + mkdir conftest.dir
7794 + # Copy depcomp to subdir because otherwise we won't find it if we're
7795 + # using a relative directory.
7796 + cp "$am_depcomp" conftest.dir
7797 + cd conftest.dir
7798 + # We will build objects and dependencies in a subdirectory because
7799 + # it helps to detect inapplicable dependency modes. For instance
7800 + # both Tru64's cc and ICC support -MD to output dependencies as a
7801 + # side effect of compilation, but ICC will put the dependencies in
7802 + # the current directory while Tru64 will put them in the object
7803 + # directory.
7804 + mkdir sub
7805 +
7806 + am_cv_$1_dependencies_compiler_type=none
7807 + if test "$am_compiler_list" = ""; then
7808 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
7809 + fi
7810 + for depmode in $am_compiler_list; do
7811 + # Setup a source with many dependencies, because some compilers
7812 + # like to wrap large dependency lists on column 80 (with \), and
7813 + # we should not choose a depcomp mode which is confused by this.
7814 + #
7815 + # We need to recreate these files for each test, as the compiler may
7816 + # overwrite some of them when testing with obscure command lines.
7817 + # This happens at least with the AIX C compiler.
7818 + : > sub/conftest.c
7819 + for i in 1 2 3 4 5 6; do
7820 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
7821 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7822 + # Solaris 8's {/usr,}/bin/sh.
7823 + touch sub/conftst$i.h
7824 + done
7825 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7826 +
7827 + case $depmode in
7828 + nosideeffect)
7829 + # after this tag, mechanisms are not by side-effect, so they'll
7830 + # only be used when explicitly requested
7831 + if test "x$enable_dependency_tracking" = xyes; then
7832 + continue
7833 + else
7834 + break
7835 + fi
7836 + ;;
7837 + none) break ;;
7838 + esac
7839 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
7840 + # mode. It turns out that the SunPro C++ compiler does not properly
7841 + # handle `-M -o', and we need to detect this.
7842 + if depmode=$depmode \
7843 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7844 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7845 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7846 + >/dev/null 2>conftest.err &&
7847 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7848 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7849 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7850 + # icc doesn't choke on unknown options, it will just issue warnings
7851 + # or remarks (even with -Werror). So we grep stderr for any message
7852 + # that says an option was ignored or not supported.
7853 + # When given -MP, icc 7.0 and 7.1 complain thusly:
7854 + # icc: Command line warning: ignoring option '-M'; no argument required
7855 + # The diagnosis changed in icc 8.0:
7856 + # icc: Command line remark: option '-MP' not supported
7857 + if (grep 'ignoring option' conftest.err ||
7858 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7859 + am_cv_$1_dependencies_compiler_type=$depmode
7860 + break
7861 + fi
7862 + fi
7863 + done
7864 +
7865 + cd ..
7866 + rm -rf conftest.dir
7867 +else
7868 + am_cv_$1_dependencies_compiler_type=none
7869 +fi
7870 +])
7871 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
7872 +AM_CONDITIONAL([am__fastdep$1], [
7873 + test "x$enable_dependency_tracking" != xno \
7874 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
7875 +])
7876 +
7877 +
7878 +# AM_SET_DEPDIR
7879 +# -------------
7880 +# Choose a directory name for dependency files.
7881 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
7882 +AC_DEFUN([AM_SET_DEPDIR],
7883 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
7884 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
7885 +])
7886 +
7887 +
7888 +# AM_DEP_TRACK
7889 +# ------------
7890 +AC_DEFUN([AM_DEP_TRACK],
7891 +[AC_ARG_ENABLE(dependency-tracking,
7892 +[ --disable-dependency-tracking speeds up one-time build
7893 + --enable-dependency-tracking do not reject slow dependency extractors])
7894 +if test "x$enable_dependency_tracking" != xno; then
7895 + am_depcomp="$ac_aux_dir/depcomp"
7896 + AMDEPBACKSLASH='\'
7897 +fi
7898 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
7899 +AC_SUBST([AMDEPBACKSLASH])
7900 +])
7901 +
7902 +# Generate code to set up dependency tracking. -*- Autoconf -*-
7903 +
7904 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7905 +# Free Software Foundation, Inc.
7906 +#
7907 +# This file is free software; the Free Software Foundation
7908 +# gives unlimited permission to copy and/or distribute it,
7909 +# with or without modifications, as long as this notice is preserved.
7910 +
7911 +#serial 3
7912 +
7913 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
7914 +# ------------------------------
7915 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
7916 +[for mf in $CONFIG_FILES; do
7917 + # Strip MF so we end up with the name of the file.
7918 + mf=`echo "$mf" | sed -e 's/:.*$//'`
7919 + # Check whether this is an Automake generated Makefile or not.
7920 + # We used to match only the files named `Makefile.in', but
7921 + # some people rename them; so instead we look at the file content.
7922 + # Grep'ing the first line is not enough: some people post-process
7923 + # each Makefile.in and add a new line on top of each file to say so.
7924 + # So let's grep whole file.
7925 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7926 + dirpart=`AS_DIRNAME("$mf")`
7927 + else
7928 + continue
7929 + fi
7930 + # Extract the definition of DEPDIR, am__include, and am__quote
7931 + # from the Makefile without running `make'.
7932 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7933 + test -z "$DEPDIR" && continue
7934 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
7935 + test -z "am__include" && continue
7936 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7937 + # When using ansi2knr, U may be empty or an underscore; expand it
7938 + U=`sed -n 's/^U = //p' < "$mf"`
7939 + # Find all dependency output files, they are included files with
7940 + # $(DEPDIR) in their names. We invoke sed twice because it is the
7941 + # simplest approach to changing $(DEPDIR) to its actual value in the
7942 + # expansion.
7943 + for file in `sed -n "
7944 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7945 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7946 + # Make sure the directory exists.
7947 + test -f "$dirpart/$file" && continue
7948 + fdir=`AS_DIRNAME(["$file"])`
7949 + AS_MKDIR_P([$dirpart/$fdir])
7950 + # echo "creating $dirpart/$file"
7951 + echo '# dummy' > "$dirpart/$file"
7952 + done
7953 +done
7954 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
7955 +
7956 +
7957 +# AM_OUTPUT_DEPENDENCY_COMMANDS
7958 +# -----------------------------
7959 +# This macro should only be invoked once -- use via AC_REQUIRE.
7960 +#
7961 +# This code is only required when automatic dependency tracking
7962 +# is enabled. FIXME. This creates each `.P' file that we will
7963 +# need in order to bootstrap the dependency handling code.
7964 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
7965 +[AC_CONFIG_COMMANDS([depfiles],
7966 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
7967 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
7968 +])
7969 +
7970 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
7971 +# Free Software Foundation, Inc.
7972 +#
7973 +# This file is free software; the Free Software Foundation
7974 +# gives unlimited permission to copy and/or distribute it,
7975 +# with or without modifications, as long as this notice is preserved.
7976 +
7977 +# serial 8
7978 +
7979 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
7980 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
7981 +
7982 +# Do all the work for Automake. -*- Autoconf -*-
7983 +
7984 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
7985 +# Free Software Foundation, Inc.
7986 +#
7987 +# This file is free software; the Free Software Foundation
7988 +# gives unlimited permission to copy and/or distribute it,
7989 +# with or without modifications, as long as this notice is preserved.
7990 +
7991 +# serial 12
7992 +
7993 +# This macro actually does too much. Some checks are only needed if
7994 +# your package does certain things. But this isn't really a big deal.
7995 +
7996 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
7997 +# AM_INIT_AUTOMAKE([OPTIONS])
7998 +# -----------------------------------------------
7999 +# The call with PACKAGE and VERSION arguments is the old style
8000 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
8001 +# and VERSION should now be passed to AC_INIT and removed from
8002 +# the call to AM_INIT_AUTOMAKE.
8003 +# We support both call styles for the transition. After
8004 +# the next Automake release, Autoconf can make the AC_INIT
8005 +# arguments mandatory, and then we can depend on a new Autoconf
8006 +# release and drop the old call support.
8007 +AC_DEFUN([AM_INIT_AUTOMAKE],
8008 +[AC_PREREQ([2.58])dnl
8009 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
8010 +dnl the ones we care about.
8011 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8012 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
8013 +AC_REQUIRE([AC_PROG_INSTALL])dnl
8014 +# test to see if srcdir already configured
8015 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
8016 + test -f $srcdir/config.status; then
8017 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8018 +fi
8019 +
8020 +# test whether we have cygpath
8021 +if test -z "$CYGPATH_W"; then
8022 + if (cygpath --version) >/dev/null 2>/dev/null; then
8023 + CYGPATH_W='cygpath -w'
8024 + else
8025 + CYGPATH_W=echo
8026 + fi
8027 +fi
8028 +AC_SUBST([CYGPATH_W])
8029 +
8030 +# Define the identity of the package.
8031 +dnl Distinguish between old-style and new-style calls.
8032 +m4_ifval([$2],
8033 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
8034 + AC_SUBST([PACKAGE], [$1])dnl
8035 + AC_SUBST([VERSION], [$2])],
8036 +[_AM_SET_OPTIONS([$1])dnl
8037 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8038 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
8039 +
8040 +_AM_IF_OPTION([no-define],,
8041 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
8042 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
8043 +
8044 +# Some tools Automake needs.
8045 +AC_REQUIRE([AM_SANITY_CHECK])dnl
8046 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
8047 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
8048 +AM_MISSING_PROG(AUTOCONF, autoconf)
8049 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
8050 +AM_MISSING_PROG(AUTOHEADER, autoheader)
8051 +AM_MISSING_PROG(MAKEINFO, makeinfo)
8052 +AM_PROG_INSTALL_SH
8053 +AM_PROG_INSTALL_STRIP
8054 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
8055 +# We need awk for the "check" target. The system "awk" is bad on
8056 +# some platforms.
8057 +AC_REQUIRE([AC_PROG_AWK])dnl
8058 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
8059 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8060 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
8061 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8062 + [_AM_PROG_TAR([v7])])])
8063 +_AM_IF_OPTION([no-dependencies],,
8064 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
8065 + [_AM_DEPENDENCIES(CC)],
8066 + [define([AC_PROG_CC],
8067 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8068 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
8069 + [_AM_DEPENDENCIES(CXX)],
8070 + [define([AC_PROG_CXX],
8071 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8072 +])
8073 +])
8074 +
8075 +
8076 +# When config.status generates a header, we must update the stamp-h file.
8077 +# This file resides in the same directory as the config header
8078 +# that is generated. The stamp files are numbered to have different names.
8079 +
8080 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
8081 +# loop where config.status creates the headers, so we can generate
8082 +# our stamp files there.
8083 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
8084 +[# Compute $1's index in $config_headers.
8085 +_am_stamp_count=1
8086 +for _am_header in $config_headers :; do
8087 + case $_am_header in
8088 + $1 | $1:* )
8089 + break ;;
8090 + * )
8091 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8092 + esac
8093 +done
8094 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
8095 +
8096 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8097 +#
8098 +# This file is free software; the Free Software Foundation
8099 +# gives unlimited permission to copy and/or distribute it,
8100 +# with or without modifications, as long as this notice is preserved.
8101 +
8102 +# AM_PROG_INSTALL_SH
8103 +# ------------------
8104 +# Define $install_sh.
8105 +AC_DEFUN([AM_PROG_INSTALL_SH],
8106 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8107 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
8108 +AC_SUBST(install_sh)])
8109 +
8110 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
8111 +#
8112 +# This file is free software; the Free Software Foundation
8113 +# gives unlimited permission to copy and/or distribute it,
8114 +# with or without modifications, as long as this notice is preserved.
8115 +
8116 +# serial 2
8117 +
8118 +# Check whether the underlying file-system supports filenames
8119 +# with a leading dot. For instance MS-DOS doesn't.
8120 +AC_DEFUN([AM_SET_LEADING_DOT],
8121 +[rm -rf .tst 2>/dev/null
8122 +mkdir .tst 2>/dev/null
8123 +if test -d .tst; then
8124 + am__leading_dot=.
8125 +else
8126 + am__leading_dot=_
8127 +fi
8128 +rmdir .tst 2>/dev/null
8129 +AC_SUBST([am__leading_dot])])
8130 +
8131 +# Check to see how 'make' treats includes. -*- Autoconf -*-
8132 +
8133 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
8134 +#
8135 +# This file is free software; the Free Software Foundation
8136 +# gives unlimited permission to copy and/or distribute it,
8137 +# with or without modifications, as long as this notice is preserved.
8138 +
8139 +# serial 3
8140 +
8141 +# AM_MAKE_INCLUDE()
8142 +# -----------------
8143 +# Check to see how make treats includes.
8144 +AC_DEFUN([AM_MAKE_INCLUDE],
8145 +[am_make=${MAKE-make}
8146 +cat > confinc << 'END'
8147 +am__doit:
8148 + @echo done
8149 +.PHONY: am__doit
8150 +END
8151 +# If we don't find an include directive, just comment out the code.
8152 +AC_MSG_CHECKING([for style of include used by $am_make])
8153 +am__include="#"
8154 +am__quote=
8155 +_am_result=none
8156 +# First try GNU make style include.
8157 +echo "include confinc" > confmf
8158 +# We grep out `Entering directory' and `Leaving directory'
8159 +# messages which can occur if `w' ends up in MAKEFLAGS.
8160 +# In particular we don't look at `^make:' because GNU make might
8161 +# be invoked under some other name (usually "gmake"), in which
8162 +# case it prints its new name instead of `make'.
8163 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8164 + am__include=include
8165 + am__quote=
8166 + _am_result=GNU
8167 +fi
8168 +# Now try BSD make style include.
8169 +if test "$am__include" = "#"; then
8170 + echo '.include "confinc"' > confmf
8171 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8172 + am__include=.include
8173 + am__quote="\""
8174 + _am_result=BSD
8175 + fi
8176 +fi
8177 +AC_SUBST([am__include])
8178 +AC_SUBST([am__quote])
8179 +AC_MSG_RESULT([$_am_result])
8180 +rm -f confinc confmf
8181 +])
8182 +
8183 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
8184 +
8185 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
8186 +# Free Software Foundation, Inc.
8187 +#
8188 +# This file is free software; the Free Software Foundation
8189 +# gives unlimited permission to copy and/or distribute it,
8190 +# with or without modifications, as long as this notice is preserved.
8191 +
8192 +# serial 4
8193 +
8194 +# AM_MISSING_PROG(NAME, PROGRAM)
8195 +# ------------------------------
8196 +AC_DEFUN([AM_MISSING_PROG],
8197 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
8198 +$1=${$1-"${am_missing_run}$2"}
8199 +AC_SUBST($1)])
8200 +
8201 +
8202 +# AM_MISSING_HAS_RUN
8203 +# ------------------
8204 +# Define MISSING if not defined so far and test if it supports --run.
8205 +# If it does, set am_missing_run to use it, otherwise, to nothing.
8206 +AC_DEFUN([AM_MISSING_HAS_RUN],
8207 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8208 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
8209 +# Use eval to expand $SHELL
8210 +if eval "$MISSING --run true"; then
8211 + am_missing_run="$MISSING --run "
8212 +else
8213 + am_missing_run=
8214 + AC_MSG_WARN([`missing' script is too old or missing])
8215 +fi
8216 +])
8217 +
8218 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
8219 +#
8220 +# This file is free software; the Free Software Foundation
8221 +# gives unlimited permission to copy and/or distribute it,
8222 +# with or without modifications, as long as this notice is preserved.
8223 +
8224 +# AM_PROG_MKDIR_P
8225 +# ---------------
8226 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
8227 +#
8228 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
8229 +# created by `make install' are always world readable, even if the
8230 +# installer happens to have an overly restrictive umask (e.g. 077).
8231 +# This was a mistake. There are at least two reasons why we must not
8232 +# use `-m 0755':
8233 +# - it causes special bits like SGID to be ignored,
8234 +# - it may be too restrictive (some setups expect 775 directories).
8235 +#
8236 +# Do not use -m 0755 and let people choose whatever they expect by
8237 +# setting umask.
8238 +#
8239 +# We cannot accept any implementation of `mkdir' that recognizes `-p'.
8240 +# Some implementations (such as Solaris 8's) are not thread-safe: if a
8241 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
8242 +# concurrently, both version can detect that a/ is missing, but only
8243 +# one can create it and the other will error out. Consequently we
8244 +# restrict ourselves to GNU make (using the --version option ensures
8245 +# this.)
8246 +AC_DEFUN([AM_PROG_MKDIR_P],
8247 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
8248 + # We used to keeping the `.' as first argument, in order to
8249 + # allow $(mkdir_p) to be used without argument. As in
8250 + # $(mkdir_p) $(somedir)
8251 + # where $(somedir) is conditionally defined. However this is wrong
8252 + # for two reasons:
8253 + # 1. if the package is installed by a user who cannot write `.'
8254 + # make install will fail,
8255 + # 2. the above comment should most certainly read
8256 + # $(mkdir_p) $(DESTDIR)$(somedir)
8257 + # so it does not work when $(somedir) is undefined and
8258 + # $(DESTDIR) is not.
8259 + # To support the latter case, we have to write
8260 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
8261 + # so the `.' trick is pointless.
8262 + mkdir_p='mkdir -p --'
8263 +else
8264 + # On NextStep and OpenStep, the `mkdir' command does not
8265 + # recognize any option. It will interpret all options as
8266 + # directories to create, and then abort because `.' already
8267 + # exists.
8268 + for d in ./-p ./--version;
8269 + do
8270 + test -d $d && rmdir $d
8271 + done
8272 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
8273 + if test -f "$ac_aux_dir/mkinstalldirs"; then
8274 + mkdir_p='$(mkinstalldirs)'
8275 + else
8276 + mkdir_p='$(install_sh) -d'
8277 + fi
8278 +fi
8279 +AC_SUBST([mkdir_p])])
8280 +
8281 +# Helper functions for option handling. -*- Autoconf -*-
8282 +
8283 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
8284 +#
8285 +# This file is free software; the Free Software Foundation
8286 +# gives unlimited permission to copy and/or distribute it,
8287 +# with or without modifications, as long as this notice is preserved.
8288 +
8289 +# serial 3
8290 +
8291 +# _AM_MANGLE_OPTION(NAME)
8292 +# -----------------------
8293 +AC_DEFUN([_AM_MANGLE_OPTION],
8294 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
8295 +
8296 +# _AM_SET_OPTION(NAME)
8297 +# ------------------------------
8298 +# Set option NAME. Presently that only means defining a flag for this option.
8299 +AC_DEFUN([_AM_SET_OPTION],
8300 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
8301 +
8302 +# _AM_SET_OPTIONS(OPTIONS)
8303 +# ----------------------------------
8304 +# OPTIONS is a space-separated list of Automake options.
8305 +AC_DEFUN([_AM_SET_OPTIONS],
8306 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
8307 +
8308 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
8309 +# -------------------------------------------
8310 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
8311 +AC_DEFUN([_AM_IF_OPTION],
8312 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
8313 +
8314 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
8315 +
8316 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
8317 +# Free Software Foundation, Inc.
8318 +#
8319 +# This file is free software; the Free Software Foundation
8320 +# gives unlimited permission to copy and/or distribute it,
8321 +# with or without modifications, as long as this notice is preserved.
8322 +
8323 +# serial 4
8324 +
8325 +# AM_SANITY_CHECK
8326 +# ---------------
8327 +AC_DEFUN([AM_SANITY_CHECK],
8328 +[AC_MSG_CHECKING([whether build environment is sane])
8329 +# Just in case
8330 +sleep 1
8331 +echo timestamp > conftest.file
8332 +# Do `set' in a subshell so we don't clobber the current shell's
8333 +# arguments. Must try -L first in case configure is actually a
8334 +# symlink; some systems play weird games with the mod time of symlinks
8335 +# (eg FreeBSD returns the mod time of the symlink's containing
8336 +# directory).
8337 +if (
8338 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
8339 + if test "$[*]" = "X"; then
8340 + # -L didn't work.
8341 + set X `ls -t $srcdir/configure conftest.file`
8342 + fi
8343 + rm -f conftest.file
8344 + if test "$[*]" != "X $srcdir/configure conftest.file" \
8345 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
8346 +
8347 + # If neither matched, then we have a broken ls. This can happen
8348 + # if, for instance, CONFIG_SHELL is bash and it inherits a
8349 + # broken ls alias from the environment. This has actually
8350 + # happened. Such a system could not be considered "sane".
8351 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
8352 +alias in your environment])
8353 + fi
8354 +
8355 + test "$[2]" = conftest.file
8356 + )
8357 +then
8358 + # Ok.
8359 + :
8360 +else
8361 + AC_MSG_ERROR([newly created file is older than distributed files!
8362 +Check your system clock])
8363 +fi
8364 +AC_MSG_RESULT(yes)])
8365 +
8366 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8367 +#
8368 +# This file is free software; the Free Software Foundation
8369 +# gives unlimited permission to copy and/or distribute it,
8370 +# with or without modifications, as long as this notice is preserved.
8371 +
8372 +# AM_PROG_INSTALL_STRIP
8373 +# ---------------------
8374 +# One issue with vendor `install' (even GNU) is that you can't
8375 +# specify the program used to strip binaries. This is especially
8376 +# annoying in cross-compiling environments, where the build's strip
8377 +# is unlikely to handle the host's binaries.
8378 +# Fortunately install-sh will honor a STRIPPROG variable, so we
8379 +# always use install-sh in `make install-strip', and initialize
8380 +# STRIPPROG with the value of the STRIP variable (set by the user).
8381 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
8382 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
8383 +# Installed binaries are usually stripped using `strip' when the user
8384 +# run `make install-strip'. However `strip' might not be the right
8385 +# tool to use in cross-compilation environments, therefore Automake
8386 +# will honor the `STRIP' environment variable to overrule this program.
8387 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
8388 +if test "$cross_compiling" != no; then
8389 + AC_CHECK_TOOL([STRIP], [strip], :)
8390 +fi
8391 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8392 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
8393 +
8394 +# Check how to create a tarball. -*- Autoconf -*-
8395 +
8396 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
8397 +#
8398 +# This file is free software; the Free Software Foundation
8399 +# gives unlimited permission to copy and/or distribute it,
8400 +# with or without modifications, as long as this notice is preserved.
8401 +
8402 +# serial 2
8403 +
8404 +# _AM_PROG_TAR(FORMAT)
8405 +# --------------------
8406 +# Check how to create a tarball in format FORMAT.
8407 +# FORMAT should be one of `v7', `ustar', or `pax'.
8408 +#
8409 +# Substitute a variable $(am__tar) that is a command
8410 +# writing to stdout a FORMAT-tarball containing the directory
8411 +# $tardir.
8412 +# tardir=directory && $(am__tar) > result.tar
8413 +#
8414 +# Substitute a variable $(am__untar) that extract such
8415 +# a tarball read from stdin.
8416 +# $(am__untar) < result.tar
8417 +AC_DEFUN([_AM_PROG_TAR],
8418 +[# Always define AMTAR for backward compatibility.
8419 +AM_MISSING_PROG([AMTAR], [tar])
8420 +m4_if([$1], [v7],
8421 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
8422 + [m4_case([$1], [ustar],, [pax],,
8423 + [m4_fatal([Unknown tar format])])
8424 +AC_MSG_CHECKING([how to create a $1 tar archive])
8425 +# Loop over all known methods to create a tar archive until one works.
8426 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
8427 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
8428 +# Do not fold the above two line into one, because Tru64 sh and
8429 +# Solaris sh will not grok spaces in the rhs of `-'.
8430 +for _am_tool in $_am_tools
8431 +do
8432 + case $_am_tool in
8433 + gnutar)
8434 + for _am_tar in tar gnutar gtar;
8435 + do
8436 + AM_RUN_LOG([$_am_tar --version]) && break
8437 + done
8438 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
8439 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
8440 + am__untar="$_am_tar -xf -"
8441 + ;;
8442 + plaintar)
8443 + # Must skip GNU tar: if it does not support --format= it doesn't create
8444 + # ustar tarball either.
8445 + (tar --version) >/dev/null 2>&1 && continue
8446 + am__tar='tar chf - "$$tardir"'
8447 + am__tar_='tar chf - "$tardir"'
8448 + am__untar='tar xf -'
8449 + ;;
8450 + pax)
8451 + am__tar='pax -L -x $1 -w "$$tardir"'
8452 + am__tar_='pax -L -x $1 -w "$tardir"'
8453 + am__untar='pax -r'
8454 + ;;
8455 + cpio)
8456 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
8457 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
8458 + am__untar='cpio -i -H $1 -d'
8459 + ;;
8460 + none)
8461 + am__tar=false
8462 + am__tar_=false
8463 + am__untar=false
8464 + ;;
8465 + esac
8466 +
8467 + # If the value was cached, stop now. We just wanted to have am__tar
8468 + # and am__untar set.
8469 + test -n "${am_cv_prog_tar_$1}" && break
8470 +
8471 + # tar/untar a dummy directory, and stop if the command works
8472 + rm -rf conftest.dir
8473 + mkdir conftest.dir
8474 + echo GrepMe > conftest.dir/file
8475 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
8476 + rm -rf conftest.dir
8477 + if test -s conftest.tar; then
8478 + AM_RUN_LOG([$am__untar <conftest.tar])
8479 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
8480 + fi
8481 +done
8482 +rm -rf conftest.dir
8483 +
8484 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
8485 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
8486 +AC_SUBST([am__tar])
8487 +AC_SUBST([am__untar])
8488 +]) # _AM_PROG_TAR
8489 +
8490 diff -urNad faad2-svn~/common/Makefile.in faad2-svn/common/Makefile.in
8491 --- faad2-svn~/common/Makefile.in 1970-01-01 01:00:00.000000000 +0100
8492 +++ faad2-svn/common/Makefile.in 2007-12-25 22:22:07.000000000 +0000
8493 @@ -0,0 +1,492 @@
8494 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
8495 +# @configure_input@
8496 +
8497 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
8498 +# 2003, 2004, 2005 Free Software Foundation, Inc.
8499 +# This Makefile.in is free software; the Free Software Foundation
8500 +# gives unlimited permission to copy and/or distribute it,
8501 +# with or without modifications, as long as this notice is preserved.
8502 +
8503 +# This program is distributed in the hope that it will be useful,
8504 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
8505 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
8506 +# PARTICULAR PURPOSE.
8507 +
8508 +@SET_MAKE@
8509 +srcdir = @srcdir@
8510 +top_srcdir = @top_srcdir@
8511 +VPATH = @srcdir@
8512 +pkgdatadir = $(datadir)/@PACKAGE@
8513 +pkglibdir = $(libdir)/@PACKAGE@
8514 +pkgincludedir = $(includedir)/@PACKAGE@
8515 +top_builddir = ..
8516 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
8517 +INSTALL = @INSTALL@
8518 +install_sh_DATA = $(install_sh) -c -m 644
8519 +install_sh_PROGRAM = $(install_sh) -c
8520 +install_sh_SCRIPT = $(install_sh) -c
8521 +INSTALL_HEADER = $(INSTALL_DATA)
8522 +transform = $(program_transform_name)
8523 +NORMAL_INSTALL = :
8524 +PRE_INSTALL = :
8525 +POST_INSTALL = :
8526 +NORMAL_UNINSTALL = :
8527 +PRE_UNINSTALL = :
8528 +POST_UNINSTALL = :
8529 +build_triplet = @build@
8530 +host_triplet = @host@
8531 +subdir = common
8532 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8533 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8534 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
8535 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8536 + $(ACLOCAL_M4)
8537 +mkinstalldirs = $(install_sh) -d
8538 +CONFIG_HEADER = $(top_builddir)/config.h
8539 +CONFIG_CLEAN_FILES =
8540 +SOURCES =
8541 +DIST_SOURCES =
8542 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
8543 + html-recursive info-recursive install-data-recursive \
8544 + install-exec-recursive install-info-recursive \
8545 + install-recursive installcheck-recursive installdirs-recursive \
8546 + pdf-recursive ps-recursive uninstall-info-recursive \
8547 + uninstall-recursive
8548 +ETAGS = etags
8549 +CTAGS = ctags
8550 +DIST_SUBDIRS = $(SUBDIRS)
8551 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
8552 +ACLOCAL = @ACLOCAL@
8553 +AMDEP_FALSE = @AMDEP_FALSE@
8554 +AMDEP_TRUE = @AMDEP_TRUE@
8555 +AMTAR = @AMTAR@
8556 +AR = @AR@
8557 +AUTOCONF = @AUTOCONF@
8558 +AUTOHEADER = @AUTOHEADER@
8559 +AUTOMAKE = @AUTOMAKE@
8560 +AWK = @AWK@
8561 +CC = @CC@
8562 +CCDEPMODE = @CCDEPMODE@
8563 +CFLAGS = @CFLAGS@
8564 +CPP = @CPP@
8565 +CPPFLAGS = @CPPFLAGS@
8566 +CXX = @CXX@
8567 +CXXCPP = @CXXCPP@
8568 +CXXDEPMODE = @CXXDEPMODE@
8569 +CXXFLAGS = @CXXFLAGS@
8570 +CYGPATH_W = @CYGPATH_W@
8571 +DEFS = @DEFS@
8572 +DEPDIR = @DEPDIR@
8573 +ECHO = @ECHO@
8574 +ECHO_C = @ECHO_C@
8575 +ECHO_N = @ECHO_N@
8576 +ECHO_T = @ECHO_T@
8577 +EGREP = @EGREP@
8578 +EXEEXT = @EXEEXT@
8579 +F77 = @F77@
8580 +FFLAGS = @FFLAGS@
8581 +GREP = @GREP@
8582 +GTK_CONFIG = @GTK_CONFIG@
8583 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
8584 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
8585 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
8586 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
8587 +INSTALL_DATA = @INSTALL_DATA@
8588 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
8589 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
8590 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8591 +LDFLAGS = @LDFLAGS@
8592 +LIBOBJS = @LIBOBJS@
8593 +LIBS = @LIBS@
8594 +LIBTOOL = @LIBTOOL@
8595 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
8596 +LN_S = @LN_S@
8597 +LTLIBOBJS = @LTLIBOBJS@
8598 +MAKEINFO = @MAKEINFO@
8599 +MP4FF_LIBS = @MP4FF_LIBS@
8600 +OBJEXT = @OBJEXT@
8601 +PACKAGE = @PACKAGE@
8602 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
8603 +PACKAGE_NAME = @PACKAGE_NAME@
8604 +PACKAGE_STRING = @PACKAGE_STRING@
8605 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
8606 +PACKAGE_VERSION = @PACKAGE_VERSION@
8607 +PATH_SEPARATOR = @PATH_SEPARATOR@
8608 +RANLIB = @RANLIB@
8609 +RPMBUILD = @RPMBUILD@
8610 +SED = @SED@
8611 +SET_MAKE = @SET_MAKE@
8612 +SHELL = @SHELL@
8613 +STRIP = @STRIP@
8614 +VERSION = @VERSION@
8615 +XMMS_CFLAGS = @XMMS_CFLAGS@
8616 +XMMS_CONFIG = @XMMS_CONFIG@
8617 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
8618 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
8619 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
8620 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
8621 +XMMS_LIBS = @XMMS_LIBS@
8622 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
8623 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
8624 +XMMS_VERSION = @XMMS_VERSION@
8625 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
8626 +ac_ct_CC = @ac_ct_CC@
8627 +ac_ct_CXX = @ac_ct_CXX@
8628 +ac_ct_F77 = @ac_ct_F77@
8629 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
8630 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
8631 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
8632 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
8633 +am__include = @am__include@
8634 +am__leading_dot = @am__leading_dot@
8635 +am__quote = @am__quote@
8636 +am__tar = @am__tar@
8637 +am__untar = @am__untar@
8638 +bindir = @bindir@
8639 +build = @build@
8640 +build_alias = @build_alias@
8641 +build_cpu = @build_cpu@
8642 +build_os = @build_os@
8643 +build_vendor = @build_vendor@
8644 +datadir = @datadir@
8645 +datarootdir = @datarootdir@
8646 +docdir = @docdir@
8647 +dvidir = @dvidir@
8648 +exec_prefix = @exec_prefix@
8649 +external_mp4v2 = @external_mp4v2@
8650 +host = @host@
8651 +host_alias = @host_alias@
8652 +host_cpu = @host_cpu@
8653 +host_os = @host_os@
8654 +host_vendor = @host_vendor@
8655 +htmldir = @htmldir@
8656 +includedir = @includedir@
8657 +infodir = @infodir@
8658 +install_sh = @install_sh@
8659 +libdir = @libdir@
8660 +libexecdir = @libexecdir@
8661 +localedir = @localedir@
8662 +localstatedir = @localstatedir@
8663 +mandir = @mandir@
8664 +mkdir_p = @mkdir_p@
8665 +oldincludedir = @oldincludedir@
8666 +pdfdir = @pdfdir@
8667 +prefix = @prefix@
8668 +program_transform_name = @program_transform_name@
8669 +psdir = @psdir@
8670 +sbindir = @sbindir@
8671 +sharedstatedir = @sharedstatedir@
8672 +sysconfdir = @sysconfdir@
8673 +target_alias = @target_alias@
8674 +SUBDIRS = mp4ff
8675 +all: all-recursive
8676 +
8677 +.SUFFIXES:
8678 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
8679 + @for dep in $?; do \
8680 + case '$(am__configure_deps)' in \
8681 + *$$dep*) \
8682 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
8683 + && exit 0; \
8684 + exit 1;; \
8685 + esac; \
8686 + done; \
8687 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu common/Makefile'; \
8688 + cd $(top_srcdir) && \
8689 + $(AUTOMAKE) --gnu common/Makefile
8690 +.PRECIOUS: Makefile
8691 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
8692 + @case '$?' in \
8693 + *config.status*) \
8694 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
8695 + *) \
8696 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
8697 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
8698 + esac;
8699 +
8700 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
8701 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
8702 +
8703 +$(top_srcdir)/configure: $(am__configure_deps)
8704 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
8705 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
8706 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
8707 +
8708 +mostlyclean-libtool:
8709 + -rm -f *.lo
8710 +
8711 +clean-libtool:
8712 + -rm -rf .libs _libs
8713 +
8714 +distclean-libtool:
8715 + -rm -f libtool
8716 +uninstall-info-am:
8717 +
8718 +# This directory's subdirectories are mostly independent; you can cd
8719 +# into them and run `make' without going through this Makefile.
8720 +# To change the values of `make' variables: instead of editing Makefiles,
8721 +# (1) if the variable is set in `config.status', edit `config.status'
8722 +# (which will cause the Makefiles to be regenerated when you run `make');
8723 +# (2) otherwise, pass the desired values on the `make' command line.
8724 +$(RECURSIVE_TARGETS):
8725 + @failcom='exit 1'; \
8726 + for f in x $$MAKEFLAGS; do \
8727 + case $$f in \
8728 + *=* | --[!k]*);; \
8729 + *k*) failcom='fail=yes';; \
8730 + esac; \
8731 + done; \
8732 + dot_seen=no; \
8733 + target=`echo $@ | sed s/-recursive//`; \
8734 + list='$(SUBDIRS)'; for subdir in $$list; do \
8735 + echo "Making $$target in $$subdir"; \
8736 + if test "$$subdir" = "."; then \
8737 + dot_seen=yes; \
8738 + local_target="$$target-am"; \
8739 + else \
8740 + local_target="$$target"; \
8741 + fi; \
8742 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
8743 + || eval $$failcom; \
8744 + done; \
8745 + if test "$$dot_seen" = "no"; then \
8746 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
8747 + fi; test -z "$$fail"
8748 +
8749 +mostlyclean-recursive clean-recursive distclean-recursive \
8750 +maintainer-clean-recursive:
8751 + @failcom='exit 1'; \
8752 + for f in x $$MAKEFLAGS; do \
8753 + case $$f in \
8754 + *=* | --[!k]*);; \
8755 + *k*) failcom='fail=yes';; \
8756 + esac; \
8757 + done; \
8758 + dot_seen=no; \
8759 + case "$@" in \
8760 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
8761 + *) list='$(SUBDIRS)' ;; \
8762 + esac; \
8763 + rev=''; for subdir in $$list; do \
8764 + if test "$$subdir" = "."; then :; else \
8765 + rev="$$subdir $$rev"; \
8766 + fi; \
8767 + done; \
8768 + rev="$$rev ."; \
8769 + target=`echo $@ | sed s/-recursive//`; \
8770 + for subdir in $$rev; do \
8771 + echo "Making $$target in $$subdir"; \
8772 + if test "$$subdir" = "."; then \
8773 + local_target="$$target-am"; \
8774 + else \
8775 + local_target="$$target"; \
8776 + fi; \
8777 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
8778 + || eval $$failcom; \
8779 + done && test -z "$$fail"
8780 +tags-recursive:
8781 + list='$(SUBDIRS)'; for subdir in $$list; do \
8782 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
8783 + done
8784 +ctags-recursive:
8785 + list='$(SUBDIRS)'; for subdir in $$list; do \
8786 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
8787 + done
8788 +
8789 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
8790 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
8791 + unique=`for i in $$list; do \
8792 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
8793 + done | \
8794 + $(AWK) ' { files[$$0] = 1; } \
8795 + END { for (i in files) print i; }'`; \
8796 + mkid -fID $$unique
8797 +tags: TAGS
8798 +
8799 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
8800 + $(TAGS_FILES) $(LISP)
8801 + tags=; \
8802 + here=`pwd`; \
8803 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
8804 + include_option=--etags-include; \
8805 + empty_fix=.; \
8806 + else \
8807 + include_option=--include; \
8808 + empty_fix=; \
8809 + fi; \
8810 + list='$(SUBDIRS)'; for subdir in $$list; do \
8811 + if test "$$subdir" = .; then :; else \
8812 + test ! -f $$subdir/TAGS || \
8813 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
8814 + fi; \
8815 + done; \
8816 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
8817 + unique=`for i in $$list; do \
8818 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
8819 + done | \
8820 + $(AWK) ' { files[$$0] = 1; } \
8821 + END { for (i in files) print i; }'`; \
8822 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
8823 + test -n "$$unique" || unique=$$empty_fix; \
8824 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
8825 + $$tags $$unique; \
8826 + fi
8827 +ctags: CTAGS
8828 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
8829 + $(TAGS_FILES) $(LISP)
8830 + tags=; \
8831 + here=`pwd`; \
8832 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
8833 + unique=`for i in $$list; do \
8834 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
8835 + done | \
8836 + $(AWK) ' { files[$$0] = 1; } \
8837 + END { for (i in files) print i; }'`; \
8838 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
8839 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
8840 + $$tags $$unique
8841 +
8842 +GTAGS:
8843 + here=`$(am__cd) $(top_builddir) && pwd` \
8844 + && cd $(top_srcdir) \
8845 + && gtags -i $(GTAGS_ARGS) $$here
8846 +
8847 +distclean-tags:
8848 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
8849 +
8850 +distdir: $(DISTFILES)
8851 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
8852 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
8853 + list='$(DISTFILES)'; for file in $$list; do \
8854 + case $$file in \
8855 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
8856 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
8857 + esac; \
8858 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
8859 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
8860 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
8861 + dir="/$$dir"; \
8862 + $(mkdir_p) "$(distdir)$$dir"; \
8863 + else \
8864 + dir=''; \
8865 + fi; \
8866 + if test -d $$d/$$file; then \
8867 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
8868 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
8869 + fi; \
8870 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
8871 + else \
8872 + test -f $(distdir)/$$file \
8873 + || cp -p $$d/$$file $(distdir)/$$file \
8874 + || exit 1; \
8875 + fi; \
8876 + done
8877 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
8878 + if test "$$subdir" = .; then :; else \
8879 + test -d "$(distdir)/$$subdir" \
8880 + || $(mkdir_p) "$(distdir)/$$subdir" \
8881 + || exit 1; \
8882 + distdir=`$(am__cd) $(distdir) && pwd`; \
8883 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
8884 + (cd $$subdir && \
8885 + $(MAKE) $(AM_MAKEFLAGS) \
8886 + top_distdir="$$top_distdir" \
8887 + distdir="$$distdir/$$subdir" \
8888 + distdir) \
8889 + || exit 1; \
8890 + fi; \
8891 + done
8892 +check-am: all-am
8893 +check: check-recursive
8894 +all-am: Makefile
8895 +installdirs: installdirs-recursive
8896 +installdirs-am:
8897 +install: install-recursive
8898 +install-exec: install-exec-recursive
8899 +install-data: install-data-recursive
8900 +uninstall: uninstall-recursive
8901 +
8902 +install-am: all-am
8903 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
8904 +
8905 +installcheck: installcheck-recursive
8906 +install-strip:
8907 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
8908 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
8909 + `test -z '$(STRIP)' || \
8910 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
8911 +mostlyclean-generic:
8912 +
8913 +clean-generic:
8914 +
8915 +distclean-generic:
8916 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
8917 +
8918 +maintainer-clean-generic:
8919 + @echo "This command is intended for maintainers to use"
8920 + @echo "it deletes files that may require special tools to rebuild."
8921 +clean: clean-recursive
8922 +
8923 +clean-am: clean-generic clean-libtool mostlyclean-am
8924 +
8925 +distclean: distclean-recursive
8926 + -rm -f Makefile
8927 +distclean-am: clean-am distclean-generic distclean-libtool \
8928 + distclean-tags
8929 +
8930 +dvi: dvi-recursive
8931 +
8932 +dvi-am:
8933 +
8934 +html: html-recursive
8935 +
8936 +info: info-recursive
8937 +
8938 +info-am:
8939 +
8940 +install-data-am:
8941 +
8942 +install-exec-am:
8943 +
8944 +install-info: install-info-recursive
8945 +
8946 +install-man:
8947 +
8948 +installcheck-am:
8949 +
8950 +maintainer-clean: maintainer-clean-recursive
8951 + -rm -f Makefile
8952 +maintainer-clean-am: distclean-am maintainer-clean-generic
8953 +
8954 +mostlyclean: mostlyclean-recursive
8955 +
8956 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
8957 +
8958 +pdf: pdf-recursive
8959 +
8960 +pdf-am:
8961 +
8962 +ps: ps-recursive
8963 +
8964 +ps-am:
8965 +
8966 +uninstall-am: uninstall-info-am
8967 +
8968 +uninstall-info: uninstall-info-recursive
8969 +
8970 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
8971 + clean clean-generic clean-libtool clean-recursive ctags \
8972 + ctags-recursive distclean distclean-generic distclean-libtool \
8973 + distclean-recursive distclean-tags distdir dvi dvi-am html \
8974 + html-am info info-am install install-am install-data \
8975 + install-data-am install-exec install-exec-am install-info \
8976 + install-info-am install-man install-strip installcheck \
8977 + installcheck-am installdirs installdirs-am maintainer-clean \
8978 + maintainer-clean-generic maintainer-clean-recursive \
8979 + mostlyclean mostlyclean-generic mostlyclean-libtool \
8980 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
8981 + uninstall uninstall-am uninstall-info-am
8982 +
8983 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
8984 +# Otherwise a system limit (for SysV at least) may be exceeded.
8985 +.NOEXPORT:
8986 diff -urNad faad2-svn~/common/mp4ff/Makefile.in faad2-svn/common/mp4ff/Makefile.in
8987 --- faad2-svn~/common/mp4ff/Makefile.in 1970-01-01 01:00:00.000000000 +0100
8988 +++ faad2-svn/common/mp4ff/Makefile.in 2007-12-25 22:22:07.000000000 +0000
8989 @@ -0,0 +1,614 @@
8990 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
8991 +# @configure_input@
8992 +
8993 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
8994 +# 2003, 2004, 2005 Free Software Foundation, Inc.
8995 +# This Makefile.in is free software; the Free Software Foundation
8996 +# gives unlimited permission to copy and/or distribute it,
8997 +# with or without modifications, as long as this notice is preserved.
8998 +
8999 +# This program is distributed in the hope that it will be useful,
9000 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
9001 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
9002 +# PARTICULAR PURPOSE.
9003 +
9004 +@SET_MAKE@
9005 +
9006 +
9007 +srcdir = @srcdir@
9008 +top_srcdir = @top_srcdir@
9009 +VPATH = @srcdir@
9010 +pkgdatadir = $(datadir)/@PACKAGE@
9011 +pkglibdir = $(libdir)/@PACKAGE@
9012 +pkgincludedir = $(includedir)/@PACKAGE@
9013 +top_builddir = ../..
9014 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
9015 +INSTALL = @INSTALL@
9016 +install_sh_DATA = $(install_sh) -c -m 644
9017 +install_sh_PROGRAM = $(install_sh) -c
9018 +install_sh_SCRIPT = $(install_sh) -c
9019 +INSTALL_HEADER = $(INSTALL_DATA)
9020 +transform = $(program_transform_name)
9021 +NORMAL_INSTALL = :
9022 +PRE_INSTALL = :
9023 +POST_INSTALL = :
9024 +NORMAL_UNINSTALL = :
9025 +PRE_UNINSTALL = :
9026 +POST_UNINSTALL = :
9027 +build_triplet = @build@
9028 +host_triplet = @host@
9029 +subdir = common/mp4ff
9030 +DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
9031 + $(srcdir)/Makefile.in
9032 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
9033 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
9034 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
9035 + $(ACLOCAL_M4)
9036 +mkinstalldirs = $(install_sh) -d
9037 +CONFIG_HEADER = $(top_builddir)/config.h
9038 +CONFIG_CLEAN_FILES =
9039 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
9040 +am__vpath_adj = case $$p in \
9041 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
9042 + *) f=$$p;; \
9043 + esac;
9044 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
9045 +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
9046 +libLIBRARIES_INSTALL = $(INSTALL_DATA)
9047 +LIBRARIES = $(lib_LIBRARIES)
9048 +ARFLAGS = cru
9049 +libmp4ff_a_AR = $(AR) $(ARFLAGS)
9050 +libmp4ff_a_LIBADD =
9051 +am_libmp4ff_a_OBJECTS = libmp4ff_a-mp4ff.$(OBJEXT) \
9052 + libmp4ff_a-mp4atom.$(OBJEXT) libmp4ff_a-mp4meta.$(OBJEXT) \
9053 + libmp4ff_a-mp4sample.$(OBJEXT) libmp4ff_a-mp4util.$(OBJEXT) \
9054 + libmp4ff_a-mp4tagupdate.$(OBJEXT) libmp4ff_a-drms.$(OBJEXT)
9055 +libmp4ff_a_OBJECTS = $(am_libmp4ff_a_OBJECTS)
9056 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
9057 +depcomp = $(SHELL) $(top_srcdir)/depcomp
9058 +am__depfiles_maybe = depfiles
9059 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
9060 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
9061 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
9062 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
9063 + $(AM_CFLAGS) $(CFLAGS)
9064 +CCLD = $(CC)
9065 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
9066 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
9067 +SOURCES = $(libmp4ff_a_SOURCES)
9068 +DIST_SOURCES = $(libmp4ff_a_SOURCES)
9069 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
9070 +HEADERS = $(include_HEADERS)
9071 +ETAGS = etags
9072 +CTAGS = ctags
9073 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
9074 +ACLOCAL = @ACLOCAL@
9075 +AMDEP_FALSE = @AMDEP_FALSE@
9076 +AMDEP_TRUE = @AMDEP_TRUE@
9077 +AMTAR = @AMTAR@
9078 +AR = @AR@
9079 +AUTOCONF = @AUTOCONF@
9080 +AUTOHEADER = @AUTOHEADER@
9081 +AUTOMAKE = @AUTOMAKE@
9082 +AWK = @AWK@
9083 +CC = @CC@
9084 +CCDEPMODE = @CCDEPMODE@
9085 +CFLAGS = @CFLAGS@
9086 +CPP = @CPP@
9087 +CPPFLAGS = @CPPFLAGS@
9088 +CXX = @CXX@
9089 +CXXCPP = @CXXCPP@
9090 +CXXDEPMODE = @CXXDEPMODE@
9091 +CXXFLAGS = @CXXFLAGS@
9092 +CYGPATH_W = @CYGPATH_W@
9093 +DEFS = @DEFS@
9094 +DEPDIR = @DEPDIR@
9095 +ECHO = @ECHO@
9096 +ECHO_C = @ECHO_C@
9097 +ECHO_N = @ECHO_N@
9098 +ECHO_T = @ECHO_T@
9099 +EGREP = @EGREP@
9100 +EXEEXT = @EXEEXT@
9101 +F77 = @F77@
9102 +FFLAGS = @FFLAGS@
9103 +GREP = @GREP@
9104 +GTK_CONFIG = @GTK_CONFIG@
9105 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
9106 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
9107 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
9108 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
9109 +INSTALL_DATA = @INSTALL_DATA@
9110 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
9111 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
9112 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
9113 +LDFLAGS = @LDFLAGS@
9114 +LIBOBJS = @LIBOBJS@
9115 +LIBS = @LIBS@
9116 +LIBTOOL = @LIBTOOL@
9117 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
9118 +LN_S = @LN_S@
9119 +LTLIBOBJS = @LTLIBOBJS@
9120 +MAKEINFO = @MAKEINFO@
9121 +MP4FF_LIBS = @MP4FF_LIBS@
9122 +OBJEXT = @OBJEXT@
9123 +PACKAGE = @PACKAGE@
9124 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
9125 +PACKAGE_NAME = @PACKAGE_NAME@
9126 +PACKAGE_STRING = @PACKAGE_STRING@
9127 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
9128 +PACKAGE_VERSION = @PACKAGE_VERSION@
9129 +PATH_SEPARATOR = @PATH_SEPARATOR@
9130 +RANLIB = @RANLIB@
9131 +RPMBUILD = @RPMBUILD@
9132 +SED = @SED@
9133 +SET_MAKE = @SET_MAKE@
9134 +SHELL = @SHELL@
9135 +STRIP = @STRIP@
9136 +VERSION = @VERSION@
9137 +XMMS_CFLAGS = @XMMS_CFLAGS@
9138 +XMMS_CONFIG = @XMMS_CONFIG@
9139 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
9140 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
9141 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
9142 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
9143 +XMMS_LIBS = @XMMS_LIBS@
9144 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
9145 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
9146 +XMMS_VERSION = @XMMS_VERSION@
9147 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
9148 +ac_ct_CC = @ac_ct_CC@
9149 +ac_ct_CXX = @ac_ct_CXX@
9150 +ac_ct_F77 = @ac_ct_F77@
9151 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
9152 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
9153 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
9154 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
9155 +am__include = @am__include@
9156 +am__leading_dot = @am__leading_dot@
9157 +am__quote = @am__quote@
9158 +am__tar = @am__tar@
9159 +am__untar = @am__untar@
9160 +bindir = @bindir@
9161 +build = @build@
9162 +build_alias = @build_alias@
9163 +build_cpu = @build_cpu@
9164 +build_os = @build_os@
9165 +build_vendor = @build_vendor@
9166 +datadir = @datadir@
9167 +datarootdir = @datarootdir@
9168 +docdir = @docdir@
9169 +dvidir = @dvidir@
9170 +exec_prefix = @exec_prefix@
9171 +external_mp4v2 = @external_mp4v2@
9172 +host = @host@
9173 +host_alias = @host_alias@
9174 +host_cpu = @host_cpu@
9175 +host_os = @host_os@
9176 +host_vendor = @host_vendor@
9177 +htmldir = @htmldir@
9178 +includedir = @includedir@
9179 +infodir = @infodir@
9180 +install_sh = @install_sh@
9181 +libdir = @libdir@
9182 +libexecdir = @libexecdir@
9183 +localedir = @localedir@
9184 +localstatedir = @localstatedir@
9185 +mandir = @mandir@
9186 +mkdir_p = @mkdir_p@
9187 +oldincludedir = @oldincludedir@
9188 +pdfdir = @pdfdir@
9189 +prefix = @prefix@
9190 +program_transform_name = @program_transform_name@
9191 +psdir = @psdir@
9192 +sbindir = @sbindir@
9193 +sharedstatedir = @sharedstatedir@
9194 +sysconfdir = @sysconfdir@
9195 +target_alias = @target_alias@
9196 +lib_LIBRARIES = libmp4ff.a
9197 +include_HEADERS = mp4ff.h mp4ffint.h
9198 +libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
9199 +libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
9200 + mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
9201 + drms.h drms.c drmstables.h
9202 +
9203 +all: all-am
9204 +
9205 +.SUFFIXES:
9206 +.SUFFIXES: .c .lo .o .obj
9207 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
9208 + @for dep in $?; do \
9209 + case '$(am__configure_deps)' in \
9210 + *$$dep*) \
9211 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
9212 + && exit 0; \
9213 + exit 1;; \
9214 + esac; \
9215 + done; \
9216 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu common/mp4ff/Makefile'; \
9217 + cd $(top_srcdir) && \
9218 + $(AUTOMAKE) --gnu common/mp4ff/Makefile
9219 +.PRECIOUS: Makefile
9220 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
9221 + @case '$?' in \
9222 + *config.status*) \
9223 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
9224 + *) \
9225 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
9226 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
9227 + esac;
9228 +
9229 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
9230 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
9231 +
9232 +$(top_srcdir)/configure: $(am__configure_deps)
9233 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
9234 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
9235 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
9236 +install-libLIBRARIES: $(lib_LIBRARIES)
9237 + @$(NORMAL_INSTALL)
9238 + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
9239 + @list='$(lib_LIBRARIES)'; for p in $$list; do \
9240 + if test -f $$p; then \
9241 + f=$(am__strip_dir) \
9242 + echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
9243 + $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
9244 + else :; fi; \
9245 + done
9246 + @$(POST_INSTALL)
9247 + @list='$(lib_LIBRARIES)'; for p in $$list; do \
9248 + if test -f $$p; then \
9249 + p=$(am__strip_dir) \
9250 + echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \
9251 + $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \
9252 + else :; fi; \
9253 + done
9254 +
9255 +uninstall-libLIBRARIES:
9256 + @$(NORMAL_UNINSTALL)
9257 + @list='$(lib_LIBRARIES)'; for p in $$list; do \
9258 + p=$(am__strip_dir) \
9259 + echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \
9260 + rm -f "$(DESTDIR)$(libdir)/$$p"; \
9261 + done
9262 +
9263 +clean-libLIBRARIES:
9264 + -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
9265 +libmp4ff.a: $(libmp4ff_a_OBJECTS) $(libmp4ff_a_DEPENDENCIES)
9266 + -rm -f libmp4ff.a
9267 + $(libmp4ff_a_AR) libmp4ff.a $(libmp4ff_a_OBJECTS) $(libmp4ff_a_LIBADD)
9268 + $(RANLIB) libmp4ff.a
9269 +
9270 +mostlyclean-compile:
9271 + -rm -f *.$(OBJEXT)
9272 +
9273 +distclean-compile:
9274 + -rm -f *.tab.c
9275 +
9276 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4ff_a-drms.Po@am__quote@
9277 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4ff_a-mp4atom.Po@am__quote@
9278 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4ff_a-mp4ff.Po@am__quote@
9279 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4ff_a-mp4meta.Po@am__quote@
9280 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4ff_a-mp4sample.Po@am__quote@
9281 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4ff_a-mp4tagupdate.Po@am__quote@
9282 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4ff_a-mp4util.Po@am__quote@
9283 +
9284 +.c.o:
9285 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
9286 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
9287 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
9288 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9289 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
9290 +
9291 +.c.obj:
9292 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
9293 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
9294 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
9295 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9296 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
9297 +
9298 +.c.lo:
9299 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
9300 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
9301 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
9302 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9303 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
9304 +
9305 +libmp4ff_a-mp4ff.o: mp4ff.c
9306 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4ff.o -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4ff.Tpo" -c -o libmp4ff_a-mp4ff.o `test -f 'mp4ff.c' || echo '$(srcdir)/'`mp4ff.c; \
9307 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4ff.Tpo" "$(DEPDIR)/libmp4ff_a-mp4ff.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4ff.Tpo"; exit 1; fi
9308 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4ff.c' object='libmp4ff_a-mp4ff.o' libtool=no @AMDEPBACKSLASH@
9309 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9310 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4ff.o `test -f 'mp4ff.c' || echo '$(srcdir)/'`mp4ff.c
9311 +
9312 +libmp4ff_a-mp4ff.obj: mp4ff.c
9313 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4ff.obj -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4ff.Tpo" -c -o libmp4ff_a-mp4ff.obj `if test -f 'mp4ff.c'; then $(CYGPATH_W) 'mp4ff.c'; else $(CYGPATH_W) '$(srcdir)/mp4ff.c'; fi`; \
9314 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4ff.Tpo" "$(DEPDIR)/libmp4ff_a-mp4ff.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4ff.Tpo"; exit 1; fi
9315 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4ff.c' object='libmp4ff_a-mp4ff.obj' libtool=no @AMDEPBACKSLASH@
9316 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9317 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4ff.obj `if test -f 'mp4ff.c'; then $(CYGPATH_W) 'mp4ff.c'; else $(CYGPATH_W) '$(srcdir)/mp4ff.c'; fi`
9318 +
9319 +libmp4ff_a-mp4atom.o: mp4atom.c
9320 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4atom.o -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4atom.Tpo" -c -o libmp4ff_a-mp4atom.o `test -f 'mp4atom.c' || echo '$(srcdir)/'`mp4atom.c; \
9321 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4atom.Tpo" "$(DEPDIR)/libmp4ff_a-mp4atom.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4atom.Tpo"; exit 1; fi
9322 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4atom.c' object='libmp4ff_a-mp4atom.o' libtool=no @AMDEPBACKSLASH@
9323 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9324 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4atom.o `test -f 'mp4atom.c' || echo '$(srcdir)/'`mp4atom.c
9325 +
9326 +libmp4ff_a-mp4atom.obj: mp4atom.c
9327 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4atom.obj -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4atom.Tpo" -c -o libmp4ff_a-mp4atom.obj `if test -f 'mp4atom.c'; then $(CYGPATH_W) 'mp4atom.c'; else $(CYGPATH_W) '$(srcdir)/mp4atom.c'; fi`; \
9328 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4atom.Tpo" "$(DEPDIR)/libmp4ff_a-mp4atom.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4atom.Tpo"; exit 1; fi
9329 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4atom.c' object='libmp4ff_a-mp4atom.obj' libtool=no @AMDEPBACKSLASH@
9330 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9331 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4atom.obj `if test -f 'mp4atom.c'; then $(CYGPATH_W) 'mp4atom.c'; else $(CYGPATH_W) '$(srcdir)/mp4atom.c'; fi`
9332 +
9333 +libmp4ff_a-mp4meta.o: mp4meta.c
9334 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4meta.o -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4meta.Tpo" -c -o libmp4ff_a-mp4meta.o `test -f 'mp4meta.c' || echo '$(srcdir)/'`mp4meta.c; \
9335 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4meta.Tpo" "$(DEPDIR)/libmp4ff_a-mp4meta.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4meta.Tpo"; exit 1; fi
9336 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4meta.c' object='libmp4ff_a-mp4meta.o' libtool=no @AMDEPBACKSLASH@
9337 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9338 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4meta.o `test -f 'mp4meta.c' || echo '$(srcdir)/'`mp4meta.c
9339 +
9340 +libmp4ff_a-mp4meta.obj: mp4meta.c
9341 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4meta.obj -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4meta.Tpo" -c -o libmp4ff_a-mp4meta.obj `if test -f 'mp4meta.c'; then $(CYGPATH_W) 'mp4meta.c'; else $(CYGPATH_W) '$(srcdir)/mp4meta.c'; fi`; \
9342 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4meta.Tpo" "$(DEPDIR)/libmp4ff_a-mp4meta.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4meta.Tpo"; exit 1; fi
9343 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4meta.c' object='libmp4ff_a-mp4meta.obj' libtool=no @AMDEPBACKSLASH@
9344 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9345 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4meta.obj `if test -f 'mp4meta.c'; then $(CYGPATH_W) 'mp4meta.c'; else $(CYGPATH_W) '$(srcdir)/mp4meta.c'; fi`
9346 +
9347 +libmp4ff_a-mp4sample.o: mp4sample.c
9348 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4sample.o -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4sample.Tpo" -c -o libmp4ff_a-mp4sample.o `test -f 'mp4sample.c' || echo '$(srcdir)/'`mp4sample.c; \
9349 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4sample.Tpo" "$(DEPDIR)/libmp4ff_a-mp4sample.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4sample.Tpo"; exit 1; fi
9350 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4sample.c' object='libmp4ff_a-mp4sample.o' libtool=no @AMDEPBACKSLASH@
9351 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9352 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4sample.o `test -f 'mp4sample.c' || echo '$(srcdir)/'`mp4sample.c
9353 +
9354 +libmp4ff_a-mp4sample.obj: mp4sample.c
9355 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4sample.obj -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4sample.Tpo" -c -o libmp4ff_a-mp4sample.obj `if test -f 'mp4sample.c'; then $(CYGPATH_W) 'mp4sample.c'; else $(CYGPATH_W) '$(srcdir)/mp4sample.c'; fi`; \
9356 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4sample.Tpo" "$(DEPDIR)/libmp4ff_a-mp4sample.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4sample.Tpo"; exit 1; fi
9357 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4sample.c' object='libmp4ff_a-mp4sample.obj' libtool=no @AMDEPBACKSLASH@
9358 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9359 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4sample.obj `if test -f 'mp4sample.c'; then $(CYGPATH_W) 'mp4sample.c'; else $(CYGPATH_W) '$(srcdir)/mp4sample.c'; fi`
9360 +
9361 +libmp4ff_a-mp4util.o: mp4util.c
9362 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4util.o -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4util.Tpo" -c -o libmp4ff_a-mp4util.o `test -f 'mp4util.c' || echo '$(srcdir)/'`mp4util.c; \
9363 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4util.Tpo" "$(DEPDIR)/libmp4ff_a-mp4util.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4util.Tpo"; exit 1; fi
9364 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4util.c' object='libmp4ff_a-mp4util.o' libtool=no @AMDEPBACKSLASH@
9365 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9366 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4util.o `test -f 'mp4util.c' || echo '$(srcdir)/'`mp4util.c
9367 +
9368 +libmp4ff_a-mp4util.obj: mp4util.c
9369 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4util.obj -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4util.Tpo" -c -o libmp4ff_a-mp4util.obj `if test -f 'mp4util.c'; then $(CYGPATH_W) 'mp4util.c'; else $(CYGPATH_W) '$(srcdir)/mp4util.c'; fi`; \
9370 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4util.Tpo" "$(DEPDIR)/libmp4ff_a-mp4util.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4util.Tpo"; exit 1; fi
9371 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4util.c' object='libmp4ff_a-mp4util.obj' libtool=no @AMDEPBACKSLASH@
9372 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9373 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4util.obj `if test -f 'mp4util.c'; then $(CYGPATH_W) 'mp4util.c'; else $(CYGPATH_W) '$(srcdir)/mp4util.c'; fi`
9374 +
9375 +libmp4ff_a-mp4tagupdate.o: mp4tagupdate.c
9376 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4tagupdate.o -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4tagupdate.Tpo" -c -o libmp4ff_a-mp4tagupdate.o `test -f 'mp4tagupdate.c' || echo '$(srcdir)/'`mp4tagupdate.c; \
9377 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4tagupdate.Tpo" "$(DEPDIR)/libmp4ff_a-mp4tagupdate.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4tagupdate.Tpo"; exit 1; fi
9378 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4tagupdate.c' object='libmp4ff_a-mp4tagupdate.o' libtool=no @AMDEPBACKSLASH@
9379 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9380 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4tagupdate.o `test -f 'mp4tagupdate.c' || echo '$(srcdir)/'`mp4tagupdate.c
9381 +
9382 +libmp4ff_a-mp4tagupdate.obj: mp4tagupdate.c
9383 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-mp4tagupdate.obj -MD -MP -MF "$(DEPDIR)/libmp4ff_a-mp4tagupdate.Tpo" -c -o libmp4ff_a-mp4tagupdate.obj `if test -f 'mp4tagupdate.c'; then $(CYGPATH_W) 'mp4tagupdate.c'; else $(CYGPATH_W) '$(srcdir)/mp4tagupdate.c'; fi`; \
9384 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-mp4tagupdate.Tpo" "$(DEPDIR)/libmp4ff_a-mp4tagupdate.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-mp4tagupdate.Tpo"; exit 1; fi
9385 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4tagupdate.c' object='libmp4ff_a-mp4tagupdate.obj' libtool=no @AMDEPBACKSLASH@
9386 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9387 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-mp4tagupdate.obj `if test -f 'mp4tagupdate.c'; then $(CYGPATH_W) 'mp4tagupdate.c'; else $(CYGPATH_W) '$(srcdir)/mp4tagupdate.c'; fi`
9388 +
9389 +libmp4ff_a-drms.o: drms.c
9390 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-drms.o -MD -MP -MF "$(DEPDIR)/libmp4ff_a-drms.Tpo" -c -o libmp4ff_a-drms.o `test -f 'drms.c' || echo '$(srcdir)/'`drms.c; \
9391 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-drms.Tpo" "$(DEPDIR)/libmp4ff_a-drms.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-drms.Tpo"; exit 1; fi
9392 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='drms.c' object='libmp4ff_a-drms.o' libtool=no @AMDEPBACKSLASH@
9393 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9394 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-drms.o `test -f 'drms.c' || echo '$(srcdir)/'`drms.c
9395 +
9396 +libmp4ff_a-drms.obj: drms.c
9397 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -MT libmp4ff_a-drms.obj -MD -MP -MF "$(DEPDIR)/libmp4ff_a-drms.Tpo" -c -o libmp4ff_a-drms.obj `if test -f 'drms.c'; then $(CYGPATH_W) 'drms.c'; else $(CYGPATH_W) '$(srcdir)/drms.c'; fi`; \
9398 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4ff_a-drms.Tpo" "$(DEPDIR)/libmp4ff_a-drms.Po"; else rm -f "$(DEPDIR)/libmp4ff_a-drms.Tpo"; exit 1; fi
9399 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='drms.c' object='libmp4ff_a-drms.obj' libtool=no @AMDEPBACKSLASH@
9400 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9401 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4ff_a_CFLAGS) $(CFLAGS) -c -o libmp4ff_a-drms.obj `if test -f 'drms.c'; then $(CYGPATH_W) 'drms.c'; else $(CYGPATH_W) '$(srcdir)/drms.c'; fi`
9402 +
9403 +mostlyclean-libtool:
9404 + -rm -f *.lo
9405 +
9406 +clean-libtool:
9407 + -rm -rf .libs _libs
9408 +
9409 +distclean-libtool:
9410 + -rm -f libtool
9411 +uninstall-info-am:
9412 +install-includeHEADERS: $(include_HEADERS)
9413 + @$(NORMAL_INSTALL)
9414 + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
9415 + @list='$(include_HEADERS)'; for p in $$list; do \
9416 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
9417 + f=$(am__strip_dir) \
9418 + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
9419 + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
9420 + done
9421 +
9422 +uninstall-includeHEADERS:
9423 + @$(NORMAL_UNINSTALL)
9424 + @list='$(include_HEADERS)'; for p in $$list; do \
9425 + f=$(am__strip_dir) \
9426 + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
9427 + rm -f "$(DESTDIR)$(includedir)/$$f"; \
9428 + done
9429 +
9430 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
9431 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
9432 + unique=`for i in $$list; do \
9433 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
9434 + done | \
9435 + $(AWK) ' { files[$$0] = 1; } \
9436 + END { for (i in files) print i; }'`; \
9437 + mkid -fID $$unique
9438 +tags: TAGS
9439 +
9440 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
9441 + $(TAGS_FILES) $(LISP)
9442 + tags=; \
9443 + here=`pwd`; \
9444 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
9445 + unique=`for i in $$list; do \
9446 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
9447 + done | \
9448 + $(AWK) ' { files[$$0] = 1; } \
9449 + END { for (i in files) print i; }'`; \
9450 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
9451 + test -n "$$unique" || unique=$$empty_fix; \
9452 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
9453 + $$tags $$unique; \
9454 + fi
9455 +ctags: CTAGS
9456 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
9457 + $(TAGS_FILES) $(LISP)
9458 + tags=; \
9459 + here=`pwd`; \
9460 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
9461 + unique=`for i in $$list; do \
9462 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
9463 + done | \
9464 + $(AWK) ' { files[$$0] = 1; } \
9465 + END { for (i in files) print i; }'`; \
9466 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
9467 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
9468 + $$tags $$unique
9469 +
9470 +GTAGS:
9471 + here=`$(am__cd) $(top_builddir) && pwd` \
9472 + && cd $(top_srcdir) \
9473 + && gtags -i $(GTAGS_ARGS) $$here
9474 +
9475 +distclean-tags:
9476 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
9477 +
9478 +distdir: $(DISTFILES)
9479 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
9480 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
9481 + list='$(DISTFILES)'; for file in $$list; do \
9482 + case $$file in \
9483 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
9484 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
9485 + esac; \
9486 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
9487 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
9488 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
9489 + dir="/$$dir"; \
9490 + $(mkdir_p) "$(distdir)$$dir"; \
9491 + else \
9492 + dir=''; \
9493 + fi; \
9494 + if test -d $$d/$$file; then \
9495 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
9496 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
9497 + fi; \
9498 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
9499 + else \
9500 + test -f $(distdir)/$$file \
9501 + || cp -p $$d/$$file $(distdir)/$$file \
9502 + || exit 1; \
9503 + fi; \
9504 + done
9505 +check-am: all-am
9506 +check: check-am
9507 +all-am: Makefile $(LIBRARIES) $(HEADERS)
9508 +installdirs:
9509 + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
9510 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
9511 + done
9512 +install: install-am
9513 +install-exec: install-exec-am
9514 +install-data: install-data-am
9515 +uninstall: uninstall-am
9516 +
9517 +install-am: all-am
9518 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
9519 +
9520 +installcheck: installcheck-am
9521 +install-strip:
9522 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
9523 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
9524 + `test -z '$(STRIP)' || \
9525 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
9526 +mostlyclean-generic:
9527 +
9528 +clean-generic:
9529 +
9530 +distclean-generic:
9531 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
9532 +
9533 +maintainer-clean-generic:
9534 + @echo "This command is intended for maintainers to use"
9535 + @echo "it deletes files that may require special tools to rebuild."
9536 +clean: clean-am
9537 +
9538 +clean-am: clean-generic clean-libLIBRARIES clean-libtool \
9539 + mostlyclean-am
9540 +
9541 +distclean: distclean-am
9542 + -rm -rf ./$(DEPDIR)
9543 + -rm -f Makefile
9544 +distclean-am: clean-am distclean-compile distclean-generic \
9545 + distclean-libtool distclean-tags
9546 +
9547 +dvi: dvi-am
9548 +
9549 +dvi-am:
9550 +
9551 +html: html-am
9552 +
9553 +info: info-am
9554 +
9555 +info-am:
9556 +
9557 +install-data-am: install-includeHEADERS
9558 +
9559 +install-exec-am: install-libLIBRARIES
9560 +
9561 +install-info: install-info-am
9562 +
9563 +install-man:
9564 +
9565 +installcheck-am:
9566 +
9567 +maintainer-clean: maintainer-clean-am
9568 + -rm -rf ./$(DEPDIR)
9569 + -rm -f Makefile
9570 +maintainer-clean-am: distclean-am maintainer-clean-generic
9571 +
9572 +mostlyclean: mostlyclean-am
9573 +
9574 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
9575 + mostlyclean-libtool
9576 +
9577 +pdf: pdf-am
9578 +
9579 +pdf-am:
9580 +
9581 +ps: ps-am
9582 +
9583 +ps-am:
9584 +
9585 +uninstall-am: uninstall-includeHEADERS uninstall-info-am \
9586 + uninstall-libLIBRARIES
9587 +
9588 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
9589 + clean-libLIBRARIES clean-libtool ctags distclean \
9590 + distclean-compile distclean-generic distclean-libtool \
9591 + distclean-tags distdir dvi dvi-am html html-am info info-am \
9592 + install install-am install-data install-data-am install-exec \
9593 + install-exec-am install-includeHEADERS install-info \
9594 + install-info-am install-libLIBRARIES install-man install-strip \
9595 + installcheck installcheck-am installdirs maintainer-clean \
9596 + maintainer-clean-generic mostlyclean mostlyclean-compile \
9597 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
9598 + tags uninstall uninstall-am uninstall-includeHEADERS \
9599 + uninstall-info-am uninstall-libLIBRARIES
9600 +
9601 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
9602 +# Otherwise a system limit (for SysV at least) may be exceeded.
9603 +.NOEXPORT:
9604 diff -urNad faad2-svn~/compile faad2-svn/compile
9605 --- faad2-svn~/compile 1970-01-01 01:00:00.000000000 +0100
9606 +++ faad2-svn/compile 2007-12-25 22:22:07.000000000 +0000
9607 @@ -0,0 +1,142 @@
9608 +#! /bin/sh
9609 +# Wrapper for compilers which do not understand `-c -o'.
9610 +
9611 +scriptversion=2005-05-14.22
9612 +
9613 +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
9614 +# Written by Tom Tromey <tromey@cygnus.com>.
9615 +#
9616 +# This program is free software; you can redistribute it and/or modify
9617 +# it under the terms of the GNU General Public License as published by
9618 +# the Free Software Foundation; either version 2, or (at your option)
9619 +# any later version.
9620 +#
9621 +# This program is distributed in the hope that it will be useful,
9622 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
9623 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9624 +# GNU General Public License for more details.
9625 +#
9626 +# You should have received a copy of the GNU General Public License
9627 +# along with this program; if not, write to the Free Software
9628 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9629 +
9630 +# As a special exception to the GNU General Public License, if you
9631 +# distribute this file as part of a program that contains a
9632 +# configuration script generated by Autoconf, you may include it under
9633 +# the same distribution terms that you use for the rest of that program.
9634 +
9635 +# This file is maintained in Automake, please report
9636 +# bugs to <bug-automake@gnu.org> or send patches to
9637 +# <automake-patches@gnu.org>.
9638 +
9639 +case $1 in
9640 + '')
9641 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
9642 + exit 1;
9643 + ;;
9644 + -h | --h*)
9645 + cat <<\EOF
9646 +Usage: compile [--help] [--version] PROGRAM [ARGS]
9647 +
9648 +Wrapper for compilers which do not understand `-c -o'.
9649 +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
9650 +arguments, and rename the output as expected.
9651 +
9652 +If you are trying to build a whole package this is not the
9653 +right script to run: please start by reading the file `INSTALL'.
9654 +
9655 +Report bugs to <bug-automake@gnu.org>.
9656 +EOF
9657 + exit $?
9658 + ;;
9659 + -v | --v*)
9660 + echo "compile $scriptversion"
9661 + exit $?
9662 + ;;
9663 +esac
9664 +
9665 +ofile=
9666 +cfile=
9667 +eat=
9668 +
9669 +for arg
9670 +do
9671 + if test -n "$eat"; then
9672 + eat=
9673 + else
9674 + case $1 in
9675 + -o)
9676 + # configure might choose to run compile as `compile cc -o foo foo.c'.
9677 + # So we strip `-o arg' only if arg is an object.
9678 + eat=1
9679 + case $2 in
9680 + *.o | *.obj)
9681 + ofile=$2
9682 + ;;
9683 + *)
9684 + set x "$@" -o "$2"
9685 + shift
9686 + ;;
9687 + esac
9688 + ;;
9689 + *.c)
9690 + cfile=$1
9691 + set x "$@" "$1"
9692 + shift
9693 + ;;
9694 + *)
9695 + set x "$@" "$1"
9696 + shift
9697 + ;;
9698 + esac
9699 + fi
9700 + shift
9701 +done
9702 +
9703 +if test -z "$ofile" || test -z "$cfile"; then
9704 + # If no `-o' option was seen then we might have been invoked from a
9705 + # pattern rule where we don't need one. That is ok -- this is a
9706 + # normal compilation that the losing compiler can handle. If no
9707 + # `.c' file was seen then we are probably linking. That is also
9708 + # ok.
9709 + exec "$@"
9710 +fi
9711 +
9712 +# Name of file we expect compiler to create.
9713 +cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
9714 +
9715 +# Create the lock directory.
9716 +# Note: use `[/.-]' here to ensure that we don't use the same name
9717 +# that we are using for the .o file. Also, base the name on the expected
9718 +# object file name, since that is what matters with a parallel build.
9719 +lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
9720 +while true; do
9721 + if mkdir "$lockdir" >/dev/null 2>&1; then
9722 + break
9723 + fi
9724 + sleep 1
9725 +done
9726 +# FIXME: race condition here if user kills between mkdir and trap.
9727 +trap "rmdir '$lockdir'; exit 1" 1 2 15
9728 +
9729 +# Run the compile.
9730 +"$@"
9731 +ret=$?
9732 +
9733 +if test -f "$cofile"; then
9734 + mv "$cofile" "$ofile"
9735 +elif test -f "${cofile}bj"; then
9736 + mv "${cofile}bj" "$ofile"
9737 +fi
9738 +
9739 +rmdir "$lockdir"
9740 +exit $ret
9741 +
9742 +# Local Variables:
9743 +# mode: shell-script
9744 +# sh-indentation: 2
9745 +# eval: (add-hook 'write-file-hooks 'time-stamp)
9746 +# time-stamp-start: "scriptversion="
9747 +# time-stamp-format: "%:y-%02m-%02d.%02H"
9748 +# time-stamp-end: "$"
9749 +# End:
9750 diff -urNad faad2-svn~/config.h.in faad2-svn/config.h.in
9751 --- faad2-svn~/config.h.in 1970-01-01 01:00:00.000000000 +0100
9752 +++ faad2-svn/config.h.in 2007-12-25 22:22:07.000000000 +0000
9753 @@ -0,0 +1,118 @@
9754 +/* config.h.in. Generated from configure.in by autoheader. */
9755 +
9756 +/* Define if you want to use libfaad together with Digital Radio Mondiale
9757 + (DRM) */
9758 +#undef DRM
9759 +
9760 +/* Define if you want support for Digital Radio Mondiale (DRM) parametric
9761 + stereo */
9762 +#undef DRM_PS
9763 +
9764 +/* Define to 1 if you have the <dlfcn.h> header file. */
9765 +#undef HAVE_DLFCN_H
9766 +
9767 +/* Define to 1 if you have the <errno.h> header file. */
9768 +#undef HAVE_ERRNO_H
9769 +
9770 +/* Define if needed */
9771 +#undef HAVE_FLOAT32_T
9772 +
9773 +/* Define to 1 if you have the <float.h> header file. */
9774 +#undef HAVE_FLOAT_H
9775 +
9776 +/* Define to 1 if you have the `getpwuid' function. */
9777 +#undef HAVE_GETPWUID
9778 +
9779 +/* Define to 1 if you have the <inttypes.h> header file. */
9780 +#undef HAVE_INTTYPES_H
9781 +
9782 +/* Define if you have the IOKit API */
9783 +#undef HAVE_IOKIT_IOKITLIB_H
9784 +
9785 +/* Define to 1 if you have the <limits.h> header file. */
9786 +#undef HAVE_LIMITS_H
9787 +
9788 +/* Define if you have C99's lrintf function. */
9789 +#undef HAVE_LRINTF
9790 +
9791 +/* Define to 1 if you have the <mathf.h> header file. */
9792 +#undef HAVE_MATHF_H
9793 +
9794 +/* Define to 1 if you have the `memcpy' function. */
9795 +#undef HAVE_MEMCPY
9796 +
9797 +/* Define to 1 if you have the <memory.h> header file. */
9798 +#undef HAVE_MEMORY_H
9799 +
9800 +/* Define to 1 if you have the <stdint.h> header file. */
9801 +#undef HAVE_STDINT_H
9802 +
9803 +/* Define to 1 if you have the <stdlib.h> header file. */
9804 +#undef HAVE_STDLIB_H
9805 +
9806 +/* Define to 1 if you have the `strchr' function. */
9807 +#undef HAVE_STRCHR
9808 +
9809 +/* Define to 1 if you have the <strings.h> header file. */
9810 +#undef HAVE_STRINGS_H
9811 +
9812 +/* Define to 1 if you have the <string.h> header file. */
9813 +#undef HAVE_STRING_H
9814 +
9815 +/* Define to 1 if you have the `strsep' function. */
9816 +#undef HAVE_STRSEP
9817 +
9818 +/* Define to 1 if you have the <sysfs/libsysfs.h> header file. */
9819 +#undef HAVE_SYSFS_LIBSYSFS_H
9820 +
9821 +/* Define to 1 if you have the <sys/stat.h> header file. */
9822 +#undef HAVE_SYS_STAT_H
9823 +
9824 +/* Define to 1 if you have the <sys/time.h> header file. */
9825 +#undef HAVE_SYS_TIME_H
9826 +
9827 +/* Define to 1 if you have the <sys/types.h> header file. */
9828 +#undef HAVE_SYS_TYPES_H
9829 +
9830 +/* Define to 1 if you have the <unistd.h> header file. */
9831 +#undef HAVE_UNISTD_H
9832 +
9833 +/* Name of package */
9834 +#undef PACKAGE
9835 +
9836 +/* Define to the address where bug reports for this package should be sent. */
9837 +#undef PACKAGE_BUGREPORT
9838 +
9839 +/* Define to the full name of this package. */
9840 +#undef PACKAGE_NAME
9841 +
9842 +/* Define to the full name and version of this package. */
9843 +#undef PACKAGE_STRING
9844 +
9845 +/* Define to the one symbol short name of this package. */
9846 +#undef PACKAGE_TARNAME
9847 +
9848 +/* Define to the version of this package. */
9849 +#undef PACKAGE_VERSION
9850 +
9851 +/* Define to 1 if you have the ANSI C header files. */
9852 +#undef STDC_HEADERS
9853 +
9854 +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
9855 +#undef TIME_WITH_SYS_TIME
9856 +
9857 +/* Version number of package */
9858 +#undef VERSION
9859 +
9860 +/* Define to 1 if your processor stores words with the most significant byte
9861 + first (like Motorola and SPARC, unlike Intel and VAX). */
9862 +#undef WORDS_BIGENDIAN
9863 +
9864 +/* Define to `__inline__' or `__inline' if that's what the C compiler
9865 + calls it, or to nothing if 'inline' is not supported under any name. */
9866 +#ifndef __cplusplus
9867 +#undef inline
9868 +#endif
9869 +
9870 +/* Define to `long int' if <sys/types.h> does not define. */
9871 +#undef off_t
9872 diff -urNad faad2-svn~/configure faad2-svn/configure
9873 --- faad2-svn~/configure 1970-01-01 01:00:00.000000000 +0100
9874 +++ faad2-svn/configure 2007-12-25 22:22:08.000000000 +0000
9875 @@ -0,0 +1,25022 @@
9876 +#! /bin/sh
9877 +# Guess values for system-dependent variables and create Makefiles.
9878 +# Generated by GNU Autoconf 2.61.
9879 +#
9880 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9881 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9882 +# This configure script is free software; the Free Software Foundation
9883 +# gives unlimited permission to copy, distribute and modify it.
9884 +## --------------------- ##
9885 +## M4sh Initialization. ##
9886 +## --------------------- ##
9887 +
9888 +# Be more Bourne compatible
9889 +DUALCASE=1; export DUALCASE # for MKS sh
9890 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9891 + emulate sh
9892 + NULLCMD=:
9893 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9894 + # is contrary to our usage. Disable this feature.
9895 + alias -g '${1+"$@"}'='"$@"'
9896 + setopt NO_GLOB_SUBST
9897 +else
9898 + case `(set -o) 2>/dev/null` in
9899 + *posix*) set -o posix ;;
9900 +esac
9901 +
9902 +fi
9903 +
9904 +
9905 +
9906 +
9907 +# PATH needs CR
9908 +# Avoid depending upon Character Ranges.
9909 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9910 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9911 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9912 +as_cr_digits='0123456789'
9913 +as_cr_alnum=$as_cr_Letters$as_cr_digits
9914 +
9915 +# The user is always right.
9916 +if test "${PATH_SEPARATOR+set}" != set; then
9917 + echo "#! /bin/sh" >conf$$.sh
9918 + echo "exit 0" >>conf$$.sh
9919 + chmod +x conf$$.sh
9920 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9921 + PATH_SEPARATOR=';'
9922 + else
9923 + PATH_SEPARATOR=:
9924 + fi
9925 + rm -f conf$$.sh
9926 +fi
9927 +
9928 +# Support unset when possible.
9929 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9930 + as_unset=unset
9931 +else
9932 + as_unset=false
9933 +fi
9934 +
9935 +
9936 +# IFS
9937 +# We need space, tab and new line, in precisely that order. Quoting is
9938 +# there to prevent editors from complaining about space-tab.
9939 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9940 +# splitting by setting IFS to empty value.)
9941 +as_nl='
9942 +'
9943 +IFS=" "" $as_nl"
9944 +
9945 +# Find who we are. Look in the path if we contain no directory separator.
9946 +case $0 in
9947 + *[\\/]* ) as_myself=$0 ;;
9948 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 +for as_dir in $PATH
9950 +do
9951 + IFS=$as_save_IFS
9952 + test -z "$as_dir" && as_dir=.
9953 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9954 +done
9955 +IFS=$as_save_IFS
9956 +
9957 + ;;
9958 +esac
9959 +# We did not find ourselves, most probably we were run as `sh COMMAND'
9960 +# in which case we are not to be found in the path.
9961 +if test "x$as_myself" = x; then
9962 + as_myself=$0
9963 +fi
9964 +if test ! -f "$as_myself"; then
9965 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9966 + { (exit 1); exit 1; }
9967 +fi
9968 +
9969 +# Work around bugs in pre-3.0 UWIN ksh.
9970 +for as_var in ENV MAIL MAILPATH
9971 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9972 +done
9973 +PS1='$ '
9974 +PS2='> '
9975 +PS4='+ '
9976 +
9977 +# NLS nuisances.
9978 +for as_var in \
9979 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9980 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9981 + LC_TELEPHONE LC_TIME
9982 +do
9983 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9984 + eval $as_var=C; export $as_var
9985 + else
9986 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9987 + fi
9988 +done
9989 +
9990 +# Required to use basename.
9991 +if expr a : '\(a\)' >/dev/null 2>&1 &&
9992 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
9993 + as_expr=expr
9994 +else
9995 + as_expr=false
9996 +fi
9997 +
9998 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9999 + as_basename=basename
10000 +else
10001 + as_basename=false
10002 +fi
10003 +
10004 +
10005 +# Name of the executable.
10006 +as_me=`$as_basename -- "$0" ||
10007 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10008 + X"$0" : 'X\(//\)$' \| \
10009 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10010 +echo X/"$0" |
10011 + sed '/^.*\/\([^/][^/]*\)\/*$/{
10012 + s//\1/
10013 + q
10014 + }
10015 + /^X\/\(\/\/\)$/{
10016 + s//\1/
10017 + q
10018 + }
10019 + /^X\/\(\/\).*/{
10020 + s//\1/
10021 + q
10022 + }
10023 + s/.*/./; q'`
10024 +
10025 +# CDPATH.
10026 +$as_unset CDPATH
10027 +
10028 +
10029 +if test "x$CONFIG_SHELL" = x; then
10030 + if (eval ":") 2>/dev/null; then
10031 + as_have_required=yes
10032 +else
10033 + as_have_required=no
10034 +fi
10035 +
10036 + if test $as_have_required = yes && (eval ":
10037 +(as_func_return () {
10038 + (exit \$1)
10039 +}
10040 +as_func_success () {
10041 + as_func_return 0
10042 +}
10043 +as_func_failure () {
10044 + as_func_return 1
10045 +}
10046 +as_func_ret_success () {
10047 + return 0
10048 +}
10049 +as_func_ret_failure () {
10050 + return 1
10051 +}
10052 +
10053 +exitcode=0
10054 +if as_func_success; then
10055 + :
10056 +else
10057 + exitcode=1
10058 + echo as_func_success failed.
10059 +fi
10060 +
10061 +if as_func_failure; then
10062 + exitcode=1
10063 + echo as_func_failure succeeded.
10064 +fi
10065 +
10066 +if as_func_ret_success; then
10067 + :
10068 +else
10069 + exitcode=1
10070 + echo as_func_ret_success failed.
10071 +fi
10072 +
10073 +if as_func_ret_failure; then
10074 + exitcode=1
10075 + echo as_func_ret_failure succeeded.
10076 +fi
10077 +
10078 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
10079 + :
10080 +else
10081 + exitcode=1
10082 + echo positional parameters were not saved.
10083 +fi
10084 +
10085 +test \$exitcode = 0) || { (exit 1); exit 1; }
10086 +
10087 +(
10088 + as_lineno_1=\$LINENO
10089 + as_lineno_2=\$LINENO
10090 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
10091 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
10092 +") 2> /dev/null; then
10093 + :
10094 +else
10095 + as_candidate_shells=
10096 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10097 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10098 +do
10099 + IFS=$as_save_IFS
10100 + test -z "$as_dir" && as_dir=.
10101 + case $as_dir in
10102 + /*)
10103 + for as_base in sh bash ksh sh5; do
10104 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
10105 + done;;
10106 + esac
10107 +done
10108 +IFS=$as_save_IFS
10109 +
10110 +
10111 + for as_shell in $as_candidate_shells $SHELL; do
10112 + # Try only shells that exist, to save several forks.
10113 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
10114 + { ("$as_shell") 2> /dev/null <<\_ASEOF
10115 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10116 + emulate sh
10117 + NULLCMD=:
10118 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10119 + # is contrary to our usage. Disable this feature.
10120 + alias -g '${1+"$@"}'='"$@"'
10121 + setopt NO_GLOB_SUBST
10122 +else
10123 + case `(set -o) 2>/dev/null` in
10124 + *posix*) set -o posix ;;
10125 +esac
10126 +
10127 +fi
10128 +
10129 +
10130 +:
10131 +_ASEOF
10132 +}; then
10133 + CONFIG_SHELL=$as_shell
10134 + as_have_required=yes
10135 + if { "$as_shell" 2> /dev/null <<\_ASEOF
10136 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10137 + emulate sh
10138 + NULLCMD=:
10139 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10140 + # is contrary to our usage. Disable this feature.
10141 + alias -g '${1+"$@"}'='"$@"'
10142 + setopt NO_GLOB_SUBST
10143 +else
10144 + case `(set -o) 2>/dev/null` in
10145 + *posix*) set -o posix ;;
10146 +esac
10147 +
10148 +fi
10149 +
10150 +
10151 +:
10152 +(as_func_return () {
10153 + (exit $1)
10154 +}
10155 +as_func_success () {
10156 + as_func_return 0
10157 +}
10158 +as_func_failure () {
10159 + as_func_return 1
10160 +}
10161 +as_func_ret_success () {
10162 + return 0
10163 +}
10164 +as_func_ret_failure () {
10165 + return 1
10166 +}
10167 +
10168 +exitcode=0
10169 +if as_func_success; then
10170 + :
10171 +else
10172 + exitcode=1
10173 + echo as_func_success failed.
10174 +fi
10175 +
10176 +if as_func_failure; then
10177 + exitcode=1
10178 + echo as_func_failure succeeded.
10179 +fi
10180 +
10181 +if as_func_ret_success; then
10182 + :
10183 +else
10184 + exitcode=1
10185 + echo as_func_ret_success failed.
10186 +fi
10187 +
10188 +if as_func_ret_failure; then
10189 + exitcode=1
10190 + echo as_func_ret_failure succeeded.
10191 +fi
10192 +
10193 +if ( set x; as_func_ret_success y && test x = "$1" ); then
10194 + :
10195 +else
10196 + exitcode=1
10197 + echo positional parameters were not saved.
10198 +fi
10199 +
10200 +test $exitcode = 0) || { (exit 1); exit 1; }
10201 +
10202 +(
10203 + as_lineno_1=$LINENO
10204 + as_lineno_2=$LINENO
10205 + test "x$as_lineno_1" != "x$as_lineno_2" &&
10206 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
10207 +
10208 +_ASEOF
10209 +}; then
10210 + break
10211 +fi
10212 +
10213 +fi
10214 +
10215 + done
10216 +
10217 + if test "x$CONFIG_SHELL" != x; then
10218 + for as_var in BASH_ENV ENV
10219 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10220 + done
10221 + export CONFIG_SHELL
10222 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
10223 +fi
10224 +
10225 +
10226 + if test $as_have_required = no; then
10227 + echo This script requires a shell more modern than all the
10228 + echo shells that I found on your system. Please install a
10229 + echo modern shell, or manually run the script under such a
10230 + echo shell if you do have one.
10231 + { (exit 1); exit 1; }
10232 +fi
10233 +
10234 +
10235 +fi
10236 +
10237 +fi
10238 +
10239 +
10240 +
10241 +(eval "as_func_return () {
10242 + (exit \$1)
10243 +}
10244 +as_func_success () {
10245 + as_func_return 0
10246 +}
10247 +as_func_failure () {
10248 + as_func_return 1
10249 +}
10250 +as_func_ret_success () {
10251 + return 0
10252 +}
10253 +as_func_ret_failure () {
10254 + return 1
10255 +}
10256 +
10257 +exitcode=0
10258 +if as_func_success; then
10259 + :
10260 +else
10261 + exitcode=1
10262 + echo as_func_success failed.
10263 +fi
10264 +
10265 +if as_func_failure; then
10266 + exitcode=1
10267 + echo as_func_failure succeeded.
10268 +fi
10269 +
10270 +if as_func_ret_success; then
10271 + :
10272 +else
10273 + exitcode=1
10274 + echo as_func_ret_success failed.
10275 +fi
10276 +
10277 +if as_func_ret_failure; then
10278 + exitcode=1
10279 + echo as_func_ret_failure succeeded.
10280 +fi
10281 +
10282 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
10283 + :
10284 +else
10285 + exitcode=1
10286 + echo positional parameters were not saved.
10287 +fi
10288 +
10289 +test \$exitcode = 0") || {
10290 + echo No shell found that supports shell functions.
10291 + echo Please tell autoconf@gnu.org about your system,
10292 + echo including any error possibly output before this
10293 + echo message
10294 +}
10295 +
10296 +
10297 +
10298 + as_lineno_1=$LINENO
10299 + as_lineno_2=$LINENO
10300 + test "x$as_lineno_1" != "x$as_lineno_2" &&
10301 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10302 +
10303 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10304 + # uniformly replaced by the line number. The first 'sed' inserts a
10305 + # line-number line after each line using $LINENO; the second 'sed'
10306 + # does the real work. The second script uses 'N' to pair each
10307 + # line-number line with the line containing $LINENO, and appends
10308 + # trailing '-' during substitution so that $LINENO is not a special
10309 + # case at line end.
10310 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10311 + # scripts with optimization help from Paolo Bonzini. Blame Lee
10312 + # E. McMahon (1931-1989) for sed's syntax. :-)
10313 + sed -n '
10314 + p
10315 + /[$]LINENO/=
10316 + ' <$as_myself |
10317 + sed '
10318 + s/[$]LINENO.*/&-/
10319 + t lineno
10320 + b
10321 + :lineno
10322 + N
10323 + :loop
10324 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10325 + t loop
10326 + s/-\n.*//
10327 + ' >$as_me.lineno &&
10328 + chmod +x "$as_me.lineno" ||
10329 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10330 + { (exit 1); exit 1; }; }
10331 +
10332 + # Don't try to exec as it changes $[0], causing all sort of problems
10333 + # (the dirname of $[0] is not the place where we might find the
10334 + # original and so on. Autoconf is especially sensitive to this).
10335 + . "./$as_me.lineno"
10336 + # Exit status is that of the last command.
10337 + exit
10338 +}
10339 +
10340 +
10341 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10342 + as_dirname=dirname
10343 +else
10344 + as_dirname=false
10345 +fi
10346 +
10347 +ECHO_C= ECHO_N= ECHO_T=
10348 +case `echo -n x` in
10349 +-n*)
10350 + case `echo 'x\c'` in
10351 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10352 + *) ECHO_C='\c';;
10353 + esac;;
10354 +*)
10355 + ECHO_N='-n';;
10356 +esac
10357 +
10358 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10359 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10360 + as_expr=expr
10361 +else
10362 + as_expr=false
10363 +fi
10364 +
10365 +rm -f conf$$ conf$$.exe conf$$.file
10366 +if test -d conf$$.dir; then
10367 + rm -f conf$$.dir/conf$$.file
10368 +else
10369 + rm -f conf$$.dir
10370 + mkdir conf$$.dir
10371 +fi
10372 +echo >conf$$.file
10373 +if ln -s conf$$.file conf$$ 2>/dev/null; then
10374 + as_ln_s='ln -s'
10375 + # ... but there are two gotchas:
10376 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10377 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10378 + # In both cases, we have to default to `cp -p'.
10379 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10380 + as_ln_s='cp -p'
10381 +elif ln conf$$.file conf$$ 2>/dev/null; then
10382 + as_ln_s=ln
10383 +else
10384 + as_ln_s='cp -p'
10385 +fi
10386 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10387 +rmdir conf$$.dir 2>/dev/null
10388 +
10389 +if mkdir -p . 2>/dev/null; then
10390 + as_mkdir_p=:
10391 +else
10392 + test -d ./-p && rmdir ./-p
10393 + as_mkdir_p=false
10394 +fi
10395 +
10396 +if test -x / >/dev/null 2>&1; then
10397 + as_test_x='test -x'
10398 +else
10399 + if ls -dL / >/dev/null 2>&1; then
10400 + as_ls_L_option=L
10401 + else
10402 + as_ls_L_option=
10403 + fi
10404 + as_test_x='
10405 + eval sh -c '\''
10406 + if test -d "$1"; then
10407 + test -d "$1/.";
10408 + else
10409 + case $1 in
10410 + -*)set "./$1";;
10411 + esac;
10412 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10413 + ???[sx]*):;;*)false;;esac;fi
10414 + '\'' sh
10415 + '
10416 +fi
10417 +as_executable_p=$as_test_x
10418 +
10419 +# Sed expression to map a string onto a valid CPP name.
10420 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10421 +
10422 +# Sed expression to map a string onto a valid variable name.
10423 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10424 +
10425 +
10426 +
10427 +
10428 +# Check that we are running under the correct shell.
10429 +SHELL=${CONFIG_SHELL-/bin/sh}
10430 +
10431 +case X$ECHO in
10432 +X*--fallback-echo)
10433 + # Remove one level of quotation (which was required for Make).
10434 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
10435 + ;;
10436 +esac
10437 +
10438 +echo=${ECHO-echo}
10439 +if test "X$1" = X--no-reexec; then
10440 + # Discard the --no-reexec flag, and continue.
10441 + shift
10442 +elif test "X$1" = X--fallback-echo; then
10443 + # Avoid inline document here, it may be left over
10444 + :
10445 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
10446 + # Yippee, $echo works!
10447 + :
10448 +else
10449 + # Restart under the correct shell.
10450 + exec $SHELL "$0" --no-reexec ${1+"$@"}
10451 +fi
10452 +
10453 +if test "X$1" = X--fallback-echo; then
10454 + # used as fallback echo
10455 + shift
10456 + cat <<EOF
10457 +$*
10458 +EOF
10459 + exit 0
10460 +fi
10461 +
10462 +# The HP-UX ksh and POSIX shell print the target directory to stdout
10463 +# if CDPATH is set.
10464 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10465 +
10466 +if test -z "$ECHO"; then
10467 +if test "X${echo_test_string+set}" != Xset; then
10468 +# find a string as large as possible, as long as the shell can cope with it
10469 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
10470 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
10471 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
10472 + echo_test_string=`eval $cmd` &&
10473 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
10474 + then
10475 + break
10476 + fi
10477 + done
10478 +fi
10479 +
10480 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
10481 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
10482 + test "X$echo_testing_string" = "X$echo_test_string"; then
10483 + :
10484 +else
10485 + # The Solaris, AIX, and Digital Unix default echo programs unquote
10486 + # backslashes. This makes it impossible to quote backslashes using
10487 + # echo "$something" | sed 's/\\/\\\\/g'
10488 + #
10489 + # So, first we look for a working echo in the user's PATH.
10490 +
10491 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10492 + for dir in $PATH /usr/ucb; do
10493 + IFS="$lt_save_ifs"
10494 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
10495 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
10496 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
10497 + test "X$echo_testing_string" = "X$echo_test_string"; then
10498 + echo="$dir/echo"
10499 + break
10500 + fi
10501 + done
10502 + IFS="$lt_save_ifs"
10503 +
10504 + if test "X$echo" = Xecho; then
10505 + # We didn't find a better echo, so look for alternatives.
10506 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
10507 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
10508 + test "X$echo_testing_string" = "X$echo_test_string"; then
10509 + # This shell has a builtin print -r that does the trick.
10510 + echo='print -r'
10511 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
10512 + test "X$CONFIG_SHELL" != X/bin/ksh; then
10513 + # If we have ksh, try running configure again with it.
10514 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
10515 + export ORIGINAL_CONFIG_SHELL
10516 + CONFIG_SHELL=/bin/ksh
10517 + export CONFIG_SHELL
10518 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
10519 + else
10520 + # Try using printf.
10521 + echo='printf %s\n'
10522 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
10523 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
10524 + test "X$echo_testing_string" = "X$echo_test_string"; then
10525 + # Cool, printf works
10526 + :
10527 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
10528 + test "X$echo_testing_string" = 'X\t' &&
10529 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
10530 + test "X$echo_testing_string" = "X$echo_test_string"; then
10531 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
10532 + export CONFIG_SHELL
10533 + SHELL="$CONFIG_SHELL"
10534 + export SHELL
10535 + echo="$CONFIG_SHELL $0 --fallback-echo"
10536 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
10537 + test "X$echo_testing_string" = 'X\t' &&
10538 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
10539 + test "X$echo_testing_string" = "X$echo_test_string"; then
10540 + echo="$CONFIG_SHELL $0 --fallback-echo"
10541 + else
10542 + # maybe with a smaller string...
10543 + prev=:
10544 +
10545 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
10546 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
10547 + then
10548 + break
10549 + fi
10550 + prev="$cmd"
10551 + done
10552 +
10553 + if test "$prev" != 'sed 50q "$0"'; then
10554 + echo_test_string=`eval $prev`
10555 + export echo_test_string
10556 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
10557 + else
10558 + # Oops. We lost completely, so just stick with echo.
10559 + echo=echo
10560 + fi
10561 + fi
10562 + fi
10563 + fi
10564 +fi
10565 +fi
10566 +
10567 +# Copy echo and quote the copy suitably for passing to libtool from
10568 +# the Makefile, instead of quoting the original, which is used later.
10569 +ECHO=$echo
10570 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
10571 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
10572 +fi
10573 +
10574 +
10575 +
10576 +
10577 +tagnames=${tagnames+${tagnames},}CXX
10578 +
10579 +tagnames=${tagnames+${tagnames},}F77
10580 +
10581 +exec 7<&0 </dev/null 6>&1
10582 +
10583 +# Name of the host.
10584 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
10585 +# so uname gets run too.
10586 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
10587 +
10588 +#
10589 +# Initializations.
10590 +#
10591 +ac_default_prefix=/usr/local
10592 +ac_clean_files=
10593 +ac_config_libobj_dir=.
10594 +LIBOBJS=
10595 +cross_compiling=no
10596 +subdirs=
10597 +MFLAGS=
10598 +MAKEFLAGS=
10599 +SHELL=${CONFIG_SHELL-/bin/sh}
10600 +
10601 +# Identity of this package.
10602 +PACKAGE_NAME=
10603 +PACKAGE_TARNAME=
10604 +PACKAGE_VERSION=
10605 +PACKAGE_STRING=
10606 +PACKAGE_BUGREPORT=
10607 +
10608 +# Factoring default headers for most tests.
10609 +ac_includes_default="\
10610 +#include <stdio.h>
10611 +#ifdef HAVE_SYS_TYPES_H
10612 +# include <sys/types.h>
10613 +#endif
10614 +#ifdef HAVE_SYS_STAT_H
10615 +# include <sys/stat.h>
10616 +#endif
10617 +#ifdef STDC_HEADERS
10618 +# include <stdlib.h>
10619 +# include <stddef.h>
10620 +#else
10621 +# ifdef HAVE_STDLIB_H
10622 +# include <stdlib.h>
10623 +# endif
10624 +#endif
10625 +#ifdef HAVE_STRING_H
10626 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10627 +# include <memory.h>
10628 +# endif
10629 +# include <string.h>
10630 +#endif
10631 +#ifdef HAVE_STRINGS_H
10632 +# include <strings.h>
10633 +#endif
10634 +#ifdef HAVE_INTTYPES_H
10635 +# include <inttypes.h>
10636 +#endif
10637 +#ifdef HAVE_STDINT_H
10638 +# include <stdint.h>
10639 +#endif
10640 +#ifdef HAVE_UNISTD_H
10641 +# include <unistd.h>
10642 +#endif"
10643 +
10644 +ac_subst_vars='SHELL
10645 +PATH_SEPARATOR
10646 +PACKAGE_NAME
10647 +PACKAGE_TARNAME
10648 +PACKAGE_VERSION
10649 +PACKAGE_STRING
10650 +PACKAGE_BUGREPORT
10651 +exec_prefix
10652 +prefix
10653 +program_transform_name
10654 +bindir
10655 +sbindir
10656 +libexecdir
10657 +datarootdir
10658 +datadir
10659 +sysconfdir
10660 +sharedstatedir
10661 +localstatedir
10662 +includedir
10663 +oldincludedir
10664 +docdir
10665 +infodir
10666 +htmldir
10667 +dvidir
10668 +pdfdir
10669 +psdir
10670 +libdir
10671 +localedir
10672 +mandir
10673 +DEFS
10674 +ECHO_C
10675 +ECHO_N
10676 +ECHO_T
10677 +LIBS
10678 +build_alias
10679 +host_alias
10680 +target_alias
10681 +INSTALL_PROGRAM
10682 +INSTALL_SCRIPT
10683 +INSTALL_DATA
10684 +CYGPATH_W
10685 +PACKAGE
10686 +VERSION
10687 +ACLOCAL
10688 +AUTOCONF
10689 +AUTOMAKE
10690 +AUTOHEADER
10691 +MAKEINFO
10692 +install_sh
10693 +STRIP
10694 +INSTALL_STRIP_PROGRAM
10695 +mkdir_p
10696 +AWK
10697 +SET_MAKE
10698 +am__leading_dot
10699 +AMTAR
10700 +am__tar
10701 +am__untar
10702 +build
10703 +build_cpu
10704 +build_vendor
10705 +build_os
10706 +host
10707 +host_cpu
10708 +host_vendor
10709 +host_os
10710 +CC
10711 +CFLAGS
10712 +LDFLAGS
10713 +CPPFLAGS
10714 +ac_ct_CC
10715 +EXEEXT
10716 +OBJEXT
10717 +DEPDIR
10718 +am__include
10719 +am__quote
10720 +AMDEP_TRUE
10721 +AMDEP_FALSE
10722 +AMDEPBACKSLASH
10723 +CCDEPMODE
10724 +am__fastdepCC_TRUE
10725 +am__fastdepCC_FALSE
10726 +SED
10727 +GREP
10728 +EGREP
10729 +LN_S
10730 +ECHO
10731 +AR
10732 +RANLIB
10733 +CPP
10734 +CXX
10735 +CXXFLAGS
10736 +ac_ct_CXX
10737 +CXXDEPMODE
10738 +am__fastdepCXX_TRUE
10739 +am__fastdepCXX_FALSE
10740 +CXXCPP
10741 +F77
10742 +FFLAGS
10743 +ac_ct_F77
10744 +LIBTOOL
10745 +LIBTOOL_DEPS
10746 +RPMBUILD
10747 +MP4FF_LIBS
10748 +external_mp4v2
10749 +HAVE_MPEG4IP_PLUG_TRUE
10750 +HAVE_MPEG4IP_PLUG_FALSE
10751 +XMMS_CONFIG
10752 +XMMS_CFLAGS
10753 +XMMS_LIBS
10754 +XMMS_VERSION
10755 +XMMS_DATA_DIR
10756 +XMMS_PLUGIN_DIR
10757 +XMMS_VISUALIZATION_PLUGIN_DIR
10758 +XMMS_INPUT_PLUGIN_DIR
10759 +XMMS_OUTPUT_PLUGIN_DIR
10760 +XMMS_GENERAL_PLUGIN_DIR
10761 +XMMS_EFFECT_PLUGIN_DIR
10762 +GTK_CONFIG
10763 +HAVE_XMMS_TRUE
10764 +HAVE_XMMS_FALSE
10765 +LIBOBJS
10766 +LTLIBOBJS'
10767 +ac_subst_files=''
10768 + ac_precious_vars='build_alias
10769 +host_alias
10770 +target_alias
10771 +CC
10772 +CFLAGS
10773 +LDFLAGS
10774 +LIBS
10775 +CPPFLAGS
10776 +CPP
10777 +CXX
10778 +CXXFLAGS
10779 +CCC
10780 +CXXCPP
10781 +F77
10782 +FFLAGS'
10783 +
10784 +
10785 +# Initialize some variables set by options.
10786 +ac_init_help=
10787 +ac_init_version=false
10788 +# The variables have the same names as the options, with
10789 +# dashes changed to underlines.
10790 +cache_file=/dev/null
10791 +exec_prefix=NONE
10792 +no_create=
10793 +no_recursion=
10794 +prefix=NONE
10795 +program_prefix=NONE
10796 +program_suffix=NONE
10797 +program_transform_name=s,x,x,
10798 +silent=
10799 +site=
10800 +srcdir=
10801 +verbose=
10802 +x_includes=NONE
10803 +x_libraries=NONE
10804 +
10805 +# Installation directory options.
10806 +# These are left unexpanded so users can "make install exec_prefix=/foo"
10807 +# and all the variables that are supposed to be based on exec_prefix
10808 +# by default will actually change.
10809 +# Use braces instead of parens because sh, perl, etc. also accept them.
10810 +# (The list follows the same order as the GNU Coding Standards.)
10811 +bindir='${exec_prefix}/bin'
10812 +sbindir='${exec_prefix}/sbin'
10813 +libexecdir='${exec_prefix}/libexec'
10814 +datarootdir='${prefix}/share'
10815 +datadir='${datarootdir}'
10816 +sysconfdir='${prefix}/etc'
10817 +sharedstatedir='${prefix}/com'
10818 +localstatedir='${prefix}/var'
10819 +includedir='${prefix}/include'
10820 +oldincludedir='/usr/include'
10821 +docdir='${datarootdir}/doc/${PACKAGE}'
10822 +infodir='${datarootdir}/info'
10823 +htmldir='${docdir}'
10824 +dvidir='${docdir}'
10825 +pdfdir='${docdir}'
10826 +psdir='${docdir}'
10827 +libdir='${exec_prefix}/lib'
10828 +localedir='${datarootdir}/locale'
10829 +mandir='${datarootdir}/man'
10830 +
10831 +ac_prev=
10832 +ac_dashdash=
10833 +for ac_option
10834 +do
10835 + # If the previous option needs an argument, assign it.
10836 + if test -n "$ac_prev"; then
10837 + eval $ac_prev=\$ac_option
10838 + ac_prev=
10839 + continue
10840 + fi
10841 +
10842 + case $ac_option in
10843 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
10844 + *) ac_optarg=yes ;;
10845 + esac
10846 +
10847 + # Accept the important Cygnus configure options, so we can diagnose typos.
10848 +
10849 + case $ac_dashdash$ac_option in
10850 + --)
10851 + ac_dashdash=yes ;;
10852 +
10853 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
10854 + ac_prev=bindir ;;
10855 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
10856 + bindir=$ac_optarg ;;
10857 +
10858 + -build | --build | --buil | --bui | --bu)
10859 + ac_prev=build_alias ;;
10860 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
10861 + build_alias=$ac_optarg ;;
10862 +
10863 + -cache-file | --cache-file | --cache-fil | --cache-fi \
10864 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10865 + ac_prev=cache_file ;;
10866 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10867 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
10868 + cache_file=$ac_optarg ;;
10869 +
10870 + --config-cache | -C)
10871 + cache_file=config.cache ;;
10872 +
10873 + -datadir | --datadir | --datadi | --datad)
10874 + ac_prev=datadir ;;
10875 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
10876 + datadir=$ac_optarg ;;
10877 +
10878 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
10879 + | --dataroo | --dataro | --datar)
10880 + ac_prev=datarootdir ;;
10881 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
10882 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
10883 + datarootdir=$ac_optarg ;;
10884 +
10885 + -disable-* | --disable-*)
10886 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10887 + # Reject names that are not valid shell variable names.
10888 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10889 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10890 + { (exit 1); exit 1; }; }
10891 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
10892 + eval enable_$ac_feature=no ;;
10893 +
10894 + -docdir | --docdir | --docdi | --doc | --do)
10895 + ac_prev=docdir ;;
10896 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
10897 + docdir=$ac_optarg ;;
10898 +
10899 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
10900 + ac_prev=dvidir ;;
10901 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
10902 + dvidir=$ac_optarg ;;
10903 +
10904 + -enable-* | --enable-*)
10905 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10906 + # Reject names that are not valid shell variable names.
10907 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10908 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10909 + { (exit 1); exit 1; }; }
10910 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
10911 + eval enable_$ac_feature=\$ac_optarg ;;
10912 +
10913 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
10914 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10915 + | --exec | --exe | --ex)
10916 + ac_prev=exec_prefix ;;
10917 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
10918 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
10919 + | --exec=* | --exe=* | --ex=*)
10920 + exec_prefix=$ac_optarg ;;
10921 +
10922 + -gas | --gas | --ga | --g)
10923 + # Obsolete; use --with-gas.
10924 + with_gas=yes ;;
10925 +
10926 + -help | --help | --hel | --he | -h)
10927 + ac_init_help=long ;;
10928 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
10929 + ac_init_help=recursive ;;
10930 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
10931 + ac_init_help=short ;;
10932 +
10933 + -host | --host | --hos | --ho)
10934 + ac_prev=host_alias ;;
10935 + -host=* | --host=* | --hos=* | --ho=*)
10936 + host_alias=$ac_optarg ;;
10937 +
10938 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
10939 + ac_prev=htmldir ;;
10940 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
10941 + | --ht=*)
10942 + htmldir=$ac_optarg ;;
10943 +
10944 + -includedir | --includedir | --includedi | --included | --include \
10945 + | --includ | --inclu | --incl | --inc)
10946 + ac_prev=includedir ;;
10947 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
10948 + | --includ=* | --inclu=* | --incl=* | --inc=*)
10949 + includedir=$ac_optarg ;;
10950 +
10951 + -infodir | --infodir | --infodi | --infod | --info | --inf)
10952 + ac_prev=infodir ;;
10953 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
10954 + infodir=$ac_optarg ;;
10955 +
10956 + -libdir | --libdir | --libdi | --libd)
10957 + ac_prev=libdir ;;
10958 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
10959 + libdir=$ac_optarg ;;
10960 +
10961 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
10962 + | --libexe | --libex | --libe)
10963 + ac_prev=libexecdir ;;
10964 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
10965 + | --libexe=* | --libex=* | --libe=*)
10966 + libexecdir=$ac_optarg ;;
10967 +
10968 + -localedir | --localedir | --localedi | --localed | --locale)
10969 + ac_prev=localedir ;;
10970 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
10971 + localedir=$ac_optarg ;;
10972 +
10973 + -localstatedir | --localstatedir | --localstatedi | --localstated \
10974 + | --localstate | --localstat | --localsta | --localst | --locals)
10975 + ac_prev=localstatedir ;;
10976 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
10977 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
10978 + localstatedir=$ac_optarg ;;
10979 +
10980 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
10981 + ac_prev=mandir ;;
10982 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
10983 + mandir=$ac_optarg ;;
10984 +
10985 + -nfp | --nfp | --nf)
10986 + # Obsolete; use --without-fp.
10987 + with_fp=no ;;
10988 +
10989 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
10990 + | --no-cr | --no-c | -n)
10991 + no_create=yes ;;
10992 +
10993 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
10994 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
10995 + no_recursion=yes ;;
10996 +
10997 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
10998 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
10999 + | --oldin | --oldi | --old | --ol | --o)
11000 + ac_prev=oldincludedir ;;
11001 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
11002 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
11003 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
11004 + oldincludedir=$ac_optarg ;;
11005 +
11006 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11007 + ac_prev=prefix ;;
11008 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11009 + prefix=$ac_optarg ;;
11010 +
11011 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
11012 + | --program-pre | --program-pr | --program-p)
11013 + ac_prev=program_prefix ;;
11014 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
11015 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
11016 + program_prefix=$ac_optarg ;;
11017 +
11018 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
11019 + | --program-suf | --program-su | --program-s)
11020 + ac_prev=program_suffix ;;
11021 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
11022 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
11023 + program_suffix=$ac_optarg ;;
11024 +
11025 + -program-transform-name | --program-transform-name \
11026 + | --program-transform-nam | --program-transform-na \
11027 + | --program-transform-n | --program-transform- \
11028 + | --program-transform | --program-transfor \
11029 + | --program-transfo | --program-transf \
11030 + | --program-trans | --program-tran \
11031 + | --progr-tra | --program-tr | --program-t)
11032 + ac_prev=program_transform_name ;;
11033 + -program-transform-name=* | --program-transform-name=* \
11034 + | --program-transform-nam=* | --program-transform-na=* \
11035 + | --program-transform-n=* | --program-transform-=* \
11036 + | --program-transform=* | --program-transfor=* \
11037 + | --program-transfo=* | --program-transf=* \
11038 + | --program-trans=* | --program-tran=* \
11039 + | --progr-tra=* | --program-tr=* | --program-t=*)
11040 + program_transform_name=$ac_optarg ;;
11041 +
11042 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
11043 + ac_prev=pdfdir ;;
11044 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
11045 + pdfdir=$ac_optarg ;;
11046 +
11047 + -psdir | --psdir | --psdi | --psd | --ps)
11048 + ac_prev=psdir ;;
11049 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
11050 + psdir=$ac_optarg ;;
11051 +
11052 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11053 + | -silent | --silent | --silen | --sile | --sil)
11054 + silent=yes ;;
11055 +
11056 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
11057 + ac_prev=sbindir ;;
11058 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
11059 + | --sbi=* | --sb=*)
11060 + sbindir=$ac_optarg ;;
11061 +
11062 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
11063 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
11064 + | --sharedst | --shareds | --shared | --share | --shar \
11065 + | --sha | --sh)
11066 + ac_prev=sharedstatedir ;;
11067 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
11068 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
11069 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
11070 + | --sha=* | --sh=*)
11071 + sharedstatedir=$ac_optarg ;;
11072 +
11073 + -site | --site | --sit)
11074 + ac_prev=site ;;
11075 + -site=* | --site=* | --sit=*)
11076 + site=$ac_optarg ;;
11077 +
11078 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11079 + ac_prev=srcdir ;;
11080 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11081 + srcdir=$ac_optarg ;;
11082 +
11083 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
11084 + | --syscon | --sysco | --sysc | --sys | --sy)
11085 + ac_prev=sysconfdir ;;
11086 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
11087 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
11088 + sysconfdir=$ac_optarg ;;
11089 +
11090 + -target | --target | --targe | --targ | --tar | --ta | --t)
11091 + ac_prev=target_alias ;;
11092 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
11093 + target_alias=$ac_optarg ;;
11094 +
11095 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
11096 + verbose=yes ;;
11097 +
11098 + -version | --version | --versio | --versi | --vers | -V)
11099 + ac_init_version=: ;;
11100 +
11101 + -with-* | --with-*)
11102 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11103 + # Reject names that are not valid shell variable names.
11104 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11105 + { echo "$as_me: error: invalid package name: $ac_package" >&2
11106 + { (exit 1); exit 1; }; }
11107 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
11108 + eval with_$ac_package=\$ac_optarg ;;
11109 +
11110 + -without-* | --without-*)
11111 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11112 + # Reject names that are not valid shell variable names.
11113 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11114 + { echo "$as_me: error: invalid package name: $ac_package" >&2
11115 + { (exit 1); exit 1; }; }
11116 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
11117 + eval with_$ac_package=no ;;
11118 +
11119 + --x)
11120 + # Obsolete; use --with-x.
11121 + with_x=yes ;;
11122 +
11123 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
11124 + | --x-incl | --x-inc | --x-in | --x-i)
11125 + ac_prev=x_includes ;;
11126 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
11127 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
11128 + x_includes=$ac_optarg ;;
11129 +
11130 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
11131 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
11132 + ac_prev=x_libraries ;;
11133 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
11134 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11135 + x_libraries=$ac_optarg ;;
11136 +
11137 + -*) { echo "$as_me: error: unrecognized option: $ac_option
11138 +Try \`$0 --help' for more information." >&2
11139 + { (exit 1); exit 1; }; }
11140 + ;;
11141 +
11142 + *=*)
11143 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11144 + # Reject names that are not valid shell variable names.
11145 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
11146 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
11147 + { (exit 1); exit 1; }; }
11148 + eval $ac_envvar=\$ac_optarg
11149 + export $ac_envvar ;;
11150 +
11151 + *)
11152 + # FIXME: should be removed in autoconf 3.0.
11153 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11154 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11155 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11156 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11157 + ;;
11158 +
11159 + esac
11160 +done
11161 +
11162 +if test -n "$ac_prev"; then
11163 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11164 + { echo "$as_me: error: missing argument to $ac_option" >&2
11165 + { (exit 1); exit 1; }; }
11166 +fi
11167 +
11168 +# Be sure to have absolute directory names.
11169 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11170 + datadir sysconfdir sharedstatedir localstatedir includedir \
11171 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11172 + libdir localedir mandir
11173 +do
11174 + eval ac_val=\$$ac_var
11175 + case $ac_val in
11176 + [\\/$]* | ?:[\\/]* ) continue;;
11177 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11178 + esac
11179 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
11180 + { (exit 1); exit 1; }; }
11181 +done
11182 +
11183 +# There might be people who depend on the old broken behavior: `$host'
11184 +# used to hold the argument of --host etc.
11185 +# FIXME: To remove some day.
11186 +build=$build_alias
11187 +host=$host_alias
11188 +target=$target_alias
11189 +
11190 +# FIXME: To remove some day.
11191 +if test "x$host_alias" != x; then
11192 + if test "x$build_alias" = x; then
11193 + cross_compiling=maybe
11194 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11195 + If a cross compiler is detected then cross compile mode will be used." >&2
11196 + elif test "x$build_alias" != "x$host_alias"; then
11197 + cross_compiling=yes
11198 + fi
11199 +fi
11200 +
11201 +ac_tool_prefix=
11202 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
11203 +
11204 +test "$silent" = yes && exec 6>/dev/null
11205 +
11206 +
11207 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
11208 +ac_ls_di=`ls -di .` &&
11209 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
11210 + { echo "$as_me: error: Working directory cannot be determined" >&2
11211 + { (exit 1); exit 1; }; }
11212 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
11213 + { echo "$as_me: error: pwd does not report name of working directory" >&2
11214 + { (exit 1); exit 1; }; }
11215 +
11216 +
11217 +# Find the source files, if location was not specified.
11218 +if test -z "$srcdir"; then
11219 + ac_srcdir_defaulted=yes
11220 + # Try the directory containing this script, then the parent directory.
11221 + ac_confdir=`$as_dirname -- "$0" ||
11222 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11223 + X"$0" : 'X\(//\)[^/]' \| \
11224 + X"$0" : 'X\(//\)$' \| \
11225 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11226 +echo X"$0" |
11227 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11228 + s//\1/
11229 + q
11230 + }
11231 + /^X\(\/\/\)[^/].*/{
11232 + s//\1/
11233 + q
11234 + }
11235 + /^X\(\/\/\)$/{
11236 + s//\1/
11237 + q
11238 + }
11239 + /^X\(\/\).*/{
11240 + s//\1/
11241 + q
11242 + }
11243 + s/.*/./; q'`
11244 + srcdir=$ac_confdir
11245 + if test ! -r "$srcdir/$ac_unique_file"; then
11246 + srcdir=..
11247 + fi
11248 +else
11249 + ac_srcdir_defaulted=no
11250 +fi
11251 +if test ! -r "$srcdir/$ac_unique_file"; then
11252 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
11253 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
11254 + { (exit 1); exit 1; }; }
11255 +fi
11256 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11257 +ac_abs_confdir=`(
11258 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
11259 + { (exit 1); exit 1; }; }
11260 + pwd)`
11261 +# When building in place, set srcdir=.
11262 +if test "$ac_abs_confdir" = "$ac_pwd"; then
11263 + srcdir=.
11264 +fi
11265 +# Remove unnecessary trailing slashes from srcdir.
11266 +# Double slashes in file names in object file debugging info
11267 +# mess up M-x gdb in Emacs.
11268 +case $srcdir in
11269 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
11270 +esac
11271 +for ac_var in $ac_precious_vars; do
11272 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
11273 + eval ac_env_${ac_var}_value=\$${ac_var}
11274 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
11275 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
11276 +done
11277 +
11278 +#
11279 +# Report the --help message.
11280 +#
11281 +if test "$ac_init_help" = "long"; then
11282 + # Omit some internal or obsolete options to make the list less imposing.
11283 + # This message is too long to be a string in the A/UX 3.1 sh.
11284 + cat <<_ACEOF
11285 +\`configure' configures this package to adapt to many kinds of systems.
11286 +
11287 +Usage: $0 [OPTION]... [VAR=VALUE]...
11288 +
11289 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
11290 +VAR=VALUE. See below for descriptions of some of the useful variables.
11291 +
11292 +Defaults for the options are specified in brackets.
11293 +
11294 +Configuration:
11295 + -h, --help display this help and exit
11296 + --help=short display options specific to this package
11297 + --help=recursive display the short help of all the included packages
11298 + -V, --version display version information and exit
11299 + -q, --quiet, --silent do not print \`checking...' messages
11300 + --cache-file=FILE cache test results in FILE [disabled]
11301 + -C, --config-cache alias for \`--cache-file=config.cache'
11302 + -n, --no-create do not create output files
11303 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
11304 +
11305 +Installation directories:
11306 + --prefix=PREFIX install architecture-independent files in PREFIX
11307 + [$ac_default_prefix]
11308 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
11309 + [PREFIX]
11310 +
11311 +By default, \`make install' will install all the files in
11312 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
11313 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
11314 +for instance \`--prefix=\$HOME'.
11315 +
11316 +For better control, use the options below.
11317 +
11318 +Fine tuning of the installation directories:
11319 + --bindir=DIR user executables [EPREFIX/bin]
11320 + --sbindir=DIR system admin executables [EPREFIX/sbin]
11321 + --libexecdir=DIR program executables [EPREFIX/libexec]
11322 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
11323 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
11324 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
11325 + --libdir=DIR object code libraries [EPREFIX/lib]
11326 + --includedir=DIR C header files [PREFIX/include]
11327 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
11328 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
11329 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
11330 + --infodir=DIR info documentation [DATAROOTDIR/info]
11331 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
11332 + --mandir=DIR man documentation [DATAROOTDIR/man]
11333 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
11334 + --htmldir=DIR html documentation [DOCDIR]
11335 + --dvidir=DIR dvi documentation [DOCDIR]
11336 + --pdfdir=DIR pdf documentation [DOCDIR]
11337 + --psdir=DIR ps documentation [DOCDIR]
11338 +_ACEOF
11339 +
11340 + cat <<\_ACEOF
11341 +
11342 +Program names:
11343 + --program-prefix=PREFIX prepend PREFIX to installed program names
11344 + --program-suffix=SUFFIX append SUFFIX to installed program names
11345 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
11346 +
11347 +System types:
11348 + --build=BUILD configure for building on BUILD [guessed]
11349 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
11350 +_ACEOF
11351 +fi
11352 +
11353 +if test -n "$ac_init_help"; then
11354 +
11355 + cat <<\_ACEOF
11356 +
11357 +Optional Features:
11358 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
11359 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
11360 + --enable-shared[=PKGS] build shared libraries [default=yes]
11361 + --enable-static[=PKGS] build static libraries [default=yes]
11362 + --enable-fast-install[=PKGS]
11363 + optimize for fast installation [default=yes]
11364 + --disable-dependency-tracking speeds up one-time build
11365 + --enable-dependency-tracking do not reject slow dependency extractors
11366 + --disable-libtool-lock avoid locking (might break parallel builds)
11367 +
11368 +Optional Packages:
11369 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
11370 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
11371 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
11372 + --with-pic try to use only PIC/non-PIC objects [default=use
11373 + both]
11374 + --with-tags[=TAGS] include additional configurations [automatic]
11375 + --with-xmms compile XMMS-1 plugin
11376 + --with-drm compile libfaad with DRM support
11377 + --with-mpeg4ip compile mpeg4ip plugin
11378 + --with-xmms-prefix=PFX Prefix where XMMS is installed (optional)
11379 + --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)
11380 +
11381 +Some influential environment variables:
11382 + CC C compiler command
11383 + CFLAGS C compiler flags
11384 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
11385 + nonstandard directory <lib dir>
11386 + LIBS libraries to pass to the linker, e.g. -l<library>
11387 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
11388 + you have headers in a nonstandard directory <include dir>
11389 + CPP C preprocessor
11390 + CXX C++ compiler command
11391 + CXXFLAGS C++ compiler flags
11392 + CXXCPP C++ preprocessor
11393 + F77 Fortran 77 compiler command
11394 + FFLAGS Fortran 77 compiler flags
11395 +
11396 +Use these variables to override the choices made by `configure' or to help
11397 +it to find libraries and programs with nonstandard names/locations.
11398 +
11399 +_ACEOF
11400 +ac_status=$?
11401 +fi
11402 +
11403 +if test "$ac_init_help" = "recursive"; then
11404 + # If there are subdirs, report their specific --help.
11405 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
11406 + test -d "$ac_dir" || continue
11407 + ac_builddir=.
11408 +
11409 +case "$ac_dir" in
11410 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11411 +*)
11412 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11413 + # A ".." for each directory in $ac_dir_suffix.
11414 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11415 + case $ac_top_builddir_sub in
11416 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11417 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11418 + esac ;;
11419 +esac
11420 +ac_abs_top_builddir=$ac_pwd
11421 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
11422 +# for backward compatibility:
11423 +ac_top_builddir=$ac_top_build_prefix
11424 +
11425 +case $srcdir in
11426 + .) # We are building in place.
11427 + ac_srcdir=.
11428 + ac_top_srcdir=$ac_top_builddir_sub
11429 + ac_abs_top_srcdir=$ac_pwd ;;
11430 + [\\/]* | ?:[\\/]* ) # Absolute name.
11431 + ac_srcdir=$srcdir$ac_dir_suffix;
11432 + ac_top_srcdir=$srcdir
11433 + ac_abs_top_srcdir=$srcdir ;;
11434 + *) # Relative name.
11435 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11436 + ac_top_srcdir=$ac_top_build_prefix$srcdir
11437 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11438 +esac
11439 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11440 +
11441 + cd "$ac_dir" || { ac_status=$?; continue; }
11442 + # Check for guested configure.
11443 + if test -f "$ac_srcdir/configure.gnu"; then
11444 + echo &&
11445 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
11446 + elif test -f "$ac_srcdir/configure"; then
11447 + echo &&
11448 + $SHELL "$ac_srcdir/configure" --help=recursive
11449 + else
11450 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11451 + fi || ac_status=$?
11452 + cd "$ac_pwd" || { ac_status=$?; break; }
11453 + done
11454 +fi
11455 +
11456 +test -n "$ac_init_help" && exit $ac_status
11457 +if $ac_init_version; then
11458 + cat <<\_ACEOF
11459 +configure
11460 +generated by GNU Autoconf 2.61
11461 +
11462 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
11463 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
11464 +This configure script is free software; the Free Software Foundation
11465 +gives unlimited permission to copy, distribute and modify it.
11466 +_ACEOF
11467 + exit
11468 +fi
11469 +cat >config.log <<_ACEOF
11470 +This file contains any messages produced by compilers while
11471 +running configure, to aid debugging if configure makes a mistake.
11472 +
11473 +It was created by $as_me, which was
11474 +generated by GNU Autoconf 2.61. Invocation command line was
11475 +
11476 + $ $0 $@
11477 +
11478 +_ACEOF
11479 +exec 5>>config.log
11480 +{
11481 +cat <<_ASUNAME
11482 +## --------- ##
11483 +## Platform. ##
11484 +## --------- ##
11485 +
11486 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
11487 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
11488 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
11489 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
11490 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
11491 +
11492 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
11493 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
11494 +
11495 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
11496 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
11497 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
11498 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
11499 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
11500 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
11501 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
11502 +
11503 +_ASUNAME
11504 +
11505 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11506 +for as_dir in $PATH
11507 +do
11508 + IFS=$as_save_IFS
11509 + test -z "$as_dir" && as_dir=.
11510 + echo "PATH: $as_dir"
11511 +done
11512 +IFS=$as_save_IFS
11513 +
11514 +} >&5
11515 +
11516 +cat >&5 <<_ACEOF
11517 +
11518 +
11519 +## ----------- ##
11520 +## Core tests. ##
11521 +## ----------- ##
11522 +
11523 +_ACEOF
11524 +
11525 +
11526 +# Keep a trace of the command line.
11527 +# Strip out --no-create and --no-recursion so they do not pile up.
11528 +# Strip out --silent because we don't want to record it for future runs.
11529 +# Also quote any args containing shell meta-characters.
11530 +# Make two passes to allow for proper duplicate-argument suppression.
11531 +ac_configure_args=
11532 +ac_configure_args0=
11533 +ac_configure_args1=
11534 +ac_must_keep_next=false
11535 +for ac_pass in 1 2
11536 +do
11537 + for ac_arg
11538 + do
11539 + case $ac_arg in
11540 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
11541 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11542 + | -silent | --silent | --silen | --sile | --sil)
11543 + continue ;;
11544 + *\'*)
11545 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11546 + esac
11547 + case $ac_pass in
11548 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
11549 + 2)
11550 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
11551 + if test $ac_must_keep_next = true; then
11552 + ac_must_keep_next=false # Got value, back to normal.
11553 + else
11554 + case $ac_arg in
11555 + *=* | --config-cache | -C | -disable-* | --disable-* \
11556 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
11557 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
11558 + | -with-* | --with-* | -without-* | --without-* | --x)
11559 + case "$ac_configure_args0 " in
11560 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
11561 + esac
11562 + ;;
11563 + -* ) ac_must_keep_next=true ;;
11564 + esac
11565 + fi
11566 + ac_configure_args="$ac_configure_args '$ac_arg'"
11567 + ;;
11568 + esac
11569 + done
11570 +done
11571 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
11572 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
11573 +
11574 +# When interrupted or exit'd, cleanup temporary files, and complete
11575 +# config.log. We remove comments because anyway the quotes in there
11576 +# would cause problems or look ugly.
11577 +# WARNING: Use '\'' to represent an apostrophe within the trap.
11578 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
11579 +trap 'exit_status=$?
11580 + # Save into config.log some information that might help in debugging.
11581 + {
11582 + echo
11583 +
11584 + cat <<\_ASBOX
11585 +## ---------------- ##
11586 +## Cache variables. ##
11587 +## ---------------- ##
11588 +_ASBOX
11589 + echo
11590 + # The following way of writing the cache mishandles newlines in values,
11591 +(
11592 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
11593 + eval ac_val=\$$ac_var
11594 + case $ac_val in #(
11595 + *${as_nl}*)
11596 + case $ac_var in #(
11597 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11598 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11599 + esac
11600 + case $ac_var in #(
11601 + _ | IFS | as_nl) ;; #(
11602 + *) $as_unset $ac_var ;;
11603 + esac ;;
11604 + esac
11605 + done
11606 + (set) 2>&1 |
11607 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
11608 + *${as_nl}ac_space=\ *)
11609 + sed -n \
11610 + "s/'\''/'\''\\\\'\'''\''/g;
11611 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
11612 + ;; #(
11613 + *)
11614 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11615 + ;;
11616 + esac |
11617 + sort
11618 +)
11619 + echo
11620 +
11621 + cat <<\_ASBOX
11622 +## ----------------- ##
11623 +## Output variables. ##
11624 +## ----------------- ##
11625 +_ASBOX
11626 + echo
11627 + for ac_var in $ac_subst_vars
11628 + do
11629 + eval ac_val=\$$ac_var
11630 + case $ac_val in
11631 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11632 + esac
11633 + echo "$ac_var='\''$ac_val'\''"
11634 + done | sort
11635 + echo
11636 +
11637 + if test -n "$ac_subst_files"; then
11638 + cat <<\_ASBOX
11639 +## ------------------- ##
11640 +## File substitutions. ##
11641 +## ------------------- ##
11642 +_ASBOX
11643 + echo
11644 + for ac_var in $ac_subst_files
11645 + do
11646 + eval ac_val=\$$ac_var
11647 + case $ac_val in
11648 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11649 + esac
11650 + echo "$ac_var='\''$ac_val'\''"
11651 + done | sort
11652 + echo
11653 + fi
11654 +
11655 + if test -s confdefs.h; then
11656 + cat <<\_ASBOX
11657 +## ----------- ##
11658 +## confdefs.h. ##
11659 +## ----------- ##
11660 +_ASBOX
11661 + echo
11662 + cat confdefs.h
11663 + echo
11664 + fi
11665 + test "$ac_signal" != 0 &&
11666 + echo "$as_me: caught signal $ac_signal"
11667 + echo "$as_me: exit $exit_status"
11668 + } >&5
11669 + rm -f core *.core core.conftest.* &&
11670 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11671 + exit $exit_status
11672 +' 0
11673 +for ac_signal in 1 2 13 15; do
11674 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11675 +done
11676 +ac_signal=0
11677 +
11678 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
11679 +rm -f -r conftest* confdefs.h
11680 +
11681 +# Predefined preprocessor variables.
11682 +
11683 +cat >>confdefs.h <<_ACEOF
11684 +#define PACKAGE_NAME "$PACKAGE_NAME"
11685 +_ACEOF
11686 +
11687 +
11688 +cat >>confdefs.h <<_ACEOF
11689 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
11690 +_ACEOF
11691 +
11692 +
11693 +cat >>confdefs.h <<_ACEOF
11694 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
11695 +_ACEOF
11696 +
11697 +
11698 +cat >>confdefs.h <<_ACEOF
11699 +#define PACKAGE_STRING "$PACKAGE_STRING"
11700 +_ACEOF
11701 +
11702 +
11703 +cat >>confdefs.h <<_ACEOF
11704 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
11705 +_ACEOF
11706 +
11707 +
11708 +# Let the site file select an alternate cache file if it wants to.
11709 +# Prefer explicitly selected file to automatically selected ones.
11710 +if test -n "$CONFIG_SITE"; then
11711 + set x "$CONFIG_SITE"
11712 +elif test "x$prefix" != xNONE; then
11713 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
11714 +else
11715 + set x "$ac_default_prefix/share/config.site" \
11716 + "$ac_default_prefix/etc/config.site"
11717 +fi
11718 +shift
11719 +for ac_site_file
11720 +do
11721 + if test -r "$ac_site_file"; then
11722 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11723 +echo "$as_me: loading site script $ac_site_file" >&6;}
11724 + sed 's/^/| /' "$ac_site_file" >&5
11725 + . "$ac_site_file"
11726 + fi
11727 +done
11728 +
11729 +if test -r "$cache_file"; then
11730 + # Some versions of bash will fail to source /dev/null (special
11731 + # files actually), so we avoid doing that.
11732 + if test -f "$cache_file"; then
11733 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11734 +echo "$as_me: loading cache $cache_file" >&6;}
11735 + case $cache_file in
11736 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
11737 + *) . "./$cache_file";;
11738 + esac
11739 + fi
11740 +else
11741 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
11742 +echo "$as_me: creating cache $cache_file" >&6;}
11743 + >$cache_file
11744 +fi
11745 +
11746 +# Check that the precious variables saved in the cache have kept the same
11747 +# value.
11748 +ac_cache_corrupted=false
11749 +for ac_var in $ac_precious_vars; do
11750 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
11751 + eval ac_new_set=\$ac_env_${ac_var}_set
11752 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
11753 + eval ac_new_val=\$ac_env_${ac_var}_value
11754 + case $ac_old_set,$ac_new_set in
11755 + set,)
11756 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11757 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11758 + ac_cache_corrupted=: ;;
11759 + ,set)
11760 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
11761 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11762 + ac_cache_corrupted=: ;;
11763 + ,);;
11764 + *)
11765 + if test "x$ac_old_val" != "x$ac_new_val"; then
11766 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
11767 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11768 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
11769 +echo "$as_me: former value: $ac_old_val" >&2;}
11770 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
11771 +echo "$as_me: current value: $ac_new_val" >&2;}
11772 + ac_cache_corrupted=:
11773 + fi;;
11774 + esac
11775 + # Pass precious variables to config.status.
11776 + if test "$ac_new_set" = set; then
11777 + case $ac_new_val in
11778 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11779 + *) ac_arg=$ac_var=$ac_new_val ;;
11780 + esac
11781 + case " $ac_configure_args " in
11782 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
11783 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
11784 + esac
11785 + fi
11786 +done
11787 +if $ac_cache_corrupted; then
11788 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
11789 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11790 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
11791 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
11792 + { (exit 1); exit 1; }; }
11793 +fi
11794 +
11795 +
11796 +
11797 +
11798 +
11799 +
11800 +
11801 +
11802 +
11803 +
11804 +
11805 +
11806 +
11807 +
11808 +
11809 +
11810 +
11811 +ac_ext=c
11812 +ac_cpp='$CPP $CPPFLAGS'
11813 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11814 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11815 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11816 +
11817 +
11818 +ac_aux_dir=
11819 +for ac_dir in . "$srcdir"/.; do
11820 + if test -f "$ac_dir/install-sh"; then
11821 + ac_aux_dir=$ac_dir
11822 + ac_install_sh="$ac_aux_dir/install-sh -c"
11823 + break
11824 + elif test -f "$ac_dir/install.sh"; then
11825 + ac_aux_dir=$ac_dir
11826 + ac_install_sh="$ac_aux_dir/install.sh -c"
11827 + break
11828 + elif test -f "$ac_dir/shtool"; then
11829 + ac_aux_dir=$ac_dir
11830 + ac_install_sh="$ac_aux_dir/shtool install -c"
11831 + break
11832 + fi
11833 +done
11834 +if test -z "$ac_aux_dir"; then
11835 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
11836 +echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
11837 + { (exit 1); exit 1; }; }
11838 +fi
11839 +
11840 +# These three variables are undocumented and unsupported,
11841 +# and are intended to be withdrawn in a future Autoconf release.
11842 +# They can cause serious problems if a builder's source tree is in a directory
11843 +# whose full name contains unusual characters.
11844 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
11845 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
11846 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
11847 +
11848 +
11849 +am__api_version="1.9"
11850 +# Find a good install program. We prefer a C program (faster),
11851 +# so one script is as good as another. But avoid the broken or
11852 +# incompatible versions:
11853 +# SysV /etc/install, /usr/sbin/install
11854 +# SunOS /usr/etc/install
11855 +# IRIX /sbin/install
11856 +# AIX /bin/install
11857 +# AmigaOS /C/install, which installs bootblocks on floppy discs
11858 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11859 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11860 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11861 +# OS/2's system install, which has a completely different semantic
11862 +# ./install, which can be erroneously created by make from ./install.sh.
11863 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11864 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
11865 +if test -z "$INSTALL"; then
11866 +if test "${ac_cv_path_install+set}" = set; then
11867 + echo $ECHO_N "(cached) $ECHO_C" >&6
11868 +else
11869 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11870 +for as_dir in $PATH
11871 +do
11872 + IFS=$as_save_IFS
11873 + test -z "$as_dir" && as_dir=.
11874 + # Account for people who put trailing slashes in PATH elements.
11875 +case $as_dir/ in
11876 + ./ | .// | /cC/* | \
11877 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11878 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11879 + /usr/ucb/* ) ;;
11880 + *)
11881 + # OSF1 and SCO ODT 3.0 have their own names for install.
11882 + # Don't use installbsd from OSF since it installs stuff as root
11883 + # by default.
11884 + for ac_prog in ginstall scoinst install; do
11885 + for ac_exec_ext in '' $ac_executable_extensions; do
11886 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11887 + if test $ac_prog = install &&
11888 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11889 + # AIX install. It has an incompatible calling convention.
11890 + :
11891 + elif test $ac_prog = install &&
11892 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11893 + # program-specific install script used by HP pwplus--don't use.
11894 + :
11895 + else
11896 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11897 + break 3
11898 + fi
11899 + fi
11900 + done
11901 + done
11902 + ;;
11903 +esac
11904 +done
11905 +IFS=$as_save_IFS
11906 +
11907 +
11908 +fi
11909 + if test "${ac_cv_path_install+set}" = set; then
11910 + INSTALL=$ac_cv_path_install
11911 + else
11912 + # As a last resort, use the slow shell script. Don't cache a
11913 + # value for INSTALL within a source directory, because that will
11914 + # break other packages using the cache if that directory is
11915 + # removed, or if the value is a relative name.
11916 + INSTALL=$ac_install_sh
11917 + fi
11918 +fi
11919 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
11920 +echo "${ECHO_T}$INSTALL" >&6; }
11921 +
11922 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11923 +# It thinks the first close brace ends the variable substitution.
11924 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11925 +
11926 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11927 +
11928 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11929 +
11930 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11931 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
11932 +# Just in case
11933 +sleep 1
11934 +echo timestamp > conftest.file
11935 +# Do `set' in a subshell so we don't clobber the current shell's
11936 +# arguments. Must try -L first in case configure is actually a
11937 +# symlink; some systems play weird games with the mod time of symlinks
11938 +# (eg FreeBSD returns the mod time of the symlink's containing
11939 +# directory).
11940 +if (
11941 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
11942 + if test "$*" = "X"; then
11943 + # -L didn't work.
11944 + set X `ls -t $srcdir/configure conftest.file`
11945 + fi
11946 + rm -f conftest.file
11947 + if test "$*" != "X $srcdir/configure conftest.file" \
11948 + && test "$*" != "X conftest.file $srcdir/configure"; then
11949 +
11950 + # If neither matched, then we have a broken ls. This can happen
11951 + # if, for instance, CONFIG_SHELL is bash and it inherits a
11952 + # broken ls alias from the environment. This has actually
11953 + # happened. Such a system could not be considered "sane".
11954 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
11955 +alias in your environment" >&5
11956 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
11957 +alias in your environment" >&2;}
11958 + { (exit 1); exit 1; }; }
11959 + fi
11960 +
11961 + test "$2" = conftest.file
11962 + )
11963 +then
11964 + # Ok.
11965 + :
11966 +else
11967 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
11968 +Check your system clock" >&5
11969 +echo "$as_me: error: newly created file is older than distributed files!
11970 +Check your system clock" >&2;}
11971 + { (exit 1); exit 1; }; }
11972 +fi
11973 +{ echo "$as_me:$LINENO: result: yes" >&5
11974 +echo "${ECHO_T}yes" >&6; }
11975 +test "$program_prefix" != NONE &&
11976 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
11977 +# Use a double $ so make ignores it.
11978 +test "$program_suffix" != NONE &&
11979 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
11980 +# Double any \ or $. echo might interpret backslashes.
11981 +# By default was `s,x,x', remove it if useless.
11982 +cat <<\_ACEOF >conftest.sed
11983 +s/[\\$]/&&/g;s/;s,x,x,$//
11984 +_ACEOF
11985 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11986 +rm -f conftest.sed
11987 +
11988 +# expand $ac_aux_dir to an absolute path
11989 +am_aux_dir=`cd $ac_aux_dir && pwd`
11990 +
11991 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
11992 +# Use eval to expand $SHELL
11993 +if eval "$MISSING --run true"; then
11994 + am_missing_run="$MISSING --run "
11995 +else
11996 + am_missing_run=
11997 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
11998 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
11999 +fi
12000 +
12001 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
12002 + # We used to keeping the `.' as first argument, in order to
12003 + # allow $(mkdir_p) to be used without argument. As in
12004 + # $(mkdir_p) $(somedir)
12005 + # where $(somedir) is conditionally defined. However this is wrong
12006 + # for two reasons:
12007 + # 1. if the package is installed by a user who cannot write `.'
12008 + # make install will fail,
12009 + # 2. the above comment should most certainly read
12010 + # $(mkdir_p) $(DESTDIR)$(somedir)
12011 + # so it does not work when $(somedir) is undefined and
12012 + # $(DESTDIR) is not.
12013 + # To support the latter case, we have to write
12014 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
12015 + # so the `.' trick is pointless.
12016 + mkdir_p='mkdir -p --'
12017 +else
12018 + # On NextStep and OpenStep, the `mkdir' command does not
12019 + # recognize any option. It will interpret all options as
12020 + # directories to create, and then abort because `.' already
12021 + # exists.
12022 + for d in ./-p ./--version;
12023 + do
12024 + test -d $d && rmdir $d
12025 + done
12026 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
12027 + if test -f "$ac_aux_dir/mkinstalldirs"; then
12028 + mkdir_p='$(mkinstalldirs)'
12029 + else
12030 + mkdir_p='$(install_sh) -d'
12031 + fi
12032 +fi
12033 +
12034 +for ac_prog in gawk mawk nawk awk
12035 +do
12036 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12037 +set dummy $ac_prog; ac_word=$2
12038 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12039 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12040 +if test "${ac_cv_prog_AWK+set}" = set; then
12041 + echo $ECHO_N "(cached) $ECHO_C" >&6
12042 +else
12043 + if test -n "$AWK"; then
12044 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
12045 +else
12046 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12047 +for as_dir in $PATH
12048 +do
12049 + IFS=$as_save_IFS
12050 + test -z "$as_dir" && as_dir=.
12051 + for ac_exec_ext in '' $ac_executable_extensions; do
12052 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12053 + ac_cv_prog_AWK="$ac_prog"
12054 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12055 + break 2
12056 + fi
12057 +done
12058 +done
12059 +IFS=$as_save_IFS
12060 +
12061 +fi
12062 +fi
12063 +AWK=$ac_cv_prog_AWK
12064 +if test -n "$AWK"; then
12065 + { echo "$as_me:$LINENO: result: $AWK" >&5
12066 +echo "${ECHO_T}$AWK" >&6; }
12067 +else
12068 + { echo "$as_me:$LINENO: result: no" >&5
12069 +echo "${ECHO_T}no" >&6; }
12070 +fi
12071 +
12072 +
12073 + test -n "$AWK" && break
12074 +done
12075 +
12076 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12077 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
12078 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12079 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
12080 + echo $ECHO_N "(cached) $ECHO_C" >&6
12081 +else
12082 + cat >conftest.make <<\_ACEOF
12083 +SHELL = /bin/sh
12084 +all:
12085 + @echo '@@@%%%=$(MAKE)=@@@%%%'
12086 +_ACEOF
12087 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12088 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
12089 + *@@@%%%=?*=@@@%%%*)
12090 + eval ac_cv_prog_make_${ac_make}_set=yes;;
12091 + *)
12092 + eval ac_cv_prog_make_${ac_make}_set=no;;
12093 +esac
12094 +rm -f conftest.make
12095 +fi
12096 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12097 + { echo "$as_me:$LINENO: result: yes" >&5
12098 +echo "${ECHO_T}yes" >&6; }
12099 + SET_MAKE=
12100 +else
12101 + { echo "$as_me:$LINENO: result: no" >&5
12102 +echo "${ECHO_T}no" >&6; }
12103 + SET_MAKE="MAKE=${MAKE-make}"
12104 +fi
12105 +
12106 +rm -rf .tst 2>/dev/null
12107 +mkdir .tst 2>/dev/null
12108 +if test -d .tst; then
12109 + am__leading_dot=.
12110 +else
12111 + am__leading_dot=_
12112 +fi
12113 +rmdir .tst 2>/dev/null
12114 +
12115 +# test to see if srcdir already configured
12116 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
12117 + test -f $srcdir/config.status; then
12118 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
12119 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
12120 + { (exit 1); exit 1; }; }
12121 +fi
12122 +
12123 +# test whether we have cygpath
12124 +if test -z "$CYGPATH_W"; then
12125 + if (cygpath --version) >/dev/null 2>/dev/null; then
12126 + CYGPATH_W='cygpath -w'
12127 + else
12128 + CYGPATH_W=echo
12129 + fi
12130 +fi
12131 +
12132 +
12133 +# Define the identity of the package.
12134 + PACKAGE=faad2
12135 + VERSION=2.6.0cvs
12136 +
12137 +
12138 +cat >>confdefs.h <<_ACEOF
12139 +#define PACKAGE "$PACKAGE"
12140 +_ACEOF
12141 +
12142 +
12143 +cat >>confdefs.h <<_ACEOF
12144 +#define VERSION "$VERSION"
12145 +_ACEOF
12146 +
12147 +# Some tools Automake needs.
12148 +
12149 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
12150 +
12151 +
12152 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
12153 +
12154 +
12155 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
12156 +
12157 +
12158 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
12159 +
12160 +
12161 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
12162 +
12163 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
12164 +
12165 +# Installed binaries are usually stripped using `strip' when the user
12166 +# run `make install-strip'. However `strip' might not be the right
12167 +# tool to use in cross-compilation environments, therefore Automake
12168 +# will honor the `STRIP' environment variable to overrule this program.
12169 +if test "$cross_compiling" != no; then
12170 + if test -n "$ac_tool_prefix"; then
12171 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12172 +set dummy ${ac_tool_prefix}strip; ac_word=$2
12173 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12174 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12175 +if test "${ac_cv_prog_STRIP+set}" = set; then
12176 + echo $ECHO_N "(cached) $ECHO_C" >&6
12177 +else
12178 + if test -n "$STRIP"; then
12179 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12180 +else
12181 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12182 +for as_dir in $PATH
12183 +do
12184 + IFS=$as_save_IFS
12185 + test -z "$as_dir" && as_dir=.
12186 + for ac_exec_ext in '' $ac_executable_extensions; do
12187 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12188 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12189 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12190 + break 2
12191 + fi
12192 +done
12193 +done
12194 +IFS=$as_save_IFS
12195 +
12196 +fi
12197 +fi
12198 +STRIP=$ac_cv_prog_STRIP
12199 +if test -n "$STRIP"; then
12200 + { echo "$as_me:$LINENO: result: $STRIP" >&5
12201 +echo "${ECHO_T}$STRIP" >&6; }
12202 +else
12203 + { echo "$as_me:$LINENO: result: no" >&5
12204 +echo "${ECHO_T}no" >&6; }
12205 +fi
12206 +
12207 +
12208 +fi
12209 +if test -z "$ac_cv_prog_STRIP"; then
12210 + ac_ct_STRIP=$STRIP
12211 + # Extract the first word of "strip", so it can be a program name with args.
12212 +set dummy strip; ac_word=$2
12213 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12214 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12215 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12216 + echo $ECHO_N "(cached) $ECHO_C" >&6
12217 +else
12218 + if test -n "$ac_ct_STRIP"; then
12219 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12220 +else
12221 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12222 +for as_dir in $PATH
12223 +do
12224 + IFS=$as_save_IFS
12225 + test -z "$as_dir" && as_dir=.
12226 + for ac_exec_ext in '' $ac_executable_extensions; do
12227 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12228 + ac_cv_prog_ac_ct_STRIP="strip"
12229 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 + break 2
12231 + fi
12232 +done
12233 +done
12234 +IFS=$as_save_IFS
12235 +
12236 +fi
12237 +fi
12238 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12239 +if test -n "$ac_ct_STRIP"; then
12240 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12241 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
12242 +else
12243 + { echo "$as_me:$LINENO: result: no" >&5
12244 +echo "${ECHO_T}no" >&6; }
12245 +fi
12246 +
12247 + if test "x$ac_ct_STRIP" = x; then
12248 + STRIP=":"
12249 + else
12250 + case $cross_compiling:$ac_tool_warned in
12251 +yes:)
12252 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12253 +whose name does not start with the host triplet. If you think this
12254 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12255 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12256 +whose name does not start with the host triplet. If you think this
12257 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12258 +ac_tool_warned=yes ;;
12259 +esac
12260 + STRIP=$ac_ct_STRIP
12261 + fi
12262 +else
12263 + STRIP="$ac_cv_prog_STRIP"
12264 +fi
12265 +
12266 +fi
12267 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
12268 +
12269 +# We need awk for the "check" target. The system "awk" is bad on
12270 +# some platforms.
12271 +# Always define AMTAR for backward compatibility.
12272 +
12273 +AMTAR=${AMTAR-"${am_missing_run}tar"}
12274 +
12275 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
12276 +
12277 +
12278 +
12279 +
12280 +
12281 +
12282 +# Check whether --enable-shared was given.
12283 +if test "${enable_shared+set}" = set; then
12284 + enableval=$enable_shared; p=${PACKAGE-default}
12285 + case $enableval in
12286 + yes) enable_shared=yes ;;
12287 + no) enable_shared=no ;;
12288 + *)
12289 + enable_shared=no
12290 + # Look at the argument we got. We use all the common list separators.
12291 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12292 + for pkg in $enableval; do
12293 + IFS="$lt_save_ifs"
12294 + if test "X$pkg" = "X$p"; then
12295 + enable_shared=yes
12296 + fi
12297 + done
12298 + IFS="$lt_save_ifs"
12299 + ;;
12300 + esac
12301 +else
12302 + enable_shared=yes
12303 +fi
12304 +
12305 +
12306 +# Check whether --enable-static was given.
12307 +if test "${enable_static+set}" = set; then
12308 + enableval=$enable_static; p=${PACKAGE-default}
12309 + case $enableval in
12310 + yes) enable_static=yes ;;
12311 + no) enable_static=no ;;
12312 + *)
12313 + enable_static=no
12314 + # Look at the argument we got. We use all the common list separators.
12315 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12316 + for pkg in $enableval; do
12317 + IFS="$lt_save_ifs"
12318 + if test "X$pkg" = "X$p"; then
12319 + enable_static=yes
12320 + fi
12321 + done
12322 + IFS="$lt_save_ifs"
12323 + ;;
12324 + esac
12325 +else
12326 + enable_static=yes
12327 +fi
12328 +
12329 +
12330 +# Check whether --enable-fast-install was given.
12331 +if test "${enable_fast_install+set}" = set; then
12332 + enableval=$enable_fast_install; p=${PACKAGE-default}
12333 + case $enableval in
12334 + yes) enable_fast_install=yes ;;
12335 + no) enable_fast_install=no ;;
12336 + *)
12337 + enable_fast_install=no
12338 + # Look at the argument we got. We use all the common list separators.
12339 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12340 + for pkg in $enableval; do
12341 + IFS="$lt_save_ifs"
12342 + if test "X$pkg" = "X$p"; then
12343 + enable_fast_install=yes
12344 + fi
12345 + done
12346 + IFS="$lt_save_ifs"
12347 + ;;
12348 + esac
12349 +else
12350 + enable_fast_install=yes
12351 +fi
12352 +
12353 +
12354 +# Make sure we can run config.sub.
12355 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
12356 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
12357 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
12358 + { (exit 1); exit 1; }; }
12359 +
12360 +{ echo "$as_me:$LINENO: checking build system type" >&5
12361 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
12362 +if test "${ac_cv_build+set}" = set; then
12363 + echo $ECHO_N "(cached) $ECHO_C" >&6
12364 +else
12365 + ac_build_alias=$build_alias
12366 +test "x$ac_build_alias" = x &&
12367 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
12368 +test "x$ac_build_alias" = x &&
12369 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
12370 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
12371 + { (exit 1); exit 1; }; }
12372 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
12373 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
12374 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
12375 + { (exit 1); exit 1; }; }
12376 +
12377 +fi
12378 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
12379 +echo "${ECHO_T}$ac_cv_build" >&6; }
12380 +case $ac_cv_build in
12381 +*-*-*) ;;
12382 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
12383 +echo "$as_me: error: invalid value of canonical build" >&2;}
12384 + { (exit 1); exit 1; }; };;
12385 +esac
12386 +build=$ac_cv_build
12387 +ac_save_IFS=$IFS; IFS='-'
12388 +set x $ac_cv_build
12389 +shift
12390 +build_cpu=$1
12391 +build_vendor=$2
12392 +shift; shift
12393 +# Remember, the first character of IFS is used to create $*,
12394 +# except with old shells:
12395 +build_os=$*
12396 +IFS=$ac_save_IFS
12397 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
12398 +
12399 +
12400 +{ echo "$as_me:$LINENO: checking host system type" >&5
12401 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
12402 +if test "${ac_cv_host+set}" = set; then
12403 + echo $ECHO_N "(cached) $ECHO_C" >&6
12404 +else
12405 + if test "x$host_alias" = x; then
12406 + ac_cv_host=$ac_cv_build
12407 +else
12408 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
12409 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12410 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12411 + { (exit 1); exit 1; }; }
12412 +fi
12413 +
12414 +fi
12415 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12416 +echo "${ECHO_T}$ac_cv_host" >&6; }
12417 +case $ac_cv_host in
12418 +*-*-*) ;;
12419 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12420 +echo "$as_me: error: invalid value of canonical host" >&2;}
12421 + { (exit 1); exit 1; }; };;
12422 +esac
12423 +host=$ac_cv_host
12424 +ac_save_IFS=$IFS; IFS='-'
12425 +set x $ac_cv_host
12426 +shift
12427 +host_cpu=$1
12428 +host_vendor=$2
12429 +shift; shift
12430 +# Remember, the first character of IFS is used to create $*,
12431 +# except with old shells:
12432 +host_os=$*
12433 +IFS=$ac_save_IFS
12434 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
12435 +
12436 +
12437 +DEPDIR="${am__leading_dot}deps"
12438 +
12439 +ac_config_commands="$ac_config_commands depfiles"
12440 +
12441 +
12442 +am_make=${MAKE-make}
12443 +cat > confinc << 'END'
12444 +am__doit:
12445 + @echo done
12446 +.PHONY: am__doit
12447 +END
12448 +# If we don't find an include directive, just comment out the code.
12449 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
12450 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
12451 +am__include="#"
12452 +am__quote=
12453 +_am_result=none
12454 +# First try GNU make style include.
12455 +echo "include confinc" > confmf
12456 +# We grep out `Entering directory' and `Leaving directory'
12457 +# messages which can occur if `w' ends up in MAKEFLAGS.
12458 +# In particular we don't look at `^make:' because GNU make might
12459 +# be invoked under some other name (usually "gmake"), in which
12460 +# case it prints its new name instead of `make'.
12461 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
12462 + am__include=include
12463 + am__quote=
12464 + _am_result=GNU
12465 +fi
12466 +# Now try BSD make style include.
12467 +if test "$am__include" = "#"; then
12468 + echo '.include "confinc"' > confmf
12469 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
12470 + am__include=.include
12471 + am__quote="\""
12472 + _am_result=BSD
12473 + fi
12474 +fi
12475 +
12476 +
12477 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
12478 +echo "${ECHO_T}$_am_result" >&6; }
12479 +rm -f confinc confmf
12480 +
12481 +# Check whether --enable-dependency-tracking was given.
12482 +if test "${enable_dependency_tracking+set}" = set; then
12483 + enableval=$enable_dependency_tracking;
12484 +fi
12485 +
12486 +if test "x$enable_dependency_tracking" != xno; then
12487 + am_depcomp="$ac_aux_dir/depcomp"
12488 + AMDEPBACKSLASH='\'
12489 +fi
12490 +
12491 +
12492 +if test "x$enable_dependency_tracking" != xno; then
12493 + AMDEP_TRUE=
12494 + AMDEP_FALSE='#'
12495 +else
12496 + AMDEP_TRUE='#'
12497 + AMDEP_FALSE=
12498 +fi
12499 +
12500 +
12501 +
12502 +ac_ext=c
12503 +ac_cpp='$CPP $CPPFLAGS'
12504 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12505 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12506 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12507 +if test -n "$ac_tool_prefix"; then
12508 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12509 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
12510 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12511 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12512 +if test "${ac_cv_prog_CC+set}" = set; then
12513 + echo $ECHO_N "(cached) $ECHO_C" >&6
12514 +else
12515 + if test -n "$CC"; then
12516 + ac_cv_prog_CC="$CC" # Let the user override the test.
12517 +else
12518 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12519 +for as_dir in $PATH
12520 +do
12521 + IFS=$as_save_IFS
12522 + test -z "$as_dir" && as_dir=.
12523 + for ac_exec_ext in '' $ac_executable_extensions; do
12524 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12525 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
12526 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12527 + break 2
12528 + fi
12529 +done
12530 +done
12531 +IFS=$as_save_IFS
12532 +
12533 +fi
12534 +fi
12535 +CC=$ac_cv_prog_CC
12536 +if test -n "$CC"; then
12537 + { echo "$as_me:$LINENO: result: $CC" >&5
12538 +echo "${ECHO_T}$CC" >&6; }
12539 +else
12540 + { echo "$as_me:$LINENO: result: no" >&5
12541 +echo "${ECHO_T}no" >&6; }
12542 +fi
12543 +
12544 +
12545 +fi
12546 +if test -z "$ac_cv_prog_CC"; then
12547 + ac_ct_CC=$CC
12548 + # Extract the first word of "gcc", so it can be a program name with args.
12549 +set dummy gcc; ac_word=$2
12550 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12551 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12552 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12553 + echo $ECHO_N "(cached) $ECHO_C" >&6
12554 +else
12555 + if test -n "$ac_ct_CC"; then
12556 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12557 +else
12558 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12559 +for as_dir in $PATH
12560 +do
12561 + IFS=$as_save_IFS
12562 + test -z "$as_dir" && as_dir=.
12563 + for ac_exec_ext in '' $ac_executable_extensions; do
12564 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12565 + ac_cv_prog_ac_ct_CC="gcc"
12566 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12567 + break 2
12568 + fi
12569 +done
12570 +done
12571 +IFS=$as_save_IFS
12572 +
12573 +fi
12574 +fi
12575 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
12576 +if test -n "$ac_ct_CC"; then
12577 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12578 +echo "${ECHO_T}$ac_ct_CC" >&6; }
12579 +else
12580 + { echo "$as_me:$LINENO: result: no" >&5
12581 +echo "${ECHO_T}no" >&6; }
12582 +fi
12583 +
12584 + if test "x$ac_ct_CC" = x; then
12585 + CC=""
12586 + else
12587 + case $cross_compiling:$ac_tool_warned in
12588 +yes:)
12589 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12590 +whose name does not start with the host triplet. If you think this
12591 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12592 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12593 +whose name does not start with the host triplet. If you think this
12594 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12595 +ac_tool_warned=yes ;;
12596 +esac
12597 + CC=$ac_ct_CC
12598 + fi
12599 +else
12600 + CC="$ac_cv_prog_CC"
12601 +fi
12602 +
12603 +if test -z "$CC"; then
12604 + if test -n "$ac_tool_prefix"; then
12605 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12606 +set dummy ${ac_tool_prefix}cc; ac_word=$2
12607 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12608 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12609 +if test "${ac_cv_prog_CC+set}" = set; then
12610 + echo $ECHO_N "(cached) $ECHO_C" >&6
12611 +else
12612 + if test -n "$CC"; then
12613 + ac_cv_prog_CC="$CC" # Let the user override the test.
12614 +else
12615 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12616 +for as_dir in $PATH
12617 +do
12618 + IFS=$as_save_IFS
12619 + test -z "$as_dir" && as_dir=.
12620 + for ac_exec_ext in '' $ac_executable_extensions; do
12621 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12622 + ac_cv_prog_CC="${ac_tool_prefix}cc"
12623 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12624 + break 2
12625 + fi
12626 +done
12627 +done
12628 +IFS=$as_save_IFS
12629 +
12630 +fi
12631 +fi
12632 +CC=$ac_cv_prog_CC
12633 +if test -n "$CC"; then
12634 + { echo "$as_me:$LINENO: result: $CC" >&5
12635 +echo "${ECHO_T}$CC" >&6; }
12636 +else
12637 + { echo "$as_me:$LINENO: result: no" >&5
12638 +echo "${ECHO_T}no" >&6; }
12639 +fi
12640 +
12641 +
12642 + fi
12643 +fi
12644 +if test -z "$CC"; then
12645 + # Extract the first word of "cc", so it can be a program name with args.
12646 +set dummy cc; ac_word=$2
12647 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12648 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12649 +if test "${ac_cv_prog_CC+set}" = set; then
12650 + echo $ECHO_N "(cached) $ECHO_C" >&6
12651 +else
12652 + if test -n "$CC"; then
12653 + ac_cv_prog_CC="$CC" # Let the user override the test.
12654 +else
12655 + ac_prog_rejected=no
12656 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12657 +for as_dir in $PATH
12658 +do
12659 + IFS=$as_save_IFS
12660 + test -z "$as_dir" && as_dir=.
12661 + for ac_exec_ext in '' $ac_executable_extensions; do
12662 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12663 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12664 + ac_prog_rejected=yes
12665 + continue
12666 + fi
12667 + ac_cv_prog_CC="cc"
12668 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12669 + break 2
12670 + fi
12671 +done
12672 +done
12673 +IFS=$as_save_IFS
12674 +
12675 +if test $ac_prog_rejected = yes; then
12676 + # We found a bogon in the path, so make sure we never use it.
12677 + set dummy $ac_cv_prog_CC
12678 + shift
12679 + if test $# != 0; then
12680 + # We chose a different compiler from the bogus one.
12681 + # However, it has the same basename, so the bogon will be chosen
12682 + # first if we set CC to just the basename; use the full file name.
12683 + shift
12684 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12685 + fi
12686 +fi
12687 +fi
12688 +fi
12689 +CC=$ac_cv_prog_CC
12690 +if test -n "$CC"; then
12691 + { echo "$as_me:$LINENO: result: $CC" >&5
12692 +echo "${ECHO_T}$CC" >&6; }
12693 +else
12694 + { echo "$as_me:$LINENO: result: no" >&5
12695 +echo "${ECHO_T}no" >&6; }
12696 +fi
12697 +
12698 +
12699 +fi
12700 +if test -z "$CC"; then
12701 + if test -n "$ac_tool_prefix"; then
12702 + for ac_prog in cl.exe
12703 + do
12704 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12705 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12706 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12707 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12708 +if test "${ac_cv_prog_CC+set}" = set; then
12709 + echo $ECHO_N "(cached) $ECHO_C" >&6
12710 +else
12711 + if test -n "$CC"; then
12712 + ac_cv_prog_CC="$CC" # Let the user override the test.
12713 +else
12714 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12715 +for as_dir in $PATH
12716 +do
12717 + IFS=$as_save_IFS
12718 + test -z "$as_dir" && as_dir=.
12719 + for ac_exec_ext in '' $ac_executable_extensions; do
12720 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12721 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12722 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12723 + break 2
12724 + fi
12725 +done
12726 +done
12727 +IFS=$as_save_IFS
12728 +
12729 +fi
12730 +fi
12731 +CC=$ac_cv_prog_CC
12732 +if test -n "$CC"; then
12733 + { echo "$as_me:$LINENO: result: $CC" >&5
12734 +echo "${ECHO_T}$CC" >&6; }
12735 +else
12736 + { echo "$as_me:$LINENO: result: no" >&5
12737 +echo "${ECHO_T}no" >&6; }
12738 +fi
12739 +
12740 +
12741 + test -n "$CC" && break
12742 + done
12743 +fi
12744 +if test -z "$CC"; then
12745 + ac_ct_CC=$CC
12746 + for ac_prog in cl.exe
12747 +do
12748 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12749 +set dummy $ac_prog; ac_word=$2
12750 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12751 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12752 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12753 + echo $ECHO_N "(cached) $ECHO_C" >&6
12754 +else
12755 + if test -n "$ac_ct_CC"; then
12756 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12757 +else
12758 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12759 +for as_dir in $PATH
12760 +do
12761 + IFS=$as_save_IFS
12762 + test -z "$as_dir" && as_dir=.
12763 + for ac_exec_ext in '' $ac_executable_extensions; do
12764 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12765 + ac_cv_prog_ac_ct_CC="$ac_prog"
12766 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12767 + break 2
12768 + fi
12769 +done
12770 +done
12771 +IFS=$as_save_IFS
12772 +
12773 +fi
12774 +fi
12775 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
12776 +if test -n "$ac_ct_CC"; then
12777 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12778 +echo "${ECHO_T}$ac_ct_CC" >&6; }
12779 +else
12780 + { echo "$as_me:$LINENO: result: no" >&5
12781 +echo "${ECHO_T}no" >&6; }
12782 +fi
12783 +
12784 +
12785 + test -n "$ac_ct_CC" && break
12786 +done
12787 +
12788 + if test "x$ac_ct_CC" = x; then
12789 + CC=""
12790 + else
12791 + case $cross_compiling:$ac_tool_warned in
12792 +yes:)
12793 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12794 +whose name does not start with the host triplet. If you think this
12795 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12796 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12797 +whose name does not start with the host triplet. If you think this
12798 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12799 +ac_tool_warned=yes ;;
12800 +esac
12801 + CC=$ac_ct_CC
12802 + fi
12803 +fi
12804 +
12805 +fi
12806 +
12807 +
12808 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12809 +See \`config.log' for more details." >&5
12810 +echo "$as_me: error: no acceptable C compiler found in \$PATH
12811 +See \`config.log' for more details." >&2;}
12812 + { (exit 1); exit 1; }; }
12813 +
12814 +# Provide some information about the compiler.
12815 +echo "$as_me:$LINENO: checking for C compiler version" >&5
12816 +ac_compiler=`set X $ac_compile; echo $2`
12817 +{ (ac_try="$ac_compiler --version >&5"
12818 +case "(($ac_try" in
12819 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12820 + *) ac_try_echo=$ac_try;;
12821 +esac
12822 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12823 + (eval "$ac_compiler --version >&5") 2>&5
12824 + ac_status=$?
12825 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 + (exit $ac_status); }
12827 +{ (ac_try="$ac_compiler -v >&5"
12828 +case "(($ac_try" in
12829 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12830 + *) ac_try_echo=$ac_try;;
12831 +esac
12832 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12833 + (eval "$ac_compiler -v >&5") 2>&5
12834 + ac_status=$?
12835 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 + (exit $ac_status); }
12837 +{ (ac_try="$ac_compiler -V >&5"
12838 +case "(($ac_try" in
12839 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12840 + *) ac_try_echo=$ac_try;;
12841 +esac
12842 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12843 + (eval "$ac_compiler -V >&5") 2>&5
12844 + ac_status=$?
12845 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 + (exit $ac_status); }
12847 +
12848 +cat >conftest.$ac_ext <<_ACEOF
12849 +/* confdefs.h. */
12850 +_ACEOF
12851 +cat confdefs.h >>conftest.$ac_ext
12852 +cat >>conftest.$ac_ext <<_ACEOF
12853 +/* end confdefs.h. */
12854 +
12855 +int
12856 +main ()
12857 +{
12858 +
12859 + ;
12860 + return 0;
12861 +}
12862 +_ACEOF
12863 +ac_clean_files_save=$ac_clean_files
12864 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
12865 +# Try to create an executable without -o first, disregard a.out.
12866 +# It will help us diagnose broken compilers, and finding out an intuition
12867 +# of exeext.
12868 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12869 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
12870 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12871 +#
12872 +# List of possible output files, starting from the most likely.
12873 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
12874 +# only as a last resort. b.out is created by i960 compilers.
12875 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
12876 +#
12877 +# The IRIX 6 linker writes into existing files which may not be
12878 +# executable, retaining their permissions. Remove them first so a
12879 +# subsequent execution test works.
12880 +ac_rmfiles=
12881 +for ac_file in $ac_files
12882 +do
12883 + case $ac_file in
12884 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
12885 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
12886 + esac
12887 +done
12888 +rm -f $ac_rmfiles
12889 +
12890 +if { (ac_try="$ac_link_default"
12891 +case "(($ac_try" in
12892 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12893 + *) ac_try_echo=$ac_try;;
12894 +esac
12895 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12896 + (eval "$ac_link_default") 2>&5
12897 + ac_status=$?
12898 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 + (exit $ac_status); }; then
12900 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
12901 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
12902 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
12903 +# so that the user can short-circuit this test for compilers unknown to
12904 +# Autoconf.
12905 +for ac_file in $ac_files ''
12906 +do
12907 + test -f "$ac_file" || continue
12908 + case $ac_file in
12909 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
12910 + ;;
12911 + [ab].out )
12912 + # We found the default executable, but exeext='' is most
12913 + # certainly right.
12914 + break;;
12915 + *.* )
12916 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
12917 + then :; else
12918 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12919 + fi
12920 + # We set ac_cv_exeext here because the later test for it is not
12921 + # safe: cross compilers may not add the suffix if given an `-o'
12922 + # argument, so we may need to know it at that point already.
12923 + # Even if this section looks crufty: it has the advantage of
12924 + # actually working.
12925 + break;;
12926 + * )
12927 + break;;
12928 + esac
12929 +done
12930 +test "$ac_cv_exeext" = no && ac_cv_exeext=
12931 +
12932 +else
12933 + ac_file=''
12934 +fi
12935 +
12936 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
12937 +echo "${ECHO_T}$ac_file" >&6; }
12938 +if test -z "$ac_file"; then
12939 + echo "$as_me: failed program was:" >&5
12940 +sed 's/^/| /' conftest.$ac_ext >&5
12941 +
12942 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
12943 +See \`config.log' for more details." >&5
12944 +echo "$as_me: error: C compiler cannot create executables
12945 +See \`config.log' for more details." >&2;}
12946 + { (exit 77); exit 77; }; }
12947 +fi
12948 +
12949 +ac_exeext=$ac_cv_exeext
12950 +
12951 +# Check that the compiler produces executables we can run. If not, either
12952 +# the compiler is broken, or we cross compile.
12953 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12954 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
12955 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12956 +# If not cross compiling, check that we can run a simple program.
12957 +if test "$cross_compiling" != yes; then
12958 + if { ac_try='./$ac_file'
12959 + { (case "(($ac_try" in
12960 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12961 + *) ac_try_echo=$ac_try;;
12962 +esac
12963 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12964 + (eval "$ac_try") 2>&5
12965 + ac_status=$?
12966 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 + (exit $ac_status); }; }; then
12968 + cross_compiling=no
12969 + else
12970 + if test "$cross_compiling" = maybe; then
12971 + cross_compiling=yes
12972 + else
12973 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12974 +If you meant to cross compile, use \`--host'.
12975 +See \`config.log' for more details." >&5
12976 +echo "$as_me: error: cannot run C compiled programs.
12977 +If you meant to cross compile, use \`--host'.
12978 +See \`config.log' for more details." >&2;}
12979 + { (exit 1); exit 1; }; }
12980 + fi
12981 + fi
12982 +fi
12983 +{ echo "$as_me:$LINENO: result: yes" >&5
12984 +echo "${ECHO_T}yes" >&6; }
12985 +
12986 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
12987 +ac_clean_files=$ac_clean_files_save
12988 +# Check that the compiler produces executables we can run. If not, either
12989 +# the compiler is broken, or we cross compile.
12990 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12991 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
12992 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
12993 +echo "${ECHO_T}$cross_compiling" >&6; }
12994 +
12995 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
12996 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
12997 +if { (ac_try="$ac_link"
12998 +case "(($ac_try" in
12999 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13000 + *) ac_try_echo=$ac_try;;
13001 +esac
13002 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13003 + (eval "$ac_link") 2>&5
13004 + ac_status=$?
13005 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 + (exit $ac_status); }; then
13007 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
13008 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13009 +# work properly (i.e., refer to `conftest.exe'), while it won't with
13010 +# `rm'.
13011 +for ac_file in conftest.exe conftest conftest.*; do
13012 + test -f "$ac_file" || continue
13013 + case $ac_file in
13014 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13015 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13016 + break;;
13017 + * ) break;;
13018 + esac
13019 +done
13020 +else
13021 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13022 +See \`config.log' for more details." >&5
13023 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13024 +See \`config.log' for more details." >&2;}
13025 + { (exit 1); exit 1; }; }
13026 +fi
13027 +
13028 +rm -f conftest$ac_cv_exeext
13029 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13030 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
13031 +
13032 +rm -f conftest.$ac_ext
13033 +EXEEXT=$ac_cv_exeext
13034 +ac_exeext=$EXEEXT
13035 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
13036 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13037 +if test "${ac_cv_objext+set}" = set; then
13038 + echo $ECHO_N "(cached) $ECHO_C" >&6
13039 +else
13040 + cat >conftest.$ac_ext <<_ACEOF
13041 +/* confdefs.h. */
13042 +_ACEOF
13043 +cat confdefs.h >>conftest.$ac_ext
13044 +cat >>conftest.$ac_ext <<_ACEOF
13045 +/* end confdefs.h. */
13046 +
13047 +int
13048 +main ()
13049 +{
13050 +
13051 + ;
13052 + return 0;
13053 +}
13054 +_ACEOF
13055 +rm -f conftest.o conftest.obj
13056 +if { (ac_try="$ac_compile"
13057 +case "(($ac_try" in
13058 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13059 + *) ac_try_echo=$ac_try;;
13060 +esac
13061 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13062 + (eval "$ac_compile") 2>&5
13063 + ac_status=$?
13064 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 + (exit $ac_status); }; then
13066 + for ac_file in conftest.o conftest.obj conftest.*; do
13067 + test -f "$ac_file" || continue;
13068 + case $ac_file in
13069 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13070 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13071 + break;;
13072 + esac
13073 +done
13074 +else
13075 + echo "$as_me: failed program was:" >&5
13076 +sed 's/^/| /' conftest.$ac_ext >&5
13077 +
13078 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13079 +See \`config.log' for more details." >&5
13080 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
13081 +See \`config.log' for more details." >&2;}
13082 + { (exit 1); exit 1; }; }
13083 +fi
13084 +
13085 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
13086 +fi
13087 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13088 +echo "${ECHO_T}$ac_cv_objext" >&6; }
13089 +OBJEXT=$ac_cv_objext
13090 +ac_objext=$OBJEXT
13091 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13092 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13093 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
13094 + echo $ECHO_N "(cached) $ECHO_C" >&6
13095 +else
13096 + cat >conftest.$ac_ext <<_ACEOF
13097 +/* confdefs.h. */
13098 +_ACEOF
13099 +cat confdefs.h >>conftest.$ac_ext
13100 +cat >>conftest.$ac_ext <<_ACEOF
13101 +/* end confdefs.h. */
13102 +
13103 +int
13104 +main ()
13105 +{
13106 +#ifndef __GNUC__
13107 + choke me
13108 +#endif
13109 +
13110 + ;
13111 + return 0;
13112 +}
13113 +_ACEOF
13114 +rm -f conftest.$ac_objext
13115 +if { (ac_try="$ac_compile"
13116 +case "(($ac_try" in
13117 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13118 + *) ac_try_echo=$ac_try;;
13119 +esac
13120 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13121 + (eval "$ac_compile") 2>conftest.er1
13122 + ac_status=$?
13123 + grep -v '^ *+' conftest.er1 >conftest.err
13124 + rm -f conftest.er1
13125 + cat conftest.err >&5
13126 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 + (exit $ac_status); } && {
13128 + test -z "$ac_c_werror_flag" ||
13129 + test ! -s conftest.err
13130 + } && test -s conftest.$ac_objext; then
13131 + ac_compiler_gnu=yes
13132 +else
13133 + echo "$as_me: failed program was:" >&5
13134 +sed 's/^/| /' conftest.$ac_ext >&5
13135 +
13136 + ac_compiler_gnu=no
13137 +fi
13138 +
13139 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13140 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
13141 +
13142 +fi
13143 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13144 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13145 +GCC=`test $ac_compiler_gnu = yes && echo yes`
13146 +ac_test_CFLAGS=${CFLAGS+set}
13147 +ac_save_CFLAGS=$CFLAGS
13148 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13149 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13150 +if test "${ac_cv_prog_cc_g+set}" = set; then
13151 + echo $ECHO_N "(cached) $ECHO_C" >&6
13152 +else
13153 + ac_save_c_werror_flag=$ac_c_werror_flag
13154 + ac_c_werror_flag=yes
13155 + ac_cv_prog_cc_g=no
13156 + CFLAGS="-g"
13157 + cat >conftest.$ac_ext <<_ACEOF
13158 +/* confdefs.h. */
13159 +_ACEOF
13160 +cat confdefs.h >>conftest.$ac_ext
13161 +cat >>conftest.$ac_ext <<_ACEOF
13162 +/* end confdefs.h. */
13163 +
13164 +int
13165 +main ()
13166 +{
13167 +
13168 + ;
13169 + return 0;
13170 +}
13171 +_ACEOF
13172 +rm -f conftest.$ac_objext
13173 +if { (ac_try="$ac_compile"
13174 +case "(($ac_try" in
13175 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13176 + *) ac_try_echo=$ac_try;;
13177 +esac
13178 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13179 + (eval "$ac_compile") 2>conftest.er1
13180 + ac_status=$?
13181 + grep -v '^ *+' conftest.er1 >conftest.err
13182 + rm -f conftest.er1
13183 + cat conftest.err >&5
13184 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 + (exit $ac_status); } && {
13186 + test -z "$ac_c_werror_flag" ||
13187 + test ! -s conftest.err
13188 + } && test -s conftest.$ac_objext; then
13189 + ac_cv_prog_cc_g=yes
13190 +else
13191 + echo "$as_me: failed program was:" >&5
13192 +sed 's/^/| /' conftest.$ac_ext >&5
13193 +
13194 + CFLAGS=""
13195 + cat >conftest.$ac_ext <<_ACEOF
13196 +/* confdefs.h. */
13197 +_ACEOF
13198 +cat confdefs.h >>conftest.$ac_ext
13199 +cat >>conftest.$ac_ext <<_ACEOF
13200 +/* end confdefs.h. */
13201 +
13202 +int
13203 +main ()
13204 +{
13205 +
13206 + ;
13207 + return 0;
13208 +}
13209 +_ACEOF
13210 +rm -f conftest.$ac_objext
13211 +if { (ac_try="$ac_compile"
13212 +case "(($ac_try" in
13213 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13214 + *) ac_try_echo=$ac_try;;
13215 +esac
13216 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13217 + (eval "$ac_compile") 2>conftest.er1
13218 + ac_status=$?
13219 + grep -v '^ *+' conftest.er1 >conftest.err
13220 + rm -f conftest.er1
13221 + cat conftest.err >&5
13222 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 + (exit $ac_status); } && {
13224 + test -z "$ac_c_werror_flag" ||
13225 + test ! -s conftest.err
13226 + } && test -s conftest.$ac_objext; then
13227 + :
13228 +else
13229 + echo "$as_me: failed program was:" >&5
13230 +sed 's/^/| /' conftest.$ac_ext >&5
13231 +
13232 + ac_c_werror_flag=$ac_save_c_werror_flag
13233 + CFLAGS="-g"
13234 + cat >conftest.$ac_ext <<_ACEOF
13235 +/* confdefs.h. */
13236 +_ACEOF
13237 +cat confdefs.h >>conftest.$ac_ext
13238 +cat >>conftest.$ac_ext <<_ACEOF
13239 +/* end confdefs.h. */
13240 +
13241 +int
13242 +main ()
13243 +{
13244 +
13245 + ;
13246 + return 0;
13247 +}
13248 +_ACEOF
13249 +rm -f conftest.$ac_objext
13250 +if { (ac_try="$ac_compile"
13251 +case "(($ac_try" in
13252 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13253 + *) ac_try_echo=$ac_try;;
13254 +esac
13255 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13256 + (eval "$ac_compile") 2>conftest.er1
13257 + ac_status=$?
13258 + grep -v '^ *+' conftest.er1 >conftest.err
13259 + rm -f conftest.er1
13260 + cat conftest.err >&5
13261 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 + (exit $ac_status); } && {
13263 + test -z "$ac_c_werror_flag" ||
13264 + test ! -s conftest.err
13265 + } && test -s conftest.$ac_objext; then
13266 + ac_cv_prog_cc_g=yes
13267 +else
13268 + echo "$as_me: failed program was:" >&5
13269 +sed 's/^/| /' conftest.$ac_ext >&5
13270 +
13271 +
13272 +fi
13273 +
13274 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13275 +fi
13276 +
13277 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13278 +fi
13279 +
13280 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13281 + ac_c_werror_flag=$ac_save_c_werror_flag
13282 +fi
13283 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13284 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13285 +if test "$ac_test_CFLAGS" = set; then
13286 + CFLAGS=$ac_save_CFLAGS
13287 +elif test $ac_cv_prog_cc_g = yes; then
13288 + if test "$GCC" = yes; then
13289 + CFLAGS="-g -O2"
13290 + else
13291 + CFLAGS="-g"
13292 + fi
13293 +else
13294 + if test "$GCC" = yes; then
13295 + CFLAGS="-O2"
13296 + else
13297 + CFLAGS=
13298 + fi
13299 +fi
13300 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13301 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13302 +if test "${ac_cv_prog_cc_c89+set}" = set; then
13303 + echo $ECHO_N "(cached) $ECHO_C" >&6
13304 +else
13305 + ac_cv_prog_cc_c89=no
13306 +ac_save_CC=$CC
13307 +cat >conftest.$ac_ext <<_ACEOF
13308 +/* confdefs.h. */
13309 +_ACEOF
13310 +cat confdefs.h >>conftest.$ac_ext
13311 +cat >>conftest.$ac_ext <<_ACEOF
13312 +/* end confdefs.h. */
13313 +#include <stdarg.h>
13314 +#include <stdio.h>
13315 +#include <sys/types.h>
13316 +#include <sys/stat.h>
13317 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13318 +struct buf { int x; };
13319 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
13320 +static char *e (p, i)
13321 + char **p;
13322 + int i;
13323 +{
13324 + return p[i];
13325 +}
13326 +static char *f (char * (*g) (char **, int), char **p, ...)
13327 +{
13328 + char *s;
13329 + va_list v;
13330 + va_start (v,p);
13331 + s = g (p, va_arg (v,int));
13332 + va_end (v);
13333 + return s;
13334 +}
13335 +
13336 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13337 + function prototypes and stuff, but not '\xHH' hex character constants.
13338 + These don't provoke an error unfortunately, instead are silently treated
13339 + as 'x'. The following induces an error, until -std is added to get
13340 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13341 + array size at least. It's necessary to write '\x00'==0 to get something
13342 + that's true only with -std. */
13343 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13344 +
13345 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13346 + inside strings and character constants. */
13347 +#define FOO(x) 'x'
13348 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13349 +
13350 +int test (int i, double x);
13351 +struct s1 {int (*f) (int a);};
13352 +struct s2 {int (*f) (double a);};
13353 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13354 +int argc;
13355 +char **argv;
13356 +int
13357 +main ()
13358 +{
13359 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13360 + ;
13361 + return 0;
13362 +}
13363 +_ACEOF
13364 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13365 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13366 +do
13367 + CC="$ac_save_CC $ac_arg"
13368 + rm -f conftest.$ac_objext
13369 +if { (ac_try="$ac_compile"
13370 +case "(($ac_try" in
13371 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13372 + *) ac_try_echo=$ac_try;;
13373 +esac
13374 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13375 + (eval "$ac_compile") 2>conftest.er1
13376 + ac_status=$?
13377 + grep -v '^ *+' conftest.er1 >conftest.err
13378 + rm -f conftest.er1
13379 + cat conftest.err >&5
13380 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 + (exit $ac_status); } && {
13382 + test -z "$ac_c_werror_flag" ||
13383 + test ! -s conftest.err
13384 + } && test -s conftest.$ac_objext; then
13385 + ac_cv_prog_cc_c89=$ac_arg
13386 +else
13387 + echo "$as_me: failed program was:" >&5
13388 +sed 's/^/| /' conftest.$ac_ext >&5
13389 +
13390 +
13391 +fi
13392 +
13393 +rm -f core conftest.err conftest.$ac_objext
13394 + test "x$ac_cv_prog_cc_c89" != "xno" && break
13395 +done
13396 +rm -f conftest.$ac_ext
13397 +CC=$ac_save_CC
13398 +
13399 +fi
13400 +# AC_CACHE_VAL
13401 +case "x$ac_cv_prog_cc_c89" in
13402 + x)
13403 + { echo "$as_me:$LINENO: result: none needed" >&5
13404 +echo "${ECHO_T}none needed" >&6; } ;;
13405 + xno)
13406 + { echo "$as_me:$LINENO: result: unsupported" >&5
13407 +echo "${ECHO_T}unsupported" >&6; } ;;
13408 + *)
13409 + CC="$CC $ac_cv_prog_cc_c89"
13410 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13411 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13412 +esac
13413 +
13414 +
13415 +ac_ext=c
13416 +ac_cpp='$CPP $CPPFLAGS'
13417 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420 +
13421 +depcc="$CC" am_compiler_list=
13422 +
13423 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13424 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
13425 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13426 + echo $ECHO_N "(cached) $ECHO_C" >&6
13427 +else
13428 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13429 + # We make a subdir and do the tests there. Otherwise we can end up
13430 + # making bogus files that we don't know about and never remove. For
13431 + # instance it was reported that on HP-UX the gcc test will end up
13432 + # making a dummy file named `D' -- because `-MD' means `put the output
13433 + # in D'.
13434 + mkdir conftest.dir
13435 + # Copy depcomp to subdir because otherwise we won't find it if we're
13436 + # using a relative directory.
13437 + cp "$am_depcomp" conftest.dir
13438 + cd conftest.dir
13439 + # We will build objects and dependencies in a subdirectory because
13440 + # it helps to detect inapplicable dependency modes. For instance
13441 + # both Tru64's cc and ICC support -MD to output dependencies as a
13442 + # side effect of compilation, but ICC will put the dependencies in
13443 + # the current directory while Tru64 will put them in the object
13444 + # directory.
13445 + mkdir sub
13446 +
13447 + am_cv_CC_dependencies_compiler_type=none
13448 + if test "$am_compiler_list" = ""; then
13449 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13450 + fi
13451 + for depmode in $am_compiler_list; do
13452 + # Setup a source with many dependencies, because some compilers
13453 + # like to wrap large dependency lists on column 80 (with \), and
13454 + # we should not choose a depcomp mode which is confused by this.
13455 + #
13456 + # We need to recreate these files for each test, as the compiler may
13457 + # overwrite some of them when testing with obscure command lines.
13458 + # This happens at least with the AIX C compiler.
13459 + : > sub/conftest.c
13460 + for i in 1 2 3 4 5 6; do
13461 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
13462 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13463 + # Solaris 8's {/usr,}/bin/sh.
13464 + touch sub/conftst$i.h
13465 + done
13466 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13467 +
13468 + case $depmode in
13469 + nosideeffect)
13470 + # after this tag, mechanisms are not by side-effect, so they'll
13471 + # only be used when explicitly requested
13472 + if test "x$enable_dependency_tracking" = xyes; then
13473 + continue
13474 + else
13475 + break
13476 + fi
13477 + ;;
13478 + none) break ;;
13479 + esac
13480 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
13481 + # mode. It turns out that the SunPro C++ compiler does not properly
13482 + # handle `-M -o', and we need to detect this.
13483 + if depmode=$depmode \
13484 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13485 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13486 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13487 + >/dev/null 2>conftest.err &&
13488 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13489 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13490 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13491 + # icc doesn't choke on unknown options, it will just issue warnings
13492 + # or remarks (even with -Werror). So we grep stderr for any message
13493 + # that says an option was ignored or not supported.
13494 + # When given -MP, icc 7.0 and 7.1 complain thusly:
13495 + # icc: Command line warning: ignoring option '-M'; no argument required
13496 + # The diagnosis changed in icc 8.0:
13497 + # icc: Command line remark: option '-MP' not supported
13498 + if (grep 'ignoring option' conftest.err ||
13499 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13500 + am_cv_CC_dependencies_compiler_type=$depmode
13501 + break
13502 + fi
13503 + fi
13504 + done
13505 +
13506 + cd ..
13507 + rm -rf conftest.dir
13508 +else
13509 + am_cv_CC_dependencies_compiler_type=none
13510 +fi
13511 +
13512 +fi
13513 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13514 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
13515 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13516 +
13517 +
13518 +
13519 +if
13520 + test "x$enable_dependency_tracking" != xno \
13521 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13522 + am__fastdepCC_TRUE=
13523 + am__fastdepCC_FALSE='#'
13524 +else
13525 + am__fastdepCC_TRUE='#'
13526 + am__fastdepCC_FALSE=
13527 +fi
13528 +
13529 +
13530 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
13531 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
13532 +if test "${lt_cv_path_SED+set}" = set; then
13533 + echo $ECHO_N "(cached) $ECHO_C" >&6
13534 +else
13535 + # Loop through the user's path and test for sed and gsed.
13536 +# Then use that list of sed's as ones to test for truncation.
13537 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13538 +for as_dir in $PATH
13539 +do
13540 + IFS=$as_save_IFS
13541 + test -z "$as_dir" && as_dir=.
13542 + for lt_ac_prog in sed gsed; do
13543 + for ac_exec_ext in '' $ac_executable_extensions; do
13544 + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
13545 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
13546 + fi
13547 + done
13548 + done
13549 +done
13550 +IFS=$as_save_IFS
13551 +lt_ac_max=0
13552 +lt_ac_count=0
13553 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
13554 +# along with /bin/sed that truncates output.
13555 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13556 + test ! -f $lt_ac_sed && continue
13557 + cat /dev/null > conftest.in
13558 + lt_ac_count=0
13559 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
13560 + # Check for GNU sed and select it if it is found.
13561 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
13562 + lt_cv_path_SED=$lt_ac_sed
13563 + break
13564 + fi
13565 + while true; do
13566 + cat conftest.in conftest.in >conftest.tmp
13567 + mv conftest.tmp conftest.in
13568 + cp conftest.in conftest.nl
13569 + echo >>conftest.nl
13570 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
13571 + cmp -s conftest.out conftest.nl || break
13572 + # 10000 chars as input seems more than enough
13573 + test $lt_ac_count -gt 10 && break
13574 + lt_ac_count=`expr $lt_ac_count + 1`
13575 + if test $lt_ac_count -gt $lt_ac_max; then
13576 + lt_ac_max=$lt_ac_count
13577 + lt_cv_path_SED=$lt_ac_sed
13578 + fi
13579 + done
13580 +done
13581 +
13582 +fi
13583 +
13584 +SED=$lt_cv_path_SED
13585 +
13586 +{ echo "$as_me:$LINENO: result: $SED" >&5
13587 +echo "${ECHO_T}$SED" >&6; }
13588 +
13589 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
13590 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
13591 +if test "${ac_cv_path_GREP+set}" = set; then
13592 + echo $ECHO_N "(cached) $ECHO_C" >&6
13593 +else
13594 + # Extract the first word of "grep ggrep" to use in msg output
13595 +if test -z "$GREP"; then
13596 +set dummy grep ggrep; ac_prog_name=$2
13597 +if test "${ac_cv_path_GREP+set}" = set; then
13598 + echo $ECHO_N "(cached) $ECHO_C" >&6
13599 +else
13600 + ac_path_GREP_found=false
13601 +# Loop through the user's path and test for each of PROGNAME-LIST
13602 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13603 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
13604 +do
13605 + IFS=$as_save_IFS
13606 + test -z "$as_dir" && as_dir=.
13607 + for ac_prog in grep ggrep; do
13608 + for ac_exec_ext in '' $ac_executable_extensions; do
13609 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
13610 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
13611 + # Check for GNU ac_path_GREP and select it if it is found.
13612 + # Check for GNU $ac_path_GREP
13613 +case `"$ac_path_GREP" --version 2>&1` in
13614 +*GNU*)
13615 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
13616 +*)
13617 + ac_count=0
13618 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
13619 + while :
13620 + do
13621 + cat "conftest.in" "conftest.in" >"conftest.tmp"
13622 + mv "conftest.tmp" "conftest.in"
13623 + cp "conftest.in" "conftest.nl"
13624 + echo 'GREP' >> "conftest.nl"
13625 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13626 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13627 + ac_count=`expr $ac_count + 1`
13628 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
13629 + # Best one so far, save it but keep looking for a better one
13630 + ac_cv_path_GREP="$ac_path_GREP"
13631 + ac_path_GREP_max=$ac_count
13632 + fi
13633 + # 10*(2^10) chars as input seems more than enough
13634 + test $ac_count -gt 10 && break
13635 + done
13636 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13637 +esac
13638 +
13639 +
13640 + $ac_path_GREP_found && break 3
13641 + done
13642 +done
13643 +
13644 +done
13645 +IFS=$as_save_IFS
13646 +
13647 +
13648 +fi
13649 +
13650 +GREP="$ac_cv_path_GREP"
13651 +if test -z "$GREP"; then
13652 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
13653 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
13654 + { (exit 1); exit 1; }; }
13655 +fi
13656 +
13657 +else
13658 + ac_cv_path_GREP=$GREP
13659 +fi
13660 +
13661 +
13662 +fi
13663 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
13664 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
13665 + GREP="$ac_cv_path_GREP"
13666 +
13667 +
13668 +{ echo "$as_me:$LINENO: checking for egrep" >&5
13669 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
13670 +if test "${ac_cv_path_EGREP+set}" = set; then
13671 + echo $ECHO_N "(cached) $ECHO_C" >&6
13672 +else
13673 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
13674 + then ac_cv_path_EGREP="$GREP -E"
13675 + else
13676 + # Extract the first word of "egrep" to use in msg output
13677 +if test -z "$EGREP"; then
13678 +set dummy egrep; ac_prog_name=$2
13679 +if test "${ac_cv_path_EGREP+set}" = set; then
13680 + echo $ECHO_N "(cached) $ECHO_C" >&6
13681 +else
13682 + ac_path_EGREP_found=false
13683 +# Loop through the user's path and test for each of PROGNAME-LIST
13684 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13685 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
13686 +do
13687 + IFS=$as_save_IFS
13688 + test -z "$as_dir" && as_dir=.
13689 + for ac_prog in egrep; do
13690 + for ac_exec_ext in '' $ac_executable_extensions; do
13691 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
13692 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
13693 + # Check for GNU ac_path_EGREP and select it if it is found.
13694 + # Check for GNU $ac_path_EGREP
13695 +case `"$ac_path_EGREP" --version 2>&1` in
13696 +*GNU*)
13697 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
13698 +*)
13699 + ac_count=0
13700 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
13701 + while :
13702 + do
13703 + cat "conftest.in" "conftest.in" >"conftest.tmp"
13704 + mv "conftest.tmp" "conftest.in"
13705 + cp "conftest.in" "conftest.nl"
13706 + echo 'EGREP' >> "conftest.nl"
13707 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13708 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13709 + ac_count=`expr $ac_count + 1`
13710 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
13711 + # Best one so far, save it but keep looking for a better one
13712 + ac_cv_path_EGREP="$ac_path_EGREP"
13713 + ac_path_EGREP_max=$ac_count
13714 + fi
13715 + # 10*(2^10) chars as input seems more than enough
13716 + test $ac_count -gt 10 && break
13717 + done
13718 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13719 +esac
13720 +
13721 +
13722 + $ac_path_EGREP_found && break 3
13723 + done
13724 +done
13725 +
13726 +done
13727 +IFS=$as_save_IFS
13728 +
13729 +
13730 +fi
13731 +
13732 +EGREP="$ac_cv_path_EGREP"
13733 +if test -z "$EGREP"; then
13734 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
13735 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
13736 + { (exit 1); exit 1; }; }
13737 +fi
13738 +
13739 +else
13740 + ac_cv_path_EGREP=$EGREP
13741 +fi
13742 +
13743 +
13744 + fi
13745 +fi
13746 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
13747 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
13748 + EGREP="$ac_cv_path_EGREP"
13749 +
13750 +
13751 +
13752 +# Check whether --with-gnu-ld was given.
13753 +if test "${with_gnu_ld+set}" = set; then
13754 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13755 +else
13756 + with_gnu_ld=no
13757 +fi
13758 +
13759 +ac_prog=ld
13760 +if test "$GCC" = yes; then
13761 + # Check if gcc -print-prog-name=ld gives a path.
13762 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13763 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13764 + case $host in
13765 + *-*-mingw*)
13766 + # gcc leaves a trailing carriage return which upsets mingw
13767 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13768 + *)
13769 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13770 + esac
13771 + case $ac_prog in
13772 + # Accept absolute paths.
13773 + [\\/]* | ?:[\\/]*)
13774 + re_direlt='/[^/][^/]*/\.\./'
13775 + # Canonicalize the pathname of ld
13776 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13777 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13778 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13779 + done
13780 + test -z "$LD" && LD="$ac_prog"
13781 + ;;
13782 + "")
13783 + # If it fails, then pretend we aren't using GCC.
13784 + ac_prog=ld
13785 + ;;
13786 + *)
13787 + # If it is relative, then search for the first ld in PATH.
13788 + with_gnu_ld=unknown
13789 + ;;
13790 + esac
13791 +elif test "$with_gnu_ld" = yes; then
13792 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
13793 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13794 +else
13795 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13796 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13797 +fi
13798 +if test "${lt_cv_path_LD+set}" = set; then
13799 + echo $ECHO_N "(cached) $ECHO_C" >&6
13800 +else
13801 + if test -z "$LD"; then
13802 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13803 + for ac_dir in $PATH; do
13804 + IFS="$lt_save_ifs"
13805 + test -z "$ac_dir" && ac_dir=.
13806 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13807 + lt_cv_path_LD="$ac_dir/$ac_prog"
13808 + # Check to see if the program is GNU ld. I'd rather use --version,
13809 + # but apparently some variants of GNU ld only accept -v.
13810 + # Break only if it was the GNU/non-GNU ld that we prefer.
13811 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13812 + *GNU* | *'with BFD'*)
13813 + test "$with_gnu_ld" != no && break
13814 + ;;
13815 + *)
13816 + test "$with_gnu_ld" != yes && break
13817 + ;;
13818 + esac
13819 + fi
13820 + done
13821 + IFS="$lt_save_ifs"
13822 +else
13823 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
13824 +fi
13825 +fi
13826 +
13827 +LD="$lt_cv_path_LD"
13828 +if test -n "$LD"; then
13829 + { echo "$as_me:$LINENO: result: $LD" >&5
13830 +echo "${ECHO_T}$LD" >&6; }
13831 +else
13832 + { echo "$as_me:$LINENO: result: no" >&5
13833 +echo "${ECHO_T}no" >&6; }
13834 +fi
13835 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13836 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13837 + { (exit 1); exit 1; }; }
13838 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13839 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13840 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
13841 + echo $ECHO_N "(cached) $ECHO_C" >&6
13842 +else
13843 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
13844 +case `$LD -v 2>&1 </dev/null` in
13845 +*GNU* | *'with BFD'*)
13846 + lt_cv_prog_gnu_ld=yes
13847 + ;;
13848 +*)
13849 + lt_cv_prog_gnu_ld=no
13850 + ;;
13851 +esac
13852 +fi
13853 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13854 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13855 +with_gnu_ld=$lt_cv_prog_gnu_ld
13856 +
13857 +
13858 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13859 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
13860 +if test "${lt_cv_ld_reload_flag+set}" = set; then
13861 + echo $ECHO_N "(cached) $ECHO_C" >&6
13862 +else
13863 + lt_cv_ld_reload_flag='-r'
13864 +fi
13865 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13866 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
13867 +reload_flag=$lt_cv_ld_reload_flag
13868 +case $reload_flag in
13869 +"" | " "*) ;;
13870 +*) reload_flag=" $reload_flag" ;;
13871 +esac
13872 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
13873 +case $host_os in
13874 + darwin*)
13875 + if test "$GCC" = yes; then
13876 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
13877 + else
13878 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
13879 + fi
13880 + ;;
13881 +esac
13882 +
13883 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
13884 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
13885 +if test "${lt_cv_path_NM+set}" = set; then
13886 + echo $ECHO_N "(cached) $ECHO_C" >&6
13887 +else
13888 + if test -n "$NM"; then
13889 + # Let the user override the test.
13890 + lt_cv_path_NM="$NM"
13891 +else
13892 + lt_nm_to_check="${ac_tool_prefix}nm"
13893 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
13894 + lt_nm_to_check="$lt_nm_to_check nm"
13895 + fi
13896 + for lt_tmp_nm in $lt_nm_to_check; do
13897 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13898 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
13899 + IFS="$lt_save_ifs"
13900 + test -z "$ac_dir" && ac_dir=.
13901 + tmp_nm="$ac_dir/$lt_tmp_nm"
13902 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
13903 + # Check to see if the nm accepts a BSD-compat flag.
13904 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13905 + # nm: unknown option "B" ignored
13906 + # Tru64's nm complains that /dev/null is an invalid object file
13907 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13908 + */dev/null* | *'Invalid file or object type'*)
13909 + lt_cv_path_NM="$tmp_nm -B"
13910 + break
13911 + ;;
13912 + *)
13913 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13914 + */dev/null*)
13915 + lt_cv_path_NM="$tmp_nm -p"
13916 + break
13917 + ;;
13918 + *)
13919 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13920 + continue # so that we can try to find one that supports BSD flags
13921 + ;;
13922 + esac
13923 + ;;
13924 + esac
13925 + fi
13926 + done
13927 + IFS="$lt_save_ifs"
13928 + done
13929 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
13930 +fi
13931 +fi
13932 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
13933 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
13934 +NM="$lt_cv_path_NM"
13935 +
13936 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
13937 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
13938 +LN_S=$as_ln_s
13939 +if test "$LN_S" = "ln -s"; then
13940 + { echo "$as_me:$LINENO: result: yes" >&5
13941 +echo "${ECHO_T}yes" >&6; }
13942 +else
13943 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13944 +echo "${ECHO_T}no, using $LN_S" >&6; }
13945 +fi
13946 +
13947 +{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
13948 +echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
13949 +if test "${lt_cv_deplibs_check_method+set}" = set; then
13950 + echo $ECHO_N "(cached) $ECHO_C" >&6
13951 +else
13952 + lt_cv_file_magic_cmd='$MAGIC_CMD'
13953 +lt_cv_file_magic_test_file=
13954 +lt_cv_deplibs_check_method='unknown'
13955 +# Need to set the preceding variable on all platforms that support
13956 +# interlibrary dependencies.
13957 +# 'none' -- dependencies not supported.
13958 +# `unknown' -- same as none, but documents that we really don't know.
13959 +# 'pass_all' -- all dependencies passed with no checks.
13960 +# 'test_compile' -- check by making test program.
13961 +# 'file_magic [[regex]]' -- check by looking for files in library path
13962 +# which responds to the $file_magic_cmd with a given extended regex.
13963 +# If you have `file' or equivalent on your system and you're not sure
13964 +# whether `pass_all' will *always* work, you probably want this one.
13965 +
13966 +case $host_os in
13967 +aix4* | aix5*)
13968 + lt_cv_deplibs_check_method=pass_all
13969 + ;;
13970 +
13971 +beos*)
13972 + lt_cv_deplibs_check_method=pass_all
13973 + ;;
13974 +
13975 +bsdi[45]*)
13976 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
13977 + lt_cv_file_magic_cmd='/usr/bin/file -L'
13978 + lt_cv_file_magic_test_file=/shlib/libc.so
13979 + ;;
13980 +
13981 +cygwin*)
13982 + # func_win32_libid is a shell function defined in ltmain.sh
13983 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13984 + lt_cv_file_magic_cmd='func_win32_libid'
13985 + ;;
13986 +
13987 +mingw* | pw32*)
13988 + # Base MSYS/MinGW do not provide the 'file' command needed by
13989 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
13990 + # unless we find 'file', for example because we are cross-compiling.
13991 + if ( file / ) >/dev/null 2>&1; then
13992 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13993 + lt_cv_file_magic_cmd='func_win32_libid'
13994 + else
13995 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13996 + lt_cv_file_magic_cmd='$OBJDUMP -f'
13997 + fi
13998 + ;;
13999 +
14000 +darwin* | rhapsody*)
14001 + lt_cv_deplibs_check_method=pass_all
14002 + ;;
14003 +
14004 +freebsd* | dragonfly*)
14005 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
14006 + case $host_cpu in
14007 + i*86 )
14008 + # Not sure whether the presence of OpenBSD here was a mistake.
14009 + # Let's accept both of them until this is cleared up.
14010 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
14011 + lt_cv_file_magic_cmd=/usr/bin/file
14012 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
14013 + ;;
14014 + esac
14015 + else
14016 + lt_cv_deplibs_check_method=pass_all
14017 + fi
14018 + ;;
14019 +
14020 +gnu*)
14021 + lt_cv_deplibs_check_method=pass_all
14022 + ;;
14023 +
14024 +hpux10.20* | hpux11*)
14025 + lt_cv_file_magic_cmd=/usr/bin/file
14026 + case $host_cpu in
14027 + ia64*)
14028 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
14029 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
14030 + ;;
14031 + hppa*64*)
14032 + 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]'
14033 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
14034 + ;;
14035 + *)
14036 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
14037 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
14038 + ;;
14039 + esac
14040 + ;;
14041 +
14042 +interix[3-9]*)
14043 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
14044 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
14045 + ;;
14046 +
14047 +irix5* | irix6* | nonstopux*)
14048 + case $LD in
14049 + *-32|*"-32 ") libmagic=32-bit;;
14050 + *-n32|*"-n32 ") libmagic=N32;;
14051 + *-64|*"-64 ") libmagic=64-bit;;
14052 + *) libmagic=never-match;;
14053 + esac
14054 + lt_cv_deplibs_check_method=pass_all
14055 + ;;
14056 +
14057 +# This must be Linux ELF.
14058 +linux* | k*bsd*-gnu)
14059 + lt_cv_deplibs_check_method=pass_all
14060 + ;;
14061 +
14062 +netbsd* | netbsdelf*-gnu)
14063 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
14064 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
14065 + else
14066 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
14067 + fi
14068 + ;;
14069 +
14070 +newos6*)
14071 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
14072 + lt_cv_file_magic_cmd=/usr/bin/file
14073 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
14074 + ;;
14075 +
14076 +nto-qnx*)
14077 + lt_cv_deplibs_check_method=unknown
14078 + ;;
14079 +
14080 +openbsd*)
14081 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14082 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
14083 + else
14084 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
14085 + fi
14086 + ;;
14087 +
14088 +osf3* | osf4* | osf5*)
14089 + lt_cv_deplibs_check_method=pass_all
14090 + ;;
14091 +
14092 +rdos*)
14093 + lt_cv_deplibs_check_method=pass_all
14094 + ;;
14095 +
14096 +solaris*)
14097 + lt_cv_deplibs_check_method=pass_all
14098 + ;;
14099 +
14100 +sysv4 | sysv4.3*)
14101 + case $host_vendor in
14102 + motorola)
14103 + 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]'
14104 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
14105 + ;;
14106 + ncr)
14107 + lt_cv_deplibs_check_method=pass_all
14108 + ;;
14109 + sequent)
14110 + lt_cv_file_magic_cmd='/bin/file'
14111 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
14112 + ;;
14113 + sni)
14114 + lt_cv_file_magic_cmd='/bin/file'
14115 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
14116 + lt_cv_file_magic_test_file=/lib/libc.so
14117 + ;;
14118 + siemens)
14119 + lt_cv_deplibs_check_method=pass_all
14120 + ;;
14121 + pc)
14122 + lt_cv_deplibs_check_method=pass_all
14123 + ;;
14124 + esac
14125 + ;;
14126 +
14127 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14128 + lt_cv_deplibs_check_method=pass_all
14129 + ;;
14130 +esac
14131 +
14132 +fi
14133 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
14134 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
14135 +file_magic_cmd=$lt_cv_file_magic_cmd
14136 +deplibs_check_method=$lt_cv_deplibs_check_method
14137 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
14138 +
14139 +
14140 +
14141 +
14142 +# If no C compiler was specified, use CC.
14143 +LTCC=${LTCC-"$CC"}
14144 +
14145 +# If no C compiler flags were specified, use CFLAGS.
14146 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14147 +
14148 +# Allow CC to be a program name with arguments.
14149 +compiler=$CC
14150 +
14151 +
14152 +# Check whether --enable-libtool-lock was given.
14153 +if test "${enable_libtool_lock+set}" = set; then
14154 + enableval=$enable_libtool_lock;
14155 +fi
14156 +
14157 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14158 +
14159 +# Some flags need to be propagated to the compiler or linker for good
14160 +# libtool support.
14161 +case $host in
14162 +ia64-*-hpux*)
14163 + # Find out which ABI we are using.
14164 + echo 'int i;' > conftest.$ac_ext
14165 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14166 + (eval $ac_compile) 2>&5
14167 + ac_status=$?
14168 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 + (exit $ac_status); }; then
14170 + case `/usr/bin/file conftest.$ac_objext` in
14171 + *ELF-32*)
14172 + HPUX_IA64_MODE="32"
14173 + ;;
14174 + *ELF-64*)
14175 + HPUX_IA64_MODE="64"
14176 + ;;
14177 + esac
14178 + fi
14179 + rm -rf conftest*
14180 + ;;
14181 +*-*-irix6*)
14182 + # Find out which ABI we are using.
14183 + echo '#line 4308 "configure"' > conftest.$ac_ext
14184 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14185 + (eval $ac_compile) 2>&5
14186 + ac_status=$?
14187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 + (exit $ac_status); }; then
14189 + if test "$lt_cv_prog_gnu_ld" = yes; then
14190 + case `/usr/bin/file conftest.$ac_objext` in
14191 + *32-bit*)
14192 + LD="${LD-ld} -melf32bsmip"
14193 + ;;
14194 + *N32*)
14195 + LD="${LD-ld} -melf32bmipn32"
14196 + ;;
14197 + *64-bit*)
14198 + LD="${LD-ld} -melf64bmip"
14199 + ;;
14200 + esac
14201 + else
14202 + case `/usr/bin/file conftest.$ac_objext` in
14203 + *32-bit*)
14204 + LD="${LD-ld} -32"
14205 + ;;
14206 + *N32*)
14207 + LD="${LD-ld} -n32"
14208 + ;;
14209 + *64-bit*)
14210 + LD="${LD-ld} -64"
14211 + ;;
14212 + esac
14213 + fi
14214 + fi
14215 + rm -rf conftest*
14216 + ;;
14217 +
14218 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
14219 +s390*-*linux*|sparc*-*linux*)
14220 + # Find out which ABI we are using.
14221 + echo 'int i;' > conftest.$ac_ext
14222 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14223 + (eval $ac_compile) 2>&5
14224 + ac_status=$?
14225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 + (exit $ac_status); }; then
14227 + case `/usr/bin/file conftest.o` in
14228 + *32-bit*)
14229 + case $host in
14230 + x86_64-*kfreebsd*-gnu)
14231 + LD="${LD-ld} -m elf_i386_fbsd"
14232 + ;;
14233 + x86_64-*linux*)
14234 + LD="${LD-ld} -m elf_i386"
14235 + ;;
14236 + ppc64-*linux*|powerpc64-*linux*)
14237 + LD="${LD-ld} -m elf32ppclinux"
14238 + ;;
14239 + s390x-*linux*)
14240 + LD="${LD-ld} -m elf_s390"
14241 + ;;
14242 + sparc64-*linux*)
14243 + LD="${LD-ld} -m elf32_sparc"
14244 + ;;
14245 + esac
14246 + ;;
14247 + *64-bit*)
14248 + case $host in
14249 + x86_64-*kfreebsd*-gnu)
14250 + LD="${LD-ld} -m elf_x86_64_fbsd"
14251 + ;;
14252 + x86_64-*linux*)
14253 + LD="${LD-ld} -m elf_x86_64"
14254 + ;;
14255 + ppc*-*linux*|powerpc*-*linux*)
14256 + LD="${LD-ld} -m elf64ppc"
14257 + ;;
14258 + s390*-*linux*)
14259 + LD="${LD-ld} -m elf64_s390"
14260 + ;;
14261 + sparc*-*linux*)
14262 + LD="${LD-ld} -m elf64_sparc"
14263 + ;;
14264 + esac
14265 + ;;
14266 + esac
14267 + fi
14268 + rm -rf conftest*
14269 + ;;
14270 +
14271 +*-*-sco3.2v5*)
14272 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
14273 + SAVE_CFLAGS="$CFLAGS"
14274 + CFLAGS="$CFLAGS -belf"
14275 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
14276 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
14277 +if test "${lt_cv_cc_needs_belf+set}" = set; then
14278 + echo $ECHO_N "(cached) $ECHO_C" >&6
14279 +else
14280 + ac_ext=c
14281 +ac_cpp='$CPP $CPPFLAGS'
14282 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14283 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14284 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14285 +
14286 + cat >conftest.$ac_ext <<_ACEOF
14287 +/* confdefs.h. */
14288 +_ACEOF
14289 +cat confdefs.h >>conftest.$ac_ext
14290 +cat >>conftest.$ac_ext <<_ACEOF
14291 +/* end confdefs.h. */
14292 +
14293 +int
14294 +main ()
14295 +{
14296 +
14297 + ;
14298 + return 0;
14299 +}
14300 +_ACEOF
14301 +rm -f conftest.$ac_objext conftest$ac_exeext
14302 +if { (ac_try="$ac_link"
14303 +case "(($ac_try" in
14304 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14305 + *) ac_try_echo=$ac_try;;
14306 +esac
14307 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14308 + (eval "$ac_link") 2>conftest.er1
14309 + ac_status=$?
14310 + grep -v '^ *+' conftest.er1 >conftest.err
14311 + rm -f conftest.er1
14312 + cat conftest.err >&5
14313 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 + (exit $ac_status); } && {
14315 + test -z "$ac_c_werror_flag" ||
14316 + test ! -s conftest.err
14317 + } && test -s conftest$ac_exeext &&
14318 + $as_test_x conftest$ac_exeext; then
14319 + lt_cv_cc_needs_belf=yes
14320 +else
14321 + echo "$as_me: failed program was:" >&5
14322 +sed 's/^/| /' conftest.$ac_ext >&5
14323 +
14324 + lt_cv_cc_needs_belf=no
14325 +fi
14326 +
14327 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14328 + conftest$ac_exeext conftest.$ac_ext
14329 + ac_ext=c
14330 +ac_cpp='$CPP $CPPFLAGS'
14331 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14332 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14333 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14334 +
14335 +fi
14336 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
14337 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
14338 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
14339 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
14340 + CFLAGS="$SAVE_CFLAGS"
14341 + fi
14342 + ;;
14343 +sparc*-*solaris*)
14344 + # Find out which ABI we are using.
14345 + echo 'int i;' > conftest.$ac_ext
14346 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14347 + (eval $ac_compile) 2>&5
14348 + ac_status=$?
14349 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 + (exit $ac_status); }; then
14351 + case `/usr/bin/file conftest.o` in
14352 + *64-bit*)
14353 + case $lt_cv_prog_gnu_ld in
14354 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
14355 + *) LD="${LD-ld} -64" ;;
14356 + esac
14357 + ;;
14358 + esac
14359 + fi
14360 + rm -rf conftest*
14361 + ;;
14362 +
14363 +
14364 +esac
14365 +
14366 +need_locks="$enable_libtool_lock"
14367 +
14368 +
14369 +ac_ext=c
14370 +ac_cpp='$CPP $CPPFLAGS'
14371 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14372 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14373 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14374 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14375 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14376 +# On Suns, sometimes $CPP names a directory.
14377 +if test -n "$CPP" && test -d "$CPP"; then
14378 + CPP=
14379 +fi
14380 +if test -z "$CPP"; then
14381 + if test "${ac_cv_prog_CPP+set}" = set; then
14382 + echo $ECHO_N "(cached) $ECHO_C" >&6
14383 +else
14384 + # Double quotes because CPP needs to be expanded
14385 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14386 + do
14387 + ac_preproc_ok=false
14388 +for ac_c_preproc_warn_flag in '' yes
14389 +do
14390 + # Use a header file that comes with gcc, so configuring glibc
14391 + # with a fresh cross-compiler works.
14392 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14393 + # <limits.h> exists even on freestanding compilers.
14394 + # On the NeXT, cc -E runs the code through the compiler's parser,
14395 + # not just through cpp. "Syntax error" is here to catch this case.
14396 + cat >conftest.$ac_ext <<_ACEOF
14397 +/* confdefs.h. */
14398 +_ACEOF
14399 +cat confdefs.h >>conftest.$ac_ext
14400 +cat >>conftest.$ac_ext <<_ACEOF
14401 +/* end confdefs.h. */
14402 +#ifdef __STDC__
14403 +# include <limits.h>
14404 +#else
14405 +# include <assert.h>
14406 +#endif
14407 + Syntax error
14408 +_ACEOF
14409 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14410 +case "(($ac_try" in
14411 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 + *) ac_try_echo=$ac_try;;
14413 +esac
14414 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14416 + ac_status=$?
14417 + grep -v '^ *+' conftest.er1 >conftest.err
14418 + rm -f conftest.er1
14419 + cat conftest.err >&5
14420 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 + (exit $ac_status); } >/dev/null && {
14422 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14423 + test ! -s conftest.err
14424 + }; then
14425 + :
14426 +else
14427 + echo "$as_me: failed program was:" >&5
14428 +sed 's/^/| /' conftest.$ac_ext >&5
14429 +
14430 + # Broken: fails on valid input.
14431 +continue
14432 +fi
14433 +
14434 +rm -f conftest.err conftest.$ac_ext
14435 +
14436 + # OK, works on sane cases. Now check whether nonexistent headers
14437 + # can be detected and how.
14438 + cat >conftest.$ac_ext <<_ACEOF
14439 +/* confdefs.h. */
14440 +_ACEOF
14441 +cat confdefs.h >>conftest.$ac_ext
14442 +cat >>conftest.$ac_ext <<_ACEOF
14443 +/* end confdefs.h. */
14444 +#include <ac_nonexistent.h>
14445 +_ACEOF
14446 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14447 +case "(($ac_try" in
14448 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14449 + *) ac_try_echo=$ac_try;;
14450 +esac
14451 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14452 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14453 + ac_status=$?
14454 + grep -v '^ *+' conftest.er1 >conftest.err
14455 + rm -f conftest.er1
14456 + cat conftest.err >&5
14457 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 + (exit $ac_status); } >/dev/null && {
14459 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14460 + test ! -s conftest.err
14461 + }; then
14462 + # Broken: success on invalid input.
14463 +continue
14464 +else
14465 + echo "$as_me: failed program was:" >&5
14466 +sed 's/^/| /' conftest.$ac_ext >&5
14467 +
14468 + # Passes both tests.
14469 +ac_preproc_ok=:
14470 +break
14471 +fi
14472 +
14473 +rm -f conftest.err conftest.$ac_ext
14474 +
14475 +done
14476 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14477 +rm -f conftest.err conftest.$ac_ext
14478 +if $ac_preproc_ok; then
14479 + break
14480 +fi
14481 +
14482 + done
14483 + ac_cv_prog_CPP=$CPP
14484 +
14485 +fi
14486 + CPP=$ac_cv_prog_CPP
14487 +else
14488 + ac_cv_prog_CPP=$CPP
14489 +fi
14490 +{ echo "$as_me:$LINENO: result: $CPP" >&5
14491 +echo "${ECHO_T}$CPP" >&6; }
14492 +ac_preproc_ok=false
14493 +for ac_c_preproc_warn_flag in '' yes
14494 +do
14495 + # Use a header file that comes with gcc, so configuring glibc
14496 + # with a fresh cross-compiler works.
14497 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14498 + # <limits.h> exists even on freestanding compilers.
14499 + # On the NeXT, cc -E runs the code through the compiler's parser,
14500 + # not just through cpp. "Syntax error" is here to catch this case.
14501 + cat >conftest.$ac_ext <<_ACEOF
14502 +/* confdefs.h. */
14503 +_ACEOF
14504 +cat confdefs.h >>conftest.$ac_ext
14505 +cat >>conftest.$ac_ext <<_ACEOF
14506 +/* end confdefs.h. */
14507 +#ifdef __STDC__
14508 +# include <limits.h>
14509 +#else
14510 +# include <assert.h>
14511 +#endif
14512 + Syntax error
14513 +_ACEOF
14514 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14515 +case "(($ac_try" in
14516 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14517 + *) ac_try_echo=$ac_try;;
14518 +esac
14519 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14520 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14521 + ac_status=$?
14522 + grep -v '^ *+' conftest.er1 >conftest.err
14523 + rm -f conftest.er1
14524 + cat conftest.err >&5
14525 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 + (exit $ac_status); } >/dev/null && {
14527 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14528 + test ! -s conftest.err
14529 + }; then
14530 + :
14531 +else
14532 + echo "$as_me: failed program was:" >&5
14533 +sed 's/^/| /' conftest.$ac_ext >&5
14534 +
14535 + # Broken: fails on valid input.
14536 +continue
14537 +fi
14538 +
14539 +rm -f conftest.err conftest.$ac_ext
14540 +
14541 + # OK, works on sane cases. Now check whether nonexistent headers
14542 + # can be detected and how.
14543 + cat >conftest.$ac_ext <<_ACEOF
14544 +/* confdefs.h. */
14545 +_ACEOF
14546 +cat confdefs.h >>conftest.$ac_ext
14547 +cat >>conftest.$ac_ext <<_ACEOF
14548 +/* end confdefs.h. */
14549 +#include <ac_nonexistent.h>
14550 +_ACEOF
14551 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14552 +case "(($ac_try" in
14553 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14554 + *) ac_try_echo=$ac_try;;
14555 +esac
14556 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14557 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14558 + ac_status=$?
14559 + grep -v '^ *+' conftest.er1 >conftest.err
14560 + rm -f conftest.er1
14561 + cat conftest.err >&5
14562 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 + (exit $ac_status); } >/dev/null && {
14564 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14565 + test ! -s conftest.err
14566 + }; then
14567 + # Broken: success on invalid input.
14568 +continue
14569 +else
14570 + echo "$as_me: failed program was:" >&5
14571 +sed 's/^/| /' conftest.$ac_ext >&5
14572 +
14573 + # Passes both tests.
14574 +ac_preproc_ok=:
14575 +break
14576 +fi
14577 +
14578 +rm -f conftest.err conftest.$ac_ext
14579 +
14580 +done
14581 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14582 +rm -f conftest.err conftest.$ac_ext
14583 +if $ac_preproc_ok; then
14584 + :
14585 +else
14586 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14587 +See \`config.log' for more details." >&5
14588 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14589 +See \`config.log' for more details." >&2;}
14590 + { (exit 1); exit 1; }; }
14591 +fi
14592 +
14593 +ac_ext=c
14594 +ac_cpp='$CPP $CPPFLAGS'
14595 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14596 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14597 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14598 +
14599 +
14600 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14601 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
14602 +if test "${ac_cv_header_stdc+set}" = set; then
14603 + echo $ECHO_N "(cached) $ECHO_C" >&6
14604 +else
14605 + cat >conftest.$ac_ext <<_ACEOF
14606 +/* confdefs.h. */
14607 +_ACEOF
14608 +cat confdefs.h >>conftest.$ac_ext
14609 +cat >>conftest.$ac_ext <<_ACEOF
14610 +/* end confdefs.h. */
14611 +#include <stdlib.h>
14612 +#include <stdarg.h>
14613 +#include <string.h>
14614 +#include <float.h>
14615 +
14616 +int
14617 +main ()
14618 +{
14619 +
14620 + ;
14621 + return 0;
14622 +}
14623 +_ACEOF
14624 +rm -f conftest.$ac_objext
14625 +if { (ac_try="$ac_compile"
14626 +case "(($ac_try" in
14627 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628 + *) ac_try_echo=$ac_try;;
14629 +esac
14630 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 + (eval "$ac_compile") 2>conftest.er1
14632 + ac_status=$?
14633 + grep -v '^ *+' conftest.er1 >conftest.err
14634 + rm -f conftest.er1
14635 + cat conftest.err >&5
14636 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 + (exit $ac_status); } && {
14638 + test -z "$ac_c_werror_flag" ||
14639 + test ! -s conftest.err
14640 + } && test -s conftest.$ac_objext; then
14641 + ac_cv_header_stdc=yes
14642 +else
14643 + echo "$as_me: failed program was:" >&5
14644 +sed 's/^/| /' conftest.$ac_ext >&5
14645 +
14646 + ac_cv_header_stdc=no
14647 +fi
14648 +
14649 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 +
14651 +if test $ac_cv_header_stdc = yes; then
14652 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14653 + cat >conftest.$ac_ext <<_ACEOF
14654 +/* confdefs.h. */
14655 +_ACEOF
14656 +cat confdefs.h >>conftest.$ac_ext
14657 +cat >>conftest.$ac_ext <<_ACEOF
14658 +/* end confdefs.h. */
14659 +#include <string.h>
14660 +
14661 +_ACEOF
14662 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14663 + $EGREP "memchr" >/dev/null 2>&1; then
14664 + :
14665 +else
14666 + ac_cv_header_stdc=no
14667 +fi
14668 +rm -f conftest*
14669 +
14670 +fi
14671 +
14672 +if test $ac_cv_header_stdc = yes; then
14673 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14674 + cat >conftest.$ac_ext <<_ACEOF
14675 +/* confdefs.h. */
14676 +_ACEOF
14677 +cat confdefs.h >>conftest.$ac_ext
14678 +cat >>conftest.$ac_ext <<_ACEOF
14679 +/* end confdefs.h. */
14680 +#include <stdlib.h>
14681 +
14682 +_ACEOF
14683 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14684 + $EGREP "free" >/dev/null 2>&1; then
14685 + :
14686 +else
14687 + ac_cv_header_stdc=no
14688 +fi
14689 +rm -f conftest*
14690 +
14691 +fi
14692 +
14693 +if test $ac_cv_header_stdc = yes; then
14694 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14695 + if test "$cross_compiling" = yes; then
14696 + :
14697 +else
14698 + cat >conftest.$ac_ext <<_ACEOF
14699 +/* confdefs.h. */
14700 +_ACEOF
14701 +cat confdefs.h >>conftest.$ac_ext
14702 +cat >>conftest.$ac_ext <<_ACEOF
14703 +/* end confdefs.h. */
14704 +#include <ctype.h>
14705 +#include <stdlib.h>
14706 +#if ((' ' & 0x0FF) == 0x020)
14707 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14708 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14709 +#else
14710 +# define ISLOWER(c) \
14711 + (('a' <= (c) && (c) <= 'i') \
14712 + || ('j' <= (c) && (c) <= 'r') \
14713 + || ('s' <= (c) && (c) <= 'z'))
14714 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14715 +#endif
14716 +
14717 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14718 +int
14719 +main ()
14720 +{
14721 + int i;
14722 + for (i = 0; i < 256; i++)
14723 + if (XOR (islower (i), ISLOWER (i))
14724 + || toupper (i) != TOUPPER (i))
14725 + return 2;
14726 + return 0;
14727 +}
14728 +_ACEOF
14729 +rm -f conftest$ac_exeext
14730 +if { (ac_try="$ac_link"
14731 +case "(($ac_try" in
14732 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14733 + *) ac_try_echo=$ac_try;;
14734 +esac
14735 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14736 + (eval "$ac_link") 2>&5
14737 + ac_status=$?
14738 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14740 + { (case "(($ac_try" in
14741 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14742 + *) ac_try_echo=$ac_try;;
14743 +esac
14744 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14745 + (eval "$ac_try") 2>&5
14746 + ac_status=$?
14747 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 + (exit $ac_status); }; }; then
14749 + :
14750 +else
14751 + echo "$as_me: program exited with status $ac_status" >&5
14752 +echo "$as_me: failed program was:" >&5
14753 +sed 's/^/| /' conftest.$ac_ext >&5
14754 +
14755 +( exit $ac_status )
14756 +ac_cv_header_stdc=no
14757 +fi
14758 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14759 +fi
14760 +
14761 +
14762 +fi
14763 +fi
14764 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14765 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
14766 +if test $ac_cv_header_stdc = yes; then
14767 +
14768 +cat >>confdefs.h <<\_ACEOF
14769 +#define STDC_HEADERS 1
14770 +_ACEOF
14771 +
14772 +fi
14773 +
14774 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
14775 +
14776 +
14777 +
14778 +
14779 +
14780 +
14781 +
14782 +
14783 +
14784 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14785 + inttypes.h stdint.h unistd.h
14786 +do
14787 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14788 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14789 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14790 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14791 + echo $ECHO_N "(cached) $ECHO_C" >&6
14792 +else
14793 + cat >conftest.$ac_ext <<_ACEOF
14794 +/* confdefs.h. */
14795 +_ACEOF
14796 +cat confdefs.h >>conftest.$ac_ext
14797 +cat >>conftest.$ac_ext <<_ACEOF
14798 +/* end confdefs.h. */
14799 +$ac_includes_default
14800 +
14801 +#include <$ac_header>
14802 +_ACEOF
14803 +rm -f conftest.$ac_objext
14804 +if { (ac_try="$ac_compile"
14805 +case "(($ac_try" in
14806 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14807 + *) ac_try_echo=$ac_try;;
14808 +esac
14809 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14810 + (eval "$ac_compile") 2>conftest.er1
14811 + ac_status=$?
14812 + grep -v '^ *+' conftest.er1 >conftest.err
14813 + rm -f conftest.er1
14814 + cat conftest.err >&5
14815 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 + (exit $ac_status); } && {
14817 + test -z "$ac_c_werror_flag" ||
14818 + test ! -s conftest.err
14819 + } && test -s conftest.$ac_objext; then
14820 + eval "$as_ac_Header=yes"
14821 +else
14822 + echo "$as_me: failed program was:" >&5
14823 +sed 's/^/| /' conftest.$ac_ext >&5
14824 +
14825 + eval "$as_ac_Header=no"
14826 +fi
14827 +
14828 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14829 +fi
14830 +ac_res=`eval echo '${'$as_ac_Header'}'`
14831 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14832 +echo "${ECHO_T}$ac_res" >&6; }
14833 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
14834 + cat >>confdefs.h <<_ACEOF
14835 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14836 +_ACEOF
14837 +
14838 +fi
14839 +
14840 +done
14841 +
14842 +
14843 +
14844 +for ac_header in dlfcn.h
14845 +do
14846 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14847 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14848 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
14849 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14850 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14851 + echo $ECHO_N "(cached) $ECHO_C" >&6
14852 +fi
14853 +ac_res=`eval echo '${'$as_ac_Header'}'`
14854 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14855 +echo "${ECHO_T}$ac_res" >&6; }
14856 +else
14857 + # Is the header compilable?
14858 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14859 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14860 +cat >conftest.$ac_ext <<_ACEOF
14861 +/* confdefs.h. */
14862 +_ACEOF
14863 +cat confdefs.h >>conftest.$ac_ext
14864 +cat >>conftest.$ac_ext <<_ACEOF
14865 +/* end confdefs.h. */
14866 +$ac_includes_default
14867 +#include <$ac_header>
14868 +_ACEOF
14869 +rm -f conftest.$ac_objext
14870 +if { (ac_try="$ac_compile"
14871 +case "(($ac_try" in
14872 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14873 + *) ac_try_echo=$ac_try;;
14874 +esac
14875 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14876 + (eval "$ac_compile") 2>conftest.er1
14877 + ac_status=$?
14878 + grep -v '^ *+' conftest.er1 >conftest.err
14879 + rm -f conftest.er1
14880 + cat conftest.err >&5
14881 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 + (exit $ac_status); } && {
14883 + test -z "$ac_c_werror_flag" ||
14884 + test ! -s conftest.err
14885 + } && test -s conftest.$ac_objext; then
14886 + ac_header_compiler=yes
14887 +else
14888 + echo "$as_me: failed program was:" >&5
14889 +sed 's/^/| /' conftest.$ac_ext >&5
14890 +
14891 + ac_header_compiler=no
14892 +fi
14893 +
14894 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14895 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14896 +echo "${ECHO_T}$ac_header_compiler" >&6; }
14897 +
14898 +# Is the header present?
14899 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14900 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14901 +cat >conftest.$ac_ext <<_ACEOF
14902 +/* confdefs.h. */
14903 +_ACEOF
14904 +cat confdefs.h >>conftest.$ac_ext
14905 +cat >>conftest.$ac_ext <<_ACEOF
14906 +/* end confdefs.h. */
14907 +#include <$ac_header>
14908 +_ACEOF
14909 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14910 +case "(($ac_try" in
14911 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14912 + *) ac_try_echo=$ac_try;;
14913 +esac
14914 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14915 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14916 + ac_status=$?
14917 + grep -v '^ *+' conftest.er1 >conftest.err
14918 + rm -f conftest.er1
14919 + cat conftest.err >&5
14920 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 + (exit $ac_status); } >/dev/null && {
14922 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14923 + test ! -s conftest.err
14924 + }; then
14925 + ac_header_preproc=yes
14926 +else
14927 + echo "$as_me: failed program was:" >&5
14928 +sed 's/^/| /' conftest.$ac_ext >&5
14929 +
14930 + ac_header_preproc=no
14931 +fi
14932 +
14933 +rm -f conftest.err conftest.$ac_ext
14934 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14935 +echo "${ECHO_T}$ac_header_preproc" >&6; }
14936 +
14937 +# So? What about this header?
14938 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14939 + yes:no: )
14940 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14941 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14942 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14943 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14944 + ac_header_preproc=yes
14945 + ;;
14946 + no:yes:* )
14947 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14948 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14949 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14950 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14951 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14952 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14953 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14954 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14955 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14956 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14957 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14958 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14959 +
14960 + ;;
14961 +esac
14962 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14963 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14964 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14965 + echo $ECHO_N "(cached) $ECHO_C" >&6
14966 +else
14967 + eval "$as_ac_Header=\$ac_header_preproc"
14968 +fi
14969 +ac_res=`eval echo '${'$as_ac_Header'}'`
14970 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14971 +echo "${ECHO_T}$ac_res" >&6; }
14972 +
14973 +fi
14974 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
14975 + cat >>confdefs.h <<_ACEOF
14976 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14977 +_ACEOF
14978 +
14979 +fi
14980 +
14981 +done
14982 +
14983 +ac_ext=cpp
14984 +ac_cpp='$CXXCPP $CPPFLAGS'
14985 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14986 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14987 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14988 +if test -z "$CXX"; then
14989 + if test -n "$CCC"; then
14990 + CXX=$CCC
14991 + else
14992 + if test -n "$ac_tool_prefix"; then
14993 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14994 + do
14995 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14996 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14997 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14998 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14999 +if test "${ac_cv_prog_CXX+set}" = set; then
15000 + echo $ECHO_N "(cached) $ECHO_C" >&6
15001 +else
15002 + if test -n "$CXX"; then
15003 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
15004 +else
15005 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15006 +for as_dir in $PATH
15007 +do
15008 + IFS=$as_save_IFS
15009 + test -z "$as_dir" && as_dir=.
15010 + for ac_exec_ext in '' $ac_executable_extensions; do
15011 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15012 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15013 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15014 + break 2
15015 + fi
15016 +done
15017 +done
15018 +IFS=$as_save_IFS
15019 +
15020 +fi
15021 +fi
15022 +CXX=$ac_cv_prog_CXX
15023 +if test -n "$CXX"; then
15024 + { echo "$as_me:$LINENO: result: $CXX" >&5
15025 +echo "${ECHO_T}$CXX" >&6; }
15026 +else
15027 + { echo "$as_me:$LINENO: result: no" >&5
15028 +echo "${ECHO_T}no" >&6; }
15029 +fi
15030 +
15031 +
15032 + test -n "$CXX" && break
15033 + done
15034 +fi
15035 +if test -z "$CXX"; then
15036 + ac_ct_CXX=$CXX
15037 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15038 +do
15039 + # Extract the first word of "$ac_prog", so it can be a program name with args.
15040 +set dummy $ac_prog; ac_word=$2
15041 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15042 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15043 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15044 + echo $ECHO_N "(cached) $ECHO_C" >&6
15045 +else
15046 + if test -n "$ac_ct_CXX"; then
15047 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15048 +else
15049 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15050 +for as_dir in $PATH
15051 +do
15052 + IFS=$as_save_IFS
15053 + test -z "$as_dir" && as_dir=.
15054 + for ac_exec_ext in '' $ac_executable_extensions; do
15055 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15056 + ac_cv_prog_ac_ct_CXX="$ac_prog"
15057 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15058 + break 2
15059 + fi
15060 +done
15061 +done
15062 +IFS=$as_save_IFS
15063 +
15064 +fi
15065 +fi
15066 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15067 +if test -n "$ac_ct_CXX"; then
15068 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15069 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
15070 +else
15071 + { echo "$as_me:$LINENO: result: no" >&5
15072 +echo "${ECHO_T}no" >&6; }
15073 +fi
15074 +
15075 +
15076 + test -n "$ac_ct_CXX" && break
15077 +done
15078 +
15079 + if test "x$ac_ct_CXX" = x; then
15080 + CXX="g++"
15081 + else
15082 + case $cross_compiling:$ac_tool_warned in
15083 +yes:)
15084 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15085 +whose name does not start with the host triplet. If you think this
15086 +configuration is useful to you, please write to autoconf@gnu.org." >&5
15087 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15088 +whose name does not start with the host triplet. If you think this
15089 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15090 +ac_tool_warned=yes ;;
15091 +esac
15092 + CXX=$ac_ct_CXX
15093 + fi
15094 +fi
15095 +
15096 + fi
15097 +fi
15098 +# Provide some information about the compiler.
15099 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15100 +ac_compiler=`set X $ac_compile; echo $2`
15101 +{ (ac_try="$ac_compiler --version >&5"
15102 +case "(($ac_try" in
15103 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15104 + *) ac_try_echo=$ac_try;;
15105 +esac
15106 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15107 + (eval "$ac_compiler --version >&5") 2>&5
15108 + ac_status=$?
15109 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 + (exit $ac_status); }
15111 +{ (ac_try="$ac_compiler -v >&5"
15112 +case "(($ac_try" in
15113 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15114 + *) ac_try_echo=$ac_try;;
15115 +esac
15116 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15117 + (eval "$ac_compiler -v >&5") 2>&5
15118 + ac_status=$?
15119 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 + (exit $ac_status); }
15121 +{ (ac_try="$ac_compiler -V >&5"
15122 +case "(($ac_try" in
15123 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15124 + *) ac_try_echo=$ac_try;;
15125 +esac
15126 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15127 + (eval "$ac_compiler -V >&5") 2>&5
15128 + ac_status=$?
15129 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 + (exit $ac_status); }
15131 +
15132 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15133 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15134 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15135 + echo $ECHO_N "(cached) $ECHO_C" >&6
15136 +else
15137 + cat >conftest.$ac_ext <<_ACEOF
15138 +/* confdefs.h. */
15139 +_ACEOF
15140 +cat confdefs.h >>conftest.$ac_ext
15141 +cat >>conftest.$ac_ext <<_ACEOF
15142 +/* end confdefs.h. */
15143 +
15144 +int
15145 +main ()
15146 +{
15147 +#ifndef __GNUC__
15148 + choke me
15149 +#endif
15150 +
15151 + ;
15152 + return 0;
15153 +}
15154 +_ACEOF
15155 +rm -f conftest.$ac_objext
15156 +if { (ac_try="$ac_compile"
15157 +case "(($ac_try" in
15158 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15159 + *) ac_try_echo=$ac_try;;
15160 +esac
15161 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15162 + (eval "$ac_compile") 2>conftest.er1
15163 + ac_status=$?
15164 + grep -v '^ *+' conftest.er1 >conftest.err
15165 + rm -f conftest.er1
15166 + cat conftest.err >&5
15167 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 + (exit $ac_status); } && {
15169 + test -z "$ac_cxx_werror_flag" ||
15170 + test ! -s conftest.err
15171 + } && test -s conftest.$ac_objext; then
15172 + ac_compiler_gnu=yes
15173 +else
15174 + echo "$as_me: failed program was:" >&5
15175 +sed 's/^/| /' conftest.$ac_ext >&5
15176 +
15177 + ac_compiler_gnu=no
15178 +fi
15179 +
15180 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15181 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15182 +
15183 +fi
15184 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15185 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15186 +GXX=`test $ac_compiler_gnu = yes && echo yes`
15187 +ac_test_CXXFLAGS=${CXXFLAGS+set}
15188 +ac_save_CXXFLAGS=$CXXFLAGS
15189 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15190 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15191 +if test "${ac_cv_prog_cxx_g+set}" = set; then
15192 + echo $ECHO_N "(cached) $ECHO_C" >&6
15193 +else
15194 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15195 + ac_cxx_werror_flag=yes
15196 + ac_cv_prog_cxx_g=no
15197 + CXXFLAGS="-g"
15198 + cat >conftest.$ac_ext <<_ACEOF
15199 +/* confdefs.h. */
15200 +_ACEOF
15201 +cat confdefs.h >>conftest.$ac_ext
15202 +cat >>conftest.$ac_ext <<_ACEOF
15203 +/* end confdefs.h. */
15204 +
15205 +int
15206 +main ()
15207 +{
15208 +
15209 + ;
15210 + return 0;
15211 +}
15212 +_ACEOF
15213 +rm -f conftest.$ac_objext
15214 +if { (ac_try="$ac_compile"
15215 +case "(($ac_try" in
15216 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15217 + *) ac_try_echo=$ac_try;;
15218 +esac
15219 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15220 + (eval "$ac_compile") 2>conftest.er1
15221 + ac_status=$?
15222 + grep -v '^ *+' conftest.er1 >conftest.err
15223 + rm -f conftest.er1
15224 + cat conftest.err >&5
15225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 + (exit $ac_status); } && {
15227 + test -z "$ac_cxx_werror_flag" ||
15228 + test ! -s conftest.err
15229 + } && test -s conftest.$ac_objext; then
15230 + ac_cv_prog_cxx_g=yes
15231 +else
15232 + echo "$as_me: failed program was:" >&5
15233 +sed 's/^/| /' conftest.$ac_ext >&5
15234 +
15235 + CXXFLAGS=""
15236 + cat >conftest.$ac_ext <<_ACEOF
15237 +/* confdefs.h. */
15238 +_ACEOF
15239 +cat confdefs.h >>conftest.$ac_ext
15240 +cat >>conftest.$ac_ext <<_ACEOF
15241 +/* end confdefs.h. */
15242 +
15243 +int
15244 +main ()
15245 +{
15246 +
15247 + ;
15248 + return 0;
15249 +}
15250 +_ACEOF
15251 +rm -f conftest.$ac_objext
15252 +if { (ac_try="$ac_compile"
15253 +case "(($ac_try" in
15254 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15255 + *) ac_try_echo=$ac_try;;
15256 +esac
15257 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15258 + (eval "$ac_compile") 2>conftest.er1
15259 + ac_status=$?
15260 + grep -v '^ *+' conftest.er1 >conftest.err
15261 + rm -f conftest.er1
15262 + cat conftest.err >&5
15263 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 + (exit $ac_status); } && {
15265 + test -z "$ac_cxx_werror_flag" ||
15266 + test ! -s conftest.err
15267 + } && test -s conftest.$ac_objext; then
15268 + :
15269 +else
15270 + echo "$as_me: failed program was:" >&5
15271 +sed 's/^/| /' conftest.$ac_ext >&5
15272 +
15273 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15274 + CXXFLAGS="-g"
15275 + cat >conftest.$ac_ext <<_ACEOF
15276 +/* confdefs.h. */
15277 +_ACEOF
15278 +cat confdefs.h >>conftest.$ac_ext
15279 +cat >>conftest.$ac_ext <<_ACEOF
15280 +/* end confdefs.h. */
15281 +
15282 +int
15283 +main ()
15284 +{
15285 +
15286 + ;
15287 + return 0;
15288 +}
15289 +_ACEOF
15290 +rm -f conftest.$ac_objext
15291 +if { (ac_try="$ac_compile"
15292 +case "(($ac_try" in
15293 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15294 + *) ac_try_echo=$ac_try;;
15295 +esac
15296 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15297 + (eval "$ac_compile") 2>conftest.er1
15298 + ac_status=$?
15299 + grep -v '^ *+' conftest.er1 >conftest.err
15300 + rm -f conftest.er1
15301 + cat conftest.err >&5
15302 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 + (exit $ac_status); } && {
15304 + test -z "$ac_cxx_werror_flag" ||
15305 + test ! -s conftest.err
15306 + } && test -s conftest.$ac_objext; then
15307 + ac_cv_prog_cxx_g=yes
15308 +else
15309 + echo "$as_me: failed program was:" >&5
15310 +sed 's/^/| /' conftest.$ac_ext >&5
15311 +
15312 +
15313 +fi
15314 +
15315 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15316 +fi
15317 +
15318 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 +fi
15320 +
15321 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15323 +fi
15324 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15325 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15326 +if test "$ac_test_CXXFLAGS" = set; then
15327 + CXXFLAGS=$ac_save_CXXFLAGS
15328 +elif test $ac_cv_prog_cxx_g = yes; then
15329 + if test "$GXX" = yes; then
15330 + CXXFLAGS="-g -O2"
15331 + else
15332 + CXXFLAGS="-g"
15333 + fi
15334 +else
15335 + if test "$GXX" = yes; then
15336 + CXXFLAGS="-O2"
15337 + else
15338 + CXXFLAGS=
15339 + fi
15340 +fi
15341 +ac_ext=cpp
15342 +ac_cpp='$CXXCPP $CPPFLAGS'
15343 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15344 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15345 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15346 +
15347 +depcc="$CXX" am_compiler_list=
15348 +
15349 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15350 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
15351 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
15352 + echo $ECHO_N "(cached) $ECHO_C" >&6
15353 +else
15354 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15355 + # We make a subdir and do the tests there. Otherwise we can end up
15356 + # making bogus files that we don't know about and never remove. For
15357 + # instance it was reported that on HP-UX the gcc test will end up
15358 + # making a dummy file named `D' -- because `-MD' means `put the output
15359 + # in D'.
15360 + mkdir conftest.dir
15361 + # Copy depcomp to subdir because otherwise we won't find it if we're
15362 + # using a relative directory.
15363 + cp "$am_depcomp" conftest.dir
15364 + cd conftest.dir
15365 + # We will build objects and dependencies in a subdirectory because
15366 + # it helps to detect inapplicable dependency modes. For instance
15367 + # both Tru64's cc and ICC support -MD to output dependencies as a
15368 + # side effect of compilation, but ICC will put the dependencies in
15369 + # the current directory while Tru64 will put them in the object
15370 + # directory.
15371 + mkdir sub
15372 +
15373 + am_cv_CXX_dependencies_compiler_type=none
15374 + if test "$am_compiler_list" = ""; then
15375 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15376 + fi
15377 + for depmode in $am_compiler_list; do
15378 + # Setup a source with many dependencies, because some compilers
15379 + # like to wrap large dependency lists on column 80 (with \), and
15380 + # we should not choose a depcomp mode which is confused by this.
15381 + #
15382 + # We need to recreate these files for each test, as the compiler may
15383 + # overwrite some of them when testing with obscure command lines.
15384 + # This happens at least with the AIX C compiler.
15385 + : > sub/conftest.c
15386 + for i in 1 2 3 4 5 6; do
15387 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
15388 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15389 + # Solaris 8's {/usr,}/bin/sh.
15390 + touch sub/conftst$i.h
15391 + done
15392 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15393 +
15394 + case $depmode in
15395 + nosideeffect)
15396 + # after this tag, mechanisms are not by side-effect, so they'll
15397 + # only be used when explicitly requested
15398 + if test "x$enable_dependency_tracking" = xyes; then
15399 + continue
15400 + else
15401 + break
15402 + fi
15403 + ;;
15404 + none) break ;;
15405 + esac
15406 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
15407 + # mode. It turns out that the SunPro C++ compiler does not properly
15408 + # handle `-M -o', and we need to detect this.
15409 + if depmode=$depmode \
15410 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
15411 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15412 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
15413 + >/dev/null 2>conftest.err &&
15414 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15415 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
15416 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15417 + # icc doesn't choke on unknown options, it will just issue warnings
15418 + # or remarks (even with -Werror). So we grep stderr for any message
15419 + # that says an option was ignored or not supported.
15420 + # When given -MP, icc 7.0 and 7.1 complain thusly:
15421 + # icc: Command line warning: ignoring option '-M'; no argument required
15422 + # The diagnosis changed in icc 8.0:
15423 + # icc: Command line remark: option '-MP' not supported
15424 + if (grep 'ignoring option' conftest.err ||
15425 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15426 + am_cv_CXX_dependencies_compiler_type=$depmode
15427 + break
15428 + fi
15429 + fi
15430 + done
15431 +
15432 + cd ..
15433 + rm -rf conftest.dir
15434 +else
15435 + am_cv_CXX_dependencies_compiler_type=none
15436 +fi
15437 +
15438 +fi
15439 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15440 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
15441 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15442 +
15443 +
15444 +
15445 +if
15446 + test "x$enable_dependency_tracking" != xno \
15447 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15448 + am__fastdepCXX_TRUE=
15449 + am__fastdepCXX_FALSE='#'
15450 +else
15451 + am__fastdepCXX_TRUE='#'
15452 + am__fastdepCXX_FALSE=
15453 +fi
15454 +
15455 +
15456 +
15457 +
15458 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15459 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15460 + (test "X$CXX" != "Xg++"))) ; then
15461 + ac_ext=cpp
15462 +ac_cpp='$CXXCPP $CPPFLAGS'
15463 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15464 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15465 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15466 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15467 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
15468 +if test -z "$CXXCPP"; then
15469 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
15470 + echo $ECHO_N "(cached) $ECHO_C" >&6
15471 +else
15472 + # Double quotes because CXXCPP needs to be expanded
15473 + for CXXCPP in "$CXX -E" "/lib/cpp"
15474 + do
15475 + ac_preproc_ok=false
15476 +for ac_cxx_preproc_warn_flag in '' yes
15477 +do
15478 + # Use a header file that comes with gcc, so configuring glibc
15479 + # with a fresh cross-compiler works.
15480 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15481 + # <limits.h> exists even on freestanding compilers.
15482 + # On the NeXT, cc -E runs the code through the compiler's parser,
15483 + # not just through cpp. "Syntax error" is here to catch this case.
15484 + cat >conftest.$ac_ext <<_ACEOF
15485 +/* confdefs.h. */
15486 +_ACEOF
15487 +cat confdefs.h >>conftest.$ac_ext
15488 +cat >>conftest.$ac_ext <<_ACEOF
15489 +/* end confdefs.h. */
15490 +#ifdef __STDC__
15491 +# include <limits.h>
15492 +#else
15493 +# include <assert.h>
15494 +#endif
15495 + Syntax error
15496 +_ACEOF
15497 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15498 +case "(($ac_try" in
15499 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15500 + *) ac_try_echo=$ac_try;;
15501 +esac
15502 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15503 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15504 + ac_status=$?
15505 + grep -v '^ *+' conftest.er1 >conftest.err
15506 + rm -f conftest.er1
15507 + cat conftest.err >&5
15508 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 + (exit $ac_status); } >/dev/null && {
15510 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15511 + test ! -s conftest.err
15512 + }; then
15513 + :
15514 +else
15515 + echo "$as_me: failed program was:" >&5
15516 +sed 's/^/| /' conftest.$ac_ext >&5
15517 +
15518 + # Broken: fails on valid input.
15519 +continue
15520 +fi
15521 +
15522 +rm -f conftest.err conftest.$ac_ext
15523 +
15524 + # OK, works on sane cases. Now check whether nonexistent headers
15525 + # can be detected and how.
15526 + cat >conftest.$ac_ext <<_ACEOF
15527 +/* confdefs.h. */
15528 +_ACEOF
15529 +cat confdefs.h >>conftest.$ac_ext
15530 +cat >>conftest.$ac_ext <<_ACEOF
15531 +/* end confdefs.h. */
15532 +#include <ac_nonexistent.h>
15533 +_ACEOF
15534 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15535 +case "(($ac_try" in
15536 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15537 + *) ac_try_echo=$ac_try;;
15538 +esac
15539 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15540 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15541 + ac_status=$?
15542 + grep -v '^ *+' conftest.er1 >conftest.err
15543 + rm -f conftest.er1
15544 + cat conftest.err >&5
15545 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 + (exit $ac_status); } >/dev/null && {
15547 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15548 + test ! -s conftest.err
15549 + }; then
15550 + # Broken: success on invalid input.
15551 +continue
15552 +else
15553 + echo "$as_me: failed program was:" >&5
15554 +sed 's/^/| /' conftest.$ac_ext >&5
15555 +
15556 + # Passes both tests.
15557 +ac_preproc_ok=:
15558 +break
15559 +fi
15560 +
15561 +rm -f conftest.err conftest.$ac_ext
15562 +
15563 +done
15564 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15565 +rm -f conftest.err conftest.$ac_ext
15566 +if $ac_preproc_ok; then
15567 + break
15568 +fi
15569 +
15570 + done
15571 + ac_cv_prog_CXXCPP=$CXXCPP
15572 +
15573 +fi
15574 + CXXCPP=$ac_cv_prog_CXXCPP
15575 +else
15576 + ac_cv_prog_CXXCPP=$CXXCPP
15577 +fi
15578 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
15579 +echo "${ECHO_T}$CXXCPP" >&6; }
15580 +ac_preproc_ok=false
15581 +for ac_cxx_preproc_warn_flag in '' yes
15582 +do
15583 + # Use a header file that comes with gcc, so configuring glibc
15584 + # with a fresh cross-compiler works.
15585 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15586 + # <limits.h> exists even on freestanding compilers.
15587 + # On the NeXT, cc -E runs the code through the compiler's parser,
15588 + # not just through cpp. "Syntax error" is here to catch this case.
15589 + cat >conftest.$ac_ext <<_ACEOF
15590 +/* confdefs.h. */
15591 +_ACEOF
15592 +cat confdefs.h >>conftest.$ac_ext
15593 +cat >>conftest.$ac_ext <<_ACEOF
15594 +/* end confdefs.h. */
15595 +#ifdef __STDC__
15596 +# include <limits.h>
15597 +#else
15598 +# include <assert.h>
15599 +#endif
15600 + Syntax error
15601 +_ACEOF
15602 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15603 +case "(($ac_try" in
15604 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605 + *) ac_try_echo=$ac_try;;
15606 +esac
15607 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15608 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15609 + ac_status=$?
15610 + grep -v '^ *+' conftest.er1 >conftest.err
15611 + rm -f conftest.er1
15612 + cat conftest.err >&5
15613 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 + (exit $ac_status); } >/dev/null && {
15615 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15616 + test ! -s conftest.err
15617 + }; then
15618 + :
15619 +else
15620 + echo "$as_me: failed program was:" >&5
15621 +sed 's/^/| /' conftest.$ac_ext >&5
15622 +
15623 + # Broken: fails on valid input.
15624 +continue
15625 +fi
15626 +
15627 +rm -f conftest.err conftest.$ac_ext
15628 +
15629 + # OK, works on sane cases. Now check whether nonexistent headers
15630 + # can be detected and how.
15631 + cat >conftest.$ac_ext <<_ACEOF
15632 +/* confdefs.h. */
15633 +_ACEOF
15634 +cat confdefs.h >>conftest.$ac_ext
15635 +cat >>conftest.$ac_ext <<_ACEOF
15636 +/* end confdefs.h. */
15637 +#include <ac_nonexistent.h>
15638 +_ACEOF
15639 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15640 +case "(($ac_try" in
15641 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15642 + *) ac_try_echo=$ac_try;;
15643 +esac
15644 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15645 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15646 + ac_status=$?
15647 + grep -v '^ *+' conftest.er1 >conftest.err
15648 + rm -f conftest.er1
15649 + cat conftest.err >&5
15650 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 + (exit $ac_status); } >/dev/null && {
15652 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15653 + test ! -s conftest.err
15654 + }; then
15655 + # Broken: success on invalid input.
15656 +continue
15657 +else
15658 + echo "$as_me: failed program was:" >&5
15659 +sed 's/^/| /' conftest.$ac_ext >&5
15660 +
15661 + # Passes both tests.
15662 +ac_preproc_ok=:
15663 +break
15664 +fi
15665 +
15666 +rm -f conftest.err conftest.$ac_ext
15667 +
15668 +done
15669 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15670 +rm -f conftest.err conftest.$ac_ext
15671 +if $ac_preproc_ok; then
15672 + :
15673 +else
15674 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15675 +See \`config.log' for more details." >&5
15676 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15677 +See \`config.log' for more details." >&2;}
15678 + { (exit 1); exit 1; }; }
15679 +fi
15680 +
15681 +ac_ext=cpp
15682 +ac_cpp='$CXXCPP $CPPFLAGS'
15683 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15684 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15685 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15686 +
15687 +fi
15688 +
15689 +
15690 +ac_ext=f
15691 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15692 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15693 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15694 +if test -n "$ac_tool_prefix"; then
15695 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
15696 + do
15697 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15698 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15699 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15700 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15701 +if test "${ac_cv_prog_F77+set}" = set; then
15702 + echo $ECHO_N "(cached) $ECHO_C" >&6
15703 +else
15704 + if test -n "$F77"; then
15705 + ac_cv_prog_F77="$F77" # Let the user override the test.
15706 +else
15707 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15708 +for as_dir in $PATH
15709 +do
15710 + IFS=$as_save_IFS
15711 + test -z "$as_dir" && as_dir=.
15712 + for ac_exec_ext in '' $ac_executable_extensions; do
15713 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15714 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
15715 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15716 + break 2
15717 + fi
15718 +done
15719 +done
15720 +IFS=$as_save_IFS
15721 +
15722 +fi
15723 +fi
15724 +F77=$ac_cv_prog_F77
15725 +if test -n "$F77"; then
15726 + { echo "$as_me:$LINENO: result: $F77" >&5
15727 +echo "${ECHO_T}$F77" >&6; }
15728 +else
15729 + { echo "$as_me:$LINENO: result: no" >&5
15730 +echo "${ECHO_T}no" >&6; }
15731 +fi
15732 +
15733 +
15734 + test -n "$F77" && break
15735 + done
15736 +fi
15737 +if test -z "$F77"; then
15738 + ac_ct_F77=$F77
15739 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
15740 +do
15741 + # Extract the first word of "$ac_prog", so it can be a program name with args.
15742 +set dummy $ac_prog; ac_word=$2
15743 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
15744 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15745 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
15746 + echo $ECHO_N "(cached) $ECHO_C" >&6
15747 +else
15748 + if test -n "$ac_ct_F77"; then
15749 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
15750 +else
15751 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15752 +for as_dir in $PATH
15753 +do
15754 + IFS=$as_save_IFS
15755 + test -z "$as_dir" && as_dir=.
15756 + for ac_exec_ext in '' $ac_executable_extensions; do
15757 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15758 + ac_cv_prog_ac_ct_F77="$ac_prog"
15759 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15760 + break 2
15761 + fi
15762 +done
15763 +done
15764 +IFS=$as_save_IFS
15765 +
15766 +fi
15767 +fi
15768 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
15769 +if test -n "$ac_ct_F77"; then
15770 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
15771 +echo "${ECHO_T}$ac_ct_F77" >&6; }
15772 +else
15773 + { echo "$as_me:$LINENO: result: no" >&5
15774 +echo "${ECHO_T}no" >&6; }
15775 +fi
15776 +
15777 +
15778 + test -n "$ac_ct_F77" && break
15779 +done
15780 +
15781 + if test "x$ac_ct_F77" = x; then
15782 + F77=""
15783 + else
15784 + case $cross_compiling:$ac_tool_warned in
15785 +yes:)
15786 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15787 +whose name does not start with the host triplet. If you think this
15788 +configuration is useful to you, please write to autoconf@gnu.org." >&5
15789 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15790 +whose name does not start with the host triplet. If you think this
15791 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15792 +ac_tool_warned=yes ;;
15793 +esac
15794 + F77=$ac_ct_F77
15795 + fi
15796 +fi
15797 +
15798 +
15799 +# Provide some information about the compiler.
15800 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
15801 +ac_compiler=`set X $ac_compile; echo $2`
15802 +{ (ac_try="$ac_compiler --version >&5"
15803 +case "(($ac_try" in
15804 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15805 + *) ac_try_echo=$ac_try;;
15806 +esac
15807 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15808 + (eval "$ac_compiler --version >&5") 2>&5
15809 + ac_status=$?
15810 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 + (exit $ac_status); }
15812 +{ (ac_try="$ac_compiler -v >&5"
15813 +case "(($ac_try" in
15814 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15815 + *) ac_try_echo=$ac_try;;
15816 +esac
15817 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15818 + (eval "$ac_compiler -v >&5") 2>&5
15819 + ac_status=$?
15820 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 + (exit $ac_status); }
15822 +{ (ac_try="$ac_compiler -V >&5"
15823 +case "(($ac_try" in
15824 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15825 + *) ac_try_echo=$ac_try;;
15826 +esac
15827 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15828 + (eval "$ac_compiler -V >&5") 2>&5
15829 + ac_status=$?
15830 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 + (exit $ac_status); }
15832 +rm -f a.out
15833 +
15834 +# If we don't use `.F' as extension, the preprocessor is not run on the
15835 +# input file. (Note that this only needs to work for GNU compilers.)
15836 +ac_save_ext=$ac_ext
15837 +ac_ext=F
15838 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
15839 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
15840 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
15841 + echo $ECHO_N "(cached) $ECHO_C" >&6
15842 +else
15843 + cat >conftest.$ac_ext <<_ACEOF
15844 + program main
15845 +#ifndef __GNUC__
15846 + choke me
15847 +#endif
15848 +
15849 + end
15850 +_ACEOF
15851 +rm -f conftest.$ac_objext
15852 +if { (ac_try="$ac_compile"
15853 +case "(($ac_try" in
15854 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15855 + *) ac_try_echo=$ac_try;;
15856 +esac
15857 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15858 + (eval "$ac_compile") 2>conftest.er1
15859 + ac_status=$?
15860 + grep -v '^ *+' conftest.er1 >conftest.err
15861 + rm -f conftest.er1
15862 + cat conftest.err >&5
15863 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 + (exit $ac_status); } && {
15865 + test -z "$ac_f77_werror_flag" ||
15866 + test ! -s conftest.err
15867 + } && test -s conftest.$ac_objext; then
15868 + ac_compiler_gnu=yes
15869 +else
15870 + echo "$as_me: failed program was:" >&5
15871 +sed 's/^/| /' conftest.$ac_ext >&5
15872 +
15873 + ac_compiler_gnu=no
15874 +fi
15875 +
15876 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15877 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
15878 +
15879 +fi
15880 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
15881 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
15882 +ac_ext=$ac_save_ext
15883 +ac_test_FFLAGS=${FFLAGS+set}
15884 +ac_save_FFLAGS=$FFLAGS
15885 +FFLAGS=
15886 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
15887 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
15888 +if test "${ac_cv_prog_f77_g+set}" = set; then
15889 + echo $ECHO_N "(cached) $ECHO_C" >&6
15890 +else
15891 + FFLAGS=-g
15892 +cat >conftest.$ac_ext <<_ACEOF
15893 + program main
15894 +
15895 + end
15896 +_ACEOF
15897 +rm -f conftest.$ac_objext
15898 +if { (ac_try="$ac_compile"
15899 +case "(($ac_try" in
15900 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15901 + *) ac_try_echo=$ac_try;;
15902 +esac
15903 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15904 + (eval "$ac_compile") 2>conftest.er1
15905 + ac_status=$?
15906 + grep -v '^ *+' conftest.er1 >conftest.err
15907 + rm -f conftest.er1
15908 + cat conftest.err >&5
15909 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 + (exit $ac_status); } && {
15911 + test -z "$ac_f77_werror_flag" ||
15912 + test ! -s conftest.err
15913 + } && test -s conftest.$ac_objext; then
15914 + ac_cv_prog_f77_g=yes
15915 +else
15916 + echo "$as_me: failed program was:" >&5
15917 +sed 's/^/| /' conftest.$ac_ext >&5
15918 +
15919 + ac_cv_prog_f77_g=no
15920 +fi
15921 +
15922 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923 +
15924 +fi
15925 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
15926 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
15927 +if test "$ac_test_FFLAGS" = set; then
15928 + FFLAGS=$ac_save_FFLAGS
15929 +elif test $ac_cv_prog_f77_g = yes; then
15930 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
15931 + FFLAGS="-g -O2"
15932 + else
15933 + FFLAGS="-g"
15934 + fi
15935 +else
15936 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
15937 + FFLAGS="-O2"
15938 + else
15939 + FFLAGS=
15940 + fi
15941 +fi
15942 +
15943 +G77=`test $ac_compiler_gnu = yes && echo yes`
15944 +ac_ext=c
15945 +ac_cpp='$CPP $CPPFLAGS'
15946 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15949 +
15950 +
15951 +
15952 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
15953 +
15954 +# find the maximum length of command line arguments
15955 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
15956 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
15957 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
15958 + echo $ECHO_N "(cached) $ECHO_C" >&6
15959 +else
15960 + i=0
15961 + teststring="ABCD"
15962 +
15963 + case $build_os in
15964 + msdosdjgpp*)
15965 + # On DJGPP, this test can blow up pretty badly due to problems in libc
15966 + # (any single argument exceeding 2000 bytes causes a buffer overrun
15967 + # during glob expansion). Even if it were fixed, the result of this
15968 + # check would be larger than it should be.
15969 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
15970 + ;;
15971 +
15972 + gnu*)
15973 + # Under GNU Hurd, this test is not required because there is
15974 + # no limit to the length of command line arguments.
15975 + # Libtool will interpret -1 as no limit whatsoever
15976 + lt_cv_sys_max_cmd_len=-1;
15977 + ;;
15978 +
15979 + cygwin* | mingw*)
15980 + # On Win9x/ME, this test blows up -- it succeeds, but takes
15981 + # about 5 minutes as the teststring grows exponentially.
15982 + # Worse, since 9x/ME are not pre-emptively multitasking,
15983 + # you end up with a "frozen" computer, even though with patience
15984 + # the test eventually succeeds (with a max line length of 256k).
15985 + # Instead, let's just punt: use the minimum linelength reported by
15986 + # all of the supported platforms: 8192 (on NT/2K/XP).
15987 + lt_cv_sys_max_cmd_len=8192;
15988 + ;;
15989 +
15990 + amigaos*)
15991 + # On AmigaOS with pdksh, this test takes hours, literally.
15992 + # So we just punt and use a minimum line length of 8192.
15993 + lt_cv_sys_max_cmd_len=8192;
15994 + ;;
15995 +
15996 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
15997 + # This has been around since 386BSD, at least. Likely further.
15998 + if test -x /sbin/sysctl; then
15999 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
16000 + elif test -x /usr/sbin/sysctl; then
16001 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
16002 + else
16003 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
16004 + fi
16005 + # And add a safety zone
16006 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16007 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16008 + ;;
16009 +
16010 + interix*)
16011 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
16012 + lt_cv_sys_max_cmd_len=196608
16013 + ;;
16014 +
16015 + osf*)
16016 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
16017 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
16018 + # nice to cause kernel panics so lets avoid the loop below.
16019 + # First set a reasonable default.
16020 + lt_cv_sys_max_cmd_len=16384
16021 + #
16022 + if test -x /sbin/sysconfig; then
16023 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
16024 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
16025 + esac
16026 + fi
16027 + ;;
16028 + sco3.2v5*)
16029 + lt_cv_sys_max_cmd_len=102400
16030 + ;;
16031 + sysv5* | sco5v6* | sysv4.2uw2*)
16032 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
16033 + if test -n "$kargmax"; then
16034 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
16035 + else
16036 + lt_cv_sys_max_cmd_len=32768
16037 + fi
16038 + ;;
16039 + *)
16040 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
16041 + if test -n "$lt_cv_sys_max_cmd_len"; then
16042 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16043 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16044 + else
16045 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
16046 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
16047 + = "XX$teststring") >/dev/null 2>&1 &&
16048 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
16049 + lt_cv_sys_max_cmd_len=$new_result &&
16050 + test $i != 17 # 1/2 MB should be enough
16051 + do
16052 + i=`expr $i + 1`
16053 + teststring=$teststring$teststring
16054 + done
16055 + teststring=
16056 + # Add a significant safety factor because C++ compilers can tack on massive
16057 + # amounts of additional arguments before passing them to the linker.
16058 + # It appears as though 1/2 is a usable value.
16059 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16060 + fi
16061 + ;;
16062 + esac
16063 +
16064 +fi
16065 +
16066 +if test -n $lt_cv_sys_max_cmd_len ; then
16067 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
16068 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
16069 +else
16070 + { echo "$as_me:$LINENO: result: none" >&5
16071 +echo "${ECHO_T}none" >&6; }
16072 +fi
16073 +
16074 +
16075 +
16076 +
16077 +
16078 +# Check for command to grab the raw symbol name followed by C symbol from nm.
16079 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
16080 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
16081 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
16082 + echo $ECHO_N "(cached) $ECHO_C" >&6
16083 +else
16084 +
16085 +# These are sane defaults that work on at least a few old systems.
16086 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
16087 +
16088 +# Character class describing NM global symbol codes.
16089 +symcode='[BCDEGRST]'
16090 +
16091 +# Regexp to match symbols that can be accessed directly from C.
16092 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
16093 +
16094 +# Transform an extracted symbol line into a proper C declaration
16095 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
16096 +
16097 +# Transform an extracted symbol line into symbol name and symbol address
16098 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16099 +
16100 +# Define system-specific variables.
16101 +case $host_os in
16102 +aix*)
16103 + symcode='[BCDT]'
16104 + ;;
16105 +cygwin* | mingw* | pw32*)
16106 + symcode='[ABCDGISTW]'
16107 + ;;
16108 +hpux*) # Its linker distinguishes data from code symbols
16109 + if test "$host_cpu" = ia64; then
16110 + symcode='[ABCDEGRST]'
16111 + fi
16112 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16113 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16114 + ;;
16115 +linux* | k*bsd*-gnu)
16116 + if test "$host_cpu" = ia64; then
16117 + symcode='[ABCDGIRSTW]'
16118 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16119 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16120 + fi
16121 + ;;
16122 +irix* | nonstopux*)
16123 + symcode='[BCDEGRST]'
16124 + ;;
16125 +osf*)
16126 + symcode='[BCDEGQRST]'
16127 + ;;
16128 +solaris*)
16129 + symcode='[BDRT]'
16130 + ;;
16131 +sco3.2v5*)
16132 + symcode='[DT]'
16133 + ;;
16134 +sysv4.2uw2*)
16135 + symcode='[DT]'
16136 + ;;
16137 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
16138 + symcode='[ABDT]'
16139 + ;;
16140 +sysv4)
16141 + symcode='[DFNSTU]'
16142 + ;;
16143 +esac
16144 +
16145 +# Handle CRLF in mingw tool chain
16146 +opt_cr=
16147 +case $build_os in
16148 +mingw*)
16149 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
16150 + ;;
16151 +esac
16152 +
16153 +# If we're using GNU nm, then use its standard symbol codes.
16154 +case `$NM -V 2>&1` in
16155 +*GNU* | *'with BFD'*)
16156 + symcode='[ABCDGIRSTW]' ;;
16157 +esac
16158 +
16159 +# Try without a prefix undercore, then with it.
16160 +for ac_symprfx in "" "_"; do
16161 +
16162 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
16163 + symxfrm="\\1 $ac_symprfx\\2 \\2"
16164 +
16165 + # Write the raw and C identifiers.
16166 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
16167 +
16168 + # Check to see that the pipe works correctly.
16169 + pipe_works=no
16170 +
16171 + rm -f conftest*
16172 + cat > conftest.$ac_ext <<EOF
16173 +#ifdef __cplusplus
16174 +extern "C" {
16175 +#endif
16176 +char nm_test_var;
16177 +void nm_test_func(){}
16178 +#ifdef __cplusplus
16179 +}
16180 +#endif
16181 +int main(){nm_test_var='a';nm_test_func();return(0);}
16182 +EOF
16183 +
16184 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16185 + (eval $ac_compile) 2>&5
16186 + ac_status=$?
16187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 + (exit $ac_status); }; then
16189 + # Now try to grab the symbols.
16190 + nlist=conftest.nm
16191 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
16192 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
16193 + ac_status=$?
16194 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 + (exit $ac_status); } && test -s "$nlist"; then
16196 + # Try sorting and uniquifying the output.
16197 + if sort "$nlist" | uniq > "$nlist"T; then
16198 + mv -f "$nlist"T "$nlist"
16199 + else
16200 + rm -f "$nlist"T
16201 + fi
16202 +
16203 + # Make sure that we snagged all the symbols we need.
16204 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
16205 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
16206 + cat <<EOF > conftest.$ac_ext
16207 +#ifdef __cplusplus
16208 +extern "C" {
16209 +#endif
16210 +
16211 +EOF
16212 + # Now generate the symbol file.
16213 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
16214 +
16215 + cat <<EOF >> conftest.$ac_ext
16216 +#if defined (__STDC__) && __STDC__
16217 +# define lt_ptr_t void *
16218 +#else
16219 +# define lt_ptr_t char *
16220 +# define const
16221 +#endif
16222 +
16223 +/* The mapping between symbol names and symbols. */
16224 +const struct {
16225 + const char *name;
16226 + lt_ptr_t address;
16227 +}
16228 +lt_preloaded_symbols[] =
16229 +{
16230 +EOF
16231 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
16232 + cat <<\EOF >> conftest.$ac_ext
16233 + {0, (lt_ptr_t) 0}
16234 +};
16235 +
16236 +#ifdef __cplusplus
16237 +}
16238 +#endif
16239 +EOF
16240 + # Now try linking the two files.
16241 + mv conftest.$ac_objext conftstm.$ac_objext
16242 + lt_save_LIBS="$LIBS"
16243 + lt_save_CFLAGS="$CFLAGS"
16244 + LIBS="conftstm.$ac_objext"
16245 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
16246 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16247 + (eval $ac_link) 2>&5
16248 + ac_status=$?
16249 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
16251 + pipe_works=yes
16252 + fi
16253 + LIBS="$lt_save_LIBS"
16254 + CFLAGS="$lt_save_CFLAGS"
16255 + else
16256 + echo "cannot find nm_test_func in $nlist" >&5
16257 + fi
16258 + else
16259 + echo "cannot find nm_test_var in $nlist" >&5
16260 + fi
16261 + else
16262 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
16263 + fi
16264 + else
16265 + echo "$progname: failed program was:" >&5
16266 + cat conftest.$ac_ext >&5
16267 + fi
16268 + rm -f conftest* conftst*
16269 +
16270 + # Do not use the global_symbol_pipe unless it works.
16271 + if test "$pipe_works" = yes; then
16272 + break
16273 + else
16274 + lt_cv_sys_global_symbol_pipe=
16275 + fi
16276 +done
16277 +
16278 +fi
16279 +
16280 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
16281 + lt_cv_sys_global_symbol_to_cdecl=
16282 +fi
16283 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
16284 + { echo "$as_me:$LINENO: result: failed" >&5
16285 +echo "${ECHO_T}failed" >&6; }
16286 +else
16287 + { echo "$as_me:$LINENO: result: ok" >&5
16288 +echo "${ECHO_T}ok" >&6; }
16289 +fi
16290 +
16291 +{ echo "$as_me:$LINENO: checking for objdir" >&5
16292 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
16293 +if test "${lt_cv_objdir+set}" = set; then
16294 + echo $ECHO_N "(cached) $ECHO_C" >&6
16295 +else
16296 + rm -f .libs 2>/dev/null
16297 +mkdir .libs 2>/dev/null
16298 +if test -d .libs; then
16299 + lt_cv_objdir=.libs
16300 +else
16301 + # MS-DOS does not allow filenames that begin with a dot.
16302 + lt_cv_objdir=_libs
16303 +fi
16304 +rmdir .libs 2>/dev/null
16305 +fi
16306 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
16307 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
16308 +objdir=$lt_cv_objdir
16309 +
16310 +
16311 +
16312 +
16313 +
16314 +case $host_os in
16315 +aix3*)
16316 + # AIX sometimes has problems with the GCC collect2 program. For some
16317 + # reason, if we set the COLLECT_NAMES environment variable, the problems
16318 + # vanish in a puff of smoke.
16319 + if test "X${COLLECT_NAMES+set}" != Xset; then
16320 + COLLECT_NAMES=
16321 + export COLLECT_NAMES
16322 + fi
16323 + ;;
16324 +esac
16325 +
16326 +# Sed substitution that helps us do robust quoting. It backslashifies
16327 +# metacharacters that are still active within double-quoted strings.
16328 +Xsed='sed -e 1s/^X//'
16329 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
16330 +
16331 +# Same as above, but do not quote variable references.
16332 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
16333 +
16334 +# Sed substitution to delay expansion of an escaped shell variable in a
16335 +# double_quote_subst'ed string.
16336 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
16337 +
16338 +# Sed substitution to avoid accidental globbing in evaled expressions
16339 +no_glob_subst='s/\*/\\\*/g'
16340 +
16341 +# Constants:
16342 +rm="rm -f"
16343 +
16344 +# Global variables:
16345 +default_ofile=libtool
16346 +can_build_shared=yes
16347 +
16348 +# All known linkers require a `.a' archive for static linking (except MSVC,
16349 +# which needs '.lib').
16350 +libext=a
16351 +ltmain="$ac_aux_dir/ltmain.sh"
16352 +ofile="$default_ofile"
16353 +with_gnu_ld="$lt_cv_prog_gnu_ld"
16354 +
16355 +if test -n "$ac_tool_prefix"; then
16356 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16357 +set dummy ${ac_tool_prefix}ar; ac_word=$2
16358 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16359 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16360 +if test "${ac_cv_prog_AR+set}" = set; then
16361 + echo $ECHO_N "(cached) $ECHO_C" >&6
16362 +else
16363 + if test -n "$AR"; then
16364 + ac_cv_prog_AR="$AR" # Let the user override the test.
16365 +else
16366 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16367 +for as_dir in $PATH
16368 +do
16369 + IFS=$as_save_IFS
16370 + test -z "$as_dir" && as_dir=.
16371 + for ac_exec_ext in '' $ac_executable_extensions; do
16372 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16373 + ac_cv_prog_AR="${ac_tool_prefix}ar"
16374 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16375 + break 2
16376 + fi
16377 +done
16378 +done
16379 +IFS=$as_save_IFS
16380 +
16381 +fi
16382 +fi
16383 +AR=$ac_cv_prog_AR
16384 +if test -n "$AR"; then
16385 + { echo "$as_me:$LINENO: result: $AR" >&5
16386 +echo "${ECHO_T}$AR" >&6; }
16387 +else
16388 + { echo "$as_me:$LINENO: result: no" >&5
16389 +echo "${ECHO_T}no" >&6; }
16390 +fi
16391 +
16392 +
16393 +fi
16394 +if test -z "$ac_cv_prog_AR"; then
16395 + ac_ct_AR=$AR
16396 + # Extract the first word of "ar", so it can be a program name with args.
16397 +set dummy ar; ac_word=$2
16398 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16399 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16400 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16401 + echo $ECHO_N "(cached) $ECHO_C" >&6
16402 +else
16403 + if test -n "$ac_ct_AR"; then
16404 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16405 +else
16406 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16407 +for as_dir in $PATH
16408 +do
16409 + IFS=$as_save_IFS
16410 + test -z "$as_dir" && as_dir=.
16411 + for ac_exec_ext in '' $ac_executable_extensions; do
16412 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16413 + ac_cv_prog_ac_ct_AR="ar"
16414 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16415 + break 2
16416 + fi
16417 +done
16418 +done
16419 +IFS=$as_save_IFS
16420 +
16421 +fi
16422 +fi
16423 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
16424 +if test -n "$ac_ct_AR"; then
16425 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16426 +echo "${ECHO_T}$ac_ct_AR" >&6; }
16427 +else
16428 + { echo "$as_me:$LINENO: result: no" >&5
16429 +echo "${ECHO_T}no" >&6; }
16430 +fi
16431 +
16432 + if test "x$ac_ct_AR" = x; then
16433 + AR="false"
16434 + else
16435 + case $cross_compiling:$ac_tool_warned in
16436 +yes:)
16437 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16438 +whose name does not start with the host triplet. If you think this
16439 +configuration is useful to you, please write to autoconf@gnu.org." >&5
16440 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16441 +whose name does not start with the host triplet. If you think this
16442 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16443 +ac_tool_warned=yes ;;
16444 +esac
16445 + AR=$ac_ct_AR
16446 + fi
16447 +else
16448 + AR="$ac_cv_prog_AR"
16449 +fi
16450 +
16451 +if test -n "$ac_tool_prefix"; then
16452 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16453 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16454 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16455 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16456 +if test "${ac_cv_prog_RANLIB+set}" = set; then
16457 + echo $ECHO_N "(cached) $ECHO_C" >&6
16458 +else
16459 + if test -n "$RANLIB"; then
16460 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16461 +else
16462 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16463 +for as_dir in $PATH
16464 +do
16465 + IFS=$as_save_IFS
16466 + test -z "$as_dir" && as_dir=.
16467 + for ac_exec_ext in '' $ac_executable_extensions; do
16468 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16469 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16470 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16471 + break 2
16472 + fi
16473 +done
16474 +done
16475 +IFS=$as_save_IFS
16476 +
16477 +fi
16478 +fi
16479 +RANLIB=$ac_cv_prog_RANLIB
16480 +if test -n "$RANLIB"; then
16481 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
16482 +echo "${ECHO_T}$RANLIB" >&6; }
16483 +else
16484 + { echo "$as_me:$LINENO: result: no" >&5
16485 +echo "${ECHO_T}no" >&6; }
16486 +fi
16487 +
16488 +
16489 +fi
16490 +if test -z "$ac_cv_prog_RANLIB"; then
16491 + ac_ct_RANLIB=$RANLIB
16492 + # Extract the first word of "ranlib", so it can be a program name with args.
16493 +set dummy ranlib; ac_word=$2
16494 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16495 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16496 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16497 + echo $ECHO_N "(cached) $ECHO_C" >&6
16498 +else
16499 + if test -n "$ac_ct_RANLIB"; then
16500 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16501 +else
16502 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16503 +for as_dir in $PATH
16504 +do
16505 + IFS=$as_save_IFS
16506 + test -z "$as_dir" && as_dir=.
16507 + for ac_exec_ext in '' $ac_executable_extensions; do
16508 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16509 + ac_cv_prog_ac_ct_RANLIB="ranlib"
16510 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16511 + break 2
16512 + fi
16513 +done
16514 +done
16515 +IFS=$as_save_IFS
16516 +
16517 +fi
16518 +fi
16519 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16520 +if test -n "$ac_ct_RANLIB"; then
16521 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16522 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16523 +else
16524 + { echo "$as_me:$LINENO: result: no" >&5
16525 +echo "${ECHO_T}no" >&6; }
16526 +fi
16527 +
16528 + if test "x$ac_ct_RANLIB" = x; then
16529 + RANLIB=":"
16530 + else
16531 + case $cross_compiling:$ac_tool_warned in
16532 +yes:)
16533 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16534 +whose name does not start with the host triplet. If you think this
16535 +configuration is useful to you, please write to autoconf@gnu.org." >&5
16536 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16537 +whose name does not start with the host triplet. If you think this
16538 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16539 +ac_tool_warned=yes ;;
16540 +esac
16541 + RANLIB=$ac_ct_RANLIB
16542 + fi
16543 +else
16544 + RANLIB="$ac_cv_prog_RANLIB"
16545 +fi
16546 +
16547 +if test -n "$ac_tool_prefix"; then
16548 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16549 +set dummy ${ac_tool_prefix}strip; ac_word=$2
16550 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16551 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16552 +if test "${ac_cv_prog_STRIP+set}" = set; then
16553 + echo $ECHO_N "(cached) $ECHO_C" >&6
16554 +else
16555 + if test -n "$STRIP"; then
16556 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16557 +else
16558 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 +for as_dir in $PATH
16560 +do
16561 + IFS=$as_save_IFS
16562 + test -z "$as_dir" && as_dir=.
16563 + for ac_exec_ext in '' $ac_executable_extensions; do
16564 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16565 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16566 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16567 + break 2
16568 + fi
16569 +done
16570 +done
16571 +IFS=$as_save_IFS
16572 +
16573 +fi
16574 +fi
16575 +STRIP=$ac_cv_prog_STRIP
16576 +if test -n "$STRIP"; then
16577 + { echo "$as_me:$LINENO: result: $STRIP" >&5
16578 +echo "${ECHO_T}$STRIP" >&6; }
16579 +else
16580 + { echo "$as_me:$LINENO: result: no" >&5
16581 +echo "${ECHO_T}no" >&6; }
16582 +fi
16583 +
16584 +
16585 +fi
16586 +if test -z "$ac_cv_prog_STRIP"; then
16587 + ac_ct_STRIP=$STRIP
16588 + # Extract the first word of "strip", so it can be a program name with args.
16589 +set dummy strip; ac_word=$2
16590 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16591 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16592 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16593 + echo $ECHO_N "(cached) $ECHO_C" >&6
16594 +else
16595 + if test -n "$ac_ct_STRIP"; then
16596 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16597 +else
16598 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16599 +for as_dir in $PATH
16600 +do
16601 + IFS=$as_save_IFS
16602 + test -z "$as_dir" && as_dir=.
16603 + for ac_exec_ext in '' $ac_executable_extensions; do
16604 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16605 + ac_cv_prog_ac_ct_STRIP="strip"
16606 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16607 + break 2
16608 + fi
16609 +done
16610 +done
16611 +IFS=$as_save_IFS
16612 +
16613 +fi
16614 +fi
16615 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16616 +if test -n "$ac_ct_STRIP"; then
16617 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16618 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16619 +else
16620 + { echo "$as_me:$LINENO: result: no" >&5
16621 +echo "${ECHO_T}no" >&6; }
16622 +fi
16623 +
16624 + if test "x$ac_ct_STRIP" = x; then
16625 + STRIP=":"
16626 + else
16627 + case $cross_compiling:$ac_tool_warned in
16628 +yes:)
16629 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16630 +whose name does not start with the host triplet. If you think this
16631 +configuration is useful to you, please write to autoconf@gnu.org." >&5
16632 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16633 +whose name does not start with the host triplet. If you think this
16634 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16635 +ac_tool_warned=yes ;;
16636 +esac
16637 + STRIP=$ac_ct_STRIP
16638 + fi
16639 +else
16640 + STRIP="$ac_cv_prog_STRIP"
16641 +fi
16642 +
16643 +
16644 +old_CC="$CC"
16645 +old_CFLAGS="$CFLAGS"
16646 +
16647 +# Set sane defaults for various variables
16648 +test -z "$AR" && AR=ar
16649 +test -z "$AR_FLAGS" && AR_FLAGS=cru
16650 +test -z "$AS" && AS=as
16651 +test -z "$CC" && CC=cc
16652 +test -z "$LTCC" && LTCC=$CC
16653 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
16654 +test -z "$DLLTOOL" && DLLTOOL=dlltool
16655 +test -z "$LD" && LD=ld
16656 +test -z "$LN_S" && LN_S="ln -s"
16657 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
16658 +test -z "$NM" && NM=nm
16659 +test -z "$SED" && SED=sed
16660 +test -z "$OBJDUMP" && OBJDUMP=objdump
16661 +test -z "$RANLIB" && RANLIB=:
16662 +test -z "$STRIP" && STRIP=:
16663 +test -z "$ac_objext" && ac_objext=o
16664 +
16665 +# Determine commands to create old-style static archives.
16666 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
16667 +old_postinstall_cmds='chmod 644 $oldlib'
16668 +old_postuninstall_cmds=
16669 +
16670 +if test -n "$RANLIB"; then
16671 + case $host_os in
16672 + openbsd*)
16673 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
16674 + ;;
16675 + *)
16676 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
16677 + ;;
16678 + esac
16679 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
16680 +fi
16681 +
16682 +for cc_temp in $compiler""; do
16683 + case $cc_temp in
16684 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16685 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16686 + \-*) ;;
16687 + *) break;;
16688 + esac
16689 +done
16690 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16691 +
16692 +
16693 +# Only perform the check for file, if the check method requires it
16694 +case $deplibs_check_method in
16695 +file_magic*)
16696 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
16697 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
16698 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
16699 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
16700 + echo $ECHO_N "(cached) $ECHO_C" >&6
16701 +else
16702 + case $MAGIC_CMD in
16703 +[\\/*] | ?:[\\/]*)
16704 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
16705 + ;;
16706 +*)
16707 + lt_save_MAGIC_CMD="$MAGIC_CMD"
16708 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16709 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
16710 + for ac_dir in $ac_dummy; do
16711 + IFS="$lt_save_ifs"
16712 + test -z "$ac_dir" && ac_dir=.
16713 + if test -f $ac_dir/${ac_tool_prefix}file; then
16714 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
16715 + if test -n "$file_magic_test_file"; then
16716 + case $deplibs_check_method in
16717 + "file_magic "*)
16718 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
16719 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16720 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16721 + $EGREP "$file_magic_regex" > /dev/null; then
16722 + :
16723 + else
16724 + cat <<EOF 1>&2
16725 +
16726 +*** Warning: the command libtool uses to detect shared libraries,
16727 +*** $file_magic_cmd, produces output that libtool cannot recognize.
16728 +*** The result is that libtool may fail to recognize shared libraries
16729 +*** as such. This will affect the creation of libtool libraries that
16730 +*** depend on shared libraries, but programs linked with such libtool
16731 +*** libraries will work regardless of this problem. Nevertheless, you
16732 +*** may want to report the problem to your system manager and/or to
16733 +*** bug-libtool@gnu.org
16734 +
16735 +EOF
16736 + fi ;;
16737 + esac
16738 + fi
16739 + break
16740 + fi
16741 + done
16742 + IFS="$lt_save_ifs"
16743 + MAGIC_CMD="$lt_save_MAGIC_CMD"
16744 + ;;
16745 +esac
16746 +fi
16747 +
16748 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16749 +if test -n "$MAGIC_CMD"; then
16750 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16751 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
16752 +else
16753 + { echo "$as_me:$LINENO: result: no" >&5
16754 +echo "${ECHO_T}no" >&6; }
16755 +fi
16756 +
16757 +if test -z "$lt_cv_path_MAGIC_CMD"; then
16758 + if test -n "$ac_tool_prefix"; then
16759 + { echo "$as_me:$LINENO: checking for file" >&5
16760 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
16761 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
16762 + echo $ECHO_N "(cached) $ECHO_C" >&6
16763 +else
16764 + case $MAGIC_CMD in
16765 +[\\/*] | ?:[\\/]*)
16766 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
16767 + ;;
16768 +*)
16769 + lt_save_MAGIC_CMD="$MAGIC_CMD"
16770 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16771 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
16772 + for ac_dir in $ac_dummy; do
16773 + IFS="$lt_save_ifs"
16774 + test -z "$ac_dir" && ac_dir=.
16775 + if test -f $ac_dir/file; then
16776 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
16777 + if test -n "$file_magic_test_file"; then
16778 + case $deplibs_check_method in
16779 + "file_magic "*)
16780 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
16781 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16782 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16783 + $EGREP "$file_magic_regex" > /dev/null; then
16784 + :
16785 + else
16786 + cat <<EOF 1>&2
16787 +
16788 +*** Warning: the command libtool uses to detect shared libraries,
16789 +*** $file_magic_cmd, produces output that libtool cannot recognize.
16790 +*** The result is that libtool may fail to recognize shared libraries
16791 +*** as such. This will affect the creation of libtool libraries that
16792 +*** depend on shared libraries, but programs linked with such libtool
16793 +*** libraries will work regardless of this problem. Nevertheless, you
16794 +*** may want to report the problem to your system manager and/or to
16795 +*** bug-libtool@gnu.org
16796 +
16797 +EOF
16798 + fi ;;
16799 + esac
16800 + fi
16801 + break
16802 + fi
16803 + done
16804 + IFS="$lt_save_ifs"
16805 + MAGIC_CMD="$lt_save_MAGIC_CMD"
16806 + ;;
16807 +esac
16808 +fi
16809 +
16810 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16811 +if test -n "$MAGIC_CMD"; then
16812 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16813 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
16814 +else
16815 + { echo "$as_me:$LINENO: result: no" >&5
16816 +echo "${ECHO_T}no" >&6; }
16817 +fi
16818 +
16819 + else
16820 + MAGIC_CMD=:
16821 + fi
16822 +fi
16823 +
16824 + fi
16825 + ;;
16826 +esac
16827 +
16828 +enable_dlopen=no
16829 +enable_win32_dll=no
16830 +
16831 +# Check whether --enable-libtool-lock was given.
16832 +if test "${enable_libtool_lock+set}" = set; then
16833 + enableval=$enable_libtool_lock;
16834 +fi
16835 +
16836 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
16837 +
16838 +
16839 +# Check whether --with-pic was given.
16840 +if test "${with_pic+set}" = set; then
16841 + withval=$with_pic; pic_mode="$withval"
16842 +else
16843 + pic_mode=default
16844 +fi
16845 +
16846 +test -z "$pic_mode" && pic_mode=default
16847 +
16848 +# Use C for the default configuration in the libtool script
16849 +tagname=
16850 +lt_save_CC="$CC"
16851 +ac_ext=c
16852 +ac_cpp='$CPP $CPPFLAGS'
16853 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16854 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16855 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
16856 +
16857 +
16858 +# Source file extension for C test sources.
16859 +ac_ext=c
16860 +
16861 +# Object file extension for compiled C test sources.
16862 +objext=o
16863 +objext=$objext
16864 +
16865 +# Code to be used in simple compile tests
16866 +lt_simple_compile_test_code="int some_variable = 0;"
16867 +
16868 +# Code to be used in simple link tests
16869 +lt_simple_link_test_code='int main(){return(0);}'
16870 +
16871 +
16872 +# If no C compiler was specified, use CC.
16873 +LTCC=${LTCC-"$CC"}
16874 +
16875 +# If no C compiler flags were specified, use CFLAGS.
16876 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16877 +
16878 +# Allow CC to be a program name with arguments.
16879 +compiler=$CC
16880 +
16881 +
16882 +# save warnings/boilerplate of simple test code
16883 +ac_outfile=conftest.$ac_objext
16884 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16885 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16886 +_lt_compiler_boilerplate=`cat conftest.err`
16887 +$rm conftest*
16888 +
16889 +ac_outfile=conftest.$ac_objext
16890 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
16891 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16892 +_lt_linker_boilerplate=`cat conftest.err`
16893 +$rm conftest*
16894 +
16895 +
16896 +
16897 +lt_prog_compiler_no_builtin_flag=
16898 +
16899 +if test "$GCC" = yes; then
16900 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
16901 +
16902 +
16903 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16904 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16905 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16906 + echo $ECHO_N "(cached) $ECHO_C" >&6
16907 +else
16908 + lt_cv_prog_compiler_rtti_exceptions=no
16909 + ac_outfile=conftest.$ac_objext
16910 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16911 + lt_compiler_flag="-fno-rtti -fno-exceptions"
16912 + # Insert the option either (1) after the last *FLAGS variable, or
16913 + # (2) before a word containing "conftest.", or (3) at the end.
16914 + # Note that $ac_compile itself does not contain backslashes and begins
16915 + # with a dollar sign (not a hyphen), so the echo should work correctly.
16916 + # The option is referenced via a variable to avoid confusing sed.
16917 + lt_compile=`echo "$ac_compile" | $SED \
16918 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16919 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16920 + -e 's:$: $lt_compiler_flag:'`
16921 + (eval echo "\"\$as_me:7046: $lt_compile\"" >&5)
16922 + (eval "$lt_compile" 2>conftest.err)
16923 + ac_status=$?
16924 + cat conftest.err >&5
16925 + echo "$as_me:7050: \$? = $ac_status" >&5
16926 + if (exit $ac_status) && test -s "$ac_outfile"; then
16927 + # The compiler can only warn and ignore the option if not recognized
16928 + # So say no if there are warnings other than the usual output.
16929 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16930 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16931 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16932 + lt_cv_prog_compiler_rtti_exceptions=yes
16933 + fi
16934 + fi
16935 + $rm conftest*
16936 +
16937 +fi
16938 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16939 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16940 +
16941 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16942 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
16943 +else
16944 + :
16945 +fi
16946 +
16947 +fi
16948 +
16949 +lt_prog_compiler_wl=
16950 +lt_prog_compiler_pic=
16951 +lt_prog_compiler_static=
16952 +
16953 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16954 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16955 +
16956 + if test "$GCC" = yes; then
16957 + lt_prog_compiler_wl='-Wl,'
16958 + lt_prog_compiler_static='-static'
16959 +
16960 + case $host_os in
16961 + aix*)
16962 + # All AIX code is PIC.
16963 + if test "$host_cpu" = ia64; then
16964 + # AIX 5 now supports IA64 processor
16965 + lt_prog_compiler_static='-Bstatic'
16966 + fi
16967 + ;;
16968 +
16969 + amigaos*)
16970 + # FIXME: we need at least 68020 code to build shared libraries, but
16971 + # adding the `-m68020' flag to GCC prevents building anything better,
16972 + # like `-m68040'.
16973 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
16974 + ;;
16975 +
16976 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16977 + # PIC is the default for these OSes.
16978 + ;;
16979 +
16980 + mingw* | cygwin* | pw32* | os2*)
16981 + # This hack is so that the source file can tell whether it is being
16982 + # built for inclusion in a dll (and should export symbols for example).
16983 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
16984 + # (--disable-auto-import) libraries
16985 + lt_prog_compiler_pic='-DDLL_EXPORT'
16986 + ;;
16987 +
16988 + darwin* | rhapsody*)
16989 + # PIC is the default on this platform
16990 + # Common symbols not allowed in MH_DYLIB files
16991 + lt_prog_compiler_pic='-fno-common'
16992 + ;;
16993 +
16994 + interix[3-9]*)
16995 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16996 + # Instead, we relocate shared libraries at runtime.
16997 + ;;
16998 +
16999 + msdosdjgpp*)
17000 + # Just because we use GCC doesn't mean we suddenly get shared libraries
17001 + # on systems that don't support them.
17002 + lt_prog_compiler_can_build_shared=no
17003 + enable_shared=no
17004 + ;;
17005 +
17006 + sysv4*MP*)
17007 + if test -d /usr/nec; then
17008 + lt_prog_compiler_pic=-Kconform_pic
17009 + fi
17010 + ;;
17011 +
17012 + hpux*)
17013 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17014 + # not for PA HP-UX.
17015 + case $host_cpu in
17016 + hppa*64*|ia64*)
17017 + # +Z the default
17018 + ;;
17019 + *)
17020 + lt_prog_compiler_pic='-fPIC'
17021 + ;;
17022 + esac
17023 + ;;
17024 +
17025 + *)
17026 + lt_prog_compiler_pic='-fPIC'
17027 + ;;
17028 + esac
17029 + else
17030 + # PORTME Check for flag to pass linker flags through the system compiler.
17031 + case $host_os in
17032 + aix*)
17033 + lt_prog_compiler_wl='-Wl,'
17034 + if test "$host_cpu" = ia64; then
17035 + # AIX 5 now supports IA64 processor
17036 + lt_prog_compiler_static='-Bstatic'
17037 + else
17038 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
17039 + fi
17040 + ;;
17041 + darwin*)
17042 + # PIC is the default on this platform
17043 + # Common symbols not allowed in MH_DYLIB files
17044 + case $cc_basename in
17045 + xlc*)
17046 + lt_prog_compiler_pic='-qnocommon'
17047 + lt_prog_compiler_wl='-Wl,'
17048 + ;;
17049 + esac
17050 + ;;
17051 +
17052 + mingw* | cygwin* | pw32* | os2*)
17053 + # This hack is so that the source file can tell whether it is being
17054 + # built for inclusion in a dll (and should export symbols for example).
17055 + lt_prog_compiler_pic='-DDLL_EXPORT'
17056 + ;;
17057 +
17058 + hpux9* | hpux10* | hpux11*)
17059 + lt_prog_compiler_wl='-Wl,'
17060 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17061 + # not for PA HP-UX.
17062 + case $host_cpu in
17063 + hppa*64*|ia64*)
17064 + # +Z the default
17065 + ;;
17066 + *)
17067 + lt_prog_compiler_pic='+Z'
17068 + ;;
17069 + esac
17070 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
17071 + lt_prog_compiler_static='${wl}-a ${wl}archive'
17072 + ;;
17073 +
17074 + irix5* | irix6* | nonstopux*)
17075 + lt_prog_compiler_wl='-Wl,'
17076 + # PIC (with -KPIC) is the default.
17077 + lt_prog_compiler_static='-non_shared'
17078 + ;;
17079 +
17080 + newsos6)
17081 + lt_prog_compiler_pic='-KPIC'
17082 + lt_prog_compiler_static='-Bstatic'
17083 + ;;
17084 +
17085 + linux* | k*bsd*-gnu)
17086 + case $cc_basename in
17087 + icc* | ecc*)
17088 + lt_prog_compiler_wl='-Wl,'
17089 + lt_prog_compiler_pic='-KPIC'
17090 + lt_prog_compiler_static='-static'
17091 + ;;
17092 + pgcc* | pgf77* | pgf90* | pgf95*)
17093 + # Portland Group compilers (*not* the Pentium gcc compiler,
17094 + # which looks to be a dead project)
17095 + lt_prog_compiler_wl='-Wl,'
17096 + lt_prog_compiler_pic='-fpic'
17097 + lt_prog_compiler_static='-Bstatic'
17098 + ;;
17099 + ccc*)
17100 + lt_prog_compiler_wl='-Wl,'
17101 + # All Alpha code is PIC.
17102 + lt_prog_compiler_static='-non_shared'
17103 + ;;
17104 + *)
17105 + case `$CC -V 2>&1 | sed 5q` in
17106 + *Sun\ C*)
17107 + # Sun C 5.9
17108 + lt_prog_compiler_pic='-KPIC'
17109 + lt_prog_compiler_static='-Bstatic'
17110 + lt_prog_compiler_wl='-Wl,'
17111 + ;;
17112 + *Sun\ F*)
17113 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
17114 + lt_prog_compiler_pic='-KPIC'
17115 + lt_prog_compiler_static='-Bstatic'
17116 + lt_prog_compiler_wl=''
17117 + ;;
17118 + esac
17119 + ;;
17120 + esac
17121 + ;;
17122 +
17123 + osf3* | osf4* | osf5*)
17124 + lt_prog_compiler_wl='-Wl,'
17125 + # All OSF/1 code is PIC.
17126 + lt_prog_compiler_static='-non_shared'
17127 + ;;
17128 +
17129 + rdos*)
17130 + lt_prog_compiler_static='-non_shared'
17131 + ;;
17132 +
17133 + solaris*)
17134 + lt_prog_compiler_pic='-KPIC'
17135 + lt_prog_compiler_static='-Bstatic'
17136 + case $cc_basename in
17137 + f77* | f90* | f95*)
17138 + lt_prog_compiler_wl='-Qoption ld ';;
17139 + *)
17140 + lt_prog_compiler_wl='-Wl,';;
17141 + esac
17142 + ;;
17143 +
17144 + sunos4*)
17145 + lt_prog_compiler_wl='-Qoption ld '
17146 + lt_prog_compiler_pic='-PIC'
17147 + lt_prog_compiler_static='-Bstatic'
17148 + ;;
17149 +
17150 + sysv4 | sysv4.2uw2* | sysv4.3*)
17151 + lt_prog_compiler_wl='-Wl,'
17152 + lt_prog_compiler_pic='-KPIC'
17153 + lt_prog_compiler_static='-Bstatic'
17154 + ;;
17155 +
17156 + sysv4*MP*)
17157 + if test -d /usr/nec ;then
17158 + lt_prog_compiler_pic='-Kconform_pic'
17159 + lt_prog_compiler_static='-Bstatic'
17160 + fi
17161 + ;;
17162 +
17163 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17164 + lt_prog_compiler_wl='-Wl,'
17165 + lt_prog_compiler_pic='-KPIC'
17166 + lt_prog_compiler_static='-Bstatic'
17167 + ;;
17168 +
17169 + unicos*)
17170 + lt_prog_compiler_wl='-Wl,'
17171 + lt_prog_compiler_can_build_shared=no
17172 + ;;
17173 +
17174 + uts4*)
17175 + lt_prog_compiler_pic='-pic'
17176 + lt_prog_compiler_static='-Bstatic'
17177 + ;;
17178 +
17179 + *)
17180 + lt_prog_compiler_can_build_shared=no
17181 + ;;
17182 + esac
17183 + fi
17184 +
17185 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
17186 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
17187 +
17188 +#
17189 +# Check to make sure the PIC flag actually works.
17190 +#
17191 +if test -n "$lt_prog_compiler_pic"; then
17192 +
17193 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
17194 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
17195 +if test "${lt_prog_compiler_pic_works+set}" = set; then
17196 + echo $ECHO_N "(cached) $ECHO_C" >&6
17197 +else
17198 + lt_prog_compiler_pic_works=no
17199 + ac_outfile=conftest.$ac_objext
17200 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17201 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
17202 + # Insert the option either (1) after the last *FLAGS variable, or
17203 + # (2) before a word containing "conftest.", or (3) at the end.
17204 + # Note that $ac_compile itself does not contain backslashes and begins
17205 + # with a dollar sign (not a hyphen), so the echo should work correctly.
17206 + # The option is referenced via a variable to avoid confusing sed.
17207 + lt_compile=`echo "$ac_compile" | $SED \
17208 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17209 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17210 + -e 's:$: $lt_compiler_flag:'`
17211 + (eval echo "\"\$as_me:7336: $lt_compile\"" >&5)
17212 + (eval "$lt_compile" 2>conftest.err)
17213 + ac_status=$?
17214 + cat conftest.err >&5
17215 + echo "$as_me:7340: \$? = $ac_status" >&5
17216 + if (exit $ac_status) && test -s "$ac_outfile"; then
17217 + # The compiler can only warn and ignore the option if not recognized
17218 + # So say no if there are warnings other than the usual output.
17219 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17220 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17221 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17222 + lt_prog_compiler_pic_works=yes
17223 + fi
17224 + fi
17225 + $rm conftest*
17226 +
17227 +fi
17228 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
17229 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
17230 +
17231 +if test x"$lt_prog_compiler_pic_works" = xyes; then
17232 + case $lt_prog_compiler_pic in
17233 + "" | " "*) ;;
17234 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
17235 + esac
17236 +else
17237 + lt_prog_compiler_pic=
17238 + lt_prog_compiler_can_build_shared=no
17239 +fi
17240 +
17241 +fi
17242 +case $host_os in
17243 + # For platforms which do not support PIC, -DPIC is meaningless:
17244 + *djgpp*)
17245 + lt_prog_compiler_pic=
17246 + ;;
17247 + *)
17248 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17249 + ;;
17250 +esac
17251 +
17252 +#
17253 +# Check to make sure the static flag actually works.
17254 +#
17255 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
17256 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17257 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17258 +if test "${lt_prog_compiler_static_works+set}" = set; then
17259 + echo $ECHO_N "(cached) $ECHO_C" >&6
17260 +else
17261 + lt_prog_compiler_static_works=no
17262 + save_LDFLAGS="$LDFLAGS"
17263 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17264 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
17265 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17266 + # The linker can only warn and ignore the option if not recognized
17267 + # So say no if there are warnings
17268 + if test -s conftest.err; then
17269 + # Append any errors to the config.log.
17270 + cat conftest.err 1>&5
17271 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17272 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17273 + if diff conftest.exp conftest.er2 >/dev/null; then
17274 + lt_prog_compiler_static_works=yes
17275 + fi
17276 + else
17277 + lt_prog_compiler_static_works=yes
17278 + fi
17279 + fi
17280 + $rm conftest*
17281 + LDFLAGS="$save_LDFLAGS"
17282 +
17283 +fi
17284 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
17285 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
17286 +
17287 +if test x"$lt_prog_compiler_static_works" = xyes; then
17288 + :
17289 +else
17290 + lt_prog_compiler_static=
17291 +fi
17292 +
17293 +
17294 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17295 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17296 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
17297 + echo $ECHO_N "(cached) $ECHO_C" >&6
17298 +else
17299 + lt_cv_prog_compiler_c_o=no
17300 + $rm -r conftest 2>/dev/null
17301 + mkdir conftest
17302 + cd conftest
17303 + mkdir out
17304 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17305 +
17306 + lt_compiler_flag="-o out/conftest2.$ac_objext"
17307 + # Insert the option either (1) after the last *FLAGS variable, or
17308 + # (2) before a word containing "conftest.", or (3) at the end.
17309 + # Note that $ac_compile itself does not contain backslashes and begins
17310 + # with a dollar sign (not a hyphen), so the echo should work correctly.
17311 + lt_compile=`echo "$ac_compile" | $SED \
17312 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17313 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17314 + -e 's:$: $lt_compiler_flag:'`
17315 + (eval echo "\"\$as_me:7440: $lt_compile\"" >&5)
17316 + (eval "$lt_compile" 2>out/conftest.err)
17317 + ac_status=$?
17318 + cat out/conftest.err >&5
17319 + echo "$as_me:7444: \$? = $ac_status" >&5
17320 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
17321 + then
17322 + # The compiler can only warn and ignore the option if not recognized
17323 + # So say no if there are warnings
17324 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17325 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17326 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17327 + lt_cv_prog_compiler_c_o=yes
17328 + fi
17329 + fi
17330 + chmod u+w . 2>&5
17331 + $rm conftest*
17332 + # SGI C++ compiler will create directory out/ii_files/ for
17333 + # template instantiation
17334 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17335 + $rm out/* && rmdir out
17336 + cd ..
17337 + rmdir conftest
17338 + $rm conftest*
17339 +
17340 +fi
17341 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17342 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
17343 +
17344 +
17345 +hard_links="nottested"
17346 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
17347 + # do not overwrite the value of need_locks provided by the user
17348 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17349 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17350 + hard_links=yes
17351 + $rm conftest*
17352 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
17353 + touch conftest.a
17354 + ln conftest.a conftest.b 2>&5 || hard_links=no
17355 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
17356 + { echo "$as_me:$LINENO: result: $hard_links" >&5
17357 +echo "${ECHO_T}$hard_links" >&6; }
17358 + if test "$hard_links" = no; then
17359 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17360 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17361 + need_locks=warn
17362 + fi
17363 +else
17364 + need_locks=no
17365 +fi
17366 +
17367 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17368 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17369 +
17370 + runpath_var=
17371 + allow_undefined_flag=
17372 + enable_shared_with_static_runtimes=no
17373 + archive_cmds=
17374 + archive_expsym_cmds=
17375 + old_archive_From_new_cmds=
17376 + old_archive_from_expsyms_cmds=
17377 + export_dynamic_flag_spec=
17378 + whole_archive_flag_spec=
17379 + thread_safe_flag_spec=
17380 + hardcode_libdir_flag_spec=
17381 + hardcode_libdir_flag_spec_ld=
17382 + hardcode_libdir_separator=
17383 + hardcode_direct=no
17384 + hardcode_minus_L=no
17385 + hardcode_shlibpath_var=unsupported
17386 + link_all_deplibs=unknown
17387 + hardcode_automatic=no
17388 + module_cmds=
17389 + module_expsym_cmds=
17390 + always_export_symbols=no
17391 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17392 + # include_expsyms should be a list of space-separated symbols to be *always*
17393 + # included in the symbol list
17394 + include_expsyms=
17395 + # exclude_expsyms can be an extended regexp of symbols to exclude
17396 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
17397 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17398 + # as well as any symbol that contains `d'.
17399 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
17400 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17401 + # platforms (ab)use it in PIC code, but their linkers get confused if
17402 + # the symbol is explicitly referenced. Since portable code cannot
17403 + # rely on this symbol name, it's probably fine to never include it in
17404 + # preloaded symbol tables.
17405 + extract_expsyms_cmds=
17406 + # Just being paranoid about ensuring that cc_basename is set.
17407 + for cc_temp in $compiler""; do
17408 + case $cc_temp in
17409 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17410 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17411 + \-*) ;;
17412 + *) break;;
17413 + esac
17414 +done
17415 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17416 +
17417 + case $host_os in
17418 + cygwin* | mingw* | pw32*)
17419 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
17420 + # When not using gcc, we currently assume that we are using
17421 + # Microsoft Visual C++.
17422 + if test "$GCC" != yes; then
17423 + with_gnu_ld=no
17424 + fi
17425 + ;;
17426 + interix*)
17427 + # we just hope/assume this is gcc and not c89 (= MSVC++)
17428 + with_gnu_ld=yes
17429 + ;;
17430 + openbsd*)
17431 + with_gnu_ld=no
17432 + ;;
17433 + esac
17434 +
17435 + ld_shlibs=yes
17436 + if test "$with_gnu_ld" = yes; then
17437 + # If archive_cmds runs LD, not CC, wlarc should be empty
17438 + wlarc='${wl}'
17439 +
17440 + # Set some defaults for GNU ld with shared library support. These
17441 + # are reset later if shared libraries are not supported. Putting them
17442 + # here allows them to be overridden if necessary.
17443 + runpath_var=LD_RUN_PATH
17444 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
17445 + export_dynamic_flag_spec='${wl}--export-dynamic'
17446 + # ancient GNU ld didn't support --whole-archive et. al.
17447 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17448 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17449 + else
17450 + whole_archive_flag_spec=
17451 + fi
17452 + supports_anon_versioning=no
17453 + case `$LD -v 2>/dev/null` in
17454 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17455 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17456 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17457 + *\ 2.11.*) ;; # other 2.11 versions
17458 + *) supports_anon_versioning=yes ;;
17459 + esac
17460 +
17461 + # See if GNU ld supports shared libraries.
17462 + case $host_os in
17463 + aix3* | aix4* | aix5*)
17464 + # On AIX/PPC, the GNU linker is very broken
17465 + if test "$host_cpu" != ia64; then
17466 + ld_shlibs=no
17467 + cat <<EOF 1>&2
17468 +
17469 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17470 +*** to be unable to reliably create shared libraries on AIX.
17471 +*** Therefore, libtool is disabling shared libraries support. If you
17472 +*** really care for shared libraries, you may want to modify your PATH
17473 +*** so that a non-GNU linker is found, and then restart.
17474 +
17475 +EOF
17476 + fi
17477 + ;;
17478 +
17479 + amigaos*)
17480 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17481 + hardcode_libdir_flag_spec='-L$libdir'
17482 + hardcode_minus_L=yes
17483 +
17484 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17485 + # that the semantics of dynamic libraries on AmigaOS, at least up
17486 + # to version 4, is to share data among multiple programs linked
17487 + # with the same dynamic library. Since this doesn't match the
17488 + # behavior of shared libraries on other platforms, we can't use
17489 + # them.
17490 + ld_shlibs=no
17491 + ;;
17492 +
17493 + beos*)
17494 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17495 + allow_undefined_flag=unsupported
17496 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17497 + # support --undefined. This deserves some investigation. FIXME
17498 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17499 + else
17500 + ld_shlibs=no
17501 + fi
17502 + ;;
17503 +
17504 + cygwin* | mingw* | pw32*)
17505 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
17506 + # as there is no search path for DLLs.
17507 + hardcode_libdir_flag_spec='-L$libdir'
17508 + allow_undefined_flag=unsupported
17509 + always_export_symbols=no
17510 + enable_shared_with_static_runtimes=yes
17511 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17512 +
17513 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17514 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17515 + # If the export-symbols file already is a .def file (1st line
17516 + # is EXPORTS), use it as is; otherwise, prepend...
17517 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17518 + cp $export_symbols $output_objdir/$soname.def;
17519 + else
17520 + echo EXPORTS > $output_objdir/$soname.def;
17521 + cat $export_symbols >> $output_objdir/$soname.def;
17522 + fi~
17523 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17524 + else
17525 + ld_shlibs=no
17526 + fi
17527 + ;;
17528 +
17529 + interix[3-9]*)
17530 + hardcode_direct=no
17531 + hardcode_shlibpath_var=no
17532 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
17533 + export_dynamic_flag_spec='${wl}-E'
17534 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17535 + # Instead, shared libraries are loaded at an image base (0x10000000 by
17536 + # default) and relocated if they conflict, which is a slow very memory
17537 + # consuming and fragmenting process. To avoid this, we pick a random,
17538 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17539 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17540 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17541 + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17542 + ;;
17543 +
17544 + gnu* | linux* | k*bsd*-gnu)
17545 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17546 + tmp_addflag=
17547 + case $cc_basename,$host_cpu in
17548 + pgcc*) # Portland Group C compiler
17549 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17550 + tmp_addflag=' $pic_flag'
17551 + ;;
17552 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17553 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17554 + tmp_addflag=' $pic_flag -Mnomain' ;;
17555 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17556 + tmp_addflag=' -i_dynamic' ;;
17557 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17558 + tmp_addflag=' -i_dynamic -nofor_main' ;;
17559 + ifc* | ifort*) # Intel Fortran compiler
17560 + tmp_addflag=' -nofor_main' ;;
17561 + esac
17562 + case `$CC -V 2>&1 | sed 5q` in
17563 + *Sun\ C*) # Sun C 5.9
17564 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17565 + tmp_sharedflag='-G' ;;
17566 + *Sun\ F*) # Sun Fortran 8.3
17567 + tmp_sharedflag='-G' ;;
17568 + *)
17569 + tmp_sharedflag='-shared' ;;
17570 + esac
17571 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17572 +
17573 + if test $supports_anon_versioning = yes; then
17574 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
17575 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17576 + $echo "local: *; };" >> $output_objdir/$libname.ver~
17577 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17578 + fi
17579 + link_all_deplibs=no
17580 + else
17581 + ld_shlibs=no
17582 + fi
17583 + ;;
17584 +
17585 + netbsd* | netbsdelf*-gnu)
17586 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17587 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17588 + wlarc=
17589 + else
17590 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17591 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17592 + fi
17593 + ;;
17594 +
17595 + solaris*)
17596 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17597 + ld_shlibs=no
17598 + cat <<EOF 1>&2
17599 +
17600 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17601 +*** create shared libraries on Solaris systems. Therefore, libtool
17602 +*** is disabling shared libraries support. We urge you to upgrade GNU
17603 +*** binutils to release 2.9.1 or newer. Another option is to modify
17604 +*** your PATH or compiler configuration so that the native linker is
17605 +*** used, and then restart.
17606 +
17607 +EOF
17608 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17609 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17610 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17611 + else
17612 + ld_shlibs=no
17613 + fi
17614 + ;;
17615 +
17616 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17617 + case `$LD -v 2>&1` in
17618 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17619 + ld_shlibs=no
17620 + cat <<_LT_EOF 1>&2
17621 +
17622 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17623 +*** reliably create shared libraries on SCO systems. Therefore, libtool
17624 +*** is disabling shared libraries support. We urge you to upgrade GNU
17625 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17626 +*** your PATH or compiler configuration so that the native linker is
17627 +*** used, and then restart.
17628 +
17629 +_LT_EOF
17630 + ;;
17631 + *)
17632 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17633 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17634 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17635 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17636 + else
17637 + ld_shlibs=no
17638 + fi
17639 + ;;
17640 + esac
17641 + ;;
17642 +
17643 + sunos4*)
17644 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17645 + wlarc=
17646 + hardcode_direct=yes
17647 + hardcode_shlibpath_var=no
17648 + ;;
17649 +
17650 + *)
17651 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17652 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17653 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17654 + else
17655 + ld_shlibs=no
17656 + fi
17657 + ;;
17658 + esac
17659 +
17660 + if test "$ld_shlibs" = no; then
17661 + runpath_var=
17662 + hardcode_libdir_flag_spec=
17663 + export_dynamic_flag_spec=
17664 + whole_archive_flag_spec=
17665 + fi
17666 + else
17667 + # PORTME fill in a description of your system's linker (not GNU ld)
17668 + case $host_os in
17669 + aix3*)
17670 + allow_undefined_flag=unsupported
17671 + always_export_symbols=yes
17672 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17673 + # Note: this linker hardcodes the directories in LIBPATH if there
17674 + # are no directories specified by -L.
17675 + hardcode_minus_L=yes
17676 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17677 + # Neither direct hardcoding nor static linking is supported with a
17678 + # broken collect2.
17679 + hardcode_direct=unsupported
17680 + fi
17681 + ;;
17682 +
17683 + aix4* | aix5*)
17684 + if test "$host_cpu" = ia64; then
17685 + # On IA64, the linker does run time linking by default, so we don't
17686 + # have to do anything special.
17687 + aix_use_runtimelinking=no
17688 + exp_sym_flag='-Bexport'
17689 + no_entry_flag=""
17690 + else
17691 + # If we're using GNU nm, then we don't want the "-C" option.
17692 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
17693 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17694 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17695 + else
17696 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17697 + fi
17698 + aix_use_runtimelinking=no
17699 +
17700 + # Test if we are trying to use run time linking or normal
17701 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17702 + # need to do runtime linking.
17703 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17704 + for ld_flag in $LDFLAGS; do
17705 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17706 + aix_use_runtimelinking=yes
17707 + break
17708 + fi
17709 + done
17710 + ;;
17711 + esac
17712 +
17713 + exp_sym_flag='-bexport'
17714 + no_entry_flag='-bnoentry'
17715 + fi
17716 +
17717 + # When large executables or shared objects are built, AIX ld can
17718 + # have problems creating the table of contents. If linking a library
17719 + # or program results in "error TOC overflow" add -mminimal-toc to
17720 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17721 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17722 +
17723 + archive_cmds=''
17724 + hardcode_direct=yes
17725 + hardcode_libdir_separator=':'
17726 + link_all_deplibs=yes
17727 +
17728 + if test "$GCC" = yes; then
17729 + case $host_os in aix4.[012]|aix4.[012].*)
17730 + # We only want to do this on AIX 4.2 and lower, the check
17731 + # below for broken collect2 doesn't work under 4.3+
17732 + collect2name=`${CC} -print-prog-name=collect2`
17733 + if test -f "$collect2name" && \
17734 + strings "$collect2name" | grep resolve_lib_name >/dev/null
17735 + then
17736 + # We have reworked collect2
17737 + :
17738 + else
17739 + # We have old collect2
17740 + hardcode_direct=unsupported
17741 + # It fails to find uninstalled libraries when the uninstalled
17742 + # path is not listed in the libpath. Setting hardcode_minus_L
17743 + # to unsupported forces relinking
17744 + hardcode_minus_L=yes
17745 + hardcode_libdir_flag_spec='-L$libdir'
17746 + hardcode_libdir_separator=
17747 + fi
17748 + ;;
17749 + esac
17750 + shared_flag='-shared'
17751 + if test "$aix_use_runtimelinking" = yes; then
17752 + shared_flag="$shared_flag "'${wl}-G'
17753 + fi
17754 + else
17755 + # not using gcc
17756 + if test "$host_cpu" = ia64; then
17757 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17758 + # chokes on -Wl,-G. The following line is correct:
17759 + shared_flag='-G'
17760 + else
17761 + if test "$aix_use_runtimelinking" = yes; then
17762 + shared_flag='${wl}-G'
17763 + else
17764 + shared_flag='${wl}-bM:SRE'
17765 + fi
17766 + fi
17767 + fi
17768 +
17769 + # It seems that -bexpall does not export symbols beginning with
17770 + # underscore (_), so it is better to generate a list of symbols to export.
17771 + always_export_symbols=yes
17772 + if test "$aix_use_runtimelinking" = yes; then
17773 + # Warning - without using the other runtime loading flags (-brtl),
17774 + # -berok will link without error, but may produce a broken library.
17775 + allow_undefined_flag='-berok'
17776 + # Determine the default libpath from the value encoded in an empty executable.
17777 + cat >conftest.$ac_ext <<_ACEOF
17778 +/* confdefs.h. */
17779 +_ACEOF
17780 +cat confdefs.h >>conftest.$ac_ext
17781 +cat >>conftest.$ac_ext <<_ACEOF
17782 +/* end confdefs.h. */
17783 +
17784 +int
17785 +main ()
17786 +{
17787 +
17788 + ;
17789 + return 0;
17790 +}
17791 +_ACEOF
17792 +rm -f conftest.$ac_objext conftest$ac_exeext
17793 +if { (ac_try="$ac_link"
17794 +case "(($ac_try" in
17795 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 + *) ac_try_echo=$ac_try;;
17797 +esac
17798 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 + (eval "$ac_link") 2>conftest.er1
17800 + ac_status=$?
17801 + grep -v '^ *+' conftest.er1 >conftest.err
17802 + rm -f conftest.er1
17803 + cat conftest.err >&5
17804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 + (exit $ac_status); } && {
17806 + test -z "$ac_c_werror_flag" ||
17807 + test ! -s conftest.err
17808 + } && test -s conftest$ac_exeext &&
17809 + $as_test_x conftest$ac_exeext; then
17810 +
17811 +lt_aix_libpath_sed='
17812 + /Import File Strings/,/^$/ {
17813 + /^0/ {
17814 + s/^0 *\(.*\)$/\1/
17815 + p
17816 + }
17817 + }'
17818 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17819 +# Check for a 64-bit object if we didn't find anything.
17820 +if test -z "$aix_libpath"; then
17821 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17822 +fi
17823 +else
17824 + echo "$as_me: failed program was:" >&5
17825 +sed 's/^/| /' conftest.$ac_ext >&5
17826 +
17827 +
17828 +fi
17829 +
17830 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17831 + conftest$ac_exeext conftest.$ac_ext
17832 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17833 +
17834 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17835 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17836 + else
17837 + if test "$host_cpu" = ia64; then
17838 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
17839 + allow_undefined_flag="-z nodefs"
17840 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17841 + else
17842 + # Determine the default libpath from the value encoded in an empty executable.
17843 + cat >conftest.$ac_ext <<_ACEOF
17844 +/* confdefs.h. */
17845 +_ACEOF
17846 +cat confdefs.h >>conftest.$ac_ext
17847 +cat >>conftest.$ac_ext <<_ACEOF
17848 +/* end confdefs.h. */
17849 +
17850 +int
17851 +main ()
17852 +{
17853 +
17854 + ;
17855 + return 0;
17856 +}
17857 +_ACEOF
17858 +rm -f conftest.$ac_objext conftest$ac_exeext
17859 +if { (ac_try="$ac_link"
17860 +case "(($ac_try" in
17861 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17862 + *) ac_try_echo=$ac_try;;
17863 +esac
17864 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17865 + (eval "$ac_link") 2>conftest.er1
17866 + ac_status=$?
17867 + grep -v '^ *+' conftest.er1 >conftest.err
17868 + rm -f conftest.er1
17869 + cat conftest.err >&5
17870 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 + (exit $ac_status); } && {
17872 + test -z "$ac_c_werror_flag" ||
17873 + test ! -s conftest.err
17874 + } && test -s conftest$ac_exeext &&
17875 + $as_test_x conftest$ac_exeext; then
17876 +
17877 +lt_aix_libpath_sed='
17878 + /Import File Strings/,/^$/ {
17879 + /^0/ {
17880 + s/^0 *\(.*\)$/\1/
17881 + p
17882 + }
17883 + }'
17884 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17885 +# Check for a 64-bit object if we didn't find anything.
17886 +if test -z "$aix_libpath"; then
17887 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17888 +fi
17889 +else
17890 + echo "$as_me: failed program was:" >&5
17891 +sed 's/^/| /' conftest.$ac_ext >&5
17892 +
17893 +
17894 +fi
17895 +
17896 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17897 + conftest$ac_exeext conftest.$ac_ext
17898 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17899 +
17900 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17901 + # Warning - without using the other run time loading flags,
17902 + # -berok will link without error, but may produce a broken library.
17903 + no_undefined_flag=' ${wl}-bernotok'
17904 + allow_undefined_flag=' ${wl}-berok'
17905 + # Exported symbols can be pulled into shared objects from archives
17906 + whole_archive_flag_spec='$convenience'
17907 + archive_cmds_need_lc=yes
17908 + # This is similar to how AIX traditionally builds its shared libraries.
17909 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17910 + fi
17911 + fi
17912 + ;;
17913 +
17914 + amigaos*)
17915 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17916 + hardcode_libdir_flag_spec='-L$libdir'
17917 + hardcode_minus_L=yes
17918 + # see comment about different semantics on the GNU ld section
17919 + ld_shlibs=no
17920 + ;;
17921 +
17922 + bsdi[45]*)
17923 + export_dynamic_flag_spec=-rdynamic
17924 + ;;
17925 +
17926 + cygwin* | mingw* | pw32*)
17927 + # When not using gcc, we currently assume that we are using
17928 + # Microsoft Visual C++.
17929 + # hardcode_libdir_flag_spec is actually meaningless, as there is
17930 + # no search path for DLLs.
17931 + hardcode_libdir_flag_spec=' '
17932 + allow_undefined_flag=unsupported
17933 + # Tell ltmain to make .lib files, not .a files.
17934 + libext=lib
17935 + # Tell ltmain to make .dll files, not .so files.
17936 + shrext_cmds=".dll"
17937 + # FIXME: Setting linknames here is a bad hack.
17938 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17939 + # The linker will automatically build a .lib file if we build a DLL.
17940 + old_archive_From_new_cmds='true'
17941 + # FIXME: Should let the user specify the lib program.
17942 + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
17943 + fix_srcfile_path='`cygpath -w "$srcfile"`'
17944 + enable_shared_with_static_runtimes=yes
17945 + ;;
17946 +
17947 + darwin* | rhapsody*)
17948 + case $host_os in
17949 + rhapsody* | darwin1.[012])
17950 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
17951 + ;;
17952 + *) # Darwin 1.3 on
17953 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17954 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17955 + else
17956 + case ${MACOSX_DEPLOYMENT_TARGET} in
17957 + 10.[012])
17958 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17959 + ;;
17960 + 10.*)
17961 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
17962 + ;;
17963 + esac
17964 + fi
17965 + ;;
17966 + esac
17967 + archive_cmds_need_lc=no
17968 + hardcode_direct=no
17969 + hardcode_automatic=yes
17970 + hardcode_shlibpath_var=unsupported
17971 + whole_archive_flag_spec=''
17972 + link_all_deplibs=yes
17973 + if test "$GCC" = yes ; then
17974 + output_verbose_link_cmd='echo'
17975 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17976 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17977 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17978 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17979 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17980 + else
17981 + case $cc_basename in
17982 + xlc*)
17983 + output_verbose_link_cmd='echo'
17984 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17985 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17986 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17987 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17988 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17989 + ;;
17990 + *)
17991 + ld_shlibs=no
17992 + ;;
17993 + esac
17994 + fi
17995 + ;;
17996 +
17997 + dgux*)
17998 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17999 + hardcode_libdir_flag_spec='-L$libdir'
18000 + hardcode_shlibpath_var=no
18001 + ;;
18002 +
18003 + freebsd1*)
18004 + ld_shlibs=no
18005 + ;;
18006 +
18007 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18008 + # support. Future versions do this automatically, but an explicit c++rt0.o
18009 + # does not break anything, and helps significantly (at the cost of a little
18010 + # extra space).
18011 + freebsd2.2*)
18012 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18013 + hardcode_libdir_flag_spec='-R$libdir'
18014 + hardcode_direct=yes
18015 + hardcode_shlibpath_var=no
18016 + ;;
18017 +
18018 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18019 + freebsd2*)
18020 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18021 + hardcode_direct=yes
18022 + hardcode_minus_L=yes
18023 + hardcode_shlibpath_var=no
18024 + ;;
18025 +
18026 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18027 + freebsd* | dragonfly*)
18028 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18029 + hardcode_libdir_flag_spec='-R$libdir'
18030 + hardcode_direct=yes
18031 + hardcode_shlibpath_var=no
18032 + ;;
18033 +
18034 + hpux9*)
18035 + if test "$GCC" = yes; then
18036 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18037 + else
18038 + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18039 + fi
18040 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18041 + hardcode_libdir_separator=:
18042 + hardcode_direct=yes
18043 +
18044 + # hardcode_minus_L: Not really in the search PATH,
18045 + # but as the default location of the library.
18046 + hardcode_minus_L=yes
18047 + export_dynamic_flag_spec='${wl}-E'
18048 + ;;
18049 +
18050 + hpux10*)
18051 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18052 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18053 + else
18054 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18055 + fi
18056 + if test "$with_gnu_ld" = no; then
18057 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18058 + hardcode_libdir_separator=:
18059 +
18060 + hardcode_direct=yes
18061 + export_dynamic_flag_spec='${wl}-E'
18062 +
18063 + # hardcode_minus_L: Not really in the search PATH,
18064 + # but as the default location of the library.
18065 + hardcode_minus_L=yes
18066 + fi
18067 + ;;
18068 +
18069 + hpux11*)
18070 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18071 + case $host_cpu in
18072 + hppa*64*)
18073 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18074 + ;;
18075 + ia64*)
18076 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18077 + ;;
18078 + *)
18079 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18080 + ;;
18081 + esac
18082 + else
18083 + case $host_cpu in
18084 + hppa*64*)
18085 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18086 + ;;
18087 + ia64*)
18088 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18089 + ;;
18090 + *)
18091 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18092 + ;;
18093 + esac
18094 + fi
18095 + if test "$with_gnu_ld" = no; then
18096 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18097 + hardcode_libdir_separator=:
18098 +
18099 + case $host_cpu in
18100 + hppa*64*|ia64*)
18101 + hardcode_libdir_flag_spec_ld='+b $libdir'
18102 + hardcode_direct=no
18103 + hardcode_shlibpath_var=no
18104 + ;;
18105 + *)
18106 + hardcode_direct=yes
18107 + export_dynamic_flag_spec='${wl}-E'
18108 +
18109 + # hardcode_minus_L: Not really in the search PATH,
18110 + # but as the default location of the library.
18111 + hardcode_minus_L=yes
18112 + ;;
18113 + esac
18114 + fi
18115 + ;;
18116 +
18117 + irix5* | irix6* | nonstopux*)
18118 + if test "$GCC" = yes; then
18119 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18120 + else
18121 + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18122 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
18123 + fi
18124 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18125 + hardcode_libdir_separator=:
18126 + link_all_deplibs=yes
18127 + ;;
18128 +
18129 + netbsd* | netbsdelf*-gnu)
18130 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18131 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18132 + else
18133 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18134 + fi
18135 + hardcode_libdir_flag_spec='-R$libdir'
18136 + hardcode_direct=yes
18137 + hardcode_shlibpath_var=no
18138 + ;;
18139 +
18140 + newsos6)
18141 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18142 + hardcode_direct=yes
18143 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18144 + hardcode_libdir_separator=:
18145 + hardcode_shlibpath_var=no
18146 + ;;
18147 +
18148 + openbsd*)
18149 + if test -f /usr/libexec/ld.so; then
18150 + hardcode_direct=yes
18151 + hardcode_shlibpath_var=no
18152 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18153 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18154 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18155 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18156 + export_dynamic_flag_spec='${wl}-E'
18157 + else
18158 + case $host_os in
18159 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18160 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18161 + hardcode_libdir_flag_spec='-R$libdir'
18162 + ;;
18163 + *)
18164 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18165 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18166 + ;;
18167 + esac
18168 + fi
18169 + else
18170 + ld_shlibs=no
18171 + fi
18172 + ;;
18173 +
18174 + os2*)
18175 + hardcode_libdir_flag_spec='-L$libdir'
18176 + hardcode_minus_L=yes
18177 + allow_undefined_flag=unsupported
18178 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18179 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18180 + ;;
18181 +
18182 + osf3*)
18183 + if test "$GCC" = yes; then
18184 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
18185 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18186 + else
18187 + allow_undefined_flag=' -expect_unresolved \*'
18188 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18189 + fi
18190 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18191 + hardcode_libdir_separator=:
18192 + ;;
18193 +
18194 + osf4* | osf5*) # as osf3* with the addition of -msym flag
18195 + if test "$GCC" = yes; then
18196 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
18197 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18198 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18199 + else
18200 + allow_undefined_flag=' -expect_unresolved \*'
18201 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18202 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18203 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18204 +
18205 + # Both c and cxx compiler support -rpath directly
18206 + hardcode_libdir_flag_spec='-rpath $libdir'
18207 + fi
18208 + hardcode_libdir_separator=:
18209 + ;;
18210 +
18211 + solaris*)
18212 + no_undefined_flag=' -z text'
18213 + if test "$GCC" = yes; then
18214 + wlarc='${wl}'
18215 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18216 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18217 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18218 + else
18219 + wlarc=''
18220 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18221 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18222 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18223 + fi
18224 + hardcode_libdir_flag_spec='-R$libdir'
18225 + hardcode_shlibpath_var=no
18226 + case $host_os in
18227 + solaris2.[0-5] | solaris2.[0-5].*) ;;
18228 + *)
18229 + # The compiler driver will combine and reorder linker options,
18230 + # but understands `-z linker_flag'. GCC discards it without `$wl',
18231 + # but is careful enough not to reorder.
18232 + # Supported since Solaris 2.6 (maybe 2.5.1?)
18233 + if test "$GCC" = yes; then
18234 + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18235 + else
18236 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
18237 + fi
18238 + ;;
18239 + esac
18240 + link_all_deplibs=yes
18241 + ;;
18242 +
18243 + sunos4*)
18244 + if test "x$host_vendor" = xsequent; then
18245 + # Use $CC to link under sequent, because it throws in some extra .o
18246 + # files that make .init and .fini sections work.
18247 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18248 + else
18249 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18250 + fi
18251 + hardcode_libdir_flag_spec='-L$libdir'
18252 + hardcode_direct=yes
18253 + hardcode_minus_L=yes
18254 + hardcode_shlibpath_var=no
18255 + ;;
18256 +
18257 + sysv4)
18258 + case $host_vendor in
18259 + sni)
18260 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18261 + hardcode_direct=yes # is this really true???
18262 + ;;
18263 + siemens)
18264 + ## LD is ld it makes a PLAMLIB
18265 + ## CC just makes a GrossModule.
18266 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18267 + reload_cmds='$CC -r -o $output$reload_objs'
18268 + hardcode_direct=no
18269 + ;;
18270 + motorola)
18271 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18272 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
18273 + ;;
18274 + esac
18275 + runpath_var='LD_RUN_PATH'
18276 + hardcode_shlibpath_var=no
18277 + ;;
18278 +
18279 + sysv4.3*)
18280 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18281 + hardcode_shlibpath_var=no
18282 + export_dynamic_flag_spec='-Bexport'
18283 + ;;
18284 +
18285 + sysv4*MP*)
18286 + if test -d /usr/nec; then
18287 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18288 + hardcode_shlibpath_var=no
18289 + runpath_var=LD_RUN_PATH
18290 + hardcode_runpath_var=yes
18291 + ld_shlibs=yes
18292 + fi
18293 + ;;
18294 +
18295 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18296 + no_undefined_flag='${wl}-z,text'
18297 + archive_cmds_need_lc=no
18298 + hardcode_shlibpath_var=no
18299 + runpath_var='LD_RUN_PATH'
18300 +
18301 + if test "$GCC" = yes; then
18302 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18303 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18304 + else
18305 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18306 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18307 + fi
18308 + ;;
18309 +
18310 + sysv5* | sco3.2v5* | sco5v6*)
18311 + # Note: We can NOT use -z defs as we might desire, because we do not
18312 + # link with -lc, and that would cause any symbols used from libc to
18313 + # always be unresolved, which means just about no library would
18314 + # ever link correctly. If we're not using GNU ld we use -z text
18315 + # though, which does catch some bad symbols but isn't as heavy-handed
18316 + # as -z defs.
18317 + no_undefined_flag='${wl}-z,text'
18318 + allow_undefined_flag='${wl}-z,nodefs'
18319 + archive_cmds_need_lc=no
18320 + hardcode_shlibpath_var=no
18321 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18322 + hardcode_libdir_separator=':'
18323 + link_all_deplibs=yes
18324 + export_dynamic_flag_spec='${wl}-Bexport'
18325 + runpath_var='LD_RUN_PATH'
18326 +
18327 + if test "$GCC" = yes; then
18328 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18329 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18330 + else
18331 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18332 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18333 + fi
18334 + ;;
18335 +
18336 + uts4*)
18337 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18338 + hardcode_libdir_flag_spec='-L$libdir'
18339 + hardcode_shlibpath_var=no
18340 + ;;
18341 +
18342 + *)
18343 + ld_shlibs=no
18344 + ;;
18345 + esac
18346 + fi
18347 +
18348 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18349 +echo "${ECHO_T}$ld_shlibs" >&6; }
18350 +test "$ld_shlibs" = no && can_build_shared=no
18351 +
18352 +#
18353 +# Do we need to explicitly link libc?
18354 +#
18355 +case "x$archive_cmds_need_lc" in
18356 +x|xyes)
18357 + # Assume -lc should be added
18358 + archive_cmds_need_lc=yes
18359 +
18360 + if test "$enable_shared" = yes && test "$GCC" = yes; then
18361 + case $archive_cmds in
18362 + *'~'*)
18363 + # FIXME: we may have to deal with multi-command sequences.
18364 + ;;
18365 + '$CC '*)
18366 + # Test whether the compiler implicitly links with -lc since on some
18367 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
18368 + # to ld, don't add -lc before -lgcc.
18369 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18370 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18371 + $rm conftest*
18372 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18373 +
18374 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18375 + (eval $ac_compile) 2>&5
18376 + ac_status=$?
18377 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 + (exit $ac_status); } 2>conftest.err; then
18379 + soname=conftest
18380 + lib=conftest
18381 + libobjs=conftest.$ac_objext
18382 + deplibs=
18383 + wl=$lt_prog_compiler_wl
18384 + pic_flag=$lt_prog_compiler_pic
18385 + compiler_flags=-v
18386 + linker_flags=-v
18387 + verstring=
18388 + output_objdir=.
18389 + libname=conftest
18390 + lt_save_allow_undefined_flag=$allow_undefined_flag
18391 + allow_undefined_flag=
18392 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18393 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18394 + ac_status=$?
18395 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 + (exit $ac_status); }
18397 + then
18398 + archive_cmds_need_lc=no
18399 + else
18400 + archive_cmds_need_lc=yes
18401 + fi
18402 + allow_undefined_flag=$lt_save_allow_undefined_flag
18403 + else
18404 + cat conftest.err 1>&5
18405 + fi
18406 + $rm conftest*
18407 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18408 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
18409 + ;;
18410 + esac
18411 + fi
18412 + ;;
18413 +esac
18414 +
18415 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18416 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18417 +library_names_spec=
18418 +libname_spec='lib$name'
18419 +soname_spec=
18420 +shrext_cmds=".so"
18421 +postinstall_cmds=
18422 +postuninstall_cmds=
18423 +finish_cmds=
18424 +finish_eval=
18425 +shlibpath_var=
18426 +shlibpath_overrides_runpath=unknown
18427 +version_type=none
18428 +dynamic_linker="$host_os ld.so"
18429 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
18430 +
18431 +if test "$GCC" = yes; then
18432 + case $host_os in
18433 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
18434 + *) lt_awk_arg="/^libraries:/" ;;
18435 + esac
18436 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18437 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
18438 + # if the path contains ";" then we assume it to be the separator
18439 + # otherwise default to the standard path separator (i.e. ":") - it is
18440 + # assumed that no part of a normal pathname contains ";" but that should
18441 + # okay in the real world where ";" in dirpaths is itself problematic.
18442 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
18443 + else
18444 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18445 + fi
18446 + # Ok, now we have the path, separated by spaces, we can step through it
18447 + # and add multilib dir if necessary.
18448 + lt_tmp_lt_search_path_spec=
18449 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
18450 + for lt_sys_path in $lt_search_path_spec; do
18451 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
18452 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
18453 + else
18454 + test -d "$lt_sys_path" && \
18455 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
18456 + fi
18457 + done
18458 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
18459 +BEGIN {RS=" "; FS="/|\n";} {
18460 + lt_foo="";
18461 + lt_count=0;
18462 + for (lt_i = NF; lt_i > 0; lt_i--) {
18463 + if ($lt_i != "" && $lt_i != ".") {
18464 + if ($lt_i == "..") {
18465 + lt_count++;
18466 + } else {
18467 + if (lt_count == 0) {
18468 + lt_foo="/" $lt_i lt_foo;
18469 + } else {
18470 + lt_count--;
18471 + }
18472 + }
18473 + }
18474 + }
18475 + if (lt_foo != "") { lt_freq[lt_foo]++; }
18476 + if (lt_freq[lt_foo] == 1) { print lt_foo; }
18477 +}'`
18478 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
18479 +else
18480 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18481 +fi
18482 +need_lib_prefix=unknown
18483 +hardcode_into_libs=no
18484 +
18485 +# when you set need_version to no, make sure it does not cause -set_version
18486 +# flags to be left without arguments
18487 +need_version=unknown
18488 +
18489 +case $host_os in
18490 +aix3*)
18491 + version_type=linux
18492 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18493 + shlibpath_var=LIBPATH
18494 +
18495 + # AIX 3 has no versioning support, so we append a major version to the name.
18496 + soname_spec='${libname}${release}${shared_ext}$major'
18497 + ;;
18498 +
18499 +aix4* | aix5*)
18500 + version_type=linux
18501 + need_lib_prefix=no
18502 + need_version=no
18503 + hardcode_into_libs=yes
18504 + if test "$host_cpu" = ia64; then
18505 + # AIX 5 supports IA64
18506 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18507 + shlibpath_var=LD_LIBRARY_PATH
18508 + else
18509 + # With GCC up to 2.95.x, collect2 would create an import file
18510 + # for dependence libraries. The import file would start with
18511 + # the line `#! .'. This would cause the generated library to
18512 + # depend on `.', always an invalid library. This was fixed in
18513 + # development snapshots of GCC prior to 3.0.
18514 + case $host_os in
18515 + aix4 | aix4.[01] | aix4.[01].*)
18516 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18517 + echo ' yes '
18518 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18519 + :
18520 + else
18521 + can_build_shared=no
18522 + fi
18523 + ;;
18524 + esac
18525 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18526 + # soname into executable. Probably we can add versioning support to
18527 + # collect2, so additional links can be useful in future.
18528 + if test "$aix_use_runtimelinking" = yes; then
18529 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18530 + # instead of lib<name>.a to let people know that these are not
18531 + # typical AIX shared libraries.
18532 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18533 + else
18534 + # We preserve .a as extension for shared libraries through AIX4.2
18535 + # and later when we are not doing run time linking.
18536 + library_names_spec='${libname}${release}.a $libname.a'
18537 + soname_spec='${libname}${release}${shared_ext}$major'
18538 + fi
18539 + shlibpath_var=LIBPATH
18540 + fi
18541 + ;;
18542 +
18543 +amigaos*)
18544 + library_names_spec='$libname.ixlibrary $libname.a'
18545 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
18546 + 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'
18547 + ;;
18548 +
18549 +beos*)
18550 + library_names_spec='${libname}${shared_ext}'
18551 + dynamic_linker="$host_os ld.so"
18552 + shlibpath_var=LIBRARY_PATH
18553 + ;;
18554 +
18555 +bsdi[45]*)
18556 + version_type=linux
18557 + need_version=no
18558 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18559 + soname_spec='${libname}${release}${shared_ext}$major'
18560 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18561 + shlibpath_var=LD_LIBRARY_PATH
18562 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18563 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18564 + # the default ld.so.conf also contains /usr/contrib/lib and
18565 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18566 + # libtool to hard-code these into programs
18567 + ;;
18568 +
18569 +cygwin* | mingw* | pw32*)
18570 + version_type=windows
18571 + shrext_cmds=".dll"
18572 + need_version=no
18573 + need_lib_prefix=no
18574 +
18575 + case $GCC,$host_os in
18576 + yes,cygwin* | yes,mingw* | yes,pw32*)
18577 + library_names_spec='$libname.dll.a'
18578 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
18579 + postinstall_cmds='base_file=`basename \${file}`~
18580 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18581 + dldir=$destdir/`dirname \$dlpath`~
18582 + test -d \$dldir || mkdir -p \$dldir~
18583 + $install_prog $dir/$dlname \$dldir/$dlname~
18584 + chmod a+x \$dldir/$dlname'
18585 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18586 + dlpath=$dir/\$dldll~
18587 + $rm \$dlpath'
18588 + shlibpath_overrides_runpath=yes
18589 +
18590 + case $host_os in
18591 + cygwin*)
18592 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18593 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18594 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18595 + ;;
18596 + mingw*)
18597 + # MinGW DLLs use traditional 'lib' prefix
18598 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18599 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18600 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18601 + # It is most probably a Windows format PATH printed by
18602 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
18603 + # path with ; separators, and with drive letters. We can handle the
18604 + # drive letters (cygwin fileutils understands them), so leave them,
18605 + # especially as we might pass files found there to a mingw objdump,
18606 + # which wouldn't understand a cygwinified path. Ahh.
18607 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18608 + else
18609 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18610 + fi
18611 + ;;
18612 + pw32*)
18613 + # pw32 DLLs use 'pw' prefix rather than 'lib'
18614 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18615 + ;;
18616 + esac
18617 + ;;
18618 +
18619 + *)
18620 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18621 + ;;
18622 + esac
18623 + dynamic_linker='Win32 ld.exe'
18624 + # FIXME: first we should search . and the directory the executable is in
18625 + shlibpath_var=PATH
18626 + ;;
18627 +
18628 +darwin* | rhapsody*)
18629 + dynamic_linker="$host_os dyld"
18630 + version_type=darwin
18631 + need_lib_prefix=no
18632 + need_version=no
18633 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18634 + soname_spec='${libname}${release}${major}$shared_ext'
18635 + shlibpath_overrides_runpath=yes
18636 + shlibpath_var=DYLD_LIBRARY_PATH
18637 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18638 +
18639 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
18640 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18641 + ;;
18642 +
18643 +dgux*)
18644 + version_type=linux
18645 + need_lib_prefix=no
18646 + need_version=no
18647 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18648 + soname_spec='${libname}${release}${shared_ext}$major'
18649 + shlibpath_var=LD_LIBRARY_PATH
18650 + ;;
18651 +
18652 +freebsd1*)
18653 + dynamic_linker=no
18654 + ;;
18655 +
18656 +freebsd* | dragonfly*)
18657 + # DragonFly does not have aout. When/if they implement a new
18658 + # versioning mechanism, adjust this.
18659 + if test -x /usr/bin/objformat; then
18660 + objformat=`/usr/bin/objformat`
18661 + else
18662 + case $host_os in
18663 + freebsd[123]*) objformat=aout ;;
18664 + *) objformat=elf ;;
18665 + esac
18666 + fi
18667 + version_type=freebsd-$objformat
18668 + case $version_type in
18669 + freebsd-elf*)
18670 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18671 + need_version=no
18672 + need_lib_prefix=no
18673 + ;;
18674 + freebsd-*)
18675 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18676 + need_version=yes
18677 + ;;
18678 + esac
18679 + shlibpath_var=LD_LIBRARY_PATH
18680 + case $host_os in
18681 + freebsd2*)
18682 + shlibpath_overrides_runpath=yes
18683 + ;;
18684 + freebsd3.[01]* | freebsdelf3.[01]*)
18685 + shlibpath_overrides_runpath=yes
18686 + hardcode_into_libs=yes
18687 + ;;
18688 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18689 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18690 + shlibpath_overrides_runpath=no
18691 + hardcode_into_libs=yes
18692 + ;;
18693 + *) # from 4.6 on, and DragonFly
18694 + shlibpath_overrides_runpath=yes
18695 + hardcode_into_libs=yes
18696 + ;;
18697 + esac
18698 + ;;
18699 +
18700 +gnu*)
18701 + version_type=linux
18702 + need_lib_prefix=no
18703 + need_version=no
18704 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18705 + soname_spec='${libname}${release}${shared_ext}$major'
18706 + shlibpath_var=LD_LIBRARY_PATH
18707 + hardcode_into_libs=yes
18708 + ;;
18709 +
18710 +hpux9* | hpux10* | hpux11*)
18711 + # Give a soname corresponding to the major version so that dld.sl refuses to
18712 + # link against other versions.
18713 + version_type=sunos
18714 + need_lib_prefix=no
18715 + need_version=no
18716 + case $host_cpu in
18717 + ia64*)
18718 + shrext_cmds='.so'
18719 + hardcode_into_libs=yes
18720 + dynamic_linker="$host_os dld.so"
18721 + shlibpath_var=LD_LIBRARY_PATH
18722 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18723 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18724 + soname_spec='${libname}${release}${shared_ext}$major'
18725 + if test "X$HPUX_IA64_MODE" = X32; then
18726 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18727 + else
18728 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18729 + fi
18730 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18731 + ;;
18732 + hppa*64*)
18733 + shrext_cmds='.sl'
18734 + hardcode_into_libs=yes
18735 + dynamic_linker="$host_os dld.sl"
18736 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18737 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18738 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18739 + soname_spec='${libname}${release}${shared_ext}$major'
18740 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18741 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18742 + ;;
18743 + *)
18744 + shrext_cmds='.sl'
18745 + dynamic_linker="$host_os dld.sl"
18746 + shlibpath_var=SHLIB_PATH
18747 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18748 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18749 + soname_spec='${libname}${release}${shared_ext}$major'
18750 + ;;
18751 + esac
18752 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
18753 + postinstall_cmds='chmod 555 $lib'
18754 + ;;
18755 +
18756 +interix[3-9]*)
18757 + version_type=linux
18758 + need_lib_prefix=no
18759 + need_version=no
18760 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18761 + soname_spec='${libname}${release}${shared_ext}$major'
18762 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18763 + shlibpath_var=LD_LIBRARY_PATH
18764 + shlibpath_overrides_runpath=no
18765 + hardcode_into_libs=yes
18766 + ;;
18767 +
18768 +irix5* | irix6* | nonstopux*)
18769 + case $host_os in
18770 + nonstopux*) version_type=nonstopux ;;
18771 + *)
18772 + if test "$lt_cv_prog_gnu_ld" = yes; then
18773 + version_type=linux
18774 + else
18775 + version_type=irix
18776 + fi ;;
18777 + esac
18778 + need_lib_prefix=no
18779 + need_version=no
18780 + soname_spec='${libname}${release}${shared_ext}$major'
18781 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18782 + case $host_os in
18783 + irix5* | nonstopux*)
18784 + libsuff= shlibsuff=
18785 + ;;
18786 + *)
18787 + case $LD in # libtool.m4 will add one of these switches to LD
18788 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18789 + libsuff= shlibsuff= libmagic=32-bit;;
18790 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18791 + libsuff=32 shlibsuff=N32 libmagic=N32;;
18792 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18793 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
18794 + *) libsuff= shlibsuff= libmagic=never-match;;
18795 + esac
18796 + ;;
18797 + esac
18798 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18799 + shlibpath_overrides_runpath=no
18800 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18801 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18802 + hardcode_into_libs=yes
18803 + ;;
18804 +
18805 +# No shared lib support for Linux oldld, aout, or coff.
18806 +linux*oldld* | linux*aout* | linux*coff*)
18807 + dynamic_linker=no
18808 + ;;
18809 +
18810 +# This must be Linux ELF.
18811 +linux* | k*bsd*-gnu)
18812 + version_type=linux
18813 + need_lib_prefix=no
18814 + need_version=no
18815 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18816 + soname_spec='${libname}${release}${shared_ext}$major'
18817 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18818 + shlibpath_var=LD_LIBRARY_PATH
18819 + shlibpath_overrides_runpath=no
18820 + # This implies no fast_install, which is unacceptable.
18821 + # Some rework will be needed to allow for fast_install
18822 + # before this can be enabled.
18823 + hardcode_into_libs=yes
18824 +
18825 + # Append ld.so.conf contents to the search path
18826 + if test -f /etc/ld.so.conf; then
18827 + 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' ' '`
18828 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18829 + fi
18830 +
18831 + # We used to test for /lib/ld.so.1 and disable shared libraries on
18832 + # powerpc, because MkLinux only supported shared libraries with the
18833 + # GNU dynamic linker. Since this was broken with cross compilers,
18834 + # most powerpc-linux boxes support dynamic linking these days and
18835 + # people can always --disable-shared, the test was removed, and we
18836 + # assume the GNU/Linux dynamic linker is in use.
18837 + dynamic_linker='GNU/Linux ld.so'
18838 + ;;
18839 +
18840 +netbsdelf*-gnu)
18841 + version_type=linux
18842 + need_lib_prefix=no
18843 + need_version=no
18844 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18845 + soname_spec='${libname}${release}${shared_ext}$major'
18846 + shlibpath_var=LD_LIBRARY_PATH
18847 + shlibpath_overrides_runpath=no
18848 + hardcode_into_libs=yes
18849 + dynamic_linker='NetBSD ld.elf_so'
18850 + ;;
18851 +
18852 +netbsd*)
18853 + version_type=sunos
18854 + need_lib_prefix=no
18855 + need_version=no
18856 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18857 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18858 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18859 + dynamic_linker='NetBSD (a.out) ld.so'
18860 + else
18861 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18862 + soname_spec='${libname}${release}${shared_ext}$major'
18863 + dynamic_linker='NetBSD ld.elf_so'
18864 + fi
18865 + shlibpath_var=LD_LIBRARY_PATH
18866 + shlibpath_overrides_runpath=yes
18867 + hardcode_into_libs=yes
18868 + ;;
18869 +
18870 +newsos6)
18871 + version_type=linux
18872 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18873 + shlibpath_var=LD_LIBRARY_PATH
18874 + shlibpath_overrides_runpath=yes
18875 + ;;
18876 +
18877 +nto-qnx*)
18878 + version_type=linux
18879 + need_lib_prefix=no
18880 + need_version=no
18881 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18882 + soname_spec='${libname}${release}${shared_ext}$major'
18883 + shlibpath_var=LD_LIBRARY_PATH
18884 + shlibpath_overrides_runpath=yes
18885 + ;;
18886 +
18887 +openbsd*)
18888 + version_type=sunos
18889 + sys_lib_dlsearch_path_spec="/usr/lib"
18890 + need_lib_prefix=no
18891 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18892 + case $host_os in
18893 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18894 + *) need_version=no ;;
18895 + esac
18896 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18897 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18898 + shlibpath_var=LD_LIBRARY_PATH
18899 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18900 + case $host_os in
18901 + openbsd2.[89] | openbsd2.[89].*)
18902 + shlibpath_overrides_runpath=no
18903 + ;;
18904 + *)
18905 + shlibpath_overrides_runpath=yes
18906 + ;;
18907 + esac
18908 + else
18909 + shlibpath_overrides_runpath=yes
18910 + fi
18911 + ;;
18912 +
18913 +os2*)
18914 + libname_spec='$name'
18915 + shrext_cmds=".dll"
18916 + need_lib_prefix=no
18917 + library_names_spec='$libname${shared_ext} $libname.a'
18918 + dynamic_linker='OS/2 ld.exe'
18919 + shlibpath_var=LIBPATH
18920 + ;;
18921 +
18922 +osf3* | osf4* | osf5*)
18923 + version_type=osf
18924 + need_lib_prefix=no
18925 + need_version=no
18926 + soname_spec='${libname}${release}${shared_ext}$major'
18927 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18928 + shlibpath_var=LD_LIBRARY_PATH
18929 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18930 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18931 + ;;
18932 +
18933 +rdos*)
18934 + dynamic_linker=no
18935 + ;;
18936 +
18937 +solaris*)
18938 + version_type=linux
18939 + need_lib_prefix=no
18940 + need_version=no
18941 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18942 + soname_spec='${libname}${release}${shared_ext}$major'
18943 + shlibpath_var=LD_LIBRARY_PATH
18944 + shlibpath_overrides_runpath=yes
18945 + hardcode_into_libs=yes
18946 + # ldd complains unless libraries are executable
18947 + postinstall_cmds='chmod +x $lib'
18948 + ;;
18949 +
18950 +sunos4*)
18951 + version_type=sunos
18952 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18953 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18954 + shlibpath_var=LD_LIBRARY_PATH
18955 + shlibpath_overrides_runpath=yes
18956 + if test "$with_gnu_ld" = yes; then
18957 + need_lib_prefix=no
18958 + fi
18959 + need_version=yes
18960 + ;;
18961 +
18962 +sysv4 | sysv4.3*)
18963 + version_type=linux
18964 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18965 + soname_spec='${libname}${release}${shared_ext}$major'
18966 + shlibpath_var=LD_LIBRARY_PATH
18967 + case $host_vendor in
18968 + sni)
18969 + shlibpath_overrides_runpath=no
18970 + need_lib_prefix=no
18971 + export_dynamic_flag_spec='${wl}-Blargedynsym'
18972 + runpath_var=LD_RUN_PATH
18973 + ;;
18974 + siemens)
18975 + need_lib_prefix=no
18976 + ;;
18977 + motorola)
18978 + need_lib_prefix=no
18979 + need_version=no
18980 + shlibpath_overrides_runpath=no
18981 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18982 + ;;
18983 + esac
18984 + ;;
18985 +
18986 +sysv4*MP*)
18987 + if test -d /usr/nec ;then
18988 + version_type=linux
18989 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18990 + soname_spec='$libname${shared_ext}.$major'
18991 + shlibpath_var=LD_LIBRARY_PATH
18992 + fi
18993 + ;;
18994 +
18995 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18996 + version_type=freebsd-elf
18997 + need_lib_prefix=no
18998 + need_version=no
18999 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19000 + soname_spec='${libname}${release}${shared_ext}$major'
19001 + shlibpath_var=LD_LIBRARY_PATH
19002 + hardcode_into_libs=yes
19003 + if test "$with_gnu_ld" = yes; then
19004 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19005 + shlibpath_overrides_runpath=no
19006 + else
19007 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19008 + shlibpath_overrides_runpath=yes
19009 + case $host_os in
19010 + sco3.2v5*)
19011 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19012 + ;;
19013 + esac
19014 + fi
19015 + sys_lib_dlsearch_path_spec='/usr/lib'
19016 + ;;
19017 +
19018 +uts4*)
19019 + version_type=linux
19020 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19021 + soname_spec='${libname}${release}${shared_ext}$major'
19022 + shlibpath_var=LD_LIBRARY_PATH
19023 + ;;
19024 +
19025 +*)
19026 + dynamic_linker=no
19027 + ;;
19028 +esac
19029 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19030 +echo "${ECHO_T}$dynamic_linker" >&6; }
19031 +test "$dynamic_linker" = no && can_build_shared=no
19032 +
19033 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19034 +if test "$GCC" = yes; then
19035 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19036 +fi
19037 +
19038 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19039 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19040 +hardcode_action=
19041 +if test -n "$hardcode_libdir_flag_spec" || \
19042 + test -n "$runpath_var" || \
19043 + test "X$hardcode_automatic" = "Xyes" ; then
19044 +
19045 + # We can hardcode non-existant directories.
19046 + if test "$hardcode_direct" != no &&
19047 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
19048 + # have to relink, otherwise we might link with an installed library
19049 + # when we should be linking with a yet-to-be-installed one
19050 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
19051 + test "$hardcode_minus_L" != no; then
19052 + # Linking always hardcodes the temporary library directory.
19053 + hardcode_action=relink
19054 + else
19055 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
19056 + hardcode_action=immediate
19057 + fi
19058 +else
19059 + # We cannot hardcode anything, or else we can only hardcode existing
19060 + # directories.
19061 + hardcode_action=unsupported
19062 +fi
19063 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
19064 +echo "${ECHO_T}$hardcode_action" >&6; }
19065 +
19066 +if test "$hardcode_action" = relink; then
19067 + # Fast installation is not supported
19068 + enable_fast_install=no
19069 +elif test "$shlibpath_overrides_runpath" = yes ||
19070 + test "$enable_shared" = no; then
19071 + # Fast installation is not necessary
19072 + enable_fast_install=needless
19073 +fi
19074 +
19075 +striplib=
19076 +old_striplib=
19077 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19078 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
19079 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19080 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19081 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19082 + { echo "$as_me:$LINENO: result: yes" >&5
19083 +echo "${ECHO_T}yes" >&6; }
19084 +else
19085 +# FIXME - insert some real tests, host_os isn't really good enough
19086 + case $host_os in
19087 + darwin*)
19088 + if test -n "$STRIP" ; then
19089 + striplib="$STRIP -x"
19090 + old_striplib="$STRIP -S"
19091 + { echo "$as_me:$LINENO: result: yes" >&5
19092 +echo "${ECHO_T}yes" >&6; }
19093 + else
19094 + { echo "$as_me:$LINENO: result: no" >&5
19095 +echo "${ECHO_T}no" >&6; }
19096 +fi
19097 + ;;
19098 + *)
19099 + { echo "$as_me:$LINENO: result: no" >&5
19100 +echo "${ECHO_T}no" >&6; }
19101 + ;;
19102 + esac
19103 +fi
19104 +
19105 +if test "x$enable_dlopen" != xyes; then
19106 + enable_dlopen=unknown
19107 + enable_dlopen_self=unknown
19108 + enable_dlopen_self_static=unknown
19109 +else
19110 + lt_cv_dlopen=no
19111 + lt_cv_dlopen_libs=
19112 +
19113 + case $host_os in
19114 + beos*)
19115 + lt_cv_dlopen="load_add_on"
19116 + lt_cv_dlopen_libs=
19117 + lt_cv_dlopen_self=yes
19118 + ;;
19119 +
19120 + mingw* | pw32*)
19121 + lt_cv_dlopen="LoadLibrary"
19122 + lt_cv_dlopen_libs=
19123 + ;;
19124 +
19125 + cygwin*)
19126 + lt_cv_dlopen="dlopen"
19127 + lt_cv_dlopen_libs=
19128 + ;;
19129 +
19130 + darwin*)
19131 + # if libdl is installed we need to link against it
19132 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19133 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19134 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19135 + echo $ECHO_N "(cached) $ECHO_C" >&6
19136 +else
19137 + ac_check_lib_save_LIBS=$LIBS
19138 +LIBS="-ldl $LIBS"
19139 +cat >conftest.$ac_ext <<_ACEOF
19140 +/* confdefs.h. */
19141 +_ACEOF
19142 +cat confdefs.h >>conftest.$ac_ext
19143 +cat >>conftest.$ac_ext <<_ACEOF
19144 +/* end confdefs.h. */
19145 +
19146 +/* Override any GCC internal prototype to avoid an error.
19147 + Use char because int might match the return type of a GCC
19148 + builtin and then its argument prototype would still apply. */
19149 +#ifdef __cplusplus
19150 +extern "C"
19151 +#endif
19152 +char dlopen ();
19153 +int
19154 +main ()
19155 +{
19156 +return dlopen ();
19157 + ;
19158 + return 0;
19159 +}
19160 +_ACEOF
19161 +rm -f conftest.$ac_objext conftest$ac_exeext
19162 +if { (ac_try="$ac_link"
19163 +case "(($ac_try" in
19164 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19165 + *) ac_try_echo=$ac_try;;
19166 +esac
19167 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19168 + (eval "$ac_link") 2>conftest.er1
19169 + ac_status=$?
19170 + grep -v '^ *+' conftest.er1 >conftest.err
19171 + rm -f conftest.er1
19172 + cat conftest.err >&5
19173 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 + (exit $ac_status); } && {
19175 + test -z "$ac_c_werror_flag" ||
19176 + test ! -s conftest.err
19177 + } && test -s conftest$ac_exeext &&
19178 + $as_test_x conftest$ac_exeext; then
19179 + ac_cv_lib_dl_dlopen=yes
19180 +else
19181 + echo "$as_me: failed program was:" >&5
19182 +sed 's/^/| /' conftest.$ac_ext >&5
19183 +
19184 + ac_cv_lib_dl_dlopen=no
19185 +fi
19186 +
19187 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19188 + conftest$ac_exeext conftest.$ac_ext
19189 +LIBS=$ac_check_lib_save_LIBS
19190 +fi
19191 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19192 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19193 +if test $ac_cv_lib_dl_dlopen = yes; then
19194 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19195 +else
19196 +
19197 + lt_cv_dlopen="dyld"
19198 + lt_cv_dlopen_libs=
19199 + lt_cv_dlopen_self=yes
19200 +
19201 +fi
19202 +
19203 + ;;
19204 +
19205 + *)
19206 + { echo "$as_me:$LINENO: checking for shl_load" >&5
19207 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
19208 +if test "${ac_cv_func_shl_load+set}" = set; then
19209 + echo $ECHO_N "(cached) $ECHO_C" >&6
19210 +else
19211 + cat >conftest.$ac_ext <<_ACEOF
19212 +/* confdefs.h. */
19213 +_ACEOF
19214 +cat confdefs.h >>conftest.$ac_ext
19215 +cat >>conftest.$ac_ext <<_ACEOF
19216 +/* end confdefs.h. */
19217 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19218 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
19219 +#define shl_load innocuous_shl_load
19220 +
19221 +/* System header to define __stub macros and hopefully few prototypes,
19222 + which can conflict with char shl_load (); below.
19223 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19224 + <limits.h> exists even on freestanding compilers. */
19225 +
19226 +#ifdef __STDC__
19227 +# include <limits.h>
19228 +#else
19229 +# include <assert.h>
19230 +#endif
19231 +
19232 +#undef shl_load
19233 +
19234 +/* Override any GCC internal prototype to avoid an error.
19235 + Use char because int might match the return type of a GCC
19236 + builtin and then its argument prototype would still apply. */
19237 +#ifdef __cplusplus
19238 +extern "C"
19239 +#endif
19240 +char shl_load ();
19241 +/* The GNU C library defines this for functions which it implements
19242 + to always fail with ENOSYS. Some functions are actually named
19243 + something starting with __ and the normal name is an alias. */
19244 +#if defined __stub_shl_load || defined __stub___shl_load
19245 +choke me
19246 +#endif
19247 +
19248 +int
19249 +main ()
19250 +{
19251 +return shl_load ();
19252 + ;
19253 + return 0;
19254 +}
19255 +_ACEOF
19256 +rm -f conftest.$ac_objext conftest$ac_exeext
19257 +if { (ac_try="$ac_link"
19258 +case "(($ac_try" in
19259 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19260 + *) ac_try_echo=$ac_try;;
19261 +esac
19262 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19263 + (eval "$ac_link") 2>conftest.er1
19264 + ac_status=$?
19265 + grep -v '^ *+' conftest.er1 >conftest.err
19266 + rm -f conftest.er1
19267 + cat conftest.err >&5
19268 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 + (exit $ac_status); } && {
19270 + test -z "$ac_c_werror_flag" ||
19271 + test ! -s conftest.err
19272 + } && test -s conftest$ac_exeext &&
19273 + $as_test_x conftest$ac_exeext; then
19274 + ac_cv_func_shl_load=yes
19275 +else
19276 + echo "$as_me: failed program was:" >&5
19277 +sed 's/^/| /' conftest.$ac_ext >&5
19278 +
19279 + ac_cv_func_shl_load=no
19280 +fi
19281 +
19282 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19283 + conftest$ac_exeext conftest.$ac_ext
19284 +fi
19285 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19286 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
19287 +if test $ac_cv_func_shl_load = yes; then
19288 + lt_cv_dlopen="shl_load"
19289 +else
19290 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19291 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
19292 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19293 + echo $ECHO_N "(cached) $ECHO_C" >&6
19294 +else
19295 + ac_check_lib_save_LIBS=$LIBS
19296 +LIBS="-ldld $LIBS"
19297 +cat >conftest.$ac_ext <<_ACEOF
19298 +/* confdefs.h. */
19299 +_ACEOF
19300 +cat confdefs.h >>conftest.$ac_ext
19301 +cat >>conftest.$ac_ext <<_ACEOF
19302 +/* end confdefs.h. */
19303 +
19304 +/* Override any GCC internal prototype to avoid an error.
19305 + Use char because int might match the return type of a GCC
19306 + builtin and then its argument prototype would still apply. */
19307 +#ifdef __cplusplus
19308 +extern "C"
19309 +#endif
19310 +char shl_load ();
19311 +int
19312 +main ()
19313 +{
19314 +return shl_load ();
19315 + ;
19316 + return 0;
19317 +}
19318 +_ACEOF
19319 +rm -f conftest.$ac_objext conftest$ac_exeext
19320 +if { (ac_try="$ac_link"
19321 +case "(($ac_try" in
19322 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19323 + *) ac_try_echo=$ac_try;;
19324 +esac
19325 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19326 + (eval "$ac_link") 2>conftest.er1
19327 + ac_status=$?
19328 + grep -v '^ *+' conftest.er1 >conftest.err
19329 + rm -f conftest.er1
19330 + cat conftest.err >&5
19331 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 + (exit $ac_status); } && {
19333 + test -z "$ac_c_werror_flag" ||
19334 + test ! -s conftest.err
19335 + } && test -s conftest$ac_exeext &&
19336 + $as_test_x conftest$ac_exeext; then
19337 + ac_cv_lib_dld_shl_load=yes
19338 +else
19339 + echo "$as_me: failed program was:" >&5
19340 +sed 's/^/| /' conftest.$ac_ext >&5
19341 +
19342 + ac_cv_lib_dld_shl_load=no
19343 +fi
19344 +
19345 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19346 + conftest$ac_exeext conftest.$ac_ext
19347 +LIBS=$ac_check_lib_save_LIBS
19348 +fi
19349 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19350 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
19351 +if test $ac_cv_lib_dld_shl_load = yes; then
19352 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19353 +else
19354 + { echo "$as_me:$LINENO: checking for dlopen" >&5
19355 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
19356 +if test "${ac_cv_func_dlopen+set}" = set; then
19357 + echo $ECHO_N "(cached) $ECHO_C" >&6
19358 +else
19359 + cat >conftest.$ac_ext <<_ACEOF
19360 +/* confdefs.h. */
19361 +_ACEOF
19362 +cat confdefs.h >>conftest.$ac_ext
19363 +cat >>conftest.$ac_ext <<_ACEOF
19364 +/* end confdefs.h. */
19365 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19366 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
19367 +#define dlopen innocuous_dlopen
19368 +
19369 +/* System header to define __stub macros and hopefully few prototypes,
19370 + which can conflict with char dlopen (); below.
19371 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19372 + <limits.h> exists even on freestanding compilers. */
19373 +
19374 +#ifdef __STDC__
19375 +# include <limits.h>
19376 +#else
19377 +# include <assert.h>
19378 +#endif
19379 +
19380 +#undef dlopen
19381 +
19382 +/* Override any GCC internal prototype to avoid an error.
19383 + Use char because int might match the return type of a GCC
19384 + builtin and then its argument prototype would still apply. */
19385 +#ifdef __cplusplus
19386 +extern "C"
19387 +#endif
19388 +char dlopen ();
19389 +/* The GNU C library defines this for functions which it implements
19390 + to always fail with ENOSYS. Some functions are actually named
19391 + something starting with __ and the normal name is an alias. */
19392 +#if defined __stub_dlopen || defined __stub___dlopen
19393 +choke me
19394 +#endif
19395 +
19396 +int
19397 +main ()
19398 +{
19399 +return dlopen ();
19400 + ;
19401 + return 0;
19402 +}
19403 +_ACEOF
19404 +rm -f conftest.$ac_objext conftest$ac_exeext
19405 +if { (ac_try="$ac_link"
19406 +case "(($ac_try" in
19407 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19408 + *) ac_try_echo=$ac_try;;
19409 +esac
19410 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19411 + (eval "$ac_link") 2>conftest.er1
19412 + ac_status=$?
19413 + grep -v '^ *+' conftest.er1 >conftest.err
19414 + rm -f conftest.er1
19415 + cat conftest.err >&5
19416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 + (exit $ac_status); } && {
19418 + test -z "$ac_c_werror_flag" ||
19419 + test ! -s conftest.err
19420 + } && test -s conftest$ac_exeext &&
19421 + $as_test_x conftest$ac_exeext; then
19422 + ac_cv_func_dlopen=yes
19423 +else
19424 + echo "$as_me: failed program was:" >&5
19425 +sed 's/^/| /' conftest.$ac_ext >&5
19426 +
19427 + ac_cv_func_dlopen=no
19428 +fi
19429 +
19430 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19431 + conftest$ac_exeext conftest.$ac_ext
19432 +fi
19433 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19434 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
19435 +if test $ac_cv_func_dlopen = yes; then
19436 + lt_cv_dlopen="dlopen"
19437 +else
19438 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19439 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19440 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19441 + echo $ECHO_N "(cached) $ECHO_C" >&6
19442 +else
19443 + ac_check_lib_save_LIBS=$LIBS
19444 +LIBS="-ldl $LIBS"
19445 +cat >conftest.$ac_ext <<_ACEOF
19446 +/* confdefs.h. */
19447 +_ACEOF
19448 +cat confdefs.h >>conftest.$ac_ext
19449 +cat >>conftest.$ac_ext <<_ACEOF
19450 +/* end confdefs.h. */
19451 +
19452 +/* Override any GCC internal prototype to avoid an error.
19453 + Use char because int might match the return type of a GCC
19454 + builtin and then its argument prototype would still apply. */
19455 +#ifdef __cplusplus
19456 +extern "C"
19457 +#endif
19458 +char dlopen ();
19459 +int
19460 +main ()
19461 +{
19462 +return dlopen ();
19463 + ;
19464 + return 0;
19465 +}
19466 +_ACEOF
19467 +rm -f conftest.$ac_objext conftest$ac_exeext
19468 +if { (ac_try="$ac_link"
19469 +case "(($ac_try" in
19470 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19471 + *) ac_try_echo=$ac_try;;
19472 +esac
19473 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19474 + (eval "$ac_link") 2>conftest.er1
19475 + ac_status=$?
19476 + grep -v '^ *+' conftest.er1 >conftest.err
19477 + rm -f conftest.er1
19478 + cat conftest.err >&5
19479 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 + (exit $ac_status); } && {
19481 + test -z "$ac_c_werror_flag" ||
19482 + test ! -s conftest.err
19483 + } && test -s conftest$ac_exeext &&
19484 + $as_test_x conftest$ac_exeext; then
19485 + ac_cv_lib_dl_dlopen=yes
19486 +else
19487 + echo "$as_me: failed program was:" >&5
19488 +sed 's/^/| /' conftest.$ac_ext >&5
19489 +
19490 + ac_cv_lib_dl_dlopen=no
19491 +fi
19492 +
19493 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19494 + conftest$ac_exeext conftest.$ac_ext
19495 +LIBS=$ac_check_lib_save_LIBS
19496 +fi
19497 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19498 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19499 +if test $ac_cv_lib_dl_dlopen = yes; then
19500 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19501 +else
19502 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19503 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
19504 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19505 + echo $ECHO_N "(cached) $ECHO_C" >&6
19506 +else
19507 + ac_check_lib_save_LIBS=$LIBS
19508 +LIBS="-lsvld $LIBS"
19509 +cat >conftest.$ac_ext <<_ACEOF
19510 +/* confdefs.h. */
19511 +_ACEOF
19512 +cat confdefs.h >>conftest.$ac_ext
19513 +cat >>conftest.$ac_ext <<_ACEOF
19514 +/* end confdefs.h. */
19515 +
19516 +/* Override any GCC internal prototype to avoid an error.
19517 + Use char because int might match the return type of a GCC
19518 + builtin and then its argument prototype would still apply. */
19519 +#ifdef __cplusplus
19520 +extern "C"
19521 +#endif
19522 +char dlopen ();
19523 +int
19524 +main ()
19525 +{
19526 +return dlopen ();
19527 + ;
19528 + return 0;
19529 +}
19530 +_ACEOF
19531 +rm -f conftest.$ac_objext conftest$ac_exeext
19532 +if { (ac_try="$ac_link"
19533 +case "(($ac_try" in
19534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 + *) ac_try_echo=$ac_try;;
19536 +esac
19537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19538 + (eval "$ac_link") 2>conftest.er1
19539 + ac_status=$?
19540 + grep -v '^ *+' conftest.er1 >conftest.err
19541 + rm -f conftest.er1
19542 + cat conftest.err >&5
19543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 + (exit $ac_status); } && {
19545 + test -z "$ac_c_werror_flag" ||
19546 + test ! -s conftest.err
19547 + } && test -s conftest$ac_exeext &&
19548 + $as_test_x conftest$ac_exeext; then
19549 + ac_cv_lib_svld_dlopen=yes
19550 +else
19551 + echo "$as_me: failed program was:" >&5
19552 +sed 's/^/| /' conftest.$ac_ext >&5
19553 +
19554 + ac_cv_lib_svld_dlopen=no
19555 +fi
19556 +
19557 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19558 + conftest$ac_exeext conftest.$ac_ext
19559 +LIBS=$ac_check_lib_save_LIBS
19560 +fi
19561 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19562 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
19563 +if test $ac_cv_lib_svld_dlopen = yes; then
19564 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19565 +else
19566 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19567 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
19568 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19569 + echo $ECHO_N "(cached) $ECHO_C" >&6
19570 +else
19571 + ac_check_lib_save_LIBS=$LIBS
19572 +LIBS="-ldld $LIBS"
19573 +cat >conftest.$ac_ext <<_ACEOF
19574 +/* confdefs.h. */
19575 +_ACEOF
19576 +cat confdefs.h >>conftest.$ac_ext
19577 +cat >>conftest.$ac_ext <<_ACEOF
19578 +/* end confdefs.h. */
19579 +
19580 +/* Override any GCC internal prototype to avoid an error.
19581 + Use char because int might match the return type of a GCC
19582 + builtin and then its argument prototype would still apply. */
19583 +#ifdef __cplusplus
19584 +extern "C"
19585 +#endif
19586 +char dld_link ();
19587 +int
19588 +main ()
19589 +{
19590 +return dld_link ();
19591 + ;
19592 + return 0;
19593 +}
19594 +_ACEOF
19595 +rm -f conftest.$ac_objext conftest$ac_exeext
19596 +if { (ac_try="$ac_link"
19597 +case "(($ac_try" in
19598 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19599 + *) ac_try_echo=$ac_try;;
19600 +esac
19601 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19602 + (eval "$ac_link") 2>conftest.er1
19603 + ac_status=$?
19604 + grep -v '^ *+' conftest.er1 >conftest.err
19605 + rm -f conftest.er1
19606 + cat conftest.err >&5
19607 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 + (exit $ac_status); } && {
19609 + test -z "$ac_c_werror_flag" ||
19610 + test ! -s conftest.err
19611 + } && test -s conftest$ac_exeext &&
19612 + $as_test_x conftest$ac_exeext; then
19613 + ac_cv_lib_dld_dld_link=yes
19614 +else
19615 + echo "$as_me: failed program was:" >&5
19616 +sed 's/^/| /' conftest.$ac_ext >&5
19617 +
19618 + ac_cv_lib_dld_dld_link=no
19619 +fi
19620 +
19621 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19622 + conftest$ac_exeext conftest.$ac_ext
19623 +LIBS=$ac_check_lib_save_LIBS
19624 +fi
19625 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19626 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
19627 +if test $ac_cv_lib_dld_dld_link = yes; then
19628 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19629 +fi
19630 +
19631 +
19632 +fi
19633 +
19634 +
19635 +fi
19636 +
19637 +
19638 +fi
19639 +
19640 +
19641 +fi
19642 +
19643 +
19644 +fi
19645 +
19646 + ;;
19647 + esac
19648 +
19649 + if test "x$lt_cv_dlopen" != xno; then
19650 + enable_dlopen=yes
19651 + else
19652 + enable_dlopen=no
19653 + fi
19654 +
19655 + case $lt_cv_dlopen in
19656 + dlopen)
19657 + save_CPPFLAGS="$CPPFLAGS"
19658 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19659 +
19660 + save_LDFLAGS="$LDFLAGS"
19661 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19662 +
19663 + save_LIBS="$LIBS"
19664 + LIBS="$lt_cv_dlopen_libs $LIBS"
19665 +
19666 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19667 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
19668 +if test "${lt_cv_dlopen_self+set}" = set; then
19669 + echo $ECHO_N "(cached) $ECHO_C" >&6
19670 +else
19671 + if test "$cross_compiling" = yes; then :
19672 + lt_cv_dlopen_self=cross
19673 +else
19674 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19675 + lt_status=$lt_dlunknown
19676 + cat > conftest.$ac_ext <<EOF
19677 +#line 9802 "configure"
19678 +#include "confdefs.h"
19679 +
19680 +#if HAVE_DLFCN_H
19681 +#include <dlfcn.h>
19682 +#endif
19683 +
19684 +#include <stdio.h>
19685 +
19686 +#ifdef RTLD_GLOBAL
19687 +# define LT_DLGLOBAL RTLD_GLOBAL
19688 +#else
19689 +# ifdef DL_GLOBAL
19690 +# define LT_DLGLOBAL DL_GLOBAL
19691 +# else
19692 +# define LT_DLGLOBAL 0
19693 +# endif
19694 +#endif
19695 +
19696 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19697 + find out it does not work in some platform. */
19698 +#ifndef LT_DLLAZY_OR_NOW
19699 +# ifdef RTLD_LAZY
19700 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
19701 +# else
19702 +# ifdef DL_LAZY
19703 +# define LT_DLLAZY_OR_NOW DL_LAZY
19704 +# else
19705 +# ifdef RTLD_NOW
19706 +# define LT_DLLAZY_OR_NOW RTLD_NOW
19707 +# else
19708 +# ifdef DL_NOW
19709 +# define LT_DLLAZY_OR_NOW DL_NOW
19710 +# else
19711 +# define LT_DLLAZY_OR_NOW 0
19712 +# endif
19713 +# endif
19714 +# endif
19715 +# endif
19716 +#endif
19717 +
19718 +#ifdef __cplusplus
19719 +extern "C" void exit (int);
19720 +#endif
19721 +
19722 +void fnord() { int i=42;}
19723 +int main ()
19724 +{
19725 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19726 + int status = $lt_dlunknown;
19727 +
19728 + if (self)
19729 + {
19730 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19731 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19732 + /* dlclose (self); */
19733 + }
19734 + else
19735 + puts (dlerror ());
19736 +
19737 + exit (status);
19738 +}
19739 +EOF
19740 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19741 + (eval $ac_link) 2>&5
19742 + ac_status=$?
19743 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19745 + (./conftest; exit; ) >&5 2>/dev/null
19746 + lt_status=$?
19747 + case x$lt_status in
19748 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19749 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19750 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
19751 + esac
19752 + else :
19753 + # compilation failed
19754 + lt_cv_dlopen_self=no
19755 + fi
19756 +fi
19757 +rm -fr conftest*
19758 +
19759 +
19760 +fi
19761 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19762 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
19763 +
19764 + if test "x$lt_cv_dlopen_self" = xyes; then
19765 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
19766 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19767 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
19768 +if test "${lt_cv_dlopen_self_static+set}" = set; then
19769 + echo $ECHO_N "(cached) $ECHO_C" >&6
19770 +else
19771 + if test "$cross_compiling" = yes; then :
19772 + lt_cv_dlopen_self_static=cross
19773 +else
19774 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19775 + lt_status=$lt_dlunknown
19776 + cat > conftest.$ac_ext <<EOF
19777 +#line 9902 "configure"
19778 +#include "confdefs.h"
19779 +
19780 +#if HAVE_DLFCN_H
19781 +#include <dlfcn.h>
19782 +#endif
19783 +
19784 +#include <stdio.h>
19785 +
19786 +#ifdef RTLD_GLOBAL
19787 +# define LT_DLGLOBAL RTLD_GLOBAL
19788 +#else
19789 +# ifdef DL_GLOBAL
19790 +# define LT_DLGLOBAL DL_GLOBAL
19791 +# else
19792 +# define LT_DLGLOBAL 0
19793 +# endif
19794 +#endif
19795 +
19796 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19797 + find out it does not work in some platform. */
19798 +#ifndef LT_DLLAZY_OR_NOW
19799 +# ifdef RTLD_LAZY
19800 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
19801 +# else
19802 +# ifdef DL_LAZY
19803 +# define LT_DLLAZY_OR_NOW DL_LAZY
19804 +# else
19805 +# ifdef RTLD_NOW
19806 +# define LT_DLLAZY_OR_NOW RTLD_NOW
19807 +# else
19808 +# ifdef DL_NOW
19809 +# define LT_DLLAZY_OR_NOW DL_NOW
19810 +# else
19811 +# define LT_DLLAZY_OR_NOW 0
19812 +# endif
19813 +# endif
19814 +# endif
19815 +# endif
19816 +#endif
19817 +
19818 +#ifdef __cplusplus
19819 +extern "C" void exit (int);
19820 +#endif
19821 +
19822 +void fnord() { int i=42;}
19823 +int main ()
19824 +{
19825 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19826 + int status = $lt_dlunknown;
19827 +
19828 + if (self)
19829 + {
19830 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19831 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19832 + /* dlclose (self); */
19833 + }
19834 + else
19835 + puts (dlerror ());
19836 +
19837 + exit (status);
19838 +}
19839 +EOF
19840 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19841 + (eval $ac_link) 2>&5
19842 + ac_status=$?
19843 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19845 + (./conftest; exit; ) >&5 2>/dev/null
19846 + lt_status=$?
19847 + case x$lt_status in
19848 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19849 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19850 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
19851 + esac
19852 + else :
19853 + # compilation failed
19854 + lt_cv_dlopen_self_static=no
19855 + fi
19856 +fi
19857 +rm -fr conftest*
19858 +
19859 +
19860 +fi
19861 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19862 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
19863 + fi
19864 +
19865 + CPPFLAGS="$save_CPPFLAGS"
19866 + LDFLAGS="$save_LDFLAGS"
19867 + LIBS="$save_LIBS"
19868 + ;;
19869 + esac
19870 +
19871 + case $lt_cv_dlopen_self in
19872 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19873 + *) enable_dlopen_self=unknown ;;
19874 + esac
19875 +
19876 + case $lt_cv_dlopen_self_static in
19877 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19878 + *) enable_dlopen_self_static=unknown ;;
19879 + esac
19880 +fi
19881 +
19882 +
19883 +# Report which library types will actually be built
19884 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19885 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
19886 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
19887 +echo "${ECHO_T}$can_build_shared" >&6; }
19888 +
19889 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19890 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
19891 +test "$can_build_shared" = "no" && enable_shared=no
19892 +
19893 +# On AIX, shared libraries and static libraries use the same namespace, and
19894 +# are all built from PIC.
19895 +case $host_os in
19896 +aix3*)
19897 + test "$enable_shared" = yes && enable_static=no
19898 + if test -n "$RANLIB"; then
19899 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
19900 + postinstall_cmds='$RANLIB $lib'
19901 + fi
19902 + ;;
19903 +
19904 +aix4* | aix5*)
19905 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19906 + test "$enable_shared" = yes && enable_static=no
19907 + fi
19908 + ;;
19909 +esac
19910 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
19911 +echo "${ECHO_T}$enable_shared" >&6; }
19912 +
19913 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19914 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
19915 +# Make sure either enable_shared or enable_static is yes.
19916 +test "$enable_shared" = yes || enable_static=yes
19917 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
19918 +echo "${ECHO_T}$enable_static" >&6; }
19919 +
19920 +# The else clause should only fire when bootstrapping the
19921 +# libtool distribution, otherwise you forgot to ship ltmain.sh
19922 +# with your package, and you will get complaints that there are
19923 +# no rules to generate ltmain.sh.
19924 +if test -f "$ltmain"; then
19925 + # See if we are running on zsh, and set the options which allow our commands through
19926 + # without removal of \ escapes.
19927 + if test -n "${ZSH_VERSION+set}" ; then
19928 + setopt NO_GLOB_SUBST
19929 + fi
19930 + # Now quote all the things that may contain metacharacters while being
19931 + # careful not to overquote the AC_SUBSTed values. We take copies of the
19932 + # variables and quote the copies for generation of the libtool script.
19933 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19934 + SED SHELL STRIP \
19935 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19936 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19937 + deplibs_check_method reload_flag reload_cmds need_locks \
19938 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19939 + lt_cv_sys_global_symbol_to_c_name_address \
19940 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19941 + old_postinstall_cmds old_postuninstall_cmds \
19942 + compiler \
19943 + CC \
19944 + LD \
19945 + lt_prog_compiler_wl \
19946 + lt_prog_compiler_pic \
19947 + lt_prog_compiler_static \
19948 + lt_prog_compiler_no_builtin_flag \
19949 + export_dynamic_flag_spec \
19950 + thread_safe_flag_spec \
19951 + whole_archive_flag_spec \
19952 + enable_shared_with_static_runtimes \
19953 + old_archive_cmds \
19954 + old_archive_from_new_cmds \
19955 + predep_objects \
19956 + postdep_objects \
19957 + predeps \
19958 + postdeps \
19959 + compiler_lib_search_path \
19960 + archive_cmds \
19961 + archive_expsym_cmds \
19962 + postinstall_cmds \
19963 + postuninstall_cmds \
19964 + old_archive_from_expsyms_cmds \
19965 + allow_undefined_flag \
19966 + no_undefined_flag \
19967 + export_symbols_cmds \
19968 + hardcode_libdir_flag_spec \
19969 + hardcode_libdir_flag_spec_ld \
19970 + hardcode_libdir_separator \
19971 + hardcode_automatic \
19972 + module_cmds \
19973 + module_expsym_cmds \
19974 + lt_cv_prog_compiler_c_o \
19975 + fix_srcfile_path \
19976 + exclude_expsyms \
19977 + include_expsyms; do
19978 +
19979 + case $var in
19980 + old_archive_cmds | \
19981 + old_archive_from_new_cmds | \
19982 + archive_cmds | \
19983 + archive_expsym_cmds | \
19984 + module_cmds | \
19985 + module_expsym_cmds | \
19986 + old_archive_from_expsyms_cmds | \
19987 + export_symbols_cmds | \
19988 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
19989 + postinstall_cmds | postuninstall_cmds | \
19990 + old_postinstall_cmds | old_postuninstall_cmds | \
19991 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19992 + # Double-quote double-evaled strings.
19993 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19994 + ;;
19995 + *)
19996 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19997 + ;;
19998 + esac
19999 + done
20000 +
20001 + case $lt_echo in
20002 + *'\$0 --fallback-echo"')
20003 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20004 + ;;
20005 + esac
20006 +
20007 +cfgfile="${ofile}T"
20008 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
20009 + $rm -f "$cfgfile"
20010 + { echo "$as_me:$LINENO: creating $ofile" >&5
20011 +echo "$as_me: creating $ofile" >&6;}
20012 +
20013 + cat <<__EOF__ >> "$cfgfile"
20014 +#! $SHELL
20015 +
20016 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20017 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
20018 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20019 +#
20020 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
20021 +# Free Software Foundation, Inc.
20022 +#
20023 +# This file is part of GNU Libtool:
20024 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
20025 +#
20026 +# This program is free software; you can redistribute it and/or modify
20027 +# it under the terms of the GNU General Public License as published by
20028 +# the Free Software Foundation; either version 2 of the License, or
20029 +# (at your option) any later version.
20030 +#
20031 +# This program is distributed in the hope that it will be useful, but
20032 +# WITHOUT ANY WARRANTY; without even the implied warranty of
20033 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20034 +# General Public License for more details.
20035 +#
20036 +# You should have received a copy of the GNU General Public License
20037 +# along with this program; if not, write to the Free Software
20038 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20039 +#
20040 +# As a special exception to the GNU General Public License, if you
20041 +# distribute this file as part of a program that contains a
20042 +# configuration script generated by Autoconf, you may include it under
20043 +# the same distribution terms that you use for the rest of that program.
20044 +
20045 +# A sed program that does not truncate output.
20046 +SED=$lt_SED
20047 +
20048 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20049 +Xsed="$SED -e 1s/^X//"
20050 +
20051 +# The HP-UX ksh and POSIX shell print the target directory to stdout
20052 +# if CDPATH is set.
20053 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20054 +
20055 +# The names of the tagged configurations supported by this script.
20056 +available_tags=
20057 +
20058 +# ### BEGIN LIBTOOL CONFIG
20059 +
20060 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20061 +
20062 +# Shell to use when invoking shell scripts.
20063 +SHELL=$lt_SHELL
20064 +
20065 +# Whether or not to build shared libraries.
20066 +build_libtool_libs=$enable_shared
20067 +
20068 +# Whether or not to build static libraries.
20069 +build_old_libs=$enable_static
20070 +
20071 +# Whether or not to add -lc for building shared libraries.
20072 +build_libtool_need_lc=$archive_cmds_need_lc
20073 +
20074 +# Whether or not to disallow shared libs when runtime libs are static
20075 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20076 +
20077 +# Whether or not to optimize for fast installation.
20078 +fast_install=$enable_fast_install
20079 +
20080 +# The host system.
20081 +host_alias=$host_alias
20082 +host=$host
20083 +host_os=$host_os
20084 +
20085 +# The build system.
20086 +build_alias=$build_alias
20087 +build=$build
20088 +build_os=$build_os
20089 +
20090 +# An echo program that does not interpret backslashes.
20091 +echo=$lt_echo
20092 +
20093 +# The archiver.
20094 +AR=$lt_AR
20095 +AR_FLAGS=$lt_AR_FLAGS
20096 +
20097 +# A C compiler.
20098 +LTCC=$lt_LTCC
20099 +
20100 +# LTCC compiler flags.
20101 +LTCFLAGS=$lt_LTCFLAGS
20102 +
20103 +# A language-specific compiler.
20104 +CC=$lt_compiler
20105 +
20106 +# Is the compiler the GNU C compiler?
20107 +with_gcc=$GCC
20108 +
20109 +# An ERE matcher.
20110 +EGREP=$lt_EGREP
20111 +
20112 +# The linker used to build libraries.
20113 +LD=$lt_LD
20114 +
20115 +# Whether we need hard or soft links.
20116 +LN_S=$lt_LN_S
20117 +
20118 +# A BSD-compatible nm program.
20119 +NM=$lt_NM
20120 +
20121 +# A symbol stripping program
20122 +STRIP=$lt_STRIP
20123 +
20124 +# Used to examine libraries when file_magic_cmd begins "file"
20125 +MAGIC_CMD=$MAGIC_CMD
20126 +
20127 +# Used on cygwin: DLL creation program.
20128 +DLLTOOL="$DLLTOOL"
20129 +
20130 +# Used on cygwin: object dumper.
20131 +OBJDUMP="$OBJDUMP"
20132 +
20133 +# Used on cygwin: assembler.
20134 +AS="$AS"
20135 +
20136 +# The name of the directory that contains temporary libtool files.
20137 +objdir=$objdir
20138 +
20139 +# How to create reloadable object files.
20140 +reload_flag=$lt_reload_flag
20141 +reload_cmds=$lt_reload_cmds
20142 +
20143 +# How to pass a linker flag through the compiler.
20144 +wl=$lt_lt_prog_compiler_wl
20145 +
20146 +# Object file suffix (normally "o").
20147 +objext="$ac_objext"
20148 +
20149 +# Old archive suffix (normally "a").
20150 +libext="$libext"
20151 +
20152 +# Shared library suffix (normally ".so").
20153 +shrext_cmds='$shrext_cmds'
20154 +
20155 +# Executable file suffix (normally "").
20156 +exeext="$exeext"
20157 +
20158 +# Additional compiler flags for building library objects.
20159 +pic_flag=$lt_lt_prog_compiler_pic
20160 +pic_mode=$pic_mode
20161 +
20162 +# What is the maximum length of a command?
20163 +max_cmd_len=$lt_cv_sys_max_cmd_len
20164 +
20165 +# Does compiler simultaneously support -c and -o options?
20166 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20167 +
20168 +# Must we lock files when doing compilation?
20169 +need_locks=$lt_need_locks
20170 +
20171 +# Do we need the lib prefix for modules?
20172 +need_lib_prefix=$need_lib_prefix
20173 +
20174 +# Do we need a version for libraries?
20175 +need_version=$need_version
20176 +
20177 +# Whether dlopen is supported.
20178 +dlopen_support=$enable_dlopen
20179 +
20180 +# Whether dlopen of programs is supported.
20181 +dlopen_self=$enable_dlopen_self
20182 +
20183 +# Whether dlopen of statically linked programs is supported.
20184 +dlopen_self_static=$enable_dlopen_self_static
20185 +
20186 +# Compiler flag to prevent dynamic linking.
20187 +link_static_flag=$lt_lt_prog_compiler_static
20188 +
20189 +# Compiler flag to turn off builtin functions.
20190 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20191 +
20192 +# Compiler flag to allow reflexive dlopens.
20193 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20194 +
20195 +# Compiler flag to generate shared objects directly from archives.
20196 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
20197 +
20198 +# Compiler flag to generate thread-safe objects.
20199 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
20200 +
20201 +# Library versioning type.
20202 +version_type=$version_type
20203 +
20204 +# Format of library name prefix.
20205 +libname_spec=$lt_libname_spec
20206 +
20207 +# List of archive names. First name is the real one, the rest are links.
20208 +# The last name is the one that the linker finds with -lNAME.
20209 +library_names_spec=$lt_library_names_spec
20210 +
20211 +# The coded name of the library, if different from the real name.
20212 +soname_spec=$lt_soname_spec
20213 +
20214 +# Commands used to build and install an old-style archive.
20215 +RANLIB=$lt_RANLIB
20216 +old_archive_cmds=$lt_old_archive_cmds
20217 +old_postinstall_cmds=$lt_old_postinstall_cmds
20218 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
20219 +
20220 +# Create an old-style archive from a shared archive.
20221 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20222 +
20223 +# Create a temporary old-style archive to link instead of a shared archive.
20224 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20225 +
20226 +# Commands used to build and install a shared archive.
20227 +archive_cmds=$lt_archive_cmds
20228 +archive_expsym_cmds=$lt_archive_expsym_cmds
20229 +postinstall_cmds=$lt_postinstall_cmds
20230 +postuninstall_cmds=$lt_postuninstall_cmds
20231 +
20232 +# Commands used to build a loadable module (assumed same as above if empty)
20233 +module_cmds=$lt_module_cmds
20234 +module_expsym_cmds=$lt_module_expsym_cmds
20235 +
20236 +# Commands to strip libraries.
20237 +old_striplib=$lt_old_striplib
20238 +striplib=$lt_striplib
20239 +
20240 +# Dependencies to place before the objects being linked to create a
20241 +# shared library.
20242 +predep_objects=$lt_predep_objects
20243 +
20244 +# Dependencies to place after the objects being linked to create a
20245 +# shared library.
20246 +postdep_objects=$lt_postdep_objects
20247 +
20248 +# Dependencies to place before the objects being linked to create a
20249 +# shared library.
20250 +predeps=$lt_predeps
20251 +
20252 +# Dependencies to place after the objects being linked to create a
20253 +# shared library.
20254 +postdeps=$lt_postdeps
20255 +
20256 +# The library search path used internally by the compiler when linking
20257 +# a shared library.
20258 +compiler_lib_search_path=$lt_compiler_lib_search_path
20259 +
20260 +# Method to check whether dependent libraries are shared objects.
20261 +deplibs_check_method=$lt_deplibs_check_method
20262 +
20263 +# Command to use when deplibs_check_method == file_magic.
20264 +file_magic_cmd=$lt_file_magic_cmd
20265 +
20266 +# Flag that allows shared libraries with undefined symbols to be built.
20267 +allow_undefined_flag=$lt_allow_undefined_flag
20268 +
20269 +# Flag that forces no undefined symbols.
20270 +no_undefined_flag=$lt_no_undefined_flag
20271 +
20272 +# Commands used to finish a libtool library installation in a directory.
20273 +finish_cmds=$lt_finish_cmds
20274 +
20275 +# Same as above, but a single script fragment to be evaled but not shown.
20276 +finish_eval=$lt_finish_eval
20277 +
20278 +# Take the output of nm and produce a listing of raw symbols and C names.
20279 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20280 +
20281 +# Transform the output of nm in a proper C declaration
20282 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20283 +
20284 +# Transform the output of nm in a C name address pair
20285 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20286 +
20287 +# This is the shared library runtime path variable.
20288 +runpath_var=$runpath_var
20289 +
20290 +# This is the shared library path variable.
20291 +shlibpath_var=$shlibpath_var
20292 +
20293 +# Is shlibpath searched before the hard-coded library search path?
20294 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20295 +
20296 +# How to hardcode a shared library path into an executable.
20297 +hardcode_action=$hardcode_action
20298 +
20299 +# Whether we should hardcode library paths into libraries.
20300 +hardcode_into_libs=$hardcode_into_libs
20301 +
20302 +# Flag to hardcode \$libdir into a binary during linking.
20303 +# This must work even if \$libdir does not exist.
20304 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20305 +
20306 +# If ld is used when linking, flag to hardcode \$libdir into
20307 +# a binary during linking. This must work even if \$libdir does
20308 +# not exist.
20309 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20310 +
20311 +# Whether we need a single -rpath flag with a separated argument.
20312 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
20313 +
20314 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20315 +# resulting binary.
20316 +hardcode_direct=$hardcode_direct
20317 +
20318 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20319 +# resulting binary.
20320 +hardcode_minus_L=$hardcode_minus_L
20321 +
20322 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20323 +# the resulting binary.
20324 +hardcode_shlibpath_var=$hardcode_shlibpath_var
20325 +
20326 +# Set to yes if building a shared library automatically hardcodes DIR into the library
20327 +# and all subsequent libraries and executables linked against it.
20328 +hardcode_automatic=$hardcode_automatic
20329 +
20330 +# Variables whose values should be saved in libtool wrapper scripts and
20331 +# restored at relink time.
20332 +variables_saved_for_relink="$variables_saved_for_relink"
20333 +
20334 +# Whether libtool must link a program against all its dependency libraries.
20335 +link_all_deplibs=$link_all_deplibs
20336 +
20337 +# Compile-time system search path for libraries
20338 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20339 +
20340 +# Run-time system search path for libraries
20341 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20342 +
20343 +# Fix the shell variable \$srcfile for the compiler.
20344 +fix_srcfile_path=$lt_fix_srcfile_path
20345 +
20346 +# Set to yes if exported symbols are required.
20347 +always_export_symbols=$always_export_symbols
20348 +
20349 +# The commands to list exported symbols.
20350 +export_symbols_cmds=$lt_export_symbols_cmds
20351 +
20352 +# The commands to extract the exported symbol list from a shared archive.
20353 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
20354 +
20355 +# Symbols that should not be listed in the preloaded symbols.
20356 +exclude_expsyms=$lt_exclude_expsyms
20357 +
20358 +# Symbols that must always be exported.
20359 +include_expsyms=$lt_include_expsyms
20360 +
20361 +# ### END LIBTOOL CONFIG
20362 +
20363 +__EOF__
20364 +
20365 +
20366 + case $host_os in
20367 + aix3*)
20368 + cat <<\EOF >> "$cfgfile"
20369 +
20370 +# AIX sometimes has problems with the GCC collect2 program. For some
20371 +# reason, if we set the COLLECT_NAMES environment variable, the problems
20372 +# vanish in a puff of smoke.
20373 +if test "X${COLLECT_NAMES+set}" != Xset; then
20374 + COLLECT_NAMES=
20375 + export COLLECT_NAMES
20376 +fi
20377 +EOF
20378 + ;;
20379 + esac
20380 +
20381 + # We use sed instead of cat because bash on DJGPP gets confused if
20382 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
20383 + # text mode, it properly converts lines to CR/LF. This bash problem
20384 + # is reportedly fixed, but why not run on old versions too?
20385 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
20386 +
20387 + mv -f "$cfgfile" "$ofile" || \
20388 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20389 + chmod +x "$ofile"
20390 +
20391 +else
20392 + # If there is no Makefile yet, we rely on a make rule to execute
20393 + # `config.status --recheck' to rerun these tests and create the
20394 + # libtool script then.
20395 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20396 + if test -f "$ltmain_in"; then
20397 + test -f Makefile && make "$ltmain"
20398 + fi
20399 +fi
20400 +
20401 +
20402 +ac_ext=c
20403 +ac_cpp='$CPP $CPPFLAGS'
20404 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20405 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20406 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
20407 +
20408 +CC="$lt_save_CC"
20409 +
20410 +
20411 +# Check whether --with-tags was given.
20412 +if test "${with_tags+set}" = set; then
20413 + withval=$with_tags; tagnames="$withval"
20414 +fi
20415 +
20416 +
20417 +if test -f "$ltmain" && test -n "$tagnames"; then
20418 + if test ! -f "${ofile}"; then
20419 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
20420 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
20421 + fi
20422 +
20423 + if test -z "$LTCC"; then
20424 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
20425 + if test -z "$LTCC"; then
20426 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
20427 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
20428 + else
20429 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
20430 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20431 + fi
20432 + fi
20433 + if test -z "$LTCFLAGS"; then
20434 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
20435 + fi
20436 +
20437 + # Extract list of available tagged configurations in $ofile.
20438 + # Note that this assumes the entire list is on one line.
20439 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
20440 +
20441 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
20442 + for tagname in $tagnames; do
20443 + IFS="$lt_save_ifs"
20444 + # Check whether tagname contains only valid characters
20445 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
20446 + "") ;;
20447 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
20448 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
20449 + { (exit 1); exit 1; }; }
20450 + ;;
20451 + esac
20452 +
20453 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
20454 + then
20455 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
20456 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20457 + { (exit 1); exit 1; }; }
20458 + fi
20459 +
20460 + # Update the list of available tags.
20461 + if test -n "$tagname"; then
20462 + echo appending configuration tag \"$tagname\" to $ofile
20463 +
20464 + case $tagname in
20465 + CXX)
20466 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
20467 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
20468 + (test "X$CXX" != "Xg++"))) ; then
20469 + ac_ext=cpp
20470 +ac_cpp='$CXXCPP $CPPFLAGS'
20471 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20472 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20473 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20474 +
20475 +
20476 +
20477 +
20478 +archive_cmds_need_lc_CXX=no
20479 +allow_undefined_flag_CXX=
20480 +always_export_symbols_CXX=no
20481 +archive_expsym_cmds_CXX=
20482 +export_dynamic_flag_spec_CXX=
20483 +hardcode_direct_CXX=no
20484 +hardcode_libdir_flag_spec_CXX=
20485 +hardcode_libdir_flag_spec_ld_CXX=
20486 +hardcode_libdir_separator_CXX=
20487 +hardcode_minus_L_CXX=no
20488 +hardcode_shlibpath_var_CXX=unsupported
20489 +hardcode_automatic_CXX=no
20490 +module_cmds_CXX=
20491 +module_expsym_cmds_CXX=
20492 +link_all_deplibs_CXX=unknown
20493 +old_archive_cmds_CXX=$old_archive_cmds
20494 +no_undefined_flag_CXX=
20495 +whole_archive_flag_spec_CXX=
20496 +enable_shared_with_static_runtimes_CXX=no
20497 +
20498 +# Dependencies to place before and after the object being linked:
20499 +predep_objects_CXX=
20500 +postdep_objects_CXX=
20501 +predeps_CXX=
20502 +postdeps_CXX=
20503 +compiler_lib_search_path_CXX=
20504 +
20505 +# Source file extension for C++ test sources.
20506 +ac_ext=cpp
20507 +
20508 +# Object file extension for compiled C++ test sources.
20509 +objext=o
20510 +objext_CXX=$objext
20511 +
20512 +# Code to be used in simple compile tests
20513 +lt_simple_compile_test_code="int some_variable = 0;"
20514 +
20515 +# Code to be used in simple link tests
20516 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
20517 +
20518 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20519 +
20520 +# If no C compiler was specified, use CC.
20521 +LTCC=${LTCC-"$CC"}
20522 +
20523 +# If no C compiler flags were specified, use CFLAGS.
20524 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20525 +
20526 +# Allow CC to be a program name with arguments.
20527 +compiler=$CC
20528 +
20529 +
20530 +# save warnings/boilerplate of simple test code
20531 +ac_outfile=conftest.$ac_objext
20532 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20533 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20534 +_lt_compiler_boilerplate=`cat conftest.err`
20535 +$rm conftest*
20536 +
20537 +ac_outfile=conftest.$ac_objext
20538 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
20539 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20540 +_lt_linker_boilerplate=`cat conftest.err`
20541 +$rm conftest*
20542 +
20543 +
20544 +# Allow CC to be a program name with arguments.
20545 +lt_save_CC=$CC
20546 +lt_save_LD=$LD
20547 +lt_save_GCC=$GCC
20548 +GCC=$GXX
20549 +lt_save_with_gnu_ld=$with_gnu_ld
20550 +lt_save_path_LD=$lt_cv_path_LD
20551 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
20552 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
20553 +else
20554 + $as_unset lt_cv_prog_gnu_ld
20555 +fi
20556 +if test -n "${lt_cv_path_LDCXX+set}"; then
20557 + lt_cv_path_LD=$lt_cv_path_LDCXX
20558 +else
20559 + $as_unset lt_cv_path_LD
20560 +fi
20561 +test -z "${LDCXX+set}" || LD=$LDCXX
20562 +CC=${CXX-"c++"}
20563 +compiler=$CC
20564 +compiler_CXX=$CC
20565 +for cc_temp in $compiler""; do
20566 + case $cc_temp in
20567 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20568 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20569 + \-*) ;;
20570 + *) break;;
20571 + esac
20572 +done
20573 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20574 +
20575 +
20576 +# We don't want -fno-exception wen compiling C++ code, so set the
20577 +# no_builtin_flag separately
20578 +if test "$GXX" = yes; then
20579 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
20580 +else
20581 + lt_prog_compiler_no_builtin_flag_CXX=
20582 +fi
20583 +
20584 +if test "$GXX" = yes; then
20585 + # Set up default GNU C++ configuration
20586 +
20587 +
20588 +# Check whether --with-gnu-ld was given.
20589 +if test "${with_gnu_ld+set}" = set; then
20590 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20591 +else
20592 + with_gnu_ld=no
20593 +fi
20594 +
20595 +ac_prog=ld
20596 +if test "$GCC" = yes; then
20597 + # Check if gcc -print-prog-name=ld gives a path.
20598 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
20599 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
20600 + case $host in
20601 + *-*-mingw*)
20602 + # gcc leaves a trailing carriage return which upsets mingw
20603 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20604 + *)
20605 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20606 + esac
20607 + case $ac_prog in
20608 + # Accept absolute paths.
20609 + [\\/]* | ?:[\\/]*)
20610 + re_direlt='/[^/][^/]*/\.\./'
20611 + # Canonicalize the pathname of ld
20612 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
20613 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
20614 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
20615 + done
20616 + test -z "$LD" && LD="$ac_prog"
20617 + ;;
20618 + "")
20619 + # If it fails, then pretend we aren't using GCC.
20620 + ac_prog=ld
20621 + ;;
20622 + *)
20623 + # If it is relative, then search for the first ld in PATH.
20624 + with_gnu_ld=unknown
20625 + ;;
20626 + esac
20627 +elif test "$with_gnu_ld" = yes; then
20628 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
20629 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
20630 +else
20631 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20632 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
20633 +fi
20634 +if test "${lt_cv_path_LD+set}" = set; then
20635 + echo $ECHO_N "(cached) $ECHO_C" >&6
20636 +else
20637 + if test -z "$LD"; then
20638 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20639 + for ac_dir in $PATH; do
20640 + IFS="$lt_save_ifs"
20641 + test -z "$ac_dir" && ac_dir=.
20642 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20643 + lt_cv_path_LD="$ac_dir/$ac_prog"
20644 + # Check to see if the program is GNU ld. I'd rather use --version,
20645 + # but apparently some variants of GNU ld only accept -v.
20646 + # Break only if it was the GNU/non-GNU ld that we prefer.
20647 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20648 + *GNU* | *'with BFD'*)
20649 + test "$with_gnu_ld" != no && break
20650 + ;;
20651 + *)
20652 + test "$with_gnu_ld" != yes && break
20653 + ;;
20654 + esac
20655 + fi
20656 + done
20657 + IFS="$lt_save_ifs"
20658 +else
20659 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
20660 +fi
20661 +fi
20662 +
20663 +LD="$lt_cv_path_LD"
20664 +if test -n "$LD"; then
20665 + { echo "$as_me:$LINENO: result: $LD" >&5
20666 +echo "${ECHO_T}$LD" >&6; }
20667 +else
20668 + { echo "$as_me:$LINENO: result: no" >&5
20669 +echo "${ECHO_T}no" >&6; }
20670 +fi
20671 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20672 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20673 + { (exit 1); exit 1; }; }
20674 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20675 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
20676 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
20677 + echo $ECHO_N "(cached) $ECHO_C" >&6
20678 +else
20679 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
20680 +case `$LD -v 2>&1 </dev/null` in
20681 +*GNU* | *'with BFD'*)
20682 + lt_cv_prog_gnu_ld=yes
20683 + ;;
20684 +*)
20685 + lt_cv_prog_gnu_ld=no
20686 + ;;
20687 +esac
20688 +fi
20689 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
20690 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
20691 +with_gnu_ld=$lt_cv_prog_gnu_ld
20692 +
20693 +
20694 +
20695 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
20696 + # archiving commands below assume that GNU ld is being used.
20697 + if test "$with_gnu_ld" = yes; then
20698 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
20699 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20700 +
20701 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
20702 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
20703 +
20704 + # If archive_cmds runs LD, not CC, wlarc should be empty
20705 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
20706 + # investigate it a little bit more. (MM)
20707 + wlarc='${wl}'
20708 +
20709 + # ancient GNU ld didn't support --whole-archive et. al.
20710 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
20711 + grep 'no-whole-archive' > /dev/null; then
20712 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20713 + else
20714 + whole_archive_flag_spec_CXX=
20715 + fi
20716 + else
20717 + with_gnu_ld=no
20718 + wlarc=
20719 +
20720 + # A generic and very simple default shared library creation
20721 + # command for GNU C++ for the case where it uses the native
20722 + # linker, instead of GNU ld. If possible, this setting should
20723 + # overridden to take advantage of the native linker features on
20724 + # the platform it is being used on.
20725 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
20726 + fi
20727 +
20728 + # Commands to make compiler produce verbose output that lists
20729 + # what "hidden" libraries, object files and flags are used when
20730 + # linking a shared library.
20731 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
20732 +
20733 +else
20734 + GXX=no
20735 + with_gnu_ld=no
20736 + wlarc=
20737 +fi
20738 +
20739 +# PORTME: fill in a description of your system's C++ link characteristics
20740 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20741 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20742 +ld_shlibs_CXX=yes
20743 +case $host_os in
20744 + aix3*)
20745 + # FIXME: insert proper C++ library support
20746 + ld_shlibs_CXX=no
20747 + ;;
20748 + aix4* | aix5*)
20749 + if test "$host_cpu" = ia64; then
20750 + # On IA64, the linker does run time linking by default, so we don't
20751 + # have to do anything special.
20752 + aix_use_runtimelinking=no
20753 + exp_sym_flag='-Bexport'
20754 + no_entry_flag=""
20755 + else
20756 + aix_use_runtimelinking=no
20757 +
20758 + # Test if we are trying to use run time linking or normal
20759 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20760 + # need to do runtime linking.
20761 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20762 + for ld_flag in $LDFLAGS; do
20763 + case $ld_flag in
20764 + *-brtl*)
20765 + aix_use_runtimelinking=yes
20766 + break
20767 + ;;
20768 + esac
20769 + done
20770 + ;;
20771 + esac
20772 +
20773 + exp_sym_flag='-bexport'
20774 + no_entry_flag='-bnoentry'
20775 + fi
20776 +
20777 + # When large executables or shared objects are built, AIX ld can
20778 + # have problems creating the table of contents. If linking a library
20779 + # or program results in "error TOC overflow" add -mminimal-toc to
20780 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20781 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20782 +
20783 + archive_cmds_CXX=''
20784 + hardcode_direct_CXX=yes
20785 + hardcode_libdir_separator_CXX=':'
20786 + link_all_deplibs_CXX=yes
20787 +
20788 + if test "$GXX" = yes; then
20789 + case $host_os in aix4.[012]|aix4.[012].*)
20790 + # We only want to do this on AIX 4.2 and lower, the check
20791 + # below for broken collect2 doesn't work under 4.3+
20792 + collect2name=`${CC} -print-prog-name=collect2`
20793 + if test -f "$collect2name" && \
20794 + strings "$collect2name" | grep resolve_lib_name >/dev/null
20795 + then
20796 + # We have reworked collect2
20797 + :
20798 + else
20799 + # We have old collect2
20800 + hardcode_direct_CXX=unsupported
20801 + # It fails to find uninstalled libraries when the uninstalled
20802 + # path is not listed in the libpath. Setting hardcode_minus_L
20803 + # to unsupported forces relinking
20804 + hardcode_minus_L_CXX=yes
20805 + hardcode_libdir_flag_spec_CXX='-L$libdir'
20806 + hardcode_libdir_separator_CXX=
20807 + fi
20808 + ;;
20809 + esac
20810 + shared_flag='-shared'
20811 + if test "$aix_use_runtimelinking" = yes; then
20812 + shared_flag="$shared_flag "'${wl}-G'
20813 + fi
20814 + else
20815 + # not using gcc
20816 + if test "$host_cpu" = ia64; then
20817 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20818 + # chokes on -Wl,-G. The following line is correct:
20819 + shared_flag='-G'
20820 + else
20821 + if test "$aix_use_runtimelinking" = yes; then
20822 + shared_flag='${wl}-G'
20823 + else
20824 + shared_flag='${wl}-bM:SRE'
20825 + fi
20826 + fi
20827 + fi
20828 +
20829 + # It seems that -bexpall does not export symbols beginning with
20830 + # underscore (_), so it is better to generate a list of symbols to export.
20831 + always_export_symbols_CXX=yes
20832 + if test "$aix_use_runtimelinking" = yes; then
20833 + # Warning - without using the other runtime loading flags (-brtl),
20834 + # -berok will link without error, but may produce a broken library.
20835 + allow_undefined_flag_CXX='-berok'
20836 + # Determine the default libpath from the value encoded in an empty executable.
20837 + cat >conftest.$ac_ext <<_ACEOF
20838 +/* confdefs.h. */
20839 +_ACEOF
20840 +cat confdefs.h >>conftest.$ac_ext
20841 +cat >>conftest.$ac_ext <<_ACEOF
20842 +/* end confdefs.h. */
20843 +
20844 +int
20845 +main ()
20846 +{
20847 +
20848 + ;
20849 + return 0;
20850 +}
20851 +_ACEOF
20852 +rm -f conftest.$ac_objext conftest$ac_exeext
20853 +if { (ac_try="$ac_link"
20854 +case "(($ac_try" in
20855 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20856 + *) ac_try_echo=$ac_try;;
20857 +esac
20858 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20859 + (eval "$ac_link") 2>conftest.er1
20860 + ac_status=$?
20861 + grep -v '^ *+' conftest.er1 >conftest.err
20862 + rm -f conftest.er1
20863 + cat conftest.err >&5
20864 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 + (exit $ac_status); } && {
20866 + test -z "$ac_cxx_werror_flag" ||
20867 + test ! -s conftest.err
20868 + } && test -s conftest$ac_exeext &&
20869 + $as_test_x conftest$ac_exeext; then
20870 +
20871 +lt_aix_libpath_sed='
20872 + /Import File Strings/,/^$/ {
20873 + /^0/ {
20874 + s/^0 *\(.*\)$/\1/
20875 + p
20876 + }
20877 + }'
20878 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20879 +# Check for a 64-bit object if we didn't find anything.
20880 +if test -z "$aix_libpath"; then
20881 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20882 +fi
20883 +else
20884 + echo "$as_me: failed program was:" >&5
20885 +sed 's/^/| /' conftest.$ac_ext >&5
20886 +
20887 +
20888 +fi
20889 +
20890 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20891 + conftest$ac_exeext conftest.$ac_ext
20892 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20893 +
20894 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
20895 +
20896 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20897 + else
20898 + if test "$host_cpu" = ia64; then
20899 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
20900 + allow_undefined_flag_CXX="-z nodefs"
20901 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
20902 + else
20903 + # Determine the default libpath from the value encoded in an empty executable.
20904 + cat >conftest.$ac_ext <<_ACEOF
20905 +/* confdefs.h. */
20906 +_ACEOF
20907 +cat confdefs.h >>conftest.$ac_ext
20908 +cat >>conftest.$ac_ext <<_ACEOF
20909 +/* end confdefs.h. */
20910 +
20911 +int
20912 +main ()
20913 +{
20914 +
20915 + ;
20916 + return 0;
20917 +}
20918 +_ACEOF
20919 +rm -f conftest.$ac_objext conftest$ac_exeext
20920 +if { (ac_try="$ac_link"
20921 +case "(($ac_try" in
20922 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923 + *) ac_try_echo=$ac_try;;
20924 +esac
20925 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20926 + (eval "$ac_link") 2>conftest.er1
20927 + ac_status=$?
20928 + grep -v '^ *+' conftest.er1 >conftest.err
20929 + rm -f conftest.er1
20930 + cat conftest.err >&5
20931 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 + (exit $ac_status); } && {
20933 + test -z "$ac_cxx_werror_flag" ||
20934 + test ! -s conftest.err
20935 + } && test -s conftest$ac_exeext &&
20936 + $as_test_x conftest$ac_exeext; then
20937 +
20938 +lt_aix_libpath_sed='
20939 + /Import File Strings/,/^$/ {
20940 + /^0/ {
20941 + s/^0 *\(.*\)$/\1/
20942 + p
20943 + }
20944 + }'
20945 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20946 +# Check for a 64-bit object if we didn't find anything.
20947 +if test -z "$aix_libpath"; then
20948 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20949 +fi
20950 +else
20951 + echo "$as_me: failed program was:" >&5
20952 +sed 's/^/| /' conftest.$ac_ext >&5
20953 +
20954 +
20955 +fi
20956 +
20957 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20958 + conftest$ac_exeext conftest.$ac_ext
20959 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20960 +
20961 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
20962 + # Warning - without using the other run time loading flags,
20963 + # -berok will link without error, but may produce a broken library.
20964 + no_undefined_flag_CXX=' ${wl}-bernotok'
20965 + allow_undefined_flag_CXX=' ${wl}-berok'
20966 + # Exported symbols can be pulled into shared objects from archives
20967 + whole_archive_flag_spec_CXX='$convenience'
20968 + archive_cmds_need_lc_CXX=yes
20969 + # This is similar to how AIX traditionally builds its shared libraries.
20970 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20971 + fi
20972 + fi
20973 + ;;
20974 +
20975 + beos*)
20976 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20977 + allow_undefined_flag_CXX=unsupported
20978 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20979 + # support --undefined. This deserves some investigation. FIXME
20980 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20981 + else
20982 + ld_shlibs_CXX=no
20983 + fi
20984 + ;;
20985 +
20986 + chorus*)
20987 + case $cc_basename in
20988 + *)
20989 + # FIXME: insert proper C++ library support
20990 + ld_shlibs_CXX=no
20991 + ;;
20992 + esac
20993 + ;;
20994 +
20995 + cygwin* | mingw* | pw32*)
20996 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
20997 + # as there is no search path for DLLs.
20998 + hardcode_libdir_flag_spec_CXX='-L$libdir'
20999 + allow_undefined_flag_CXX=unsupported
21000 + always_export_symbols_CXX=no
21001 + enable_shared_with_static_runtimes_CXX=yes
21002 +
21003 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21004 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21005 + # If the export-symbols file already is a .def file (1st line
21006 + # is EXPORTS), use it as is; otherwise, prepend...
21007 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21008 + cp $export_symbols $output_objdir/$soname.def;
21009 + else
21010 + echo EXPORTS > $output_objdir/$soname.def;
21011 + cat $export_symbols >> $output_objdir/$soname.def;
21012 + fi~
21013 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21014 + else
21015 + ld_shlibs_CXX=no
21016 + fi
21017 + ;;
21018 + darwin* | rhapsody*)
21019 + case $host_os in
21020 + rhapsody* | darwin1.[012])
21021 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
21022 + ;;
21023 + *) # Darwin 1.3 on
21024 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21025 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21026 + else
21027 + case ${MACOSX_DEPLOYMENT_TARGET} in
21028 + 10.[012])
21029 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21030 + ;;
21031 + 10.*)
21032 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
21033 + ;;
21034 + esac
21035 + fi
21036 + ;;
21037 + esac
21038 + archive_cmds_need_lc_CXX=no
21039 + hardcode_direct_CXX=no
21040 + hardcode_automatic_CXX=yes
21041 + hardcode_shlibpath_var_CXX=unsupported
21042 + whole_archive_flag_spec_CXX=''
21043 + link_all_deplibs_CXX=yes
21044 +
21045 + if test "$GXX" = yes ; then
21046 + lt_int_apple_cc_single_mod=no
21047 + output_verbose_link_cmd='echo'
21048 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
21049 + lt_int_apple_cc_single_mod=yes
21050 + fi
21051 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
21052 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21053 + else
21054 + archive_cmds_CXX='$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'
21055 + fi
21056 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21057 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21058 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
21059 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21060 + else
21061 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21062 + fi
21063 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21064 + else
21065 + case $cc_basename in
21066 + xlc*)
21067 + output_verbose_link_cmd='echo'
21068 + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
21069 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21070 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21071 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21072 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21073 + ;;
21074 + *)
21075 + ld_shlibs_CXX=no
21076 + ;;
21077 + esac
21078 + fi
21079 + ;;
21080 +
21081 + dgux*)
21082 + case $cc_basename in
21083 + ec++*)
21084 + # FIXME: insert proper C++ library support
21085 + ld_shlibs_CXX=no
21086 + ;;
21087 + ghcx*)
21088 + # Green Hills C++ Compiler
21089 + # FIXME: insert proper C++ library support
21090 + ld_shlibs_CXX=no
21091 + ;;
21092 + *)
21093 + # FIXME: insert proper C++ library support
21094 + ld_shlibs_CXX=no
21095 + ;;
21096 + esac
21097 + ;;
21098 + freebsd[12]*)
21099 + # C++ shared libraries reported to be fairly broken before switch to ELF
21100 + ld_shlibs_CXX=no
21101 + ;;
21102 + freebsd-elf*)
21103 + archive_cmds_need_lc_CXX=no
21104 + ;;
21105 + freebsd* | dragonfly*)
21106 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
21107 + # conventions
21108 + ld_shlibs_CXX=yes
21109 + ;;
21110 + gnu*)
21111 + ;;
21112 + hpux9*)
21113 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
21114 + hardcode_libdir_separator_CXX=:
21115 + export_dynamic_flag_spec_CXX='${wl}-E'
21116 + hardcode_direct_CXX=yes
21117 + hardcode_minus_L_CXX=yes # Not in the search PATH,
21118 + # but as the default
21119 + # location of the library.
21120 +
21121 + case $cc_basename in
21122 + CC*)
21123 + # FIXME: insert proper C++ library support
21124 + ld_shlibs_CXX=no
21125 + ;;
21126 + aCC*)
21127 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
21128 + # Commands to make compiler produce verbose output that lists
21129 + # what "hidden" libraries, object files and flags are used when
21130 + # linking a shared library.
21131 + #
21132 + # There doesn't appear to be a way to prevent this compiler from
21133 + # explicitly linking system object files so we need to strip them
21134 + # from the output so that they don't get included in the library
21135 + # dependencies.
21136 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21137 + ;;
21138 + *)
21139 + if test "$GXX" = yes; then
21140 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
21141 + else
21142 + # FIXME: insert proper C++ library support
21143 + ld_shlibs_CXX=no
21144 + fi
21145 + ;;
21146 + esac
21147 + ;;
21148 + hpux10*|hpux11*)
21149 + if test $with_gnu_ld = no; then
21150 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
21151 + hardcode_libdir_separator_CXX=:
21152 +
21153 + case $host_cpu in
21154 + hppa*64*|ia64*) ;;
21155 + *)
21156 + export_dynamic_flag_spec_CXX='${wl}-E'
21157 + ;;
21158 + esac
21159 + fi
21160 + case $host_cpu in
21161 + hppa*64*|ia64*)
21162 + hardcode_direct_CXX=no
21163 + hardcode_shlibpath_var_CXX=no
21164 + ;;
21165 + *)
21166 + hardcode_direct_CXX=yes
21167 + hardcode_minus_L_CXX=yes # Not in the search PATH,
21168 + # but as the default
21169 + # location of the library.
21170 + ;;
21171 + esac
21172 +
21173 + case $cc_basename in
21174 + CC*)
21175 + # FIXME: insert proper C++ library support
21176 + ld_shlibs_CXX=no
21177 + ;;
21178 + aCC*)
21179 + case $host_cpu in
21180 + hppa*64*)
21181 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21182 + ;;
21183 + ia64*)
21184 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21185 + ;;
21186 + *)
21187 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21188 + ;;
21189 + esac
21190 + # Commands to make compiler produce verbose output that lists
21191 + # what "hidden" libraries, object files and flags are used when
21192 + # linking a shared library.
21193 + #
21194 + # There doesn't appear to be a way to prevent this compiler from
21195 + # explicitly linking system object files so we need to strip them
21196 + # from the output so that they don't get included in the library
21197 + # dependencies.
21198 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21199 + ;;
21200 + *)
21201 + if test "$GXX" = yes; then
21202 + if test $with_gnu_ld = no; then
21203 + case $host_cpu in
21204 + hppa*64*)
21205 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21206 + ;;
21207 + ia64*)
21208 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21209 + ;;
21210 + *)
21211 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21212 + ;;
21213 + esac
21214 + fi
21215 + else
21216 + # FIXME: insert proper C++ library support
21217 + ld_shlibs_CXX=no
21218 + fi
21219 + ;;
21220 + esac
21221 + ;;
21222 + interix[3-9]*)
21223 + hardcode_direct_CXX=no
21224 + hardcode_shlibpath_var_CXX=no
21225 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21226 + export_dynamic_flag_spec_CXX='${wl}-E'
21227 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21228 + # Instead, shared libraries are loaded at an image base (0x10000000 by
21229 + # default) and relocated if they conflict, which is a slow very memory
21230 + # consuming and fragmenting process. To avoid this, we pick a random,
21231 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21232 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21233 + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21234 + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21235 + ;;
21236 + irix5* | irix6*)
21237 + case $cc_basename in
21238 + CC*)
21239 + # SGI C++
21240 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
21241 +
21242 + # Archives containing C++ object files must be created using
21243 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
21244 + # necessary to make sure instantiated templates are included
21245 + # in the archive.
21246 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
21247 + ;;
21248 + *)
21249 + if test "$GXX" = yes; then
21250 + if test "$with_gnu_ld" = no; then
21251 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21252 + else
21253 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
21254 + fi
21255 + fi
21256 + link_all_deplibs_CXX=yes
21257 + ;;
21258 + esac
21259 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21260 + hardcode_libdir_separator_CXX=:
21261 + ;;
21262 + linux* | k*bsd*-gnu)
21263 + case $cc_basename in
21264 + KCC*)
21265 + # Kuck and Associates, Inc. (KAI) C++ Compiler
21266 +
21267 + # KCC will only create a shared library if the output file
21268 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
21269 + # to its proper name (with version) after linking.
21270 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
21271 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
21272 + # Commands to make compiler produce verbose output that lists
21273 + # what "hidden" libraries, object files and flags are used when
21274 + # linking a shared library.
21275 + #
21276 + # There doesn't appear to be a way to prevent this compiler from
21277 + # explicitly linking system object files so we need to strip them
21278 + # from the output so that they don't get included in the library
21279 + # dependencies.
21280 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21281 +
21282 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
21283 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21284 +
21285 + # Archives containing C++ object files must be created using
21286 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
21287 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
21288 + ;;
21289 + icpc*)
21290 + # Intel C++
21291 + with_gnu_ld=yes
21292 + # version 8.0 and above of icpc choke on multiply defined symbols
21293 + # if we add $predep_objects and $postdep_objects, however 7.1 and
21294 + # earlier do not add the objects themselves.
21295 + case `$CC -V 2>&1` in
21296 + *"Version 7."*)
21297 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
21298 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21299 + ;;
21300 + *) # Version 8.0 or newer
21301 + tmp_idyn=
21302 + case $host_cpu in
21303 + ia64*) tmp_idyn=' -i_dynamic';;
21304 + esac
21305 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21306 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21307 + ;;
21308 + esac
21309 + archive_cmds_need_lc_CXX=no
21310 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21311 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21312 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
21313 + ;;
21314 + pgCC*)
21315 + # Portland Group C++ compiler
21316 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
21317 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
21318 +
21319 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
21320 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21321 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21322 + ;;
21323 + cxx*)
21324 + # Compaq C++
21325 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
21326 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
21327 +
21328 + runpath_var=LD_RUN_PATH
21329 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21330 + hardcode_libdir_separator_CXX=:
21331 +
21332 + # Commands to make compiler produce verbose output that lists
21333 + # what "hidden" libraries, object files and flags are used when
21334 + # linking a shared library.
21335 + #
21336 + # There doesn't appear to be a way to prevent this compiler from
21337 + # explicitly linking system object files so we need to strip them
21338 + # from the output so that they don't get included in the library
21339 + # dependencies.
21340 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21341 + ;;
21342 + *)
21343 + case `$CC -V 2>&1 | sed 5q` in
21344 + *Sun\ C*)
21345 + # Sun C++ 5.9
21346 + no_undefined_flag_CXX=' -zdefs'
21347 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21348 + archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
21349 + hardcode_libdir_flag_spec_CXX='-R$libdir'
21350 + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21351 +
21352 + # Not sure whether something based on
21353 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
21354 + # would be better.
21355 + output_verbose_link_cmd='echo'
21356 +
21357 + # Archives containing C++ object files must be created using
21358 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
21359 + # necessary to make sure instantiated templates are included
21360 + # in the archive.
21361 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21362 + ;;
21363 + esac
21364 + ;;
21365 + esac
21366 + ;;
21367 + lynxos*)
21368 + # FIXME: insert proper C++ library support
21369 + ld_shlibs_CXX=no
21370 + ;;
21371 + m88k*)
21372 + # FIXME: insert proper C++ library support
21373 + ld_shlibs_CXX=no
21374 + ;;
21375 + mvs*)
21376 + case $cc_basename in
21377 + cxx*)
21378 + # FIXME: insert proper C++ library support
21379 + ld_shlibs_CXX=no
21380 + ;;
21381 + *)
21382 + # FIXME: insert proper C++ library support
21383 + ld_shlibs_CXX=no
21384 + ;;
21385 + esac
21386 + ;;
21387 + netbsd* | netbsdelf*-gnu)
21388 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21389 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
21390 + wlarc=
21391 + hardcode_libdir_flag_spec_CXX='-R$libdir'
21392 + hardcode_direct_CXX=yes
21393 + hardcode_shlibpath_var_CXX=no
21394 + fi
21395 + # Workaround some broken pre-1.5 toolchains
21396 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
21397 + ;;
21398 + openbsd2*)
21399 + # C++ shared libraries are fairly broken
21400 + ld_shlibs_CXX=no
21401 + ;;
21402 + openbsd*)
21403 + if test -f /usr/libexec/ld.so; then
21404 + hardcode_direct_CXX=yes
21405 + hardcode_shlibpath_var_CXX=no
21406 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
21407 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21408 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21409 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
21410 + export_dynamic_flag_spec_CXX='${wl}-E'
21411 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21412 + fi
21413 + output_verbose_link_cmd='echo'
21414 + else
21415 + ld_shlibs_CXX=no
21416 + fi
21417 + ;;
21418 + osf3*)
21419 + case $cc_basename in
21420 + KCC*)
21421 + # Kuck and Associates, Inc. (KAI) C++ Compiler
21422 +
21423 + # KCC will only create a shared library if the output file
21424 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
21425 + # to its proper name (with version) after linking.
21426 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
21427 +
21428 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21429 + hardcode_libdir_separator_CXX=:
21430 +
21431 + # Archives containing C++ object files must be created using
21432 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
21433 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
21434 +
21435 + ;;
21436 + RCC*)
21437 + # Rational C++ 2.4.1
21438 + # FIXME: insert proper C++ library support
21439 + ld_shlibs_CXX=no
21440 + ;;
21441 + cxx*)
21442 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21443 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
21444 +
21445 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21446 + hardcode_libdir_separator_CXX=:
21447 +
21448 + # Commands to make compiler produce verbose output that lists
21449 + # what "hidden" libraries, object files and flags are used when
21450 + # linking a shared library.
21451 + #
21452 + # There doesn't appear to be a way to prevent this compiler from
21453 + # explicitly linking system object files so we need to strip them
21454 + # from the output so that they don't get included in the library
21455 + # dependencies.
21456 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21457 + ;;
21458 + *)
21459 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21460 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21461 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21462 +
21463 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21464 + hardcode_libdir_separator_CXX=:
21465 +
21466 + # Commands to make compiler produce verbose output that lists
21467 + # what "hidden" libraries, object files and flags are used when
21468 + # linking a shared library.
21469 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
21470 +
21471 + else
21472 + # FIXME: insert proper C++ library support
21473 + ld_shlibs_CXX=no
21474 + fi
21475 + ;;
21476 + esac
21477 + ;;
21478 + osf4* | osf5*)
21479 + case $cc_basename in
21480 + KCC*)
21481 + # Kuck and Associates, Inc. (KAI) C++ Compiler
21482 +
21483 + # KCC will only create a shared library if the output file
21484 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
21485 + # to its proper name (with version) after linking.
21486 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
21487 +
21488 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21489 + hardcode_libdir_separator_CXX=:
21490 +
21491 + # Archives containing C++ object files must be created using
21492 + # the KAI C++ compiler.
21493 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
21494 + ;;
21495 + RCC*)
21496 + # Rational C++ 2.4.1
21497 + # FIXME: insert proper C++ library support
21498 + ld_shlibs_CXX=no
21499 + ;;
21500 + cxx*)
21501 + allow_undefined_flag_CXX=' -expect_unresolved \*'
21502 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
21503 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
21504 + echo "-hidden">> $lib.exp~
21505 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
21506 + $rm $lib.exp'
21507 +
21508 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21509 + hardcode_libdir_separator_CXX=:
21510 +
21511 + # Commands to make compiler produce verbose output that lists
21512 + # what "hidden" libraries, object files and flags are used when
21513 + # linking a shared library.
21514 + #
21515 + # There doesn't appear to be a way to prevent this compiler from
21516 + # explicitly linking system object files so we need to strip them
21517 + # from the output so that they don't get included in the library
21518 + # dependencies.
21519 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21520 + ;;
21521 + *)
21522 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21523 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21524 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21525 +
21526 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21527 + hardcode_libdir_separator_CXX=:
21528 +
21529 + # Commands to make compiler produce verbose output that lists
21530 + # what "hidden" libraries, object files and flags are used when
21531 + # linking a shared library.
21532 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
21533 +
21534 + else
21535 + # FIXME: insert proper C++ library support
21536 + ld_shlibs_CXX=no
21537 + fi
21538 + ;;
21539 + esac
21540 + ;;
21541 + psos*)
21542 + # FIXME: insert proper C++ library support
21543 + ld_shlibs_CXX=no
21544 + ;;
21545 + sunos4*)
21546 + case $cc_basename in
21547 + CC*)
21548 + # Sun C++ 4.x
21549 + # FIXME: insert proper C++ library support
21550 + ld_shlibs_CXX=no
21551 + ;;
21552 + lcc*)
21553 + # Lucid
21554 + # FIXME: insert proper C++ library support
21555 + ld_shlibs_CXX=no
21556 + ;;
21557 + *)
21558 + # FIXME: insert proper C++ library support
21559 + ld_shlibs_CXX=no
21560 + ;;
21561 + esac
21562 + ;;
21563 + solaris*)
21564 + case $cc_basename in
21565 + CC*)
21566 + # Sun C++ 4.2, 5.x and Centerline C++
21567 + archive_cmds_need_lc_CXX=yes
21568 + no_undefined_flag_CXX=' -zdefs'
21569 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21570 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21571 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
21572 +
21573 + hardcode_libdir_flag_spec_CXX='-R$libdir'
21574 + hardcode_shlibpath_var_CXX=no
21575 + case $host_os in
21576 + solaris2.[0-5] | solaris2.[0-5].*) ;;
21577 + *)
21578 + # The compiler driver will combine and reorder linker options,
21579 + # but understands `-z linker_flag'.
21580 + # Supported since Solaris 2.6 (maybe 2.5.1?)
21581 + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
21582 + ;;
21583 + esac
21584 + link_all_deplibs_CXX=yes
21585 +
21586 + output_verbose_link_cmd='echo'
21587 +
21588 + # Archives containing C++ object files must be created using
21589 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
21590 + # necessary to make sure instantiated templates are included
21591 + # in the archive.
21592 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21593 + ;;
21594 + gcx*)
21595 + # Green Hills C++ Compiler
21596 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21597 +
21598 + # The C++ compiler must be used to create the archive.
21599 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
21600 + ;;
21601 + *)
21602 + # GNU C++ compiler with Solaris linker
21603 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21604 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
21605 + if $CC --version | grep -v '^2\.7' > /dev/null; then
21606 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21607 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21608 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
21609 +
21610 + # Commands to make compiler produce verbose output that lists
21611 + # what "hidden" libraries, object files and flags are used when
21612 + # linking a shared library.
21613 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
21614 + else
21615 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
21616 + # platform.
21617 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21618 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21619 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
21620 +
21621 + # Commands to make compiler produce verbose output that lists
21622 + # what "hidden" libraries, object files and flags are used when
21623 + # linking a shared library.
21624 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
21625 + fi
21626 +
21627 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
21628 + case $host_os in
21629 + solaris2.[0-5] | solaris2.[0-5].*) ;;
21630 + *)
21631 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21632 + ;;
21633 + esac
21634 + fi
21635 + ;;
21636 + esac
21637 + ;;
21638 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
21639 + no_undefined_flag_CXX='${wl}-z,text'
21640 + archive_cmds_need_lc_CXX=no
21641 + hardcode_shlibpath_var_CXX=no
21642 + runpath_var='LD_RUN_PATH'
21643 +
21644 + case $cc_basename in
21645 + CC*)
21646 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21647 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21648 + ;;
21649 + *)
21650 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21651 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21652 + ;;
21653 + esac
21654 + ;;
21655 + sysv5* | sco3.2v5* | sco5v6*)
21656 + # Note: We can NOT use -z defs as we might desire, because we do not
21657 + # link with -lc, and that would cause any symbols used from libc to
21658 + # always be unresolved, which means just about no library would
21659 + # ever link correctly. If we're not using GNU ld we use -z text
21660 + # though, which does catch some bad symbols but isn't as heavy-handed
21661 + # as -z defs.
21662 + # For security reasons, it is highly recommended that you always
21663 + # use absolute paths for naming shared libraries, and exclude the
21664 + # DT_RUNPATH tag from executables and libraries. But doing so
21665 + # requires that you compile everything twice, which is a pain.
21666 + # So that behaviour is only enabled if SCOABSPATH is set to a
21667 + # non-empty value in the environment. Most likely only useful for
21668 + # creating official distributions of packages.
21669 + # This is a hack until libtool officially supports absolute path
21670 + # names for shared libraries.
21671 + no_undefined_flag_CXX='${wl}-z,text'
21672 + allow_undefined_flag_CXX='${wl}-z,nodefs'
21673 + archive_cmds_need_lc_CXX=no
21674 + hardcode_shlibpath_var_CXX=no
21675 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21676 + hardcode_libdir_separator_CXX=':'
21677 + link_all_deplibs_CXX=yes
21678 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
21679 + runpath_var='LD_RUN_PATH'
21680 +
21681 + case $cc_basename in
21682 + CC*)
21683 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21684 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21685 + ;;
21686 + *)
21687 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21688 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21689 + ;;
21690 + esac
21691 + ;;
21692 + tandem*)
21693 + case $cc_basename in
21694 + NCC*)
21695 + # NonStop-UX NCC 3.20
21696 + # FIXME: insert proper C++ library support
21697 + ld_shlibs_CXX=no
21698 + ;;
21699 + *)
21700 + # FIXME: insert proper C++ library support
21701 + ld_shlibs_CXX=no
21702 + ;;
21703 + esac
21704 + ;;
21705 + vxworks*)
21706 + # FIXME: insert proper C++ library support
21707 + ld_shlibs_CXX=no
21708 + ;;
21709 + *)
21710 + # FIXME: insert proper C++ library support
21711 + ld_shlibs_CXX=no
21712 + ;;
21713 +esac
21714 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21715 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
21716 +test "$ld_shlibs_CXX" = no && can_build_shared=no
21717 +
21718 +GCC_CXX="$GXX"
21719 +LD_CXX="$LD"
21720 +
21721 +
21722 +cat > conftest.$ac_ext <<EOF
21723 +class Foo
21724 +{
21725 +public:
21726 + Foo (void) { a = 0; }
21727 +private:
21728 + int a;
21729 +};
21730 +EOF
21731 +
21732 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21733 + (eval $ac_compile) 2>&5
21734 + ac_status=$?
21735 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 + (exit $ac_status); }; then
21737 + # Parse the compiler output and extract the necessary
21738 + # objects, libraries and library flags.
21739 +
21740 + # Sentinel used to keep track of whether or not we are before
21741 + # the conftest object file.
21742 + pre_test_object_deps_done=no
21743 +
21744 + # The `*' in the case matches for architectures that use `case' in
21745 + # $output_verbose_cmd can trigger glob expansion during the loop
21746 + # eval without this substitution.
21747 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
21748 +
21749 + for p in `eval $output_verbose_link_cmd`; do
21750 + case $p in
21751 +
21752 + -L* | -R* | -l*)
21753 + # Some compilers place space between "-{L,R}" and the path.
21754 + # Remove the space.
21755 + if test $p = "-L" \
21756 + || test $p = "-R"; then
21757 + prev=$p
21758 + continue
21759 + else
21760 + prev=
21761 + fi
21762 +
21763 + if test "$pre_test_object_deps_done" = no; then
21764 + case $p in
21765 + -L* | -R*)
21766 + # Internal compiler library paths should come after those
21767 + # provided the user. The postdeps already come after the
21768 + # user supplied libs so there is no need to process them.
21769 + if test -z "$compiler_lib_search_path_CXX"; then
21770 + compiler_lib_search_path_CXX="${prev}${p}"
21771 + else
21772 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
21773 + fi
21774 + ;;
21775 + # The "-l" case would never come before the object being
21776 + # linked, so don't bother handling this case.
21777 + esac
21778 + else
21779 + if test -z "$postdeps_CXX"; then
21780 + postdeps_CXX="${prev}${p}"
21781 + else
21782 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
21783 + fi
21784 + fi
21785 + ;;
21786 +
21787 + *.$objext)
21788 + # This assumes that the test object file only shows up
21789 + # once in the compiler output.
21790 + if test "$p" = "conftest.$objext"; then
21791 + pre_test_object_deps_done=yes
21792 + continue
21793 + fi
21794 +
21795 + if test "$pre_test_object_deps_done" = no; then
21796 + if test -z "$predep_objects_CXX"; then
21797 + predep_objects_CXX="$p"
21798 + else
21799 + predep_objects_CXX="$predep_objects_CXX $p"
21800 + fi
21801 + else
21802 + if test -z "$postdep_objects_CXX"; then
21803 + postdep_objects_CXX="$p"
21804 + else
21805 + postdep_objects_CXX="$postdep_objects_CXX $p"
21806 + fi
21807 + fi
21808 + ;;
21809 +
21810 + *) ;; # Ignore the rest.
21811 +
21812 + esac
21813 + done
21814 +
21815 + # Clean up.
21816 + rm -f a.out a.exe
21817 +else
21818 + echo "libtool.m4: error: problem compiling CXX test program"
21819 +fi
21820 +
21821 +$rm -f confest.$objext
21822 +
21823 +# PORTME: override above test on systems where it is broken
21824 +case $host_os in
21825 +interix[3-9]*)
21826 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
21827 + # hack all around it, let's just trust "g++" to DTRT.
21828 + predep_objects_CXX=
21829 + postdep_objects_CXX=
21830 + postdeps_CXX=
21831 + ;;
21832 +
21833 +linux*)
21834 + case `$CC -V 2>&1 | sed 5q` in
21835 + *Sun\ C*)
21836 + # Sun C++ 5.9
21837 + #
21838 + # The more standards-conforming stlport4 library is
21839 + # incompatible with the Cstd library. Avoid specifying
21840 + # it if it's in CXXFLAGS. Ignore libCrun as
21841 + # -library=stlport4 depends on it.
21842 + case " $CXX $CXXFLAGS " in
21843 + *" -library=stlport4 "*)
21844 + solaris_use_stlport4=yes
21845 + ;;
21846 + esac
21847 + if test "$solaris_use_stlport4" != yes; then
21848 + postdeps_CXX='-library=Cstd -library=Crun'
21849 + fi
21850 + ;;
21851 + esac
21852 + ;;
21853 +
21854 +solaris*)
21855 + case $cc_basename in
21856 + CC*)
21857 + # The more standards-conforming stlport4 library is
21858 + # incompatible with the Cstd library. Avoid specifying
21859 + # it if it's in CXXFLAGS. Ignore libCrun as
21860 + # -library=stlport4 depends on it.
21861 + case " $CXX $CXXFLAGS " in
21862 + *" -library=stlport4 "*)
21863 + solaris_use_stlport4=yes
21864 + ;;
21865 + esac
21866 +
21867 + # Adding this requires a known-good setup of shared libraries for
21868 + # Sun compiler versions before 5.6, else PIC objects from an old
21869 + # archive will be linked into the output, leading to subtle bugs.
21870 + if test "$solaris_use_stlport4" != yes; then
21871 + postdeps_CXX='-library=Cstd -library=Crun'
21872 + fi
21873 + ;;
21874 + esac
21875 + ;;
21876 +esac
21877 +
21878 +
21879 +case " $postdeps_CXX " in
21880 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
21881 +esac
21882 +
21883 +lt_prog_compiler_wl_CXX=
21884 +lt_prog_compiler_pic_CXX=
21885 +lt_prog_compiler_static_CXX=
21886 +
21887 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21888 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21889 +
21890 + # C++ specific cases for pic, static, wl, etc.
21891 + if test "$GXX" = yes; then
21892 + lt_prog_compiler_wl_CXX='-Wl,'
21893 + lt_prog_compiler_static_CXX='-static'
21894 +
21895 + case $host_os in
21896 + aix*)
21897 + # All AIX code is PIC.
21898 + if test "$host_cpu" = ia64; then
21899 + # AIX 5 now supports IA64 processor
21900 + lt_prog_compiler_static_CXX='-Bstatic'
21901 + fi
21902 + ;;
21903 + amigaos*)
21904 + # FIXME: we need at least 68020 code to build shared libraries, but
21905 + # adding the `-m68020' flag to GCC prevents building anything better,
21906 + # like `-m68040'.
21907 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
21908 + ;;
21909 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21910 + # PIC is the default for these OSes.
21911 + ;;
21912 + mingw* | cygwin* | os2* | pw32*)
21913 + # This hack is so that the source file can tell whether it is being
21914 + # built for inclusion in a dll (and should export symbols for example).
21915 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
21916 + # (--disable-auto-import) libraries
21917 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
21918 + ;;
21919 + darwin* | rhapsody*)
21920 + # PIC is the default on this platform
21921 + # Common symbols not allowed in MH_DYLIB files
21922 + lt_prog_compiler_pic_CXX='-fno-common'
21923 + ;;
21924 + *djgpp*)
21925 + # DJGPP does not support shared libraries at all
21926 + lt_prog_compiler_pic_CXX=
21927 + ;;
21928 + interix[3-9]*)
21929 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21930 + # Instead, we relocate shared libraries at runtime.
21931 + ;;
21932 + sysv4*MP*)
21933 + if test -d /usr/nec; then
21934 + lt_prog_compiler_pic_CXX=-Kconform_pic
21935 + fi
21936 + ;;
21937 + hpux*)
21938 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21939 + # not for PA HP-UX.
21940 + case $host_cpu in
21941 + hppa*64*|ia64*)
21942 + ;;
21943 + *)
21944 + lt_prog_compiler_pic_CXX='-fPIC'
21945 + ;;
21946 + esac
21947 + ;;
21948 + *)
21949 + lt_prog_compiler_pic_CXX='-fPIC'
21950 + ;;
21951 + esac
21952 + else
21953 + case $host_os in
21954 + aix4* | aix5*)
21955 + # All AIX code is PIC.
21956 + if test "$host_cpu" = ia64; then
21957 + # AIX 5 now supports IA64 processor
21958 + lt_prog_compiler_static_CXX='-Bstatic'
21959 + else
21960 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
21961 + fi
21962 + ;;
21963 + chorus*)
21964 + case $cc_basename in
21965 + cxch68*)
21966 + # Green Hills C++ Compiler
21967 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--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"
21968 + ;;
21969 + esac
21970 + ;;
21971 + darwin*)
21972 + # PIC is the default on this platform
21973 + # Common symbols not allowed in MH_DYLIB files
21974 + case $cc_basename in
21975 + xlc*)
21976 + lt_prog_compiler_pic_CXX='-qnocommon'
21977 + lt_prog_compiler_wl_CXX='-Wl,'
21978 + ;;
21979 + esac
21980 + ;;
21981 + dgux*)
21982 + case $cc_basename in
21983 + ec++*)
21984 + lt_prog_compiler_pic_CXX='-KPIC'
21985 + ;;
21986 + ghcx*)
21987 + # Green Hills C++ Compiler
21988 + lt_prog_compiler_pic_CXX='-pic'
21989 + ;;
21990 + *)
21991 + ;;
21992 + esac
21993 + ;;
21994 + freebsd* | dragonfly*)
21995 + # FreeBSD uses GNU C++
21996 + ;;
21997 + hpux9* | hpux10* | hpux11*)
21998 + case $cc_basename in
21999 + CC*)
22000 + lt_prog_compiler_wl_CXX='-Wl,'
22001 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
22002 + if test "$host_cpu" != ia64; then
22003 + lt_prog_compiler_pic_CXX='+Z'
22004 + fi
22005 + ;;
22006 + aCC*)
22007 + lt_prog_compiler_wl_CXX='-Wl,'
22008 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
22009 + case $host_cpu in
22010 + hppa*64*|ia64*)
22011 + # +Z the default
22012 + ;;
22013 + *)
22014 + lt_prog_compiler_pic_CXX='+Z'
22015 + ;;
22016 + esac
22017 + ;;
22018 + *)
22019 + ;;
22020 + esac
22021 + ;;
22022 + interix*)
22023 + # This is c89, which is MS Visual C++ (no shared libs)
22024 + # Anyone wants to do a port?
22025 + ;;
22026 + irix5* | irix6* | nonstopux*)
22027 + case $cc_basename in
22028 + CC*)
22029 + lt_prog_compiler_wl_CXX='-Wl,'
22030 + lt_prog_compiler_static_CXX='-non_shared'
22031 + # CC pic flag -KPIC is the default.
22032 + ;;
22033 + *)
22034 + ;;
22035 + esac
22036 + ;;
22037 + linux* | k*bsd*-gnu)
22038 + case $cc_basename in
22039 + KCC*)
22040 + # KAI C++ Compiler
22041 + lt_prog_compiler_wl_CXX='--backend -Wl,'
22042 + lt_prog_compiler_pic_CXX='-fPIC'
22043 + ;;
22044 + icpc* | ecpc*)
22045 + # Intel C++
22046 + lt_prog_compiler_wl_CXX='-Wl,'
22047 + lt_prog_compiler_pic_CXX='-KPIC'
22048 + lt_prog_compiler_static_CXX='-static'
22049 + ;;
22050 + pgCC*)
22051 + # Portland Group C++ compiler.
22052 + lt_prog_compiler_wl_CXX='-Wl,'
22053 + lt_prog_compiler_pic_CXX='-fpic'
22054 + lt_prog_compiler_static_CXX='-Bstatic'
22055 + ;;
22056 + cxx*)
22057 + # Compaq C++
22058 + # Make sure the PIC flag is empty. It appears that all Alpha
22059 + # Linux and Compaq Tru64 Unix objects are PIC.
22060 + lt_prog_compiler_pic_CXX=
22061 + lt_prog_compiler_static_CXX='-non_shared'
22062 + ;;
22063 + *)
22064 + case `$CC -V 2>&1 | sed 5q` in
22065 + *Sun\ C*)
22066 + # Sun C++ 5.9
22067 + lt_prog_compiler_pic_CXX='-KPIC'
22068 + lt_prog_compiler_static_CXX='-Bstatic'
22069 + lt_prog_compiler_wl_CXX='-Qoption ld '
22070 + ;;
22071 + esac
22072 + ;;
22073 + esac
22074 + ;;
22075 + lynxos*)
22076 + ;;
22077 + m88k*)
22078 + ;;
22079 + mvs*)
22080 + case $cc_basename in
22081 + cxx*)
22082 + lt_prog_compiler_pic_CXX='-W c,exportall'
22083 + ;;
22084 + *)
22085 + ;;
22086 + esac
22087 + ;;
22088 + netbsd* | netbsdelf*-gnu)
22089 + ;;
22090 + osf3* | osf4* | osf5*)
22091 + case $cc_basename in
22092 + KCC*)
22093 + lt_prog_compiler_wl_CXX='--backend -Wl,'
22094 + ;;
22095 + RCC*)
22096 + # Rational C++ 2.4.1
22097 + lt_prog_compiler_pic_CXX='-pic'
22098 + ;;
22099 + cxx*)
22100 + # Digital/Compaq C++
22101 + lt_prog_compiler_wl_CXX='-Wl,'
22102 + # Make sure the PIC flag is empty. It appears that all Alpha
22103 + # Linux and Compaq Tru64 Unix objects are PIC.
22104 + lt_prog_compiler_pic_CXX=
22105 + lt_prog_compiler_static_CXX='-non_shared'
22106 + ;;
22107 + *)
22108 + ;;
22109 + esac
22110 + ;;
22111 + psos*)
22112 + ;;
22113 + solaris*)
22114 + case $cc_basename in
22115 + CC*)
22116 + # Sun C++ 4.2, 5.x and Centerline C++
22117 + lt_prog_compiler_pic_CXX='-KPIC'
22118 + lt_prog_compiler_static_CXX='-Bstatic'
22119 + lt_prog_compiler_wl_CXX='-Qoption ld '
22120 + ;;
22121 + gcx*)
22122 + # Green Hills C++ Compiler
22123 + lt_prog_compiler_pic_CXX='-PIC'
22124 + ;;
22125 + *)
22126 + ;;
22127 + esac
22128 + ;;
22129 + sunos4*)
22130 + case $cc_basename in
22131 + CC*)
22132 + # Sun C++ 4.x
22133 + lt_prog_compiler_pic_CXX='-pic'
22134 + lt_prog_compiler_static_CXX='-Bstatic'
22135 + ;;
22136 + lcc*)
22137 + # Lucid
22138 + lt_prog_compiler_pic_CXX='-pic'
22139 + ;;
22140 + *)
22141 + ;;
22142 + esac
22143 + ;;
22144 + tandem*)
22145 + case $cc_basename in
22146 + NCC*)
22147 + # NonStop-UX NCC 3.20
22148 + lt_prog_compiler_pic_CXX='-KPIC'
22149 + ;;
22150 + *)
22151 + ;;
22152 + esac
22153 + ;;
22154 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
22155 + case $cc_basename in
22156 + CC*)
22157 + lt_prog_compiler_wl_CXX='-Wl,'
22158 + lt_prog_compiler_pic_CXX='-KPIC'
22159 + lt_prog_compiler_static_CXX='-Bstatic'
22160 + ;;
22161 + esac
22162 + ;;
22163 + vxworks*)
22164 + ;;
22165 + *)
22166 + lt_prog_compiler_can_build_shared_CXX=no
22167 + ;;
22168 + esac
22169 + fi
22170 +
22171 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
22172 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
22173 +
22174 +#
22175 +# Check to make sure the PIC flag actually works.
22176 +#
22177 +if test -n "$lt_prog_compiler_pic_CXX"; then
22178 +
22179 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
22180 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
22181 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
22182 + echo $ECHO_N "(cached) $ECHO_C" >&6
22183 +else
22184 + lt_prog_compiler_pic_works_CXX=no
22185 + ac_outfile=conftest.$ac_objext
22186 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22187 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
22188 + # Insert the option either (1) after the last *FLAGS variable, or
22189 + # (2) before a word containing "conftest.", or (3) at the end.
22190 + # Note that $ac_compile itself does not contain backslashes and begins
22191 + # with a dollar sign (not a hyphen), so the echo should work correctly.
22192 + # The option is referenced via a variable to avoid confusing sed.
22193 + lt_compile=`echo "$ac_compile" | $SED \
22194 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22195 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22196 + -e 's:$: $lt_compiler_flag:'`
22197 + (eval echo "\"\$as_me:12322: $lt_compile\"" >&5)
22198 + (eval "$lt_compile" 2>conftest.err)
22199 + ac_status=$?
22200 + cat conftest.err >&5
22201 + echo "$as_me:12326: \$? = $ac_status" >&5
22202 + if (exit $ac_status) && test -s "$ac_outfile"; then
22203 + # The compiler can only warn and ignore the option if not recognized
22204 + # So say no if there are warnings other than the usual output.
22205 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
22206 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22207 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
22208 + lt_prog_compiler_pic_works_CXX=yes
22209 + fi
22210 + fi
22211 + $rm conftest*
22212 +
22213 +fi
22214 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
22215 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
22216 +
22217 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
22218 + case $lt_prog_compiler_pic_CXX in
22219 + "" | " "*) ;;
22220 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
22221 + esac
22222 +else
22223 + lt_prog_compiler_pic_CXX=
22224 + lt_prog_compiler_can_build_shared_CXX=no
22225 +fi
22226 +
22227 +fi
22228 +case $host_os in
22229 + # For platforms which do not support PIC, -DPIC is meaningless:
22230 + *djgpp*)
22231 + lt_prog_compiler_pic_CXX=
22232 + ;;
22233 + *)
22234 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
22235 + ;;
22236 +esac
22237 +
22238 +#
22239 +# Check to make sure the static flag actually works.
22240 +#
22241 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
22242 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
22243 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
22244 +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
22245 + echo $ECHO_N "(cached) $ECHO_C" >&6
22246 +else
22247 + lt_prog_compiler_static_works_CXX=no
22248 + save_LDFLAGS="$LDFLAGS"
22249 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
22250 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
22251 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
22252 + # The linker can only warn and ignore the option if not recognized
22253 + # So say no if there are warnings
22254 + if test -s conftest.err; then
22255 + # Append any errors to the config.log.
22256 + cat conftest.err 1>&5
22257 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
22258 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22259 + if diff conftest.exp conftest.er2 >/dev/null; then
22260 + lt_prog_compiler_static_works_CXX=yes
22261 + fi
22262 + else
22263 + lt_prog_compiler_static_works_CXX=yes
22264 + fi
22265 + fi
22266 + $rm conftest*
22267 + LDFLAGS="$save_LDFLAGS"
22268 +
22269 +fi
22270 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
22271 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
22272 +
22273 +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
22274 + :
22275 +else
22276 + lt_prog_compiler_static_CXX=
22277 +fi
22278 +
22279 +
22280 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22281 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
22282 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
22283 + echo $ECHO_N "(cached) $ECHO_C" >&6
22284 +else
22285 + lt_cv_prog_compiler_c_o_CXX=no
22286 + $rm -r conftest 2>/dev/null
22287 + mkdir conftest
22288 + cd conftest
22289 + mkdir out
22290 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22291 +
22292 + lt_compiler_flag="-o out/conftest2.$ac_objext"
22293 + # Insert the option either (1) after the last *FLAGS variable, or
22294 + # (2) before a word containing "conftest.", or (3) at the end.
22295 + # Note that $ac_compile itself does not contain backslashes and begins
22296 + # with a dollar sign (not a hyphen), so the echo should work correctly.
22297 + lt_compile=`echo "$ac_compile" | $SED \
22298 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22299 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22300 + -e 's:$: $lt_compiler_flag:'`
22301 + (eval echo "\"\$as_me:12426: $lt_compile\"" >&5)
22302 + (eval "$lt_compile" 2>out/conftest.err)
22303 + ac_status=$?
22304 + cat out/conftest.err >&5
22305 + echo "$as_me:12430: \$? = $ac_status" >&5
22306 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
22307 + then
22308 + # The compiler can only warn and ignore the option if not recognized
22309 + # So say no if there are warnings
22310 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
22311 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22312 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22313 + lt_cv_prog_compiler_c_o_CXX=yes
22314 + fi
22315 + fi
22316 + chmod u+w . 2>&5
22317 + $rm conftest*
22318 + # SGI C++ compiler will create directory out/ii_files/ for
22319 + # template instantiation
22320 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22321 + $rm out/* && rmdir out
22322 + cd ..
22323 + rmdir conftest
22324 + $rm conftest*
22325 +
22326 +fi
22327 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
22328 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
22329 +
22330 +
22331 +hard_links="nottested"
22332 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
22333 + # do not overwrite the value of need_locks provided by the user
22334 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22335 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
22336 + hard_links=yes
22337 + $rm conftest*
22338 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
22339 + touch conftest.a
22340 + ln conftest.a conftest.b 2>&5 || hard_links=no
22341 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
22342 + { echo "$as_me:$LINENO: result: $hard_links" >&5
22343 +echo "${ECHO_T}$hard_links" >&6; }
22344 + if test "$hard_links" = no; then
22345 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22346 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22347 + need_locks=warn
22348 + fi
22349 +else
22350 + need_locks=no
22351 +fi
22352 +
22353 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22354 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
22355 +
22356 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22357 + case $host_os in
22358 + aix4* | aix5*)
22359 + # If we're using GNU nm, then we don't want the "-C" option.
22360 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
22361 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22362 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22363 + else
22364 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22365 + fi
22366 + ;;
22367 + pw32*)
22368 + export_symbols_cmds_CXX="$ltdll_cmds"
22369 + ;;
22370 + cygwin* | mingw*)
22371 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
22372 + ;;
22373 + linux* | k*bsd*-gnu)
22374 + link_all_deplibs_CXX=no
22375 + ;;
22376 + *)
22377 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22378 + ;;
22379 + esac
22380 +
22381 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
22382 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
22383 +test "$ld_shlibs_CXX" = no && can_build_shared=no
22384 +
22385 +#
22386 +# Do we need to explicitly link libc?
22387 +#
22388 +case "x$archive_cmds_need_lc_CXX" in
22389 +x|xyes)
22390 + # Assume -lc should be added
22391 + archive_cmds_need_lc_CXX=yes
22392 +
22393 + if test "$enable_shared" = yes && test "$GCC" = yes; then
22394 + case $archive_cmds_CXX in
22395 + *'~'*)
22396 + # FIXME: we may have to deal with multi-command sequences.
22397 + ;;
22398 + '$CC '*)
22399 + # Test whether the compiler implicitly links with -lc since on some
22400 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
22401 + # to ld, don't add -lc before -lgcc.
22402 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22403 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22404 + $rm conftest*
22405 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22406 +
22407 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22408 + (eval $ac_compile) 2>&5
22409 + ac_status=$?
22410 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 + (exit $ac_status); } 2>conftest.err; then
22412 + soname=conftest
22413 + lib=conftest
22414 + libobjs=conftest.$ac_objext
22415 + deplibs=
22416 + wl=$lt_prog_compiler_wl_CXX
22417 + pic_flag=$lt_prog_compiler_pic_CXX
22418 + compiler_flags=-v
22419 + linker_flags=-v
22420 + verstring=
22421 + output_objdir=.
22422 + libname=conftest
22423 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
22424 + allow_undefined_flag_CXX=
22425 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22426 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22427 + ac_status=$?
22428 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 + (exit $ac_status); }
22430 + then
22431 + archive_cmds_need_lc_CXX=no
22432 + else
22433 + archive_cmds_need_lc_CXX=yes
22434 + fi
22435 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
22436 + else
22437 + cat conftest.err 1>&5
22438 + fi
22439 + $rm conftest*
22440 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
22441 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
22442 + ;;
22443 + esac
22444 + fi
22445 + ;;
22446 +esac
22447 +
22448 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22449 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22450 +library_names_spec=
22451 +libname_spec='lib$name'
22452 +soname_spec=
22453 +shrext_cmds=".so"
22454 +postinstall_cmds=
22455 +postuninstall_cmds=
22456 +finish_cmds=
22457 +finish_eval=
22458 +shlibpath_var=
22459 +shlibpath_overrides_runpath=unknown
22460 +version_type=none
22461 +dynamic_linker="$host_os ld.so"
22462 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
22463 +
22464 +need_lib_prefix=unknown
22465 +hardcode_into_libs=no
22466 +
22467 +# when you set need_version to no, make sure it does not cause -set_version
22468 +# flags to be left without arguments
22469 +need_version=unknown
22470 +
22471 +case $host_os in
22472 +aix3*)
22473 + version_type=linux
22474 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22475 + shlibpath_var=LIBPATH
22476 +
22477 + # AIX 3 has no versioning support, so we append a major version to the name.
22478 + soname_spec='${libname}${release}${shared_ext}$major'
22479 + ;;
22480 +
22481 +aix4* | aix5*)
22482 + version_type=linux
22483 + need_lib_prefix=no
22484 + need_version=no
22485 + hardcode_into_libs=yes
22486 + if test "$host_cpu" = ia64; then
22487 + # AIX 5 supports IA64
22488 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22489 + shlibpath_var=LD_LIBRARY_PATH
22490 + else
22491 + # With GCC up to 2.95.x, collect2 would create an import file
22492 + # for dependence libraries. The import file would start with
22493 + # the line `#! .'. This would cause the generated library to
22494 + # depend on `.', always an invalid library. This was fixed in
22495 + # development snapshots of GCC prior to 3.0.
22496 + case $host_os in
22497 + aix4 | aix4.[01] | aix4.[01].*)
22498 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22499 + echo ' yes '
22500 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22501 + :
22502 + else
22503 + can_build_shared=no
22504 + fi
22505 + ;;
22506 + esac
22507 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22508 + # soname into executable. Probably we can add versioning support to
22509 + # collect2, so additional links can be useful in future.
22510 + if test "$aix_use_runtimelinking" = yes; then
22511 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22512 + # instead of lib<name>.a to let people know that these are not
22513 + # typical AIX shared libraries.
22514 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22515 + else
22516 + # We preserve .a as extension for shared libraries through AIX4.2
22517 + # and later when we are not doing run time linking.
22518 + library_names_spec='${libname}${release}.a $libname.a'
22519 + soname_spec='${libname}${release}${shared_ext}$major'
22520 + fi
22521 + shlibpath_var=LIBPATH
22522 + fi
22523 + ;;
22524 +
22525 +amigaos*)
22526 + library_names_spec='$libname.ixlibrary $libname.a'
22527 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
22528 + 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'
22529 + ;;
22530 +
22531 +beos*)
22532 + library_names_spec='${libname}${shared_ext}'
22533 + dynamic_linker="$host_os ld.so"
22534 + shlibpath_var=LIBRARY_PATH
22535 + ;;
22536 +
22537 +bsdi[45]*)
22538 + version_type=linux
22539 + need_version=no
22540 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22541 + soname_spec='${libname}${release}${shared_ext}$major'
22542 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22543 + shlibpath_var=LD_LIBRARY_PATH
22544 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22545 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22546 + # the default ld.so.conf also contains /usr/contrib/lib and
22547 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22548 + # libtool to hard-code these into programs
22549 + ;;
22550 +
22551 +cygwin* | mingw* | pw32*)
22552 + version_type=windows
22553 + shrext_cmds=".dll"
22554 + need_version=no
22555 + need_lib_prefix=no
22556 +
22557 + case $GCC,$host_os in
22558 + yes,cygwin* | yes,mingw* | yes,pw32*)
22559 + library_names_spec='$libname.dll.a'
22560 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
22561 + postinstall_cmds='base_file=`basename \${file}`~
22562 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22563 + dldir=$destdir/`dirname \$dlpath`~
22564 + test -d \$dldir || mkdir -p \$dldir~
22565 + $install_prog $dir/$dlname \$dldir/$dlname~
22566 + chmod a+x \$dldir/$dlname'
22567 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22568 + dlpath=$dir/\$dldll~
22569 + $rm \$dlpath'
22570 + shlibpath_overrides_runpath=yes
22571 +
22572 + case $host_os in
22573 + cygwin*)
22574 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22575 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22576 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22577 + ;;
22578 + mingw*)
22579 + # MinGW DLLs use traditional 'lib' prefix
22580 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22581 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22582 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22583 + # It is most probably a Windows format PATH printed by
22584 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
22585 + # path with ; separators, and with drive letters. We can handle the
22586 + # drive letters (cygwin fileutils understands them), so leave them,
22587 + # especially as we might pass files found there to a mingw objdump,
22588 + # which wouldn't understand a cygwinified path. Ahh.
22589 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22590 + else
22591 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22592 + fi
22593 + ;;
22594 + pw32*)
22595 + # pw32 DLLs use 'pw' prefix rather than 'lib'
22596 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22597 + ;;
22598 + esac
22599 + ;;
22600 +
22601 + *)
22602 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22603 + ;;
22604 + esac
22605 + dynamic_linker='Win32 ld.exe'
22606 + # FIXME: first we should search . and the directory the executable is in
22607 + shlibpath_var=PATH
22608 + ;;
22609 +
22610 +darwin* | rhapsody*)
22611 + dynamic_linker="$host_os dyld"
22612 + version_type=darwin
22613 + need_lib_prefix=no
22614 + need_version=no
22615 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22616 + soname_spec='${libname}${release}${major}$shared_ext'
22617 + shlibpath_overrides_runpath=yes
22618 + shlibpath_var=DYLD_LIBRARY_PATH
22619 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22620 +
22621 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22622 + ;;
22623 +
22624 +dgux*)
22625 + version_type=linux
22626 + need_lib_prefix=no
22627 + need_version=no
22628 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22629 + soname_spec='${libname}${release}${shared_ext}$major'
22630 + shlibpath_var=LD_LIBRARY_PATH
22631 + ;;
22632 +
22633 +freebsd1*)
22634 + dynamic_linker=no
22635 + ;;
22636 +
22637 +freebsd* | dragonfly*)
22638 + # DragonFly does not have aout. When/if they implement a new
22639 + # versioning mechanism, adjust this.
22640 + if test -x /usr/bin/objformat; then
22641 + objformat=`/usr/bin/objformat`
22642 + else
22643 + case $host_os in
22644 + freebsd[123]*) objformat=aout ;;
22645 + *) objformat=elf ;;
22646 + esac
22647 + fi
22648 + version_type=freebsd-$objformat
22649 + case $version_type in
22650 + freebsd-elf*)
22651 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22652 + need_version=no
22653 + need_lib_prefix=no
22654 + ;;
22655 + freebsd-*)
22656 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22657 + need_version=yes
22658 + ;;
22659 + esac
22660 + shlibpath_var=LD_LIBRARY_PATH
22661 + case $host_os in
22662 + freebsd2*)
22663 + shlibpath_overrides_runpath=yes
22664 + ;;
22665 + freebsd3.[01]* | freebsdelf3.[01]*)
22666 + shlibpath_overrides_runpath=yes
22667 + hardcode_into_libs=yes
22668 + ;;
22669 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22670 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22671 + shlibpath_overrides_runpath=no
22672 + hardcode_into_libs=yes
22673 + ;;
22674 + *) # from 4.6 on, and DragonFly
22675 + shlibpath_overrides_runpath=yes
22676 + hardcode_into_libs=yes
22677 + ;;
22678 + esac
22679 + ;;
22680 +
22681 +gnu*)
22682 + version_type=linux
22683 + need_lib_prefix=no
22684 + need_version=no
22685 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22686 + soname_spec='${libname}${release}${shared_ext}$major'
22687 + shlibpath_var=LD_LIBRARY_PATH
22688 + hardcode_into_libs=yes
22689 + ;;
22690 +
22691 +hpux9* | hpux10* | hpux11*)
22692 + # Give a soname corresponding to the major version so that dld.sl refuses to
22693 + # link against other versions.
22694 + version_type=sunos
22695 + need_lib_prefix=no
22696 + need_version=no
22697 + case $host_cpu in
22698 + ia64*)
22699 + shrext_cmds='.so'
22700 + hardcode_into_libs=yes
22701 + dynamic_linker="$host_os dld.so"
22702 + shlibpath_var=LD_LIBRARY_PATH
22703 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22704 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22705 + soname_spec='${libname}${release}${shared_ext}$major'
22706 + if test "X$HPUX_IA64_MODE" = X32; then
22707 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22708 + else
22709 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22710 + fi
22711 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22712 + ;;
22713 + hppa*64*)
22714 + shrext_cmds='.sl'
22715 + hardcode_into_libs=yes
22716 + dynamic_linker="$host_os dld.sl"
22717 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22718 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22719 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22720 + soname_spec='${libname}${release}${shared_ext}$major'
22721 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22722 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22723 + ;;
22724 + *)
22725 + shrext_cmds='.sl'
22726 + dynamic_linker="$host_os dld.sl"
22727 + shlibpath_var=SHLIB_PATH
22728 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22729 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22730 + soname_spec='${libname}${release}${shared_ext}$major'
22731 + ;;
22732 + esac
22733 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
22734 + postinstall_cmds='chmod 555 $lib'
22735 + ;;
22736 +
22737 +interix[3-9]*)
22738 + version_type=linux
22739 + need_lib_prefix=no
22740 + need_version=no
22741 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22742 + soname_spec='${libname}${release}${shared_ext}$major'
22743 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22744 + shlibpath_var=LD_LIBRARY_PATH
22745 + shlibpath_overrides_runpath=no
22746 + hardcode_into_libs=yes
22747 + ;;
22748 +
22749 +irix5* | irix6* | nonstopux*)
22750 + case $host_os in
22751 + nonstopux*) version_type=nonstopux ;;
22752 + *)
22753 + if test "$lt_cv_prog_gnu_ld" = yes; then
22754 + version_type=linux
22755 + else
22756 + version_type=irix
22757 + fi ;;
22758 + esac
22759 + need_lib_prefix=no
22760 + need_version=no
22761 + soname_spec='${libname}${release}${shared_ext}$major'
22762 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22763 + case $host_os in
22764 + irix5* | nonstopux*)
22765 + libsuff= shlibsuff=
22766 + ;;
22767 + *)
22768 + case $LD in # libtool.m4 will add one of these switches to LD
22769 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22770 + libsuff= shlibsuff= libmagic=32-bit;;
22771 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22772 + libsuff=32 shlibsuff=N32 libmagic=N32;;
22773 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22774 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
22775 + *) libsuff= shlibsuff= libmagic=never-match;;
22776 + esac
22777 + ;;
22778 + esac
22779 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22780 + shlibpath_overrides_runpath=no
22781 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22782 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22783 + hardcode_into_libs=yes
22784 + ;;
22785 +
22786 +# No shared lib support for Linux oldld, aout, or coff.
22787 +linux*oldld* | linux*aout* | linux*coff*)
22788 + dynamic_linker=no
22789 + ;;
22790 +
22791 +# This must be Linux ELF.
22792 +linux* | k*bsd*-gnu)
22793 + version_type=linux
22794 + need_lib_prefix=no
22795 + need_version=no
22796 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22797 + soname_spec='${libname}${release}${shared_ext}$major'
22798 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22799 + shlibpath_var=LD_LIBRARY_PATH
22800 + shlibpath_overrides_runpath=no
22801 + # This implies no fast_install, which is unacceptable.
22802 + # Some rework will be needed to allow for fast_install
22803 + # before this can be enabled.
22804 + hardcode_into_libs=yes
22805 +
22806 + # Append ld.so.conf contents to the search path
22807 + if test -f /etc/ld.so.conf; then
22808 + 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' ' '`
22809 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22810 + fi
22811 +
22812 + # We used to test for /lib/ld.so.1 and disable shared libraries on
22813 + # powerpc, because MkLinux only supported shared libraries with the
22814 + # GNU dynamic linker. Since this was broken with cross compilers,
22815 + # most powerpc-linux boxes support dynamic linking these days and
22816 + # people can always --disable-shared, the test was removed, and we
22817 + # assume the GNU/Linux dynamic linker is in use.
22818 + dynamic_linker='GNU/Linux ld.so'
22819 + ;;
22820 +
22821 +netbsdelf*-gnu)
22822 + version_type=linux
22823 + need_lib_prefix=no
22824 + need_version=no
22825 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22826 + soname_spec='${libname}${release}${shared_ext}$major'
22827 + shlibpath_var=LD_LIBRARY_PATH
22828 + shlibpath_overrides_runpath=no
22829 + hardcode_into_libs=yes
22830 + dynamic_linker='NetBSD ld.elf_so'
22831 + ;;
22832 +
22833 +netbsd*)
22834 + version_type=sunos
22835 + need_lib_prefix=no
22836 + need_version=no
22837 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22838 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22839 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22840 + dynamic_linker='NetBSD (a.out) ld.so'
22841 + else
22842 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22843 + soname_spec='${libname}${release}${shared_ext}$major'
22844 + dynamic_linker='NetBSD ld.elf_so'
22845 + fi
22846 + shlibpath_var=LD_LIBRARY_PATH
22847 + shlibpath_overrides_runpath=yes
22848 + hardcode_into_libs=yes
22849 + ;;
22850 +
22851 +newsos6)
22852 + version_type=linux
22853 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22854 + shlibpath_var=LD_LIBRARY_PATH
22855 + shlibpath_overrides_runpath=yes
22856 + ;;
22857 +
22858 +nto-qnx*)
22859 + version_type=linux
22860 + need_lib_prefix=no
22861 + need_version=no
22862 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22863 + soname_spec='${libname}${release}${shared_ext}$major'
22864 + shlibpath_var=LD_LIBRARY_PATH
22865 + shlibpath_overrides_runpath=yes
22866 + ;;
22867 +
22868 +openbsd*)
22869 + version_type=sunos
22870 + sys_lib_dlsearch_path_spec="/usr/lib"
22871 + need_lib_prefix=no
22872 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22873 + case $host_os in
22874 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22875 + *) need_version=no ;;
22876 + esac
22877 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22878 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22879 + shlibpath_var=LD_LIBRARY_PATH
22880 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22881 + case $host_os in
22882 + openbsd2.[89] | openbsd2.[89].*)
22883 + shlibpath_overrides_runpath=no
22884 + ;;
22885 + *)
22886 + shlibpath_overrides_runpath=yes
22887 + ;;
22888 + esac
22889 + else
22890 + shlibpath_overrides_runpath=yes
22891 + fi
22892 + ;;
22893 +
22894 +os2*)
22895 + libname_spec='$name'
22896 + shrext_cmds=".dll"
22897 + need_lib_prefix=no
22898 + library_names_spec='$libname${shared_ext} $libname.a'
22899 + dynamic_linker='OS/2 ld.exe'
22900 + shlibpath_var=LIBPATH
22901 + ;;
22902 +
22903 +osf3* | osf4* | osf5*)
22904 + version_type=osf
22905 + need_lib_prefix=no
22906 + need_version=no
22907 + soname_spec='${libname}${release}${shared_ext}$major'
22908 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22909 + shlibpath_var=LD_LIBRARY_PATH
22910 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22911 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22912 + ;;
22913 +
22914 +rdos*)
22915 + dynamic_linker=no
22916 + ;;
22917 +
22918 +solaris*)
22919 + version_type=linux
22920 + need_lib_prefix=no
22921 + need_version=no
22922 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22923 + soname_spec='${libname}${release}${shared_ext}$major'
22924 + shlibpath_var=LD_LIBRARY_PATH
22925 + shlibpath_overrides_runpath=yes
22926 + hardcode_into_libs=yes
22927 + # ldd complains unless libraries are executable
22928 + postinstall_cmds='chmod +x $lib'
22929 + ;;
22930 +
22931 +sunos4*)
22932 + version_type=sunos
22933 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22934 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22935 + shlibpath_var=LD_LIBRARY_PATH
22936 + shlibpath_overrides_runpath=yes
22937 + if test "$with_gnu_ld" = yes; then
22938 + need_lib_prefix=no
22939 + fi
22940 + need_version=yes
22941 + ;;
22942 +
22943 +sysv4 | sysv4.3*)
22944 + version_type=linux
22945 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22946 + soname_spec='${libname}${release}${shared_ext}$major'
22947 + shlibpath_var=LD_LIBRARY_PATH
22948 + case $host_vendor in
22949 + sni)
22950 + shlibpath_overrides_runpath=no
22951 + need_lib_prefix=no
22952 + export_dynamic_flag_spec='${wl}-Blargedynsym'
22953 + runpath_var=LD_RUN_PATH
22954 + ;;
22955 + siemens)
22956 + need_lib_prefix=no
22957 + ;;
22958 + motorola)
22959 + need_lib_prefix=no
22960 + need_version=no
22961 + shlibpath_overrides_runpath=no
22962 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22963 + ;;
22964 + esac
22965 + ;;
22966 +
22967 +sysv4*MP*)
22968 + if test -d /usr/nec ;then
22969 + version_type=linux
22970 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22971 + soname_spec='$libname${shared_ext}.$major'
22972 + shlibpath_var=LD_LIBRARY_PATH
22973 + fi
22974 + ;;
22975 +
22976 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22977 + version_type=freebsd-elf
22978 + need_lib_prefix=no
22979 + need_version=no
22980 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22981 + soname_spec='${libname}${release}${shared_ext}$major'
22982 + shlibpath_var=LD_LIBRARY_PATH
22983 + hardcode_into_libs=yes
22984 + if test "$with_gnu_ld" = yes; then
22985 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22986 + shlibpath_overrides_runpath=no
22987 + else
22988 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22989 + shlibpath_overrides_runpath=yes
22990 + case $host_os in
22991 + sco3.2v5*)
22992 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22993 + ;;
22994 + esac
22995 + fi
22996 + sys_lib_dlsearch_path_spec='/usr/lib'
22997 + ;;
22998 +
22999 +uts4*)
23000 + version_type=linux
23001 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23002 + soname_spec='${libname}${release}${shared_ext}$major'
23003 + shlibpath_var=LD_LIBRARY_PATH
23004 + ;;
23005 +
23006 +*)
23007 + dynamic_linker=no
23008 + ;;
23009 +esac
23010 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23011 +echo "${ECHO_T}$dynamic_linker" >&6; }
23012 +test "$dynamic_linker" = no && can_build_shared=no
23013 +
23014 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23015 +if test "$GCC" = yes; then
23016 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23017 +fi
23018 +
23019 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23020 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23021 +hardcode_action_CXX=
23022 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
23023 + test -n "$runpath_var_CXX" || \
23024 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
23025 +
23026 + # We can hardcode non-existant directories.
23027 + if test "$hardcode_direct_CXX" != no &&
23028 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
23029 + # have to relink, otherwise we might link with an installed library
23030 + # when we should be linking with a yet-to-be-installed one
23031 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
23032 + test "$hardcode_minus_L_CXX" != no; then
23033 + # Linking always hardcodes the temporary library directory.
23034 + hardcode_action_CXX=relink
23035 + else
23036 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
23037 + hardcode_action_CXX=immediate
23038 + fi
23039 +else
23040 + # We cannot hardcode anything, or else we can only hardcode existing
23041 + # directories.
23042 + hardcode_action_CXX=unsupported
23043 +fi
23044 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
23045 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
23046 +
23047 +if test "$hardcode_action_CXX" = relink; then
23048 + # Fast installation is not supported
23049 + enable_fast_install=no
23050 +elif test "$shlibpath_overrides_runpath" = yes ||
23051 + test "$enable_shared" = no; then
23052 + # Fast installation is not necessary
23053 + enable_fast_install=needless
23054 +fi
23055 +
23056 +
23057 +# The else clause should only fire when bootstrapping the
23058 +# libtool distribution, otherwise you forgot to ship ltmain.sh
23059 +# with your package, and you will get complaints that there are
23060 +# no rules to generate ltmain.sh.
23061 +if test -f "$ltmain"; then
23062 + # See if we are running on zsh, and set the options which allow our commands through
23063 + # without removal of \ escapes.
23064 + if test -n "${ZSH_VERSION+set}" ; then
23065 + setopt NO_GLOB_SUBST
23066 + fi
23067 + # Now quote all the things that may contain metacharacters while being
23068 + # careful not to overquote the AC_SUBSTed values. We take copies of the
23069 + # variables and quote the copies for generation of the libtool script.
23070 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23071 + SED SHELL STRIP \
23072 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23073 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23074 + deplibs_check_method reload_flag reload_cmds need_locks \
23075 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23076 + lt_cv_sys_global_symbol_to_c_name_address \
23077 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23078 + old_postinstall_cmds old_postuninstall_cmds \
23079 + compiler_CXX \
23080 + CC_CXX \
23081 + LD_CXX \
23082 + lt_prog_compiler_wl_CXX \
23083 + lt_prog_compiler_pic_CXX \
23084 + lt_prog_compiler_static_CXX \
23085 + lt_prog_compiler_no_builtin_flag_CXX \
23086 + export_dynamic_flag_spec_CXX \
23087 + thread_safe_flag_spec_CXX \
23088 + whole_archive_flag_spec_CXX \
23089 + enable_shared_with_static_runtimes_CXX \
23090 + old_archive_cmds_CXX \
23091 + old_archive_from_new_cmds_CXX \
23092 + predep_objects_CXX \
23093 + postdep_objects_CXX \
23094 + predeps_CXX \
23095 + postdeps_CXX \
23096 + compiler_lib_search_path_CXX \
23097 + archive_cmds_CXX \
23098 + archive_expsym_cmds_CXX \
23099 + postinstall_cmds_CXX \
23100 + postuninstall_cmds_CXX \
23101 + old_archive_from_expsyms_cmds_CXX \
23102 + allow_undefined_flag_CXX \
23103 + no_undefined_flag_CXX \
23104 + export_symbols_cmds_CXX \
23105 + hardcode_libdir_flag_spec_CXX \
23106 + hardcode_libdir_flag_spec_ld_CXX \
23107 + hardcode_libdir_separator_CXX \
23108 + hardcode_automatic_CXX \
23109 + module_cmds_CXX \
23110 + module_expsym_cmds_CXX \
23111 + lt_cv_prog_compiler_c_o_CXX \
23112 + fix_srcfile_path_CXX \
23113 + exclude_expsyms_CXX \
23114 + include_expsyms_CXX; do
23115 +
23116 + case $var in
23117 + old_archive_cmds_CXX | \
23118 + old_archive_from_new_cmds_CXX | \
23119 + archive_cmds_CXX | \
23120 + archive_expsym_cmds_CXX | \
23121 + module_cmds_CXX | \
23122 + module_expsym_cmds_CXX | \
23123 + old_archive_from_expsyms_cmds_CXX | \
23124 + export_symbols_cmds_CXX | \
23125 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
23126 + postinstall_cmds | postuninstall_cmds | \
23127 + old_postinstall_cmds | old_postuninstall_cmds | \
23128 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23129 + # Double-quote double-evaled strings.
23130 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23131 + ;;
23132 + *)
23133 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23134 + ;;
23135 + esac
23136 + done
23137 +
23138 + case $lt_echo in
23139 + *'\$0 --fallback-echo"')
23140 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23141 + ;;
23142 + esac
23143 +
23144 +cfgfile="$ofile"
23145 +
23146 + cat <<__EOF__ >> "$cfgfile"
23147 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
23148 +
23149 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23150 +
23151 +# Shell to use when invoking shell scripts.
23152 +SHELL=$lt_SHELL
23153 +
23154 +# Whether or not to build shared libraries.
23155 +build_libtool_libs=$enable_shared
23156 +
23157 +# Whether or not to build static libraries.
23158 +build_old_libs=$enable_static
23159 +
23160 +# Whether or not to add -lc for building shared libraries.
23161 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
23162 +
23163 +# Whether or not to disallow shared libs when runtime libs are static
23164 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23165 +
23166 +# Whether or not to optimize for fast installation.
23167 +fast_install=$enable_fast_install
23168 +
23169 +# The host system.
23170 +host_alias=$host_alias
23171 +host=$host
23172 +host_os=$host_os
23173 +
23174 +# The build system.
23175 +build_alias=$build_alias
23176 +build=$build
23177 +build_os=$build_os
23178 +
23179 +# An echo program that does not interpret backslashes.
23180 +echo=$lt_echo
23181 +
23182 +# The archiver.
23183 +AR=$lt_AR
23184 +AR_FLAGS=$lt_AR_FLAGS
23185 +
23186 +# A C compiler.
23187 +LTCC=$lt_LTCC
23188 +
23189 +# LTCC compiler flags.
23190 +LTCFLAGS=$lt_LTCFLAGS
23191 +
23192 +# A language-specific compiler.
23193 +CC=$lt_compiler_CXX
23194 +
23195 +# Is the compiler the GNU C compiler?
23196 +with_gcc=$GCC_CXX
23197 +
23198 +# An ERE matcher.
23199 +EGREP=$lt_EGREP
23200 +
23201 +# The linker used to build libraries.
23202 +LD=$lt_LD_CXX
23203 +
23204 +# Whether we need hard or soft links.
23205 +LN_S=$lt_LN_S
23206 +
23207 +# A BSD-compatible nm program.
23208 +NM=$lt_NM
23209 +
23210 +# A symbol stripping program
23211 +STRIP=$lt_STRIP
23212 +
23213 +# Used to examine libraries when file_magic_cmd begins "file"
23214 +MAGIC_CMD=$MAGIC_CMD
23215 +
23216 +# Used on cygwin: DLL creation program.
23217 +DLLTOOL="$DLLTOOL"
23218 +
23219 +# Used on cygwin: object dumper.
23220 +OBJDUMP="$OBJDUMP"
23221 +
23222 +# Used on cygwin: assembler.
23223 +AS="$AS"
23224 +
23225 +# The name of the directory that contains temporary libtool files.
23226 +objdir=$objdir
23227 +
23228 +# How to create reloadable object files.
23229 +reload_flag=$lt_reload_flag
23230 +reload_cmds=$lt_reload_cmds
23231 +
23232 +# How to pass a linker flag through the compiler.
23233 +wl=$lt_lt_prog_compiler_wl_CXX
23234 +
23235 +# Object file suffix (normally "o").
23236 +objext="$ac_objext"
23237 +
23238 +# Old archive suffix (normally "a").
23239 +libext="$libext"
23240 +
23241 +# Shared library suffix (normally ".so").
23242 +shrext_cmds='$shrext_cmds'
23243 +
23244 +# Executable file suffix (normally "").
23245 +exeext="$exeext"
23246 +
23247 +# Additional compiler flags for building library objects.
23248 +pic_flag=$lt_lt_prog_compiler_pic_CXX
23249 +pic_mode=$pic_mode
23250 +
23251 +# What is the maximum length of a command?
23252 +max_cmd_len=$lt_cv_sys_max_cmd_len
23253 +
23254 +# Does compiler simultaneously support -c and -o options?
23255 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23256 +
23257 +# Must we lock files when doing compilation?
23258 +need_locks=$lt_need_locks
23259 +
23260 +# Do we need the lib prefix for modules?
23261 +need_lib_prefix=$need_lib_prefix
23262 +
23263 +# Do we need a version for libraries?
23264 +need_version=$need_version
23265 +
23266 +# Whether dlopen is supported.
23267 +dlopen_support=$enable_dlopen
23268 +
23269 +# Whether dlopen of programs is supported.
23270 +dlopen_self=$enable_dlopen_self
23271 +
23272 +# Whether dlopen of statically linked programs is supported.
23273 +dlopen_self_static=$enable_dlopen_self_static
23274 +
23275 +# Compiler flag to prevent dynamic linking.
23276 +link_static_flag=$lt_lt_prog_compiler_static_CXX
23277 +
23278 +# Compiler flag to turn off builtin functions.
23279 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23280 +
23281 +# Compiler flag to allow reflexive dlopens.
23282 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23283 +
23284 +# Compiler flag to generate shared objects directly from archives.
23285 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23286 +
23287 +# Compiler flag to generate thread-safe objects.
23288 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
23289 +
23290 +# Library versioning type.
23291 +version_type=$version_type
23292 +
23293 +# Format of library name prefix.
23294 +libname_spec=$lt_libname_spec
23295 +
23296 +# List of archive names. First name is the real one, the rest are links.
23297 +# The last name is the one that the linker finds with -lNAME.
23298 +library_names_spec=$lt_library_names_spec
23299 +
23300 +# The coded name of the library, if different from the real name.
23301 +soname_spec=$lt_soname_spec
23302 +
23303 +# Commands used to build and install an old-style archive.
23304 +RANLIB=$lt_RANLIB
23305 +old_archive_cmds=$lt_old_archive_cmds_CXX
23306 +old_postinstall_cmds=$lt_old_postinstall_cmds
23307 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
23308 +
23309 +# Create an old-style archive from a shared archive.
23310 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23311 +
23312 +# Create a temporary old-style archive to link instead of a shared archive.
23313 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23314 +
23315 +# Commands used to build and install a shared archive.
23316 +archive_cmds=$lt_archive_cmds_CXX
23317 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23318 +postinstall_cmds=$lt_postinstall_cmds
23319 +postuninstall_cmds=$lt_postuninstall_cmds
23320 +
23321 +# Commands used to build a loadable module (assumed same as above if empty)
23322 +module_cmds=$lt_module_cmds_CXX
23323 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
23324 +
23325 +# Commands to strip libraries.
23326 +old_striplib=$lt_old_striplib
23327 +striplib=$lt_striplib
23328 +
23329 +# Dependencies to place before the objects being linked to create a
23330 +# shared library.
23331 +predep_objects=$lt_predep_objects_CXX
23332 +
23333 +# Dependencies to place after the objects being linked to create a
23334 +# shared library.
23335 +postdep_objects=$lt_postdep_objects_CXX
23336 +
23337 +# Dependencies to place before the objects being linked to create a
23338 +# shared library.
23339 +predeps=$lt_predeps_CXX
23340 +
23341 +# Dependencies to place after the objects being linked to create a
23342 +# shared library.
23343 +postdeps=$lt_postdeps_CXX
23344 +
23345 +# The library search path used internally by the compiler when linking
23346 +# a shared library.
23347 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23348 +
23349 +# Method to check whether dependent libraries are shared objects.
23350 +deplibs_check_method=$lt_deplibs_check_method
23351 +
23352 +# Command to use when deplibs_check_method == file_magic.
23353 +file_magic_cmd=$lt_file_magic_cmd
23354 +
23355 +# Flag that allows shared libraries with undefined symbols to be built.
23356 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
23357 +
23358 +# Flag that forces no undefined symbols.
23359 +no_undefined_flag=$lt_no_undefined_flag_CXX
23360 +
23361 +# Commands used to finish a libtool library installation in a directory.
23362 +finish_cmds=$lt_finish_cmds
23363 +
23364 +# Same as above, but a single script fragment to be evaled but not shown.
23365 +finish_eval=$lt_finish_eval
23366 +
23367 +# Take the output of nm and produce a listing of raw symbols and C names.
23368 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23369 +
23370 +# Transform the output of nm in a proper C declaration
23371 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23372 +
23373 +# Transform the output of nm in a C name address pair
23374 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23375 +
23376 +# This is the shared library runtime path variable.
23377 +runpath_var=$runpath_var
23378 +
23379 +# This is the shared library path variable.
23380 +shlibpath_var=$shlibpath_var
23381 +
23382 +# Is shlibpath searched before the hard-coded library search path?
23383 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23384 +
23385 +# How to hardcode a shared library path into an executable.
23386 +hardcode_action=$hardcode_action_CXX
23387 +
23388 +# Whether we should hardcode library paths into libraries.
23389 +hardcode_into_libs=$hardcode_into_libs
23390 +
23391 +# Flag to hardcode \$libdir into a binary during linking.
23392 +# This must work even if \$libdir does not exist.
23393 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23394 +
23395 +# If ld is used when linking, flag to hardcode \$libdir into
23396 +# a binary during linking. This must work even if \$libdir does
23397 +# not exist.
23398 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
23399 +
23400 +# Whether we need a single -rpath flag with a separated argument.
23401 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23402 +
23403 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23404 +# resulting binary.
23405 +hardcode_direct=$hardcode_direct_CXX
23406 +
23407 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23408 +# resulting binary.
23409 +hardcode_minus_L=$hardcode_minus_L_CXX
23410 +
23411 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23412 +# the resulting binary.
23413 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23414 +
23415 +# Set to yes if building a shared library automatically hardcodes DIR into the library
23416 +# and all subsequent libraries and executables linked against it.
23417 +hardcode_automatic=$hardcode_automatic_CXX
23418 +
23419 +# Variables whose values should be saved in libtool wrapper scripts and
23420 +# restored at relink time.
23421 +variables_saved_for_relink="$variables_saved_for_relink"
23422 +
23423 +# Whether libtool must link a program against all its dependency libraries.
23424 +link_all_deplibs=$link_all_deplibs_CXX
23425 +
23426 +# Compile-time system search path for libraries
23427 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23428 +
23429 +# Run-time system search path for libraries
23430 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23431 +
23432 +# Fix the shell variable \$srcfile for the compiler.
23433 +fix_srcfile_path=$lt_fix_srcfile_path
23434 +
23435 +# Set to yes if exported symbols are required.
23436 +always_export_symbols=$always_export_symbols_CXX
23437 +
23438 +# The commands to list exported symbols.
23439 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
23440 +
23441 +# The commands to extract the exported symbol list from a shared archive.
23442 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
23443 +
23444 +# Symbols that should not be listed in the preloaded symbols.
23445 +exclude_expsyms=$lt_exclude_expsyms_CXX
23446 +
23447 +# Symbols that must always be exported.
23448 +include_expsyms=$lt_include_expsyms_CXX
23449 +
23450 +# ### END LIBTOOL TAG CONFIG: $tagname
23451 +
23452 +__EOF__
23453 +
23454 +
23455 +else
23456 + # If there is no Makefile yet, we rely on a make rule to execute
23457 + # `config.status --recheck' to rerun these tests and create the
23458 + # libtool script then.
23459 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23460 + if test -f "$ltmain_in"; then
23461 + test -f Makefile && make "$ltmain"
23462 + fi
23463 +fi
23464 +
23465 +
23466 +ac_ext=c
23467 +ac_cpp='$CPP $CPPFLAGS'
23468 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
23471 +
23472 +CC=$lt_save_CC
23473 +LDCXX=$LD
23474 +LD=$lt_save_LD
23475 +GCC=$lt_save_GCC
23476 +with_gnu_ldcxx=$with_gnu_ld
23477 +with_gnu_ld=$lt_save_with_gnu_ld
23478 +lt_cv_path_LDCXX=$lt_cv_path_LD
23479 +lt_cv_path_LD=$lt_save_path_LD
23480 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
23481 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
23482 +
23483 + else
23484 + tagname=""
23485 + fi
23486 + ;;
23487 +
23488 + F77)
23489 + if test -n "$F77" && test "X$F77" != "Xno"; then
23490 +
23491 +ac_ext=f
23492 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
23493 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
23495 +
23496 +
23497 +archive_cmds_need_lc_F77=no
23498 +allow_undefined_flag_F77=
23499 +always_export_symbols_F77=no
23500 +archive_expsym_cmds_F77=
23501 +export_dynamic_flag_spec_F77=
23502 +hardcode_direct_F77=no
23503 +hardcode_libdir_flag_spec_F77=
23504 +hardcode_libdir_flag_spec_ld_F77=
23505 +hardcode_libdir_separator_F77=
23506 +hardcode_minus_L_F77=no
23507 +hardcode_automatic_F77=no
23508 +module_cmds_F77=
23509 +module_expsym_cmds_F77=
23510 +link_all_deplibs_F77=unknown
23511 +old_archive_cmds_F77=$old_archive_cmds
23512 +no_undefined_flag_F77=
23513 +whole_archive_flag_spec_F77=
23514 +enable_shared_with_static_runtimes_F77=no
23515 +
23516 +# Source file extension for f77 test sources.
23517 +ac_ext=f
23518 +
23519 +# Object file extension for compiled f77 test sources.
23520 +objext=o
23521 +objext_F77=$objext
23522 +
23523 +# Code to be used in simple compile tests
23524 +lt_simple_compile_test_code="\
23525 + subroutine t
23526 + return
23527 + end
23528 +"
23529 +
23530 +# Code to be used in simple link tests
23531 +lt_simple_link_test_code="\
23532 + program t
23533 + end
23534 +"
23535 +
23536 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
23537 +
23538 +# If no C compiler was specified, use CC.
23539 +LTCC=${LTCC-"$CC"}
23540 +
23541 +# If no C compiler flags were specified, use CFLAGS.
23542 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23543 +
23544 +# Allow CC to be a program name with arguments.
23545 +compiler=$CC
23546 +
23547 +
23548 +# save warnings/boilerplate of simple test code
23549 +ac_outfile=conftest.$ac_objext
23550 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23551 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23552 +_lt_compiler_boilerplate=`cat conftest.err`
23553 +$rm conftest*
23554 +
23555 +ac_outfile=conftest.$ac_objext
23556 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
23557 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23558 +_lt_linker_boilerplate=`cat conftest.err`
23559 +$rm conftest*
23560 +
23561 +
23562 +# Allow CC to be a program name with arguments.
23563 +lt_save_CC="$CC"
23564 +CC=${F77-"f77"}
23565 +compiler=$CC
23566 +compiler_F77=$CC
23567 +for cc_temp in $compiler""; do
23568 + case $cc_temp in
23569 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23570 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23571 + \-*) ;;
23572 + *) break;;
23573 + esac
23574 +done
23575 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23576 +
23577 +
23578 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
23579 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
23580 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
23581 +echo "${ECHO_T}$can_build_shared" >&6; }
23582 +
23583 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
23584 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
23585 +test "$can_build_shared" = "no" && enable_shared=no
23586 +
23587 +# On AIX, shared libraries and static libraries use the same namespace, and
23588 +# are all built from PIC.
23589 +case $host_os in
23590 +aix3*)
23591 + test "$enable_shared" = yes && enable_static=no
23592 + if test -n "$RANLIB"; then
23593 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
23594 + postinstall_cmds='$RANLIB $lib'
23595 + fi
23596 + ;;
23597 +aix4* | aix5*)
23598 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
23599 + test "$enable_shared" = yes && enable_static=no
23600 + fi
23601 + ;;
23602 +esac
23603 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
23604 +echo "${ECHO_T}$enable_shared" >&6; }
23605 +
23606 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
23607 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
23608 +# Make sure either enable_shared or enable_static is yes.
23609 +test "$enable_shared" = yes || enable_static=yes
23610 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
23611 +echo "${ECHO_T}$enable_static" >&6; }
23612 +
23613 +GCC_F77="$G77"
23614 +LD_F77="$LD"
23615 +
23616 +lt_prog_compiler_wl_F77=
23617 +lt_prog_compiler_pic_F77=
23618 +lt_prog_compiler_static_F77=
23619 +
23620 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23621 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23622 +
23623 + if test "$GCC" = yes; then
23624 + lt_prog_compiler_wl_F77='-Wl,'
23625 + lt_prog_compiler_static_F77='-static'
23626 +
23627 + case $host_os in
23628 + aix*)
23629 + # All AIX code is PIC.
23630 + if test "$host_cpu" = ia64; then
23631 + # AIX 5 now supports IA64 processor
23632 + lt_prog_compiler_static_F77='-Bstatic'
23633 + fi
23634 + ;;
23635 +
23636 + amigaos*)
23637 + # FIXME: we need at least 68020 code to build shared libraries, but
23638 + # adding the `-m68020' flag to GCC prevents building anything better,
23639 + # like `-m68040'.
23640 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
23641 + ;;
23642 +
23643 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23644 + # PIC is the default for these OSes.
23645 + ;;
23646 +
23647 + mingw* | cygwin* | pw32* | os2*)
23648 + # This hack is so that the source file can tell whether it is being
23649 + # built for inclusion in a dll (and should export symbols for example).
23650 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
23651 + # (--disable-auto-import) libraries
23652 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
23653 + ;;
23654 +
23655 + darwin* | rhapsody*)
23656 + # PIC is the default on this platform
23657 + # Common symbols not allowed in MH_DYLIB files
23658 + lt_prog_compiler_pic_F77='-fno-common'
23659 + ;;
23660 +
23661 + interix[3-9]*)
23662 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23663 + # Instead, we relocate shared libraries at runtime.
23664 + ;;
23665 +
23666 + msdosdjgpp*)
23667 + # Just because we use GCC doesn't mean we suddenly get shared libraries
23668 + # on systems that don't support them.
23669 + lt_prog_compiler_can_build_shared_F77=no
23670 + enable_shared=no
23671 + ;;
23672 +
23673 + sysv4*MP*)
23674 + if test -d /usr/nec; then
23675 + lt_prog_compiler_pic_F77=-Kconform_pic
23676 + fi
23677 + ;;
23678 +
23679 + hpux*)
23680 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23681 + # not for PA HP-UX.
23682 + case $host_cpu in
23683 + hppa*64*|ia64*)
23684 + # +Z the default
23685 + ;;
23686 + *)
23687 + lt_prog_compiler_pic_F77='-fPIC'
23688 + ;;
23689 + esac
23690 + ;;
23691 +
23692 + *)
23693 + lt_prog_compiler_pic_F77='-fPIC'
23694 + ;;
23695 + esac
23696 + else
23697 + # PORTME Check for flag to pass linker flags through the system compiler.
23698 + case $host_os in
23699 + aix*)
23700 + lt_prog_compiler_wl_F77='-Wl,'
23701 + if test "$host_cpu" = ia64; then
23702 + # AIX 5 now supports IA64 processor
23703 + lt_prog_compiler_static_F77='-Bstatic'
23704 + else
23705 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
23706 + fi
23707 + ;;
23708 + darwin*)
23709 + # PIC is the default on this platform
23710 + # Common symbols not allowed in MH_DYLIB files
23711 + case $cc_basename in
23712 + xlc*)
23713 + lt_prog_compiler_pic_F77='-qnocommon'
23714 + lt_prog_compiler_wl_F77='-Wl,'
23715 + ;;
23716 + esac
23717 + ;;
23718 +
23719 + mingw* | cygwin* | pw32* | os2*)
23720 + # This hack is so that the source file can tell whether it is being
23721 + # built for inclusion in a dll (and should export symbols for example).
23722 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
23723 + ;;
23724 +
23725 + hpux9* | hpux10* | hpux11*)
23726 + lt_prog_compiler_wl_F77='-Wl,'
23727 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23728 + # not for PA HP-UX.
23729 + case $host_cpu in
23730 + hppa*64*|ia64*)
23731 + # +Z the default
23732 + ;;
23733 + *)
23734 + lt_prog_compiler_pic_F77='+Z'
23735 + ;;
23736 + esac
23737 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
23738 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
23739 + ;;
23740 +
23741 + irix5* | irix6* | nonstopux*)
23742 + lt_prog_compiler_wl_F77='-Wl,'
23743 + # PIC (with -KPIC) is the default.
23744 + lt_prog_compiler_static_F77='-non_shared'
23745 + ;;
23746 +
23747 + newsos6)
23748 + lt_prog_compiler_pic_F77='-KPIC'
23749 + lt_prog_compiler_static_F77='-Bstatic'
23750 + ;;
23751 +
23752 + linux* | k*bsd*-gnu)
23753 + case $cc_basename in
23754 + icc* | ecc*)
23755 + lt_prog_compiler_wl_F77='-Wl,'
23756 + lt_prog_compiler_pic_F77='-KPIC'
23757 + lt_prog_compiler_static_F77='-static'
23758 + ;;
23759 + pgcc* | pgf77* | pgf90* | pgf95*)
23760 + # Portland Group compilers (*not* the Pentium gcc compiler,
23761 + # which looks to be a dead project)
23762 + lt_prog_compiler_wl_F77='-Wl,'
23763 + lt_prog_compiler_pic_F77='-fpic'
23764 + lt_prog_compiler_static_F77='-Bstatic'
23765 + ;;
23766 + ccc*)
23767 + lt_prog_compiler_wl_F77='-Wl,'
23768 + # All Alpha code is PIC.
23769 + lt_prog_compiler_static_F77='-non_shared'
23770 + ;;
23771 + *)
23772 + case `$CC -V 2>&1 | sed 5q` in
23773 + *Sun\ C*)
23774 + # Sun C 5.9
23775 + lt_prog_compiler_pic_F77='-KPIC'
23776 + lt_prog_compiler_static_F77='-Bstatic'
23777 + lt_prog_compiler_wl_F77='-Wl,'
23778 + ;;
23779 + *Sun\ F*)
23780 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
23781 + lt_prog_compiler_pic_F77='-KPIC'
23782 + lt_prog_compiler_static_F77='-Bstatic'
23783 + lt_prog_compiler_wl_F77=''
23784 + ;;
23785 + esac
23786 + ;;
23787 + esac
23788 + ;;
23789 +
23790 + osf3* | osf4* | osf5*)
23791 + lt_prog_compiler_wl_F77='-Wl,'
23792 + # All OSF/1 code is PIC.
23793 + lt_prog_compiler_static_F77='-non_shared'
23794 + ;;
23795 +
23796 + rdos*)
23797 + lt_prog_compiler_static_F77='-non_shared'
23798 + ;;
23799 +
23800 + solaris*)
23801 + lt_prog_compiler_pic_F77='-KPIC'
23802 + lt_prog_compiler_static_F77='-Bstatic'
23803 + case $cc_basename in
23804 + f77* | f90* | f95*)
23805 + lt_prog_compiler_wl_F77='-Qoption ld ';;
23806 + *)
23807 + lt_prog_compiler_wl_F77='-Wl,';;
23808 + esac
23809 + ;;
23810 +
23811 + sunos4*)
23812 + lt_prog_compiler_wl_F77='-Qoption ld '
23813 + lt_prog_compiler_pic_F77='-PIC'
23814 + lt_prog_compiler_static_F77='-Bstatic'
23815 + ;;
23816 +
23817 + sysv4 | sysv4.2uw2* | sysv4.3*)
23818 + lt_prog_compiler_wl_F77='-Wl,'
23819 + lt_prog_compiler_pic_F77='-KPIC'
23820 + lt_prog_compiler_static_F77='-Bstatic'
23821 + ;;
23822 +
23823 + sysv4*MP*)
23824 + if test -d /usr/nec ;then
23825 + lt_prog_compiler_pic_F77='-Kconform_pic'
23826 + lt_prog_compiler_static_F77='-Bstatic'
23827 + fi
23828 + ;;
23829 +
23830 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23831 + lt_prog_compiler_wl_F77='-Wl,'
23832 + lt_prog_compiler_pic_F77='-KPIC'
23833 + lt_prog_compiler_static_F77='-Bstatic'
23834 + ;;
23835 +
23836 + unicos*)
23837 + lt_prog_compiler_wl_F77='-Wl,'
23838 + lt_prog_compiler_can_build_shared_F77=no
23839 + ;;
23840 +
23841 + uts4*)
23842 + lt_prog_compiler_pic_F77='-pic'
23843 + lt_prog_compiler_static_F77='-Bstatic'
23844 + ;;
23845 +
23846 + *)
23847 + lt_prog_compiler_can_build_shared_F77=no
23848 + ;;
23849 + esac
23850 + fi
23851 +
23852 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
23853 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
23854 +
23855 +#
23856 +# Check to make sure the PIC flag actually works.
23857 +#
23858 +if test -n "$lt_prog_compiler_pic_F77"; then
23859 +
23860 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
23861 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
23862 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
23863 + echo $ECHO_N "(cached) $ECHO_C" >&6
23864 +else
23865 + lt_prog_compiler_pic_works_F77=no
23866 + ac_outfile=conftest.$ac_objext
23867 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23868 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
23869 + # Insert the option either (1) after the last *FLAGS variable, or
23870 + # (2) before a word containing "conftest.", or (3) at the end.
23871 + # Note that $ac_compile itself does not contain backslashes and begins
23872 + # with a dollar sign (not a hyphen), so the echo should work correctly.
23873 + # The option is referenced via a variable to avoid confusing sed.
23874 + lt_compile=`echo "$ac_compile" | $SED \
23875 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23876 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23877 + -e 's:$: $lt_compiler_flag:'`
23878 + (eval echo "\"\$as_me:14003: $lt_compile\"" >&5)
23879 + (eval "$lt_compile" 2>conftest.err)
23880 + ac_status=$?
23881 + cat conftest.err >&5
23882 + echo "$as_me:14007: \$? = $ac_status" >&5
23883 + if (exit $ac_status) && test -s "$ac_outfile"; then
23884 + # The compiler can only warn and ignore the option if not recognized
23885 + # So say no if there are warnings other than the usual output.
23886 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23887 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23888 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23889 + lt_prog_compiler_pic_works_F77=yes
23890 + fi
23891 + fi
23892 + $rm conftest*
23893 +
23894 +fi
23895 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
23896 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
23897 +
23898 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
23899 + case $lt_prog_compiler_pic_F77 in
23900 + "" | " "*) ;;
23901 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
23902 + esac
23903 +else
23904 + lt_prog_compiler_pic_F77=
23905 + lt_prog_compiler_can_build_shared_F77=no
23906 +fi
23907 +
23908 +fi
23909 +case $host_os in
23910 + # For platforms which do not support PIC, -DPIC is meaningless:
23911 + *djgpp*)
23912 + lt_prog_compiler_pic_F77=
23913 + ;;
23914 + *)
23915 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
23916 + ;;
23917 +esac
23918 +
23919 +#
23920 +# Check to make sure the static flag actually works.
23921 +#
23922 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
23923 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23924 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
23925 +if test "${lt_prog_compiler_static_works_F77+set}" = set; then
23926 + echo $ECHO_N "(cached) $ECHO_C" >&6
23927 +else
23928 + lt_prog_compiler_static_works_F77=no
23929 + save_LDFLAGS="$LDFLAGS"
23930 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
23931 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
23932 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
23933 + # The linker can only warn and ignore the option if not recognized
23934 + # So say no if there are warnings
23935 + if test -s conftest.err; then
23936 + # Append any errors to the config.log.
23937 + cat conftest.err 1>&5
23938 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
23939 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23940 + if diff conftest.exp conftest.er2 >/dev/null; then
23941 + lt_prog_compiler_static_works_F77=yes
23942 + fi
23943 + else
23944 + lt_prog_compiler_static_works_F77=yes
23945 + fi
23946 + fi
23947 + $rm conftest*
23948 + LDFLAGS="$save_LDFLAGS"
23949 +
23950 +fi
23951 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
23952 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
23953 +
23954 +if test x"$lt_prog_compiler_static_works_F77" = xyes; then
23955 + :
23956 +else
23957 + lt_prog_compiler_static_F77=
23958 +fi
23959 +
23960 +
23961 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23962 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
23963 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
23964 + echo $ECHO_N "(cached) $ECHO_C" >&6
23965 +else
23966 + lt_cv_prog_compiler_c_o_F77=no
23967 + $rm -r conftest 2>/dev/null
23968 + mkdir conftest
23969 + cd conftest
23970 + mkdir out
23971 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23972 +
23973 + lt_compiler_flag="-o out/conftest2.$ac_objext"
23974 + # Insert the option either (1) after the last *FLAGS variable, or
23975 + # (2) before a word containing "conftest.", or (3) at the end.
23976 + # Note that $ac_compile itself does not contain backslashes and begins
23977 + # with a dollar sign (not a hyphen), so the echo should work correctly.
23978 + lt_compile=`echo "$ac_compile" | $SED \
23979 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23980 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23981 + -e 's:$: $lt_compiler_flag:'`
23982 + (eval echo "\"\$as_me:14107: $lt_compile\"" >&5)
23983 + (eval "$lt_compile" 2>out/conftest.err)
23984 + ac_status=$?
23985 + cat out/conftest.err >&5
23986 + echo "$as_me:14111: \$? = $ac_status" >&5
23987 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
23988 + then
23989 + # The compiler can only warn and ignore the option if not recognized
23990 + # So say no if there are warnings
23991 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
23992 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
23993 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
23994 + lt_cv_prog_compiler_c_o_F77=yes
23995 + fi
23996 + fi
23997 + chmod u+w . 2>&5
23998 + $rm conftest*
23999 + # SGI C++ compiler will create directory out/ii_files/ for
24000 + # template instantiation
24001 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24002 + $rm out/* && rmdir out
24003 + cd ..
24004 + rmdir conftest
24005 + $rm conftest*
24006 +
24007 +fi
24008 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
24009 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
24010 +
24011 +
24012 +hard_links="nottested"
24013 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
24014 + # do not overwrite the value of need_locks provided by the user
24015 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24016 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24017 + hard_links=yes
24018 + $rm conftest*
24019 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
24020 + touch conftest.a
24021 + ln conftest.a conftest.b 2>&5 || hard_links=no
24022 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
24023 + { echo "$as_me:$LINENO: result: $hard_links" >&5
24024 +echo "${ECHO_T}$hard_links" >&6; }
24025 + if test "$hard_links" = no; then
24026 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24027 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24028 + need_locks=warn
24029 + fi
24030 +else
24031 + need_locks=no
24032 +fi
24033 +
24034 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24035 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24036 +
24037 + runpath_var=
24038 + allow_undefined_flag_F77=
24039 + enable_shared_with_static_runtimes_F77=no
24040 + archive_cmds_F77=
24041 + archive_expsym_cmds_F77=
24042 + old_archive_From_new_cmds_F77=
24043 + old_archive_from_expsyms_cmds_F77=
24044 + export_dynamic_flag_spec_F77=
24045 + whole_archive_flag_spec_F77=
24046 + thread_safe_flag_spec_F77=
24047 + hardcode_libdir_flag_spec_F77=
24048 + hardcode_libdir_flag_spec_ld_F77=
24049 + hardcode_libdir_separator_F77=
24050 + hardcode_direct_F77=no
24051 + hardcode_minus_L_F77=no
24052 + hardcode_shlibpath_var_F77=unsupported
24053 + link_all_deplibs_F77=unknown
24054 + hardcode_automatic_F77=no
24055 + module_cmds_F77=
24056 + module_expsym_cmds_F77=
24057 + always_export_symbols_F77=no
24058 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24059 + # include_expsyms should be a list of space-separated symbols to be *always*
24060 + # included in the symbol list
24061 + include_expsyms_F77=
24062 + # exclude_expsyms can be an extended regexp of symbols to exclude
24063 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
24064 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24065 + # as well as any symbol that contains `d'.
24066 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
24067 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24068 + # platforms (ab)use it in PIC code, but their linkers get confused if
24069 + # the symbol is explicitly referenced. Since portable code cannot
24070 + # rely on this symbol name, it's probably fine to never include it in
24071 + # preloaded symbol tables.
24072 + extract_expsyms_cmds=
24073 + # Just being paranoid about ensuring that cc_basename is set.
24074 + for cc_temp in $compiler""; do
24075 + case $cc_temp in
24076 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24077 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24078 + \-*) ;;
24079 + *) break;;
24080 + esac
24081 +done
24082 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24083 +
24084 + case $host_os in
24085 + cygwin* | mingw* | pw32*)
24086 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
24087 + # When not using gcc, we currently assume that we are using
24088 + # Microsoft Visual C++.
24089 + if test "$GCC" != yes; then
24090 + with_gnu_ld=no
24091 + fi
24092 + ;;
24093 + interix*)
24094 + # we just hope/assume this is gcc and not c89 (= MSVC++)
24095 + with_gnu_ld=yes
24096 + ;;
24097 + openbsd*)
24098 + with_gnu_ld=no
24099 + ;;
24100 + esac
24101 +
24102 + ld_shlibs_F77=yes
24103 + if test "$with_gnu_ld" = yes; then
24104 + # If archive_cmds runs LD, not CC, wlarc should be empty
24105 + wlarc='${wl}'
24106 +
24107 + # Set some defaults for GNU ld with shared library support. These
24108 + # are reset later if shared libraries are not supported. Putting them
24109 + # here allows them to be overridden if necessary.
24110 + runpath_var=LD_RUN_PATH
24111 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
24112 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
24113 + # ancient GNU ld didn't support --whole-archive et. al.
24114 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24115 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24116 + else
24117 + whole_archive_flag_spec_F77=
24118 + fi
24119 + supports_anon_versioning=no
24120 + case `$LD -v 2>/dev/null` in
24121 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24122 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24123 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24124 + *\ 2.11.*) ;; # other 2.11 versions
24125 + *) supports_anon_versioning=yes ;;
24126 + esac
24127 +
24128 + # See if GNU ld supports shared libraries.
24129 + case $host_os in
24130 + aix3* | aix4* | aix5*)
24131 + # On AIX/PPC, the GNU linker is very broken
24132 + if test "$host_cpu" != ia64; then
24133 + ld_shlibs_F77=no
24134 + cat <<EOF 1>&2
24135 +
24136 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
24137 +*** to be unable to reliably create shared libraries on AIX.
24138 +*** Therefore, libtool is disabling shared libraries support. If you
24139 +*** really care for shared libraries, you may want to modify your PATH
24140 +*** so that a non-GNU linker is found, and then restart.
24141 +
24142 +EOF
24143 + fi
24144 + ;;
24145 +
24146 + amigaos*)
24147 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
24148 + hardcode_libdir_flag_spec_F77='-L$libdir'
24149 + hardcode_minus_L_F77=yes
24150 +
24151 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24152 + # that the semantics of dynamic libraries on AmigaOS, at least up
24153 + # to version 4, is to share data among multiple programs linked
24154 + # with the same dynamic library. Since this doesn't match the
24155 + # behavior of shared libraries on other platforms, we can't use
24156 + # them.
24157 + ld_shlibs_F77=no
24158 + ;;
24159 +
24160 + beos*)
24161 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24162 + allow_undefined_flag_F77=unsupported
24163 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24164 + # support --undefined. This deserves some investigation. FIXME
24165 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24166 + else
24167 + ld_shlibs_F77=no
24168 + fi
24169 + ;;
24170 +
24171 + cygwin* | mingw* | pw32*)
24172 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
24173 + # as there is no search path for DLLs.
24174 + hardcode_libdir_flag_spec_F77='-L$libdir'
24175 + allow_undefined_flag_F77=unsupported
24176 + always_export_symbols_F77=no
24177 + enable_shared_with_static_runtimes_F77=yes
24178 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
24179 +
24180 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24181 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24182 + # If the export-symbols file already is a .def file (1st line
24183 + # is EXPORTS), use it as is; otherwise, prepend...
24184 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24185 + cp $export_symbols $output_objdir/$soname.def;
24186 + else
24187 + echo EXPORTS > $output_objdir/$soname.def;
24188 + cat $export_symbols >> $output_objdir/$soname.def;
24189 + fi~
24190 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24191 + else
24192 + ld_shlibs_F77=no
24193 + fi
24194 + ;;
24195 +
24196 + interix[3-9]*)
24197 + hardcode_direct_F77=no
24198 + hardcode_shlibpath_var_F77=no
24199 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24200 + export_dynamic_flag_spec_F77='${wl}-E'
24201 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24202 + # Instead, shared libraries are loaded at an image base (0x10000000 by
24203 + # default) and relocated if they conflict, which is a slow very memory
24204 + # consuming and fragmenting process. To avoid this, we pick a random,
24205 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24206 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24207 + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24208 + archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24209 + ;;
24210 +
24211 + gnu* | linux* | k*bsd*-gnu)
24212 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24213 + tmp_addflag=
24214 + case $cc_basename,$host_cpu in
24215 + pgcc*) # Portland Group C compiler
24216 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24217 + tmp_addflag=' $pic_flag'
24218 + ;;
24219 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24220 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24221 + tmp_addflag=' $pic_flag -Mnomain' ;;
24222 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24223 + tmp_addflag=' -i_dynamic' ;;
24224 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24225 + tmp_addflag=' -i_dynamic -nofor_main' ;;
24226 + ifc* | ifort*) # Intel Fortran compiler
24227 + tmp_addflag=' -nofor_main' ;;
24228 + esac
24229 + case `$CC -V 2>&1 | sed 5q` in
24230 + *Sun\ C*) # Sun C 5.9
24231 + whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24232 + tmp_sharedflag='-G' ;;
24233 + *Sun\ F*) # Sun Fortran 8.3
24234 + tmp_sharedflag='-G' ;;
24235 + *)
24236 + tmp_sharedflag='-shared' ;;
24237 + esac
24238 + archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24239 +
24240 + if test $supports_anon_versioning = yes; then
24241 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
24242 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24243 + $echo "local: *; };" >> $output_objdir/$libname.ver~
24244 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24245 + fi
24246 + link_all_deplibs_F77=no
24247 + else
24248 + ld_shlibs_F77=no
24249 + fi
24250 + ;;
24251 +
24252 + netbsd* | netbsdelf*-gnu)
24253 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24254 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24255 + wlarc=
24256 + else
24257 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24258 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24259 + fi
24260 + ;;
24261 +
24262 + solaris*)
24263 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24264 + ld_shlibs_F77=no
24265 + cat <<EOF 1>&2
24266 +
24267 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
24268 +*** create shared libraries on Solaris systems. Therefore, libtool
24269 +*** is disabling shared libraries support. We urge you to upgrade GNU
24270 +*** binutils to release 2.9.1 or newer. Another option is to modify
24271 +*** your PATH or compiler configuration so that the native linker is
24272 +*** used, and then restart.
24273 +
24274 +EOF
24275 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24276 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24277 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24278 + else
24279 + ld_shlibs_F77=no
24280 + fi
24281 + ;;
24282 +
24283 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24284 + case `$LD -v 2>&1` in
24285 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24286 + ld_shlibs_F77=no
24287 + cat <<_LT_EOF 1>&2
24288 +
24289 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24290 +*** reliably create shared libraries on SCO systems. Therefore, libtool
24291 +*** is disabling shared libraries support. We urge you to upgrade GNU
24292 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24293 +*** your PATH or compiler configuration so that the native linker is
24294 +*** used, and then restart.
24295 +
24296 +_LT_EOF
24297 + ;;
24298 + *)
24299 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24300 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24301 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24302 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24303 + else
24304 + ld_shlibs_F77=no
24305 + fi
24306 + ;;
24307 + esac
24308 + ;;
24309 +
24310 + sunos4*)
24311 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24312 + wlarc=
24313 + hardcode_direct_F77=yes
24314 + hardcode_shlibpath_var_F77=no
24315 + ;;
24316 +
24317 + *)
24318 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24319 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24320 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24321 + else
24322 + ld_shlibs_F77=no
24323 + fi
24324 + ;;
24325 + esac
24326 +
24327 + if test "$ld_shlibs_F77" = no; then
24328 + runpath_var=
24329 + hardcode_libdir_flag_spec_F77=
24330 + export_dynamic_flag_spec_F77=
24331 + whole_archive_flag_spec_F77=
24332 + fi
24333 + else
24334 + # PORTME fill in a description of your system's linker (not GNU ld)
24335 + case $host_os in
24336 + aix3*)
24337 + allow_undefined_flag_F77=unsupported
24338 + always_export_symbols_F77=yes
24339 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
24340 + # Note: this linker hardcodes the directories in LIBPATH if there
24341 + # are no directories specified by -L.
24342 + hardcode_minus_L_F77=yes
24343 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24344 + # Neither direct hardcoding nor static linking is supported with a
24345 + # broken collect2.
24346 + hardcode_direct_F77=unsupported
24347 + fi
24348 + ;;
24349 +
24350 + aix4* | aix5*)
24351 + if test "$host_cpu" = ia64; then
24352 + # On IA64, the linker does run time linking by default, so we don't
24353 + # have to do anything special.
24354 + aix_use_runtimelinking=no
24355 + exp_sym_flag='-Bexport'
24356 + no_entry_flag=""
24357 + else
24358 + # If we're using GNU nm, then we don't want the "-C" option.
24359 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
24360 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24361 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24362 + else
24363 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24364 + fi
24365 + aix_use_runtimelinking=no
24366 +
24367 + # Test if we are trying to use run time linking or normal
24368 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24369 + # need to do runtime linking.
24370 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24371 + for ld_flag in $LDFLAGS; do
24372 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24373 + aix_use_runtimelinking=yes
24374 + break
24375 + fi
24376 + done
24377 + ;;
24378 + esac
24379 +
24380 + exp_sym_flag='-bexport'
24381 + no_entry_flag='-bnoentry'
24382 + fi
24383 +
24384 + # When large executables or shared objects are built, AIX ld can
24385 + # have problems creating the table of contents. If linking a library
24386 + # or program results in "error TOC overflow" add -mminimal-toc to
24387 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24388 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24389 +
24390 + archive_cmds_F77=''
24391 + hardcode_direct_F77=yes
24392 + hardcode_libdir_separator_F77=':'
24393 + link_all_deplibs_F77=yes
24394 +
24395 + if test "$GCC" = yes; then
24396 + case $host_os in aix4.[012]|aix4.[012].*)
24397 + # We only want to do this on AIX 4.2 and lower, the check
24398 + # below for broken collect2 doesn't work under 4.3+
24399 + collect2name=`${CC} -print-prog-name=collect2`
24400 + if test -f "$collect2name" && \
24401 + strings "$collect2name" | grep resolve_lib_name >/dev/null
24402 + then
24403 + # We have reworked collect2
24404 + :
24405 + else
24406 + # We have old collect2
24407 + hardcode_direct_F77=unsupported
24408 + # It fails to find uninstalled libraries when the uninstalled
24409 + # path is not listed in the libpath. Setting hardcode_minus_L
24410 + # to unsupported forces relinking
24411 + hardcode_minus_L_F77=yes
24412 + hardcode_libdir_flag_spec_F77='-L$libdir'
24413 + hardcode_libdir_separator_F77=
24414 + fi
24415 + ;;
24416 + esac
24417 + shared_flag='-shared'
24418 + if test "$aix_use_runtimelinking" = yes; then
24419 + shared_flag="$shared_flag "'${wl}-G'
24420 + fi
24421 + else
24422 + # not using gcc
24423 + if test "$host_cpu" = ia64; then
24424 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24425 + # chokes on -Wl,-G. The following line is correct:
24426 + shared_flag='-G'
24427 + else
24428 + if test "$aix_use_runtimelinking" = yes; then
24429 + shared_flag='${wl}-G'
24430 + else
24431 + shared_flag='${wl}-bM:SRE'
24432 + fi
24433 + fi
24434 + fi
24435 +
24436 + # It seems that -bexpall does not export symbols beginning with
24437 + # underscore (_), so it is better to generate a list of symbols to export.
24438 + always_export_symbols_F77=yes
24439 + if test "$aix_use_runtimelinking" = yes; then
24440 + # Warning - without using the other runtime loading flags (-brtl),
24441 + # -berok will link without error, but may produce a broken library.
24442 + allow_undefined_flag_F77='-berok'
24443 + # Determine the default libpath from the value encoded in an empty executable.
24444 + cat >conftest.$ac_ext <<_ACEOF
24445 + program main
24446 +
24447 + end
24448 +_ACEOF
24449 +rm -f conftest.$ac_objext conftest$ac_exeext
24450 +if { (ac_try="$ac_link"
24451 +case "(($ac_try" in
24452 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24453 + *) ac_try_echo=$ac_try;;
24454 +esac
24455 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24456 + (eval "$ac_link") 2>conftest.er1
24457 + ac_status=$?
24458 + grep -v '^ *+' conftest.er1 >conftest.err
24459 + rm -f conftest.er1
24460 + cat conftest.err >&5
24461 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 + (exit $ac_status); } && {
24463 + test -z "$ac_f77_werror_flag" ||
24464 + test ! -s conftest.err
24465 + } && test -s conftest$ac_exeext &&
24466 + $as_test_x conftest$ac_exeext; then
24467 +
24468 +lt_aix_libpath_sed='
24469 + /Import File Strings/,/^$/ {
24470 + /^0/ {
24471 + s/^0 *\(.*\)$/\1/
24472 + p
24473 + }
24474 + }'
24475 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24476 +# Check for a 64-bit object if we didn't find anything.
24477 +if test -z "$aix_libpath"; then
24478 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24479 +fi
24480 +else
24481 + echo "$as_me: failed program was:" >&5
24482 +sed 's/^/| /' conftest.$ac_ext >&5
24483 +
24484 +
24485 +fi
24486 +
24487 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24488 + conftest$ac_exeext conftest.$ac_ext
24489 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24490 +
24491 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
24492 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24493 + else
24494 + if test "$host_cpu" = ia64; then
24495 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
24496 + allow_undefined_flag_F77="-z nodefs"
24497 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
24498 + else
24499 + # Determine the default libpath from the value encoded in an empty executable.
24500 + cat >conftest.$ac_ext <<_ACEOF
24501 + program main
24502 +
24503 + end
24504 +_ACEOF
24505 +rm -f conftest.$ac_objext conftest$ac_exeext
24506 +if { (ac_try="$ac_link"
24507 +case "(($ac_try" in
24508 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24509 + *) ac_try_echo=$ac_try;;
24510 +esac
24511 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24512 + (eval "$ac_link") 2>conftest.er1
24513 + ac_status=$?
24514 + grep -v '^ *+' conftest.er1 >conftest.err
24515 + rm -f conftest.er1
24516 + cat conftest.err >&5
24517 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 + (exit $ac_status); } && {
24519 + test -z "$ac_f77_werror_flag" ||
24520 + test ! -s conftest.err
24521 + } && test -s conftest$ac_exeext &&
24522 + $as_test_x conftest$ac_exeext; then
24523 +
24524 +lt_aix_libpath_sed='
24525 + /Import File Strings/,/^$/ {
24526 + /^0/ {
24527 + s/^0 *\(.*\)$/\1/
24528 + p
24529 + }
24530 + }'
24531 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24532 +# Check for a 64-bit object if we didn't find anything.
24533 +if test -z "$aix_libpath"; then
24534 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24535 +fi
24536 +else
24537 + echo "$as_me: failed program was:" >&5
24538 +sed 's/^/| /' conftest.$ac_ext >&5
24539 +
24540 +
24541 +fi
24542 +
24543 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24544 + conftest$ac_exeext conftest.$ac_ext
24545 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24546 +
24547 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
24548 + # Warning - without using the other run time loading flags,
24549 + # -berok will link without error, but may produce a broken library.
24550 + no_undefined_flag_F77=' ${wl}-bernotok'
24551 + allow_undefined_flag_F77=' ${wl}-berok'
24552 + # Exported symbols can be pulled into shared objects from archives
24553 + whole_archive_flag_spec_F77='$convenience'
24554 + archive_cmds_need_lc_F77=yes
24555 + # This is similar to how AIX traditionally builds its shared libraries.
24556 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
24557 + fi
24558 + fi
24559 + ;;
24560 +
24561 + amigaos*)
24562 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
24563 + hardcode_libdir_flag_spec_F77='-L$libdir'
24564 + hardcode_minus_L_F77=yes
24565 + # see comment about different semantics on the GNU ld section
24566 + ld_shlibs_F77=no
24567 + ;;
24568 +
24569 + bsdi[45]*)
24570 + export_dynamic_flag_spec_F77=-rdynamic
24571 + ;;
24572 +
24573 + cygwin* | mingw* | pw32*)
24574 + # When not using gcc, we currently assume that we are using
24575 + # Microsoft Visual C++.
24576 + # hardcode_libdir_flag_spec is actually meaningless, as there is
24577 + # no search path for DLLs.
24578 + hardcode_libdir_flag_spec_F77=' '
24579 + allow_undefined_flag_F77=unsupported
24580 + # Tell ltmain to make .lib files, not .a files.
24581 + libext=lib
24582 + # Tell ltmain to make .dll files, not .so files.
24583 + shrext_cmds=".dll"
24584 + # FIXME: Setting linknames here is a bad hack.
24585 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24586 + # The linker will automatically build a .lib file if we build a DLL.
24587 + old_archive_From_new_cmds_F77='true'
24588 + # FIXME: Should let the user specify the lib program.
24589 + old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
24590 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
24591 + enable_shared_with_static_runtimes_F77=yes
24592 + ;;
24593 +
24594 + darwin* | rhapsody*)
24595 + case $host_os in
24596 + rhapsody* | darwin1.[012])
24597 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
24598 + ;;
24599 + *) # Darwin 1.3 on
24600 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24601 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24602 + else
24603 + case ${MACOSX_DEPLOYMENT_TARGET} in
24604 + 10.[012])
24605 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24606 + ;;
24607 + 10.*)
24608 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
24609 + ;;
24610 + esac
24611 + fi
24612 + ;;
24613 + esac
24614 + archive_cmds_need_lc_F77=no
24615 + hardcode_direct_F77=no
24616 + hardcode_automatic_F77=yes
24617 + hardcode_shlibpath_var_F77=unsupported
24618 + whole_archive_flag_spec_F77=''
24619 + link_all_deplibs_F77=yes
24620 + if test "$GCC" = yes ; then
24621 + output_verbose_link_cmd='echo'
24622 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24623 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24624 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24625 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24626 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24627 + else
24628 + case $cc_basename in
24629 + xlc*)
24630 + output_verbose_link_cmd='echo'
24631 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
24632 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24633 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24634 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24635 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24636 + ;;
24637 + *)
24638 + ld_shlibs_F77=no
24639 + ;;
24640 + esac
24641 + fi
24642 + ;;
24643 +
24644 + dgux*)
24645 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24646 + hardcode_libdir_flag_spec_F77='-L$libdir'
24647 + hardcode_shlibpath_var_F77=no
24648 + ;;
24649 +
24650 + freebsd1*)
24651 + ld_shlibs_F77=no
24652 + ;;
24653 +
24654 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24655 + # support. Future versions do this automatically, but an explicit c++rt0.o
24656 + # does not break anything, and helps significantly (at the cost of a little
24657 + # extra space).
24658 + freebsd2.2*)
24659 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24660 + hardcode_libdir_flag_spec_F77='-R$libdir'
24661 + hardcode_direct_F77=yes
24662 + hardcode_shlibpath_var_F77=no
24663 + ;;
24664 +
24665 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24666 + freebsd2*)
24667 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24668 + hardcode_direct_F77=yes
24669 + hardcode_minus_L_F77=yes
24670 + hardcode_shlibpath_var_F77=no
24671 + ;;
24672 +
24673 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24674 + freebsd* | dragonfly*)
24675 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24676 + hardcode_libdir_flag_spec_F77='-R$libdir'
24677 + hardcode_direct_F77=yes
24678 + hardcode_shlibpath_var_F77=no
24679 + ;;
24680 +
24681 + hpux9*)
24682 + if test "$GCC" = yes; then
24683 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
24684 + else
24685 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
24686 + fi
24687 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24688 + hardcode_libdir_separator_F77=:
24689 + hardcode_direct_F77=yes
24690 +
24691 + # hardcode_minus_L: Not really in the search PATH,
24692 + # but as the default location of the library.
24693 + hardcode_minus_L_F77=yes
24694 + export_dynamic_flag_spec_F77='${wl}-E'
24695 + ;;
24696 +
24697 + hpux10*)
24698 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24699 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24700 + else
24701 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24702 + fi
24703 + if test "$with_gnu_ld" = no; then
24704 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24705 + hardcode_libdir_separator_F77=:
24706 +
24707 + hardcode_direct_F77=yes
24708 + export_dynamic_flag_spec_F77='${wl}-E'
24709 +
24710 + # hardcode_minus_L: Not really in the search PATH,
24711 + # but as the default location of the library.
24712 + hardcode_minus_L_F77=yes
24713 + fi
24714 + ;;
24715 +
24716 + hpux11*)
24717 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24718 + case $host_cpu in
24719 + hppa*64*)
24720 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24721 + ;;
24722 + ia64*)
24723 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24724 + ;;
24725 + *)
24726 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24727 + ;;
24728 + esac
24729 + else
24730 + case $host_cpu in
24731 + hppa*64*)
24732 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24733 + ;;
24734 + ia64*)
24735 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24736 + ;;
24737 + *)
24738 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24739 + ;;
24740 + esac
24741 + fi
24742 + if test "$with_gnu_ld" = no; then
24743 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24744 + hardcode_libdir_separator_F77=:
24745 +
24746 + case $host_cpu in
24747 + hppa*64*|ia64*)
24748 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
24749 + hardcode_direct_F77=no
24750 + hardcode_shlibpath_var_F77=no
24751 + ;;
24752 + *)
24753 + hardcode_direct_F77=yes
24754 + export_dynamic_flag_spec_F77='${wl}-E'
24755 +
24756 + # hardcode_minus_L: Not really in the search PATH,
24757 + # but as the default location of the library.
24758 + hardcode_minus_L_F77=yes
24759 + ;;
24760 + esac
24761 + fi
24762 + ;;
24763 +
24764 + irix5* | irix6* | nonstopux*)
24765 + if test "$GCC" = yes; then
24766 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
24767 + else
24768 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
24769 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
24770 + fi
24771 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
24772 + hardcode_libdir_separator_F77=:
24773 + link_all_deplibs_F77=yes
24774 + ;;
24775 +
24776 + netbsd* | netbsdelf*-gnu)
24777 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24778 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24779 + else
24780 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24781 + fi
24782 + hardcode_libdir_flag_spec_F77='-R$libdir'
24783 + hardcode_direct_F77=yes
24784 + hardcode_shlibpath_var_F77=no
24785 + ;;
24786 +
24787 + newsos6)
24788 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24789 + hardcode_direct_F77=yes
24790 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
24791 + hardcode_libdir_separator_F77=:
24792 + hardcode_shlibpath_var_F77=no
24793 + ;;
24794 +
24795 + openbsd*)
24796 + if test -f /usr/libexec/ld.so; then
24797 + hardcode_direct_F77=yes
24798 + hardcode_shlibpath_var_F77=no
24799 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24800 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24801 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24802 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24803 + export_dynamic_flag_spec_F77='${wl}-E'
24804 + else
24805 + case $host_os in
24806 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24807 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24808 + hardcode_libdir_flag_spec_F77='-R$libdir'
24809 + ;;
24810 + *)
24811 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24812 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24813 + ;;
24814 + esac
24815 + fi
24816 + else
24817 + ld_shlibs_F77=no
24818 + fi
24819 + ;;
24820 +
24821 + os2*)
24822 + hardcode_libdir_flag_spec_F77='-L$libdir'
24823 + hardcode_minus_L_F77=yes
24824 + allow_undefined_flag_F77=unsupported
24825 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
24826 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24827 + ;;
24828 +
24829 + osf3*)
24830 + if test "$GCC" = yes; then
24831 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
24832 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
24833 + else
24834 + allow_undefined_flag_F77=' -expect_unresolved \*'
24835 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
24836 + fi
24837 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
24838 + hardcode_libdir_separator_F77=:
24839 + ;;
24840 +
24841 + osf4* | osf5*) # as osf3* with the addition of -msym flag
24842 + if test "$GCC" = yes; then
24843 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
24844 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
24845 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
24846 + else
24847 + allow_undefined_flag_F77=' -expect_unresolved \*'
24848 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
24849 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
24850 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
24851 +
24852 + # Both c and cxx compiler support -rpath directly
24853 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
24854 + fi
24855 + hardcode_libdir_separator_F77=:
24856 + ;;
24857 +
24858 + solaris*)
24859 + no_undefined_flag_F77=' -z text'
24860 + if test "$GCC" = yes; then
24861 + wlarc='${wl}'
24862 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24863 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24864 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24865 + else
24866 + wlarc=''
24867 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24868 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24869 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24870 + fi
24871 + hardcode_libdir_flag_spec_F77='-R$libdir'
24872 + hardcode_shlibpath_var_F77=no
24873 + case $host_os in
24874 + solaris2.[0-5] | solaris2.[0-5].*) ;;
24875 + *)
24876 + # The compiler driver will combine and reorder linker options,
24877 + # but understands `-z linker_flag'. GCC discards it without `$wl',
24878 + # but is careful enough not to reorder.
24879 + # Supported since Solaris 2.6 (maybe 2.5.1?)
24880 + if test "$GCC" = yes; then
24881 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
24882 + else
24883 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
24884 + fi
24885 + ;;
24886 + esac
24887 + link_all_deplibs_F77=yes
24888 + ;;
24889 +
24890 + sunos4*)
24891 + if test "x$host_vendor" = xsequent; then
24892 + # Use $CC to link under sequent, because it throws in some extra .o
24893 + # files that make .init and .fini sections work.
24894 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24895 + else
24896 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24897 + fi
24898 + hardcode_libdir_flag_spec_F77='-L$libdir'
24899 + hardcode_direct_F77=yes
24900 + hardcode_minus_L_F77=yes
24901 + hardcode_shlibpath_var_F77=no
24902 + ;;
24903 +
24904 + sysv4)
24905 + case $host_vendor in
24906 + sni)
24907 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24908 + hardcode_direct_F77=yes # is this really true???
24909 + ;;
24910 + siemens)
24911 + ## LD is ld it makes a PLAMLIB
24912 + ## CC just makes a GrossModule.
24913 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24914 + reload_cmds_F77='$CC -r -o $output$reload_objs'
24915 + hardcode_direct_F77=no
24916 + ;;
24917 + motorola)
24918 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24919 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
24920 + ;;
24921 + esac
24922 + runpath_var='LD_RUN_PATH'
24923 + hardcode_shlibpath_var_F77=no
24924 + ;;
24925 +
24926 + sysv4.3*)
24927 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24928 + hardcode_shlibpath_var_F77=no
24929 + export_dynamic_flag_spec_F77='-Bexport'
24930 + ;;
24931 +
24932 + sysv4*MP*)
24933 + if test -d /usr/nec; then
24934 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24935 + hardcode_shlibpath_var_F77=no
24936 + runpath_var=LD_RUN_PATH
24937 + hardcode_runpath_var=yes
24938 + ld_shlibs_F77=yes
24939 + fi
24940 + ;;
24941 +
24942 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
24943 + no_undefined_flag_F77='${wl}-z,text'
24944 + archive_cmds_need_lc_F77=no
24945 + hardcode_shlibpath_var_F77=no
24946 + runpath_var='LD_RUN_PATH'
24947 +
24948 + if test "$GCC" = yes; then
24949 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24950 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24951 + else
24952 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24953 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24954 + fi
24955 + ;;
24956 +
24957 + sysv5* | sco3.2v5* | sco5v6*)
24958 + # Note: We can NOT use -z defs as we might desire, because we do not
24959 + # link with -lc, and that would cause any symbols used from libc to
24960 + # always be unresolved, which means just about no library would
24961 + # ever link correctly. If we're not using GNU ld we use -z text
24962 + # though, which does catch some bad symbols but isn't as heavy-handed
24963 + # as -z defs.
24964 + no_undefined_flag_F77='${wl}-z,text'
24965 + allow_undefined_flag_F77='${wl}-z,nodefs'
24966 + archive_cmds_need_lc_F77=no
24967 + hardcode_shlibpath_var_F77=no
24968 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24969 + hardcode_libdir_separator_F77=':'
24970 + link_all_deplibs_F77=yes
24971 + export_dynamic_flag_spec_F77='${wl}-Bexport'
24972 + runpath_var='LD_RUN_PATH'
24973 +
24974 + if test "$GCC" = yes; then
24975 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24976 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24977 + else
24978 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24979 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24980 + fi
24981 + ;;
24982 +
24983 + uts4*)
24984 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24985 + hardcode_libdir_flag_spec_F77='-L$libdir'
24986 + hardcode_shlibpath_var_F77=no
24987 + ;;
24988 +
24989 + *)
24990 + ld_shlibs_F77=no
24991 + ;;
24992 + esac
24993 + fi
24994 +
24995 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
24996 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
24997 +test "$ld_shlibs_F77" = no && can_build_shared=no
24998 +
24999 +#
25000 +# Do we need to explicitly link libc?
25001 +#
25002 +case "x$archive_cmds_need_lc_F77" in
25003 +x|xyes)
25004 + # Assume -lc should be added
25005 + archive_cmds_need_lc_F77=yes
25006 +
25007 + if test "$enable_shared" = yes && test "$GCC" = yes; then
25008 + case $archive_cmds_F77 in
25009 + *'~'*)
25010 + # FIXME: we may have to deal with multi-command sequences.
25011 + ;;
25012 + '$CC '*)
25013 + # Test whether the compiler implicitly links with -lc since on some
25014 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
25015 + # to ld, don't add -lc before -lgcc.
25016 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25017 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25018 + $rm conftest*
25019 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25020 +
25021 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25022 + (eval $ac_compile) 2>&5
25023 + ac_status=$?
25024 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 + (exit $ac_status); } 2>conftest.err; then
25026 + soname=conftest
25027 + lib=conftest
25028 + libobjs=conftest.$ac_objext
25029 + deplibs=
25030 + wl=$lt_prog_compiler_wl_F77
25031 + pic_flag=$lt_prog_compiler_pic_F77
25032 + compiler_flags=-v
25033 + linker_flags=-v
25034 + verstring=
25035 + output_objdir=.
25036 + libname=conftest
25037 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
25038 + allow_undefined_flag_F77=
25039 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25040 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25041 + ac_status=$?
25042 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 + (exit $ac_status); }
25044 + then
25045 + archive_cmds_need_lc_F77=no
25046 + else
25047 + archive_cmds_need_lc_F77=yes
25048 + fi
25049 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
25050 + else
25051 + cat conftest.err 1>&5
25052 + fi
25053 + $rm conftest*
25054 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
25055 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
25056 + ;;
25057 + esac
25058 + fi
25059 + ;;
25060 +esac
25061 +
25062 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25063 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25064 +library_names_spec=
25065 +libname_spec='lib$name'
25066 +soname_spec=
25067 +shrext_cmds=".so"
25068 +postinstall_cmds=
25069 +postuninstall_cmds=
25070 +finish_cmds=
25071 +finish_eval=
25072 +shlibpath_var=
25073 +shlibpath_overrides_runpath=unknown
25074 +version_type=none
25075 +dynamic_linker="$host_os ld.so"
25076 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
25077 +
25078 +need_lib_prefix=unknown
25079 +hardcode_into_libs=no
25080 +
25081 +# when you set need_version to no, make sure it does not cause -set_version
25082 +# flags to be left without arguments
25083 +need_version=unknown
25084 +
25085 +case $host_os in
25086 +aix3*)
25087 + version_type=linux
25088 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25089 + shlibpath_var=LIBPATH
25090 +
25091 + # AIX 3 has no versioning support, so we append a major version to the name.
25092 + soname_spec='${libname}${release}${shared_ext}$major'
25093 + ;;
25094 +
25095 +aix4* | aix5*)
25096 + version_type=linux
25097 + need_lib_prefix=no
25098 + need_version=no
25099 + hardcode_into_libs=yes
25100 + if test "$host_cpu" = ia64; then
25101 + # AIX 5 supports IA64
25102 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25103 + shlibpath_var=LD_LIBRARY_PATH
25104 + else
25105 + # With GCC up to 2.95.x, collect2 would create an import file
25106 + # for dependence libraries. The import file would start with
25107 + # the line `#! .'. This would cause the generated library to
25108 + # depend on `.', always an invalid library. This was fixed in
25109 + # development snapshots of GCC prior to 3.0.
25110 + case $host_os in
25111 + aix4 | aix4.[01] | aix4.[01].*)
25112 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25113 + echo ' yes '
25114 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25115 + :
25116 + else
25117 + can_build_shared=no
25118 + fi
25119 + ;;
25120 + esac
25121 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25122 + # soname into executable. Probably we can add versioning support to
25123 + # collect2, so additional links can be useful in future.
25124 + if test "$aix_use_runtimelinking" = yes; then
25125 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25126 + # instead of lib<name>.a to let people know that these are not
25127 + # typical AIX shared libraries.
25128 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25129 + else
25130 + # We preserve .a as extension for shared libraries through AIX4.2
25131 + # and later when we are not doing run time linking.
25132 + library_names_spec='${libname}${release}.a $libname.a'
25133 + soname_spec='${libname}${release}${shared_ext}$major'
25134 + fi
25135 + shlibpath_var=LIBPATH
25136 + fi
25137 + ;;
25138 +
25139 +amigaos*)
25140 + library_names_spec='$libname.ixlibrary $libname.a'
25141 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
25142 + 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'
25143 + ;;
25144 +
25145 +beos*)
25146 + library_names_spec='${libname}${shared_ext}'
25147 + dynamic_linker="$host_os ld.so"
25148 + shlibpath_var=LIBRARY_PATH
25149 + ;;
25150 +
25151 +bsdi[45]*)
25152 + version_type=linux
25153 + need_version=no
25154 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25155 + soname_spec='${libname}${release}${shared_ext}$major'
25156 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25157 + shlibpath_var=LD_LIBRARY_PATH
25158 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25159 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25160 + # the default ld.so.conf also contains /usr/contrib/lib and
25161 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25162 + # libtool to hard-code these into programs
25163 + ;;
25164 +
25165 +cygwin* | mingw* | pw32*)
25166 + version_type=windows
25167 + shrext_cmds=".dll"
25168 + need_version=no
25169 + need_lib_prefix=no
25170 +
25171 + case $GCC,$host_os in
25172 + yes,cygwin* | yes,mingw* | yes,pw32*)
25173 + library_names_spec='$libname.dll.a'
25174 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
25175 + postinstall_cmds='base_file=`basename \${file}`~
25176 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25177 + dldir=$destdir/`dirname \$dlpath`~
25178 + test -d \$dldir || mkdir -p \$dldir~
25179 + $install_prog $dir/$dlname \$dldir/$dlname~
25180 + chmod a+x \$dldir/$dlname'
25181 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25182 + dlpath=$dir/\$dldll~
25183 + $rm \$dlpath'
25184 + shlibpath_overrides_runpath=yes
25185 +
25186 + case $host_os in
25187 + cygwin*)
25188 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25189 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25190 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25191 + ;;
25192 + mingw*)
25193 + # MinGW DLLs use traditional 'lib' prefix
25194 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25195 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25196 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25197 + # It is most probably a Windows format PATH printed by
25198 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
25199 + # path with ; separators, and with drive letters. We can handle the
25200 + # drive letters (cygwin fileutils understands them), so leave them,
25201 + # especially as we might pass files found there to a mingw objdump,
25202 + # which wouldn't understand a cygwinified path. Ahh.
25203 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25204 + else
25205 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25206 + fi
25207 + ;;
25208 + pw32*)
25209 + # pw32 DLLs use 'pw' prefix rather than 'lib'
25210 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25211 + ;;
25212 + esac
25213 + ;;
25214 +
25215 + *)
25216 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25217 + ;;
25218 + esac
25219 + dynamic_linker='Win32 ld.exe'
25220 + # FIXME: first we should search . and the directory the executable is in
25221 + shlibpath_var=PATH
25222 + ;;
25223 +
25224 +darwin* | rhapsody*)
25225 + dynamic_linker="$host_os dyld"
25226 + version_type=darwin
25227 + need_lib_prefix=no
25228 + need_version=no
25229 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25230 + soname_spec='${libname}${release}${major}$shared_ext'
25231 + shlibpath_overrides_runpath=yes
25232 + shlibpath_var=DYLD_LIBRARY_PATH
25233 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25234 +
25235 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25236 + ;;
25237 +
25238 +dgux*)
25239 + version_type=linux
25240 + need_lib_prefix=no
25241 + need_version=no
25242 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25243 + soname_spec='${libname}${release}${shared_ext}$major'
25244 + shlibpath_var=LD_LIBRARY_PATH
25245 + ;;
25246 +
25247 +freebsd1*)
25248 + dynamic_linker=no
25249 + ;;
25250 +
25251 +freebsd* | dragonfly*)
25252 + # DragonFly does not have aout. When/if they implement a new
25253 + # versioning mechanism, adjust this.
25254 + if test -x /usr/bin/objformat; then
25255 + objformat=`/usr/bin/objformat`
25256 + else
25257 + case $host_os in
25258 + freebsd[123]*) objformat=aout ;;
25259 + *) objformat=elf ;;
25260 + esac
25261 + fi
25262 + version_type=freebsd-$objformat
25263 + case $version_type in
25264 + freebsd-elf*)
25265 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25266 + need_version=no
25267 + need_lib_prefix=no
25268 + ;;
25269 + freebsd-*)
25270 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25271 + need_version=yes
25272 + ;;
25273 + esac
25274 + shlibpath_var=LD_LIBRARY_PATH
25275 + case $host_os in
25276 + freebsd2*)
25277 + shlibpath_overrides_runpath=yes
25278 + ;;
25279 + freebsd3.[01]* | freebsdelf3.[01]*)
25280 + shlibpath_overrides_runpath=yes
25281 + hardcode_into_libs=yes
25282 + ;;
25283 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25284 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25285 + shlibpath_overrides_runpath=no
25286 + hardcode_into_libs=yes
25287 + ;;
25288 + *) # from 4.6 on, and DragonFly
25289 + shlibpath_overrides_runpath=yes
25290 + hardcode_into_libs=yes
25291 + ;;
25292 + esac
25293 + ;;
25294 +
25295 +gnu*)
25296 + version_type=linux
25297 + need_lib_prefix=no
25298 + need_version=no
25299 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25300 + soname_spec='${libname}${release}${shared_ext}$major'
25301 + shlibpath_var=LD_LIBRARY_PATH
25302 + hardcode_into_libs=yes
25303 + ;;
25304 +
25305 +hpux9* | hpux10* | hpux11*)
25306 + # Give a soname corresponding to the major version so that dld.sl refuses to
25307 + # link against other versions.
25308 + version_type=sunos
25309 + need_lib_prefix=no
25310 + need_version=no
25311 + case $host_cpu in
25312 + ia64*)
25313 + shrext_cmds='.so'
25314 + hardcode_into_libs=yes
25315 + dynamic_linker="$host_os dld.so"
25316 + shlibpath_var=LD_LIBRARY_PATH
25317 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25318 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25319 + soname_spec='${libname}${release}${shared_ext}$major'
25320 + if test "X$HPUX_IA64_MODE" = X32; then
25321 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25322 + else
25323 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25324 + fi
25325 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25326 + ;;
25327 + hppa*64*)
25328 + shrext_cmds='.sl'
25329 + hardcode_into_libs=yes
25330 + dynamic_linker="$host_os dld.sl"
25331 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25332 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25333 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25334 + soname_spec='${libname}${release}${shared_ext}$major'
25335 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25336 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25337 + ;;
25338 + *)
25339 + shrext_cmds='.sl'
25340 + dynamic_linker="$host_os dld.sl"
25341 + shlibpath_var=SHLIB_PATH
25342 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25343 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25344 + soname_spec='${libname}${release}${shared_ext}$major'
25345 + ;;
25346 + esac
25347 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
25348 + postinstall_cmds='chmod 555 $lib'
25349 + ;;
25350 +
25351 +interix[3-9]*)
25352 + version_type=linux
25353 + need_lib_prefix=no
25354 + need_version=no
25355 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25356 + soname_spec='${libname}${release}${shared_ext}$major'
25357 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25358 + shlibpath_var=LD_LIBRARY_PATH
25359 + shlibpath_overrides_runpath=no
25360 + hardcode_into_libs=yes
25361 + ;;
25362 +
25363 +irix5* | irix6* | nonstopux*)
25364 + case $host_os in
25365 + nonstopux*) version_type=nonstopux ;;
25366 + *)
25367 + if test "$lt_cv_prog_gnu_ld" = yes; then
25368 + version_type=linux
25369 + else
25370 + version_type=irix
25371 + fi ;;
25372 + esac
25373 + need_lib_prefix=no
25374 + need_version=no
25375 + soname_spec='${libname}${release}${shared_ext}$major'
25376 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25377 + case $host_os in
25378 + irix5* | nonstopux*)
25379 + libsuff= shlibsuff=
25380 + ;;
25381 + *)
25382 + case $LD in # libtool.m4 will add one of these switches to LD
25383 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25384 + libsuff= shlibsuff= libmagic=32-bit;;
25385 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25386 + libsuff=32 shlibsuff=N32 libmagic=N32;;
25387 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25388 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
25389 + *) libsuff= shlibsuff= libmagic=never-match;;
25390 + esac
25391 + ;;
25392 + esac
25393 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
25394 + shlibpath_overrides_runpath=no
25395 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25396 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25397 + hardcode_into_libs=yes
25398 + ;;
25399 +
25400 +# No shared lib support for Linux oldld, aout, or coff.
25401 +linux*oldld* | linux*aout* | linux*coff*)
25402 + dynamic_linker=no
25403 + ;;
25404 +
25405 +# This must be Linux ELF.
25406 +linux* | k*bsd*-gnu)
25407 + version_type=linux
25408 + need_lib_prefix=no
25409 + need_version=no
25410 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25411 + soname_spec='${libname}${release}${shared_ext}$major'
25412 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25413 + shlibpath_var=LD_LIBRARY_PATH
25414 + shlibpath_overrides_runpath=no
25415 + # This implies no fast_install, which is unacceptable.
25416 + # Some rework will be needed to allow for fast_install
25417 + # before this can be enabled.
25418 + hardcode_into_libs=yes
25419 +
25420 + # Append ld.so.conf contents to the search path
25421 + if test -f /etc/ld.so.conf; then
25422 + 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' ' '`
25423 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
25424 + fi
25425 +
25426 + # We used to test for /lib/ld.so.1 and disable shared libraries on
25427 + # powerpc, because MkLinux only supported shared libraries with the
25428 + # GNU dynamic linker. Since this was broken with cross compilers,
25429 + # most powerpc-linux boxes support dynamic linking these days and
25430 + # people can always --disable-shared, the test was removed, and we
25431 + # assume the GNU/Linux dynamic linker is in use.
25432 + dynamic_linker='GNU/Linux ld.so'
25433 + ;;
25434 +
25435 +netbsdelf*-gnu)
25436 + version_type=linux
25437 + need_lib_prefix=no
25438 + need_version=no
25439 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25440 + soname_spec='${libname}${release}${shared_ext}$major'
25441 + shlibpath_var=LD_LIBRARY_PATH
25442 + shlibpath_overrides_runpath=no
25443 + hardcode_into_libs=yes
25444 + dynamic_linker='NetBSD ld.elf_so'
25445 + ;;
25446 +
25447 +netbsd*)
25448 + version_type=sunos
25449 + need_lib_prefix=no
25450 + need_version=no
25451 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25452 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25453 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25454 + dynamic_linker='NetBSD (a.out) ld.so'
25455 + else
25456 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25457 + soname_spec='${libname}${release}${shared_ext}$major'
25458 + dynamic_linker='NetBSD ld.elf_so'
25459 + fi
25460 + shlibpath_var=LD_LIBRARY_PATH
25461 + shlibpath_overrides_runpath=yes
25462 + hardcode_into_libs=yes
25463 + ;;
25464 +
25465 +newsos6)
25466 + version_type=linux
25467 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25468 + shlibpath_var=LD_LIBRARY_PATH
25469 + shlibpath_overrides_runpath=yes
25470 + ;;
25471 +
25472 +nto-qnx*)
25473 + version_type=linux
25474 + need_lib_prefix=no
25475 + need_version=no
25476 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25477 + soname_spec='${libname}${release}${shared_ext}$major'
25478 + shlibpath_var=LD_LIBRARY_PATH
25479 + shlibpath_overrides_runpath=yes
25480 + ;;
25481 +
25482 +openbsd*)
25483 + version_type=sunos
25484 + sys_lib_dlsearch_path_spec="/usr/lib"
25485 + need_lib_prefix=no
25486 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25487 + case $host_os in
25488 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25489 + *) need_version=no ;;
25490 + esac
25491 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25492 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25493 + shlibpath_var=LD_LIBRARY_PATH
25494 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25495 + case $host_os in
25496 + openbsd2.[89] | openbsd2.[89].*)
25497 + shlibpath_overrides_runpath=no
25498 + ;;
25499 + *)
25500 + shlibpath_overrides_runpath=yes
25501 + ;;
25502 + esac
25503 + else
25504 + shlibpath_overrides_runpath=yes
25505 + fi
25506 + ;;
25507 +
25508 +os2*)
25509 + libname_spec='$name'
25510 + shrext_cmds=".dll"
25511 + need_lib_prefix=no
25512 + library_names_spec='$libname${shared_ext} $libname.a'
25513 + dynamic_linker='OS/2 ld.exe'
25514 + shlibpath_var=LIBPATH
25515 + ;;
25516 +
25517 +osf3* | osf4* | osf5*)
25518 + version_type=osf
25519 + need_lib_prefix=no
25520 + need_version=no
25521 + soname_spec='${libname}${release}${shared_ext}$major'
25522 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25523 + shlibpath_var=LD_LIBRARY_PATH
25524 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25525 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25526 + ;;
25527 +
25528 +rdos*)
25529 + dynamic_linker=no
25530 + ;;
25531 +
25532 +solaris*)
25533 + version_type=linux
25534 + need_lib_prefix=no
25535 + need_version=no
25536 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25537 + soname_spec='${libname}${release}${shared_ext}$major'
25538 + shlibpath_var=LD_LIBRARY_PATH
25539 + shlibpath_overrides_runpath=yes
25540 + hardcode_into_libs=yes
25541 + # ldd complains unless libraries are executable
25542 + postinstall_cmds='chmod +x $lib'
25543 + ;;
25544 +
25545 +sunos4*)
25546 + version_type=sunos
25547 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25548 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25549 + shlibpath_var=LD_LIBRARY_PATH
25550 + shlibpath_overrides_runpath=yes
25551 + if test "$with_gnu_ld" = yes; then
25552 + need_lib_prefix=no
25553 + fi
25554 + need_version=yes
25555 + ;;
25556 +
25557 +sysv4 | sysv4.3*)
25558 + version_type=linux
25559 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25560 + soname_spec='${libname}${release}${shared_ext}$major'
25561 + shlibpath_var=LD_LIBRARY_PATH
25562 + case $host_vendor in
25563 + sni)
25564 + shlibpath_overrides_runpath=no
25565 + need_lib_prefix=no
25566 + export_dynamic_flag_spec='${wl}-Blargedynsym'
25567 + runpath_var=LD_RUN_PATH
25568 + ;;
25569 + siemens)
25570 + need_lib_prefix=no
25571 + ;;
25572 + motorola)
25573 + need_lib_prefix=no
25574 + need_version=no
25575 + shlibpath_overrides_runpath=no
25576 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
25577 + ;;
25578 + esac
25579 + ;;
25580 +
25581 +sysv4*MP*)
25582 + if test -d /usr/nec ;then
25583 + version_type=linux
25584 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25585 + soname_spec='$libname${shared_ext}.$major'
25586 + shlibpath_var=LD_LIBRARY_PATH
25587 + fi
25588 + ;;
25589 +
25590 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25591 + version_type=freebsd-elf
25592 + need_lib_prefix=no
25593 + need_version=no
25594 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25595 + soname_spec='${libname}${release}${shared_ext}$major'
25596 + shlibpath_var=LD_LIBRARY_PATH
25597 + hardcode_into_libs=yes
25598 + if test "$with_gnu_ld" = yes; then
25599 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25600 + shlibpath_overrides_runpath=no
25601 + else
25602 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
25603 + shlibpath_overrides_runpath=yes
25604 + case $host_os in
25605 + sco3.2v5*)
25606 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
25607 + ;;
25608 + esac
25609 + fi
25610 + sys_lib_dlsearch_path_spec='/usr/lib'
25611 + ;;
25612 +
25613 +uts4*)
25614 + version_type=linux
25615 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25616 + soname_spec='${libname}${release}${shared_ext}$major'
25617 + shlibpath_var=LD_LIBRARY_PATH
25618 + ;;
25619 +
25620 +*)
25621 + dynamic_linker=no
25622 + ;;
25623 +esac
25624 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25625 +echo "${ECHO_T}$dynamic_linker" >&6; }
25626 +test "$dynamic_linker" = no && can_build_shared=no
25627 +
25628 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
25629 +if test "$GCC" = yes; then
25630 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25631 +fi
25632 +
25633 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25634 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25635 +hardcode_action_F77=
25636 +if test -n "$hardcode_libdir_flag_spec_F77" || \
25637 + test -n "$runpath_var_F77" || \
25638 + test "X$hardcode_automatic_F77" = "Xyes" ; then
25639 +
25640 + # We can hardcode non-existant directories.
25641 + if test "$hardcode_direct_F77" != no &&
25642 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
25643 + # have to relink, otherwise we might link with an installed library
25644 + # when we should be linking with a yet-to-be-installed one
25645 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
25646 + test "$hardcode_minus_L_F77" != no; then
25647 + # Linking always hardcodes the temporary library directory.
25648 + hardcode_action_F77=relink
25649 + else
25650 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
25651 + hardcode_action_F77=immediate
25652 + fi
25653 +else
25654 + # We cannot hardcode anything, or else we can only hardcode existing
25655 + # directories.
25656 + hardcode_action_F77=unsupported
25657 +fi
25658 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
25659 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
25660 +
25661 +if test "$hardcode_action_F77" = relink; then
25662 + # Fast installation is not supported
25663 + enable_fast_install=no
25664 +elif test "$shlibpath_overrides_runpath" = yes ||
25665 + test "$enable_shared" = no; then
25666 + # Fast installation is not necessary
25667 + enable_fast_install=needless
25668 +fi
25669 +
25670 +
25671 +# The else clause should only fire when bootstrapping the
25672 +# libtool distribution, otherwise you forgot to ship ltmain.sh
25673 +# with your package, and you will get complaints that there are
25674 +# no rules to generate ltmain.sh.
25675 +if test -f "$ltmain"; then
25676 + # See if we are running on zsh, and set the options which allow our commands through
25677 + # without removal of \ escapes.
25678 + if test -n "${ZSH_VERSION+set}" ; then
25679 + setopt NO_GLOB_SUBST
25680 + fi
25681 + # Now quote all the things that may contain metacharacters while being
25682 + # careful not to overquote the AC_SUBSTed values. We take copies of the
25683 + # variables and quote the copies for generation of the libtool script.
25684 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25685 + SED SHELL STRIP \
25686 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25687 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25688 + deplibs_check_method reload_flag reload_cmds need_locks \
25689 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25690 + lt_cv_sys_global_symbol_to_c_name_address \
25691 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25692 + old_postinstall_cmds old_postuninstall_cmds \
25693 + compiler_F77 \
25694 + CC_F77 \
25695 + LD_F77 \
25696 + lt_prog_compiler_wl_F77 \
25697 + lt_prog_compiler_pic_F77 \
25698 + lt_prog_compiler_static_F77 \
25699 + lt_prog_compiler_no_builtin_flag_F77 \
25700 + export_dynamic_flag_spec_F77 \
25701 + thread_safe_flag_spec_F77 \
25702 + whole_archive_flag_spec_F77 \
25703 + enable_shared_with_static_runtimes_F77 \
25704 + old_archive_cmds_F77 \
25705 + old_archive_from_new_cmds_F77 \
25706 + predep_objects_F77 \
25707 + postdep_objects_F77 \
25708 + predeps_F77 \
25709 + postdeps_F77 \
25710 + compiler_lib_search_path_F77 \
25711 + archive_cmds_F77 \
25712 + archive_expsym_cmds_F77 \
25713 + postinstall_cmds_F77 \
25714 + postuninstall_cmds_F77 \
25715 + old_archive_from_expsyms_cmds_F77 \
25716 + allow_undefined_flag_F77 \
25717 + no_undefined_flag_F77 \
25718 + export_symbols_cmds_F77 \
25719 + hardcode_libdir_flag_spec_F77 \
25720 + hardcode_libdir_flag_spec_ld_F77 \
25721 + hardcode_libdir_separator_F77 \
25722 + hardcode_automatic_F77 \
25723 + module_cmds_F77 \
25724 + module_expsym_cmds_F77 \
25725 + lt_cv_prog_compiler_c_o_F77 \
25726 + fix_srcfile_path_F77 \
25727 + exclude_expsyms_F77 \
25728 + include_expsyms_F77; do
25729 +
25730 + case $var in
25731 + old_archive_cmds_F77 | \
25732 + old_archive_from_new_cmds_F77 | \
25733 + archive_cmds_F77 | \
25734 + archive_expsym_cmds_F77 | \
25735 + module_cmds_F77 | \
25736 + module_expsym_cmds_F77 | \
25737 + old_archive_from_expsyms_cmds_F77 | \
25738 + export_symbols_cmds_F77 | \
25739 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
25740 + postinstall_cmds | postuninstall_cmds | \
25741 + old_postinstall_cmds | old_postuninstall_cmds | \
25742 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25743 + # Double-quote double-evaled strings.
25744 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25745 + ;;
25746 + *)
25747 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25748 + ;;
25749 + esac
25750 + done
25751 +
25752 + case $lt_echo in
25753 + *'\$0 --fallback-echo"')
25754 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25755 + ;;
25756 + esac
25757 +
25758 +cfgfile="$ofile"
25759 +
25760 + cat <<__EOF__ >> "$cfgfile"
25761 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
25762 +
25763 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25764 +
25765 +# Shell to use when invoking shell scripts.
25766 +SHELL=$lt_SHELL
25767 +
25768 +# Whether or not to build shared libraries.
25769 +build_libtool_libs=$enable_shared
25770 +
25771 +# Whether or not to build static libraries.
25772 +build_old_libs=$enable_static
25773 +
25774 +# Whether or not to add -lc for building shared libraries.
25775 +build_libtool_need_lc=$archive_cmds_need_lc_F77
25776 +
25777 +# Whether or not to disallow shared libs when runtime libs are static
25778 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
25779 +
25780 +# Whether or not to optimize for fast installation.
25781 +fast_install=$enable_fast_install
25782 +
25783 +# The host system.
25784 +host_alias=$host_alias
25785 +host=$host
25786 +host_os=$host_os
25787 +
25788 +# The build system.
25789 +build_alias=$build_alias
25790 +build=$build
25791 +build_os=$build_os
25792 +
25793 +# An echo program that does not interpret backslashes.
25794 +echo=$lt_echo
25795 +
25796 +# The archiver.
25797 +AR=$lt_AR
25798 +AR_FLAGS=$lt_AR_FLAGS
25799 +
25800 +# A C compiler.
25801 +LTCC=$lt_LTCC
25802 +
25803 +# LTCC compiler flags.
25804 +LTCFLAGS=$lt_LTCFLAGS
25805 +
25806 +# A language-specific compiler.
25807 +CC=$lt_compiler_F77
25808 +
25809 +# Is the compiler the GNU C compiler?
25810 +with_gcc=$GCC_F77
25811 +
25812 +# An ERE matcher.
25813 +EGREP=$lt_EGREP
25814 +
25815 +# The linker used to build libraries.
25816 +LD=$lt_LD_F77
25817 +
25818 +# Whether we need hard or soft links.
25819 +LN_S=$lt_LN_S
25820 +
25821 +# A BSD-compatible nm program.
25822 +NM=$lt_NM
25823 +
25824 +# A symbol stripping program
25825 +STRIP=$lt_STRIP
25826 +
25827 +# Used to examine libraries when file_magic_cmd begins "file"
25828 +MAGIC_CMD=$MAGIC_CMD
25829 +
25830 +# Used on cygwin: DLL creation program.
25831 +DLLTOOL="$DLLTOOL"
25832 +
25833 +# Used on cygwin: object dumper.
25834 +OBJDUMP="$OBJDUMP"
25835 +
25836 +# Used on cygwin: assembler.
25837 +AS="$AS"
25838 +
25839 +# The name of the directory that contains temporary libtool files.
25840 +objdir=$objdir
25841 +
25842 +# How to create reloadable object files.
25843 +reload_flag=$lt_reload_flag
25844 +reload_cmds=$lt_reload_cmds
25845 +
25846 +# How to pass a linker flag through the compiler.
25847 +wl=$lt_lt_prog_compiler_wl_F77
25848 +
25849 +# Object file suffix (normally "o").
25850 +objext="$ac_objext"
25851 +
25852 +# Old archive suffix (normally "a").
25853 +libext="$libext"
25854 +
25855 +# Shared library suffix (normally ".so").
25856 +shrext_cmds='$shrext_cmds'
25857 +
25858 +# Executable file suffix (normally "").
25859 +exeext="$exeext"
25860 +
25861 +# Additional compiler flags for building library objects.
25862 +pic_flag=$lt_lt_prog_compiler_pic_F77
25863 +pic_mode=$pic_mode
25864 +
25865 +# What is the maximum length of a command?
25866 +max_cmd_len=$lt_cv_sys_max_cmd_len
25867 +
25868 +# Does compiler simultaneously support -c and -o options?
25869 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
25870 +
25871 +# Must we lock files when doing compilation?
25872 +need_locks=$lt_need_locks
25873 +
25874 +# Do we need the lib prefix for modules?
25875 +need_lib_prefix=$need_lib_prefix
25876 +
25877 +# Do we need a version for libraries?
25878 +need_version=$need_version
25879 +
25880 +# Whether dlopen is supported.
25881 +dlopen_support=$enable_dlopen
25882 +
25883 +# Whether dlopen of programs is supported.
25884 +dlopen_self=$enable_dlopen_self
25885 +
25886 +# Whether dlopen of statically linked programs is supported.
25887 +dlopen_self_static=$enable_dlopen_self_static
25888 +
25889 +# Compiler flag to prevent dynamic linking.
25890 +link_static_flag=$lt_lt_prog_compiler_static_F77
25891 +
25892 +# Compiler flag to turn off builtin functions.
25893 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
25894 +
25895 +# Compiler flag to allow reflexive dlopens.
25896 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
25897 +
25898 +# Compiler flag to generate shared objects directly from archives.
25899 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
25900 +
25901 +# Compiler flag to generate thread-safe objects.
25902 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
25903 +
25904 +# Library versioning type.
25905 +version_type=$version_type
25906 +
25907 +# Format of library name prefix.
25908 +libname_spec=$lt_libname_spec
25909 +
25910 +# List of archive names. First name is the real one, the rest are links.
25911 +# The last name is the one that the linker finds with -lNAME.
25912 +library_names_spec=$lt_library_names_spec
25913 +
25914 +# The coded name of the library, if different from the real name.
25915 +soname_spec=$lt_soname_spec
25916 +
25917 +# Commands used to build and install an old-style archive.
25918 +RANLIB=$lt_RANLIB
25919 +old_archive_cmds=$lt_old_archive_cmds_F77
25920 +old_postinstall_cmds=$lt_old_postinstall_cmds
25921 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
25922 +
25923 +# Create an old-style archive from a shared archive.
25924 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
25925 +
25926 +# Create a temporary old-style archive to link instead of a shared archive.
25927 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
25928 +
25929 +# Commands used to build and install a shared archive.
25930 +archive_cmds=$lt_archive_cmds_F77
25931 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
25932 +postinstall_cmds=$lt_postinstall_cmds
25933 +postuninstall_cmds=$lt_postuninstall_cmds
25934 +
25935 +# Commands used to build a loadable module (assumed same as above if empty)
25936 +module_cmds=$lt_module_cmds_F77
25937 +module_expsym_cmds=$lt_module_expsym_cmds_F77
25938 +
25939 +# Commands to strip libraries.
25940 +old_striplib=$lt_old_striplib
25941 +striplib=$lt_striplib
25942 +
25943 +# Dependencies to place before the objects being linked to create a
25944 +# shared library.
25945 +predep_objects=$lt_predep_objects_F77
25946 +
25947 +# Dependencies to place after the objects being linked to create a
25948 +# shared library.
25949 +postdep_objects=$lt_postdep_objects_F77
25950 +
25951 +# Dependencies to place before the objects being linked to create a
25952 +# shared library.
25953 +predeps=$lt_predeps_F77
25954 +
25955 +# Dependencies to place after the objects being linked to create a
25956 +# shared library.
25957 +postdeps=$lt_postdeps_F77
25958 +
25959 +# The library search path used internally by the compiler when linking
25960 +# a shared library.
25961 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
25962 +
25963 +# Method to check whether dependent libraries are shared objects.
25964 +deplibs_check_method=$lt_deplibs_check_method
25965 +
25966 +# Command to use when deplibs_check_method == file_magic.
25967 +file_magic_cmd=$lt_file_magic_cmd
25968 +
25969 +# Flag that allows shared libraries with undefined symbols to be built.
25970 +allow_undefined_flag=$lt_allow_undefined_flag_F77
25971 +
25972 +# Flag that forces no undefined symbols.
25973 +no_undefined_flag=$lt_no_undefined_flag_F77
25974 +
25975 +# Commands used to finish a libtool library installation in a directory.
25976 +finish_cmds=$lt_finish_cmds
25977 +
25978 +# Same as above, but a single script fragment to be evaled but not shown.
25979 +finish_eval=$lt_finish_eval
25980 +
25981 +# Take the output of nm and produce a listing of raw symbols and C names.
25982 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25983 +
25984 +# Transform the output of nm in a proper C declaration
25985 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25986 +
25987 +# Transform the output of nm in a C name address pair
25988 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25989 +
25990 +# This is the shared library runtime path variable.
25991 +runpath_var=$runpath_var
25992 +
25993 +# This is the shared library path variable.
25994 +shlibpath_var=$shlibpath_var
25995 +
25996 +# Is shlibpath searched before the hard-coded library search path?
25997 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25998 +
25999 +# How to hardcode a shared library path into an executable.
26000 +hardcode_action=$hardcode_action_F77
26001 +
26002 +# Whether we should hardcode library paths into libraries.
26003 +hardcode_into_libs=$hardcode_into_libs
26004 +
26005 +# Flag to hardcode \$libdir into a binary during linking.
26006 +# This must work even if \$libdir does not exist.
26007 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
26008 +
26009 +# If ld is used when linking, flag to hardcode \$libdir into
26010 +# a binary during linking. This must work even if \$libdir does
26011 +# not exist.
26012 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
26013 +
26014 +# Whether we need a single -rpath flag with a separated argument.
26015 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
26016 +
26017 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26018 +# resulting binary.
26019 +hardcode_direct=$hardcode_direct_F77
26020 +
26021 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26022 +# resulting binary.
26023 +hardcode_minus_L=$hardcode_minus_L_F77
26024 +
26025 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26026 +# the resulting binary.
26027 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
26028 +
26029 +# Set to yes if building a shared library automatically hardcodes DIR into the library
26030 +# and all subsequent libraries and executables linked against it.
26031 +hardcode_automatic=$hardcode_automatic_F77
26032 +
26033 +# Variables whose values should be saved in libtool wrapper scripts and
26034 +# restored at relink time.
26035 +variables_saved_for_relink="$variables_saved_for_relink"
26036 +
26037 +# Whether libtool must link a program against all its dependency libraries.
26038 +link_all_deplibs=$link_all_deplibs_F77
26039 +
26040 +# Compile-time system search path for libraries
26041 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26042 +
26043 +# Run-time system search path for libraries
26044 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26045 +
26046 +# Fix the shell variable \$srcfile for the compiler.
26047 +fix_srcfile_path=$lt_fix_srcfile_path
26048 +
26049 +# Set to yes if exported symbols are required.
26050 +always_export_symbols=$always_export_symbols_F77
26051 +
26052 +# The commands to list exported symbols.
26053 +export_symbols_cmds=$lt_export_symbols_cmds_F77
26054 +
26055 +# The commands to extract the exported symbol list from a shared archive.
26056 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
26057 +
26058 +# Symbols that should not be listed in the preloaded symbols.
26059 +exclude_expsyms=$lt_exclude_expsyms_F77
26060 +
26061 +# Symbols that must always be exported.
26062 +include_expsyms=$lt_include_expsyms_F77
26063 +
26064 +# ### END LIBTOOL TAG CONFIG: $tagname
26065 +
26066 +__EOF__
26067 +
26068 +
26069 +else
26070 + # If there is no Makefile yet, we rely on a make rule to execute
26071 + # `config.status --recheck' to rerun these tests and create the
26072 + # libtool script then.
26073 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26074 + if test -f "$ltmain_in"; then
26075 + test -f Makefile && make "$ltmain"
26076 + fi
26077 +fi
26078 +
26079 +
26080 +ac_ext=c
26081 +ac_cpp='$CPP $CPPFLAGS'
26082 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26083 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26084 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
26085 +
26086 +CC="$lt_save_CC"
26087 +
26088 + else
26089 + tagname=""
26090 + fi
26091 + ;;
26092 +
26093 + GCJ)
26094 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
26095 +
26096 +
26097 +# Source file extension for Java test sources.
26098 +ac_ext=java
26099 +
26100 +# Object file extension for compiled Java test sources.
26101 +objext=o
26102 +objext_GCJ=$objext
26103 +
26104 +# Code to be used in simple compile tests
26105 +lt_simple_compile_test_code="class foo {}"
26106 +
26107 +# Code to be used in simple link tests
26108 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
26109 +
26110 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
26111 +
26112 +# If no C compiler was specified, use CC.
26113 +LTCC=${LTCC-"$CC"}
26114 +
26115 +# If no C compiler flags were specified, use CFLAGS.
26116 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26117 +
26118 +# Allow CC to be a program name with arguments.
26119 +compiler=$CC
26120 +
26121 +
26122 +# save warnings/boilerplate of simple test code
26123 +ac_outfile=conftest.$ac_objext
26124 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
26125 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26126 +_lt_compiler_boilerplate=`cat conftest.err`
26127 +$rm conftest*
26128 +
26129 +ac_outfile=conftest.$ac_objext
26130 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
26131 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26132 +_lt_linker_boilerplate=`cat conftest.err`
26133 +$rm conftest*
26134 +
26135 +
26136 +# Allow CC to be a program name with arguments.
26137 +lt_save_CC="$CC"
26138 +CC=${GCJ-"gcj"}
26139 +compiler=$CC
26140 +compiler_GCJ=$CC
26141 +for cc_temp in $compiler""; do
26142 + case $cc_temp in
26143 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26144 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26145 + \-*) ;;
26146 + *) break;;
26147 + esac
26148 +done
26149 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26150 +
26151 +
26152 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
26153 +archive_cmds_need_lc_GCJ=no
26154 +
26155 +old_archive_cmds_GCJ=$old_archive_cmds
26156 +
26157 +
26158 +lt_prog_compiler_no_builtin_flag_GCJ=
26159 +
26160 +if test "$GCC" = yes; then
26161 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
26162 +
26163 +
26164 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
26165 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
26166 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
26167 + echo $ECHO_N "(cached) $ECHO_C" >&6
26168 +else
26169 + lt_cv_prog_compiler_rtti_exceptions=no
26170 + ac_outfile=conftest.$ac_objext
26171 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26172 + lt_compiler_flag="-fno-rtti -fno-exceptions"
26173 + # Insert the option either (1) after the last *FLAGS variable, or
26174 + # (2) before a word containing "conftest.", or (3) at the end.
26175 + # Note that $ac_compile itself does not contain backslashes and begins
26176 + # with a dollar sign (not a hyphen), so the echo should work correctly.
26177 + # The option is referenced via a variable to avoid confusing sed.
26178 + lt_compile=`echo "$ac_compile" | $SED \
26179 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
26180 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
26181 + -e 's:$: $lt_compiler_flag:'`
26182 + (eval echo "\"\$as_me:16307: $lt_compile\"" >&5)
26183 + (eval "$lt_compile" 2>conftest.err)
26184 + ac_status=$?
26185 + cat conftest.err >&5
26186 + echo "$as_me:16311: \$? = $ac_status" >&5
26187 + if (exit $ac_status) && test -s "$ac_outfile"; then
26188 + # The compiler can only warn and ignore the option if not recognized
26189 + # So say no if there are warnings other than the usual output.
26190 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
26191 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
26192 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
26193 + lt_cv_prog_compiler_rtti_exceptions=yes
26194 + fi
26195 + fi
26196 + $rm conftest*
26197 +
26198 +fi
26199 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
26200 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
26201 +
26202 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
26203 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
26204 +else
26205 + :
26206 +fi
26207 +
26208 +fi
26209 +
26210 +lt_prog_compiler_wl_GCJ=
26211 +lt_prog_compiler_pic_GCJ=
26212 +lt_prog_compiler_static_GCJ=
26213 +
26214 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
26215 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
26216 +
26217 + if test "$GCC" = yes; then
26218 + lt_prog_compiler_wl_GCJ='-Wl,'
26219 + lt_prog_compiler_static_GCJ='-static'
26220 +
26221 + case $host_os in
26222 + aix*)
26223 + # All AIX code is PIC.
26224 + if test "$host_cpu" = ia64; then
26225 + # AIX 5 now supports IA64 processor
26226 + lt_prog_compiler_static_GCJ='-Bstatic'
26227 + fi
26228 + ;;
26229 +
26230 + amigaos*)
26231 + # FIXME: we need at least 68020 code to build shared libraries, but
26232 + # adding the `-m68020' flag to GCC prevents building anything better,
26233 + # like `-m68040'.
26234 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
26235 + ;;
26236 +
26237 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
26238 + # PIC is the default for these OSes.
26239 + ;;
26240 +
26241 + mingw* | cygwin* | pw32* | os2*)
26242 + # This hack is so that the source file can tell whether it is being
26243 + # built for inclusion in a dll (and should export symbols for example).
26244 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
26245 + # (--disable-auto-import) libraries
26246 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
26247 + ;;
26248 +
26249 + darwin* | rhapsody*)
26250 + # PIC is the default on this platform
26251 + # Common symbols not allowed in MH_DYLIB files
26252 + lt_prog_compiler_pic_GCJ='-fno-common'
26253 + ;;
26254 +
26255 + interix[3-9]*)
26256 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
26257 + # Instead, we relocate shared libraries at runtime.
26258 + ;;
26259 +
26260 + msdosdjgpp*)
26261 + # Just because we use GCC doesn't mean we suddenly get shared libraries
26262 + # on systems that don't support them.
26263 + lt_prog_compiler_can_build_shared_GCJ=no
26264 + enable_shared=no
26265 + ;;
26266 +
26267 + sysv4*MP*)
26268 + if test -d /usr/nec; then
26269 + lt_prog_compiler_pic_GCJ=-Kconform_pic
26270 + fi
26271 + ;;
26272 +
26273 + hpux*)
26274 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
26275 + # not for PA HP-UX.
26276 + case $host_cpu in
26277 + hppa*64*|ia64*)
26278 + # +Z the default
26279 + ;;
26280 + *)
26281 + lt_prog_compiler_pic_GCJ='-fPIC'
26282 + ;;
26283 + esac
26284 + ;;
26285 +
26286 + *)
26287 + lt_prog_compiler_pic_GCJ='-fPIC'
26288 + ;;
26289 + esac
26290 + else
26291 + # PORTME Check for flag to pass linker flags through the system compiler.
26292 + case $host_os in
26293 + aix*)
26294 + lt_prog_compiler_wl_GCJ='-Wl,'
26295 + if test "$host_cpu" = ia64; then
26296 + # AIX 5 now supports IA64 processor
26297 + lt_prog_compiler_static_GCJ='-Bstatic'
26298 + else
26299 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
26300 + fi
26301 + ;;
26302 + darwin*)
26303 + # PIC is the default on this platform
26304 + # Common symbols not allowed in MH_DYLIB files
26305 + case $cc_basename in
26306 + xlc*)
26307 + lt_prog_compiler_pic_GCJ='-qnocommon'
26308 + lt_prog_compiler_wl_GCJ='-Wl,'
26309 + ;;
26310 + esac
26311 + ;;
26312 +
26313 + mingw* | cygwin* | pw32* | os2*)
26314 + # This hack is so that the source file can tell whether it is being
26315 + # built for inclusion in a dll (and should export symbols for example).
26316 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
26317 + ;;
26318 +
26319 + hpux9* | hpux10* | hpux11*)
26320 + lt_prog_compiler_wl_GCJ='-Wl,'
26321 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
26322 + # not for PA HP-UX.
26323 + case $host_cpu in
26324 + hppa*64*|ia64*)
26325 + # +Z the default
26326 + ;;
26327 + *)
26328 + lt_prog_compiler_pic_GCJ='+Z'
26329 + ;;
26330 + esac
26331 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
26332 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
26333 + ;;
26334 +
26335 + irix5* | irix6* | nonstopux*)
26336 + lt_prog_compiler_wl_GCJ='-Wl,'
26337 + # PIC (with -KPIC) is the default.
26338 + lt_prog_compiler_static_GCJ='-non_shared'
26339 + ;;
26340 +
26341 + newsos6)
26342 + lt_prog_compiler_pic_GCJ='-KPIC'
26343 + lt_prog_compiler_static_GCJ='-Bstatic'
26344 + ;;
26345 +
26346 + linux* | k*bsd*-gnu)
26347 + case $cc_basename in
26348 + icc* | ecc*)
26349 + lt_prog_compiler_wl_GCJ='-Wl,'
26350 + lt_prog_compiler_pic_GCJ='-KPIC'
26351 + lt_prog_compiler_static_GCJ='-static'
26352 + ;;
26353 + pgcc* | pgf77* | pgf90* | pgf95*)
26354 + # Portland Group compilers (*not* the Pentium gcc compiler,
26355 + # which looks to be a dead project)
26356 + lt_prog_compiler_wl_GCJ='-Wl,'
26357 + lt_prog_compiler_pic_GCJ='-fpic'
26358 + lt_prog_compiler_static_GCJ='-Bstatic'
26359 + ;;
26360 + ccc*)
26361 + lt_prog_compiler_wl_GCJ='-Wl,'
26362 + # All Alpha code is PIC.
26363 + lt_prog_compiler_static_GCJ='-non_shared'
26364 + ;;
26365 + *)
26366 + case `$CC -V 2>&1 | sed 5q` in
26367 + *Sun\ C*)
26368 + # Sun C 5.9
26369 + lt_prog_compiler_pic_GCJ='-KPIC'
26370 + lt_prog_compiler_static_GCJ='-Bstatic'
26371 + lt_prog_compiler_wl_GCJ='-Wl,'
26372 + ;;
26373 + *Sun\ F*)
26374 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
26375 + lt_prog_compiler_pic_GCJ='-KPIC'
26376 + lt_prog_compiler_static_GCJ='-Bstatic'
26377 + lt_prog_compiler_wl_GCJ=''
26378 + ;;
26379 + esac
26380 + ;;
26381 + esac
26382 + ;;
26383 +
26384 + osf3* | osf4* | osf5*)
26385 + lt_prog_compiler_wl_GCJ='-Wl,'
26386 + # All OSF/1 code is PIC.
26387 + lt_prog_compiler_static_GCJ='-non_shared'
26388 + ;;
26389 +
26390 + rdos*)
26391 + lt_prog_compiler_static_GCJ='-non_shared'
26392 + ;;
26393 +
26394 + solaris*)
26395 + lt_prog_compiler_pic_GCJ='-KPIC'
26396 + lt_prog_compiler_static_GCJ='-Bstatic'
26397 + case $cc_basename in
26398 + f77* | f90* | f95*)
26399 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
26400 + *)
26401 + lt_prog_compiler_wl_GCJ='-Wl,';;
26402 + esac
26403 + ;;
26404 +
26405 + sunos4*)
26406 + lt_prog_compiler_wl_GCJ='-Qoption ld '
26407 + lt_prog_compiler_pic_GCJ='-PIC'
26408 + lt_prog_compiler_static_GCJ='-Bstatic'
26409 + ;;
26410 +
26411 + sysv4 | sysv4.2uw2* | sysv4.3*)
26412 + lt_prog_compiler_wl_GCJ='-Wl,'
26413 + lt_prog_compiler_pic_GCJ='-KPIC'
26414 + lt_prog_compiler_static_GCJ='-Bstatic'
26415 + ;;
26416 +
26417 + sysv4*MP*)
26418 + if test -d /usr/nec ;then
26419 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
26420 + lt_prog_compiler_static_GCJ='-Bstatic'
26421 + fi
26422 + ;;
26423 +
26424 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
26425 + lt_prog_compiler_wl_GCJ='-Wl,'
26426 + lt_prog_compiler_pic_GCJ='-KPIC'
26427 + lt_prog_compiler_static_GCJ='-Bstatic'
26428 + ;;
26429 +
26430 + unicos*)
26431 + lt_prog_compiler_wl_GCJ='-Wl,'
26432 + lt_prog_compiler_can_build_shared_GCJ=no
26433 + ;;
26434 +
26435 + uts4*)
26436 + lt_prog_compiler_pic_GCJ='-pic'
26437 + lt_prog_compiler_static_GCJ='-Bstatic'
26438 + ;;
26439 +
26440 + *)
26441 + lt_prog_compiler_can_build_shared_GCJ=no
26442 + ;;
26443 + esac
26444 + fi
26445 +
26446 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
26447 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
26448 +
26449 +#
26450 +# Check to make sure the PIC flag actually works.
26451 +#
26452 +if test -n "$lt_prog_compiler_pic_GCJ"; then
26453 +
26454 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
26455 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
26456 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
26457 + echo $ECHO_N "(cached) $ECHO_C" >&6
26458 +else
26459 + lt_prog_compiler_pic_works_GCJ=no
26460 + ac_outfile=conftest.$ac_objext
26461 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26462 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
26463 + # Insert the option either (1) after the last *FLAGS variable, or
26464 + # (2) before a word containing "conftest.", or (3) at the end.
26465 + # Note that $ac_compile itself does not contain backslashes and begins
26466 + # with a dollar sign (not a hyphen), so the echo should work correctly.
26467 + # The option is referenced via a variable to avoid confusing sed.
26468 + lt_compile=`echo "$ac_compile" | $SED \
26469 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
26470 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
26471 + -e 's:$: $lt_compiler_flag:'`
26472 + (eval echo "\"\$as_me:16597: $lt_compile\"" >&5)
26473 + (eval "$lt_compile" 2>conftest.err)
26474 + ac_status=$?
26475 + cat conftest.err >&5
26476 + echo "$as_me:16601: \$? = $ac_status" >&5
26477 + if (exit $ac_status) && test -s "$ac_outfile"; then
26478 + # The compiler can only warn and ignore the option if not recognized
26479 + # So say no if there are warnings other than the usual output.
26480 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
26481 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
26482 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
26483 + lt_prog_compiler_pic_works_GCJ=yes
26484 + fi
26485 + fi
26486 + $rm conftest*
26487 +
26488 +fi
26489 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
26490 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
26491 +
26492 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
26493 + case $lt_prog_compiler_pic_GCJ in
26494 + "" | " "*) ;;
26495 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
26496 + esac
26497 +else
26498 + lt_prog_compiler_pic_GCJ=
26499 + lt_prog_compiler_can_build_shared_GCJ=no
26500 +fi
26501 +
26502 +fi
26503 +case $host_os in
26504 + # For platforms which do not support PIC, -DPIC is meaningless:
26505 + *djgpp*)
26506 + lt_prog_compiler_pic_GCJ=
26507 + ;;
26508 + *)
26509 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
26510 + ;;
26511 +esac
26512 +
26513 +#
26514 +# Check to make sure the static flag actually works.
26515 +#
26516 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
26517 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
26518 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
26519 +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
26520 + echo $ECHO_N "(cached) $ECHO_C" >&6
26521 +else
26522 + lt_prog_compiler_static_works_GCJ=no
26523 + save_LDFLAGS="$LDFLAGS"
26524 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
26525 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
26526 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
26527 + # The linker can only warn and ignore the option if not recognized
26528 + # So say no if there are warnings
26529 + if test -s conftest.err; then
26530 + # Append any errors to the config.log.
26531 + cat conftest.err 1>&5
26532 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
26533 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
26534 + if diff conftest.exp conftest.er2 >/dev/null; then
26535 + lt_prog_compiler_static_works_GCJ=yes
26536 + fi
26537 + else
26538 + lt_prog_compiler_static_works_GCJ=yes
26539 + fi
26540 + fi
26541 + $rm conftest*
26542 + LDFLAGS="$save_LDFLAGS"
26543 +
26544 +fi
26545 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
26546 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
26547 +
26548 +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
26549 + :
26550 +else
26551 + lt_prog_compiler_static_GCJ=
26552 +fi
26553 +
26554 +
26555 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
26556 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
26557 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
26558 + echo $ECHO_N "(cached) $ECHO_C" >&6
26559 +else
26560 + lt_cv_prog_compiler_c_o_GCJ=no
26561 + $rm -r conftest 2>/dev/null
26562 + mkdir conftest
26563 + cd conftest
26564 + mkdir out
26565 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26566 +
26567 + lt_compiler_flag="-o out/conftest2.$ac_objext"
26568 + # Insert the option either (1) after the last *FLAGS variable, or
26569 + # (2) before a word containing "conftest.", or (3) at the end.
26570 + # Note that $ac_compile itself does not contain backslashes and begins
26571 + # with a dollar sign (not a hyphen), so the echo should work correctly.
26572 + lt_compile=`echo "$ac_compile" | $SED \
26573 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
26574 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
26575 + -e 's:$: $lt_compiler_flag:'`
26576 + (eval echo "\"\$as_me:16701: $lt_compile\"" >&5)
26577 + (eval "$lt_compile" 2>out/conftest.err)
26578 + ac_status=$?
26579 + cat out/conftest.err >&5
26580 + echo "$as_me:16705: \$? = $ac_status" >&5
26581 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
26582 + then
26583 + # The compiler can only warn and ignore the option if not recognized
26584 + # So say no if there are warnings
26585 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
26586 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
26587 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
26588 + lt_cv_prog_compiler_c_o_GCJ=yes
26589 + fi
26590 + fi
26591 + chmod u+w . 2>&5
26592 + $rm conftest*
26593 + # SGI C++ compiler will create directory out/ii_files/ for
26594 + # template instantiation
26595 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
26596 + $rm out/* && rmdir out
26597 + cd ..
26598 + rmdir conftest
26599 + $rm conftest*
26600 +
26601 +fi
26602 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
26603 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
26604 +
26605 +
26606 +hard_links="nottested"
26607 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
26608 + # do not overwrite the value of need_locks provided by the user
26609 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
26610 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
26611 + hard_links=yes
26612 + $rm conftest*
26613 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
26614 + touch conftest.a
26615 + ln conftest.a conftest.b 2>&5 || hard_links=no
26616 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
26617 + { echo "$as_me:$LINENO: result: $hard_links" >&5
26618 +echo "${ECHO_T}$hard_links" >&6; }
26619 + if test "$hard_links" = no; then
26620 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
26621 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
26622 + need_locks=warn
26623 + fi
26624 +else
26625 + need_locks=no
26626 +fi
26627 +
26628 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
26629 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
26630 +
26631 + runpath_var=
26632 + allow_undefined_flag_GCJ=
26633 + enable_shared_with_static_runtimes_GCJ=no
26634 + archive_cmds_GCJ=
26635 + archive_expsym_cmds_GCJ=
26636 + old_archive_From_new_cmds_GCJ=
26637 + old_archive_from_expsyms_cmds_GCJ=
26638 + export_dynamic_flag_spec_GCJ=
26639 + whole_archive_flag_spec_GCJ=
26640 + thread_safe_flag_spec_GCJ=
26641 + hardcode_libdir_flag_spec_GCJ=
26642 + hardcode_libdir_flag_spec_ld_GCJ=
26643 + hardcode_libdir_separator_GCJ=
26644 + hardcode_direct_GCJ=no
26645 + hardcode_minus_L_GCJ=no
26646 + hardcode_shlibpath_var_GCJ=unsupported
26647 + link_all_deplibs_GCJ=unknown
26648 + hardcode_automatic_GCJ=no
26649 + module_cmds_GCJ=
26650 + module_expsym_cmds_GCJ=
26651 + always_export_symbols_GCJ=no
26652 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
26653 + # include_expsyms should be a list of space-separated symbols to be *always*
26654 + # included in the symbol list
26655 + include_expsyms_GCJ=
26656 + # exclude_expsyms can be an extended regexp of symbols to exclude
26657 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
26658 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
26659 + # as well as any symbol that contains `d'.
26660 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
26661 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
26662 + # platforms (ab)use it in PIC code, but their linkers get confused if
26663 + # the symbol is explicitly referenced. Since portable code cannot
26664 + # rely on this symbol name, it's probably fine to never include it in
26665 + # preloaded symbol tables.
26666 + extract_expsyms_cmds=
26667 + # Just being paranoid about ensuring that cc_basename is set.
26668 + for cc_temp in $compiler""; do
26669 + case $cc_temp in
26670 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26671 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26672 + \-*) ;;
26673 + *) break;;
26674 + esac
26675 +done
26676 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26677 +
26678 + case $host_os in
26679 + cygwin* | mingw* | pw32*)
26680 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
26681 + # When not using gcc, we currently assume that we are using
26682 + # Microsoft Visual C++.
26683 + if test "$GCC" != yes; then
26684 + with_gnu_ld=no
26685 + fi
26686 + ;;
26687 + interix*)
26688 + # we just hope/assume this is gcc and not c89 (= MSVC++)
26689 + with_gnu_ld=yes
26690 + ;;
26691 + openbsd*)
26692 + with_gnu_ld=no
26693 + ;;
26694 + esac
26695 +
26696 + ld_shlibs_GCJ=yes
26697 + if test "$with_gnu_ld" = yes; then
26698 + # If archive_cmds runs LD, not CC, wlarc should be empty
26699 + wlarc='${wl}'
26700 +
26701 + # Set some defaults for GNU ld with shared library support. These
26702 + # are reset later if shared libraries are not supported. Putting them
26703 + # here allows them to be overridden if necessary.
26704 + runpath_var=LD_RUN_PATH
26705 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
26706 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
26707 + # ancient GNU ld didn't support --whole-archive et. al.
26708 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
26709 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
26710 + else
26711 + whole_archive_flag_spec_GCJ=
26712 + fi
26713 + supports_anon_versioning=no
26714 + case `$LD -v 2>/dev/null` in
26715 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
26716 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
26717 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
26718 + *\ 2.11.*) ;; # other 2.11 versions
26719 + *) supports_anon_versioning=yes ;;
26720 + esac
26721 +
26722 + # See if GNU ld supports shared libraries.
26723 + case $host_os in
26724 + aix3* | aix4* | aix5*)
26725 + # On AIX/PPC, the GNU linker is very broken
26726 + if test "$host_cpu" != ia64; then
26727 + ld_shlibs_GCJ=no
26728 + cat <<EOF 1>&2
26729 +
26730 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
26731 +*** to be unable to reliably create shared libraries on AIX.
26732 +*** Therefore, libtool is disabling shared libraries support. If you
26733 +*** really care for shared libraries, you may want to modify your PATH
26734 +*** so that a non-GNU linker is found, and then restart.
26735 +
26736 +EOF
26737 + fi
26738 + ;;
26739 +
26740 + amigaos*)
26741 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
26742 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
26743 + hardcode_minus_L_GCJ=yes
26744 +
26745 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
26746 + # that the semantics of dynamic libraries on AmigaOS, at least up
26747 + # to version 4, is to share data among multiple programs linked
26748 + # with the same dynamic library. Since this doesn't match the
26749 + # behavior of shared libraries on other platforms, we can't use
26750 + # them.
26751 + ld_shlibs_GCJ=no
26752 + ;;
26753 +
26754 + beos*)
26755 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26756 + allow_undefined_flag_GCJ=unsupported
26757 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
26758 + # support --undefined. This deserves some investigation. FIXME
26759 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26760 + else
26761 + ld_shlibs_GCJ=no
26762 + fi
26763 + ;;
26764 +
26765 + cygwin* | mingw* | pw32*)
26766 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
26767 + # as there is no search path for DLLs.
26768 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
26769 + allow_undefined_flag_GCJ=unsupported
26770 + always_export_symbols_GCJ=no
26771 + enable_shared_with_static_runtimes_GCJ=yes
26772 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
26773 +
26774 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
26775 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
26776 + # If the export-symbols file already is a .def file (1st line
26777 + # is EXPORTS), use it as is; otherwise, prepend...
26778 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
26779 + cp $export_symbols $output_objdir/$soname.def;
26780 + else
26781 + echo EXPORTS > $output_objdir/$soname.def;
26782 + cat $export_symbols >> $output_objdir/$soname.def;
26783 + fi~
26784 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
26785 + else
26786 + ld_shlibs_GCJ=no
26787 + fi
26788 + ;;
26789 +
26790 + interix[3-9]*)
26791 + hardcode_direct_GCJ=no
26792 + hardcode_shlibpath_var_GCJ=no
26793 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26794 + export_dynamic_flag_spec_GCJ='${wl}-E'
26795 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
26796 + # Instead, shared libraries are loaded at an image base (0x10000000 by
26797 + # default) and relocated if they conflict, which is a slow very memory
26798 + # consuming and fragmenting process. To avoid this, we pick a random,
26799 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
26800 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
26801 + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
26802 + archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
26803 + ;;
26804 +
26805 + gnu* | linux* | k*bsd*-gnu)
26806 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26807 + tmp_addflag=
26808 + case $cc_basename,$host_cpu in
26809 + pgcc*) # Portland Group C compiler
26810 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
26811 + tmp_addflag=' $pic_flag'
26812 + ;;
26813 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
26814 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
26815 + tmp_addflag=' $pic_flag -Mnomain' ;;
26816 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
26817 + tmp_addflag=' -i_dynamic' ;;
26818 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
26819 + tmp_addflag=' -i_dynamic -nofor_main' ;;
26820 + ifc* | ifort*) # Intel Fortran compiler
26821 + tmp_addflag=' -nofor_main' ;;
26822 + esac
26823 + case `$CC -V 2>&1 | sed 5q` in
26824 + *Sun\ C*) # Sun C 5.9
26825 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
26826 + tmp_sharedflag='-G' ;;
26827 + *Sun\ F*) # Sun Fortran 8.3
26828 + tmp_sharedflag='-G' ;;
26829 + *)
26830 + tmp_sharedflag='-shared' ;;
26831 + esac
26832 + archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26833 +
26834 + if test $supports_anon_versioning = yes; then
26835 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
26836 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
26837 + $echo "local: *; };" >> $output_objdir/$libname.ver~
26838 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
26839 + fi
26840 + link_all_deplibs_GCJ=no
26841 + else
26842 + ld_shlibs_GCJ=no
26843 + fi
26844 + ;;
26845 +
26846 + netbsd* | netbsdelf*-gnu)
26847 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
26848 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
26849 + wlarc=
26850 + else
26851 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26852 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
26853 + fi
26854 + ;;
26855 +
26856 + solaris*)
26857 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
26858 + ld_shlibs_GCJ=no
26859 + cat <<EOF 1>&2
26860 +
26861 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
26862 +*** create shared libraries on Solaris systems. Therefore, libtool
26863 +*** is disabling shared libraries support. We urge you to upgrade GNU
26864 +*** binutils to release 2.9.1 or newer. Another option is to modify
26865 +*** your PATH or compiler configuration so that the native linker is
26866 +*** used, and then restart.
26867 +
26868 +EOF
26869 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26870 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26871 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
26872 + else
26873 + ld_shlibs_GCJ=no
26874 + fi
26875 + ;;
26876 +
26877 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
26878 + case `$LD -v 2>&1` in
26879 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
26880 + ld_shlibs_GCJ=no
26881 + cat <<_LT_EOF 1>&2
26882 +
26883 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
26884 +*** reliably create shared libraries on SCO systems. Therefore, libtool
26885 +*** is disabling shared libraries support. We urge you to upgrade GNU
26886 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
26887 +*** your PATH or compiler configuration so that the native linker is
26888 +*** used, and then restart.
26889 +
26890 +_LT_EOF
26891 + ;;
26892 + *)
26893 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26894 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
26895 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
26896 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
26897 + else
26898 + ld_shlibs_GCJ=no
26899 + fi
26900 + ;;
26901 + esac
26902 + ;;
26903 +
26904 + sunos4*)
26905 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26906 + wlarc=
26907 + hardcode_direct_GCJ=yes
26908 + hardcode_shlibpath_var_GCJ=no
26909 + ;;
26910 +
26911 + *)
26912 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
26913 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26914 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
26915 + else
26916 + ld_shlibs_GCJ=no
26917 + fi
26918 + ;;
26919 + esac
26920 +
26921 + if test "$ld_shlibs_GCJ" = no; then
26922 + runpath_var=
26923 + hardcode_libdir_flag_spec_GCJ=
26924 + export_dynamic_flag_spec_GCJ=
26925 + whole_archive_flag_spec_GCJ=
26926 + fi
26927 + else
26928 + # PORTME fill in a description of your system's linker (not GNU ld)
26929 + case $host_os in
26930 + aix3*)
26931 + allow_undefined_flag_GCJ=unsupported
26932 + always_export_symbols_GCJ=yes
26933 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
26934 + # Note: this linker hardcodes the directories in LIBPATH if there
26935 + # are no directories specified by -L.
26936 + hardcode_minus_L_GCJ=yes
26937 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
26938 + # Neither direct hardcoding nor static linking is supported with a
26939 + # broken collect2.
26940 + hardcode_direct_GCJ=unsupported
26941 + fi
26942 + ;;
26943 +
26944 + aix4* | aix5*)
26945 + if test "$host_cpu" = ia64; then
26946 + # On IA64, the linker does run time linking by default, so we don't
26947 + # have to do anything special.
26948 + aix_use_runtimelinking=no
26949 + exp_sym_flag='-Bexport'
26950 + no_entry_flag=""
26951 + else
26952 + # If we're using GNU nm, then we don't want the "-C" option.
26953 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
26954 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
26955 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
26956 + else
26957 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
26958 + fi
26959 + aix_use_runtimelinking=no
26960 +
26961 + # Test if we are trying to use run time linking or normal
26962 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
26963 + # need to do runtime linking.
26964 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
26965 + for ld_flag in $LDFLAGS; do
26966 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
26967 + aix_use_runtimelinking=yes
26968 + break
26969 + fi
26970 + done
26971 + ;;
26972 + esac
26973 +
26974 + exp_sym_flag='-bexport'
26975 + no_entry_flag='-bnoentry'
26976 + fi
26977 +
26978 + # When large executables or shared objects are built, AIX ld can
26979 + # have problems creating the table of contents. If linking a library
26980 + # or program results in "error TOC overflow" add -mminimal-toc to
26981 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
26982 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
26983 +
26984 + archive_cmds_GCJ=''
26985 + hardcode_direct_GCJ=yes
26986 + hardcode_libdir_separator_GCJ=':'
26987 + link_all_deplibs_GCJ=yes
26988 +
26989 + if test "$GCC" = yes; then
26990 + case $host_os in aix4.[012]|aix4.[012].*)
26991 + # We only want to do this on AIX 4.2 and lower, the check
26992 + # below for broken collect2 doesn't work under 4.3+
26993 + collect2name=`${CC} -print-prog-name=collect2`
26994 + if test -f "$collect2name" && \
26995 + strings "$collect2name" | grep resolve_lib_name >/dev/null
26996 + then
26997 + # We have reworked collect2
26998 + :
26999 + else
27000 + # We have old collect2
27001 + hardcode_direct_GCJ=unsupported
27002 + # It fails to find uninstalled libraries when the uninstalled
27003 + # path is not listed in the libpath. Setting hardcode_minus_L
27004 + # to unsupported forces relinking
27005 + hardcode_minus_L_GCJ=yes
27006 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
27007 + hardcode_libdir_separator_GCJ=
27008 + fi
27009 + ;;
27010 + esac
27011 + shared_flag='-shared'
27012 + if test "$aix_use_runtimelinking" = yes; then
27013 + shared_flag="$shared_flag "'${wl}-G'
27014 + fi
27015 + else
27016 + # not using gcc
27017 + if test "$host_cpu" = ia64; then
27018 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
27019 + # chokes on -Wl,-G. The following line is correct:
27020 + shared_flag='-G'
27021 + else
27022 + if test "$aix_use_runtimelinking" = yes; then
27023 + shared_flag='${wl}-G'
27024 + else
27025 + shared_flag='${wl}-bM:SRE'
27026 + fi
27027 + fi
27028 + fi
27029 +
27030 + # It seems that -bexpall does not export symbols beginning with
27031 + # underscore (_), so it is better to generate a list of symbols to export.
27032 + always_export_symbols_GCJ=yes
27033 + if test "$aix_use_runtimelinking" = yes; then
27034 + # Warning - without using the other runtime loading flags (-brtl),
27035 + # -berok will link without error, but may produce a broken library.
27036 + allow_undefined_flag_GCJ='-berok'
27037 + # Determine the default libpath from the value encoded in an empty executable.
27038 + cat >conftest.$ac_ext <<_ACEOF
27039 +/* confdefs.h. */
27040 +_ACEOF
27041 +cat confdefs.h >>conftest.$ac_ext
27042 +cat >>conftest.$ac_ext <<_ACEOF
27043 +/* end confdefs.h. */
27044 +
27045 +int
27046 +main ()
27047 +{
27048 +
27049 + ;
27050 + return 0;
27051 +}
27052 +_ACEOF
27053 +rm -f conftest.$ac_objext conftest$ac_exeext
27054 +if { (ac_try="$ac_link"
27055 +case "(($ac_try" in
27056 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27057 + *) ac_try_echo=$ac_try;;
27058 +esac
27059 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27060 + (eval "$ac_link") 2>conftest.er1
27061 + ac_status=$?
27062 + grep -v '^ *+' conftest.er1 >conftest.err
27063 + rm -f conftest.er1
27064 + cat conftest.err >&5
27065 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 + (exit $ac_status); } && {
27067 + test -z "$ac_c_werror_flag" ||
27068 + test ! -s conftest.err
27069 + } && test -s conftest$ac_exeext &&
27070 + $as_test_x conftest$ac_exeext; then
27071 +
27072 +lt_aix_libpath_sed='
27073 + /Import File Strings/,/^$/ {
27074 + /^0/ {
27075 + s/^0 *\(.*\)$/\1/
27076 + p
27077 + }
27078 + }'
27079 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27080 +# Check for a 64-bit object if we didn't find anything.
27081 +if test -z "$aix_libpath"; then
27082 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27083 +fi
27084 +else
27085 + echo "$as_me: failed program was:" >&5
27086 +sed 's/^/| /' conftest.$ac_ext >&5
27087 +
27088 +
27089 +fi
27090 +
27091 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27092 + conftest$ac_exeext conftest.$ac_ext
27093 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
27094 +
27095 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
27096 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
27097 + else
27098 + if test "$host_cpu" = ia64; then
27099 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
27100 + allow_undefined_flag_GCJ="-z nodefs"
27101 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
27102 + else
27103 + # Determine the default libpath from the value encoded in an empty executable.
27104 + cat >conftest.$ac_ext <<_ACEOF
27105 +/* confdefs.h. */
27106 +_ACEOF
27107 +cat confdefs.h >>conftest.$ac_ext
27108 +cat >>conftest.$ac_ext <<_ACEOF
27109 +/* end confdefs.h. */
27110 +
27111 +int
27112 +main ()
27113 +{
27114 +
27115 + ;
27116 + return 0;
27117 +}
27118 +_ACEOF
27119 +rm -f conftest.$ac_objext conftest$ac_exeext
27120 +if { (ac_try="$ac_link"
27121 +case "(($ac_try" in
27122 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27123 + *) ac_try_echo=$ac_try;;
27124 +esac
27125 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27126 + (eval "$ac_link") 2>conftest.er1
27127 + ac_status=$?
27128 + grep -v '^ *+' conftest.er1 >conftest.err
27129 + rm -f conftest.er1
27130 + cat conftest.err >&5
27131 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 + (exit $ac_status); } && {
27133 + test -z "$ac_c_werror_flag" ||
27134 + test ! -s conftest.err
27135 + } && test -s conftest$ac_exeext &&
27136 + $as_test_x conftest$ac_exeext; then
27137 +
27138 +lt_aix_libpath_sed='
27139 + /Import File Strings/,/^$/ {
27140 + /^0/ {
27141 + s/^0 *\(.*\)$/\1/
27142 + p
27143 + }
27144 + }'
27145 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27146 +# Check for a 64-bit object if we didn't find anything.
27147 +if test -z "$aix_libpath"; then
27148 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27149 +fi
27150 +else
27151 + echo "$as_me: failed program was:" >&5
27152 +sed 's/^/| /' conftest.$ac_ext >&5
27153 +
27154 +
27155 +fi
27156 +
27157 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27158 + conftest$ac_exeext conftest.$ac_ext
27159 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
27160 +
27161 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
27162 + # Warning - without using the other run time loading flags,
27163 + # -berok will link without error, but may produce a broken library.
27164 + no_undefined_flag_GCJ=' ${wl}-bernotok'
27165 + allow_undefined_flag_GCJ=' ${wl}-berok'
27166 + # Exported symbols can be pulled into shared objects from archives
27167 + whole_archive_flag_spec_GCJ='$convenience'
27168 + archive_cmds_need_lc_GCJ=yes
27169 + # This is similar to how AIX traditionally builds its shared libraries.
27170 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
27171 + fi
27172 + fi
27173 + ;;
27174 +
27175 + amigaos*)
27176 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
27177 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
27178 + hardcode_minus_L_GCJ=yes
27179 + # see comment about different semantics on the GNU ld section
27180 + ld_shlibs_GCJ=no
27181 + ;;
27182 +
27183 + bsdi[45]*)
27184 + export_dynamic_flag_spec_GCJ=-rdynamic
27185 + ;;
27186 +
27187 + cygwin* | mingw* | pw32*)
27188 + # When not using gcc, we currently assume that we are using
27189 + # Microsoft Visual C++.
27190 + # hardcode_libdir_flag_spec is actually meaningless, as there is
27191 + # no search path for DLLs.
27192 + hardcode_libdir_flag_spec_GCJ=' '
27193 + allow_undefined_flag_GCJ=unsupported
27194 + # Tell ltmain to make .lib files, not .a files.
27195 + libext=lib
27196 + # Tell ltmain to make .dll files, not .so files.
27197 + shrext_cmds=".dll"
27198 + # FIXME: Setting linknames here is a bad hack.
27199 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
27200 + # The linker will automatically build a .lib file if we build a DLL.
27201 + old_archive_From_new_cmds_GCJ='true'
27202 + # FIXME: Should let the user specify the lib program.
27203 + old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
27204 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
27205 + enable_shared_with_static_runtimes_GCJ=yes
27206 + ;;
27207 +
27208 + darwin* | rhapsody*)
27209 + case $host_os in
27210 + rhapsody* | darwin1.[012])
27211 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
27212 + ;;
27213 + *) # Darwin 1.3 on
27214 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
27215 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
27216 + else
27217 + case ${MACOSX_DEPLOYMENT_TARGET} in
27218 + 10.[012])
27219 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
27220 + ;;
27221 + 10.*)
27222 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
27223 + ;;
27224 + esac
27225 + fi
27226 + ;;
27227 + esac
27228 + archive_cmds_need_lc_GCJ=no
27229 + hardcode_direct_GCJ=no
27230 + hardcode_automatic_GCJ=yes
27231 + hardcode_shlibpath_var_GCJ=unsupported
27232 + whole_archive_flag_spec_GCJ=''
27233 + link_all_deplibs_GCJ=yes
27234 + if test "$GCC" = yes ; then
27235 + output_verbose_link_cmd='echo'
27236 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
27237 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
27238 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
27239 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
27240 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
27241 + else
27242 + case $cc_basename in
27243 + xlc*)
27244 + output_verbose_link_cmd='echo'
27245 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
27246 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
27247 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
27248 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
27249 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
27250 + ;;
27251 + *)
27252 + ld_shlibs_GCJ=no
27253 + ;;
27254 + esac
27255 + fi
27256 + ;;
27257 +
27258 + dgux*)
27259 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27260 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
27261 + hardcode_shlibpath_var_GCJ=no
27262 + ;;
27263 +
27264 + freebsd1*)
27265 + ld_shlibs_GCJ=no
27266 + ;;
27267 +
27268 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
27269 + # support. Future versions do this automatically, but an explicit c++rt0.o
27270 + # does not break anything, and helps significantly (at the cost of a little
27271 + # extra space).
27272 + freebsd2.2*)
27273 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
27274 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
27275 + hardcode_direct_GCJ=yes
27276 + hardcode_shlibpath_var_GCJ=no
27277 + ;;
27278 +
27279 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
27280 + freebsd2*)
27281 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27282 + hardcode_direct_GCJ=yes
27283 + hardcode_minus_L_GCJ=yes
27284 + hardcode_shlibpath_var_GCJ=no
27285 + ;;
27286 +
27287 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
27288 + freebsd* | dragonfly*)
27289 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
27290 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
27291 + hardcode_direct_GCJ=yes
27292 + hardcode_shlibpath_var_GCJ=no
27293 + ;;
27294 +
27295 + hpux9*)
27296 + if test "$GCC" = yes; then
27297 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
27298 + else
27299 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
27300 + fi
27301 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
27302 + hardcode_libdir_separator_GCJ=:
27303 + hardcode_direct_GCJ=yes
27304 +
27305 + # hardcode_minus_L: Not really in the search PATH,
27306 + # but as the default location of the library.
27307 + hardcode_minus_L_GCJ=yes
27308 + export_dynamic_flag_spec_GCJ='${wl}-E'
27309 + ;;
27310 +
27311 + hpux10*)
27312 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
27313 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
27314 + else
27315 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
27316 + fi
27317 + if test "$with_gnu_ld" = no; then
27318 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
27319 + hardcode_libdir_separator_GCJ=:
27320 +
27321 + hardcode_direct_GCJ=yes
27322 + export_dynamic_flag_spec_GCJ='${wl}-E'
27323 +
27324 + # hardcode_minus_L: Not really in the search PATH,
27325 + # but as the default location of the library.
27326 + hardcode_minus_L_GCJ=yes
27327 + fi
27328 + ;;
27329 +
27330 + hpux11*)
27331 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
27332 + case $host_cpu in
27333 + hppa*64*)
27334 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
27335 + ;;
27336 + ia64*)
27337 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
27338 + ;;
27339 + *)
27340 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
27341 + ;;
27342 + esac
27343 + else
27344 + case $host_cpu in
27345 + hppa*64*)
27346 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
27347 + ;;
27348 + ia64*)
27349 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
27350 + ;;
27351 + *)
27352 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
27353 + ;;
27354 + esac
27355 + fi
27356 + if test "$with_gnu_ld" = no; then
27357 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
27358 + hardcode_libdir_separator_GCJ=:
27359 +
27360 + case $host_cpu in
27361 + hppa*64*|ia64*)
27362 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
27363 + hardcode_direct_GCJ=no
27364 + hardcode_shlibpath_var_GCJ=no
27365 + ;;
27366 + *)
27367 + hardcode_direct_GCJ=yes
27368 + export_dynamic_flag_spec_GCJ='${wl}-E'
27369 +
27370 + # hardcode_minus_L: Not really in the search PATH,
27371 + # but as the default location of the library.
27372 + hardcode_minus_L_GCJ=yes
27373 + ;;
27374 + esac
27375 + fi
27376 + ;;
27377 +
27378 + irix5* | irix6* | nonstopux*)
27379 + if test "$GCC" = yes; then
27380 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
27381 + else
27382 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
27383 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
27384 + fi
27385 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
27386 + hardcode_libdir_separator_GCJ=:
27387 + link_all_deplibs_GCJ=yes
27388 + ;;
27389 +
27390 + netbsd* | netbsdelf*-gnu)
27391 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
27392 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
27393 + else
27394 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
27395 + fi
27396 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
27397 + hardcode_direct_GCJ=yes
27398 + hardcode_shlibpath_var_GCJ=no
27399 + ;;
27400 +
27401 + newsos6)
27402 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27403 + hardcode_direct_GCJ=yes
27404 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
27405 + hardcode_libdir_separator_GCJ=:
27406 + hardcode_shlibpath_var_GCJ=no
27407 + ;;
27408 +
27409 + openbsd*)
27410 + if test -f /usr/libexec/ld.so; then
27411 + hardcode_direct_GCJ=yes
27412 + hardcode_shlibpath_var_GCJ=no
27413 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
27414 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
27415 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
27416 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
27417 + export_dynamic_flag_spec_GCJ='${wl}-E'
27418 + else
27419 + case $host_os in
27420 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
27421 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27422 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
27423 + ;;
27424 + *)
27425 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
27426 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
27427 + ;;
27428 + esac
27429 + fi
27430 + else
27431 + ld_shlibs_GCJ=no
27432 + fi
27433 + ;;
27434 +
27435 + os2*)
27436 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
27437 + hardcode_minus_L_GCJ=yes
27438 + allow_undefined_flag_GCJ=unsupported
27439 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
27440 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
27441 + ;;
27442 +
27443 + osf3*)
27444 + if test "$GCC" = yes; then
27445 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
27446 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
27447 + else
27448 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
27449 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
27450 + fi
27451 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
27452 + hardcode_libdir_separator_GCJ=:
27453 + ;;
27454 +
27455 + osf4* | osf5*) # as osf3* with the addition of -msym flag
27456 + if test "$GCC" = yes; then
27457 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
27458 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
27459 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
27460 + else
27461 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
27462 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
27463 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
27464 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
27465 +
27466 + # Both c and cxx compiler support -rpath directly
27467 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
27468 + fi
27469 + hardcode_libdir_separator_GCJ=:
27470 + ;;
27471 +
27472 + solaris*)
27473 + no_undefined_flag_GCJ=' -z text'
27474 + if test "$GCC" = yes; then
27475 + wlarc='${wl}'
27476 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
27477 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
27478 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
27479 + else
27480 + wlarc=''
27481 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
27482 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
27483 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
27484 + fi
27485 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
27486 + hardcode_shlibpath_var_GCJ=no
27487 + case $host_os in
27488 + solaris2.[0-5] | solaris2.[0-5].*) ;;
27489 + *)
27490 + # The compiler driver will combine and reorder linker options,
27491 + # but understands `-z linker_flag'. GCC discards it without `$wl',
27492 + # but is careful enough not to reorder.
27493 + # Supported since Solaris 2.6 (maybe 2.5.1?)
27494 + if test "$GCC" = yes; then
27495 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
27496 + else
27497 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
27498 + fi
27499 + ;;
27500 + esac
27501 + link_all_deplibs_GCJ=yes
27502 + ;;
27503 +
27504 + sunos4*)
27505 + if test "x$host_vendor" = xsequent; then
27506 + # Use $CC to link under sequent, because it throws in some extra .o
27507 + # files that make .init and .fini sections work.
27508 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
27509 + else
27510 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
27511 + fi
27512 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
27513 + hardcode_direct_GCJ=yes
27514 + hardcode_minus_L_GCJ=yes
27515 + hardcode_shlibpath_var_GCJ=no
27516 + ;;
27517 +
27518 + sysv4)
27519 + case $host_vendor in
27520 + sni)
27521 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27522 + hardcode_direct_GCJ=yes # is this really true???
27523 + ;;
27524 + siemens)
27525 + ## LD is ld it makes a PLAMLIB
27526 + ## CC just makes a GrossModule.
27527 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
27528 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
27529 + hardcode_direct_GCJ=no
27530 + ;;
27531 + motorola)
27532 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27533 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
27534 + ;;
27535 + esac
27536 + runpath_var='LD_RUN_PATH'
27537 + hardcode_shlibpath_var_GCJ=no
27538 + ;;
27539 +
27540 + sysv4.3*)
27541 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27542 + hardcode_shlibpath_var_GCJ=no
27543 + export_dynamic_flag_spec_GCJ='-Bexport'
27544 + ;;
27545 +
27546 + sysv4*MP*)
27547 + if test -d /usr/nec; then
27548 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27549 + hardcode_shlibpath_var_GCJ=no
27550 + runpath_var=LD_RUN_PATH
27551 + hardcode_runpath_var=yes
27552 + ld_shlibs_GCJ=yes
27553 + fi
27554 + ;;
27555 +
27556 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
27557 + no_undefined_flag_GCJ='${wl}-z,text'
27558 + archive_cmds_need_lc_GCJ=no
27559 + hardcode_shlibpath_var_GCJ=no
27560 + runpath_var='LD_RUN_PATH'
27561 +
27562 + if test "$GCC" = yes; then
27563 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
27564 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
27565 + else
27566 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
27567 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
27568 + fi
27569 + ;;
27570 +
27571 + sysv5* | sco3.2v5* | sco5v6*)
27572 + # Note: We can NOT use -z defs as we might desire, because we do not
27573 + # link with -lc, and that would cause any symbols used from libc to
27574 + # always be unresolved, which means just about no library would
27575 + # ever link correctly. If we're not using GNU ld we use -z text
27576 + # though, which does catch some bad symbols but isn't as heavy-handed
27577 + # as -z defs.
27578 + no_undefined_flag_GCJ='${wl}-z,text'
27579 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
27580 + archive_cmds_need_lc_GCJ=no
27581 + hardcode_shlibpath_var_GCJ=no
27582 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
27583 + hardcode_libdir_separator_GCJ=':'
27584 + link_all_deplibs_GCJ=yes
27585 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
27586 + runpath_var='LD_RUN_PATH'
27587 +
27588 + if test "$GCC" = yes; then
27589 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
27590 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
27591 + else
27592 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
27593 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
27594 + fi
27595 + ;;
27596 +
27597 + uts4*)
27598 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27599 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
27600 + hardcode_shlibpath_var_GCJ=no
27601 + ;;
27602 +
27603 + *)
27604 + ld_shlibs_GCJ=no
27605 + ;;
27606 + esac
27607 + fi
27608 +
27609 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
27610 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
27611 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
27612 +
27613 +#
27614 +# Do we need to explicitly link libc?
27615 +#
27616 +case "x$archive_cmds_need_lc_GCJ" in
27617 +x|xyes)
27618 + # Assume -lc should be added
27619 + archive_cmds_need_lc_GCJ=yes
27620 +
27621 + if test "$enable_shared" = yes && test "$GCC" = yes; then
27622 + case $archive_cmds_GCJ in
27623 + *'~'*)
27624 + # FIXME: we may have to deal with multi-command sequences.
27625 + ;;
27626 + '$CC '*)
27627 + # Test whether the compiler implicitly links with -lc since on some
27628 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
27629 + # to ld, don't add -lc before -lgcc.
27630 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
27631 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
27632 + $rm conftest*
27633 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27634 +
27635 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27636 + (eval $ac_compile) 2>&5
27637 + ac_status=$?
27638 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 + (exit $ac_status); } 2>conftest.err; then
27640 + soname=conftest
27641 + lib=conftest
27642 + libobjs=conftest.$ac_objext
27643 + deplibs=
27644 + wl=$lt_prog_compiler_wl_GCJ
27645 + pic_flag=$lt_prog_compiler_pic_GCJ
27646 + compiler_flags=-v
27647 + linker_flags=-v
27648 + verstring=
27649 + output_objdir=.
27650 + libname=conftest
27651 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
27652 + allow_undefined_flag_GCJ=
27653 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
27654 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
27655 + ac_status=$?
27656 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657 + (exit $ac_status); }
27658 + then
27659 + archive_cmds_need_lc_GCJ=no
27660 + else
27661 + archive_cmds_need_lc_GCJ=yes
27662 + fi
27663 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
27664 + else
27665 + cat conftest.err 1>&5
27666 + fi
27667 + $rm conftest*
27668 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
27669 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
27670 + ;;
27671 + esac
27672 + fi
27673 + ;;
27674 +esac
27675 +
27676 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
27677 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
27678 +library_names_spec=
27679 +libname_spec='lib$name'
27680 +soname_spec=
27681 +shrext_cmds=".so"
27682 +postinstall_cmds=
27683 +postuninstall_cmds=
27684 +finish_cmds=
27685 +finish_eval=
27686 +shlibpath_var=
27687 +shlibpath_overrides_runpath=unknown
27688 +version_type=none
27689 +dynamic_linker="$host_os ld.so"
27690 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
27691 +
27692 +need_lib_prefix=unknown
27693 +hardcode_into_libs=no
27694 +
27695 +# when you set need_version to no, make sure it does not cause -set_version
27696 +# flags to be left without arguments
27697 +need_version=unknown
27698 +
27699 +case $host_os in
27700 +aix3*)
27701 + version_type=linux
27702 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
27703 + shlibpath_var=LIBPATH
27704 +
27705 + # AIX 3 has no versioning support, so we append a major version to the name.
27706 + soname_spec='${libname}${release}${shared_ext}$major'
27707 + ;;
27708 +
27709 +aix4* | aix5*)
27710 + version_type=linux
27711 + need_lib_prefix=no
27712 + need_version=no
27713 + hardcode_into_libs=yes
27714 + if test "$host_cpu" = ia64; then
27715 + # AIX 5 supports IA64
27716 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
27717 + shlibpath_var=LD_LIBRARY_PATH
27718 + else
27719 + # With GCC up to 2.95.x, collect2 would create an import file
27720 + # for dependence libraries. The import file would start with
27721 + # the line `#! .'. This would cause the generated library to
27722 + # depend on `.', always an invalid library. This was fixed in
27723 + # development snapshots of GCC prior to 3.0.
27724 + case $host_os in
27725 + aix4 | aix4.[01] | aix4.[01].*)
27726 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
27727 + echo ' yes '
27728 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
27729 + :
27730 + else
27731 + can_build_shared=no
27732 + fi
27733 + ;;
27734 + esac
27735 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
27736 + # soname into executable. Probably we can add versioning support to
27737 + # collect2, so additional links can be useful in future.
27738 + if test "$aix_use_runtimelinking" = yes; then
27739 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
27740 + # instead of lib<name>.a to let people know that these are not
27741 + # typical AIX shared libraries.
27742 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
27743 + else
27744 + # We preserve .a as extension for shared libraries through AIX4.2
27745 + # and later when we are not doing run time linking.
27746 + library_names_spec='${libname}${release}.a $libname.a'
27747 + soname_spec='${libname}${release}${shared_ext}$major'
27748 + fi
27749 + shlibpath_var=LIBPATH
27750 + fi
27751 + ;;
27752 +
27753 +amigaos*)
27754 + library_names_spec='$libname.ixlibrary $libname.a'
27755 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
27756 + 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'
27757 + ;;
27758 +
27759 +beos*)
27760 + library_names_spec='${libname}${shared_ext}'
27761 + dynamic_linker="$host_os ld.so"
27762 + shlibpath_var=LIBRARY_PATH
27763 + ;;
27764 +
27765 +bsdi[45]*)
27766 + version_type=linux
27767 + need_version=no
27768 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
27769 + soname_spec='${libname}${release}${shared_ext}$major'
27770 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
27771 + shlibpath_var=LD_LIBRARY_PATH
27772 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
27773 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
27774 + # the default ld.so.conf also contains /usr/contrib/lib and
27775 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
27776 + # libtool to hard-code these into programs
27777 + ;;
27778 +
27779 +cygwin* | mingw* | pw32*)
27780 + version_type=windows
27781 + shrext_cmds=".dll"
27782 + need_version=no
27783 + need_lib_prefix=no
27784 +
27785 + case $GCC,$host_os in
27786 + yes,cygwin* | yes,mingw* | yes,pw32*)
27787 + library_names_spec='$libname.dll.a'
27788 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
27789 + postinstall_cmds='base_file=`basename \${file}`~
27790 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
27791 + dldir=$destdir/`dirname \$dlpath`~
27792 + test -d \$dldir || mkdir -p \$dldir~
27793 + $install_prog $dir/$dlname \$dldir/$dlname~
27794 + chmod a+x \$dldir/$dlname'
27795 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
27796 + dlpath=$dir/\$dldll~
27797 + $rm \$dlpath'
27798 + shlibpath_overrides_runpath=yes
27799 +
27800 + case $host_os in
27801 + cygwin*)
27802 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
27803 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
27804 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
27805 + ;;
27806 + mingw*)
27807 + # MinGW DLLs use traditional 'lib' prefix
27808 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
27809 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
27810 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
27811 + # It is most probably a Windows format PATH printed by
27812 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
27813 + # path with ; separators, and with drive letters. We can handle the
27814 + # drive letters (cygwin fileutils understands them), so leave them,
27815 + # especially as we might pass files found there to a mingw objdump,
27816 + # which wouldn't understand a cygwinified path. Ahh.
27817 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
27818 + else
27819 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
27820 + fi
27821 + ;;
27822 + pw32*)
27823 + # pw32 DLLs use 'pw' prefix rather than 'lib'
27824 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
27825 + ;;
27826 + esac
27827 + ;;
27828 +
27829 + *)
27830 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
27831 + ;;
27832 + esac
27833 + dynamic_linker='Win32 ld.exe'
27834 + # FIXME: first we should search . and the directory the executable is in
27835 + shlibpath_var=PATH
27836 + ;;
27837 +
27838 +darwin* | rhapsody*)
27839 + dynamic_linker="$host_os dyld"
27840 + version_type=darwin
27841 + need_lib_prefix=no
27842 + need_version=no
27843 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
27844 + soname_spec='${libname}${release}${major}$shared_ext'
27845 + shlibpath_overrides_runpath=yes
27846 + shlibpath_var=DYLD_LIBRARY_PATH
27847 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
27848 +
27849 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
27850 + ;;
27851 +
27852 +dgux*)
27853 + version_type=linux
27854 + need_lib_prefix=no
27855 + need_version=no
27856 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
27857 + soname_spec='${libname}${release}${shared_ext}$major'
27858 + shlibpath_var=LD_LIBRARY_PATH
27859 + ;;
27860 +
27861 +freebsd1*)
27862 + dynamic_linker=no
27863 + ;;
27864 +
27865 +freebsd* | dragonfly*)
27866 + # DragonFly does not have aout. When/if they implement a new
27867 + # versioning mechanism, adjust this.
27868 + if test -x /usr/bin/objformat; then
27869 + objformat=`/usr/bin/objformat`
27870 + else
27871 + case $host_os in
27872 + freebsd[123]*) objformat=aout ;;
27873 + *) objformat=elf ;;
27874 + esac
27875 + fi
27876 + version_type=freebsd-$objformat
27877 + case $version_type in
27878 + freebsd-elf*)
27879 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
27880 + need_version=no
27881 + need_lib_prefix=no
27882 + ;;
27883 + freebsd-*)
27884 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
27885 + need_version=yes
27886 + ;;
27887 + esac
27888 + shlibpath_var=LD_LIBRARY_PATH
27889 + case $host_os in
27890 + freebsd2*)
27891 + shlibpath_overrides_runpath=yes
27892 + ;;
27893 + freebsd3.[01]* | freebsdelf3.[01]*)
27894 + shlibpath_overrides_runpath=yes
27895 + hardcode_into_libs=yes
27896 + ;;
27897 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
27898 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
27899 + shlibpath_overrides_runpath=no
27900 + hardcode_into_libs=yes
27901 + ;;
27902 + *) # from 4.6 on, and DragonFly
27903 + shlibpath_overrides_runpath=yes
27904 + hardcode_into_libs=yes
27905 + ;;
27906 + esac
27907 + ;;
27908 +
27909 +gnu*)
27910 + version_type=linux
27911 + need_lib_prefix=no
27912 + need_version=no
27913 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
27914 + soname_spec='${libname}${release}${shared_ext}$major'
27915 + shlibpath_var=LD_LIBRARY_PATH
27916 + hardcode_into_libs=yes
27917 + ;;
27918 +
27919 +hpux9* | hpux10* | hpux11*)
27920 + # Give a soname corresponding to the major version so that dld.sl refuses to
27921 + # link against other versions.
27922 + version_type=sunos
27923 + need_lib_prefix=no
27924 + need_version=no
27925 + case $host_cpu in
27926 + ia64*)
27927 + shrext_cmds='.so'
27928 + hardcode_into_libs=yes
27929 + dynamic_linker="$host_os dld.so"
27930 + shlibpath_var=LD_LIBRARY_PATH
27931 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
27932 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
27933 + soname_spec='${libname}${release}${shared_ext}$major'
27934 + if test "X$HPUX_IA64_MODE" = X32; then
27935 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
27936 + else
27937 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
27938 + fi
27939 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
27940 + ;;
27941 + hppa*64*)
27942 + shrext_cmds='.sl'
27943 + hardcode_into_libs=yes
27944 + dynamic_linker="$host_os dld.sl"
27945 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
27946 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
27947 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
27948 + soname_spec='${libname}${release}${shared_ext}$major'
27949 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
27950 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
27951 + ;;
27952 + *)
27953 + shrext_cmds='.sl'
27954 + dynamic_linker="$host_os dld.sl"
27955 + shlibpath_var=SHLIB_PATH
27956 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
27957 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
27958 + soname_spec='${libname}${release}${shared_ext}$major'
27959 + ;;
27960 + esac
27961 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
27962 + postinstall_cmds='chmod 555 $lib'
27963 + ;;
27964 +
27965 +interix[3-9]*)
27966 + version_type=linux
27967 + need_lib_prefix=no
27968 + need_version=no
27969 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
27970 + soname_spec='${libname}${release}${shared_ext}$major'
27971 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
27972 + shlibpath_var=LD_LIBRARY_PATH
27973 + shlibpath_overrides_runpath=no
27974 + hardcode_into_libs=yes
27975 + ;;
27976 +
27977 +irix5* | irix6* | nonstopux*)
27978 + case $host_os in
27979 + nonstopux*) version_type=nonstopux ;;
27980 + *)
27981 + if test "$lt_cv_prog_gnu_ld" = yes; then
27982 + version_type=linux
27983 + else
27984 + version_type=irix
27985 + fi ;;
27986 + esac
27987 + need_lib_prefix=no
27988 + need_version=no
27989 + soname_spec='${libname}${release}${shared_ext}$major'
27990 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
27991 + case $host_os in
27992 + irix5* | nonstopux*)
27993 + libsuff= shlibsuff=
27994 + ;;
27995 + *)
27996 + case $LD in # libtool.m4 will add one of these switches to LD
27997 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
27998 + libsuff= shlibsuff= libmagic=32-bit;;
27999 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
28000 + libsuff=32 shlibsuff=N32 libmagic=N32;;
28001 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
28002 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
28003 + *) libsuff= shlibsuff= libmagic=never-match;;
28004 + esac
28005 + ;;
28006 + esac
28007 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
28008 + shlibpath_overrides_runpath=no
28009 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
28010 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
28011 + hardcode_into_libs=yes
28012 + ;;
28013 +
28014 +# No shared lib support for Linux oldld, aout, or coff.
28015 +linux*oldld* | linux*aout* | linux*coff*)
28016 + dynamic_linker=no
28017 + ;;
28018 +
28019 +# This must be Linux ELF.
28020 +linux* | k*bsd*-gnu)
28021 + version_type=linux
28022 + need_lib_prefix=no
28023 + need_version=no
28024 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28025 + soname_spec='${libname}${release}${shared_ext}$major'
28026 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
28027 + shlibpath_var=LD_LIBRARY_PATH
28028 + shlibpath_overrides_runpath=no
28029 + # This implies no fast_install, which is unacceptable.
28030 + # Some rework will be needed to allow for fast_install
28031 + # before this can be enabled.
28032 + hardcode_into_libs=yes
28033 +
28034 + # Append ld.so.conf contents to the search path
28035 + if test -f /etc/ld.so.conf; then
28036 + 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' ' '`
28037 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
28038 + fi
28039 +
28040 + # We used to test for /lib/ld.so.1 and disable shared libraries on
28041 + # powerpc, because MkLinux only supported shared libraries with the
28042 + # GNU dynamic linker. Since this was broken with cross compilers,
28043 + # most powerpc-linux boxes support dynamic linking these days and
28044 + # people can always --disable-shared, the test was removed, and we
28045 + # assume the GNU/Linux dynamic linker is in use.
28046 + dynamic_linker='GNU/Linux ld.so'
28047 + ;;
28048 +
28049 +netbsdelf*-gnu)
28050 + version_type=linux
28051 + need_lib_prefix=no
28052 + need_version=no
28053 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28054 + soname_spec='${libname}${release}${shared_ext}$major'
28055 + shlibpath_var=LD_LIBRARY_PATH
28056 + shlibpath_overrides_runpath=no
28057 + hardcode_into_libs=yes
28058 + dynamic_linker='NetBSD ld.elf_so'
28059 + ;;
28060 +
28061 +netbsd*)
28062 + version_type=sunos
28063 + need_lib_prefix=no
28064 + need_version=no
28065 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28066 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28067 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28068 + dynamic_linker='NetBSD (a.out) ld.so'
28069 + else
28070 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28071 + soname_spec='${libname}${release}${shared_ext}$major'
28072 + dynamic_linker='NetBSD ld.elf_so'
28073 + fi
28074 + shlibpath_var=LD_LIBRARY_PATH
28075 + shlibpath_overrides_runpath=yes
28076 + hardcode_into_libs=yes
28077 + ;;
28078 +
28079 +newsos6)
28080 + version_type=linux
28081 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28082 + shlibpath_var=LD_LIBRARY_PATH
28083 + shlibpath_overrides_runpath=yes
28084 + ;;
28085 +
28086 +nto-qnx*)
28087 + version_type=linux
28088 + need_lib_prefix=no
28089 + need_version=no
28090 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28091 + soname_spec='${libname}${release}${shared_ext}$major'
28092 + shlibpath_var=LD_LIBRARY_PATH
28093 + shlibpath_overrides_runpath=yes
28094 + ;;
28095 +
28096 +openbsd*)
28097 + version_type=sunos
28098 + sys_lib_dlsearch_path_spec="/usr/lib"
28099 + need_lib_prefix=no
28100 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
28101 + case $host_os in
28102 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
28103 + *) need_version=no ;;
28104 + esac
28105 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28106 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28107 + shlibpath_var=LD_LIBRARY_PATH
28108 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
28109 + case $host_os in
28110 + openbsd2.[89] | openbsd2.[89].*)
28111 + shlibpath_overrides_runpath=no
28112 + ;;
28113 + *)
28114 + shlibpath_overrides_runpath=yes
28115 + ;;
28116 + esac
28117 + else
28118 + shlibpath_overrides_runpath=yes
28119 + fi
28120 + ;;
28121 +
28122 +os2*)
28123 + libname_spec='$name'
28124 + shrext_cmds=".dll"
28125 + need_lib_prefix=no
28126 + library_names_spec='$libname${shared_ext} $libname.a'
28127 + dynamic_linker='OS/2 ld.exe'
28128 + shlibpath_var=LIBPATH
28129 + ;;
28130 +
28131 +osf3* | osf4* | osf5*)
28132 + version_type=osf
28133 + need_lib_prefix=no
28134 + need_version=no
28135 + soname_spec='${libname}${release}${shared_ext}$major'
28136 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28137 + shlibpath_var=LD_LIBRARY_PATH
28138 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
28139 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
28140 + ;;
28141 +
28142 +rdos*)
28143 + dynamic_linker=no
28144 + ;;
28145 +
28146 +solaris*)
28147 + version_type=linux
28148 + need_lib_prefix=no
28149 + need_version=no
28150 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28151 + soname_spec='${libname}${release}${shared_ext}$major'
28152 + shlibpath_var=LD_LIBRARY_PATH
28153 + shlibpath_overrides_runpath=yes
28154 + hardcode_into_libs=yes
28155 + # ldd complains unless libraries are executable
28156 + postinstall_cmds='chmod +x $lib'
28157 + ;;
28158 +
28159 +sunos4*)
28160 + version_type=sunos
28161 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28162 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
28163 + shlibpath_var=LD_LIBRARY_PATH
28164 + shlibpath_overrides_runpath=yes
28165 + if test "$with_gnu_ld" = yes; then
28166 + need_lib_prefix=no
28167 + fi
28168 + need_version=yes
28169 + ;;
28170 +
28171 +sysv4 | sysv4.3*)
28172 + version_type=linux
28173 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28174 + soname_spec='${libname}${release}${shared_ext}$major'
28175 + shlibpath_var=LD_LIBRARY_PATH
28176 + case $host_vendor in
28177 + sni)
28178 + shlibpath_overrides_runpath=no
28179 + need_lib_prefix=no
28180 + export_dynamic_flag_spec='${wl}-Blargedynsym'
28181 + runpath_var=LD_RUN_PATH
28182 + ;;
28183 + siemens)
28184 + need_lib_prefix=no
28185 + ;;
28186 + motorola)
28187 + need_lib_prefix=no
28188 + need_version=no
28189 + shlibpath_overrides_runpath=no
28190 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
28191 + ;;
28192 + esac
28193 + ;;
28194 +
28195 +sysv4*MP*)
28196 + if test -d /usr/nec ;then
28197 + version_type=linux
28198 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
28199 + soname_spec='$libname${shared_ext}.$major'
28200 + shlibpath_var=LD_LIBRARY_PATH
28201 + fi
28202 + ;;
28203 +
28204 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
28205 + version_type=freebsd-elf
28206 + need_lib_prefix=no
28207 + need_version=no
28208 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
28209 + soname_spec='${libname}${release}${shared_ext}$major'
28210 + shlibpath_var=LD_LIBRARY_PATH
28211 + hardcode_into_libs=yes
28212 + if test "$with_gnu_ld" = yes; then
28213 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
28214 + shlibpath_overrides_runpath=no
28215 + else
28216 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
28217 + shlibpath_overrides_runpath=yes
28218 + case $host_os in
28219 + sco3.2v5*)
28220 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
28221 + ;;
28222 + esac
28223 + fi
28224 + sys_lib_dlsearch_path_spec='/usr/lib'
28225 + ;;
28226 +
28227 +uts4*)
28228 + version_type=linux
28229 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28230 + soname_spec='${libname}${release}${shared_ext}$major'
28231 + shlibpath_var=LD_LIBRARY_PATH
28232 + ;;
28233 +
28234 +*)
28235 + dynamic_linker=no
28236 + ;;
28237 +esac
28238 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
28239 +echo "${ECHO_T}$dynamic_linker" >&6; }
28240 +test "$dynamic_linker" = no && can_build_shared=no
28241 +
28242 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
28243 +if test "$GCC" = yes; then
28244 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
28245 +fi
28246 +
28247 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
28248 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
28249 +hardcode_action_GCJ=
28250 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
28251 + test -n "$runpath_var_GCJ" || \
28252 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
28253 +
28254 + # We can hardcode non-existant directories.
28255 + if test "$hardcode_direct_GCJ" != no &&
28256 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
28257 + # have to relink, otherwise we might link with an installed library
28258 + # when we should be linking with a yet-to-be-installed one
28259 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
28260 + test "$hardcode_minus_L_GCJ" != no; then
28261 + # Linking always hardcodes the temporary library directory.
28262 + hardcode_action_GCJ=relink
28263 + else
28264 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
28265 + hardcode_action_GCJ=immediate
28266 + fi
28267 +else
28268 + # We cannot hardcode anything, or else we can only hardcode existing
28269 + # directories.
28270 + hardcode_action_GCJ=unsupported
28271 +fi
28272 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
28273 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
28274 +
28275 +if test "$hardcode_action_GCJ" = relink; then
28276 + # Fast installation is not supported
28277 + enable_fast_install=no
28278 +elif test "$shlibpath_overrides_runpath" = yes ||
28279 + test "$enable_shared" = no; then
28280 + # Fast installation is not necessary
28281 + enable_fast_install=needless
28282 +fi
28283 +
28284 +
28285 +# The else clause should only fire when bootstrapping the
28286 +# libtool distribution, otherwise you forgot to ship ltmain.sh
28287 +# with your package, and you will get complaints that there are
28288 +# no rules to generate ltmain.sh.
28289 +if test -f "$ltmain"; then
28290 + # See if we are running on zsh, and set the options which allow our commands through
28291 + # without removal of \ escapes.
28292 + if test -n "${ZSH_VERSION+set}" ; then
28293 + setopt NO_GLOB_SUBST
28294 + fi
28295 + # Now quote all the things that may contain metacharacters while being
28296 + # careful not to overquote the AC_SUBSTed values. We take copies of the
28297 + # variables and quote the copies for generation of the libtool script.
28298 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
28299 + SED SHELL STRIP \
28300 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
28301 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
28302 + deplibs_check_method reload_flag reload_cmds need_locks \
28303 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
28304 + lt_cv_sys_global_symbol_to_c_name_address \
28305 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
28306 + old_postinstall_cmds old_postuninstall_cmds \
28307 + compiler_GCJ \
28308 + CC_GCJ \
28309 + LD_GCJ \
28310 + lt_prog_compiler_wl_GCJ \
28311 + lt_prog_compiler_pic_GCJ \
28312 + lt_prog_compiler_static_GCJ \
28313 + lt_prog_compiler_no_builtin_flag_GCJ \
28314 + export_dynamic_flag_spec_GCJ \
28315 + thread_safe_flag_spec_GCJ \
28316 + whole_archive_flag_spec_GCJ \
28317 + enable_shared_with_static_runtimes_GCJ \
28318 + old_archive_cmds_GCJ \
28319 + old_archive_from_new_cmds_GCJ \
28320 + predep_objects_GCJ \
28321 + postdep_objects_GCJ \
28322 + predeps_GCJ \
28323 + postdeps_GCJ \
28324 + compiler_lib_search_path_GCJ \
28325 + archive_cmds_GCJ \
28326 + archive_expsym_cmds_GCJ \
28327 + postinstall_cmds_GCJ \
28328 + postuninstall_cmds_GCJ \
28329 + old_archive_from_expsyms_cmds_GCJ \
28330 + allow_undefined_flag_GCJ \
28331 + no_undefined_flag_GCJ \
28332 + export_symbols_cmds_GCJ \
28333 + hardcode_libdir_flag_spec_GCJ \
28334 + hardcode_libdir_flag_spec_ld_GCJ \
28335 + hardcode_libdir_separator_GCJ \
28336 + hardcode_automatic_GCJ \
28337 + module_cmds_GCJ \
28338 + module_expsym_cmds_GCJ \
28339 + lt_cv_prog_compiler_c_o_GCJ \
28340 + fix_srcfile_path_GCJ \
28341 + exclude_expsyms_GCJ \
28342 + include_expsyms_GCJ; do
28343 +
28344 + case $var in
28345 + old_archive_cmds_GCJ | \
28346 + old_archive_from_new_cmds_GCJ | \
28347 + archive_cmds_GCJ | \
28348 + archive_expsym_cmds_GCJ | \
28349 + module_cmds_GCJ | \
28350 + module_expsym_cmds_GCJ | \
28351 + old_archive_from_expsyms_cmds_GCJ | \
28352 + export_symbols_cmds_GCJ | \
28353 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
28354 + postinstall_cmds | postuninstall_cmds | \
28355 + old_postinstall_cmds | old_postuninstall_cmds | \
28356 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
28357 + # Double-quote double-evaled strings.
28358 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
28359 + ;;
28360 + *)
28361 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
28362 + ;;
28363 + esac
28364 + done
28365 +
28366 + case $lt_echo in
28367 + *'\$0 --fallback-echo"')
28368 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
28369 + ;;
28370 + esac
28371 +
28372 +cfgfile="$ofile"
28373 +
28374 + cat <<__EOF__ >> "$cfgfile"
28375 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
28376 +
28377 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28378 +
28379 +# Shell to use when invoking shell scripts.
28380 +SHELL=$lt_SHELL
28381 +
28382 +# Whether or not to build shared libraries.
28383 +build_libtool_libs=$enable_shared
28384 +
28385 +# Whether or not to build static libraries.
28386 +build_old_libs=$enable_static
28387 +
28388 +# Whether or not to add -lc for building shared libraries.
28389 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
28390 +
28391 +# Whether or not to disallow shared libs when runtime libs are static
28392 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
28393 +
28394 +# Whether or not to optimize for fast installation.
28395 +fast_install=$enable_fast_install
28396 +
28397 +# The host system.
28398 +host_alias=$host_alias
28399 +host=$host
28400 +host_os=$host_os
28401 +
28402 +# The build system.
28403 +build_alias=$build_alias
28404 +build=$build
28405 +build_os=$build_os
28406 +
28407 +# An echo program that does not interpret backslashes.
28408 +echo=$lt_echo
28409 +
28410 +# The archiver.
28411 +AR=$lt_AR
28412 +AR_FLAGS=$lt_AR_FLAGS
28413 +
28414 +# A C compiler.
28415 +LTCC=$lt_LTCC
28416 +
28417 +# LTCC compiler flags.
28418 +LTCFLAGS=$lt_LTCFLAGS
28419 +
28420 +# A language-specific compiler.
28421 +CC=$lt_compiler_GCJ
28422 +
28423 +# Is the compiler the GNU C compiler?
28424 +with_gcc=$GCC_GCJ
28425 +
28426 +# An ERE matcher.
28427 +EGREP=$lt_EGREP
28428 +
28429 +# The linker used to build libraries.
28430 +LD=$lt_LD_GCJ
28431 +
28432 +# Whether we need hard or soft links.
28433 +LN_S=$lt_LN_S
28434 +
28435 +# A BSD-compatible nm program.
28436 +NM=$lt_NM
28437 +
28438 +# A symbol stripping program
28439 +STRIP=$lt_STRIP
28440 +
28441 +# Used to examine libraries when file_magic_cmd begins "file"
28442 +MAGIC_CMD=$MAGIC_CMD
28443 +
28444 +# Used on cygwin: DLL creation program.
28445 +DLLTOOL="$DLLTOOL"
28446 +
28447 +# Used on cygwin: object dumper.
28448 +OBJDUMP="$OBJDUMP"
28449 +
28450 +# Used on cygwin: assembler.
28451 +AS="$AS"
28452 +
28453 +# The name of the directory that contains temporary libtool files.
28454 +objdir=$objdir
28455 +
28456 +# How to create reloadable object files.
28457 +reload_flag=$lt_reload_flag
28458 +reload_cmds=$lt_reload_cmds
28459 +
28460 +# How to pass a linker flag through the compiler.
28461 +wl=$lt_lt_prog_compiler_wl_GCJ
28462 +
28463 +# Object file suffix (normally "o").
28464 +objext="$ac_objext"
28465 +
28466 +# Old archive suffix (normally "a").
28467 +libext="$libext"
28468 +
28469 +# Shared library suffix (normally ".so").
28470 +shrext_cmds='$shrext_cmds'
28471 +
28472 +# Executable file suffix (normally "").
28473 +exeext="$exeext"
28474 +
28475 +# Additional compiler flags for building library objects.
28476 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
28477 +pic_mode=$pic_mode
28478 +
28479 +# What is the maximum length of a command?
28480 +max_cmd_len=$lt_cv_sys_max_cmd_len
28481 +
28482 +# Does compiler simultaneously support -c and -o options?
28483 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
28484 +
28485 +# Must we lock files when doing compilation?
28486 +need_locks=$lt_need_locks
28487 +
28488 +# Do we need the lib prefix for modules?
28489 +need_lib_prefix=$need_lib_prefix
28490 +
28491 +# Do we need a version for libraries?
28492 +need_version=$need_version
28493 +
28494 +# Whether dlopen is supported.
28495 +dlopen_support=$enable_dlopen
28496 +
28497 +# Whether dlopen of programs is supported.
28498 +dlopen_self=$enable_dlopen_self
28499 +
28500 +# Whether dlopen of statically linked programs is supported.
28501 +dlopen_self_static=$enable_dlopen_self_static
28502 +
28503 +# Compiler flag to prevent dynamic linking.
28504 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
28505 +
28506 +# Compiler flag to turn off builtin functions.
28507 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
28508 +
28509 +# Compiler flag to allow reflexive dlopens.
28510 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
28511 +
28512 +# Compiler flag to generate shared objects directly from archives.
28513 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
28514 +
28515 +# Compiler flag to generate thread-safe objects.
28516 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
28517 +
28518 +# Library versioning type.
28519 +version_type=$version_type
28520 +
28521 +# Format of library name prefix.
28522 +libname_spec=$lt_libname_spec
28523 +
28524 +# List of archive names. First name is the real one, the rest are links.
28525 +# The last name is the one that the linker finds with -lNAME.
28526 +library_names_spec=$lt_library_names_spec
28527 +
28528 +# The coded name of the library, if different from the real name.
28529 +soname_spec=$lt_soname_spec
28530 +
28531 +# Commands used to build and install an old-style archive.
28532 +RANLIB=$lt_RANLIB
28533 +old_archive_cmds=$lt_old_archive_cmds_GCJ
28534 +old_postinstall_cmds=$lt_old_postinstall_cmds
28535 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
28536 +
28537 +# Create an old-style archive from a shared archive.
28538 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
28539 +
28540 +# Create a temporary old-style archive to link instead of a shared archive.
28541 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
28542 +
28543 +# Commands used to build and install a shared archive.
28544 +archive_cmds=$lt_archive_cmds_GCJ
28545 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
28546 +postinstall_cmds=$lt_postinstall_cmds
28547 +postuninstall_cmds=$lt_postuninstall_cmds
28548 +
28549 +# Commands used to build a loadable module (assumed same as above if empty)
28550 +module_cmds=$lt_module_cmds_GCJ
28551 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
28552 +
28553 +# Commands to strip libraries.
28554 +old_striplib=$lt_old_striplib
28555 +striplib=$lt_striplib
28556 +
28557 +# Dependencies to place before the objects being linked to create a
28558 +# shared library.
28559 +predep_objects=$lt_predep_objects_GCJ
28560 +
28561 +# Dependencies to place after the objects being linked to create a
28562 +# shared library.
28563 +postdep_objects=$lt_postdep_objects_GCJ
28564 +
28565 +# Dependencies to place before the objects being linked to create a
28566 +# shared library.
28567 +predeps=$lt_predeps_GCJ
28568 +
28569 +# Dependencies to place after the objects being linked to create a
28570 +# shared library.
28571 +postdeps=$lt_postdeps_GCJ
28572 +
28573 +# The library search path used internally by the compiler when linking
28574 +# a shared library.
28575 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
28576 +
28577 +# Method to check whether dependent libraries are shared objects.
28578 +deplibs_check_method=$lt_deplibs_check_method
28579 +
28580 +# Command to use when deplibs_check_method == file_magic.
28581 +file_magic_cmd=$lt_file_magic_cmd
28582 +
28583 +# Flag that allows shared libraries with undefined symbols to be built.
28584 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
28585 +
28586 +# Flag that forces no undefined symbols.
28587 +no_undefined_flag=$lt_no_undefined_flag_GCJ
28588 +
28589 +# Commands used to finish a libtool library installation in a directory.
28590 +finish_cmds=$lt_finish_cmds
28591 +
28592 +# Same as above, but a single script fragment to be evaled but not shown.
28593 +finish_eval=$lt_finish_eval
28594 +
28595 +# Take the output of nm and produce a listing of raw symbols and C names.
28596 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28597 +
28598 +# Transform the output of nm in a proper C declaration
28599 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28600 +
28601 +# Transform the output of nm in a C name address pair
28602 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28603 +
28604 +# This is the shared library runtime path variable.
28605 +runpath_var=$runpath_var
28606 +
28607 +# This is the shared library path variable.
28608 +shlibpath_var=$shlibpath_var
28609 +
28610 +# Is shlibpath searched before the hard-coded library search path?
28611 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28612 +
28613 +# How to hardcode a shared library path into an executable.
28614 +hardcode_action=$hardcode_action_GCJ
28615 +
28616 +# Whether we should hardcode library paths into libraries.
28617 +hardcode_into_libs=$hardcode_into_libs
28618 +
28619 +# Flag to hardcode \$libdir into a binary during linking.
28620 +# This must work even if \$libdir does not exist.
28621 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
28622 +
28623 +# If ld is used when linking, flag to hardcode \$libdir into
28624 +# a binary during linking. This must work even if \$libdir does
28625 +# not exist.
28626 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
28627 +
28628 +# Whether we need a single -rpath flag with a separated argument.
28629 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
28630 +
28631 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
28632 +# resulting binary.
28633 +hardcode_direct=$hardcode_direct_GCJ
28634 +
28635 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
28636 +# resulting binary.
28637 +hardcode_minus_L=$hardcode_minus_L_GCJ
28638 +
28639 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
28640 +# the resulting binary.
28641 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
28642 +
28643 +# Set to yes if building a shared library automatically hardcodes DIR into the library
28644 +# and all subsequent libraries and executables linked against it.
28645 +hardcode_automatic=$hardcode_automatic_GCJ
28646 +
28647 +# Variables whose values should be saved in libtool wrapper scripts and
28648 +# restored at relink time.
28649 +variables_saved_for_relink="$variables_saved_for_relink"
28650 +
28651 +# Whether libtool must link a program against all its dependency libraries.
28652 +link_all_deplibs=$link_all_deplibs_GCJ
28653 +
28654 +# Compile-time system search path for libraries
28655 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28656 +
28657 +# Run-time system search path for libraries
28658 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28659 +
28660 +# Fix the shell variable \$srcfile for the compiler.
28661 +fix_srcfile_path=$lt_fix_srcfile_path
28662 +
28663 +# Set to yes if exported symbols are required.
28664 +always_export_symbols=$always_export_symbols_GCJ
28665 +
28666 +# The commands to list exported symbols.
28667 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
28668 +
28669 +# The commands to extract the exported symbol list from a shared archive.
28670 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
28671 +
28672 +# Symbols that should not be listed in the preloaded symbols.
28673 +exclude_expsyms=$lt_exclude_expsyms_GCJ
28674 +
28675 +# Symbols that must always be exported.
28676 +include_expsyms=$lt_include_expsyms_GCJ
28677 +
28678 +# ### END LIBTOOL TAG CONFIG: $tagname
28679 +
28680 +__EOF__
28681 +
28682 +
28683 +else
28684 + # If there is no Makefile yet, we rely on a make rule to execute
28685 + # `config.status --recheck' to rerun these tests and create the
28686 + # libtool script then.
28687 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
28688 + if test -f "$ltmain_in"; then
28689 + test -f Makefile && make "$ltmain"
28690 + fi
28691 +fi
28692 +
28693 +
28694 +ac_ext=c
28695 +ac_cpp='$CPP $CPPFLAGS'
28696 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28697 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28698 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
28699 +
28700 +CC="$lt_save_CC"
28701 +
28702 + else
28703 + tagname=""
28704 + fi
28705 + ;;
28706 +
28707 + RC)
28708 +
28709 +
28710 +# Source file extension for RC test sources.
28711 +ac_ext=rc
28712 +
28713 +# Object file extension for compiled RC test sources.
28714 +objext=o
28715 +objext_RC=$objext
28716 +
28717 +# Code to be used in simple compile tests
28718 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
28719 +
28720 +# Code to be used in simple link tests
28721 +lt_simple_link_test_code="$lt_simple_compile_test_code"
28722 +
28723 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
28724 +
28725 +# If no C compiler was specified, use CC.
28726 +LTCC=${LTCC-"$CC"}
28727 +
28728 +# If no C compiler flags were specified, use CFLAGS.
28729 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
28730 +
28731 +# Allow CC to be a program name with arguments.
28732 +compiler=$CC
28733 +
28734 +
28735 +# save warnings/boilerplate of simple test code
28736 +ac_outfile=conftest.$ac_objext
28737 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
28738 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
28739 +_lt_compiler_boilerplate=`cat conftest.err`
28740 +$rm conftest*
28741 +
28742 +ac_outfile=conftest.$ac_objext
28743 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
28744 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
28745 +_lt_linker_boilerplate=`cat conftest.err`
28746 +$rm conftest*
28747 +
28748 +
28749 +# Allow CC to be a program name with arguments.
28750 +lt_save_CC="$CC"
28751 +CC=${RC-"windres"}
28752 +compiler=$CC
28753 +compiler_RC=$CC
28754 +for cc_temp in $compiler""; do
28755 + case $cc_temp in
28756 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28757 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28758 + \-*) ;;
28759 + *) break;;
28760 + esac
28761 +done
28762 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
28763 +
28764 +lt_cv_prog_compiler_c_o_RC=yes
28765 +
28766 +# The else clause should only fire when bootstrapping the
28767 +# libtool distribution, otherwise you forgot to ship ltmain.sh
28768 +# with your package, and you will get complaints that there are
28769 +# no rules to generate ltmain.sh.
28770 +if test -f "$ltmain"; then
28771 + # See if we are running on zsh, and set the options which allow our commands through
28772 + # without removal of \ escapes.
28773 + if test -n "${ZSH_VERSION+set}" ; then
28774 + setopt NO_GLOB_SUBST
28775 + fi
28776 + # Now quote all the things that may contain metacharacters while being
28777 + # careful not to overquote the AC_SUBSTed values. We take copies of the
28778 + # variables and quote the copies for generation of the libtool script.
28779 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
28780 + SED SHELL STRIP \
28781 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
28782 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
28783 + deplibs_check_method reload_flag reload_cmds need_locks \
28784 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
28785 + lt_cv_sys_global_symbol_to_c_name_address \
28786 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
28787 + old_postinstall_cmds old_postuninstall_cmds \
28788 + compiler_RC \
28789 + CC_RC \
28790 + LD_RC \
28791 + lt_prog_compiler_wl_RC \
28792 + lt_prog_compiler_pic_RC \
28793 + lt_prog_compiler_static_RC \
28794 + lt_prog_compiler_no_builtin_flag_RC \
28795 + export_dynamic_flag_spec_RC \
28796 + thread_safe_flag_spec_RC \
28797 + whole_archive_flag_spec_RC \
28798 + enable_shared_with_static_runtimes_RC \
28799 + old_archive_cmds_RC \
28800 + old_archive_from_new_cmds_RC \
28801 + predep_objects_RC \
28802 + postdep_objects_RC \
28803 + predeps_RC \
28804 + postdeps_RC \
28805 + compiler_lib_search_path_RC \
28806 + archive_cmds_RC \
28807 + archive_expsym_cmds_RC \
28808 + postinstall_cmds_RC \
28809 + postuninstall_cmds_RC \
28810 + old_archive_from_expsyms_cmds_RC \
28811 + allow_undefined_flag_RC \
28812 + no_undefined_flag_RC \
28813 + export_symbols_cmds_RC \
28814 + hardcode_libdir_flag_spec_RC \
28815 + hardcode_libdir_flag_spec_ld_RC \
28816 + hardcode_libdir_separator_RC \
28817 + hardcode_automatic_RC \
28818 + module_cmds_RC \
28819 + module_expsym_cmds_RC \
28820 + lt_cv_prog_compiler_c_o_RC \
28821 + fix_srcfile_path_RC \
28822 + exclude_expsyms_RC \
28823 + include_expsyms_RC; do
28824 +
28825 + case $var in
28826 + old_archive_cmds_RC | \
28827 + old_archive_from_new_cmds_RC | \
28828 + archive_cmds_RC | \
28829 + archive_expsym_cmds_RC | \
28830 + module_cmds_RC | \
28831 + module_expsym_cmds_RC | \
28832 + old_archive_from_expsyms_cmds_RC | \
28833 + export_symbols_cmds_RC | \
28834 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
28835 + postinstall_cmds | postuninstall_cmds | \
28836 + old_postinstall_cmds | old_postuninstall_cmds | \
28837 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
28838 + # Double-quote double-evaled strings.
28839 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
28840 + ;;
28841 + *)
28842 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
28843 + ;;
28844 + esac
28845 + done
28846 +
28847 + case $lt_echo in
28848 + *'\$0 --fallback-echo"')
28849 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
28850 + ;;
28851 + esac
28852 +
28853 +cfgfile="$ofile"
28854 +
28855 + cat <<__EOF__ >> "$cfgfile"
28856 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
28857 +
28858 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28859 +
28860 +# Shell to use when invoking shell scripts.
28861 +SHELL=$lt_SHELL
28862 +
28863 +# Whether or not to build shared libraries.
28864 +build_libtool_libs=$enable_shared
28865 +
28866 +# Whether or not to build static libraries.
28867 +build_old_libs=$enable_static
28868 +
28869 +# Whether or not to add -lc for building shared libraries.
28870 +build_libtool_need_lc=$archive_cmds_need_lc_RC
28871 +
28872 +# Whether or not to disallow shared libs when runtime libs are static
28873 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
28874 +
28875 +# Whether or not to optimize for fast installation.
28876 +fast_install=$enable_fast_install
28877 +
28878 +# The host system.
28879 +host_alias=$host_alias
28880 +host=$host
28881 +host_os=$host_os
28882 +
28883 +# The build system.
28884 +build_alias=$build_alias
28885 +build=$build
28886 +build_os=$build_os
28887 +
28888 +# An echo program that does not interpret backslashes.
28889 +echo=$lt_echo
28890 +
28891 +# The archiver.
28892 +AR=$lt_AR
28893 +AR_FLAGS=$lt_AR_FLAGS
28894 +
28895 +# A C compiler.
28896 +LTCC=$lt_LTCC
28897 +
28898 +# LTCC compiler flags.
28899 +LTCFLAGS=$lt_LTCFLAGS
28900 +
28901 +# A language-specific compiler.
28902 +CC=$lt_compiler_RC
28903 +
28904 +# Is the compiler the GNU C compiler?
28905 +with_gcc=$GCC_RC
28906 +
28907 +# An ERE matcher.
28908 +EGREP=$lt_EGREP
28909 +
28910 +# The linker used to build libraries.
28911 +LD=$lt_LD_RC
28912 +
28913 +# Whether we need hard or soft links.
28914 +LN_S=$lt_LN_S
28915 +
28916 +# A BSD-compatible nm program.
28917 +NM=$lt_NM
28918 +
28919 +# A symbol stripping program
28920 +STRIP=$lt_STRIP
28921 +
28922 +# Used to examine libraries when file_magic_cmd begins "file"
28923 +MAGIC_CMD=$MAGIC_CMD
28924 +
28925 +# Used on cygwin: DLL creation program.
28926 +DLLTOOL="$DLLTOOL"
28927 +
28928 +# Used on cygwin: object dumper.
28929 +OBJDUMP="$OBJDUMP"
28930 +
28931 +# Used on cygwin: assembler.
28932 +AS="$AS"
28933 +
28934 +# The name of the directory that contains temporary libtool files.
28935 +objdir=$objdir
28936 +
28937 +# How to create reloadable object files.
28938 +reload_flag=$lt_reload_flag
28939 +reload_cmds=$lt_reload_cmds
28940 +
28941 +# How to pass a linker flag through the compiler.
28942 +wl=$lt_lt_prog_compiler_wl_RC
28943 +
28944 +# Object file suffix (normally "o").
28945 +objext="$ac_objext"
28946 +
28947 +# Old archive suffix (normally "a").
28948 +libext="$libext"
28949 +
28950 +# Shared library suffix (normally ".so").
28951 +shrext_cmds='$shrext_cmds'
28952 +
28953 +# Executable file suffix (normally "").
28954 +exeext="$exeext"
28955 +
28956 +# Additional compiler flags for building library objects.
28957 +pic_flag=$lt_lt_prog_compiler_pic_RC
28958 +pic_mode=$pic_mode
28959 +
28960 +# What is the maximum length of a command?
28961 +max_cmd_len=$lt_cv_sys_max_cmd_len
28962 +
28963 +# Does compiler simultaneously support -c and -o options?
28964 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
28965 +
28966 +# Must we lock files when doing compilation?
28967 +need_locks=$lt_need_locks
28968 +
28969 +# Do we need the lib prefix for modules?
28970 +need_lib_prefix=$need_lib_prefix
28971 +
28972 +# Do we need a version for libraries?
28973 +need_version=$need_version
28974 +
28975 +# Whether dlopen is supported.
28976 +dlopen_support=$enable_dlopen
28977 +
28978 +# Whether dlopen of programs is supported.
28979 +dlopen_self=$enable_dlopen_self
28980 +
28981 +# Whether dlopen of statically linked programs is supported.
28982 +dlopen_self_static=$enable_dlopen_self_static
28983 +
28984 +# Compiler flag to prevent dynamic linking.
28985 +link_static_flag=$lt_lt_prog_compiler_static_RC
28986 +
28987 +# Compiler flag to turn off builtin functions.
28988 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
28989 +
28990 +# Compiler flag to allow reflexive dlopens.
28991 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
28992 +
28993 +# Compiler flag to generate shared objects directly from archives.
28994 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
28995 +
28996 +# Compiler flag to generate thread-safe objects.
28997 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
28998 +
28999 +# Library versioning type.
29000 +version_type=$version_type
29001 +
29002 +# Format of library name prefix.
29003 +libname_spec=$lt_libname_spec
29004 +
29005 +# List of archive names. First name is the real one, the rest are links.
29006 +# The last name is the one that the linker finds with -lNAME.
29007 +library_names_spec=$lt_library_names_spec
29008 +
29009 +# The coded name of the library, if different from the real name.
29010 +soname_spec=$lt_soname_spec
29011 +
29012 +# Commands used to build and install an old-style archive.
29013 +RANLIB=$lt_RANLIB
29014 +old_archive_cmds=$lt_old_archive_cmds_RC
29015 +old_postinstall_cmds=$lt_old_postinstall_cmds
29016 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
29017 +
29018 +# Create an old-style archive from a shared archive.
29019 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
29020 +
29021 +# Create a temporary old-style archive to link instead of a shared archive.
29022 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
29023 +
29024 +# Commands used to build and install a shared archive.
29025 +archive_cmds=$lt_archive_cmds_RC
29026 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
29027 +postinstall_cmds=$lt_postinstall_cmds
29028 +postuninstall_cmds=$lt_postuninstall_cmds
29029 +
29030 +# Commands used to build a loadable module (assumed same as above if empty)
29031 +module_cmds=$lt_module_cmds_RC
29032 +module_expsym_cmds=$lt_module_expsym_cmds_RC
29033 +
29034 +# Commands to strip libraries.
29035 +old_striplib=$lt_old_striplib
29036 +striplib=$lt_striplib
29037 +
29038 +# Dependencies to place before the objects being linked to create a
29039 +# shared library.
29040 +predep_objects=$lt_predep_objects_RC
29041 +
29042 +# Dependencies to place after the objects being linked to create a
29043 +# shared library.
29044 +postdep_objects=$lt_postdep_objects_RC
29045 +
29046 +# Dependencies to place before the objects being linked to create a
29047 +# shared library.
29048 +predeps=$lt_predeps_RC
29049 +
29050 +# Dependencies to place after the objects being linked to create a
29051 +# shared library.
29052 +postdeps=$lt_postdeps_RC
29053 +
29054 +# The library search path used internally by the compiler when linking
29055 +# a shared library.
29056 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
29057 +
29058 +# Method to check whether dependent libraries are shared objects.
29059 +deplibs_check_method=$lt_deplibs_check_method
29060 +
29061 +# Command to use when deplibs_check_method == file_magic.
29062 +file_magic_cmd=$lt_file_magic_cmd
29063 +
29064 +# Flag that allows shared libraries with undefined symbols to be built.
29065 +allow_undefined_flag=$lt_allow_undefined_flag_RC
29066 +
29067 +# Flag that forces no undefined symbols.
29068 +no_undefined_flag=$lt_no_undefined_flag_RC
29069 +
29070 +# Commands used to finish a libtool library installation in a directory.
29071 +finish_cmds=$lt_finish_cmds
29072 +
29073 +# Same as above, but a single script fragment to be evaled but not shown.
29074 +finish_eval=$lt_finish_eval
29075 +
29076 +# Take the output of nm and produce a listing of raw symbols and C names.
29077 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29078 +
29079 +# Transform the output of nm in a proper C declaration
29080 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29081 +
29082 +# Transform the output of nm in a C name address pair
29083 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29084 +
29085 +# This is the shared library runtime path variable.
29086 +runpath_var=$runpath_var
29087 +
29088 +# This is the shared library path variable.
29089 +shlibpath_var=$shlibpath_var
29090 +
29091 +# Is shlibpath searched before the hard-coded library search path?
29092 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29093 +
29094 +# How to hardcode a shared library path into an executable.
29095 +hardcode_action=$hardcode_action_RC
29096 +
29097 +# Whether we should hardcode library paths into libraries.
29098 +hardcode_into_libs=$hardcode_into_libs
29099 +
29100 +# Flag to hardcode \$libdir into a binary during linking.
29101 +# This must work even if \$libdir does not exist.
29102 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
29103 +
29104 +# If ld is used when linking, flag to hardcode \$libdir into
29105 +# a binary during linking. This must work even if \$libdir does
29106 +# not exist.
29107 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
29108 +
29109 +# Whether we need a single -rpath flag with a separated argument.
29110 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
29111 +
29112 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
29113 +# resulting binary.
29114 +hardcode_direct=$hardcode_direct_RC
29115 +
29116 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
29117 +# resulting binary.
29118 +hardcode_minus_L=$hardcode_minus_L_RC
29119 +
29120 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
29121 +# the resulting binary.
29122 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
29123 +
29124 +# Set to yes if building a shared library automatically hardcodes DIR into the library
29125 +# and all subsequent libraries and executables linked against it.
29126 +hardcode_automatic=$hardcode_automatic_RC
29127 +
29128 +# Variables whose values should be saved in libtool wrapper scripts and
29129 +# restored at relink time.
29130 +variables_saved_for_relink="$variables_saved_for_relink"
29131 +
29132 +# Whether libtool must link a program against all its dependency libraries.
29133 +link_all_deplibs=$link_all_deplibs_RC
29134 +
29135 +# Compile-time system search path for libraries
29136 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29137 +
29138 +# Run-time system search path for libraries
29139 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29140 +
29141 +# Fix the shell variable \$srcfile for the compiler.
29142 +fix_srcfile_path=$lt_fix_srcfile_path
29143 +
29144 +# Set to yes if exported symbols are required.
29145 +always_export_symbols=$always_export_symbols_RC
29146 +
29147 +# The commands to list exported symbols.
29148 +export_symbols_cmds=$lt_export_symbols_cmds_RC
29149 +
29150 +# The commands to extract the exported symbol list from a shared archive.
29151 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
29152 +
29153 +# Symbols that should not be listed in the preloaded symbols.
29154 +exclude_expsyms=$lt_exclude_expsyms_RC
29155 +
29156 +# Symbols that must always be exported.
29157 +include_expsyms=$lt_include_expsyms_RC
29158 +
29159 +# ### END LIBTOOL TAG CONFIG: $tagname
29160 +
29161 +__EOF__
29162 +
29163 +
29164 +else
29165 + # If there is no Makefile yet, we rely on a make rule to execute
29166 + # `config.status --recheck' to rerun these tests and create the
29167 + # libtool script then.
29168 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
29169 + if test -f "$ltmain_in"; then
29170 + test -f Makefile && make "$ltmain"
29171 + fi
29172 +fi
29173 +
29174 +
29175 +ac_ext=c
29176 +ac_cpp='$CPP $CPPFLAGS'
29177 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
29180 +
29181 +CC="$lt_save_CC"
29182 +
29183 + ;;
29184 +
29185 + *)
29186 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
29187 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
29188 + { (exit 1); exit 1; }; }
29189 + ;;
29190 + esac
29191 +
29192 + # Append the new tag name to the list of available tags.
29193 + if test -n "$tagname" ; then
29194 + available_tags="$available_tags $tagname"
29195 + fi
29196 + fi
29197 + done
29198 + IFS="$lt_save_ifs"
29199 +
29200 + # Now substitute the updated list of available tags.
29201 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
29202 + mv "${ofile}T" "$ofile"
29203 + chmod +x "$ofile"
29204 + else
29205 + rm -f "${ofile}T"
29206 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
29207 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
29208 + { (exit 1); exit 1; }; }
29209 + fi
29210 +fi
29211 +
29212 +
29213 +
29214 +# This can be used to rebuild libtool when needed
29215 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
29216 +
29217 +# Always use our own libtool.
29218 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
29219 +
29220 +# Prevent multiple expansion
29221 +
29222 +
29223 +
29224 +
29225 +
29226 +
29227 +
29228 +
29229 +
29230 +
29231 +
29232 +
29233 +
29234 +
29235 +
29236 +
29237 +
29238 +
29239 +
29240 +
29241 +
29242 +
29243 +ac_ext=c
29244 +ac_cpp='$CPP $CPPFLAGS'
29245 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
29248 +if test -n "$ac_tool_prefix"; then
29249 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
29250 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
29251 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29252 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29253 +if test "${ac_cv_prog_CC+set}" = set; then
29254 + echo $ECHO_N "(cached) $ECHO_C" >&6
29255 +else
29256 + if test -n "$CC"; then
29257 + ac_cv_prog_CC="$CC" # Let the user override the test.
29258 +else
29259 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29260 +for as_dir in $PATH
29261 +do
29262 + IFS=$as_save_IFS
29263 + test -z "$as_dir" && as_dir=.
29264 + for ac_exec_ext in '' $ac_executable_extensions; do
29265 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29266 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
29267 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29268 + break 2
29269 + fi
29270 +done
29271 +done
29272 +IFS=$as_save_IFS
29273 +
29274 +fi
29275 +fi
29276 +CC=$ac_cv_prog_CC
29277 +if test -n "$CC"; then
29278 + { echo "$as_me:$LINENO: result: $CC" >&5
29279 +echo "${ECHO_T}$CC" >&6; }
29280 +else
29281 + { echo "$as_me:$LINENO: result: no" >&5
29282 +echo "${ECHO_T}no" >&6; }
29283 +fi
29284 +
29285 +
29286 +fi
29287 +if test -z "$ac_cv_prog_CC"; then
29288 + ac_ct_CC=$CC
29289 + # Extract the first word of "gcc", so it can be a program name with args.
29290 +set dummy gcc; ac_word=$2
29291 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29292 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29293 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
29294 + echo $ECHO_N "(cached) $ECHO_C" >&6
29295 +else
29296 + if test -n "$ac_ct_CC"; then
29297 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
29298 +else
29299 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29300 +for as_dir in $PATH
29301 +do
29302 + IFS=$as_save_IFS
29303 + test -z "$as_dir" && as_dir=.
29304 + for ac_exec_ext in '' $ac_executable_extensions; do
29305 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29306 + ac_cv_prog_ac_ct_CC="gcc"
29307 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29308 + break 2
29309 + fi
29310 +done
29311 +done
29312 +IFS=$as_save_IFS
29313 +
29314 +fi
29315 +fi
29316 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
29317 +if test -n "$ac_ct_CC"; then
29318 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
29319 +echo "${ECHO_T}$ac_ct_CC" >&6; }
29320 +else
29321 + { echo "$as_me:$LINENO: result: no" >&5
29322 +echo "${ECHO_T}no" >&6; }
29323 +fi
29324 +
29325 + if test "x$ac_ct_CC" = x; then
29326 + CC=""
29327 + else
29328 + case $cross_compiling:$ac_tool_warned in
29329 +yes:)
29330 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29331 +whose name does not start with the host triplet. If you think this
29332 +configuration is useful to you, please write to autoconf@gnu.org." >&5
29333 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29334 +whose name does not start with the host triplet. If you think this
29335 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29336 +ac_tool_warned=yes ;;
29337 +esac
29338 + CC=$ac_ct_CC
29339 + fi
29340 +else
29341 + CC="$ac_cv_prog_CC"
29342 +fi
29343 +
29344 +if test -z "$CC"; then
29345 + if test -n "$ac_tool_prefix"; then
29346 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
29347 +set dummy ${ac_tool_prefix}cc; ac_word=$2
29348 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29349 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29350 +if test "${ac_cv_prog_CC+set}" = set; then
29351 + echo $ECHO_N "(cached) $ECHO_C" >&6
29352 +else
29353 + if test -n "$CC"; then
29354 + ac_cv_prog_CC="$CC" # Let the user override the test.
29355 +else
29356 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29357 +for as_dir in $PATH
29358 +do
29359 + IFS=$as_save_IFS
29360 + test -z "$as_dir" && as_dir=.
29361 + for ac_exec_ext in '' $ac_executable_extensions; do
29362 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29363 + ac_cv_prog_CC="${ac_tool_prefix}cc"
29364 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29365 + break 2
29366 + fi
29367 +done
29368 +done
29369 +IFS=$as_save_IFS
29370 +
29371 +fi
29372 +fi
29373 +CC=$ac_cv_prog_CC
29374 +if test -n "$CC"; then
29375 + { echo "$as_me:$LINENO: result: $CC" >&5
29376 +echo "${ECHO_T}$CC" >&6; }
29377 +else
29378 + { echo "$as_me:$LINENO: result: no" >&5
29379 +echo "${ECHO_T}no" >&6; }
29380 +fi
29381 +
29382 +
29383 + fi
29384 +fi
29385 +if test -z "$CC"; then
29386 + # Extract the first word of "cc", so it can be a program name with args.
29387 +set dummy cc; ac_word=$2
29388 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29389 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29390 +if test "${ac_cv_prog_CC+set}" = set; then
29391 + echo $ECHO_N "(cached) $ECHO_C" >&6
29392 +else
29393 + if test -n "$CC"; then
29394 + ac_cv_prog_CC="$CC" # Let the user override the test.
29395 +else
29396 + ac_prog_rejected=no
29397 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29398 +for as_dir in $PATH
29399 +do
29400 + IFS=$as_save_IFS
29401 + test -z "$as_dir" && as_dir=.
29402 + for ac_exec_ext in '' $ac_executable_extensions; do
29403 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29404 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
29405 + ac_prog_rejected=yes
29406 + continue
29407 + fi
29408 + ac_cv_prog_CC="cc"
29409 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29410 + break 2
29411 + fi
29412 +done
29413 +done
29414 +IFS=$as_save_IFS
29415 +
29416 +if test $ac_prog_rejected = yes; then
29417 + # We found a bogon in the path, so make sure we never use it.
29418 + set dummy $ac_cv_prog_CC
29419 + shift
29420 + if test $# != 0; then
29421 + # We chose a different compiler from the bogus one.
29422 + # However, it has the same basename, so the bogon will be chosen
29423 + # first if we set CC to just the basename; use the full file name.
29424 + shift
29425 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
29426 + fi
29427 +fi
29428 +fi
29429 +fi
29430 +CC=$ac_cv_prog_CC
29431 +if test -n "$CC"; then
29432 + { echo "$as_me:$LINENO: result: $CC" >&5
29433 +echo "${ECHO_T}$CC" >&6; }
29434 +else
29435 + { echo "$as_me:$LINENO: result: no" >&5
29436 +echo "${ECHO_T}no" >&6; }
29437 +fi
29438 +
29439 +
29440 +fi
29441 +if test -z "$CC"; then
29442 + if test -n "$ac_tool_prefix"; then
29443 + for ac_prog in cl.exe
29444 + do
29445 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
29446 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
29447 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29448 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29449 +if test "${ac_cv_prog_CC+set}" = set; then
29450 + echo $ECHO_N "(cached) $ECHO_C" >&6
29451 +else
29452 + if test -n "$CC"; then
29453 + ac_cv_prog_CC="$CC" # Let the user override the test.
29454 +else
29455 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29456 +for as_dir in $PATH
29457 +do
29458 + IFS=$as_save_IFS
29459 + test -z "$as_dir" && as_dir=.
29460 + for ac_exec_ext in '' $ac_executable_extensions; do
29461 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29462 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
29463 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29464 + break 2
29465 + fi
29466 +done
29467 +done
29468 +IFS=$as_save_IFS
29469 +
29470 +fi
29471 +fi
29472 +CC=$ac_cv_prog_CC
29473 +if test -n "$CC"; then
29474 + { echo "$as_me:$LINENO: result: $CC" >&5
29475 +echo "${ECHO_T}$CC" >&6; }
29476 +else
29477 + { echo "$as_me:$LINENO: result: no" >&5
29478 +echo "${ECHO_T}no" >&6; }
29479 +fi
29480 +
29481 +
29482 + test -n "$CC" && break
29483 + done
29484 +fi
29485 +if test -z "$CC"; then
29486 + ac_ct_CC=$CC
29487 + for ac_prog in cl.exe
29488 +do
29489 + # Extract the first word of "$ac_prog", so it can be a program name with args.
29490 +set dummy $ac_prog; ac_word=$2
29491 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29492 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29493 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
29494 + echo $ECHO_N "(cached) $ECHO_C" >&6
29495 +else
29496 + if test -n "$ac_ct_CC"; then
29497 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
29498 +else
29499 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29500 +for as_dir in $PATH
29501 +do
29502 + IFS=$as_save_IFS
29503 + test -z "$as_dir" && as_dir=.
29504 + for ac_exec_ext in '' $ac_executable_extensions; do
29505 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29506 + ac_cv_prog_ac_ct_CC="$ac_prog"
29507 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29508 + break 2
29509 + fi
29510 +done
29511 +done
29512 +IFS=$as_save_IFS
29513 +
29514 +fi
29515 +fi
29516 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
29517 +if test -n "$ac_ct_CC"; then
29518 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
29519 +echo "${ECHO_T}$ac_ct_CC" >&6; }
29520 +else
29521 + { echo "$as_me:$LINENO: result: no" >&5
29522 +echo "${ECHO_T}no" >&6; }
29523 +fi
29524 +
29525 +
29526 + test -n "$ac_ct_CC" && break
29527 +done
29528 +
29529 + if test "x$ac_ct_CC" = x; then
29530 + CC=""
29531 + else
29532 + case $cross_compiling:$ac_tool_warned in
29533 +yes:)
29534 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29535 +whose name does not start with the host triplet. If you think this
29536 +configuration is useful to you, please write to autoconf@gnu.org." >&5
29537 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29538 +whose name does not start with the host triplet. If you think this
29539 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29540 +ac_tool_warned=yes ;;
29541 +esac
29542 + CC=$ac_ct_CC
29543 + fi
29544 +fi
29545 +
29546 +fi
29547 +
29548 +
29549 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
29550 +See \`config.log' for more details." >&5
29551 +echo "$as_me: error: no acceptable C compiler found in \$PATH
29552 +See \`config.log' for more details." >&2;}
29553 + { (exit 1); exit 1; }; }
29554 +
29555 +# Provide some information about the compiler.
29556 +echo "$as_me:$LINENO: checking for C compiler version" >&5
29557 +ac_compiler=`set X $ac_compile; echo $2`
29558 +{ (ac_try="$ac_compiler --version >&5"
29559 +case "(($ac_try" in
29560 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29561 + *) ac_try_echo=$ac_try;;
29562 +esac
29563 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29564 + (eval "$ac_compiler --version >&5") 2>&5
29565 + ac_status=$?
29566 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 + (exit $ac_status); }
29568 +{ (ac_try="$ac_compiler -v >&5"
29569 +case "(($ac_try" in
29570 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29571 + *) ac_try_echo=$ac_try;;
29572 +esac
29573 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29574 + (eval "$ac_compiler -v >&5") 2>&5
29575 + ac_status=$?
29576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29577 + (exit $ac_status); }
29578 +{ (ac_try="$ac_compiler -V >&5"
29579 +case "(($ac_try" in
29580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29581 + *) ac_try_echo=$ac_try;;
29582 +esac
29583 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29584 + (eval "$ac_compiler -V >&5") 2>&5
29585 + ac_status=$?
29586 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 + (exit $ac_status); }
29588 +
29589 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
29590 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
29591 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
29592 + echo $ECHO_N "(cached) $ECHO_C" >&6
29593 +else
29594 + cat >conftest.$ac_ext <<_ACEOF
29595 +/* confdefs.h. */
29596 +_ACEOF
29597 +cat confdefs.h >>conftest.$ac_ext
29598 +cat >>conftest.$ac_ext <<_ACEOF
29599 +/* end confdefs.h. */
29600 +
29601 +int
29602 +main ()
29603 +{
29604 +#ifndef __GNUC__
29605 + choke me
29606 +#endif
29607 +
29608 + ;
29609 + return 0;
29610 +}
29611 +_ACEOF
29612 +rm -f conftest.$ac_objext
29613 +if { (ac_try="$ac_compile"
29614 +case "(($ac_try" in
29615 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29616 + *) ac_try_echo=$ac_try;;
29617 +esac
29618 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29619 + (eval "$ac_compile") 2>conftest.er1
29620 + ac_status=$?
29621 + grep -v '^ *+' conftest.er1 >conftest.err
29622 + rm -f conftest.er1
29623 + cat conftest.err >&5
29624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 + (exit $ac_status); } && {
29626 + test -z "$ac_c_werror_flag" ||
29627 + test ! -s conftest.err
29628 + } && test -s conftest.$ac_objext; then
29629 + ac_compiler_gnu=yes
29630 +else
29631 + echo "$as_me: failed program was:" >&5
29632 +sed 's/^/| /' conftest.$ac_ext >&5
29633 +
29634 + ac_compiler_gnu=no
29635 +fi
29636 +
29637 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29638 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
29639 +
29640 +fi
29641 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
29642 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
29643 +GCC=`test $ac_compiler_gnu = yes && echo yes`
29644 +ac_test_CFLAGS=${CFLAGS+set}
29645 +ac_save_CFLAGS=$CFLAGS
29646 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
29647 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
29648 +if test "${ac_cv_prog_cc_g+set}" = set; then
29649 + echo $ECHO_N "(cached) $ECHO_C" >&6
29650 +else
29651 + ac_save_c_werror_flag=$ac_c_werror_flag
29652 + ac_c_werror_flag=yes
29653 + ac_cv_prog_cc_g=no
29654 + CFLAGS="-g"
29655 + cat >conftest.$ac_ext <<_ACEOF
29656 +/* confdefs.h. */
29657 +_ACEOF
29658 +cat confdefs.h >>conftest.$ac_ext
29659 +cat >>conftest.$ac_ext <<_ACEOF
29660 +/* end confdefs.h. */
29661 +
29662 +int
29663 +main ()
29664 +{
29665 +
29666 + ;
29667 + return 0;
29668 +}
29669 +_ACEOF
29670 +rm -f conftest.$ac_objext
29671 +if { (ac_try="$ac_compile"
29672 +case "(($ac_try" in
29673 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29674 + *) ac_try_echo=$ac_try;;
29675 +esac
29676 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29677 + (eval "$ac_compile") 2>conftest.er1
29678 + ac_status=$?
29679 + grep -v '^ *+' conftest.er1 >conftest.err
29680 + rm -f conftest.er1
29681 + cat conftest.err >&5
29682 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 + (exit $ac_status); } && {
29684 + test -z "$ac_c_werror_flag" ||
29685 + test ! -s conftest.err
29686 + } && test -s conftest.$ac_objext; then
29687 + ac_cv_prog_cc_g=yes
29688 +else
29689 + echo "$as_me: failed program was:" >&5
29690 +sed 's/^/| /' conftest.$ac_ext >&5
29691 +
29692 + CFLAGS=""
29693 + cat >conftest.$ac_ext <<_ACEOF
29694 +/* confdefs.h. */
29695 +_ACEOF
29696 +cat confdefs.h >>conftest.$ac_ext
29697 +cat >>conftest.$ac_ext <<_ACEOF
29698 +/* end confdefs.h. */
29699 +
29700 +int
29701 +main ()
29702 +{
29703 +
29704 + ;
29705 + return 0;
29706 +}
29707 +_ACEOF
29708 +rm -f conftest.$ac_objext
29709 +if { (ac_try="$ac_compile"
29710 +case "(($ac_try" in
29711 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29712 + *) ac_try_echo=$ac_try;;
29713 +esac
29714 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29715 + (eval "$ac_compile") 2>conftest.er1
29716 + ac_status=$?
29717 + grep -v '^ *+' conftest.er1 >conftest.err
29718 + rm -f conftest.er1
29719 + cat conftest.err >&5
29720 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 + (exit $ac_status); } && {
29722 + test -z "$ac_c_werror_flag" ||
29723 + test ! -s conftest.err
29724 + } && test -s conftest.$ac_objext; then
29725 + :
29726 +else
29727 + echo "$as_me: failed program was:" >&5
29728 +sed 's/^/| /' conftest.$ac_ext >&5
29729 +
29730 + ac_c_werror_flag=$ac_save_c_werror_flag
29731 + CFLAGS="-g"
29732 + cat >conftest.$ac_ext <<_ACEOF
29733 +/* confdefs.h. */
29734 +_ACEOF
29735 +cat confdefs.h >>conftest.$ac_ext
29736 +cat >>conftest.$ac_ext <<_ACEOF
29737 +/* end confdefs.h. */
29738 +
29739 +int
29740 +main ()
29741 +{
29742 +
29743 + ;
29744 + return 0;
29745 +}
29746 +_ACEOF
29747 +rm -f conftest.$ac_objext
29748 +if { (ac_try="$ac_compile"
29749 +case "(($ac_try" in
29750 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29751 + *) ac_try_echo=$ac_try;;
29752 +esac
29753 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29754 + (eval "$ac_compile") 2>conftest.er1
29755 + ac_status=$?
29756 + grep -v '^ *+' conftest.er1 >conftest.err
29757 + rm -f conftest.er1
29758 + cat conftest.err >&5
29759 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 + (exit $ac_status); } && {
29761 + test -z "$ac_c_werror_flag" ||
29762 + test ! -s conftest.err
29763 + } && test -s conftest.$ac_objext; then
29764 + ac_cv_prog_cc_g=yes
29765 +else
29766 + echo "$as_me: failed program was:" >&5
29767 +sed 's/^/| /' conftest.$ac_ext >&5
29768 +
29769 +
29770 +fi
29771 +
29772 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29773 +fi
29774 +
29775 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29776 +fi
29777 +
29778 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29779 + ac_c_werror_flag=$ac_save_c_werror_flag
29780 +fi
29781 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
29782 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
29783 +if test "$ac_test_CFLAGS" = set; then
29784 + CFLAGS=$ac_save_CFLAGS
29785 +elif test $ac_cv_prog_cc_g = yes; then
29786 + if test "$GCC" = yes; then
29787 + CFLAGS="-g -O2"
29788 + else
29789 + CFLAGS="-g"
29790 + fi
29791 +else
29792 + if test "$GCC" = yes; then
29793 + CFLAGS="-O2"
29794 + else
29795 + CFLAGS=
29796 + fi
29797 +fi
29798 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
29799 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
29800 +if test "${ac_cv_prog_cc_c89+set}" = set; then
29801 + echo $ECHO_N "(cached) $ECHO_C" >&6
29802 +else
29803 + ac_cv_prog_cc_c89=no
29804 +ac_save_CC=$CC
29805 +cat >conftest.$ac_ext <<_ACEOF
29806 +/* confdefs.h. */
29807 +_ACEOF
29808 +cat confdefs.h >>conftest.$ac_ext
29809 +cat >>conftest.$ac_ext <<_ACEOF
29810 +/* end confdefs.h. */
29811 +#include <stdarg.h>
29812 +#include <stdio.h>
29813 +#include <sys/types.h>
29814 +#include <sys/stat.h>
29815 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
29816 +struct buf { int x; };
29817 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
29818 +static char *e (p, i)
29819 + char **p;
29820 + int i;
29821 +{
29822 + return p[i];
29823 +}
29824 +static char *f (char * (*g) (char **, int), char **p, ...)
29825 +{
29826 + char *s;
29827 + va_list v;
29828 + va_start (v,p);
29829 + s = g (p, va_arg (v,int));
29830 + va_end (v);
29831 + return s;
29832 +}
29833 +
29834 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
29835 + function prototypes and stuff, but not '\xHH' hex character constants.
29836 + These don't provoke an error unfortunately, instead are silently treated
29837 + as 'x'. The following induces an error, until -std is added to get
29838 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
29839 + array size at least. It's necessary to write '\x00'==0 to get something
29840 + that's true only with -std. */
29841 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
29842 +
29843 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
29844 + inside strings and character constants. */
29845 +#define FOO(x) 'x'
29846 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
29847 +
29848 +int test (int i, double x);
29849 +struct s1 {int (*f) (int a);};
29850 +struct s2 {int (*f) (double a);};
29851 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
29852 +int argc;
29853 +char **argv;
29854 +int
29855 +main ()
29856 +{
29857 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
29858 + ;
29859 + return 0;
29860 +}
29861 +_ACEOF
29862 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
29863 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
29864 +do
29865 + CC="$ac_save_CC $ac_arg"
29866 + rm -f conftest.$ac_objext
29867 +if { (ac_try="$ac_compile"
29868 +case "(($ac_try" in
29869 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29870 + *) ac_try_echo=$ac_try;;
29871 +esac
29872 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29873 + (eval "$ac_compile") 2>conftest.er1
29874 + ac_status=$?
29875 + grep -v '^ *+' conftest.er1 >conftest.err
29876 + rm -f conftest.er1
29877 + cat conftest.err >&5
29878 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 + (exit $ac_status); } && {
29880 + test -z "$ac_c_werror_flag" ||
29881 + test ! -s conftest.err
29882 + } && test -s conftest.$ac_objext; then
29883 + ac_cv_prog_cc_c89=$ac_arg
29884 +else
29885 + echo "$as_me: failed program was:" >&5
29886 +sed 's/^/| /' conftest.$ac_ext >&5
29887 +
29888 +
29889 +fi
29890 +
29891 +rm -f core conftest.err conftest.$ac_objext
29892 + test "x$ac_cv_prog_cc_c89" != "xno" && break
29893 +done
29894 +rm -f conftest.$ac_ext
29895 +CC=$ac_save_CC
29896 +
29897 +fi
29898 +# AC_CACHE_VAL
29899 +case "x$ac_cv_prog_cc_c89" in
29900 + x)
29901 + { echo "$as_me:$LINENO: result: none needed" >&5
29902 +echo "${ECHO_T}none needed" >&6; } ;;
29903 + xno)
29904 + { echo "$as_me:$LINENO: result: unsupported" >&5
29905 +echo "${ECHO_T}unsupported" >&6; } ;;
29906 + *)
29907 + CC="$CC $ac_cv_prog_cc_c89"
29908 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
29909 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
29910 +esac
29911 +
29912 +
29913 +ac_ext=c
29914 +ac_cpp='$CPP $CPPFLAGS'
29915 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29916 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29917 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
29918 +
29919 +depcc="$CC" am_compiler_list=
29920 +
29921 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
29922 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
29923 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
29924 + echo $ECHO_N "(cached) $ECHO_C" >&6
29925 +else
29926 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
29927 + # We make a subdir and do the tests there. Otherwise we can end up
29928 + # making bogus files that we don't know about and never remove. For
29929 + # instance it was reported that on HP-UX the gcc test will end up
29930 + # making a dummy file named `D' -- because `-MD' means `put the output
29931 + # in D'.
29932 + mkdir conftest.dir
29933 + # Copy depcomp to subdir because otherwise we won't find it if we're
29934 + # using a relative directory.
29935 + cp "$am_depcomp" conftest.dir
29936 + cd conftest.dir
29937 + # We will build objects and dependencies in a subdirectory because
29938 + # it helps to detect inapplicable dependency modes. For instance
29939 + # both Tru64's cc and ICC support -MD to output dependencies as a
29940 + # side effect of compilation, but ICC will put the dependencies in
29941 + # the current directory while Tru64 will put them in the object
29942 + # directory.
29943 + mkdir sub
29944 +
29945 + am_cv_CC_dependencies_compiler_type=none
29946 + if test "$am_compiler_list" = ""; then
29947 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
29948 + fi
29949 + for depmode in $am_compiler_list; do
29950 + # Setup a source with many dependencies, because some compilers
29951 + # like to wrap large dependency lists on column 80 (with \), and
29952 + # we should not choose a depcomp mode which is confused by this.
29953 + #
29954 + # We need to recreate these files for each test, as the compiler may
29955 + # overwrite some of them when testing with obscure command lines.
29956 + # This happens at least with the AIX C compiler.
29957 + : > sub/conftest.c
29958 + for i in 1 2 3 4 5 6; do
29959 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
29960 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
29961 + # Solaris 8's {/usr,}/bin/sh.
29962 + touch sub/conftst$i.h
29963 + done
29964 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
29965 +
29966 + case $depmode in
29967 + nosideeffect)
29968 + # after this tag, mechanisms are not by side-effect, so they'll
29969 + # only be used when explicitly requested
29970 + if test "x$enable_dependency_tracking" = xyes; then
29971 + continue
29972 + else
29973 + break
29974 + fi
29975 + ;;
29976 + none) break ;;
29977 + esac
29978 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
29979 + # mode. It turns out that the SunPro C++ compiler does not properly
29980 + # handle `-M -o', and we need to detect this.
29981 + if depmode=$depmode \
29982 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
29983 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
29984 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
29985 + >/dev/null 2>conftest.err &&
29986 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
29987 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
29988 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
29989 + # icc doesn't choke on unknown options, it will just issue warnings
29990 + # or remarks (even with -Werror). So we grep stderr for any message
29991 + # that says an option was ignored or not supported.
29992 + # When given -MP, icc 7.0 and 7.1 complain thusly:
29993 + # icc: Command line warning: ignoring option '-M'; no argument required
29994 + # The diagnosis changed in icc 8.0:
29995 + # icc: Command line remark: option '-MP' not supported
29996 + if (grep 'ignoring option' conftest.err ||
29997 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
29998 + am_cv_CC_dependencies_compiler_type=$depmode
29999 + break
30000 + fi
30001 + fi
30002 + done
30003 +
30004 + cd ..
30005 + rm -rf conftest.dir
30006 +else
30007 + am_cv_CC_dependencies_compiler_type=none
30008 +fi
30009 +
30010 +fi
30011 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
30012 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
30013 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
30014 +
30015 +
30016 +
30017 +if
30018 + test "x$enable_dependency_tracking" != xno \
30019 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
30020 + am__fastdepCC_TRUE=
30021 + am__fastdepCC_FALSE='#'
30022 +else
30023 + am__fastdepCC_TRUE='#'
30024 + am__fastdepCC_FALSE=
30025 +fi
30026 +
30027 +
30028 +ac_ext=cpp
30029 +ac_cpp='$CXXCPP $CPPFLAGS'
30030 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033 +if test -z "$CXX"; then
30034 + if test -n "$CCC"; then
30035 + CXX=$CCC
30036 + else
30037 + if test -n "$ac_tool_prefix"; then
30038 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
30039 + do
30040 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
30041 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
30042 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30043 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30044 +if test "${ac_cv_prog_CXX+set}" = set; then
30045 + echo $ECHO_N "(cached) $ECHO_C" >&6
30046 +else
30047 + if test -n "$CXX"; then
30048 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
30049 +else
30050 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30051 +for as_dir in $PATH
30052 +do
30053 + IFS=$as_save_IFS
30054 + test -z "$as_dir" && as_dir=.
30055 + for ac_exec_ext in '' $ac_executable_extensions; do
30056 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30057 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
30058 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30059 + break 2
30060 + fi
30061 +done
30062 +done
30063 +IFS=$as_save_IFS
30064 +
30065 +fi
30066 +fi
30067 +CXX=$ac_cv_prog_CXX
30068 +if test -n "$CXX"; then
30069 + { echo "$as_me:$LINENO: result: $CXX" >&5
30070 +echo "${ECHO_T}$CXX" >&6; }
30071 +else
30072 + { echo "$as_me:$LINENO: result: no" >&5
30073 +echo "${ECHO_T}no" >&6; }
30074 +fi
30075 +
30076 +
30077 + test -n "$CXX" && break
30078 + done
30079 +fi
30080 +if test -z "$CXX"; then
30081 + ac_ct_CXX=$CXX
30082 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
30083 +do
30084 + # Extract the first word of "$ac_prog", so it can be a program name with args.
30085 +set dummy $ac_prog; ac_word=$2
30086 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30087 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30088 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
30089 + echo $ECHO_N "(cached) $ECHO_C" >&6
30090 +else
30091 + if test -n "$ac_ct_CXX"; then
30092 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
30093 +else
30094 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30095 +for as_dir in $PATH
30096 +do
30097 + IFS=$as_save_IFS
30098 + test -z "$as_dir" && as_dir=.
30099 + for ac_exec_ext in '' $ac_executable_extensions; do
30100 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30101 + ac_cv_prog_ac_ct_CXX="$ac_prog"
30102 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30103 + break 2
30104 + fi
30105 +done
30106 +done
30107 +IFS=$as_save_IFS
30108 +
30109 +fi
30110 +fi
30111 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
30112 +if test -n "$ac_ct_CXX"; then
30113 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
30114 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
30115 +else
30116 + { echo "$as_me:$LINENO: result: no" >&5
30117 +echo "${ECHO_T}no" >&6; }
30118 +fi
30119 +
30120 +
30121 + test -n "$ac_ct_CXX" && break
30122 +done
30123 +
30124 + if test "x$ac_ct_CXX" = x; then
30125 + CXX="g++"
30126 + else
30127 + case $cross_compiling:$ac_tool_warned in
30128 +yes:)
30129 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30130 +whose name does not start with the host triplet. If you think this
30131 +configuration is useful to you, please write to autoconf@gnu.org." >&5
30132 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30133 +whose name does not start with the host triplet. If you think this
30134 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30135 +ac_tool_warned=yes ;;
30136 +esac
30137 + CXX=$ac_ct_CXX
30138 + fi
30139 +fi
30140 +
30141 + fi
30142 +fi
30143 +# Provide some information about the compiler.
30144 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
30145 +ac_compiler=`set X $ac_compile; echo $2`
30146 +{ (ac_try="$ac_compiler --version >&5"
30147 +case "(($ac_try" in
30148 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30149 + *) ac_try_echo=$ac_try;;
30150 +esac
30151 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30152 + (eval "$ac_compiler --version >&5") 2>&5
30153 + ac_status=$?
30154 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 + (exit $ac_status); }
30156 +{ (ac_try="$ac_compiler -v >&5"
30157 +case "(($ac_try" in
30158 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30159 + *) ac_try_echo=$ac_try;;
30160 +esac
30161 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30162 + (eval "$ac_compiler -v >&5") 2>&5
30163 + ac_status=$?
30164 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 + (exit $ac_status); }
30166 +{ (ac_try="$ac_compiler -V >&5"
30167 +case "(($ac_try" in
30168 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30169 + *) ac_try_echo=$ac_try;;
30170 +esac
30171 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30172 + (eval "$ac_compiler -V >&5") 2>&5
30173 + ac_status=$?
30174 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 + (exit $ac_status); }
30176 +
30177 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
30178 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
30179 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
30180 + echo $ECHO_N "(cached) $ECHO_C" >&6
30181 +else
30182 + cat >conftest.$ac_ext <<_ACEOF
30183 +/* confdefs.h. */
30184 +_ACEOF
30185 +cat confdefs.h >>conftest.$ac_ext
30186 +cat >>conftest.$ac_ext <<_ACEOF
30187 +/* end confdefs.h. */
30188 +
30189 +int
30190 +main ()
30191 +{
30192 +#ifndef __GNUC__
30193 + choke me
30194 +#endif
30195 +
30196 + ;
30197 + return 0;
30198 +}
30199 +_ACEOF
30200 +rm -f conftest.$ac_objext
30201 +if { (ac_try="$ac_compile"
30202 +case "(($ac_try" in
30203 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30204 + *) ac_try_echo=$ac_try;;
30205 +esac
30206 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30207 + (eval "$ac_compile") 2>conftest.er1
30208 + ac_status=$?
30209 + grep -v '^ *+' conftest.er1 >conftest.err
30210 + rm -f conftest.er1
30211 + cat conftest.err >&5
30212 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 + (exit $ac_status); } && {
30214 + test -z "$ac_cxx_werror_flag" ||
30215 + test ! -s conftest.err
30216 + } && test -s conftest.$ac_objext; then
30217 + ac_compiler_gnu=yes
30218 +else
30219 + echo "$as_me: failed program was:" >&5
30220 +sed 's/^/| /' conftest.$ac_ext >&5
30221 +
30222 + ac_compiler_gnu=no
30223 +fi
30224 +
30225 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30226 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
30227 +
30228 +fi
30229 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
30230 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
30231 +GXX=`test $ac_compiler_gnu = yes && echo yes`
30232 +ac_test_CXXFLAGS=${CXXFLAGS+set}
30233 +ac_save_CXXFLAGS=$CXXFLAGS
30234 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
30235 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
30236 +if test "${ac_cv_prog_cxx_g+set}" = set; then
30237 + echo $ECHO_N "(cached) $ECHO_C" >&6
30238 +else
30239 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
30240 + ac_cxx_werror_flag=yes
30241 + ac_cv_prog_cxx_g=no
30242 + CXXFLAGS="-g"
30243 + cat >conftest.$ac_ext <<_ACEOF
30244 +/* confdefs.h. */
30245 +_ACEOF
30246 +cat confdefs.h >>conftest.$ac_ext
30247 +cat >>conftest.$ac_ext <<_ACEOF
30248 +/* end confdefs.h. */
30249 +
30250 +int
30251 +main ()
30252 +{
30253 +
30254 + ;
30255 + return 0;
30256 +}
30257 +_ACEOF
30258 +rm -f conftest.$ac_objext
30259 +if { (ac_try="$ac_compile"
30260 +case "(($ac_try" in
30261 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30262 + *) ac_try_echo=$ac_try;;
30263 +esac
30264 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30265 + (eval "$ac_compile") 2>conftest.er1
30266 + ac_status=$?
30267 + grep -v '^ *+' conftest.er1 >conftest.err
30268 + rm -f conftest.er1
30269 + cat conftest.err >&5
30270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 + (exit $ac_status); } && {
30272 + test -z "$ac_cxx_werror_flag" ||
30273 + test ! -s conftest.err
30274 + } && test -s conftest.$ac_objext; then
30275 + ac_cv_prog_cxx_g=yes
30276 +else
30277 + echo "$as_me: failed program was:" >&5
30278 +sed 's/^/| /' conftest.$ac_ext >&5
30279 +
30280 + CXXFLAGS=""
30281 + cat >conftest.$ac_ext <<_ACEOF
30282 +/* confdefs.h. */
30283 +_ACEOF
30284 +cat confdefs.h >>conftest.$ac_ext
30285 +cat >>conftest.$ac_ext <<_ACEOF
30286 +/* end confdefs.h. */
30287 +
30288 +int
30289 +main ()
30290 +{
30291 +
30292 + ;
30293 + return 0;
30294 +}
30295 +_ACEOF
30296 +rm -f conftest.$ac_objext
30297 +if { (ac_try="$ac_compile"
30298 +case "(($ac_try" in
30299 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30300 + *) ac_try_echo=$ac_try;;
30301 +esac
30302 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30303 + (eval "$ac_compile") 2>conftest.er1
30304 + ac_status=$?
30305 + grep -v '^ *+' conftest.er1 >conftest.err
30306 + rm -f conftest.er1
30307 + cat conftest.err >&5
30308 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 + (exit $ac_status); } && {
30310 + test -z "$ac_cxx_werror_flag" ||
30311 + test ! -s conftest.err
30312 + } && test -s conftest.$ac_objext; then
30313 + :
30314 +else
30315 + echo "$as_me: failed program was:" >&5
30316 +sed 's/^/| /' conftest.$ac_ext >&5
30317 +
30318 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
30319 + CXXFLAGS="-g"
30320 + cat >conftest.$ac_ext <<_ACEOF
30321 +/* confdefs.h. */
30322 +_ACEOF
30323 +cat confdefs.h >>conftest.$ac_ext
30324 +cat >>conftest.$ac_ext <<_ACEOF
30325 +/* end confdefs.h. */
30326 +
30327 +int
30328 +main ()
30329 +{
30330 +
30331 + ;
30332 + return 0;
30333 +}
30334 +_ACEOF
30335 +rm -f conftest.$ac_objext
30336 +if { (ac_try="$ac_compile"
30337 +case "(($ac_try" in
30338 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30339 + *) ac_try_echo=$ac_try;;
30340 +esac
30341 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30342 + (eval "$ac_compile") 2>conftest.er1
30343 + ac_status=$?
30344 + grep -v '^ *+' conftest.er1 >conftest.err
30345 + rm -f conftest.er1
30346 + cat conftest.err >&5
30347 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 + (exit $ac_status); } && {
30349 + test -z "$ac_cxx_werror_flag" ||
30350 + test ! -s conftest.err
30351 + } && test -s conftest.$ac_objext; then
30352 + ac_cv_prog_cxx_g=yes
30353 +else
30354 + echo "$as_me: failed program was:" >&5
30355 +sed 's/^/| /' conftest.$ac_ext >&5
30356 +
30357 +
30358 +fi
30359 +
30360 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30361 +fi
30362 +
30363 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30364 +fi
30365 +
30366 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30367 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
30368 +fi
30369 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
30370 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
30371 +if test "$ac_test_CXXFLAGS" = set; then
30372 + CXXFLAGS=$ac_save_CXXFLAGS
30373 +elif test $ac_cv_prog_cxx_g = yes; then
30374 + if test "$GXX" = yes; then
30375 + CXXFLAGS="-g -O2"
30376 + else
30377 + CXXFLAGS="-g"
30378 + fi
30379 +else
30380 + if test "$GXX" = yes; then
30381 + CXXFLAGS="-O2"
30382 + else
30383 + CXXFLAGS=
30384 + fi
30385 +fi
30386 +ac_ext=c
30387 +ac_cpp='$CPP $CPPFLAGS'
30388 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30389 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30390 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
30391 +
30392 +depcc="$CXX" am_compiler_list=
30393 +
30394 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
30395 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
30396 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
30397 + echo $ECHO_N "(cached) $ECHO_C" >&6
30398 +else
30399 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
30400 + # We make a subdir and do the tests there. Otherwise we can end up
30401 + # making bogus files that we don't know about and never remove. For
30402 + # instance it was reported that on HP-UX the gcc test will end up
30403 + # making a dummy file named `D' -- because `-MD' means `put the output
30404 + # in D'.
30405 + mkdir conftest.dir
30406 + # Copy depcomp to subdir because otherwise we won't find it if we're
30407 + # using a relative directory.
30408 + cp "$am_depcomp" conftest.dir
30409 + cd conftest.dir
30410 + # We will build objects and dependencies in a subdirectory because
30411 + # it helps to detect inapplicable dependency modes. For instance
30412 + # both Tru64's cc and ICC support -MD to output dependencies as a
30413 + # side effect of compilation, but ICC will put the dependencies in
30414 + # the current directory while Tru64 will put them in the object
30415 + # directory.
30416 + mkdir sub
30417 +
30418 + am_cv_CXX_dependencies_compiler_type=none
30419 + if test "$am_compiler_list" = ""; then
30420 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
30421 + fi
30422 + for depmode in $am_compiler_list; do
30423 + # Setup a source with many dependencies, because some compilers
30424 + # like to wrap large dependency lists on column 80 (with \), and
30425 + # we should not choose a depcomp mode which is confused by this.
30426 + #
30427 + # We need to recreate these files for each test, as the compiler may
30428 + # overwrite some of them when testing with obscure command lines.
30429 + # This happens at least with the AIX C compiler.
30430 + : > sub/conftest.c
30431 + for i in 1 2 3 4 5 6; do
30432 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
30433 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
30434 + # Solaris 8's {/usr,}/bin/sh.
30435 + touch sub/conftst$i.h
30436 + done
30437 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
30438 +
30439 + case $depmode in
30440 + nosideeffect)
30441 + # after this tag, mechanisms are not by side-effect, so they'll
30442 + # only be used when explicitly requested
30443 + if test "x$enable_dependency_tracking" = xyes; then
30444 + continue
30445 + else
30446 + break
30447 + fi
30448 + ;;
30449 + none) break ;;
30450 + esac
30451 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
30452 + # mode. It turns out that the SunPro C++ compiler does not properly
30453 + # handle `-M -o', and we need to detect this.
30454 + if depmode=$depmode \
30455 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
30456 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
30457 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
30458 + >/dev/null 2>conftest.err &&
30459 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
30460 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
30461 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
30462 + # icc doesn't choke on unknown options, it will just issue warnings
30463 + # or remarks (even with -Werror). So we grep stderr for any message
30464 + # that says an option was ignored or not supported.
30465 + # When given -MP, icc 7.0 and 7.1 complain thusly:
30466 + # icc: Command line warning: ignoring option '-M'; no argument required
30467 + # The diagnosis changed in icc 8.0:
30468 + # icc: Command line remark: option '-MP' not supported
30469 + if (grep 'ignoring option' conftest.err ||
30470 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
30471 + am_cv_CXX_dependencies_compiler_type=$depmode
30472 + break
30473 + fi
30474 + fi
30475 + done
30476 +
30477 + cd ..
30478 + rm -rf conftest.dir
30479 +else
30480 + am_cv_CXX_dependencies_compiler_type=none
30481 +fi
30482 +
30483 +fi
30484 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
30485 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
30486 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
30487 +
30488 +
30489 +
30490 +if
30491 + test "x$enable_dependency_tracking" != xno \
30492 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
30493 + am__fastdepCXX_TRUE=
30494 + am__fastdepCXX_FALSE='#'
30495 +else
30496 + am__fastdepCXX_TRUE='#'
30497 + am__fastdepCXX_FALSE=
30498 +fi
30499 +
30500 +
30501 +# Find a good install program. We prefer a C program (faster),
30502 +# so one script is as good as another. But avoid the broken or
30503 +# incompatible versions:
30504 +# SysV /etc/install, /usr/sbin/install
30505 +# SunOS /usr/etc/install
30506 +# IRIX /sbin/install
30507 +# AIX /bin/install
30508 +# AmigaOS /C/install, which installs bootblocks on floppy discs
30509 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
30510 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
30511 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
30512 +# OS/2's system install, which has a completely different semantic
30513 +# ./install, which can be erroneously created by make from ./install.sh.
30514 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
30515 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
30516 +if test -z "$INSTALL"; then
30517 +if test "${ac_cv_path_install+set}" = set; then
30518 + echo $ECHO_N "(cached) $ECHO_C" >&6
30519 +else
30520 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30521 +for as_dir in $PATH
30522 +do
30523 + IFS=$as_save_IFS
30524 + test -z "$as_dir" && as_dir=.
30525 + # Account for people who put trailing slashes in PATH elements.
30526 +case $as_dir/ in
30527 + ./ | .// | /cC/* | \
30528 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
30529 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
30530 + /usr/ucb/* ) ;;
30531 + *)
30532 + # OSF1 and SCO ODT 3.0 have their own names for install.
30533 + # Don't use installbsd from OSF since it installs stuff as root
30534 + # by default.
30535 + for ac_prog in ginstall scoinst install; do
30536 + for ac_exec_ext in '' $ac_executable_extensions; do
30537 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
30538 + if test $ac_prog = install &&
30539 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
30540 + # AIX install. It has an incompatible calling convention.
30541 + :
30542 + elif test $ac_prog = install &&
30543 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
30544 + # program-specific install script used by HP pwplus--don't use.
30545 + :
30546 + else
30547 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
30548 + break 3
30549 + fi
30550 + fi
30551 + done
30552 + done
30553 + ;;
30554 +esac
30555 +done
30556 +IFS=$as_save_IFS
30557 +
30558 +
30559 +fi
30560 + if test "${ac_cv_path_install+set}" = set; then
30561 + INSTALL=$ac_cv_path_install
30562 + else
30563 + # As a last resort, use the slow shell script. Don't cache a
30564 + # value for INSTALL within a source directory, because that will
30565 + # break other packages using the cache if that directory is
30566 + # removed, or if the value is a relative name.
30567 + INSTALL=$ac_install_sh
30568 + fi
30569 +fi
30570 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
30571 +echo "${ECHO_T}$INSTALL" >&6; }
30572 +
30573 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
30574 +# It thinks the first close brace ends the variable substitution.
30575 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
30576 +
30577 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
30578 +
30579 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
30580 +
30581 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
30582 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
30583 +LN_S=$as_ln_s
30584 +if test "$LN_S" = "ln -s"; then
30585 + { echo "$as_me:$LINENO: result: yes" >&5
30586 +echo "${ECHO_T}yes" >&6; }
30587 +else
30588 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
30589 +echo "${ECHO_T}no, using $LN_S" >&6; }
30590 +fi
30591 +
30592 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
30593 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
30594 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
30595 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
30596 + echo $ECHO_N "(cached) $ECHO_C" >&6
30597 +else
30598 + cat >conftest.make <<\_ACEOF
30599 +SHELL = /bin/sh
30600 +all:
30601 + @echo '@@@%%%=$(MAKE)=@@@%%%'
30602 +_ACEOF
30603 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30604 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
30605 + *@@@%%%=?*=@@@%%%*)
30606 + eval ac_cv_prog_make_${ac_make}_set=yes;;
30607 + *)
30608 + eval ac_cv_prog_make_${ac_make}_set=no;;
30609 +esac
30610 +rm -f conftest.make
30611 +fi
30612 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
30613 + { echo "$as_me:$LINENO: result: yes" >&5
30614 +echo "${ECHO_T}yes" >&6; }
30615 + SET_MAKE=
30616 +else
30617 + { echo "$as_me:$LINENO: result: no" >&5
30618 +echo "${ECHO_T}no" >&6; }
30619 + SET_MAKE="MAKE=${MAKE-make}"
30620 +fi
30621 +
30622 +for ac_prog in rpmbuild
30623 +do
30624 + # Extract the first word of "$ac_prog", so it can be a program name with args.
30625 +set dummy $ac_prog; ac_word=$2
30626 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30627 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30628 +if test "${ac_cv_prog_RPMBUILD+set}" = set; then
30629 + echo $ECHO_N "(cached) $ECHO_C" >&6
30630 +else
30631 + if test -n "$RPMBUILD"; then
30632 + ac_cv_prog_RPMBUILD="$RPMBUILD" # Let the user override the test.
30633 +else
30634 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30635 +for as_dir in $PATH
30636 +do
30637 + IFS=$as_save_IFS
30638 + test -z "$as_dir" && as_dir=.
30639 + for ac_exec_ext in '' $ac_executable_extensions; do
30640 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30641 + ac_cv_prog_RPMBUILD="$ac_prog"
30642 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30643 + break 2
30644 + fi
30645 +done
30646 +done
30647 +IFS=$as_save_IFS
30648 +
30649 +fi
30650 +fi
30651 +RPMBUILD=$ac_cv_prog_RPMBUILD
30652 +if test -n "$RPMBUILD"; then
30653 + { echo "$as_me:$LINENO: result: $RPMBUILD" >&5
30654 +echo "${ECHO_T}$RPMBUILD" >&6; }
30655 +else
30656 + { echo "$as_me:$LINENO: result: no" >&5
30657 +echo "${ECHO_T}no" >&6; }
30658 +fi
30659 +
30660 +
30661 + test -n "$RPMBUILD" && break
30662 +done
30663 +test -n "$RPMBUILD" || RPMBUILD="rpm"
30664 +
30665 +
30666 +ac_config_headers="$ac_config_headers config.h"
30667 +
30668 +
30669 +
30670 +# Check whether --with-xmms was given.
30671 +if test "${with_xmms+set}" = set; then
30672 + withval=$with_xmms; WITHXMMS=$withval
30673 +else
30674 + WITHXMMS=no
30675 +fi
30676 +
30677 +
30678 +
30679 +# Check whether --with-drm was given.
30680 +if test "${with_drm+set}" = set; then
30681 + withval=$with_drm; WITHDRM=$withval
30682 +else
30683 + WITHDRM=no
30684 +fi
30685 +
30686 +
30687 +
30688 +# Check whether --with-mpeg4ip was given.
30689 +if test "${with_mpeg4ip+set}" = set; then
30690 + withval=$with_mpeg4ip; WITHMPEG4IP=$withval
30691 +else
30692 + WITHMPEG4IP=no
30693 +fi
30694 +
30695 +
30696 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
30697 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
30698 +if test "${ac_cv_header_stdc+set}" = set; then
30699 + echo $ECHO_N "(cached) $ECHO_C" >&6
30700 +else
30701 + cat >conftest.$ac_ext <<_ACEOF
30702 +/* confdefs.h. */
30703 +_ACEOF
30704 +cat confdefs.h >>conftest.$ac_ext
30705 +cat >>conftest.$ac_ext <<_ACEOF
30706 +/* end confdefs.h. */
30707 +#include <stdlib.h>
30708 +#include <stdarg.h>
30709 +#include <string.h>
30710 +#include <float.h>
30711 +
30712 +int
30713 +main ()
30714 +{
30715 +
30716 + ;
30717 + return 0;
30718 +}
30719 +_ACEOF
30720 +rm -f conftest.$ac_objext
30721 +if { (ac_try="$ac_compile"
30722 +case "(($ac_try" in
30723 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30724 + *) ac_try_echo=$ac_try;;
30725 +esac
30726 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30727 + (eval "$ac_compile") 2>conftest.er1
30728 + ac_status=$?
30729 + grep -v '^ *+' conftest.er1 >conftest.err
30730 + rm -f conftest.er1
30731 + cat conftest.err >&5
30732 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 + (exit $ac_status); } && {
30734 + test -z "$ac_c_werror_flag" ||
30735 + test ! -s conftest.err
30736 + } && test -s conftest.$ac_objext; then
30737 + ac_cv_header_stdc=yes
30738 +else
30739 + echo "$as_me: failed program was:" >&5
30740 +sed 's/^/| /' conftest.$ac_ext >&5
30741 +
30742 + ac_cv_header_stdc=no
30743 +fi
30744 +
30745 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30746 +
30747 +if test $ac_cv_header_stdc = yes; then
30748 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
30749 + cat >conftest.$ac_ext <<_ACEOF
30750 +/* confdefs.h. */
30751 +_ACEOF
30752 +cat confdefs.h >>conftest.$ac_ext
30753 +cat >>conftest.$ac_ext <<_ACEOF
30754 +/* end confdefs.h. */
30755 +#include <string.h>
30756 +
30757 +_ACEOF
30758 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30759 + $EGREP "memchr" >/dev/null 2>&1; then
30760 + :
30761 +else
30762 + ac_cv_header_stdc=no
30763 +fi
30764 +rm -f conftest*
30765 +
30766 +fi
30767 +
30768 +if test $ac_cv_header_stdc = yes; then
30769 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
30770 + cat >conftest.$ac_ext <<_ACEOF
30771 +/* confdefs.h. */
30772 +_ACEOF
30773 +cat confdefs.h >>conftest.$ac_ext
30774 +cat >>conftest.$ac_ext <<_ACEOF
30775 +/* end confdefs.h. */
30776 +#include <stdlib.h>
30777 +
30778 +_ACEOF
30779 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30780 + $EGREP "free" >/dev/null 2>&1; then
30781 + :
30782 +else
30783 + ac_cv_header_stdc=no
30784 +fi
30785 +rm -f conftest*
30786 +
30787 +fi
30788 +
30789 +if test $ac_cv_header_stdc = yes; then
30790 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
30791 + if test "$cross_compiling" = yes; then
30792 + :
30793 +else
30794 + cat >conftest.$ac_ext <<_ACEOF
30795 +/* confdefs.h. */
30796 +_ACEOF
30797 +cat confdefs.h >>conftest.$ac_ext
30798 +cat >>conftest.$ac_ext <<_ACEOF
30799 +/* end confdefs.h. */
30800 +#include <ctype.h>
30801 +#include <stdlib.h>
30802 +#if ((' ' & 0x0FF) == 0x020)
30803 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
30804 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
30805 +#else
30806 +# define ISLOWER(c) \
30807 + (('a' <= (c) && (c) <= 'i') \
30808 + || ('j' <= (c) && (c) <= 'r') \
30809 + || ('s' <= (c) && (c) <= 'z'))
30810 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
30811 +#endif
30812 +
30813 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
30814 +int
30815 +main ()
30816 +{
30817 + int i;
30818 + for (i = 0; i < 256; i++)
30819 + if (XOR (islower (i), ISLOWER (i))
30820 + || toupper (i) != TOUPPER (i))
30821 + return 2;
30822 + return 0;
30823 +}
30824 +_ACEOF
30825 +rm -f conftest$ac_exeext
30826 +if { (ac_try="$ac_link"
30827 +case "(($ac_try" in
30828 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30829 + *) ac_try_echo=$ac_try;;
30830 +esac
30831 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30832 + (eval "$ac_link") 2>&5
30833 + ac_status=$?
30834 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30836 + { (case "(($ac_try" in
30837 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30838 + *) ac_try_echo=$ac_try;;
30839 +esac
30840 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30841 + (eval "$ac_try") 2>&5
30842 + ac_status=$?
30843 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 + (exit $ac_status); }; }; then
30845 + :
30846 +else
30847 + echo "$as_me: program exited with status $ac_status" >&5
30848 +echo "$as_me: failed program was:" >&5
30849 +sed 's/^/| /' conftest.$ac_ext >&5
30850 +
30851 +( exit $ac_status )
30852 +ac_cv_header_stdc=no
30853 +fi
30854 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30855 +fi
30856 +
30857 +
30858 +fi
30859 +fi
30860 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
30861 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
30862 +if test $ac_cv_header_stdc = yes; then
30863 +
30864 +cat >>confdefs.h <<\_ACEOF
30865 +#define STDC_HEADERS 1
30866 +_ACEOF
30867 +
30868 +fi
30869 +
30870 +
30871 +
30872 +for ac_header in stdint.h inttypes.h
30873 +do
30874 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30875 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30876 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
30877 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30878 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30879 + echo $ECHO_N "(cached) $ECHO_C" >&6
30880 +fi
30881 +ac_res=`eval echo '${'$as_ac_Header'}'`
30882 + { echo "$as_me:$LINENO: result: $ac_res" >&5
30883 +echo "${ECHO_T}$ac_res" >&6; }
30884 +else
30885 + # Is the header compilable?
30886 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
30887 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30888 +cat >conftest.$ac_ext <<_ACEOF
30889 +/* confdefs.h. */
30890 +_ACEOF
30891 +cat confdefs.h >>conftest.$ac_ext
30892 +cat >>conftest.$ac_ext <<_ACEOF
30893 +/* end confdefs.h. */
30894 +$ac_includes_default
30895 +#include <$ac_header>
30896 +_ACEOF
30897 +rm -f conftest.$ac_objext
30898 +if { (ac_try="$ac_compile"
30899 +case "(($ac_try" in
30900 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30901 + *) ac_try_echo=$ac_try;;
30902 +esac
30903 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30904 + (eval "$ac_compile") 2>conftest.er1
30905 + ac_status=$?
30906 + grep -v '^ *+' conftest.er1 >conftest.err
30907 + rm -f conftest.er1
30908 + cat conftest.err >&5
30909 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 + (exit $ac_status); } && {
30911 + test -z "$ac_c_werror_flag" ||
30912 + test ! -s conftest.err
30913 + } && test -s conftest.$ac_objext; then
30914 + ac_header_compiler=yes
30915 +else
30916 + echo "$as_me: failed program was:" >&5
30917 +sed 's/^/| /' conftest.$ac_ext >&5
30918 +
30919 + ac_header_compiler=no
30920 +fi
30921 +
30922 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30923 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30924 +echo "${ECHO_T}$ac_header_compiler" >&6; }
30925 +
30926 +# Is the header present?
30927 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
30928 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30929 +cat >conftest.$ac_ext <<_ACEOF
30930 +/* confdefs.h. */
30931 +_ACEOF
30932 +cat confdefs.h >>conftest.$ac_ext
30933 +cat >>conftest.$ac_ext <<_ACEOF
30934 +/* end confdefs.h. */
30935 +#include <$ac_header>
30936 +_ACEOF
30937 +if { (ac_try="$ac_cpp conftest.$ac_ext"
30938 +case "(($ac_try" in
30939 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30940 + *) ac_try_echo=$ac_try;;
30941 +esac
30942 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30943 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30944 + ac_status=$?
30945 + grep -v '^ *+' conftest.er1 >conftest.err
30946 + rm -f conftest.er1
30947 + cat conftest.err >&5
30948 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 + (exit $ac_status); } >/dev/null && {
30950 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30951 + test ! -s conftest.err
30952 + }; then
30953 + ac_header_preproc=yes
30954 +else
30955 + echo "$as_me: failed program was:" >&5
30956 +sed 's/^/| /' conftest.$ac_ext >&5
30957 +
30958 + ac_header_preproc=no
30959 +fi
30960 +
30961 +rm -f conftest.err conftest.$ac_ext
30962 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30963 +echo "${ECHO_T}$ac_header_preproc" >&6; }
30964 +
30965 +# So? What about this header?
30966 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30967 + yes:no: )
30968 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30969 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30970 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30971 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30972 + ac_header_preproc=yes
30973 + ;;
30974 + no:yes:* )
30975 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30976 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30977 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30978 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30979 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30980 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30981 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30982 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30983 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30984 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30985 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30986 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30987 +
30988 + ;;
30989 +esac
30990 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
30991 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30992 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30993 + echo $ECHO_N "(cached) $ECHO_C" >&6
30994 +else
30995 + eval "$as_ac_Header=\$ac_header_preproc"
30996 +fi
30997 +ac_res=`eval echo '${'$as_ac_Header'}'`
30998 + { echo "$as_me:$LINENO: result: $ac_res" >&5
30999 +echo "${ECHO_T}$ac_res" >&6; }
31000 +
31001 +fi
31002 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
31003 + cat >>confdefs.h <<_ACEOF
31004 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31005 +_ACEOF
31006 +
31007 +fi
31008 +
31009 +done
31010 +
31011 +
31012 +for ac_header in mathf.h
31013 +do
31014 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31015 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31016 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
31017 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31018 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31019 + echo $ECHO_N "(cached) $ECHO_C" >&6
31020 +fi
31021 +ac_res=`eval echo '${'$as_ac_Header'}'`
31022 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31023 +echo "${ECHO_T}$ac_res" >&6; }
31024 +else
31025 + # Is the header compilable?
31026 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
31027 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31028 +cat >conftest.$ac_ext <<_ACEOF
31029 +/* confdefs.h. */
31030 +_ACEOF
31031 +cat confdefs.h >>conftest.$ac_ext
31032 +cat >>conftest.$ac_ext <<_ACEOF
31033 +/* end confdefs.h. */
31034 +$ac_includes_default
31035 +#include <$ac_header>
31036 +_ACEOF
31037 +rm -f conftest.$ac_objext
31038 +if { (ac_try="$ac_compile"
31039 +case "(($ac_try" in
31040 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31041 + *) ac_try_echo=$ac_try;;
31042 +esac
31043 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31044 + (eval "$ac_compile") 2>conftest.er1
31045 + ac_status=$?
31046 + grep -v '^ *+' conftest.er1 >conftest.err
31047 + rm -f conftest.er1
31048 + cat conftest.err >&5
31049 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 + (exit $ac_status); } && {
31051 + test -z "$ac_c_werror_flag" ||
31052 + test ! -s conftest.err
31053 + } && test -s conftest.$ac_objext; then
31054 + ac_header_compiler=yes
31055 +else
31056 + echo "$as_me: failed program was:" >&5
31057 +sed 's/^/| /' conftest.$ac_ext >&5
31058 +
31059 + ac_header_compiler=no
31060 +fi
31061 +
31062 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31063 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31064 +echo "${ECHO_T}$ac_header_compiler" >&6; }
31065 +
31066 +# Is the header present?
31067 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
31068 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31069 +cat >conftest.$ac_ext <<_ACEOF
31070 +/* confdefs.h. */
31071 +_ACEOF
31072 +cat confdefs.h >>conftest.$ac_ext
31073 +cat >>conftest.$ac_ext <<_ACEOF
31074 +/* end confdefs.h. */
31075 +#include <$ac_header>
31076 +_ACEOF
31077 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31078 +case "(($ac_try" in
31079 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31080 + *) ac_try_echo=$ac_try;;
31081 +esac
31082 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31083 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31084 + ac_status=$?
31085 + grep -v '^ *+' conftest.er1 >conftest.err
31086 + rm -f conftest.er1
31087 + cat conftest.err >&5
31088 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31089 + (exit $ac_status); } >/dev/null && {
31090 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31091 + test ! -s conftest.err
31092 + }; then
31093 + ac_header_preproc=yes
31094 +else
31095 + echo "$as_me: failed program was:" >&5
31096 +sed 's/^/| /' conftest.$ac_ext >&5
31097 +
31098 + ac_header_preproc=no
31099 +fi
31100 +
31101 +rm -f conftest.err conftest.$ac_ext
31102 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31103 +echo "${ECHO_T}$ac_header_preproc" >&6; }
31104 +
31105 +# So? What about this header?
31106 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31107 + yes:no: )
31108 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31109 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31110 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31111 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31112 + ac_header_preproc=yes
31113 + ;;
31114 + no:yes:* )
31115 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31116 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31117 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31118 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31119 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31120 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31121 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31122 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31123 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31124 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31125 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31126 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31127 +
31128 + ;;
31129 +esac
31130 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
31131 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31132 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31133 + echo $ECHO_N "(cached) $ECHO_C" >&6
31134 +else
31135 + eval "$as_ac_Header=\$ac_header_preproc"
31136 +fi
31137 +ac_res=`eval echo '${'$as_ac_Header'}'`
31138 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31139 +echo "${ECHO_T}$ac_res" >&6; }
31140 +
31141 +fi
31142 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
31143 + cat >>confdefs.h <<_ACEOF
31144 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31145 +_ACEOF
31146 +
31147 +fi
31148 +
31149 +done
31150 +
31151 +
31152 +for ac_header in float.h
31153 +do
31154 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31155 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31156 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
31157 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31158 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31159 + echo $ECHO_N "(cached) $ECHO_C" >&6
31160 +fi
31161 +ac_res=`eval echo '${'$as_ac_Header'}'`
31162 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31163 +echo "${ECHO_T}$ac_res" >&6; }
31164 +else
31165 + # Is the header compilable?
31166 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
31167 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31168 +cat >conftest.$ac_ext <<_ACEOF
31169 +/* confdefs.h. */
31170 +_ACEOF
31171 +cat confdefs.h >>conftest.$ac_ext
31172 +cat >>conftest.$ac_ext <<_ACEOF
31173 +/* end confdefs.h. */
31174 +$ac_includes_default
31175 +#include <$ac_header>
31176 +_ACEOF
31177 +rm -f conftest.$ac_objext
31178 +if { (ac_try="$ac_compile"
31179 +case "(($ac_try" in
31180 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31181 + *) ac_try_echo=$ac_try;;
31182 +esac
31183 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31184 + (eval "$ac_compile") 2>conftest.er1
31185 + ac_status=$?
31186 + grep -v '^ *+' conftest.er1 >conftest.err
31187 + rm -f conftest.er1
31188 + cat conftest.err >&5
31189 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 + (exit $ac_status); } && {
31191 + test -z "$ac_c_werror_flag" ||
31192 + test ! -s conftest.err
31193 + } && test -s conftest.$ac_objext; then
31194 + ac_header_compiler=yes
31195 +else
31196 + echo "$as_me: failed program was:" >&5
31197 +sed 's/^/| /' conftest.$ac_ext >&5
31198 +
31199 + ac_header_compiler=no
31200 +fi
31201 +
31202 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31203 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31204 +echo "${ECHO_T}$ac_header_compiler" >&6; }
31205 +
31206 +# Is the header present?
31207 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
31208 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31209 +cat >conftest.$ac_ext <<_ACEOF
31210 +/* confdefs.h. */
31211 +_ACEOF
31212 +cat confdefs.h >>conftest.$ac_ext
31213 +cat >>conftest.$ac_ext <<_ACEOF
31214 +/* end confdefs.h. */
31215 +#include <$ac_header>
31216 +_ACEOF
31217 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31218 +case "(($ac_try" in
31219 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31220 + *) ac_try_echo=$ac_try;;
31221 +esac
31222 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31223 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31224 + ac_status=$?
31225 + grep -v '^ *+' conftest.er1 >conftest.err
31226 + rm -f conftest.er1
31227 + cat conftest.err >&5
31228 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 + (exit $ac_status); } >/dev/null && {
31230 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31231 + test ! -s conftest.err
31232 + }; then
31233 + ac_header_preproc=yes
31234 +else
31235 + echo "$as_me: failed program was:" >&5
31236 +sed 's/^/| /' conftest.$ac_ext >&5
31237 +
31238 + ac_header_preproc=no
31239 +fi
31240 +
31241 +rm -f conftest.err conftest.$ac_ext
31242 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31243 +echo "${ECHO_T}$ac_header_preproc" >&6; }
31244 +
31245 +# So? What about this header?
31246 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31247 + yes:no: )
31248 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31249 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31250 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31251 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31252 + ac_header_preproc=yes
31253 + ;;
31254 + no:yes:* )
31255 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31256 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31257 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31258 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31259 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31260 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31261 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31262 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31263 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31264 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31265 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31266 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31267 +
31268 + ;;
31269 +esac
31270 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
31271 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31272 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31273 + echo $ECHO_N "(cached) $ECHO_C" >&6
31274 +else
31275 + eval "$as_ac_Header=\$ac_header_preproc"
31276 +fi
31277 +ac_res=`eval echo '${'$as_ac_Header'}'`
31278 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31279 +echo "${ECHO_T}$ac_res" >&6; }
31280 +
31281 +fi
31282 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
31283 + cat >>confdefs.h <<_ACEOF
31284 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31285 +_ACEOF
31286 +
31287 +fi
31288 +
31289 +done
31290 +
31291 +
31292 +
31293 +for ac_func in strchr memcpy
31294 +do
31295 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31296 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
31297 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31298 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31299 + echo $ECHO_N "(cached) $ECHO_C" >&6
31300 +else
31301 + cat >conftest.$ac_ext <<_ACEOF
31302 +/* confdefs.h. */
31303 +_ACEOF
31304 +cat confdefs.h >>conftest.$ac_ext
31305 +cat >>conftest.$ac_ext <<_ACEOF
31306 +/* end confdefs.h. */
31307 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31308 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
31309 +#define $ac_func innocuous_$ac_func
31310 +
31311 +/* System header to define __stub macros and hopefully few prototypes,
31312 + which can conflict with char $ac_func (); below.
31313 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31314 + <limits.h> exists even on freestanding compilers. */
31315 +
31316 +#ifdef __STDC__
31317 +# include <limits.h>
31318 +#else
31319 +# include <assert.h>
31320 +#endif
31321 +
31322 +#undef $ac_func
31323 +
31324 +/* Override any GCC internal prototype to avoid an error.
31325 + Use char because int might match the return type of a GCC
31326 + builtin and then its argument prototype would still apply. */
31327 +#ifdef __cplusplus
31328 +extern "C"
31329 +#endif
31330 +char $ac_func ();
31331 +/* The GNU C library defines this for functions which it implements
31332 + to always fail with ENOSYS. Some functions are actually named
31333 + something starting with __ and the normal name is an alias. */
31334 +#if defined __stub_$ac_func || defined __stub___$ac_func
31335 +choke me
31336 +#endif
31337 +
31338 +int
31339 +main ()
31340 +{
31341 +return $ac_func ();
31342 + ;
31343 + return 0;
31344 +}
31345 +_ACEOF
31346 +rm -f conftest.$ac_objext conftest$ac_exeext
31347 +if { (ac_try="$ac_link"
31348 +case "(($ac_try" in
31349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31350 + *) ac_try_echo=$ac_try;;
31351 +esac
31352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31353 + (eval "$ac_link") 2>conftest.er1
31354 + ac_status=$?
31355 + grep -v '^ *+' conftest.er1 >conftest.err
31356 + rm -f conftest.er1
31357 + cat conftest.err >&5
31358 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 + (exit $ac_status); } && {
31360 + test -z "$ac_c_werror_flag" ||
31361 + test ! -s conftest.err
31362 + } && test -s conftest$ac_exeext &&
31363 + $as_test_x conftest$ac_exeext; then
31364 + eval "$as_ac_var=yes"
31365 +else
31366 + echo "$as_me: failed program was:" >&5
31367 +sed 's/^/| /' conftest.$ac_ext >&5
31368 +
31369 + eval "$as_ac_var=no"
31370 +fi
31371 +
31372 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31373 + conftest$ac_exeext conftest.$ac_ext
31374 +fi
31375 +ac_res=`eval echo '${'$as_ac_var'}'`
31376 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31377 +echo "${ECHO_T}$ac_res" >&6; }
31378 +if test `eval echo '${'$as_ac_var'}'` = yes; then
31379 + cat >>confdefs.h <<_ACEOF
31380 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31381 +_ACEOF
31382 +
31383 +fi
31384 +done
31385 +
31386 +
31387 +for ac_header in sys/time.h
31388 +do
31389 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31390 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31391 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
31392 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31393 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31394 + echo $ECHO_N "(cached) $ECHO_C" >&6
31395 +fi
31396 +ac_res=`eval echo '${'$as_ac_Header'}'`
31397 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31398 +echo "${ECHO_T}$ac_res" >&6; }
31399 +else
31400 + # Is the header compilable?
31401 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
31402 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31403 +cat >conftest.$ac_ext <<_ACEOF
31404 +/* confdefs.h. */
31405 +_ACEOF
31406 +cat confdefs.h >>conftest.$ac_ext
31407 +cat >>conftest.$ac_ext <<_ACEOF
31408 +/* end confdefs.h. */
31409 +$ac_includes_default
31410 +#include <$ac_header>
31411 +_ACEOF
31412 +rm -f conftest.$ac_objext
31413 +if { (ac_try="$ac_compile"
31414 +case "(($ac_try" in
31415 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31416 + *) ac_try_echo=$ac_try;;
31417 +esac
31418 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31419 + (eval "$ac_compile") 2>conftest.er1
31420 + ac_status=$?
31421 + grep -v '^ *+' conftest.er1 >conftest.err
31422 + rm -f conftest.er1
31423 + cat conftest.err >&5
31424 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 + (exit $ac_status); } && {
31426 + test -z "$ac_c_werror_flag" ||
31427 + test ! -s conftest.err
31428 + } && test -s conftest.$ac_objext; then
31429 + ac_header_compiler=yes
31430 +else
31431 + echo "$as_me: failed program was:" >&5
31432 +sed 's/^/| /' conftest.$ac_ext >&5
31433 +
31434 + ac_header_compiler=no
31435 +fi
31436 +
31437 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31439 +echo "${ECHO_T}$ac_header_compiler" >&6; }
31440 +
31441 +# Is the header present?
31442 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
31443 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31444 +cat >conftest.$ac_ext <<_ACEOF
31445 +/* confdefs.h. */
31446 +_ACEOF
31447 +cat confdefs.h >>conftest.$ac_ext
31448 +cat >>conftest.$ac_ext <<_ACEOF
31449 +/* end confdefs.h. */
31450 +#include <$ac_header>
31451 +_ACEOF
31452 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31453 +case "(($ac_try" in
31454 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31455 + *) ac_try_echo=$ac_try;;
31456 +esac
31457 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31458 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31459 + ac_status=$?
31460 + grep -v '^ *+' conftest.er1 >conftest.err
31461 + rm -f conftest.er1
31462 + cat conftest.err >&5
31463 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 + (exit $ac_status); } >/dev/null && {
31465 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31466 + test ! -s conftest.err
31467 + }; then
31468 + ac_header_preproc=yes
31469 +else
31470 + echo "$as_me: failed program was:" >&5
31471 +sed 's/^/| /' conftest.$ac_ext >&5
31472 +
31473 + ac_header_preproc=no
31474 +fi
31475 +
31476 +rm -f conftest.err conftest.$ac_ext
31477 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31478 +echo "${ECHO_T}$ac_header_preproc" >&6; }
31479 +
31480 +# So? What about this header?
31481 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31482 + yes:no: )
31483 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31484 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31485 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31486 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31487 + ac_header_preproc=yes
31488 + ;;
31489 + no:yes:* )
31490 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31491 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31492 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31493 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31494 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31495 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31496 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31497 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31498 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31499 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31500 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31501 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31502 +
31503 + ;;
31504 +esac
31505 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
31506 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31507 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31508 + echo $ECHO_N "(cached) $ECHO_C" >&6
31509 +else
31510 + eval "$as_ac_Header=\$ac_header_preproc"
31511 +fi
31512 +ac_res=`eval echo '${'$as_ac_Header'}'`
31513 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31514 +echo "${ECHO_T}$ac_res" >&6; }
31515 +
31516 +fi
31517 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
31518 + cat >>confdefs.h <<_ACEOF
31519 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31520 +_ACEOF
31521 +
31522 +fi
31523 +
31524 +done
31525 +
31526 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
31527 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
31528 +if test "${ac_cv_header_time+set}" = set; then
31529 + echo $ECHO_N "(cached) $ECHO_C" >&6
31530 +else
31531 + cat >conftest.$ac_ext <<_ACEOF
31532 +/* confdefs.h. */
31533 +_ACEOF
31534 +cat confdefs.h >>conftest.$ac_ext
31535 +cat >>conftest.$ac_ext <<_ACEOF
31536 +/* end confdefs.h. */
31537 +#include <sys/types.h>
31538 +#include <sys/time.h>
31539 +#include <time.h>
31540 +
31541 +int
31542 +main ()
31543 +{
31544 +if ((struct tm *) 0)
31545 +return 0;
31546 + ;
31547 + return 0;
31548 +}
31549 +_ACEOF
31550 +rm -f conftest.$ac_objext
31551 +if { (ac_try="$ac_compile"
31552 +case "(($ac_try" in
31553 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31554 + *) ac_try_echo=$ac_try;;
31555 +esac
31556 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31557 + (eval "$ac_compile") 2>conftest.er1
31558 + ac_status=$?
31559 + grep -v '^ *+' conftest.er1 >conftest.err
31560 + rm -f conftest.er1
31561 + cat conftest.err >&5
31562 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 + (exit $ac_status); } && {
31564 + test -z "$ac_c_werror_flag" ||
31565 + test ! -s conftest.err
31566 + } && test -s conftest.$ac_objext; then
31567 + ac_cv_header_time=yes
31568 +else
31569 + echo "$as_me: failed program was:" >&5
31570 +sed 's/^/| /' conftest.$ac_ext >&5
31571 +
31572 + ac_cv_header_time=no
31573 +fi
31574 +
31575 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31576 +fi
31577 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
31578 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
31579 +if test $ac_cv_header_time = yes; then
31580 +
31581 +cat >>confdefs.h <<\_ACEOF
31582 +#define TIME_WITH_SYS_TIME 1
31583 +_ACEOF
31584 +
31585 +fi
31586 +
31587 +
31588 +
31589 +
31590 +
31591 +
31592 +for ac_header in errno.h sys/stat.h sys/types.h limits.h
31593 +do
31594 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31595 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31596 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
31597 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31598 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31599 + echo $ECHO_N "(cached) $ECHO_C" >&6
31600 +fi
31601 +ac_res=`eval echo '${'$as_ac_Header'}'`
31602 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31603 +echo "${ECHO_T}$ac_res" >&6; }
31604 +else
31605 + # Is the header compilable?
31606 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
31607 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31608 +cat >conftest.$ac_ext <<_ACEOF
31609 +/* confdefs.h. */
31610 +_ACEOF
31611 +cat confdefs.h >>conftest.$ac_ext
31612 +cat >>conftest.$ac_ext <<_ACEOF
31613 +/* end confdefs.h. */
31614 +$ac_includes_default
31615 +#include <$ac_header>
31616 +_ACEOF
31617 +rm -f conftest.$ac_objext
31618 +if { (ac_try="$ac_compile"
31619 +case "(($ac_try" in
31620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31621 + *) ac_try_echo=$ac_try;;
31622 +esac
31623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31624 + (eval "$ac_compile") 2>conftest.er1
31625 + ac_status=$?
31626 + grep -v '^ *+' conftest.er1 >conftest.err
31627 + rm -f conftest.er1
31628 + cat conftest.err >&5
31629 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 + (exit $ac_status); } && {
31631 + test -z "$ac_c_werror_flag" ||
31632 + test ! -s conftest.err
31633 + } && test -s conftest.$ac_objext; then
31634 + ac_header_compiler=yes
31635 +else
31636 + echo "$as_me: failed program was:" >&5
31637 +sed 's/^/| /' conftest.$ac_ext >&5
31638 +
31639 + ac_header_compiler=no
31640 +fi
31641 +
31642 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31643 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31644 +echo "${ECHO_T}$ac_header_compiler" >&6; }
31645 +
31646 +# Is the header present?
31647 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
31648 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31649 +cat >conftest.$ac_ext <<_ACEOF
31650 +/* confdefs.h. */
31651 +_ACEOF
31652 +cat confdefs.h >>conftest.$ac_ext
31653 +cat >>conftest.$ac_ext <<_ACEOF
31654 +/* end confdefs.h. */
31655 +#include <$ac_header>
31656 +_ACEOF
31657 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31658 +case "(($ac_try" in
31659 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31660 + *) ac_try_echo=$ac_try;;
31661 +esac
31662 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31663 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31664 + ac_status=$?
31665 + grep -v '^ *+' conftest.er1 >conftest.err
31666 + rm -f conftest.er1
31667 + cat conftest.err >&5
31668 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 + (exit $ac_status); } >/dev/null && {
31670 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31671 + test ! -s conftest.err
31672 + }; then
31673 + ac_header_preproc=yes
31674 +else
31675 + echo "$as_me: failed program was:" >&5
31676 +sed 's/^/| /' conftest.$ac_ext >&5
31677 +
31678 + ac_header_preproc=no
31679 +fi
31680 +
31681 +rm -f conftest.err conftest.$ac_ext
31682 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31683 +echo "${ECHO_T}$ac_header_preproc" >&6; }
31684 +
31685 +# So? What about this header?
31686 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31687 + yes:no: )
31688 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31689 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31690 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31691 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31692 + ac_header_preproc=yes
31693 + ;;
31694 + no:yes:* )
31695 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31696 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31697 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31698 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31699 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31700 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31701 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31702 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31703 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31704 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31705 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31706 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31707 +
31708 + ;;
31709 +esac
31710 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
31711 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31712 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31713 + echo $ECHO_N "(cached) $ECHO_C" >&6
31714 +else
31715 + eval "$as_ac_Header=\$ac_header_preproc"
31716 +fi
31717 +ac_res=`eval echo '${'$as_ac_Header'}'`
31718 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31719 +echo "${ECHO_T}$ac_res" >&6; }
31720 +
31721 +fi
31722 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
31723 + cat >>confdefs.h <<_ACEOF
31724 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31725 +_ACEOF
31726 +
31727 +fi
31728 +
31729 +done
31730 +
31731 +
31732 +for ac_header in sysfs/libsysfs.h
31733 +do
31734 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31735 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31736 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
31737 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31738 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31739 + echo $ECHO_N "(cached) $ECHO_C" >&6
31740 +fi
31741 +ac_res=`eval echo '${'$as_ac_Header'}'`
31742 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31743 +echo "${ECHO_T}$ac_res" >&6; }
31744 +else
31745 + # Is the header compilable?
31746 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
31747 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31748 +cat >conftest.$ac_ext <<_ACEOF
31749 +/* confdefs.h. */
31750 +_ACEOF
31751 +cat confdefs.h >>conftest.$ac_ext
31752 +cat >>conftest.$ac_ext <<_ACEOF
31753 +/* end confdefs.h. */
31754 +$ac_includes_default
31755 +#include <$ac_header>
31756 +_ACEOF
31757 +rm -f conftest.$ac_objext
31758 +if { (ac_try="$ac_compile"
31759 +case "(($ac_try" in
31760 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31761 + *) ac_try_echo=$ac_try;;
31762 +esac
31763 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31764 + (eval "$ac_compile") 2>conftest.er1
31765 + ac_status=$?
31766 + grep -v '^ *+' conftest.er1 >conftest.err
31767 + rm -f conftest.er1
31768 + cat conftest.err >&5
31769 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 + (exit $ac_status); } && {
31771 + test -z "$ac_c_werror_flag" ||
31772 + test ! -s conftest.err
31773 + } && test -s conftest.$ac_objext; then
31774 + ac_header_compiler=yes
31775 +else
31776 + echo "$as_me: failed program was:" >&5
31777 +sed 's/^/| /' conftest.$ac_ext >&5
31778 +
31779 + ac_header_compiler=no
31780 +fi
31781 +
31782 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31783 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31784 +echo "${ECHO_T}$ac_header_compiler" >&6; }
31785 +
31786 +# Is the header present?
31787 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
31788 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31789 +cat >conftest.$ac_ext <<_ACEOF
31790 +/* confdefs.h. */
31791 +_ACEOF
31792 +cat confdefs.h >>conftest.$ac_ext
31793 +cat >>conftest.$ac_ext <<_ACEOF
31794 +/* end confdefs.h. */
31795 +#include <$ac_header>
31796 +_ACEOF
31797 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31798 +case "(($ac_try" in
31799 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31800 + *) ac_try_echo=$ac_try;;
31801 +esac
31802 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31803 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31804 + ac_status=$?
31805 + grep -v '^ *+' conftest.er1 >conftest.err
31806 + rm -f conftest.er1
31807 + cat conftest.err >&5
31808 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 + (exit $ac_status); } >/dev/null && {
31810 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31811 + test ! -s conftest.err
31812 + }; then
31813 + ac_header_preproc=yes
31814 +else
31815 + echo "$as_me: failed program was:" >&5
31816 +sed 's/^/| /' conftest.$ac_ext >&5
31817 +
31818 + ac_header_preproc=no
31819 +fi
31820 +
31821 +rm -f conftest.err conftest.$ac_ext
31822 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31823 +echo "${ECHO_T}$ac_header_preproc" >&6; }
31824 +
31825 +# So? What about this header?
31826 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31827 + yes:no: )
31828 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31829 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31830 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31831 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31832 + ac_header_preproc=yes
31833 + ;;
31834 + no:yes:* )
31835 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31836 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31837 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31838 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31839 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31840 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31841 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31842 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31843 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31844 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31845 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31846 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31847 +
31848 + ;;
31849 +esac
31850 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
31851 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31852 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31853 + echo $ECHO_N "(cached) $ECHO_C" >&6
31854 +else
31855 + eval "$as_ac_Header=\$ac_header_preproc"
31856 +fi
31857 +ac_res=`eval echo '${'$as_ac_Header'}'`
31858 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31859 +echo "${ECHO_T}$ac_res" >&6; }
31860 +
31861 +fi
31862 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
31863 + cat >>confdefs.h <<_ACEOF
31864 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31865 +_ACEOF
31866 +
31867 +fi
31868 +
31869 +done
31870 +
31871 +
31872 +for ac_header in IOKit/IOKitLib.h
31873 +do
31874 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31875 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31876 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
31877 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31878 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31879 + echo $ECHO_N "(cached) $ECHO_C" >&6
31880 +fi
31881 +ac_res=`eval echo '${'$as_ac_Header'}'`
31882 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31883 +echo "${ECHO_T}$ac_res" >&6; }
31884 +else
31885 + # Is the header compilable?
31886 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
31887 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31888 +cat >conftest.$ac_ext <<_ACEOF
31889 +/* confdefs.h. */
31890 +_ACEOF
31891 +cat confdefs.h >>conftest.$ac_ext
31892 +cat >>conftest.$ac_ext <<_ACEOF
31893 +/* end confdefs.h. */
31894 +$ac_includes_default
31895 +#include <$ac_header>
31896 +_ACEOF
31897 +rm -f conftest.$ac_objext
31898 +if { (ac_try="$ac_compile"
31899 +case "(($ac_try" in
31900 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31901 + *) ac_try_echo=$ac_try;;
31902 +esac
31903 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31904 + (eval "$ac_compile") 2>conftest.er1
31905 + ac_status=$?
31906 + grep -v '^ *+' conftest.er1 >conftest.err
31907 + rm -f conftest.er1
31908 + cat conftest.err >&5
31909 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 + (exit $ac_status); } && {
31911 + test -z "$ac_c_werror_flag" ||
31912 + test ! -s conftest.err
31913 + } && test -s conftest.$ac_objext; then
31914 + ac_header_compiler=yes
31915 +else
31916 + echo "$as_me: failed program was:" >&5
31917 +sed 's/^/| /' conftest.$ac_ext >&5
31918 +
31919 + ac_header_compiler=no
31920 +fi
31921 +
31922 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31923 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31924 +echo "${ECHO_T}$ac_header_compiler" >&6; }
31925 +
31926 +# Is the header present?
31927 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
31928 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31929 +cat >conftest.$ac_ext <<_ACEOF
31930 +/* confdefs.h. */
31931 +_ACEOF
31932 +cat confdefs.h >>conftest.$ac_ext
31933 +cat >>conftest.$ac_ext <<_ACEOF
31934 +/* end confdefs.h. */
31935 +#include <$ac_header>
31936 +_ACEOF
31937 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31938 +case "(($ac_try" in
31939 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31940 + *) ac_try_echo=$ac_try;;
31941 +esac
31942 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31943 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31944 + ac_status=$?
31945 + grep -v '^ *+' conftest.er1 >conftest.err
31946 + rm -f conftest.er1
31947 + cat conftest.err >&5
31948 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 + (exit $ac_status); } >/dev/null && {
31950 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31951 + test ! -s conftest.err
31952 + }; then
31953 + ac_header_preproc=yes
31954 +else
31955 + echo "$as_me: failed program was:" >&5
31956 +sed 's/^/| /' conftest.$ac_ext >&5
31957 +
31958 + ac_header_preproc=no
31959 +fi
31960 +
31961 +rm -f conftest.err conftest.$ac_ext
31962 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31963 +echo "${ECHO_T}$ac_header_preproc" >&6; }
31964 +
31965 +# So? What about this header?
31966 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31967 + yes:no: )
31968 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31969 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31970 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31971 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31972 + ac_header_preproc=yes
31973 + ;;
31974 + no:yes:* )
31975 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31976 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31977 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31978 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31979 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31980 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31981 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31982 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31983 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31984 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31985 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31986 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31987 +
31988 + ;;
31989 +esac
31990 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
31991 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31992 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31993 + echo $ECHO_N "(cached) $ECHO_C" >&6
31994 +else
31995 + eval "$as_ac_Header=\$ac_header_preproc"
31996 +fi
31997 +ac_res=`eval echo '${'$as_ac_Header'}'`
31998 + { echo "$as_me:$LINENO: result: $ac_res" >&5
31999 +echo "${ECHO_T}$ac_res" >&6; }
32000 +
32001 +fi
32002 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
32003 + cat >>confdefs.h <<_ACEOF
32004 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32005 +_ACEOF
32006 + { echo "$as_me:$LINENO: checking for main in -lIOKit" >&5
32007 +echo $ECHO_N "checking for main in -lIOKit... $ECHO_C" >&6; }
32008 +if test "${ac_cv_lib_IOKit_main+set}" = set; then
32009 + echo $ECHO_N "(cached) $ECHO_C" >&6
32010 +else
32011 + ac_check_lib_save_LIBS=$LIBS
32012 +LIBS="-lIOKit $LIBS"
32013 +cat >conftest.$ac_ext <<_ACEOF
32014 +/* confdefs.h. */
32015 +_ACEOF
32016 +cat confdefs.h >>conftest.$ac_ext
32017 +cat >>conftest.$ac_ext <<_ACEOF
32018 +/* end confdefs.h. */
32019 +
32020 +
32021 +int
32022 +main ()
32023 +{
32024 +return main ();
32025 + ;
32026 + return 0;
32027 +}
32028 +_ACEOF
32029 +rm -f conftest.$ac_objext conftest$ac_exeext
32030 +if { (ac_try="$ac_link"
32031 +case "(($ac_try" in
32032 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32033 + *) ac_try_echo=$ac_try;;
32034 +esac
32035 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32036 + (eval "$ac_link") 2>conftest.er1
32037 + ac_status=$?
32038 + grep -v '^ *+' conftest.er1 >conftest.err
32039 + rm -f conftest.er1
32040 + cat conftest.err >&5
32041 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 + (exit $ac_status); } && {
32043 + test -z "$ac_c_werror_flag" ||
32044 + test ! -s conftest.err
32045 + } && test -s conftest$ac_exeext &&
32046 + $as_test_x conftest$ac_exeext; then
32047 + ac_cv_lib_IOKit_main=yes
32048 +else
32049 + echo "$as_me: failed program was:" >&5
32050 +sed 's/^/| /' conftest.$ac_ext >&5
32051 +
32052 + ac_cv_lib_IOKit_main=no
32053 +fi
32054 +
32055 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32056 + conftest$ac_exeext conftest.$ac_ext
32057 +LIBS=$ac_check_lib_save_LIBS
32058 +fi
32059 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_IOKit_main" >&5
32060 +echo "${ECHO_T}$ac_cv_lib_IOKit_main" >&6; }
32061 +if test $ac_cv_lib_IOKit_main = yes; then
32062 +
32063 +cat >>confdefs.h <<\_ACEOF
32064 +#define HAVE_IOKIT_IOKITLIB_H 1
32065 +_ACEOF
32066 +
32067 + MP4FF_LIBS="-lIOKit"
32068 +
32069 +fi
32070 +
32071 +fi
32072 +
32073 +done
32074 +
32075 +
32076 +for ac_func in getpwuid
32077 +do
32078 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32079 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
32080 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32081 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32082 + echo $ECHO_N "(cached) $ECHO_C" >&6
32083 +else
32084 + cat >conftest.$ac_ext <<_ACEOF
32085 +/* confdefs.h. */
32086 +_ACEOF
32087 +cat confdefs.h >>conftest.$ac_ext
32088 +cat >>conftest.$ac_ext <<_ACEOF
32089 +/* end confdefs.h. */
32090 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32091 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
32092 +#define $ac_func innocuous_$ac_func
32093 +
32094 +/* System header to define __stub macros and hopefully few prototypes,
32095 + which can conflict with char $ac_func (); below.
32096 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32097 + <limits.h> exists even on freestanding compilers. */
32098 +
32099 +#ifdef __STDC__
32100 +# include <limits.h>
32101 +#else
32102 +# include <assert.h>
32103 +#endif
32104 +
32105 +#undef $ac_func
32106 +
32107 +/* Override any GCC internal prototype to avoid an error.
32108 + Use char because int might match the return type of a GCC
32109 + builtin and then its argument prototype would still apply. */
32110 +#ifdef __cplusplus
32111 +extern "C"
32112 +#endif
32113 +char $ac_func ();
32114 +/* The GNU C library defines this for functions which it implements
32115 + to always fail with ENOSYS. Some functions are actually named
32116 + something starting with __ and the normal name is an alias. */
32117 +#if defined __stub_$ac_func || defined __stub___$ac_func
32118 +choke me
32119 +#endif
32120 +
32121 +int
32122 +main ()
32123 +{
32124 +return $ac_func ();
32125 + ;
32126 + return 0;
32127 +}
32128 +_ACEOF
32129 +rm -f conftest.$ac_objext conftest$ac_exeext
32130 +if { (ac_try="$ac_link"
32131 +case "(($ac_try" in
32132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32133 + *) ac_try_echo=$ac_try;;
32134 +esac
32135 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32136 + (eval "$ac_link") 2>conftest.er1
32137 + ac_status=$?
32138 + grep -v '^ *+' conftest.er1 >conftest.err
32139 + rm -f conftest.er1
32140 + cat conftest.err >&5
32141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 + (exit $ac_status); } && {
32143 + test -z "$ac_c_werror_flag" ||
32144 + test ! -s conftest.err
32145 + } && test -s conftest$ac_exeext &&
32146 + $as_test_x conftest$ac_exeext; then
32147 + eval "$as_ac_var=yes"
32148 +else
32149 + echo "$as_me: failed program was:" >&5
32150 +sed 's/^/| /' conftest.$ac_ext >&5
32151 +
32152 + eval "$as_ac_var=no"
32153 +fi
32154 +
32155 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32156 + conftest$ac_exeext conftest.$ac_ext
32157 +fi
32158 +ac_res=`eval echo '${'$as_ac_var'}'`
32159 + { echo "$as_me:$LINENO: result: $ac_res" >&5
32160 +echo "${ECHO_T}$ac_res" >&6; }
32161 +if test `eval echo '${'$as_ac_var'}'` = yes; then
32162 + cat >>confdefs.h <<_ACEOF
32163 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32164 +_ACEOF
32165 +
32166 +fi
32167 +done
32168 +
32169 +
32170 +{ echo "$as_me:$LINENO: checking for inline" >&5
32171 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
32172 +if test "${ac_cv_c_inline+set}" = set; then
32173 + echo $ECHO_N "(cached) $ECHO_C" >&6
32174 +else
32175 + ac_cv_c_inline=no
32176 +for ac_kw in inline __inline__ __inline; do
32177 + cat >conftest.$ac_ext <<_ACEOF
32178 +/* confdefs.h. */
32179 +_ACEOF
32180 +cat confdefs.h >>conftest.$ac_ext
32181 +cat >>conftest.$ac_ext <<_ACEOF
32182 +/* end confdefs.h. */
32183 +#ifndef __cplusplus
32184 +typedef int foo_t;
32185 +static $ac_kw foo_t static_foo () {return 0; }
32186 +$ac_kw foo_t foo () {return 0; }
32187 +#endif
32188 +
32189 +_ACEOF
32190 +rm -f conftest.$ac_objext
32191 +if { (ac_try="$ac_compile"
32192 +case "(($ac_try" in
32193 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32194 + *) ac_try_echo=$ac_try;;
32195 +esac
32196 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32197 + (eval "$ac_compile") 2>conftest.er1
32198 + ac_status=$?
32199 + grep -v '^ *+' conftest.er1 >conftest.err
32200 + rm -f conftest.er1
32201 + cat conftest.err >&5
32202 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 + (exit $ac_status); } && {
32204 + test -z "$ac_c_werror_flag" ||
32205 + test ! -s conftest.err
32206 + } && test -s conftest.$ac_objext; then
32207 + ac_cv_c_inline=$ac_kw
32208 +else
32209 + echo "$as_me: failed program was:" >&5
32210 +sed 's/^/| /' conftest.$ac_ext >&5
32211 +
32212 +
32213 +fi
32214 +
32215 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32216 + test "$ac_cv_c_inline" != no && break
32217 +done
32218 +
32219 +fi
32220 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
32221 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
32222 +
32223 +
32224 +case $ac_cv_c_inline in
32225 + inline | yes) ;;
32226 + *)
32227 + case $ac_cv_c_inline in
32228 + no) ac_val=;;
32229 + *) ac_val=$ac_cv_c_inline;;
32230 + esac
32231 + cat >>confdefs.h <<_ACEOF
32232 +#ifndef __cplusplus
32233 +#define inline $ac_val
32234 +#endif
32235 +_ACEOF
32236 + ;;
32237 +esac
32238 +
32239 +{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32240 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
32241 +if test "${ac_cv_c_bigendian+set}" = set; then
32242 + echo $ECHO_N "(cached) $ECHO_C" >&6
32243 +else
32244 + # See if sys/param.h defines the BYTE_ORDER macro.
32245 +cat >conftest.$ac_ext <<_ACEOF
32246 +/* confdefs.h. */
32247 +_ACEOF
32248 +cat confdefs.h >>conftest.$ac_ext
32249 +cat >>conftest.$ac_ext <<_ACEOF
32250 +/* end confdefs.h. */
32251 +#include <sys/types.h>
32252 +#include <sys/param.h>
32253 +
32254 +int
32255 +main ()
32256 +{
32257 +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
32258 + && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
32259 + bogus endian macros
32260 +#endif
32261 +
32262 + ;
32263 + return 0;
32264 +}
32265 +_ACEOF
32266 +rm -f conftest.$ac_objext
32267 +if { (ac_try="$ac_compile"
32268 +case "(($ac_try" in
32269 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32270 + *) ac_try_echo=$ac_try;;
32271 +esac
32272 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32273 + (eval "$ac_compile") 2>conftest.er1
32274 + ac_status=$?
32275 + grep -v '^ *+' conftest.er1 >conftest.err
32276 + rm -f conftest.er1
32277 + cat conftest.err >&5
32278 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 + (exit $ac_status); } && {
32280 + test -z "$ac_c_werror_flag" ||
32281 + test ! -s conftest.err
32282 + } && test -s conftest.$ac_objext; then
32283 + # It does; now see whether it defined to BIG_ENDIAN or not.
32284 +cat >conftest.$ac_ext <<_ACEOF
32285 +/* confdefs.h. */
32286 +_ACEOF
32287 +cat confdefs.h >>conftest.$ac_ext
32288 +cat >>conftest.$ac_ext <<_ACEOF
32289 +/* end confdefs.h. */
32290 +#include <sys/types.h>
32291 +#include <sys/param.h>
32292 +
32293 +int
32294 +main ()
32295 +{
32296 +#if BYTE_ORDER != BIG_ENDIAN
32297 + not big endian
32298 +#endif
32299 +
32300 + ;
32301 + return 0;
32302 +}
32303 +_ACEOF
32304 +rm -f conftest.$ac_objext
32305 +if { (ac_try="$ac_compile"
32306 +case "(($ac_try" in
32307 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32308 + *) ac_try_echo=$ac_try;;
32309 +esac
32310 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32311 + (eval "$ac_compile") 2>conftest.er1
32312 + ac_status=$?
32313 + grep -v '^ *+' conftest.er1 >conftest.err
32314 + rm -f conftest.er1
32315 + cat conftest.err >&5
32316 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32317 + (exit $ac_status); } && {
32318 + test -z "$ac_c_werror_flag" ||
32319 + test ! -s conftest.err
32320 + } && test -s conftest.$ac_objext; then
32321 + ac_cv_c_bigendian=yes
32322 +else
32323 + echo "$as_me: failed program was:" >&5
32324 +sed 's/^/| /' conftest.$ac_ext >&5
32325 +
32326 + ac_cv_c_bigendian=no
32327 +fi
32328 +
32329 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32330 +else
32331 + echo "$as_me: failed program was:" >&5
32332 +sed 's/^/| /' conftest.$ac_ext >&5
32333 +
32334 + # It does not; compile a test program.
32335 +if test "$cross_compiling" = yes; then
32336 + # try to guess the endianness by grepping values into an object file
32337 + ac_cv_c_bigendian=unknown
32338 + cat >conftest.$ac_ext <<_ACEOF
32339 +/* confdefs.h. */
32340 +_ACEOF
32341 +cat confdefs.h >>conftest.$ac_ext
32342 +cat >>conftest.$ac_ext <<_ACEOF
32343 +/* end confdefs.h. */
32344 +short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
32345 +short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
32346 +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
32347 +short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
32348 +short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
32349 +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
32350 +int
32351 +main ()
32352 +{
32353 + _ascii (); _ebcdic ();
32354 + ;
32355 + return 0;
32356 +}
32357 +_ACEOF
32358 +rm -f conftest.$ac_objext
32359 +if { (ac_try="$ac_compile"
32360 +case "(($ac_try" in
32361 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32362 + *) ac_try_echo=$ac_try;;
32363 +esac
32364 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32365 + (eval "$ac_compile") 2>conftest.er1
32366 + ac_status=$?
32367 + grep -v '^ *+' conftest.er1 >conftest.err
32368 + rm -f conftest.er1
32369 + cat conftest.err >&5
32370 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 + (exit $ac_status); } && {
32372 + test -z "$ac_c_werror_flag" ||
32373 + test ! -s conftest.err
32374 + } && test -s conftest.$ac_objext; then
32375 + if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
32376 + ac_cv_c_bigendian=yes
32377 +fi
32378 +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
32379 + if test "$ac_cv_c_bigendian" = unknown; then
32380 + ac_cv_c_bigendian=no
32381 + else
32382 + # finding both strings is unlikely to happen, but who knows?
32383 + ac_cv_c_bigendian=unknown
32384 + fi
32385 +fi
32386 +else
32387 + echo "$as_me: failed program was:" >&5
32388 +sed 's/^/| /' conftest.$ac_ext >&5
32389 +
32390 +
32391 +fi
32392 +
32393 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32394 +else
32395 + cat >conftest.$ac_ext <<_ACEOF
32396 +/* confdefs.h. */
32397 +_ACEOF
32398 +cat confdefs.h >>conftest.$ac_ext
32399 +cat >>conftest.$ac_ext <<_ACEOF
32400 +/* end confdefs.h. */
32401 +$ac_includes_default
32402 +int
32403 +main ()
32404 +{
32405 +
32406 + /* Are we little or big endian? From Harbison&Steele. */
32407 + union
32408 + {
32409 + long int l;
32410 + char c[sizeof (long int)];
32411 + } u;
32412 + u.l = 1;
32413 + return u.c[sizeof (long int) - 1] == 1;
32414 +
32415 + ;
32416 + return 0;
32417 +}
32418 +_ACEOF
32419 +rm -f conftest$ac_exeext
32420 +if { (ac_try="$ac_link"
32421 +case "(($ac_try" in
32422 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32423 + *) ac_try_echo=$ac_try;;
32424 +esac
32425 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32426 + (eval "$ac_link") 2>&5
32427 + ac_status=$?
32428 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32430 + { (case "(($ac_try" in
32431 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32432 + *) ac_try_echo=$ac_try;;
32433 +esac
32434 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32435 + (eval "$ac_try") 2>&5
32436 + ac_status=$?
32437 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 + (exit $ac_status); }; }; then
32439 + ac_cv_c_bigendian=no
32440 +else
32441 + echo "$as_me: program exited with status $ac_status" >&5
32442 +echo "$as_me: failed program was:" >&5
32443 +sed 's/^/| /' conftest.$ac_ext >&5
32444 +
32445 +( exit $ac_status )
32446 +ac_cv_c_bigendian=yes
32447 +fi
32448 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32449 +fi
32450 +
32451 +
32452 +fi
32453 +
32454 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32455 +fi
32456 +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
32457 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
32458 +case $ac_cv_c_bigendian in
32459 + yes)
32460 +
32461 +cat >>confdefs.h <<\_ACEOF
32462 +#define WORDS_BIGENDIAN 1
32463 +_ACEOF
32464 + ;;
32465 + no)
32466 + ;;
32467 + *)
32468 + { { echo "$as_me:$LINENO: error: unknown endianness
32469 +presetting ac_cv_c_bigendian=no (or yes) will help" >&5
32470 +echo "$as_me: error: unknown endianness
32471 +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
32472 + { (exit 1); exit 1; }; } ;;
32473 +esac
32474 +
32475 +
32476 +{ echo "$as_me:$LINENO: checking for off_t" >&5
32477 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
32478 +if test "${ac_cv_type_off_t+set}" = set; then
32479 + echo $ECHO_N "(cached) $ECHO_C" >&6
32480 +else
32481 + cat >conftest.$ac_ext <<_ACEOF
32482 +/* confdefs.h. */
32483 +_ACEOF
32484 +cat confdefs.h >>conftest.$ac_ext
32485 +cat >>conftest.$ac_ext <<_ACEOF
32486 +/* end confdefs.h. */
32487 +$ac_includes_default
32488 +typedef off_t ac__type_new_;
32489 +int
32490 +main ()
32491 +{
32492 +if ((ac__type_new_ *) 0)
32493 + return 0;
32494 +if (sizeof (ac__type_new_))
32495 + return 0;
32496 + ;
32497 + return 0;
32498 +}
32499 +_ACEOF
32500 +rm -f conftest.$ac_objext
32501 +if { (ac_try="$ac_compile"
32502 +case "(($ac_try" in
32503 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32504 + *) ac_try_echo=$ac_try;;
32505 +esac
32506 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32507 + (eval "$ac_compile") 2>conftest.er1
32508 + ac_status=$?
32509 + grep -v '^ *+' conftest.er1 >conftest.err
32510 + rm -f conftest.er1
32511 + cat conftest.err >&5
32512 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 + (exit $ac_status); } && {
32514 + test -z "$ac_c_werror_flag" ||
32515 + test ! -s conftest.err
32516 + } && test -s conftest.$ac_objext; then
32517 + ac_cv_type_off_t=yes
32518 +else
32519 + echo "$as_me: failed program was:" >&5
32520 +sed 's/^/| /' conftest.$ac_ext >&5
32521 +
32522 + ac_cv_type_off_t=no
32523 +fi
32524 +
32525 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32526 +fi
32527 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32528 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
32529 +if test $ac_cv_type_off_t = yes; then
32530 + :
32531 +else
32532 +
32533 +cat >>confdefs.h <<_ACEOF
32534 +#define off_t long int
32535 +_ACEOF
32536 +
32537 +fi
32538 +
32539 +
32540 +
32541 +
32542 +# AC_C99_FUNC_LRINTF
32543 +{ echo "$as_me:$LINENO: checking for lrintf" >&5
32544 +echo $ECHO_N "checking for lrintf... $ECHO_C" >&6; }
32545 +if test "${ac_cv_c99_lrintf+set}" = set; then
32546 + echo $ECHO_N "(cached) $ECHO_C" >&6
32547 +else
32548 +
32549 +lrintf_save_CFLAGS=$CFLAGS
32550 +CFLAGS="-O -lm"
32551 +cat >conftest.$ac_ext <<_ACEOF
32552 +/* confdefs.h. */
32553 +_ACEOF
32554 +cat confdefs.h >>conftest.$ac_ext
32555 +cat >>conftest.$ac_ext <<_ACEOF
32556 +/* end confdefs.h. */
32557 +
32558 +#define _ISOC9X_SOURCE 1
32559 +#define _ISOC99_SOURCE 1
32560 +#define __USE_ISOC99 1
32561 +#define __USE_ISOC9X 1
32562 +
32563 +#include <math.h>
32564 +
32565 +int
32566 +main ()
32567 +{
32568 +if (!lrintf(3.14159)) lrintf(2.7183);
32569 + ;
32570 + return 0;
32571 +}
32572 +_ACEOF
32573 +rm -f conftest.$ac_objext conftest$ac_exeext
32574 +if { (ac_try="$ac_link"
32575 +case "(($ac_try" in
32576 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32577 + *) ac_try_echo=$ac_try;;
32578 +esac
32579 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32580 + (eval "$ac_link") 2>conftest.er1
32581 + ac_status=$?
32582 + grep -v '^ *+' conftest.er1 >conftest.err
32583 + rm -f conftest.er1
32584 + cat conftest.err >&5
32585 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 + (exit $ac_status); } && {
32587 + test -z "$ac_c_werror_flag" ||
32588 + test ! -s conftest.err
32589 + } && test -s conftest$ac_exeext &&
32590 + $as_test_x conftest$ac_exeext; then
32591 + ac_cv_c99_lrintf=yes
32592 +else
32593 + echo "$as_me: failed program was:" >&5
32594 +sed 's/^/| /' conftest.$ac_ext >&5
32595 +
32596 + ac_cv_c99_lrintf=no
32597 +fi
32598 +
32599 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32600 + conftest$ac_exeext conftest.$ac_ext
32601 +
32602 +CFLAGS=$lrintf_save_CFLAGS
32603 +
32604 +
32605 +fi
32606 +{ echo "$as_me:$LINENO: result: $ac_cv_c99_lrintf" >&5
32607 +echo "${ECHO_T}$ac_cv_c99_lrintf" >&6; }
32608 +
32609 +if test "$ac_cv_c99_lrintf" = yes; then
32610 +
32611 +cat >>confdefs.h <<\_ACEOF
32612 +#define HAVE_LRINTF 1
32613 +_ACEOF
32614 +
32615 +fi
32616 +
32617 +
32618 +
32619 + { echo "$as_me:$LINENO: checking for float32_t temp" >&5
32620 +echo $ECHO_N "checking for float32_t temp... $ECHO_C" >&6; }
32621 + cat >conftest.$ac_ext <<_ACEOF
32622 +/* confdefs.h. */
32623 +_ACEOF
32624 +cat confdefs.h >>conftest.$ac_ext
32625 +cat >>conftest.$ac_ext <<_ACEOF
32626 +/* end confdefs.h. */
32627 +#include <sys/types.h>,
32628 + #include <sys/float.h>
32629 +int
32630 +main ()
32631 +{
32632 +float32_t temp;
32633 + ;
32634 + return 0;
32635 +}
32636 +_ACEOF
32637 +rm -f conftest.$ac_objext
32638 +if { (ac_try="$ac_compile"
32639 +case "(($ac_try" in
32640 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32641 + *) ac_try_echo=$ac_try;;
32642 +esac
32643 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32644 + (eval "$ac_compile") 2>conftest.er1
32645 + ac_status=$?
32646 + grep -v '^ *+' conftest.er1 >conftest.err
32647 + rm -f conftest.er1
32648 + cat conftest.err >&5
32649 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 + (exit $ac_status); } && {
32651 + test -z "$ac_c_werror_flag" ||
32652 + test ! -s conftest.err
32653 + } && test -s conftest.$ac_objext; then
32654 + libfaad_ok=yes
32655 +else
32656 + echo "$as_me: failed program was:" >&5
32657 +sed 's/^/| /' conftest.$ac_ext >&5
32658 +
32659 + libfaad_ok=no
32660 +fi
32661 +
32662 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32663 + if test $libfaad_ok = yes; then
32664 +
32665 +cat >>confdefs.h <<\_ACEOF
32666 +#define HAVE_FLOAT32_T 1
32667 +_ACEOF
32668 +
32669 + { echo "$as_me:$LINENO: result: yes" >&5
32670 +echo "${ECHO_T}yes" >&6; }
32671 + else
32672 + { echo "$as_me:$LINENO: result: no" >&5
32673 +echo "${ECHO_T}no" >&6; }
32674 +fi
32675 +
32676 +
32677 +
32678 +for ac_func in strsep
32679 +do
32680 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32681 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
32682 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32683 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32684 + echo $ECHO_N "(cached) $ECHO_C" >&6
32685 +else
32686 + cat >conftest.$ac_ext <<_ACEOF
32687 +/* confdefs.h. */
32688 +_ACEOF
32689 +cat confdefs.h >>conftest.$ac_ext
32690 +cat >>conftest.$ac_ext <<_ACEOF
32691 +/* end confdefs.h. */
32692 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32693 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
32694 +#define $ac_func innocuous_$ac_func
32695 +
32696 +/* System header to define __stub macros and hopefully few prototypes,
32697 + which can conflict with char $ac_func (); below.
32698 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32699 + <limits.h> exists even on freestanding compilers. */
32700 +
32701 +#ifdef __STDC__
32702 +# include <limits.h>
32703 +#else
32704 +# include <assert.h>
32705 +#endif
32706 +
32707 +#undef $ac_func
32708 +
32709 +/* Override any GCC internal prototype to avoid an error.
32710 + Use char because int might match the return type of a GCC
32711 + builtin and then its argument prototype would still apply. */
32712 +#ifdef __cplusplus
32713 +extern "C"
32714 +#endif
32715 +char $ac_func ();
32716 +/* The GNU C library defines this for functions which it implements
32717 + to always fail with ENOSYS. Some functions are actually named
32718 + something starting with __ and the normal name is an alias. */
32719 +#if defined __stub_$ac_func || defined __stub___$ac_func
32720 +choke me
32721 +#endif
32722 +
32723 +int
32724 +main ()
32725 +{
32726 +return $ac_func ();
32727 + ;
32728 + return 0;
32729 +}
32730 +_ACEOF
32731 +rm -f conftest.$ac_objext conftest$ac_exeext
32732 +if { (ac_try="$ac_link"
32733 +case "(($ac_try" in
32734 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32735 + *) ac_try_echo=$ac_try;;
32736 +esac
32737 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 + (eval "$ac_link") 2>conftest.er1
32739 + ac_status=$?
32740 + grep -v '^ *+' conftest.er1 >conftest.err
32741 + rm -f conftest.er1
32742 + cat conftest.err >&5
32743 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 + (exit $ac_status); } && {
32745 + test -z "$ac_c_werror_flag" ||
32746 + test ! -s conftest.err
32747 + } && test -s conftest$ac_exeext &&
32748 + $as_test_x conftest$ac_exeext; then
32749 + eval "$as_ac_var=yes"
32750 +else
32751 + echo "$as_me: failed program was:" >&5
32752 +sed 's/^/| /' conftest.$ac_ext >&5
32753 +
32754 + eval "$as_ac_var=no"
32755 +fi
32756 +
32757 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32758 + conftest$ac_exeext conftest.$ac_ext
32759 +fi
32760 +ac_res=`eval echo '${'$as_ac_var'}'`
32761 + { echo "$as_me:$LINENO: result: $ac_res" >&5
32762 +echo "${ECHO_T}$ac_res" >&6; }
32763 +if test `eval echo '${'$as_ac_var'}'` = yes; then
32764 + cat >>confdefs.h <<_ACEOF
32765 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32766 +_ACEOF
32767 +
32768 +fi
32769 +done
32770 +
32771 +
32772 +# Extract the first word of "mpeg4ip-config", so it can be a program name with args.
32773 +set dummy mpeg4ip-config; ac_word=$2
32774 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
32775 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32776 +if test "${ac_cv_prog_external_mp4v2+set}" = set; then
32777 + echo $ECHO_N "(cached) $ECHO_C" >&6
32778 +else
32779 + if test -n "$external_mp4v2"; then
32780 + ac_cv_prog_external_mp4v2="$external_mp4v2" # Let the user override the test.
32781 +else
32782 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32783 +for as_dir in $PATH
32784 +do
32785 + IFS=$as_save_IFS
32786 + test -z "$as_dir" && as_dir=.
32787 + for ac_exec_ext in '' $ac_executable_extensions; do
32788 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32789 + ac_cv_prog_external_mp4v2="yes"
32790 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32791 + break 2
32792 + fi
32793 +done
32794 +done
32795 +IFS=$as_save_IFS
32796 +
32797 + test -z "$ac_cv_prog_external_mp4v2" && ac_cv_prog_external_mp4v2="no"
32798 +fi
32799 +fi
32800 +external_mp4v2=$ac_cv_prog_external_mp4v2
32801 +if test -n "$external_mp4v2"; then
32802 + { echo "$as_me:$LINENO: result: $external_mp4v2" >&5
32803 +echo "${ECHO_T}$external_mp4v2" >&6; }
32804 +else
32805 + { echo "$as_me:$LINENO: result: no" >&5
32806 +echo "${ECHO_T}no" >&6; }
32807 +fi
32808 +
32809 +
32810 +
32811 +
32812 +if false; then
32813 + HAVE_MPEG4IP_PLUG_TRUE=
32814 + HAVE_MPEG4IP_PLUG_FALSE='#'
32815 +else
32816 + HAVE_MPEG4IP_PLUG_TRUE='#'
32817 + HAVE_MPEG4IP_PLUG_FALSE=
32818 +fi
32819 +
32820 +if test x$WITHMPEG4IP = xyes; then
32821 + if test x$external_mp4v2 = xyes; then
32822 +
32823 +
32824 +if true; then
32825 + HAVE_MPEG4IP_PLUG_TRUE=
32826 + HAVE_MPEG4IP_PLUG_FALSE='#'
32827 +else
32828 + HAVE_MPEG4IP_PLUG_TRUE='#'
32829 + HAVE_MPEG4IP_PLUG_FALSE=
32830 +fi
32831 +
32832 + { echo "$as_me:$LINENO: \"Building MPEG4IP plugin\"" >&5
32833 +echo "$as_me: \"Building MPEG4IP plugin\"" >&6;}
32834 + else
32835 + { echo "$as_me:$LINENO: \"MPEG4IP libmp4v2 is required for MPEG4IP plugin\"" >&5
32836 +echo "$as_me: \"MPEG4IP libmp4v2 is required for MPEG4IP plugin\"" >&6;}
32837 + fi
32838 +fi
32839 +
32840 +if test x$WITHXMMS = xyes; then
32841 +
32842 +
32843 +# Check whether --with-xmms-prefix was given.
32844 +if test "${with_xmms_prefix+set}" = set; then
32845 + withval=$with_xmms_prefix; xmms_config_prefix="$withval"
32846 +else
32847 + xmms_config_prefix=""
32848 +fi
32849 +
32850 +
32851 +# Check whether --with-xmms-exec-prefix was given.
32852 +if test "${with_xmms_exec_prefix+set}" = set; then
32853 + withval=$with_xmms_exec_prefix; xmms_config_exec_prefix="$withval"
32854 +else
32855 + xmms_config_exec_prefix=""
32856 +fi
32857 +
32858 +
32859 +if test x$xmms_config_exec_prefix != x; then
32860 + xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
32861 + if test x${XMMS_CONFIG+set} != xset; then
32862 + XMMS_CONFIG=$xmms_config_exec_prefix/bin/xmms-config
32863 + fi
32864 +fi
32865 +
32866 +if test x$xmms_config_prefix != x; then
32867 + xmms_config_args="$xmms_config_args --prefix=$xmms_config_prefix"
32868 + if test x${XMMS_CONFIG+set} != xset; then
32869 + XMMS_CONFIG=$xmms_config_prefix/bin/xmms-config
32870 + fi
32871 +fi
32872 +
32873 +# Extract the first word of "xmms-config", so it can be a program name with args.
32874 +set dummy xmms-config; ac_word=$2
32875 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
32876 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32877 +if test "${ac_cv_path_XMMS_CONFIG+set}" = set; then
32878 + echo $ECHO_N "(cached) $ECHO_C" >&6
32879 +else
32880 + case $XMMS_CONFIG in
32881 + [\\/]* | ?:[\\/]*)
32882 + ac_cv_path_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test with a path.
32883 + ;;
32884 + *)
32885 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32886 +for as_dir in $PATH
32887 +do
32888 + IFS=$as_save_IFS
32889 + test -z "$as_dir" && as_dir=.
32890 + for ac_exec_ext in '' $ac_executable_extensions; do
32891 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32892 + ac_cv_path_XMMS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32893 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32894 + break 2
32895 + fi
32896 +done
32897 +done
32898 +IFS=$as_save_IFS
32899 +
32900 + test -z "$ac_cv_path_XMMS_CONFIG" && ac_cv_path_XMMS_CONFIG="no"
32901 + ;;
32902 +esac
32903 +fi
32904 +XMMS_CONFIG=$ac_cv_path_XMMS_CONFIG
32905 +if test -n "$XMMS_CONFIG"; then
32906 + { echo "$as_me:$LINENO: result: $XMMS_CONFIG" >&5
32907 +echo "${ECHO_T}$XMMS_CONFIG" >&6; }
32908 +else
32909 + { echo "$as_me:$LINENO: result: no" >&5
32910 +echo "${ECHO_T}no" >&6; }
32911 +fi
32912 +
32913 +
32914 +min_xmms_version=0.9.5.1
32915 +
32916 +if test "$XMMS_CONFIG" = "no"; then
32917 + no_xmms=yes
32918 +else
32919 + XMMS_CFLAGS=`$XMMS_CONFIG $xmms_config_args --cflags`
32920 + XMMS_LIBS=`$XMMS_CONFIG $xmms_config_args --libs`
32921 + XMMS_VERSION=`$XMMS_CONFIG $xmms_config_args --version`
32922 + XMMS_DATA_DIR=`$XMMS_CONFIG $xmms_config_args --data-dir`
32923 + XMMS_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --plugin-dir`
32924 + XMMS_VISUALIZATION_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args \
32925 + --visualization-plugin-dir`
32926 + XMMS_INPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --input-plugin-dir`
32927 + XMMS_OUTPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --output-plugin-dir`
32928 + XMMS_EFFECT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
32929 + XMMS_GENERAL_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
32930 +
32931 +
32932 +
32933 +# Determine which version number is greater. Prints 2 to stdout if
32934 +# the second number is greater, 1 if the first number is greater,
32935 +# 0 if the numbers are equal.
32936 +
32937 +# Written 15 December 1999 by Ben Gertzfield <che@debian.org>
32938 +# Revised 15 December 1999 by Jim Monty <monty@primenet.com>
32939 +
32940 + for ac_prog in gawk mawk nawk awk
32941 +do
32942 + # Extract the first word of "$ac_prog", so it can be a program name with args.
32943 +set dummy $ac_prog; ac_word=$2
32944 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
32945 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32946 +if test "${ac_cv_prog_AWK+set}" = set; then
32947 + echo $ECHO_N "(cached) $ECHO_C" >&6
32948 +else
32949 + if test -n "$AWK"; then
32950 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
32951 +else
32952 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32953 +for as_dir in $PATH
32954 +do
32955 + IFS=$as_save_IFS
32956 + test -z "$as_dir" && as_dir=.
32957 + for ac_exec_ext in '' $ac_executable_extensions; do
32958 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32959 + ac_cv_prog_AWK="$ac_prog"
32960 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32961 + break 2
32962 + fi
32963 +done
32964 +done
32965 +IFS=$as_save_IFS
32966 +
32967 +fi
32968 +fi
32969 +AWK=$ac_cv_prog_AWK
32970 +if test -n "$AWK"; then
32971 + { echo "$as_me:$LINENO: result: $AWK" >&5
32972 +echo "${ECHO_T}$AWK" >&6; }
32973 +else
32974 + { echo "$as_me:$LINENO: result: no" >&5
32975 +echo "${ECHO_T}no" >&6; }
32976 +fi
32977 +
32978 +
32979 + test -n "$AWK" && break
32980 +done
32981 +
32982 + xmms_got_version=` $AWK ' \
32983 +BEGIN { \
32984 + print vercmp(ARGV[1], ARGV[2]); \
32985 +} \
32986 + \
32987 +function vercmp(ver1, ver2, ver1arr, ver2arr, \
32988 + ver1len, ver2len, \
32989 + ver1int, ver2int, len, i, p) { \
32990 + \
32991 + ver1len = split(ver1, ver1arr, /\./); \
32992 + ver2len = split(ver2, ver2arr, /\./); \
32993 + \
32994 + len = ver1len > ver2len ? ver1len : ver2len; \
32995 + \
32996 + for (i = 1; i <= len; i++) { \
32997 + p = 1000 ^ (len - i); \
32998 + ver1int += ver1arr[i] * p; \
32999 + ver2int += ver2arr[i] * p; \
33000 + } \
33001 + \
33002 + if (ver1int < ver2int) \
33003 + return 2; \
33004 + else if (ver1int > ver2int) \
33005 + return 1; \
33006 + else \
33007 + return 0; \
33008 +}' $XMMS_VERSION $min_xmms_version`
33009 +
33010 + if test $xmms_got_version -eq 2; then # failure
33011 + no_xmms=version
33012 + else # success!
33013 + :
33014 + fi
33015 +
33016 +fi
33017 +
33018 +{ echo "$as_me:$LINENO: checking for XMMS - version >= $min_xmms_version" >&5
33019 +echo $ECHO_N "checking for XMMS - version >= $min_xmms_version... $ECHO_C" >&6; }
33020 +
33021 +if test "x$no_xmms" = x; then
33022 + { echo "$as_me:$LINENO: result: yes" >&5
33023 +echo "${ECHO_T}yes" >&6; }
33024 + :
33025 +else
33026 + { echo "$as_me:$LINENO: result: no" >&5
33027 +echo "${ECHO_T}no" >&6; }
33028 +
33029 + if test "$XMMS_CONFIG" = "no" ; then
33030 + echo "*** The xmms-config script installed by XMMS could not be found."
33031 + echo "*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in"
33032 + echo "*** your path, or set the XMMS_CONFIG environment variable to the"
33033 + echo "*** full path to xmms-config."
33034 + else
33035 + if test "$no_xmms" = "version"; then
33036 + echo "*** An old version of XMMS, $XMMS_VERSION, was found."
33037 + echo "*** You need a version of XMMS newer than $min_xmms_version."
33038 + echo "*** The latest version of XMMS is always available from"
33039 + echo "*** http://www.xmms.org/"
33040 + echo "***"
33041 +
33042 + echo "*** If you have already installed a sufficiently new version, this error"
33043 + echo "*** probably means that the wrong copy of the xmms-config shell script is"
33044 + echo "*** being found. The easiest way to fix this is to remove the old version"
33045 + echo "*** of XMMS, but you can also set the XMMS_CONFIG environment to point to the"
33046 + echo "*** correct copy of xmms-config. (In this case, you will have to"
33047 + echo "*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf"
33048 + echo "*** so that the correct libraries are found at run-time)"
33049 + fi
33050 + fi
33051 + XMMS_CFLAGS=""
33052 + XMMS_LIBS=""
33053 + :
33054 +fi
33055 +
33056 +
33057 +
33058 +
33059 +
33060 +
33061 +
33062 +
33063 +
33064 +
33065 +
33066 + if test "${ac_cv_header_pthread_h+set}" = set; then
33067 + { echo "$as_me:$LINENO: checking for pthread.h" >&5
33068 +echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
33069 +if test "${ac_cv_header_pthread_h+set}" = set; then
33070 + echo $ECHO_N "(cached) $ECHO_C" >&6
33071 +fi
33072 +{ echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
33073 +echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
33074 +else
33075 + # Is the header compilable?
33076 +{ echo "$as_me:$LINENO: checking pthread.h usability" >&5
33077 +echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
33078 +cat >conftest.$ac_ext <<_ACEOF
33079 +/* confdefs.h. */
33080 +_ACEOF
33081 +cat confdefs.h >>conftest.$ac_ext
33082 +cat >>conftest.$ac_ext <<_ACEOF
33083 +/* end confdefs.h. */
33084 +$ac_includes_default
33085 +#include <pthread.h>
33086 +_ACEOF
33087 +rm -f conftest.$ac_objext
33088 +if { (ac_try="$ac_compile"
33089 +case "(($ac_try" in
33090 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33091 + *) ac_try_echo=$ac_try;;
33092 +esac
33093 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33094 + (eval "$ac_compile") 2>conftest.er1
33095 + ac_status=$?
33096 + grep -v '^ *+' conftest.er1 >conftest.err
33097 + rm -f conftest.er1
33098 + cat conftest.err >&5
33099 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 + (exit $ac_status); } && {
33101 + test -z "$ac_c_werror_flag" ||
33102 + test ! -s conftest.err
33103 + } && test -s conftest.$ac_objext; then
33104 + ac_header_compiler=yes
33105 +else
33106 + echo "$as_me: failed program was:" >&5
33107 +sed 's/^/| /' conftest.$ac_ext >&5
33108 +
33109 + ac_header_compiler=no
33110 +fi
33111 +
33112 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33114 +echo "${ECHO_T}$ac_header_compiler" >&6; }
33115 +
33116 +# Is the header present?
33117 +{ echo "$as_me:$LINENO: checking pthread.h presence" >&5
33118 +echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
33119 +cat >conftest.$ac_ext <<_ACEOF
33120 +/* confdefs.h. */
33121 +_ACEOF
33122 +cat confdefs.h >>conftest.$ac_ext
33123 +cat >>conftest.$ac_ext <<_ACEOF
33124 +/* end confdefs.h. */
33125 +#include <pthread.h>
33126 +_ACEOF
33127 +if { (ac_try="$ac_cpp conftest.$ac_ext"
33128 +case "(($ac_try" in
33129 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33130 + *) ac_try_echo=$ac_try;;
33131 +esac
33132 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33133 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33134 + ac_status=$?
33135 + grep -v '^ *+' conftest.er1 >conftest.err
33136 + rm -f conftest.er1
33137 + cat conftest.err >&5
33138 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 + (exit $ac_status); } >/dev/null && {
33140 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33141 + test ! -s conftest.err
33142 + }; then
33143 + ac_header_preproc=yes
33144 +else
33145 + echo "$as_me: failed program was:" >&5
33146 +sed 's/^/| /' conftest.$ac_ext >&5
33147 +
33148 + ac_header_preproc=no
33149 +fi
33150 +
33151 +rm -f conftest.err conftest.$ac_ext
33152 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33153 +echo "${ECHO_T}$ac_header_preproc" >&6; }
33154 +
33155 +# So? What about this header?
33156 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33157 + yes:no: )
33158 + { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
33159 +echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33160 + { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
33161 +echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
33162 + ac_header_preproc=yes
33163 + ;;
33164 + no:yes:* )
33165 + { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
33166 +echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
33167 + { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
33168 +echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
33169 + { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
33170 +echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
33171 + { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
33172 +echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
33173 + { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
33174 +echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
33175 + { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
33176 +echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
33177 +
33178 + ;;
33179 +esac
33180 +{ echo "$as_me:$LINENO: checking for pthread.h" >&5
33181 +echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
33182 +if test "${ac_cv_header_pthread_h+set}" = set; then
33183 + echo $ECHO_N "(cached) $ECHO_C" >&6
33184 +else
33185 + ac_cv_header_pthread_h=$ac_header_preproc
33186 +fi
33187 +{ echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
33188 +echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
33189 +
33190 +fi
33191 +if test $ac_cv_header_pthread_h = yes; then
33192 + :
33193 +else
33194 + { { echo "$as_me:$LINENO: error: *** pthread headers support not installed or not found" >&5
33195 +echo "$as_me: error: *** pthread headers support not installed or not found" >&2;}
33196 + { (exit 1); exit 1; }; }
33197 +fi
33198 +
33199 +
33200 + if test "${ac_cv_header_id3_h+set}" = set; then
33201 + { echo "$as_me:$LINENO: checking for id3.h" >&5
33202 +echo $ECHO_N "checking for id3.h... $ECHO_C" >&6; }
33203 +if test "${ac_cv_header_id3_h+set}" = set; then
33204 + echo $ECHO_N "(cached) $ECHO_C" >&6
33205 +fi
33206 +{ echo "$as_me:$LINENO: result: $ac_cv_header_id3_h" >&5
33207 +echo "${ECHO_T}$ac_cv_header_id3_h" >&6; }
33208 +else
33209 + # Is the header compilable?
33210 +{ echo "$as_me:$LINENO: checking id3.h usability" >&5
33211 +echo $ECHO_N "checking id3.h usability... $ECHO_C" >&6; }
33212 +cat >conftest.$ac_ext <<_ACEOF
33213 +/* confdefs.h. */
33214 +_ACEOF
33215 +cat confdefs.h >>conftest.$ac_ext
33216 +cat >>conftest.$ac_ext <<_ACEOF
33217 +/* end confdefs.h. */
33218 +$ac_includes_default
33219 +#include <id3.h>
33220 +_ACEOF
33221 +rm -f conftest.$ac_objext
33222 +if { (ac_try="$ac_compile"
33223 +case "(($ac_try" in
33224 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33225 + *) ac_try_echo=$ac_try;;
33226 +esac
33227 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33228 + (eval "$ac_compile") 2>conftest.er1
33229 + ac_status=$?
33230 + grep -v '^ *+' conftest.er1 >conftest.err
33231 + rm -f conftest.er1
33232 + cat conftest.err >&5
33233 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 + (exit $ac_status); } && {
33235 + test -z "$ac_c_werror_flag" ||
33236 + test ! -s conftest.err
33237 + } && test -s conftest.$ac_objext; then
33238 + ac_header_compiler=yes
33239 +else
33240 + echo "$as_me: failed program was:" >&5
33241 +sed 's/^/| /' conftest.$ac_ext >&5
33242 +
33243 + ac_header_compiler=no
33244 +fi
33245 +
33246 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33247 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33248 +echo "${ECHO_T}$ac_header_compiler" >&6; }
33249 +
33250 +# Is the header present?
33251 +{ echo "$as_me:$LINENO: checking id3.h presence" >&5
33252 +echo $ECHO_N "checking id3.h presence... $ECHO_C" >&6; }
33253 +cat >conftest.$ac_ext <<_ACEOF
33254 +/* confdefs.h. */
33255 +_ACEOF
33256 +cat confdefs.h >>conftest.$ac_ext
33257 +cat >>conftest.$ac_ext <<_ACEOF
33258 +/* end confdefs.h. */
33259 +#include <id3.h>
33260 +_ACEOF
33261 +if { (ac_try="$ac_cpp conftest.$ac_ext"
33262 +case "(($ac_try" in
33263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33264 + *) ac_try_echo=$ac_try;;
33265 +esac
33266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33267 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33268 + ac_status=$?
33269 + grep -v '^ *+' conftest.er1 >conftest.err
33270 + rm -f conftest.er1
33271 + cat conftest.err >&5
33272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 + (exit $ac_status); } >/dev/null && {
33274 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33275 + test ! -s conftest.err
33276 + }; then
33277 + ac_header_preproc=yes
33278 +else
33279 + echo "$as_me: failed program was:" >&5
33280 +sed 's/^/| /' conftest.$ac_ext >&5
33281 +
33282 + ac_header_preproc=no
33283 +fi
33284 +
33285 +rm -f conftest.err conftest.$ac_ext
33286 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33287 +echo "${ECHO_T}$ac_header_preproc" >&6; }
33288 +
33289 +# So? What about this header?
33290 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33291 + yes:no: )
33292 + { echo "$as_me:$LINENO: WARNING: id3.h: accepted by the compiler, rejected by the preprocessor!" >&5
33293 +echo "$as_me: WARNING: id3.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33294 + { echo "$as_me:$LINENO: WARNING: id3.h: proceeding with the compiler's result" >&5
33295 +echo "$as_me: WARNING: id3.h: proceeding with the compiler's result" >&2;}
33296 + ac_header_preproc=yes
33297 + ;;
33298 + no:yes:* )
33299 + { echo "$as_me:$LINENO: WARNING: id3.h: present but cannot be compiled" >&5
33300 +echo "$as_me: WARNING: id3.h: present but cannot be compiled" >&2;}
33301 + { echo "$as_me:$LINENO: WARNING: id3.h: check for missing prerequisite headers?" >&5
33302 +echo "$as_me: WARNING: id3.h: check for missing prerequisite headers?" >&2;}
33303 + { echo "$as_me:$LINENO: WARNING: id3.h: see the Autoconf documentation" >&5
33304 +echo "$as_me: WARNING: id3.h: see the Autoconf documentation" >&2;}
33305 + { echo "$as_me:$LINENO: WARNING: id3.h: section \"Present But Cannot Be Compiled\"" >&5
33306 +echo "$as_me: WARNING: id3.h: section \"Present But Cannot Be Compiled\"" >&2;}
33307 + { echo "$as_me:$LINENO: WARNING: id3.h: proceeding with the preprocessor's result" >&5
33308 +echo "$as_me: WARNING: id3.h: proceeding with the preprocessor's result" >&2;}
33309 + { echo "$as_me:$LINENO: WARNING: id3.h: in the future, the compiler will take precedence" >&5
33310 +echo "$as_me: WARNING: id3.h: in the future, the compiler will take precedence" >&2;}
33311 +
33312 + ;;
33313 +esac
33314 +{ echo "$as_me:$LINENO: checking for id3.h" >&5
33315 +echo $ECHO_N "checking for id3.h... $ECHO_C" >&6; }
33316 +if test "${ac_cv_header_id3_h+set}" = set; then
33317 + echo $ECHO_N "(cached) $ECHO_C" >&6
33318 +else
33319 + ac_cv_header_id3_h=$ac_header_preproc
33320 +fi
33321 +{ echo "$as_me:$LINENO: result: $ac_cv_header_id3_h" >&5
33322 +echo "${ECHO_T}$ac_cv_header_id3_h" >&6; }
33323 +
33324 +fi
33325 +if test $ac_cv_header_id3_h = yes; then
33326 + :
33327 +else
33328 + { { echo "$as_me:$LINENO: error: *** id3lib headers support not installed or not found" >&5
33329 +echo "$as_me: error: *** id3lib headers support not installed or not found" >&2;}
33330 + { (exit 1); exit 1; }; }
33331 +fi
33332 +
33333 +
33334 + for ac_prog in gtk-config
33335 +do
33336 + # Extract the first word of "$ac_prog", so it can be a program name with args.
33337 +set dummy $ac_prog; ac_word=$2
33338 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
33339 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33340 +if test "${ac_cv_prog_GTK_CONFIG+set}" = set; then
33341 + echo $ECHO_N "(cached) $ECHO_C" >&6
33342 +else
33343 + if test -n "$GTK_CONFIG"; then
33344 + ac_cv_prog_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test.
33345 +else
33346 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33347 +for as_dir in $PATH
33348 +do
33349 + IFS=$as_save_IFS
33350 + test -z "$as_dir" && as_dir=.
33351 + for ac_exec_ext in '' $ac_executable_extensions; do
33352 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33353 + ac_cv_prog_GTK_CONFIG="$ac_prog"
33354 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33355 + break 2
33356 + fi
33357 +done
33358 +done
33359 +IFS=$as_save_IFS
33360 +
33361 +fi
33362 +fi
33363 +GTK_CONFIG=$ac_cv_prog_GTK_CONFIG
33364 +if test -n "$GTK_CONFIG"; then
33365 + { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
33366 +echo "${ECHO_T}$GTK_CONFIG" >&6; }
33367 +else
33368 + { echo "$as_me:$LINENO: result: no" >&5
33369 +echo "${ECHO_T}no" >&6; }
33370 +fi
33371 +
33372 +
33373 + test -n "$GTK_CONFIG" && break
33374 +done
33375 +test -n "$GTK_CONFIG" || GTK_CONFIG=""not_found""
33376 +
33377 + if test "$XGTK_CONFIG" = "not_found"; then
33378 + { { echo "$as_me:$LINENO: error: \"*** gtk-config not found - xmms plugin can't be build without\"" >&5
33379 +echo "$as_me: error: \"*** gtk-config not found - xmms plugin can't be build without\"" >&2;}
33380 + { (exit 1); exit 1; }; }
33381 + fi
33382 +
33383 +
33384 +
33385 +if true; then
33386 + HAVE_XMMS_TRUE=
33387 + HAVE_XMMS_FALSE='#'
33388 +else
33389 + HAVE_XMMS_TRUE='#'
33390 + HAVE_XMMS_FALSE=
33391 +fi
33392 +
33393 +else
33394 + { echo "$as_me:$LINENO: no xmms build configured" >&5
33395 +echo "$as_me: no xmms build configured" >&6;}
33396 +
33397 +
33398 +if false; then
33399 + HAVE_XMMS_TRUE=
33400 + HAVE_XMMS_FALSE='#'
33401 +else
33402 + HAVE_XMMS_TRUE='#'
33403 + HAVE_XMMS_FALSE=
33404 +fi
33405 +
33406 +fi
33407 +
33408 +if test x$WITHDRM = xyes; then
33409 +
33410 +cat >>confdefs.h <<\_ACEOF
33411 +#define DRM 1
33412 +_ACEOF
33413 +
33414 +
33415 +cat >>confdefs.h <<\_ACEOF
33416 +#define DRM_PS 1
33417 +_ACEOF
33418 +
33419 +fi
33420 +
33421 +ac_config_files="$ac_config_files libfaad/Makefile"
33422 +
33423 +ac_config_files="$ac_config_files common/Makefile"
33424 +
33425 +ac_config_files="$ac_config_files common/mp4ff/Makefile"
33426 +
33427 +ac_config_files="$ac_config_files plugins/Makefile"
33428 +
33429 +ac_config_files="$ac_config_files plugins/xmms/Makefile"
33430 +
33431 +ac_config_files="$ac_config_files plugins/xmms/src/Makefile"
33432 +
33433 +ac_config_files="$ac_config_files plugins/mpeg4ip/Makefile"
33434 +
33435 +ac_config_files="$ac_config_files faad2.spec"
33436 +
33437 +ac_config_files="$ac_config_files frontend/Makefile"
33438 +
33439 +ac_config_files="$ac_config_files Makefile"
33440 +
33441 +
33442 +cat >confcache <<\_ACEOF
33443 +# This file is a shell script that caches the results of configure
33444 +# tests run on this system so they can be shared between configure
33445 +# scripts and configure runs, see configure's option --config-cache.
33446 +# It is not useful on other systems. If it contains results you don't
33447 +# want to keep, you may remove or edit it.
33448 +#
33449 +# config.status only pays attention to the cache file if you give it
33450 +# the --recheck option to rerun configure.
33451 +#
33452 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
33453 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
33454 +# following values.
33455 +
33456 +_ACEOF
33457 +
33458 +# The following way of writing the cache mishandles newlines in values,
33459 +# but we know of no workaround that is simple, portable, and efficient.
33460 +# So, we kill variables containing newlines.
33461 +# Ultrix sh set writes to stderr and can't be redirected directly,
33462 +# and sets the high bit in the cache file unless we assign to the vars.
33463 +(
33464 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33465 + eval ac_val=\$$ac_var
33466 + case $ac_val in #(
33467 + *${as_nl}*)
33468 + case $ac_var in #(
33469 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33470 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33471 + esac
33472 + case $ac_var in #(
33473 + _ | IFS | as_nl) ;; #(
33474 + *) $as_unset $ac_var ;;
33475 + esac ;;
33476 + esac
33477 + done
33478 +
33479 + (set) 2>&1 |
33480 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
33481 + *${as_nl}ac_space=\ *)
33482 + # `set' does not quote correctly, so add quotes (double-quote
33483 + # substitution turns \\\\ into \\, and sed turns \\ into \).
33484 + sed -n \
33485 + "s/'/'\\\\''/g;
33486 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33487 + ;; #(
33488 + *)
33489 + # `set' quotes correctly as required by POSIX, so do not add quotes.
33490 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33491 + ;;
33492 + esac |
33493 + sort
33494 +) |
33495 + sed '
33496 + /^ac_cv_env_/b end
33497 + t clear
33498 + :clear
33499 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33500 + t end
33501 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33502 + :end' >>confcache
33503 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33504 + if test -w "$cache_file"; then
33505 + test "x$cache_file" != "x/dev/null" &&
33506 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33507 +echo "$as_me: updating cache $cache_file" >&6;}
33508 + cat confcache >$cache_file
33509 + else
33510 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33511 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33512 + fi
33513 +fi
33514 +rm -f confcache
33515 +
33516 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
33517 +# Let make expand exec_prefix.
33518 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33519 +
33520 +DEFS=-DHAVE_CONFIG_H
33521 +
33522 +ac_libobjs=
33523 +ac_ltlibobjs=
33524 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33525 + # 1. Remove the extension, and $U if already installed.
33526 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33527 + ac_i=`echo "$ac_i" | sed "$ac_script"`
33528 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33529 + # will be set to the directory where LIBOBJS objects are built.
33530 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33531 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33532 +done
33533 +LIBOBJS=$ac_libobjs
33534 +
33535 +LTLIBOBJS=$ac_ltlibobjs
33536 +
33537 +
33538 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33539 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33540 +Usually this means the macro was only invoked conditionally." >&5
33541 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
33542 +Usually this means the macro was only invoked conditionally." >&2;}
33543 + { (exit 1); exit 1; }; }
33544 +fi
33545 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33546 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33547 +Usually this means the macro was only invoked conditionally." >&5
33548 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33549 +Usually this means the macro was only invoked conditionally." >&2;}
33550 + { (exit 1); exit 1; }; }
33551 +fi
33552 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33553 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33554 +Usually this means the macro was only invoked conditionally." >&5
33555 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33556 +Usually this means the macro was only invoked conditionally." >&2;}
33557 + { (exit 1); exit 1; }; }
33558 +fi
33559 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33560 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33561 +Usually this means the macro was only invoked conditionally." >&5
33562 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33563 +Usually this means the macro was only invoked conditionally." >&2;}
33564 + { (exit 1); exit 1; }; }
33565 +fi
33566 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33567 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33568 +Usually this means the macro was only invoked conditionally." >&5
33569 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33570 +Usually this means the macro was only invoked conditionally." >&2;}
33571 + { (exit 1); exit 1; }; }
33572 +fi
33573 +if test -z "${HAVE_MPEG4IP_PLUG_TRUE}" && test -z "${HAVE_MPEG4IP_PLUG_FALSE}"; then
33574 + { { echo "$as_me:$LINENO: error: conditional \"HAVE_MPEG4IP_PLUG\" was never defined.
33575 +Usually this means the macro was only invoked conditionally." >&5
33576 +echo "$as_me: error: conditional \"HAVE_MPEG4IP_PLUG\" was never defined.
33577 +Usually this means the macro was only invoked conditionally." >&2;}
33578 + { (exit 1); exit 1; }; }
33579 +fi
33580 +if test -z "${HAVE_MPEG4IP_PLUG_TRUE}" && test -z "${HAVE_MPEG4IP_PLUG_FALSE}"; then
33581 + { { echo "$as_me:$LINENO: error: conditional \"HAVE_MPEG4IP_PLUG\" was never defined.
33582 +Usually this means the macro was only invoked conditionally." >&5
33583 +echo "$as_me: error: conditional \"HAVE_MPEG4IP_PLUG\" was never defined.
33584 +Usually this means the macro was only invoked conditionally." >&2;}
33585 + { (exit 1); exit 1; }; }
33586 +fi
33587 +if test -z "${HAVE_XMMS_TRUE}" && test -z "${HAVE_XMMS_FALSE}"; then
33588 + { { echo "$as_me:$LINENO: error: conditional \"HAVE_XMMS\" was never defined.
33589 +Usually this means the macro was only invoked conditionally." >&5
33590 +echo "$as_me: error: conditional \"HAVE_XMMS\" was never defined.
33591 +Usually this means the macro was only invoked conditionally." >&2;}
33592 + { (exit 1); exit 1; }; }
33593 +fi
33594 +if test -z "${HAVE_XMMS_TRUE}" && test -z "${HAVE_XMMS_FALSE}"; then
33595 + { { echo "$as_me:$LINENO: error: conditional \"HAVE_XMMS\" was never defined.
33596 +Usually this means the macro was only invoked conditionally." >&5
33597 +echo "$as_me: error: conditional \"HAVE_XMMS\" was never defined.
33598 +Usually this means the macro was only invoked conditionally." >&2;}
33599 + { (exit 1); exit 1; }; }
33600 +fi
33601 +
33602 +: ${CONFIG_STATUS=./config.status}
33603 +ac_clean_files_save=$ac_clean_files
33604 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33605 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33606 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
33607 +cat >$CONFIG_STATUS <<_ACEOF
33608 +#! $SHELL
33609 +# Generated by $as_me.
33610 +# Run this file to recreate the current configuration.
33611 +# Compiler output produced by configure, useful for debugging
33612 +# configure, is in config.log if it exists.
33613 +
33614 +debug=false
33615 +ac_cs_recheck=false
33616 +ac_cs_silent=false
33617 +SHELL=\${CONFIG_SHELL-$SHELL}
33618 +_ACEOF
33619 +
33620 +cat >>$CONFIG_STATUS <<\_ACEOF
33621 +## --------------------- ##
33622 +## M4sh Initialization. ##
33623 +## --------------------- ##
33624 +
33625 +# Be more Bourne compatible
33626 +DUALCASE=1; export DUALCASE # for MKS sh
33627 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33628 + emulate sh
33629 + NULLCMD=:
33630 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33631 + # is contrary to our usage. Disable this feature.
33632 + alias -g '${1+"$@"}'='"$@"'
33633 + setopt NO_GLOB_SUBST
33634 +else
33635 + case `(set -o) 2>/dev/null` in
33636 + *posix*) set -o posix ;;
33637 +esac
33638 +
33639 +fi
33640 +
33641 +
33642 +
33643 +
33644 +# PATH needs CR
33645 +# Avoid depending upon Character Ranges.
33646 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33647 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33648 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33649 +as_cr_digits='0123456789'
33650 +as_cr_alnum=$as_cr_Letters$as_cr_digits
33651 +
33652 +# The user is always right.
33653 +if test "${PATH_SEPARATOR+set}" != set; then
33654 + echo "#! /bin/sh" >conf$$.sh
33655 + echo "exit 0" >>conf$$.sh
33656 + chmod +x conf$$.sh
33657 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33658 + PATH_SEPARATOR=';'
33659 + else
33660 + PATH_SEPARATOR=:
33661 + fi
33662 + rm -f conf$$.sh
33663 +fi
33664 +
33665 +# Support unset when possible.
33666 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33667 + as_unset=unset
33668 +else
33669 + as_unset=false
33670 +fi
33671 +
33672 +
33673 +# IFS
33674 +# We need space, tab and new line, in precisely that order. Quoting is
33675 +# there to prevent editors from complaining about space-tab.
33676 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33677 +# splitting by setting IFS to empty value.)
33678 +as_nl='
33679 +'
33680 +IFS=" "" $as_nl"
33681 +
33682 +# Find who we are. Look in the path if we contain no directory separator.
33683 +case $0 in
33684 + *[\\/]* ) as_myself=$0 ;;
33685 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33686 +for as_dir in $PATH
33687 +do
33688 + IFS=$as_save_IFS
33689 + test -z "$as_dir" && as_dir=.
33690 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33691 +done
33692 +IFS=$as_save_IFS
33693 +
33694 + ;;
33695 +esac
33696 +# We did not find ourselves, most probably we were run as `sh COMMAND'
33697 +# in which case we are not to be found in the path.
33698 +if test "x$as_myself" = x; then
33699 + as_myself=$0
33700 +fi
33701 +if test ! -f "$as_myself"; then
33702 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33703 + { (exit 1); exit 1; }
33704 +fi
33705 +
33706 +# Work around bugs in pre-3.0 UWIN ksh.
33707 +for as_var in ENV MAIL MAILPATH
33708 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33709 +done
33710 +PS1='$ '
33711 +PS2='> '
33712 +PS4='+ '
33713 +
33714 +# NLS nuisances.
33715 +for as_var in \
33716 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33717 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33718 + LC_TELEPHONE LC_TIME
33719 +do
33720 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33721 + eval $as_var=C; export $as_var
33722 + else
33723 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33724 + fi
33725 +done
33726 +
33727 +# Required to use basename.
33728 +if expr a : '\(a\)' >/dev/null 2>&1 &&
33729 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
33730 + as_expr=expr
33731 +else
33732 + as_expr=false
33733 +fi
33734 +
33735 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33736 + as_basename=basename
33737 +else
33738 + as_basename=false
33739 +fi
33740 +
33741 +
33742 +# Name of the executable.
33743 +as_me=`$as_basename -- "$0" ||
33744 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33745 + X"$0" : 'X\(//\)$' \| \
33746 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33747 +echo X/"$0" |
33748 + sed '/^.*\/\([^/][^/]*\)\/*$/{
33749 + s//\1/
33750 + q
33751 + }
33752 + /^X\/\(\/\/\)$/{
33753 + s//\1/
33754 + q
33755 + }
33756 + /^X\/\(\/\).*/{
33757 + s//\1/
33758 + q
33759 + }
33760 + s/.*/./; q'`
33761 +
33762 +# CDPATH.
33763 +$as_unset CDPATH
33764 +
33765 +
33766 +
33767 + as_lineno_1=$LINENO
33768 + as_lineno_2=$LINENO
33769 + test "x$as_lineno_1" != "x$as_lineno_2" &&
33770 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33771 +
33772 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33773 + # uniformly replaced by the line number. The first 'sed' inserts a
33774 + # line-number line after each line using $LINENO; the second 'sed'
33775 + # does the real work. The second script uses 'N' to pair each
33776 + # line-number line with the line containing $LINENO, and appends
33777 + # trailing '-' during substitution so that $LINENO is not a special
33778 + # case at line end.
33779 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33780 + # scripts with optimization help from Paolo Bonzini. Blame Lee
33781 + # E. McMahon (1931-1989) for sed's syntax. :-)
33782 + sed -n '
33783 + p
33784 + /[$]LINENO/=
33785 + ' <$as_myself |
33786 + sed '
33787 + s/[$]LINENO.*/&-/
33788 + t lineno
33789 + b
33790 + :lineno
33791 + N
33792 + :loop
33793 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33794 + t loop
33795 + s/-\n.*//
33796 + ' >$as_me.lineno &&
33797 + chmod +x "$as_me.lineno" ||
33798 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33799 + { (exit 1); exit 1; }; }
33800 +
33801 + # Don't try to exec as it changes $[0], causing all sort of problems
33802 + # (the dirname of $[0] is not the place where we might find the
33803 + # original and so on. Autoconf is especially sensitive to this).
33804 + . "./$as_me.lineno"
33805 + # Exit status is that of the last command.
33806 + exit
33807 +}
33808 +
33809 +
33810 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33811 + as_dirname=dirname
33812 +else
33813 + as_dirname=false
33814 +fi
33815 +
33816 +ECHO_C= ECHO_N= ECHO_T=
33817 +case `echo -n x` in
33818 +-n*)
33819 + case `echo 'x\c'` in
33820 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
33821 + *) ECHO_C='\c';;
33822 + esac;;
33823 +*)
33824 + ECHO_N='-n';;
33825 +esac
33826 +
33827 +if expr a : '\(a\)' >/dev/null 2>&1 &&
33828 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
33829 + as_expr=expr
33830 +else
33831 + as_expr=false
33832 +fi
33833 +
33834 +rm -f conf$$ conf$$.exe conf$$.file
33835 +if test -d conf$$.dir; then
33836 + rm -f conf$$.dir/conf$$.file
33837 +else
33838 + rm -f conf$$.dir
33839 + mkdir conf$$.dir
33840 +fi
33841 +echo >conf$$.file
33842 +if ln -s conf$$.file conf$$ 2>/dev/null; then
33843 + as_ln_s='ln -s'
33844 + # ... but there are two gotchas:
33845 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33846 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33847 + # In both cases, we have to default to `cp -p'.
33848 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33849 + as_ln_s='cp -p'
33850 +elif ln conf$$.file conf$$ 2>/dev/null; then
33851 + as_ln_s=ln
33852 +else
33853 + as_ln_s='cp -p'
33854 +fi
33855 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33856 +rmdir conf$$.dir 2>/dev/null
33857 +
33858 +if mkdir -p . 2>/dev/null; then
33859 + as_mkdir_p=:
33860 +else
33861 + test -d ./-p && rmdir ./-p
33862 + as_mkdir_p=false
33863 +fi
33864 +
33865 +if test -x / >/dev/null 2>&1; then
33866 + as_test_x='test -x'
33867 +else
33868 + if ls -dL / >/dev/null 2>&1; then
33869 + as_ls_L_option=L
33870 + else
33871 + as_ls_L_option=
33872 + fi
33873 + as_test_x='
33874 + eval sh -c '\''
33875 + if test -d "$1"; then
33876 + test -d "$1/.";
33877 + else
33878 + case $1 in
33879 + -*)set "./$1";;
33880 + esac;
33881 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33882 + ???[sx]*):;;*)false;;esac;fi
33883 + '\'' sh
33884 + '
33885 +fi
33886 +as_executable_p=$as_test_x
33887 +
33888 +# Sed expression to map a string onto a valid CPP name.
33889 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33890 +
33891 +# Sed expression to map a string onto a valid variable name.
33892 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33893 +
33894 +
33895 +exec 6>&1
33896 +
33897 +# Save the log message, to keep $[0] and so on meaningful, and to
33898 +# report actual input values of CONFIG_FILES etc. instead of their
33899 +# values after options handling.
33900 +ac_log="
33901 +This file was extended by $as_me, which was
33902 +generated by GNU Autoconf 2.61. Invocation command line was
33903 +
33904 + CONFIG_FILES = $CONFIG_FILES
33905 + CONFIG_HEADERS = $CONFIG_HEADERS
33906 + CONFIG_LINKS = $CONFIG_LINKS
33907 + CONFIG_COMMANDS = $CONFIG_COMMANDS
33908 + $ $0 $@
33909 +
33910 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
33911 +"
33912 +
33913 +_ACEOF
33914 +
33915 +cat >>$CONFIG_STATUS <<_ACEOF
33916 +# Files that config.status was made for.
33917 +config_files="$ac_config_files"
33918 +config_headers="$ac_config_headers"
33919 +config_commands="$ac_config_commands"
33920 +
33921 +_ACEOF
33922 +
33923 +cat >>$CONFIG_STATUS <<\_ACEOF
33924 +ac_cs_usage="\
33925 +\`$as_me' instantiates files from templates according to the
33926 +current configuration.
33927 +
33928 +Usage: $0 [OPTIONS] [FILE]...
33929 +
33930 + -h, --help print this help, then exit
33931 + -V, --version print version number and configuration settings, then exit
33932 + -q, --quiet do not print progress messages
33933 + -d, --debug don't remove temporary files
33934 + --recheck update $as_me by reconfiguring in the same conditions
33935 + --file=FILE[:TEMPLATE]
33936 + instantiate the configuration file FILE
33937 + --header=FILE[:TEMPLATE]
33938 + instantiate the configuration header FILE
33939 +
33940 +Configuration files:
33941 +$config_files
33942 +
33943 +Configuration headers:
33944 +$config_headers
33945 +
33946 +Configuration commands:
33947 +$config_commands
33948 +
33949 +Report bugs to <bug-autoconf@gnu.org>."
33950 +
33951 +_ACEOF
33952 +cat >>$CONFIG_STATUS <<_ACEOF
33953 +ac_cs_version="\\
33954 +config.status
33955 +configured by $0, generated by GNU Autoconf 2.61,
33956 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33957 +
33958 +Copyright (C) 2006 Free Software Foundation, Inc.
33959 +This config.status script is free software; the Free Software Foundation
33960 +gives unlimited permission to copy, distribute and modify it."
33961 +
33962 +ac_pwd='$ac_pwd'
33963 +srcdir='$srcdir'
33964 +INSTALL='$INSTALL'
33965 +_ACEOF
33966 +
33967 +cat >>$CONFIG_STATUS <<\_ACEOF
33968 +# If no file are specified by the user, then we need to provide default
33969 +# value. By we need to know if files were specified by the user.
33970 +ac_need_defaults=:
33971 +while test $# != 0
33972 +do
33973 + case $1 in
33974 + --*=*)
33975 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
33976 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33977 + ac_shift=:
33978 + ;;
33979 + *)
33980 + ac_option=$1
33981 + ac_optarg=$2
33982 + ac_shift=shift
33983 + ;;
33984 + esac
33985 +
33986 + case $ac_option in
33987 + # Handling of the options.
33988 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33989 + ac_cs_recheck=: ;;
33990 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33991 + echo "$ac_cs_version"; exit ;;
33992 + --debug | --debu | --deb | --de | --d | -d )
33993 + debug=: ;;
33994 + --file | --fil | --fi | --f )
33995 + $ac_shift
33996 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33997 + ac_need_defaults=false;;
33998 + --header | --heade | --head | --hea )
33999 + $ac_shift
34000 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34001 + ac_need_defaults=false;;
34002 + --he | --h)
34003 + # Conflict between --help and --header
34004 + { echo "$as_me: error: ambiguous option: $1
34005 +Try \`$0 --help' for more information." >&2
34006 + { (exit 1); exit 1; }; };;
34007 + --help | --hel | -h )
34008 + echo "$ac_cs_usage"; exit ;;
34009 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34010 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
34011 + ac_cs_silent=: ;;
34012 +
34013 + # This is an error.
34014 + -*) { echo "$as_me: error: unrecognized option: $1
34015 +Try \`$0 --help' for more information." >&2
34016 + { (exit 1); exit 1; }; } ;;
34017 +
34018 + *) ac_config_targets="$ac_config_targets $1"
34019 + ac_need_defaults=false ;;
34020 +
34021 + esac
34022 + shift
34023 +done
34024 +
34025 +ac_configure_extra_args=
34026 +
34027 +if $ac_cs_silent; then
34028 + exec 6>/dev/null
34029 + ac_configure_extra_args="$ac_configure_extra_args --silent"
34030 +fi
34031 +
34032 +_ACEOF
34033 +cat >>$CONFIG_STATUS <<_ACEOF
34034 +if \$ac_cs_recheck; then
34035 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34036 + CONFIG_SHELL=$SHELL
34037 + export CONFIG_SHELL
34038 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34039 +fi
34040 +
34041 +_ACEOF
34042 +cat >>$CONFIG_STATUS <<\_ACEOF
34043 +exec 5>>config.log
34044 +{
34045 + echo
34046 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34047 +## Running $as_me. ##
34048 +_ASBOX
34049 + echo "$ac_log"
34050 +} >&5
34051 +
34052 +_ACEOF
34053 +cat >>$CONFIG_STATUS <<_ACEOF
34054 +#
34055 +# INIT-COMMANDS
34056 +#
34057 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34058 +
34059 +_ACEOF
34060 +
34061 +cat >>$CONFIG_STATUS <<\_ACEOF
34062 +
34063 +# Handling of arguments.
34064 +for ac_config_target in $ac_config_targets
34065 +do
34066 + case $ac_config_target in
34067 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34068 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34069 + "libfaad/Makefile") CONFIG_FILES="$CONFIG_FILES libfaad/Makefile" ;;
34070 + "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
34071 + "common/mp4ff/Makefile") CONFIG_FILES="$CONFIG_FILES common/mp4ff/Makefile" ;;
34072 + "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
34073 + "plugins/xmms/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/xmms/Makefile" ;;
34074 + "plugins/xmms/src/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/xmms/src/Makefile" ;;
34075 + "plugins/mpeg4ip/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mpeg4ip/Makefile" ;;
34076 + "faad2.spec") CONFIG_FILES="$CONFIG_FILES faad2.spec" ;;
34077 + "frontend/Makefile") CONFIG_FILES="$CONFIG_FILES frontend/Makefile" ;;
34078 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34079 +
34080 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34081 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34082 + { (exit 1); exit 1; }; };;
34083 + esac
34084 +done
34085 +
34086 +
34087 +# If the user did not use the arguments to specify the items to instantiate,
34088 +# then the envvar interface is used. Set only those that are not.
34089 +# We use the long form for the default assignment because of an extremely
34090 +# bizarre bug on SunOS 4.1.3.
34091 +if $ac_need_defaults; then
34092 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34093 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34094 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34095 +fi
34096 +
34097 +# Have a temporary directory for convenience. Make it in the build tree
34098 +# simply because there is no reason against having it here, and in addition,
34099 +# creating and moving files from /tmp can sometimes cause problems.
34100 +# Hook for its removal unless debugging.
34101 +# Note that there is a small window in which the directory will not be cleaned:
34102 +# after its creation but before its name has been assigned to `$tmp'.
34103 +$debug ||
34104 +{
34105 + tmp=
34106 + trap 'exit_status=$?
34107 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34108 +' 0
34109 + trap '{ (exit 1); exit 1; }' 1 2 13 15
34110 +}
34111 +# Create a (secure) tmp directory for tmp files.
34112 +
34113 +{
34114 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34115 + test -n "$tmp" && test -d "$tmp"
34116 +} ||
34117 +{
34118 + tmp=./conf$$-$RANDOM
34119 + (umask 077 && mkdir "$tmp")
34120 +} ||
34121 +{
34122 + echo "$me: cannot create a temporary directory in ." >&2
34123 + { (exit 1); exit 1; }
34124 +}
34125 +
34126 +#
34127 +# Set up the sed scripts for CONFIG_FILES section.
34128 +#
34129 +
34130 +# No need to generate the scripts if there are no CONFIG_FILES.
34131 +# This happens for instance when ./config.status config.h
34132 +if test -n "$CONFIG_FILES"; then
34133 +
34134 +_ACEOF
34135 +
34136 +
34137 +
34138 +ac_delim='%!_!# '
34139 +for ac_last_try in false false false false false :; do
34140 + cat >conf$$subs.sed <<_ACEOF
34141 +SHELL!$SHELL$ac_delim
34142 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34143 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34144 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34145 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34146 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34147 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34148 +exec_prefix!$exec_prefix$ac_delim
34149 +prefix!$prefix$ac_delim
34150 +program_transform_name!$program_transform_name$ac_delim
34151 +bindir!$bindir$ac_delim
34152 +sbindir!$sbindir$ac_delim
34153 +libexecdir!$libexecdir$ac_delim
34154 +datarootdir!$datarootdir$ac_delim
34155 +datadir!$datadir$ac_delim
34156 +sysconfdir!$sysconfdir$ac_delim
34157 +sharedstatedir!$sharedstatedir$ac_delim
34158 +localstatedir!$localstatedir$ac_delim
34159 +includedir!$includedir$ac_delim
34160 +oldincludedir!$oldincludedir$ac_delim
34161 +docdir!$docdir$ac_delim
34162 +infodir!$infodir$ac_delim
34163 +htmldir!$htmldir$ac_delim
34164 +dvidir!$dvidir$ac_delim
34165 +pdfdir!$pdfdir$ac_delim
34166 +psdir!$psdir$ac_delim
34167 +libdir!$libdir$ac_delim
34168 +localedir!$localedir$ac_delim
34169 +mandir!$mandir$ac_delim
34170 +DEFS!$DEFS$ac_delim
34171 +ECHO_C!$ECHO_C$ac_delim
34172 +ECHO_N!$ECHO_N$ac_delim
34173 +ECHO_T!$ECHO_T$ac_delim
34174 +LIBS!$LIBS$ac_delim
34175 +build_alias!$build_alias$ac_delim
34176 +host_alias!$host_alias$ac_delim
34177 +target_alias!$target_alias$ac_delim
34178 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34179 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34180 +INSTALL_DATA!$INSTALL_DATA$ac_delim
34181 +CYGPATH_W!$CYGPATH_W$ac_delim
34182 +PACKAGE!$PACKAGE$ac_delim
34183 +VERSION!$VERSION$ac_delim
34184 +ACLOCAL!$ACLOCAL$ac_delim
34185 +AUTOCONF!$AUTOCONF$ac_delim
34186 +AUTOMAKE!$AUTOMAKE$ac_delim
34187 +AUTOHEADER!$AUTOHEADER$ac_delim
34188 +MAKEINFO!$MAKEINFO$ac_delim
34189 +install_sh!$install_sh$ac_delim
34190 +STRIP!$STRIP$ac_delim
34191 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
34192 +mkdir_p!$mkdir_p$ac_delim
34193 +AWK!$AWK$ac_delim
34194 +SET_MAKE!$SET_MAKE$ac_delim
34195 +am__leading_dot!$am__leading_dot$ac_delim
34196 +AMTAR!$AMTAR$ac_delim
34197 +am__tar!$am__tar$ac_delim
34198 +am__untar!$am__untar$ac_delim
34199 +build!$build$ac_delim
34200 +build_cpu!$build_cpu$ac_delim
34201 +build_vendor!$build_vendor$ac_delim
34202 +build_os!$build_os$ac_delim
34203 +host!$host$ac_delim
34204 +host_cpu!$host_cpu$ac_delim
34205 +host_vendor!$host_vendor$ac_delim
34206 +host_os!$host_os$ac_delim
34207 +CC!$CC$ac_delim
34208 +CFLAGS!$CFLAGS$ac_delim
34209 +LDFLAGS!$LDFLAGS$ac_delim
34210 +CPPFLAGS!$CPPFLAGS$ac_delim
34211 +ac_ct_CC!$ac_ct_CC$ac_delim
34212 +EXEEXT!$EXEEXT$ac_delim
34213 +OBJEXT!$OBJEXT$ac_delim
34214 +DEPDIR!$DEPDIR$ac_delim
34215 +am__include!$am__include$ac_delim
34216 +am__quote!$am__quote$ac_delim
34217 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34218 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34219 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34220 +CCDEPMODE!$CCDEPMODE$ac_delim
34221 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34222 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34223 +SED!$SED$ac_delim
34224 +GREP!$GREP$ac_delim
34225 +EGREP!$EGREP$ac_delim
34226 +LN_S!$LN_S$ac_delim
34227 +ECHO!$ECHO$ac_delim
34228 +AR!$AR$ac_delim
34229 +RANLIB!$RANLIB$ac_delim
34230 +CPP!$CPP$ac_delim
34231 +CXX!$CXX$ac_delim
34232 +CXXFLAGS!$CXXFLAGS$ac_delim
34233 +ac_ct_CXX!$ac_ct_CXX$ac_delim
34234 +CXXDEPMODE!$CXXDEPMODE$ac_delim
34235 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
34236 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
34237 +CXXCPP!$CXXCPP$ac_delim
34238 +_ACEOF
34239 +
34240 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34241 + break
34242 + elif $ac_last_try; then
34243 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34244 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34245 + { (exit 1); exit 1; }; }
34246 + else
34247 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34248 + fi
34249 +done
34250 +
34251 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34252 +if test -n "$ac_eof"; then
34253 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34254 + ac_eof=`expr $ac_eof + 1`
34255 +fi
34256 +
34257 +cat >>$CONFIG_STATUS <<_ACEOF
34258 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34259 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34260 +_ACEOF
34261 +sed '
34262 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34263 +s/^/s,@/; s/!/@,|#_!!_#|/
34264 +:n
34265 +t n
34266 +s/'"$ac_delim"'$/,g/; t
34267 +s/$/\\/; p
34268 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34269 +' >>$CONFIG_STATUS <conf$$subs.sed
34270 +rm -f conf$$subs.sed
34271 +cat >>$CONFIG_STATUS <<_ACEOF
34272 +CEOF$ac_eof
34273 +_ACEOF
34274 +
34275 +
34276 +ac_delim='%!_!# '
34277 +for ac_last_try in false false false false false :; do
34278 + cat >conf$$subs.sed <<_ACEOF
34279 +F77!$F77$ac_delim
34280 +FFLAGS!$FFLAGS$ac_delim
34281 +ac_ct_F77!$ac_ct_F77$ac_delim
34282 +LIBTOOL!$LIBTOOL$ac_delim
34283 +LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
34284 +RPMBUILD!$RPMBUILD$ac_delim
34285 +MP4FF_LIBS!$MP4FF_LIBS$ac_delim
34286 +external_mp4v2!$external_mp4v2$ac_delim
34287 +HAVE_MPEG4IP_PLUG_TRUE!$HAVE_MPEG4IP_PLUG_TRUE$ac_delim
34288 +HAVE_MPEG4IP_PLUG_FALSE!$HAVE_MPEG4IP_PLUG_FALSE$ac_delim
34289 +XMMS_CONFIG!$XMMS_CONFIG$ac_delim
34290 +XMMS_CFLAGS!$XMMS_CFLAGS$ac_delim
34291 +XMMS_LIBS!$XMMS_LIBS$ac_delim
34292 +XMMS_VERSION!$XMMS_VERSION$ac_delim
34293 +XMMS_DATA_DIR!$XMMS_DATA_DIR$ac_delim
34294 +XMMS_PLUGIN_DIR!$XMMS_PLUGIN_DIR$ac_delim
34295 +XMMS_VISUALIZATION_PLUGIN_DIR!$XMMS_VISUALIZATION_PLUGIN_DIR$ac_delim
34296 +XMMS_INPUT_PLUGIN_DIR!$XMMS_INPUT_PLUGIN_DIR$ac_delim
34297 +XMMS_OUTPUT_PLUGIN_DIR!$XMMS_OUTPUT_PLUGIN_DIR$ac_delim
34298 +XMMS_GENERAL_PLUGIN_DIR!$XMMS_GENERAL_PLUGIN_DIR$ac_delim
34299 +XMMS_EFFECT_PLUGIN_DIR!$XMMS_EFFECT_PLUGIN_DIR$ac_delim
34300 +GTK_CONFIG!$GTK_CONFIG$ac_delim
34301 +HAVE_XMMS_TRUE!$HAVE_XMMS_TRUE$ac_delim
34302 +HAVE_XMMS_FALSE!$HAVE_XMMS_FALSE$ac_delim
34303 +LIBOBJS!$LIBOBJS$ac_delim
34304 +LTLIBOBJS!$LTLIBOBJS$ac_delim
34305 +_ACEOF
34306 +
34307 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 26; then
34308 + break
34309 + elif $ac_last_try; then
34310 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34311 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34312 + { (exit 1); exit 1; }; }
34313 + else
34314 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34315 + fi
34316 +done
34317 +
34318 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34319 +if test -n "$ac_eof"; then
34320 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34321 + ac_eof=`expr $ac_eof + 1`
34322 +fi
34323 +
34324 +cat >>$CONFIG_STATUS <<_ACEOF
34325 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34326 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34327 +_ACEOF
34328 +sed '
34329 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34330 +s/^/s,@/; s/!/@,|#_!!_#|/
34331 +:n
34332 +t n
34333 +s/'"$ac_delim"'$/,g/; t
34334 +s/$/\\/; p
34335 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34336 +' >>$CONFIG_STATUS <conf$$subs.sed
34337 +rm -f conf$$subs.sed
34338 +cat >>$CONFIG_STATUS <<_ACEOF
34339 +:end
34340 +s/|#_!!_#|//g
34341 +CEOF$ac_eof
34342 +_ACEOF
34343 +
34344 +
34345 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
34346 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34347 +# trailing colons and then remove the whole line if VPATH becomes empty
34348 +# (actually we leave an empty line to preserve line numbers).
34349 +if test "x$srcdir" = x.; then
34350 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
34351 +s/:*\$(srcdir):*/:/
34352 +s/:*\${srcdir}:*/:/
34353 +s/:*@srcdir@:*/:/
34354 +s/^\([^=]*=[ ]*\):*/\1/
34355 +s/:*$//
34356 +s/^[^=]*=[ ]*$//
34357 +}'
34358 +fi
34359 +
34360 +cat >>$CONFIG_STATUS <<\_ACEOF
34361 +fi # test -n "$CONFIG_FILES"
34362 +
34363 +
34364 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
34365 +do
34366 + case $ac_tag in
34367 + :[FHLC]) ac_mode=$ac_tag; continue;;
34368 + esac
34369 + case $ac_mode$ac_tag in
34370 + :[FHL]*:*);;
34371 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34372 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34373 + { (exit 1); exit 1; }; };;
34374 + :[FH]-) ac_tag=-:-;;
34375 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34376 + esac
34377 + ac_save_IFS=$IFS
34378 + IFS=:
34379 + set x $ac_tag
34380 + IFS=$ac_save_IFS
34381 + shift
34382 + ac_file=$1
34383 + shift
34384 +
34385 + case $ac_mode in
34386 + :L) ac_source=$1;;
34387 + :[FH])
34388 + ac_file_inputs=
34389 + for ac_f
34390 + do
34391 + case $ac_f in
34392 + -) ac_f="$tmp/stdin";;
34393 + *) # Look for the file first in the build tree, then in the source tree
34394 + # (if the path is not absolute). The absolute path cannot be DOS-style,
34395 + # because $ac_f cannot contain `:'.
34396 + test -f "$ac_f" ||
34397 + case $ac_f in
34398 + [\\/$]*) false;;
34399 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34400 + esac ||
34401 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34402 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34403 + { (exit 1); exit 1; }; };;
34404 + esac
34405 + ac_file_inputs="$ac_file_inputs $ac_f"
34406 + done
34407 +
34408 + # Let's still pretend it is `configure' which instantiates (i.e., don't
34409 + # use $as_me), people would be surprised to read:
34410 + # /* config.h. Generated by config.status. */
34411 + configure_input="Generated from "`IFS=:
34412 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34413 + if test x"$ac_file" != x-; then
34414 + configure_input="$ac_file. $configure_input"
34415 + { echo "$as_me:$LINENO: creating $ac_file" >&5
34416 +echo "$as_me: creating $ac_file" >&6;}
34417 + fi
34418 +
34419 + case $ac_tag in
34420 + *:-:* | *:-) cat >"$tmp/stdin";;
34421 + esac
34422 + ;;
34423 + esac
34424 +
34425 + ac_dir=`$as_dirname -- "$ac_file" ||
34426 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34427 + X"$ac_file" : 'X\(//\)[^/]' \| \
34428 + X"$ac_file" : 'X\(//\)$' \| \
34429 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34430 +echo X"$ac_file" |
34431 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34432 + s//\1/
34433 + q
34434 + }
34435 + /^X\(\/\/\)[^/].*/{
34436 + s//\1/
34437 + q
34438 + }
34439 + /^X\(\/\/\)$/{
34440 + s//\1/
34441 + q
34442 + }
34443 + /^X\(\/\).*/{
34444 + s//\1/
34445 + q
34446 + }
34447 + s/.*/./; q'`
34448 + { as_dir="$ac_dir"
34449 + case $as_dir in #(
34450 + -*) as_dir=./$as_dir;;
34451 + esac
34452 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34453 + as_dirs=
34454 + while :; do
34455 + case $as_dir in #(
34456 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34457 + *) as_qdir=$as_dir;;
34458 + esac
34459 + as_dirs="'$as_qdir' $as_dirs"
34460 + as_dir=`$as_dirname -- "$as_dir" ||
34461 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34462 + X"$as_dir" : 'X\(//\)[^/]' \| \
34463 + X"$as_dir" : 'X\(//\)$' \| \
34464 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34465 +echo X"$as_dir" |
34466 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34467 + s//\1/
34468 + q
34469 + }
34470 + /^X\(\/\/\)[^/].*/{
34471 + s//\1/
34472 + q
34473 + }
34474 + /^X\(\/\/\)$/{
34475 + s//\1/
34476 + q
34477 + }
34478 + /^X\(\/\).*/{
34479 + s//\1/
34480 + q
34481 + }
34482 + s/.*/./; q'`
34483 + test -d "$as_dir" && break
34484 + done
34485 + test -z "$as_dirs" || eval "mkdir $as_dirs"
34486 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34487 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
34488 + { (exit 1); exit 1; }; }; }
34489 + ac_builddir=.
34490 +
34491 +case "$ac_dir" in
34492 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34493 +*)
34494 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34495 + # A ".." for each directory in $ac_dir_suffix.
34496 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34497 + case $ac_top_builddir_sub in
34498 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34499 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34500 + esac ;;
34501 +esac
34502 +ac_abs_top_builddir=$ac_pwd
34503 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
34504 +# for backward compatibility:
34505 +ac_top_builddir=$ac_top_build_prefix
34506 +
34507 +case $srcdir in
34508 + .) # We are building in place.
34509 + ac_srcdir=.
34510 + ac_top_srcdir=$ac_top_builddir_sub
34511 + ac_abs_top_srcdir=$ac_pwd ;;
34512 + [\\/]* | ?:[\\/]* ) # Absolute name.
34513 + ac_srcdir=$srcdir$ac_dir_suffix;
34514 + ac_top_srcdir=$srcdir
34515 + ac_abs_top_srcdir=$srcdir ;;
34516 + *) # Relative name.
34517 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34518 + ac_top_srcdir=$ac_top_build_prefix$srcdir
34519 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34520 +esac
34521 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34522 +
34523 +
34524 + case $ac_mode in
34525 + :F)
34526 + #
34527 + # CONFIG_FILE
34528 + #
34529 +
34530 + case $INSTALL in
34531 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34532 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34533 + esac
34534 +_ACEOF
34535 +
34536 +cat >>$CONFIG_STATUS <<\_ACEOF
34537 +# If the template does not know about datarootdir, expand it.
34538 +# FIXME: This hack should be removed a few years after 2.60.
34539 +ac_datarootdir_hack=; ac_datarootdir_seen=
34540 +
34541 +case `sed -n '/datarootdir/ {
34542 + p
34543 + q
34544 +}
34545 +/@datadir@/p
34546 +/@docdir@/p
34547 +/@infodir@/p
34548 +/@localedir@/p
34549 +/@mandir@/p
34550 +' $ac_file_inputs` in
34551 +*datarootdir*) ac_datarootdir_seen=yes;;
34552 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34553 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34554 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34555 +_ACEOF
34556 +cat >>$CONFIG_STATUS <<_ACEOF
34557 + ac_datarootdir_hack='
34558 + s&@datadir@&$datadir&g
34559 + s&@docdir@&$docdir&g
34560 + s&@infodir@&$infodir&g
34561 + s&@localedir@&$localedir&g
34562 + s&@mandir@&$mandir&g
34563 + s&\\\${datarootdir}&$datarootdir&g' ;;
34564 +esac
34565 +_ACEOF
34566 +
34567 +# Neutralize VPATH when `$srcdir' = `.'.
34568 +# Shell code in configure.ac might set extrasub.
34569 +# FIXME: do we really want to maintain this feature?
34570 +cat >>$CONFIG_STATUS <<_ACEOF
34571 + sed "$ac_vpsub
34572 +$extrasub
34573 +_ACEOF
34574 +cat >>$CONFIG_STATUS <<\_ACEOF
34575 +:t
34576 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34577 +s&@configure_input@&$configure_input&;t t
34578 +s&@top_builddir@&$ac_top_builddir_sub&;t t
34579 +s&@srcdir@&$ac_srcdir&;t t
34580 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
34581 +s&@top_srcdir@&$ac_top_srcdir&;t t
34582 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34583 +s&@builddir@&$ac_builddir&;t t
34584 +s&@abs_builddir@&$ac_abs_builddir&;t t
34585 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34586 +s&@INSTALL@&$ac_INSTALL&;t t
34587 +$ac_datarootdir_hack
34588 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
34589 +
34590 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34591 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34592 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34593 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34594 +which seems to be undefined. Please make sure it is defined." >&5
34595 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34596 +which seems to be undefined. Please make sure it is defined." >&2;}
34597 +
34598 + rm -f "$tmp/stdin"
34599 + case $ac_file in
34600 + -) cat "$tmp/out"; rm -f "$tmp/out";;
34601 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34602 + esac
34603 + ;;
34604 + :H)
34605 + #
34606 + # CONFIG_HEADER
34607 + #
34608 +_ACEOF
34609 +
34610 +# Transform confdefs.h into a sed script `conftest.defines', that
34611 +# substitutes the proper values into config.h.in to produce config.h.
34612 +rm -f conftest.defines conftest.tail
34613 +# First, append a space to every undef/define line, to ease matching.
34614 +echo 's/$/ /' >conftest.defines
34615 +# Then, protect against being on the right side of a sed subst, or in
34616 +# an unquoted here document, in config.status. If some macros were
34617 +# called several times there might be several #defines for the same
34618 +# symbol, which is useless. But do not sort them, since the last
34619 +# AC_DEFINE must be honored.
34620 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34621 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34622 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
34623 +# PARAMS is the parameter list in the macro definition--in most cases, it's
34624 +# just an empty string.
34625 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34626 +ac_dB='\\)[ (].*,\\1define\\2'
34627 +ac_dC=' '
34628 +ac_dD=' ,'
34629 +
34630 +uniq confdefs.h |
34631 + sed -n '
34632 + t rset
34633 + :rset
34634 + s/^[ ]*#[ ]*define[ ][ ]*//
34635 + t ok
34636 + d
34637 + :ok
34638 + s/[\\&,]/\\&/g
34639 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34640 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34641 + ' >>conftest.defines
34642 +
34643 +# Remove the space that was appended to ease matching.
34644 +# Then replace #undef with comments. This is necessary, for
34645 +# example, in the case of _POSIX_SOURCE, which is predefined and required
34646 +# on some systems where configure will not decide to define it.
34647 +# (The regexp can be short, since the line contains either #define or #undef.)
34648 +echo 's/ $//
34649 +s,^[ #]*u.*,/* & */,' >>conftest.defines
34650 +
34651 +# Break up conftest.defines:
34652 +ac_max_sed_lines=50
34653 +
34654 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34655 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34656 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34657 +# et cetera.
34658 +ac_in='$ac_file_inputs'
34659 +ac_out='"$tmp/out1"'
34660 +ac_nxt='"$tmp/out2"'
34661 +
34662 +while :
34663 +do
34664 + # Write a here document:
34665 + cat >>$CONFIG_STATUS <<_ACEOF
34666 + # First, check the format of the line:
34667 + cat >"\$tmp/defines.sed" <<\\CEOF
34668 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34669 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34670 +b
34671 +:def
34672 +_ACEOF
34673 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34674 + echo 'CEOF
34675 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34676 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34677 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34678 + grep . conftest.tail >/dev/null || break
34679 + rm -f conftest.defines
34680 + mv conftest.tail conftest.defines
34681 +done
34682 +rm -f conftest.defines conftest.tail
34683 +
34684 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
34685 +cat >>$CONFIG_STATUS <<\_ACEOF
34686 + if test x"$ac_file" != x-; then
34687 + echo "/* $configure_input */" >"$tmp/config.h"
34688 + cat "$ac_result" >>"$tmp/config.h"
34689 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34690 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34691 +echo "$as_me: $ac_file is unchanged" >&6;}
34692 + else
34693 + rm -f $ac_file
34694 + mv "$tmp/config.h" $ac_file
34695 + fi
34696 + else
34697 + echo "/* $configure_input */"
34698 + cat "$ac_result"
34699 + fi
34700 + rm -f "$tmp/out12"
34701 +# Compute $ac_file's index in $config_headers.
34702 +_am_stamp_count=1
34703 +for _am_header in $config_headers :; do
34704 + case $_am_header in
34705 + $ac_file | $ac_file:* )
34706 + break ;;
34707 + * )
34708 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34709 + esac
34710 +done
34711 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
34712 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34713 + X$ac_file : 'X\(//\)[^/]' \| \
34714 + X$ac_file : 'X\(//\)$' \| \
34715 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
34716 +echo X$ac_file |
34717 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34718 + s//\1/
34719 + q
34720 + }
34721 + /^X\(\/\/\)[^/].*/{
34722 + s//\1/
34723 + q
34724 + }
34725 + /^X\(\/\/\)$/{
34726 + s//\1/
34727 + q
34728 + }
34729 + /^X\(\/\).*/{
34730 + s//\1/
34731 + q
34732 + }
34733 + s/.*/./; q'`/stamp-h$_am_stamp_count
34734 + ;;
34735 +
34736 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34737 +echo "$as_me: executing $ac_file commands" >&6;}
34738 + ;;
34739 + esac
34740 +
34741 +
34742 + case $ac_file$ac_mode in
34743 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34744 + # Strip MF so we end up with the name of the file.
34745 + mf=`echo "$mf" | sed -e 's/:.*$//'`
34746 + # Check whether this is an Automake generated Makefile or not.
34747 + # We used to match only the files named `Makefile.in', but
34748 + # some people rename them; so instead we look at the file content.
34749 + # Grep'ing the first line is not enough: some people post-process
34750 + # each Makefile.in and add a new line on top of each file to say so.
34751 + # So let's grep whole file.
34752 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34753 + dirpart=`$as_dirname -- "$mf" ||
34754 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34755 + X"$mf" : 'X\(//\)[^/]' \| \
34756 + X"$mf" : 'X\(//\)$' \| \
34757 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34758 +echo X"$mf" |
34759 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34760 + s//\1/
34761 + q
34762 + }
34763 + /^X\(\/\/\)[^/].*/{
34764 + s//\1/
34765 + q
34766 + }
34767 + /^X\(\/\/\)$/{
34768 + s//\1/
34769 + q
34770 + }
34771 + /^X\(\/\).*/{
34772 + s//\1/
34773 + q
34774 + }
34775 + s/.*/./; q'`
34776 + else
34777 + continue
34778 + fi
34779 + # Extract the definition of DEPDIR, am__include, and am__quote
34780 + # from the Makefile without running `make'.
34781 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34782 + test -z "$DEPDIR" && continue
34783 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
34784 + test -z "am__include" && continue
34785 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34786 + # When using ansi2knr, U may be empty or an underscore; expand it
34787 + U=`sed -n 's/^U = //p' < "$mf"`
34788 + # Find all dependency output files, they are included files with
34789 + # $(DEPDIR) in their names. We invoke sed twice because it is the
34790 + # simplest approach to changing $(DEPDIR) to its actual value in the
34791 + # expansion.
34792 + for file in `sed -n "
34793 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34794 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34795 + # Make sure the directory exists.
34796 + test -f "$dirpart/$file" && continue
34797 + fdir=`$as_dirname -- "$file" ||
34798 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34799 + X"$file" : 'X\(//\)[^/]' \| \
34800 + X"$file" : 'X\(//\)$' \| \
34801 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34802 +echo X"$file" |
34803 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34804 + s//\1/
34805 + q
34806 + }
34807 + /^X\(\/\/\)[^/].*/{
34808 + s//\1/
34809 + q
34810 + }
34811 + /^X\(\/\/\)$/{
34812 + s//\1/
34813 + q
34814 + }
34815 + /^X\(\/\).*/{
34816 + s//\1/
34817 + q
34818 + }
34819 + s/.*/./; q'`
34820 + { as_dir=$dirpart/$fdir
34821 + case $as_dir in #(
34822 + -*) as_dir=./$as_dir;;
34823 + esac
34824 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34825 + as_dirs=
34826 + while :; do
34827 + case $as_dir in #(
34828 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34829 + *) as_qdir=$as_dir;;
34830 + esac
34831 + as_dirs="'$as_qdir' $as_dirs"
34832 + as_dir=`$as_dirname -- "$as_dir" ||
34833 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34834 + X"$as_dir" : 'X\(//\)[^/]' \| \
34835 + X"$as_dir" : 'X\(//\)$' \| \
34836 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34837 +echo X"$as_dir" |
34838 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34839 + s//\1/
34840 + q
34841 + }
34842 + /^X\(\/\/\)[^/].*/{
34843 + s//\1/
34844 + q
34845 + }
34846 + /^X\(\/\/\)$/{
34847 + s//\1/
34848 + q
34849 + }
34850 + /^X\(\/\).*/{
34851 + s//\1/
34852 + q
34853 + }
34854 + s/.*/./; q'`
34855 + test -d "$as_dir" && break
34856 + done
34857 + test -z "$as_dirs" || eval "mkdir $as_dirs"
34858 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34859 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
34860 + { (exit 1); exit 1; }; }; }
34861 + # echo "creating $dirpart/$file"
34862 + echo '# dummy' > "$dirpart/$file"
34863 + done
34864 +done
34865 + ;;
34866 +
34867 + esac
34868 +done # for ac_tag
34869 +
34870 +
34871 +{ (exit 0); exit 0; }
34872 +_ACEOF
34873 +chmod +x $CONFIG_STATUS
34874 +ac_clean_files=$ac_clean_files_save
34875 +
34876 +
34877 +# configure is writing to config.log, and then calls config.status.
34878 +# config.status does its own redirection, appending to config.log.
34879 +# Unfortunately, on DOS this fails, as config.log is still kept open
34880 +# by configure, so config.status won't be able to write to it; its
34881 +# output is simply discarded. So we exec the FD to /dev/null,
34882 +# effectively closing config.log, so it can be properly (re)opened and
34883 +# appended to by config.status. When coming back to configure, we
34884 +# need to make the FD available again.
34885 +if test "$no_create" != yes; then
34886 + ac_cs_success=:
34887 + ac_config_status_args=
34888 + test "$silent" = yes &&
34889 + ac_config_status_args="$ac_config_status_args --quiet"
34890 + exec 5>/dev/null
34891 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34892 + exec 5>>config.log
34893 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34894 + # would make configure fail if this is the last instruction.
34895 + $ac_cs_success || { (exit 1); exit 1; }
34896 +fi
34897 +
34898 diff -urNad faad2-svn~/depcomp faad2-svn/depcomp
34899 --- faad2-svn~/depcomp 1970-01-01 01:00:00.000000000 +0100
34900 +++ faad2-svn/depcomp 2007-12-25 22:22:08.000000000 +0000
34901 @@ -0,0 +1,530 @@
34902 +#! /bin/sh
34903 +# depcomp - compile a program generating dependencies as side-effects
34904 +
34905 +scriptversion=2005-07-09.11
34906 +
34907 +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
34908 +
34909 +# This program is free software; you can redistribute it and/or modify
34910 +# it under the terms of the GNU General Public License as published by
34911 +# the Free Software Foundation; either version 2, or (at your option)
34912 +# any later version.
34913 +
34914 +# This program is distributed in the hope that it will be useful,
34915 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
34916 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34917 +# GNU General Public License for more details.
34918 +
34919 +# You should have received a copy of the GNU General Public License
34920 +# along with this program; if not, write to the Free Software
34921 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
34922 +# 02110-1301, USA.
34923 +
34924 +# As a special exception to the GNU General Public License, if you
34925 +# distribute this file as part of a program that contains a
34926 +# configuration script generated by Autoconf, you may include it under
34927 +# the same distribution terms that you use for the rest of that program.
34928 +
34929 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
34930 +
34931 +case $1 in
34932 + '')
34933 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
34934 + exit 1;
34935 + ;;
34936 + -h | --h*)
34937 + cat <<\EOF
34938 +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
34939 +
34940 +Run PROGRAMS ARGS to compile a file, generating dependencies
34941 +as side-effects.
34942 +
34943 +Environment variables:
34944 + depmode Dependency tracking mode.
34945 + source Source file read by `PROGRAMS ARGS'.
34946 + object Object file output by `PROGRAMS ARGS'.
34947 + DEPDIR directory where to store dependencies.
34948 + depfile Dependency file to output.
34949 + tmpdepfile Temporary file to use when outputing dependencies.
34950 + libtool Whether libtool is used (yes/no).
34951 +
34952 +Report bugs to <bug-automake@gnu.org>.
34953 +EOF
34954 + exit $?
34955 + ;;
34956 + -v | --v*)
34957 + echo "depcomp $scriptversion"
34958 + exit $?
34959 + ;;
34960 +esac
34961 +
34962 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
34963 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
34964 + exit 1
34965 +fi
34966 +
34967 +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
34968 +depfile=${depfile-`echo "$object" |
34969 + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
34970 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
34971 +
34972 +rm -f "$tmpdepfile"
34973 +
34974 +# Some modes work just like other modes, but use different flags. We
34975 +# parameterize here, but still list the modes in the big case below,
34976 +# to make depend.m4 easier to write. Note that we *cannot* use a case
34977 +# here, because this file can only contain one case statement.
34978 +if test "$depmode" = hp; then
34979 + # HP compiler uses -M and no extra arg.
34980 + gccflag=-M
34981 + depmode=gcc
34982 +fi
34983 +
34984 +if test "$depmode" = dashXmstdout; then
34985 + # This is just like dashmstdout with a different argument.
34986 + dashmflag=-xM
34987 + depmode=dashmstdout
34988 +fi
34989 +
34990 +case "$depmode" in
34991 +gcc3)
34992 +## gcc 3 implements dependency tracking that does exactly what
34993 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
34994 +## it if -MD -MP comes after the -MF stuff. Hmm.
34995 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
34996 + stat=$?
34997 + if test $stat -eq 0; then :
34998 + else
34999 + rm -f "$tmpdepfile"
35000 + exit $stat
35001 + fi
35002 + mv "$tmpdepfile" "$depfile"
35003 + ;;
35004 +
35005 +gcc)
35006 +## There are various ways to get dependency output from gcc. Here's
35007 +## why we pick this rather obscure method:
35008 +## - Don't want to use -MD because we'd like the dependencies to end
35009 +## up in a subdir. Having to rename by hand is ugly.
35010 +## (We might end up doing this anyway to support other compilers.)
35011 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
35012 +## -MM, not -M (despite what the docs say).
35013 +## - Using -M directly means running the compiler twice (even worse
35014 +## than renaming).
35015 + if test -z "$gccflag"; then
35016 + gccflag=-MD,
35017 + fi
35018 + "$@" -Wp,"$gccflag$tmpdepfile"
35019 + stat=$?
35020 + if test $stat -eq 0; then :
35021 + else
35022 + rm -f "$tmpdepfile"
35023 + exit $stat
35024 + fi
35025 + rm -f "$depfile"
35026 + echo "$object : \\" > "$depfile"
35027 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
35028 +## The second -e expression handles DOS-style file names with drive letters.
35029 + sed -e 's/^[^:]*: / /' \
35030 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
35031 +## This next piece of magic avoids the `deleted header file' problem.
35032 +## The problem is that when a header file which appears in a .P file
35033 +## is deleted, the dependency causes make to die (because there is
35034 +## typically no way to rebuild the header). We avoid this by adding
35035 +## dummy dependencies for each header file. Too bad gcc doesn't do
35036 +## this for us directly.
35037 + tr ' ' '
35038 +' < "$tmpdepfile" |
35039 +## Some versions of gcc put a space before the `:'. On the theory
35040 +## that the space means something, we add a space to the output as
35041 +## well.
35042 +## Some versions of the HPUX 10.20 sed can't process this invocation
35043 +## correctly. Breaking it into two sed invocations is a workaround.
35044 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
35045 + rm -f "$tmpdepfile"
35046 + ;;
35047 +
35048 +hp)
35049 + # This case exists only to let depend.m4 do its work. It works by
35050 + # looking at the text of this script. This case will never be run,
35051 + # since it is checked for above.
35052 + exit 1
35053 + ;;
35054 +
35055 +sgi)
35056 + if test "$libtool" = yes; then
35057 + "$@" "-Wp,-MDupdate,$tmpdepfile"
35058 + else
35059 + "$@" -MDupdate "$tmpdepfile"
35060 + fi
35061 + stat=$?
35062 + if test $stat -eq 0; then :
35063 + else
35064 + rm -f "$tmpdepfile"
35065 + exit $stat
35066 + fi
35067 + rm -f "$depfile"
35068 +
35069 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
35070 + echo "$object : \\" > "$depfile"
35071 +
35072 + # Clip off the initial element (the dependent). Don't try to be
35073 + # clever and replace this with sed code, as IRIX sed won't handle
35074 + # lines with more than a fixed number of characters (4096 in
35075 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
35076 + # the IRIX cc adds comments like `#:fec' to the end of the
35077 + # dependency line.
35078 + tr ' ' '
35079 +' < "$tmpdepfile" \
35080 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
35081 + tr '
35082 +' ' ' >> $depfile
35083 + echo >> $depfile
35084 +
35085 + # The second pass generates a dummy entry for each header file.
35086 + tr ' ' '
35087 +' < "$tmpdepfile" \
35088 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
35089 + >> $depfile
35090 + else
35091 + # The sourcefile does not contain any dependencies, so just
35092 + # store a dummy comment line, to avoid errors with the Makefile
35093 + # "include basename.Plo" scheme.
35094 + echo "#dummy" > "$depfile"
35095 + fi
35096 + rm -f "$tmpdepfile"
35097 + ;;
35098 +
35099 +aix)
35100 + # The C for AIX Compiler uses -M and outputs the dependencies
35101 + # in a .u file. In older versions, this file always lives in the
35102 + # current directory. Also, the AIX compiler puts `$object:' at the
35103 + # start of each line; $object doesn't have directory information.
35104 + # Version 6 uses the directory in both cases.
35105 + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
35106 + tmpdepfile="$stripped.u"
35107 + if test "$libtool" = yes; then
35108 + "$@" -Wc,-M
35109 + else
35110 + "$@" -M
35111 + fi
35112 + stat=$?
35113 +
35114 + if test -f "$tmpdepfile"; then :
35115 + else
35116 + stripped=`echo "$stripped" | sed 's,^.*/,,'`
35117 + tmpdepfile="$stripped.u"
35118 + fi
35119 +
35120 + if test $stat -eq 0; then :
35121 + else
35122 + rm -f "$tmpdepfile"
35123 + exit $stat
35124 + fi
35125 +
35126 + if test -f "$tmpdepfile"; then
35127 + outname="$stripped.o"
35128 + # Each line is of the form `foo.o: dependent.h'.
35129 + # Do two passes, one to just change these to
35130 + # `$object: dependent.h' and one to simply `dependent.h:'.
35131 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
35132 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
35133 + else
35134 + # The sourcefile does not contain any dependencies, so just
35135 + # store a dummy comment line, to avoid errors with the Makefile
35136 + # "include basename.Plo" scheme.
35137 + echo "#dummy" > "$depfile"
35138 + fi
35139 + rm -f "$tmpdepfile"
35140 + ;;
35141 +
35142 +icc)
35143 + # Intel's C compiler understands `-MD -MF file'. However on
35144 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
35145 + # ICC 7.0 will fill foo.d with something like
35146 + # foo.o: sub/foo.c
35147 + # foo.o: sub/foo.h
35148 + # which is wrong. We want:
35149 + # sub/foo.o: sub/foo.c
35150 + # sub/foo.o: sub/foo.h
35151 + # sub/foo.c:
35152 + # sub/foo.h:
35153 + # ICC 7.1 will output
35154 + # foo.o: sub/foo.c sub/foo.h
35155 + # and will wrap long lines using \ :
35156 + # foo.o: sub/foo.c ... \
35157 + # sub/foo.h ... \
35158 + # ...
35159 +
35160 + "$@" -MD -MF "$tmpdepfile"
35161 + stat=$?
35162 + if test $stat -eq 0; then :
35163 + else
35164 + rm -f "$tmpdepfile"
35165 + exit $stat
35166 + fi
35167 + rm -f "$depfile"
35168 + # Each line is of the form `foo.o: dependent.h',
35169 + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
35170 + # Do two passes, one to just change these to
35171 + # `$object: dependent.h' and one to simply `dependent.h:'.
35172 + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
35173 + # Some versions of the HPUX 10.20 sed can't process this invocation
35174 + # correctly. Breaking it into two sed invocations is a workaround.
35175 + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
35176 + sed -e 's/$/ :/' >> "$depfile"
35177 + rm -f "$tmpdepfile"
35178 + ;;
35179 +
35180 +tru64)
35181 + # The Tru64 compiler uses -MD to generate dependencies as a side
35182 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
35183 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
35184 + # dependencies in `foo.d' instead, so we check for that too.
35185 + # Subdirectories are respected.
35186 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
35187 + test "x$dir" = "x$object" && dir=
35188 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
35189 +
35190 + if test "$libtool" = yes; then
35191 + # With Tru64 cc, shared objects can also be used to make a
35192 + # static library. This mecanism is used in libtool 1.4 series to
35193 + # handle both shared and static libraries in a single compilation.
35194 + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
35195 + #
35196 + # With libtool 1.5 this exception was removed, and libtool now
35197 + # generates 2 separate objects for the 2 libraries. These two
35198 + # compilations output dependencies in in $dir.libs/$base.o.d and
35199 + # in $dir$base.o.d. We have to check for both files, because
35200 + # one of the two compilations can be disabled. We should prefer
35201 + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
35202 + # automatically cleaned when .libs/ is deleted, while ignoring
35203 + # the former would cause a distcleancheck panic.
35204 + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
35205 + tmpdepfile2=$dir$base.o.d # libtool 1.5
35206 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
35207 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
35208 + "$@" -Wc,-MD
35209 + else
35210 + tmpdepfile1=$dir$base.o.d
35211 + tmpdepfile2=$dir$base.d
35212 + tmpdepfile3=$dir$base.d
35213 + tmpdepfile4=$dir$base.d
35214 + "$@" -MD
35215 + fi
35216 +
35217 + stat=$?
35218 + if test $stat -eq 0; then :
35219 + else
35220 + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
35221 + exit $stat
35222 + fi
35223 +
35224 + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
35225 + do
35226 + test -f "$tmpdepfile" && break
35227 + done
35228 + if test -f "$tmpdepfile"; then
35229 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
35230 + # That's a tab and a space in the [].
35231 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
35232 + else
35233 + echo "#dummy" > "$depfile"
35234 + fi
35235 + rm -f "$tmpdepfile"
35236 + ;;
35237 +
35238 +#nosideeffect)
35239 + # This comment above is used by automake to tell side-effect
35240 + # dependency tracking mechanisms from slower ones.
35241 +
35242 +dashmstdout)
35243 + # Important note: in order to support this mode, a compiler *must*
35244 + # always write the preprocessed file to stdout, regardless of -o.
35245 + "$@" || exit $?
35246 +
35247 + # Remove the call to Libtool.
35248 + if test "$libtool" = yes; then
35249 + while test $1 != '--mode=compile'; do
35250 + shift
35251 + done
35252 + shift
35253 + fi
35254 +
35255 + # Remove `-o $object'.
35256 + IFS=" "
35257 + for arg
35258 + do
35259 + case $arg in
35260 + -o)
35261 + shift
35262 + ;;
35263 + $object)
35264 + shift
35265 + ;;
35266 + *)
35267 + set fnord "$@" "$arg"
35268 + shift # fnord
35269 + shift # $arg
35270 + ;;
35271 + esac
35272 + done
35273 +
35274 + test -z "$dashmflag" && dashmflag=-M
35275 + # Require at least two characters before searching for `:'
35276 + # in the target name. This is to cope with DOS-style filenames:
35277 + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
35278 + "$@" $dashmflag |
35279 + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
35280 + rm -f "$depfile"
35281 + cat < "$tmpdepfile" > "$depfile"
35282 + tr ' ' '
35283 +' < "$tmpdepfile" | \
35284 +## Some versions of the HPUX 10.20 sed can't process this invocation
35285 +## correctly. Breaking it into two sed invocations is a workaround.
35286 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
35287 + rm -f "$tmpdepfile"
35288 + ;;
35289 +
35290 +dashXmstdout)
35291 + # This case only exists to satisfy depend.m4. It is never actually
35292 + # run, as this mode is specially recognized in the preamble.
35293 + exit 1
35294 + ;;
35295 +
35296 +makedepend)
35297 + "$@" || exit $?
35298 + # Remove any Libtool call
35299 + if test "$libtool" = yes; then
35300 + while test $1 != '--mode=compile'; do
35301 + shift
35302 + done
35303 + shift
35304 + fi
35305 + # X makedepend
35306 + shift
35307 + cleared=no
35308 + for arg in "$@"; do
35309 + case $cleared in
35310 + no)
35311 + set ""; shift
35312 + cleared=yes ;;
35313 + esac
35314 + case "$arg" in
35315 + -D*|-I*)
35316 + set fnord "$@" "$arg"; shift ;;
35317 + # Strip any option that makedepend may not understand. Remove
35318 + # the object too, otherwise makedepend will parse it as a source file.
35319 + -*|$object)
35320 + ;;
35321 + *)
35322 + set fnord "$@" "$arg"; shift ;;
35323 + esac
35324 + done
35325 + obj_suffix="`echo $object | sed 's/^.*\././'`"
35326 + touch "$tmpdepfile"
35327 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
35328 + rm -f "$depfile"
35329 + cat < "$tmpdepfile" > "$depfile"
35330 + sed '1,2d' "$tmpdepfile" | tr ' ' '
35331 +' | \
35332 +## Some versions of the HPUX 10.20 sed can't process this invocation
35333 +## correctly. Breaking it into two sed invocations is a workaround.
35334 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
35335 + rm -f "$tmpdepfile" "$tmpdepfile".bak
35336 + ;;
35337 +
35338 +cpp)
35339 + # Important note: in order to support this mode, a compiler *must*
35340 + # always write the preprocessed file to stdout.
35341 + "$@" || exit $?
35342 +
35343 + # Remove the call to Libtool.
35344 + if test "$libtool" = yes; then
35345 + while test $1 != '--mode=compile'; do
35346 + shift
35347 + done
35348 + shift
35349 + fi
35350 +
35351 + # Remove `-o $object'.
35352 + IFS=" "
35353 + for arg
35354 + do
35355 + case $arg in
35356 + -o)
35357 + shift
35358 + ;;
35359 + $object)
35360 + shift
35361 + ;;
35362 + *)
35363 + set fnord "$@" "$arg"
35364 + shift # fnord
35365 + shift # $arg
35366 + ;;
35367 + esac
35368 + done
35369 +
35370 + "$@" -E |
35371 + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
35372 + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
35373 + sed '$ s: \\$::' > "$tmpdepfile"
35374 + rm -f "$depfile"
35375 + echo "$object : \\" > "$depfile"
35376 + cat < "$tmpdepfile" >> "$depfile"
35377 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
35378 + rm -f "$tmpdepfile"
35379 + ;;
35380 +
35381 +msvisualcpp)
35382 + # Important note: in order to support this mode, a compiler *must*
35383 + # always write the preprocessed file to stdout, regardless of -o,
35384 + # because we must use -o when running libtool.
35385 + "$@" || exit $?
35386 + IFS=" "
35387 + for arg
35388 + do
35389 + case "$arg" in
35390 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
35391 + set fnord "$@"
35392 + shift
35393 + shift
35394 + ;;
35395 + *)
35396 + set fnord "$@" "$arg"
35397 + shift
35398 + shift
35399 + ;;
35400 + esac
35401 + done
35402 + "$@" -E |
35403 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
35404 + rm -f "$depfile"
35405 + echo "$object : \\" > "$depfile"
35406 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
35407 + echo " " >> "$depfile"
35408 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
35409 + rm -f "$tmpdepfile"
35410 + ;;
35411 +
35412 +none)
35413 + exec "$@"
35414 + ;;
35415 +
35416 +*)
35417 + echo "Unknown depmode $depmode" 1>&2
35418 + exit 1
35419 + ;;
35420 +esac
35421 +
35422 +exit 0
35423 +
35424 +# Local Variables:
35425 +# mode: shell-script
35426 +# sh-indentation: 2
35427 +# eval: (add-hook 'write-file-hooks 'time-stamp)
35428 +# time-stamp-start: "scriptversion="
35429 +# time-stamp-format: "%:y-%02m-%02d.%02H"
35430 +# time-stamp-end: "$"
35431 +# End:
35432 diff -urNad faad2-svn~/frontend/Makefile.in faad2-svn/frontend/Makefile.in
35433 --- faad2-svn~/frontend/Makefile.in 1970-01-01 01:00:00.000000000 +0100
35434 +++ faad2-svn/frontend/Makefile.in 2007-12-25 22:22:08.000000000 +0000
35435 @@ -0,0 +1,494 @@
35436 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
35437 +# @configure_input@
35438 +
35439 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
35440 +# 2003, 2004, 2005 Free Software Foundation, Inc.
35441 +# This Makefile.in is free software; the Free Software Foundation
35442 +# gives unlimited permission to copy and/or distribute it,
35443 +# with or without modifications, as long as this notice is preserved.
35444 +
35445 +# This program is distributed in the hope that it will be useful,
35446 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
35447 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
35448 +# PARTICULAR PURPOSE.
35449 +
35450 +@SET_MAKE@
35451 +
35452 +srcdir = @srcdir@
35453 +top_srcdir = @top_srcdir@
35454 +VPATH = @srcdir@
35455 +pkgdatadir = $(datadir)/@PACKAGE@
35456 +pkglibdir = $(libdir)/@PACKAGE@
35457 +pkgincludedir = $(includedir)/@PACKAGE@
35458 +top_builddir = ..
35459 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
35460 +INSTALL = @INSTALL@
35461 +install_sh_DATA = $(install_sh) -c -m 644
35462 +install_sh_PROGRAM = $(install_sh) -c
35463 +install_sh_SCRIPT = $(install_sh) -c
35464 +INSTALL_HEADER = $(INSTALL_DATA)
35465 +transform = $(program_transform_name)
35466 +NORMAL_INSTALL = :
35467 +PRE_INSTALL = :
35468 +POST_INSTALL = :
35469 +NORMAL_UNINSTALL = :
35470 +PRE_UNINSTALL = :
35471 +POST_UNINSTALL = :
35472 +build_triplet = @build@
35473 +host_triplet = @host@
35474 +bin_PROGRAMS = faad$(EXEEXT)
35475 +subdir = frontend
35476 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
35477 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
35478 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
35479 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
35480 + $(ACLOCAL_M4)
35481 +mkinstalldirs = $(install_sh) -d
35482 +CONFIG_HEADER = $(top_builddir)/config.h
35483 +CONFIG_CLEAN_FILES =
35484 +am__installdirs = "$(DESTDIR)$(bindir)"
35485 +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
35486 +PROGRAMS = $(bin_PROGRAMS)
35487 +am_faad_OBJECTS = main.$(OBJEXT) audio.$(OBJEXT) getopt.$(OBJEXT)
35488 +faad_OBJECTS = $(am_faad_OBJECTS)
35489 +faad_DEPENDENCIES = $(top_builddir)/libfaad/libfaad.la \
35490 + $(top_builddir)/common/mp4ff/libmp4ff.a
35491 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
35492 +depcomp = $(SHELL) $(top_srcdir)/depcomp
35493 +am__depfiles_maybe = depfiles
35494 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
35495 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
35496 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
35497 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
35498 + $(AM_CFLAGS) $(CFLAGS)
35499 +CCLD = $(CC)
35500 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
35501 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
35502 +SOURCES = $(faad_SOURCES)
35503 +DIST_SOURCES = $(faad_SOURCES)
35504 +ETAGS = etags
35505 +CTAGS = ctags
35506 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
35507 +ACLOCAL = @ACLOCAL@
35508 +AMDEP_FALSE = @AMDEP_FALSE@
35509 +AMDEP_TRUE = @AMDEP_TRUE@
35510 +AMTAR = @AMTAR@
35511 +AR = @AR@
35512 +AUTOCONF = @AUTOCONF@
35513 +AUTOHEADER = @AUTOHEADER@
35514 +AUTOMAKE = @AUTOMAKE@
35515 +AWK = @AWK@
35516 +CC = @CC@
35517 +CCDEPMODE = @CCDEPMODE@
35518 +CFLAGS = @CFLAGS@
35519 +CPP = @CPP@
35520 +CPPFLAGS = @CPPFLAGS@
35521 +CXX = @CXX@
35522 +CXXCPP = @CXXCPP@
35523 +CXXDEPMODE = @CXXDEPMODE@
35524 +CXXFLAGS = @CXXFLAGS@
35525 +CYGPATH_W = @CYGPATH_W@
35526 +DEFS = @DEFS@
35527 +DEPDIR = @DEPDIR@
35528 +ECHO = @ECHO@
35529 +ECHO_C = @ECHO_C@
35530 +ECHO_N = @ECHO_N@
35531 +ECHO_T = @ECHO_T@
35532 +EGREP = @EGREP@
35533 +EXEEXT = @EXEEXT@
35534 +F77 = @F77@
35535 +FFLAGS = @FFLAGS@
35536 +GREP = @GREP@
35537 +GTK_CONFIG = @GTK_CONFIG@
35538 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
35539 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
35540 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
35541 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
35542 +INSTALL_DATA = @INSTALL_DATA@
35543 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
35544 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
35545 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
35546 +LDFLAGS = @LDFLAGS@
35547 +LIBOBJS = @LIBOBJS@
35548 +LIBS = @LIBS@
35549 +LIBTOOL = @LIBTOOL@
35550 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
35551 +LN_S = @LN_S@
35552 +LTLIBOBJS = @LTLIBOBJS@
35553 +MAKEINFO = @MAKEINFO@
35554 +MP4FF_LIBS = @MP4FF_LIBS@
35555 +OBJEXT = @OBJEXT@
35556 +PACKAGE = @PACKAGE@
35557 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
35558 +PACKAGE_NAME = @PACKAGE_NAME@
35559 +PACKAGE_STRING = @PACKAGE_STRING@
35560 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
35561 +PACKAGE_VERSION = @PACKAGE_VERSION@
35562 +PATH_SEPARATOR = @PATH_SEPARATOR@
35563 +RANLIB = @RANLIB@
35564 +RPMBUILD = @RPMBUILD@
35565 +SED = @SED@
35566 +SET_MAKE = @SET_MAKE@
35567 +SHELL = @SHELL@
35568 +STRIP = @STRIP@
35569 +VERSION = @VERSION@
35570 +XMMS_CFLAGS = @XMMS_CFLAGS@
35571 +XMMS_CONFIG = @XMMS_CONFIG@
35572 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
35573 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
35574 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
35575 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
35576 +XMMS_LIBS = @XMMS_LIBS@
35577 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
35578 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
35579 +XMMS_VERSION = @XMMS_VERSION@
35580 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
35581 +ac_ct_CC = @ac_ct_CC@
35582 +ac_ct_CXX = @ac_ct_CXX@
35583 +ac_ct_F77 = @ac_ct_F77@
35584 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
35585 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
35586 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
35587 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
35588 +am__include = @am__include@
35589 +am__leading_dot = @am__leading_dot@
35590 +am__quote = @am__quote@
35591 +am__tar = @am__tar@
35592 +am__untar = @am__untar@
35593 +bindir = @bindir@
35594 +build = @build@
35595 +build_alias = @build_alias@
35596 +build_cpu = @build_cpu@
35597 +build_os = @build_os@
35598 +build_vendor = @build_vendor@
35599 +datadir = @datadir@
35600 +datarootdir = @datarootdir@
35601 +docdir = @docdir@
35602 +dvidir = @dvidir@
35603 +exec_prefix = @exec_prefix@
35604 +external_mp4v2 = @external_mp4v2@
35605 +host = @host@
35606 +host_alias = @host_alias@
35607 +host_cpu = @host_cpu@
35608 +host_os = @host_os@
35609 +host_vendor = @host_vendor@
35610 +htmldir = @htmldir@
35611 +includedir = @includedir@
35612 +infodir = @infodir@
35613 +install_sh = @install_sh@
35614 +libdir = @libdir@
35615 +libexecdir = @libexecdir@
35616 +localedir = @localedir@
35617 +localstatedir = @localstatedir@
35618 +mandir = @mandir@
35619 +mkdir_p = @mkdir_p@
35620 +oldincludedir = @oldincludedir@
35621 +pdfdir = @pdfdir@
35622 +prefix = @prefix@
35623 +program_transform_name = @program_transform_name@
35624 +psdir = @psdir@
35625 +sbindir = @sbindir@
35626 +sharedstatedir = @sharedstatedir@
35627 +sysconfdir = @sysconfdir@
35628 +target_alias = @target_alias@
35629 +INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
35630 + -I$(top_srcdir)/common/mp4ff
35631 +
35632 +faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
35633 + $(top_builddir)/common/mp4ff/libmp4ff.a
35634 +
35635 +faad_SOURCES = main.c \
35636 + audio.c audio.h \
35637 + $(top_srcdir)/common/faad/getopt.c
35638 +
35639 +all: all-am
35640 +
35641 +.SUFFIXES:
35642 +.SUFFIXES: .c .lo .o .obj
35643 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
35644 + @for dep in $?; do \
35645 + case '$(am__configure_deps)' in \
35646 + *$$dep*) \
35647 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
35648 + && exit 0; \
35649 + exit 1;; \
35650 + esac; \
35651 + done; \
35652 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu frontend/Makefile'; \
35653 + cd $(top_srcdir) && \
35654 + $(AUTOMAKE) --gnu frontend/Makefile
35655 +.PRECIOUS: Makefile
35656 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
35657 + @case '$?' in \
35658 + *config.status*) \
35659 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
35660 + *) \
35661 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
35662 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
35663 + esac;
35664 +
35665 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
35666 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
35667 +
35668 +$(top_srcdir)/configure: $(am__configure_deps)
35669 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
35670 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
35671 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
35672 +install-binPROGRAMS: $(bin_PROGRAMS)
35673 + @$(NORMAL_INSTALL)
35674 + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
35675 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
35676 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
35677 + if test -f $$p \
35678 + || test -f $$p1 \
35679 + ; then \
35680 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
35681 + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
35682 + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
35683 + else :; fi; \
35684 + done
35685 +
35686 +uninstall-binPROGRAMS:
35687 + @$(NORMAL_UNINSTALL)
35688 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
35689 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
35690 + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
35691 + rm -f "$(DESTDIR)$(bindir)/$$f"; \
35692 + done
35693 +
35694 +clean-binPROGRAMS:
35695 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
35696 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
35697 + echo " rm -f $$p $$f"; \
35698 + rm -f $$p $$f ; \
35699 + done
35700 +faad$(EXEEXT): $(faad_OBJECTS) $(faad_DEPENDENCIES)
35701 + @rm -f faad$(EXEEXT)
35702 + $(LINK) $(faad_LDFLAGS) $(faad_OBJECTS) $(faad_LDADD) $(LIBS)
35703 +
35704 +mostlyclean-compile:
35705 + -rm -f *.$(OBJEXT)
35706 +
35707 +distclean-compile:
35708 + -rm -f *.tab.c
35709 +
35710 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/audio.Po@am__quote@
35711 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
35712 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
35713 +
35714 +.c.o:
35715 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
35716 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
35717 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
35718 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
35719 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
35720 +
35721 +.c.obj:
35722 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
35723 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
35724 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
35725 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
35726 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
35727 +
35728 +.c.lo:
35729 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
35730 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
35731 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
35732 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
35733 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
35734 +
35735 +getopt.o: $(top_srcdir)/common/faad/getopt.c
35736 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt.o -MD -MP -MF "$(DEPDIR)/getopt.Tpo" -c -o getopt.o `test -f '$(top_srcdir)/common/faad/getopt.c' || echo '$(srcdir)/'`$(top_srcdir)/common/faad/getopt.c; \
35737 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/getopt.Tpo" "$(DEPDIR)/getopt.Po"; else rm -f "$(DEPDIR)/getopt.Tpo"; exit 1; fi
35738 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(top_srcdir)/common/faad/getopt.c' object='getopt.o' libtool=no @AMDEPBACKSLASH@
35739 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
35740 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.o `test -f '$(top_srcdir)/common/faad/getopt.c' || echo '$(srcdir)/'`$(top_srcdir)/common/faad/getopt.c
35741 +
35742 +getopt.obj: $(top_srcdir)/common/faad/getopt.c
35743 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt.obj -MD -MP -MF "$(DEPDIR)/getopt.Tpo" -c -o getopt.obj `if test -f '$(top_srcdir)/common/faad/getopt.c'; then $(CYGPATH_W) '$(top_srcdir)/common/faad/getopt.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/common/faad/getopt.c'; fi`; \
35744 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/getopt.Tpo" "$(DEPDIR)/getopt.Po"; else rm -f "$(DEPDIR)/getopt.Tpo"; exit 1; fi
35745 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(top_srcdir)/common/faad/getopt.c' object='getopt.obj' libtool=no @AMDEPBACKSLASH@
35746 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
35747 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.obj `if test -f '$(top_srcdir)/common/faad/getopt.c'; then $(CYGPATH_W) '$(top_srcdir)/common/faad/getopt.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/common/faad/getopt.c'; fi`
35748 +
35749 +mostlyclean-libtool:
35750 + -rm -f *.lo
35751 +
35752 +clean-libtool:
35753 + -rm -rf .libs _libs
35754 +
35755 +distclean-libtool:
35756 + -rm -f libtool
35757 +uninstall-info-am:
35758 +
35759 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
35760 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
35761 + unique=`for i in $$list; do \
35762 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
35763 + done | \
35764 + $(AWK) ' { files[$$0] = 1; } \
35765 + END { for (i in files) print i; }'`; \
35766 + mkid -fID $$unique
35767 +tags: TAGS
35768 +
35769 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
35770 + $(TAGS_FILES) $(LISP)
35771 + tags=; \
35772 + here=`pwd`; \
35773 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
35774 + unique=`for i in $$list; do \
35775 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
35776 + done | \
35777 + $(AWK) ' { files[$$0] = 1; } \
35778 + END { for (i in files) print i; }'`; \
35779 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
35780 + test -n "$$unique" || unique=$$empty_fix; \
35781 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
35782 + $$tags $$unique; \
35783 + fi
35784 +ctags: CTAGS
35785 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
35786 + $(TAGS_FILES) $(LISP)
35787 + tags=; \
35788 + here=`pwd`; \
35789 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
35790 + unique=`for i in $$list; do \
35791 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
35792 + done | \
35793 + $(AWK) ' { files[$$0] = 1; } \
35794 + END { for (i in files) print i; }'`; \
35795 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
35796 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
35797 + $$tags $$unique
35798 +
35799 +GTAGS:
35800 + here=`$(am__cd) $(top_builddir) && pwd` \
35801 + && cd $(top_srcdir) \
35802 + && gtags -i $(GTAGS_ARGS) $$here
35803 +
35804 +distclean-tags:
35805 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
35806 +
35807 +distdir: $(DISTFILES)
35808 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
35809 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
35810 + list='$(DISTFILES)'; for file in $$list; do \
35811 + case $$file in \
35812 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
35813 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
35814 + esac; \
35815 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
35816 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
35817 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
35818 + dir="/$$dir"; \
35819 + $(mkdir_p) "$(distdir)$$dir"; \
35820 + else \
35821 + dir=''; \
35822 + fi; \
35823 + if test -d $$d/$$file; then \
35824 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
35825 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
35826 + fi; \
35827 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
35828 + else \
35829 + test -f $(distdir)/$$file \
35830 + || cp -p $$d/$$file $(distdir)/$$file \
35831 + || exit 1; \
35832 + fi; \
35833 + done
35834 +check-am: all-am
35835 +check: check-am
35836 +all-am: Makefile $(PROGRAMS)
35837 +installdirs:
35838 + for dir in "$(DESTDIR)$(bindir)"; do \
35839 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
35840 + done
35841 +install: install-am
35842 +install-exec: install-exec-am
35843 +install-data: install-data-am
35844 +uninstall: uninstall-am
35845 +
35846 +install-am: all-am
35847 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
35848 +
35849 +installcheck: installcheck-am
35850 +install-strip:
35851 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
35852 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
35853 + `test -z '$(STRIP)' || \
35854 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
35855 +mostlyclean-generic:
35856 +
35857 +clean-generic:
35858 +
35859 +distclean-generic:
35860 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
35861 +
35862 +maintainer-clean-generic:
35863 + @echo "This command is intended for maintainers to use"
35864 + @echo "it deletes files that may require special tools to rebuild."
35865 +clean: clean-am
35866 +
35867 +clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
35868 +
35869 +distclean: distclean-am
35870 + -rm -rf ./$(DEPDIR)
35871 + -rm -f Makefile
35872 +distclean-am: clean-am distclean-compile distclean-generic \
35873 + distclean-libtool distclean-tags
35874 +
35875 +dvi: dvi-am
35876 +
35877 +dvi-am:
35878 +
35879 +html: html-am
35880 +
35881 +info: info-am
35882 +
35883 +info-am:
35884 +
35885 +install-data-am:
35886 +
35887 +install-exec-am: install-binPROGRAMS
35888 +
35889 +install-info: install-info-am
35890 +
35891 +install-man:
35892 +
35893 +installcheck-am:
35894 +
35895 +maintainer-clean: maintainer-clean-am
35896 + -rm -rf ./$(DEPDIR)
35897 + -rm -f Makefile
35898 +maintainer-clean-am: distclean-am maintainer-clean-generic
35899 +
35900 +mostlyclean: mostlyclean-am
35901 +
35902 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
35903 + mostlyclean-libtool
35904 +
35905 +pdf: pdf-am
35906 +
35907 +pdf-am:
35908 +
35909 +ps: ps-am
35910 +
35911 +ps-am:
35912 +
35913 +uninstall-am: uninstall-binPROGRAMS uninstall-info-am
35914 +
35915 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
35916 + clean-generic clean-libtool ctags distclean distclean-compile \
35917 + distclean-generic distclean-libtool distclean-tags distdir dvi \
35918 + dvi-am html html-am info info-am install install-am \
35919 + install-binPROGRAMS install-data install-data-am install-exec \
35920 + install-exec-am install-info install-info-am install-man \
35921 + install-strip installcheck installcheck-am installdirs \
35922 + maintainer-clean maintainer-clean-generic mostlyclean \
35923 + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
35924 + pdf pdf-am ps ps-am tags uninstall uninstall-am \
35925 + uninstall-binPROGRAMS uninstall-info-am
35926 +
35927 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
35928 +# Otherwise a system limit (for SysV at least) may be exceeded.
35929 +.NOEXPORT:
35930 diff -urNad faad2-svn~/install-sh faad2-svn/install-sh
35931 --- faad2-svn~/install-sh 1970-01-01 01:00:00.000000000 +0100
35932 +++ faad2-svn/install-sh 2007-12-25 22:22:08.000000000 +0000
35933 @@ -0,0 +1,323 @@
35934 +#!/bin/sh
35935 +# install - install a program, script, or datafile
35936 +
35937 +scriptversion=2005-05-14.22
35938 +
35939 +# This originates from X11R5 (mit/util/scripts/install.sh), which was
35940 +# later released in X11R6 (xc/config/util/install.sh) with the
35941 +# following copyright and license.
35942 +#
35943 +# Copyright (C) 1994 X Consortium
35944 +#
35945 +# Permission is hereby granted, free of charge, to any person obtaining a copy
35946 +# of this software and associated documentation files (the "Software"), to
35947 +# deal in the Software without restriction, including without limitation the
35948 +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
35949 +# sell copies of the Software, and to permit persons to whom the Software is
35950 +# furnished to do so, subject to the following conditions:
35951 +#
35952 +# The above copyright notice and this permission notice shall be included in
35953 +# all copies or substantial portions of the Software.
35954 +#
35955 +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35956 +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35957 +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
35958 +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
35959 +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
35960 +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35961 +#
35962 +# Except as contained in this notice, the name of the X Consortium shall not
35963 +# be used in advertising or otherwise to promote the sale, use or other deal-
35964 +# ings in this Software without prior written authorization from the X Consor-
35965 +# tium.
35966 +#
35967 +#
35968 +# FSF changes to this file are in the public domain.
35969 +#
35970 +# Calling this script install-sh is preferred over install.sh, to prevent
35971 +# `make' implicit rules from creating a file called install from it
35972 +# when there is no Makefile.
35973 +#
35974 +# This script is compatible with the BSD install script, but was written
35975 +# from scratch. It can only install one file at a time, a restriction
35976 +# shared with many OS's install programs.
35977 +
35978 +# set DOITPROG to echo to test this script
35979 +
35980 +# Don't use :- since 4.3BSD and earlier shells don't like it.
35981 +doit="${DOITPROG-}"
35982 +
35983 +# put in absolute paths if you don't have them in your path; or use env. vars.
35984 +
35985 +mvprog="${MVPROG-mv}"
35986 +cpprog="${CPPROG-cp}"
35987 +chmodprog="${CHMODPROG-chmod}"
35988 +chownprog="${CHOWNPROG-chown}"
35989 +chgrpprog="${CHGRPPROG-chgrp}"
35990 +stripprog="${STRIPPROG-strip}"
35991 +rmprog="${RMPROG-rm}"
35992 +mkdirprog="${MKDIRPROG-mkdir}"
35993 +
35994 +chmodcmd="$chmodprog 0755"
35995 +chowncmd=
35996 +chgrpcmd=
35997 +stripcmd=
35998 +rmcmd="$rmprog -f"
35999 +mvcmd="$mvprog"
36000 +src=
36001 +dst=
36002 +dir_arg=
36003 +dstarg=
36004 +no_target_directory=
36005 +
36006 +usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
36007 + or: $0 [OPTION]... SRCFILES... DIRECTORY
36008 + or: $0 [OPTION]... -t DIRECTORY SRCFILES...
36009 + or: $0 [OPTION]... -d DIRECTORIES...
36010 +
36011 +In the 1st form, copy SRCFILE to DSTFILE.
36012 +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
36013 +In the 4th, create DIRECTORIES.
36014 +
36015 +Options:
36016 +-c (ignored)
36017 +-d create directories instead of installing files.
36018 +-g GROUP $chgrpprog installed files to GROUP.
36019 +-m MODE $chmodprog installed files to MODE.
36020 +-o USER $chownprog installed files to USER.
36021 +-s $stripprog installed files.
36022 +-t DIRECTORY install into DIRECTORY.
36023 +-T report an error if DSTFILE is a directory.
36024 +--help display this help and exit.
36025 +--version display version info and exit.
36026 +
36027 +Environment variables override the default commands:
36028 + CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
36029 +"
36030 +
36031 +while test -n "$1"; do
36032 + case $1 in
36033 + -c) shift
36034 + continue;;
36035 +
36036 + -d) dir_arg=true
36037 + shift
36038 + continue;;
36039 +
36040 + -g) chgrpcmd="$chgrpprog $2"
36041 + shift
36042 + shift
36043 + continue;;
36044 +
36045 + --help) echo "$usage"; exit $?;;
36046 +
36047 + -m) chmodcmd="$chmodprog $2"
36048 + shift
36049 + shift
36050 + continue;;
36051 +
36052 + -o) chowncmd="$chownprog $2"
36053 + shift
36054 + shift
36055 + continue;;
36056 +
36057 + -s) stripcmd=$stripprog
36058 + shift
36059 + continue;;
36060 +
36061 + -t) dstarg=$2
36062 + shift
36063 + shift
36064 + continue;;
36065 +
36066 + -T) no_target_directory=true
36067 + shift
36068 + continue;;
36069 +
36070 + --version) echo "$0 $scriptversion"; exit $?;;
36071 +
36072 + *) # When -d is used, all remaining arguments are directories to create.
36073 + # When -t is used, the destination is already specified.
36074 + test -n "$dir_arg$dstarg" && break
36075 + # Otherwise, the last argument is the destination. Remove it from $@.
36076 + for arg
36077 + do
36078 + if test -n "$dstarg"; then
36079 + # $@ is not empty: it contains at least $arg.
36080 + set fnord "$@" "$dstarg"
36081 + shift # fnord
36082 + fi
36083 + shift # arg
36084 + dstarg=$arg
36085 + done
36086 + break;;
36087 + esac
36088 +done
36089 +
36090 +if test -z "$1"; then
36091 + if test -z "$dir_arg"; then
36092 + echo "$0: no input file specified." >&2
36093 + exit 1
36094 + fi
36095 + # It's OK to call `install-sh -d' without argument.
36096 + # This can happen when creating conditional directories.
36097 + exit 0
36098 +fi
36099 +
36100 +for src
36101 +do
36102 + # Protect names starting with `-'.
36103 + case $src in
36104 + -*) src=./$src ;;
36105 + esac
36106 +
36107 + if test -n "$dir_arg"; then
36108 + dst=$src
36109 + src=
36110 +
36111 + if test -d "$dst"; then
36112 + mkdircmd=:
36113 + chmodcmd=
36114 + else
36115 + mkdircmd=$mkdirprog
36116 + fi
36117 + else
36118 + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
36119 + # might cause directories to be created, which would be especially bad
36120 + # if $src (and thus $dsttmp) contains '*'.
36121 + if test ! -f "$src" && test ! -d "$src"; then
36122 + echo "$0: $src does not exist." >&2
36123 + exit 1
36124 + fi
36125 +
36126 + if test -z "$dstarg"; then
36127 + echo "$0: no destination specified." >&2
36128 + exit 1
36129 + fi
36130 +
36131 + dst=$dstarg
36132 + # Protect names starting with `-'.
36133 + case $dst in
36134 + -*) dst=./$dst ;;
36135 + esac
36136 +
36137 + # If destination is a directory, append the input filename; won't work
36138 + # if double slashes aren't ignored.
36139 + if test -d "$dst"; then
36140 + if test -n "$no_target_directory"; then
36141 + echo "$0: $dstarg: Is a directory" >&2
36142 + exit 1
36143 + fi
36144 + dst=$dst/`basename "$src"`
36145 + fi
36146 + fi
36147 +
36148 + # This sed command emulates the dirname command.
36149 + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
36150 +
36151 + # Make sure that the destination directory exists.
36152 +
36153 + # Skip lots of stat calls in the usual case.
36154 + if test ! -d "$dstdir"; then
36155 + defaultIFS='
36156 + '
36157 + IFS="${IFS-$defaultIFS}"
36158 +
36159 + oIFS=$IFS
36160 + # Some sh's can't handle IFS=/ for some reason.
36161 + IFS='%'
36162 + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
36163 + shift
36164 + IFS=$oIFS
36165 +
36166 + pathcomp=
36167 +
36168 + while test $# -ne 0 ; do
36169 + pathcomp=$pathcomp$1
36170 + shift
36171 + if test ! -d "$pathcomp"; then
36172 + $mkdirprog "$pathcomp"
36173 + # mkdir can fail with a `File exist' error in case several
36174 + # install-sh are creating the directory concurrently. This
36175 + # is OK.
36176 + test -d "$pathcomp" || exit
36177 + fi
36178 + pathcomp=$pathcomp/
36179 + done
36180 + fi
36181 +
36182 + if test -n "$dir_arg"; then
36183 + $doit $mkdircmd "$dst" \
36184 + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
36185 + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
36186 + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
36187 + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
36188 +
36189 + else
36190 + dstfile=`basename "$dst"`
36191 +
36192 + # Make a couple of temp file names in the proper directory.
36193 + dsttmp=$dstdir/_inst.$$_
36194 + rmtmp=$dstdir/_rm.$$_
36195 +
36196 + # Trap to clean up those temp files at exit.
36197 + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
36198 + trap '(exit $?); exit' 1 2 13 15
36199 +
36200 + # Copy the file name to the temp name.
36201 + $doit $cpprog "$src" "$dsttmp" &&
36202 +
36203 + # and set any options; do chmod last to preserve setuid bits.
36204 + #
36205 + # If any of these fail, we abort the whole thing. If we want to
36206 + # ignore errors from any of these, just make sure not to ignore
36207 + # errors from the above "$doit $cpprog $src $dsttmp" command.
36208 + #
36209 + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
36210 + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
36211 + && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
36212 + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
36213 +
36214 + # Now rename the file to the real destination.
36215 + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
36216 + || {
36217 + # The rename failed, perhaps because mv can't rename something else
36218 + # to itself, or perhaps because mv is so ancient that it does not
36219 + # support -f.
36220 +
36221 + # Now remove or move aside any old file at destination location.
36222 + # We try this two ways since rm can't unlink itself on some
36223 + # systems and the destination file might be busy for other
36224 + # reasons. In this case, the final cleanup might fail but the new
36225 + # file should still install successfully.
36226 + {
36227 + if test -f "$dstdir/$dstfile"; then
36228 + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
36229 + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
36230 + || {
36231 + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
36232 + (exit 1); exit 1
36233 + }
36234 + else
36235 + :
36236 + fi
36237 + } &&
36238 +
36239 + # Now rename the file to the real destination.
36240 + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
36241 + }
36242 + }
36243 + fi || { (exit 1); exit 1; }
36244 +done
36245 +
36246 +# The final little trick to "correctly" pass the exit status to the exit trap.
36247 +{
36248 + (exit 0); exit 0
36249 +}
36250 +
36251 +# Local variables:
36252 +# eval: (add-hook 'write-file-hooks 'time-stamp)
36253 +# time-stamp-start: "scriptversion="
36254 +# time-stamp-format: "%:y-%02m-%02d.%02H"
36255 +# time-stamp-end: "$"
36256 +# End:
36257 diff -urNad faad2-svn~/libfaad/Makefile.in faad2-svn/libfaad/Makefile.in
36258 --- faad2-svn~/libfaad/Makefile.in 1970-01-01 01:00:00.000000000 +0100
36259 +++ faad2-svn/libfaad/Makefile.in 2007-12-25 22:22:08.000000000 +0000
36260 @@ -0,0 +1,567 @@
36261 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
36262 +# @configure_input@
36263 +
36264 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
36265 +# 2003, 2004, 2005 Free Software Foundation, Inc.
36266 +# This Makefile.in is free software; the Free Software Foundation
36267 +# gives unlimited permission to copy and/or distribute it,
36268 +# with or without modifications, as long as this notice is preserved.
36269 +
36270 +# This program is distributed in the hope that it will be useful,
36271 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
36272 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
36273 +# PARTICULAR PURPOSE.
36274 +
36275 +@SET_MAKE@
36276 +
36277 +
36278 +srcdir = @srcdir@
36279 +top_srcdir = @top_srcdir@
36280 +VPATH = @srcdir@
36281 +pkgdatadir = $(datadir)/@PACKAGE@
36282 +pkglibdir = $(libdir)/@PACKAGE@
36283 +pkgincludedir = $(includedir)/@PACKAGE@
36284 +top_builddir = ..
36285 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
36286 +INSTALL = @INSTALL@
36287 +install_sh_DATA = $(install_sh) -c -m 644
36288 +install_sh_PROGRAM = $(install_sh) -c
36289 +install_sh_SCRIPT = $(install_sh) -c
36290 +INSTALL_HEADER = $(INSTALL_DATA)
36291 +transform = $(program_transform_name)
36292 +NORMAL_INSTALL = :
36293 +PRE_INSTALL = :
36294 +POST_INSTALL = :
36295 +NORMAL_UNINSTALL = :
36296 +PRE_UNINSTALL = :
36297 +POST_UNINSTALL = :
36298 +build_triplet = @build@
36299 +host_triplet = @host@
36300 +subdir = libfaad
36301 +DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
36302 + $(srcdir)/Makefile.in
36303 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
36304 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
36305 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
36306 + $(ACLOCAL_M4)
36307 +mkinstalldirs = $(install_sh) -d
36308 +CONFIG_HEADER = $(top_builddir)/config.h
36309 +CONFIG_CLEAN_FILES =
36310 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
36311 +am__vpath_adj = case $$p in \
36312 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
36313 + *) f=$$p;; \
36314 + esac;
36315 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
36316 +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
36317 +libLTLIBRARIES_INSTALL = $(INSTALL)
36318 +LTLIBRARIES = $(lib_LTLIBRARIES)
36319 +libfaad_la_LIBADD =
36320 +am_libfaad_la_OBJECTS = bits.lo cfft.lo decoder.lo drc.lo drm_dec.lo \
36321 + error.lo filtbank.lo ic_predict.lo is.lo lt_predict.lo mdct.lo \
36322 + mp4.lo ms.lo output.lo pns.lo ps_dec.lo ps_syntax.lo pulse.lo \
36323 + specrec.lo syntax.lo tns.lo hcr.lo huffman.lo rvlc.lo ssr.lo \
36324 + ssr_fb.lo ssr_ipqf.lo common.lo sbr_dct.lo sbr_e_nf.lo \
36325 + sbr_fbt.lo sbr_hfadj.lo sbr_hfgen.lo sbr_huff.lo sbr_qmf.lo \
36326 + sbr_syntax.lo sbr_tf_grid.lo sbr_dec.lo
36327 +libfaad_la_OBJECTS = $(am_libfaad_la_OBJECTS)
36328 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
36329 +depcomp = $(SHELL) $(top_srcdir)/depcomp
36330 +am__depfiles_maybe = depfiles
36331 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
36332 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
36333 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
36334 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
36335 + $(AM_CFLAGS) $(CFLAGS)
36336 +CCLD = $(CC)
36337 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
36338 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
36339 +SOURCES = $(libfaad_la_SOURCES)
36340 +DIST_SOURCES = $(libfaad_la_SOURCES)
36341 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
36342 +HEADERS = $(include_HEADERS)
36343 +ETAGS = etags
36344 +CTAGS = ctags
36345 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
36346 +ACLOCAL = @ACLOCAL@
36347 +AMDEP_FALSE = @AMDEP_FALSE@
36348 +AMDEP_TRUE = @AMDEP_TRUE@
36349 +AMTAR = @AMTAR@
36350 +AR = @AR@
36351 +AUTOCONF = @AUTOCONF@
36352 +AUTOHEADER = @AUTOHEADER@
36353 +AUTOMAKE = @AUTOMAKE@
36354 +AWK = @AWK@
36355 +CC = @CC@
36356 +CCDEPMODE = @CCDEPMODE@
36357 +CFLAGS = @CFLAGS@
36358 +CPP = @CPP@
36359 +CPPFLAGS = @CPPFLAGS@
36360 +CXX = @CXX@
36361 +CXXCPP = @CXXCPP@
36362 +CXXDEPMODE = @CXXDEPMODE@
36363 +CXXFLAGS = @CXXFLAGS@
36364 +CYGPATH_W = @CYGPATH_W@
36365 +DEFS = @DEFS@
36366 +DEPDIR = @DEPDIR@
36367 +ECHO = @ECHO@
36368 +ECHO_C = @ECHO_C@
36369 +ECHO_N = @ECHO_N@
36370 +ECHO_T = @ECHO_T@
36371 +EGREP = @EGREP@
36372 +EXEEXT = @EXEEXT@
36373 +F77 = @F77@
36374 +FFLAGS = @FFLAGS@
36375 +GREP = @GREP@
36376 +GTK_CONFIG = @GTK_CONFIG@
36377 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
36378 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
36379 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
36380 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
36381 +INSTALL_DATA = @INSTALL_DATA@
36382 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
36383 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
36384 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
36385 +LDFLAGS = @LDFLAGS@
36386 +LIBOBJS = @LIBOBJS@
36387 +LIBS = @LIBS@
36388 +LIBTOOL = @LIBTOOL@
36389 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
36390 +LN_S = @LN_S@
36391 +LTLIBOBJS = @LTLIBOBJS@
36392 +MAKEINFO = @MAKEINFO@
36393 +MP4FF_LIBS = @MP4FF_LIBS@
36394 +OBJEXT = @OBJEXT@
36395 +PACKAGE = @PACKAGE@
36396 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
36397 +PACKAGE_NAME = @PACKAGE_NAME@
36398 +PACKAGE_STRING = @PACKAGE_STRING@
36399 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
36400 +PACKAGE_VERSION = @PACKAGE_VERSION@
36401 +PATH_SEPARATOR = @PATH_SEPARATOR@
36402 +RANLIB = @RANLIB@
36403 +RPMBUILD = @RPMBUILD@
36404 +SED = @SED@
36405 +SET_MAKE = @SET_MAKE@
36406 +SHELL = @SHELL@
36407 +STRIP = @STRIP@
36408 +VERSION = @VERSION@
36409 +XMMS_CFLAGS = @XMMS_CFLAGS@
36410 +XMMS_CONFIG = @XMMS_CONFIG@
36411 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
36412 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
36413 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
36414 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
36415 +XMMS_LIBS = @XMMS_LIBS@
36416 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
36417 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
36418 +XMMS_VERSION = @XMMS_VERSION@
36419 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
36420 +ac_ct_CC = @ac_ct_CC@
36421 +ac_ct_CXX = @ac_ct_CXX@
36422 +ac_ct_F77 = @ac_ct_F77@
36423 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
36424 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
36425 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
36426 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
36427 +am__include = @am__include@
36428 +am__leading_dot = @am__leading_dot@
36429 +am__quote = @am__quote@
36430 +am__tar = @am__tar@
36431 +am__untar = @am__untar@
36432 +bindir = @bindir@
36433 +build = @build@
36434 +build_alias = @build_alias@
36435 +build_cpu = @build_cpu@
36436 +build_os = @build_os@
36437 +build_vendor = @build_vendor@
36438 +datadir = @datadir@
36439 +datarootdir = @datarootdir@
36440 +docdir = @docdir@
36441 +dvidir = @dvidir@
36442 +exec_prefix = @exec_prefix@
36443 +external_mp4v2 = @external_mp4v2@
36444 +host = @host@
36445 +host_alias = @host_alias@
36446 +host_cpu = @host_cpu@
36447 +host_os = @host_os@
36448 +host_vendor = @host_vendor@
36449 +htmldir = @htmldir@
36450 +includedir = @includedir@
36451 +infodir = @infodir@
36452 +install_sh = @install_sh@
36453 +libdir = @libdir@
36454 +libexecdir = @libexecdir@
36455 +localedir = @localedir@
36456 +localstatedir = @localstatedir@
36457 +mandir = @mandir@
36458 +mkdir_p = @mkdir_p@
36459 +oldincludedir = @oldincludedir@
36460 +pdfdir = @pdfdir@
36461 +prefix = @prefix@
36462 +program_transform_name = @program_transform_name@
36463 +psdir = @psdir@
36464 +sbindir = @sbindir@
36465 +sharedstatedir = @sharedstatedir@
36466 +sysconfdir = @sysconfdir@
36467 +target_alias = @target_alias@
36468 +lib_LTLIBRARIES = libfaad.la
36469 +AM_CFLAGS = -iquote $(top_srcdir)/include
36470 +include_HEADERS = $(top_srcdir)/include/faad.h \
36471 + $(top_srcdir)/include/neaacdec.h
36472 +
36473 +libfaad_la_LDFLAGS = -lm
36474 +libfaad_la_SOURCES = bits.c cfft.c decoder.c drc.c \
36475 + drm_dec.c error.c filtbank.c \
36476 + ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c \
36477 + ps_dec.c ps_syntax.c \
36478 + pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \
36479 + rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \
36480 + sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \
36481 + sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c \
36482 + analysis.h bits.h cfft.h cfft_tab.h common.h \
36483 + decoder.h drc.h drm_dec.h error.h fixed.h filtbank.h \
36484 + huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h \
36485 + mdct.h mdct_tab.h mp4.h ms.h output.h pns.h ps_dec.h ps_tables.h \
36486 + pulse.h rvlc.h \
36487 + sbr_dct.h sbr_dec.h sbr_e_nf.h sbr_fbt.h sbr_hfadj.h sbr_hfgen.h \
36488 + sbr_huff.h sbr_noise.h sbr_qmf.h sbr_syntax.h sbr_tf_grid.h \
36489 + sine_win.h specrec.h ssr.h ssr_fb.h ssr_ipqf.h \
36490 + ssr_win.h syntax.h structs.h tns.h \
36491 + sbr_qmf_c.h codebook/hcb.h \
36492 + codebook/hcb_1.h codebook/hcb_2.h codebook/hcb_3.h codebook/hcb_4.h \
36493 + codebook/hcb_5.h codebook/hcb_6.h codebook/hcb_7.h codebook/hcb_8.h \
36494 + codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h
36495 +
36496 +all: all-am
36497 +
36498 +.SUFFIXES:
36499 +.SUFFIXES: .c .lo .o .obj
36500 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
36501 + @for dep in $?; do \
36502 + case '$(am__configure_deps)' in \
36503 + *$$dep*) \
36504 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
36505 + && exit 0; \
36506 + exit 1;; \
36507 + esac; \
36508 + done; \
36509 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libfaad/Makefile'; \
36510 + cd $(top_srcdir) && \
36511 + $(AUTOMAKE) --gnu libfaad/Makefile
36512 +.PRECIOUS: Makefile
36513 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
36514 + @case '$?' in \
36515 + *config.status*) \
36516 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
36517 + *) \
36518 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
36519 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
36520 + esac;
36521 +
36522 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
36523 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
36524 +
36525 +$(top_srcdir)/configure: $(am__configure_deps)
36526 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
36527 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
36528 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
36529 +install-libLTLIBRARIES: $(lib_LTLIBRARIES)
36530 + @$(NORMAL_INSTALL)
36531 + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
36532 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
36533 + if test -f $$p; then \
36534 + f=$(am__strip_dir) \
36535 + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
36536 + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
36537 + else :; fi; \
36538 + done
36539 +
36540 +uninstall-libLTLIBRARIES:
36541 + @$(NORMAL_UNINSTALL)
36542 + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
36543 + p=$(am__strip_dir) \
36544 + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
36545 + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
36546 + done
36547 +
36548 +clean-libLTLIBRARIES:
36549 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
36550 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
36551 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
36552 + test "$$dir" != "$$p" || dir=.; \
36553 + echo "rm -f \"$${dir}/so_locations\""; \
36554 + rm -f "$${dir}/so_locations"; \
36555 + done
36556 +libfaad.la: $(libfaad_la_OBJECTS) $(libfaad_la_DEPENDENCIES)
36557 + $(LINK) -rpath $(libdir) $(libfaad_la_LDFLAGS) $(libfaad_la_OBJECTS) $(libfaad_la_LIBADD) $(LIBS)
36558 +
36559 +mostlyclean-compile:
36560 + -rm -f *.$(OBJEXT)
36561 +
36562 +distclean-compile:
36563 + -rm -f *.tab.c
36564 +
36565 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bits.Plo@am__quote@
36566 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cfft.Plo@am__quote@
36567 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Plo@am__quote@
36568 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decoder.Plo@am__quote@
36569 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drc.Plo@am__quote@
36570 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drm_dec.Plo@am__quote@
36571 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@
36572 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filtbank.Plo@am__quote@
36573 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hcr.Plo@am__quote@
36574 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/huffman.Plo@am__quote@
36575 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ic_predict.Plo@am__quote@
36576 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/is.Plo@am__quote@
36577 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lt_predict.Plo@am__quote@
36578 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mdct.Plo@am__quote@
36579 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mp4.Plo@am__quote@
36580 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ms.Plo@am__quote@
36581 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Plo@am__quote@
36582 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pns.Plo@am__quote@
36583 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ps_dec.Plo@am__quote@
36584 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ps_syntax.Plo@am__quote@
36585 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pulse.Plo@am__quote@
36586 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rvlc.Plo@am__quote@
36587 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_dct.Plo@am__quote@
36588 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_dec.Plo@am__quote@
36589 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_e_nf.Plo@am__quote@
36590 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_fbt.Plo@am__quote@
36591 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_hfadj.Plo@am__quote@
36592 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_hfgen.Plo@am__quote@
36593 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_huff.Plo@am__quote@
36594 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_qmf.Plo@am__quote@
36595 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_syntax.Plo@am__quote@
36596 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sbr_tf_grid.Plo@am__quote@
36597 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/specrec.Plo@am__quote@
36598 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssr.Plo@am__quote@
36599 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssr_fb.Plo@am__quote@
36600 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssr_ipqf.Plo@am__quote@
36601 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syntax.Plo@am__quote@
36602 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tns.Plo@am__quote@
36603 +
36604 +.c.o:
36605 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
36606 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
36607 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
36608 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
36609 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
36610 +
36611 +.c.obj:
36612 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
36613 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
36614 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
36615 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
36616 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
36617 +
36618 +.c.lo:
36619 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
36620 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
36621 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
36622 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
36623 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
36624 +
36625 +mostlyclean-libtool:
36626 + -rm -f *.lo
36627 +
36628 +clean-libtool:
36629 + -rm -rf .libs _libs
36630 +
36631 +distclean-libtool:
36632 + -rm -f libtool
36633 +uninstall-info-am:
36634 +install-includeHEADERS: $(include_HEADERS)
36635 + @$(NORMAL_INSTALL)
36636 + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
36637 + @list='$(include_HEADERS)'; for p in $$list; do \
36638 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
36639 + f=$(am__strip_dir) \
36640 + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
36641 + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
36642 + done
36643 +
36644 +uninstall-includeHEADERS:
36645 + @$(NORMAL_UNINSTALL)
36646 + @list='$(include_HEADERS)'; for p in $$list; do \
36647 + f=$(am__strip_dir) \
36648 + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
36649 + rm -f "$(DESTDIR)$(includedir)/$$f"; \
36650 + done
36651 +
36652 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
36653 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
36654 + unique=`for i in $$list; do \
36655 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
36656 + done | \
36657 + $(AWK) ' { files[$$0] = 1; } \
36658 + END { for (i in files) print i; }'`; \
36659 + mkid -fID $$unique
36660 +tags: TAGS
36661 +
36662 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
36663 + $(TAGS_FILES) $(LISP)
36664 + tags=; \
36665 + here=`pwd`; \
36666 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
36667 + unique=`for i in $$list; do \
36668 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
36669 + done | \
36670 + $(AWK) ' { files[$$0] = 1; } \
36671 + END { for (i in files) print i; }'`; \
36672 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
36673 + test -n "$$unique" || unique=$$empty_fix; \
36674 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
36675 + $$tags $$unique; \
36676 + fi
36677 +ctags: CTAGS
36678 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
36679 + $(TAGS_FILES) $(LISP)
36680 + tags=; \
36681 + here=`pwd`; \
36682 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
36683 + unique=`for i in $$list; do \
36684 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
36685 + done | \
36686 + $(AWK) ' { files[$$0] = 1; } \
36687 + END { for (i in files) print i; }'`; \
36688 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
36689 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
36690 + $$tags $$unique
36691 +
36692 +GTAGS:
36693 + here=`$(am__cd) $(top_builddir) && pwd` \
36694 + && cd $(top_srcdir) \
36695 + && gtags -i $(GTAGS_ARGS) $$here
36696 +
36697 +distclean-tags:
36698 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
36699 +
36700 +distdir: $(DISTFILES)
36701 + $(mkdir_p) $(distdir)/../include
36702 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
36703 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
36704 + list='$(DISTFILES)'; for file in $$list; do \
36705 + case $$file in \
36706 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
36707 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
36708 + esac; \
36709 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
36710 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
36711 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
36712 + dir="/$$dir"; \
36713 + $(mkdir_p) "$(distdir)$$dir"; \
36714 + else \
36715 + dir=''; \
36716 + fi; \
36717 + if test -d $$d/$$file; then \
36718 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
36719 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
36720 + fi; \
36721 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
36722 + else \
36723 + test -f $(distdir)/$$file \
36724 + || cp -p $$d/$$file $(distdir)/$$file \
36725 + || exit 1; \
36726 + fi; \
36727 + done
36728 +check-am: all-am
36729 +check: check-am
36730 +all-am: Makefile $(LTLIBRARIES) $(HEADERS)
36731 +installdirs:
36732 + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
36733 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
36734 + done
36735 +install: install-am
36736 +install-exec: install-exec-am
36737 +install-data: install-data-am
36738 +uninstall: uninstall-am
36739 +
36740 +install-am: all-am
36741 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
36742 +
36743 +installcheck: installcheck-am
36744 +install-strip:
36745 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
36746 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
36747 + `test -z '$(STRIP)' || \
36748 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
36749 +mostlyclean-generic:
36750 +
36751 +clean-generic:
36752 +
36753 +distclean-generic:
36754 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
36755 +
36756 +maintainer-clean-generic:
36757 + @echo "This command is intended for maintainers to use"
36758 + @echo "it deletes files that may require special tools to rebuild."
36759 +clean: clean-am
36760 +
36761 +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
36762 + mostlyclean-am
36763 +
36764 +distclean: distclean-am
36765 + -rm -rf ./$(DEPDIR)
36766 + -rm -f Makefile
36767 +distclean-am: clean-am distclean-compile distclean-generic \
36768 + distclean-libtool distclean-tags
36769 +
36770 +dvi: dvi-am
36771 +
36772 +dvi-am:
36773 +
36774 +html: html-am
36775 +
36776 +info: info-am
36777 +
36778 +info-am:
36779 +
36780 +install-data-am: install-includeHEADERS
36781 +
36782 +install-exec-am: install-libLTLIBRARIES
36783 +
36784 +install-info: install-info-am
36785 +
36786 +install-man:
36787 +
36788 +installcheck-am:
36789 +
36790 +maintainer-clean: maintainer-clean-am
36791 + -rm -rf ./$(DEPDIR)
36792 + -rm -f Makefile
36793 +maintainer-clean-am: distclean-am maintainer-clean-generic
36794 +
36795 +mostlyclean: mostlyclean-am
36796 +
36797 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
36798 + mostlyclean-libtool
36799 +
36800 +pdf: pdf-am
36801 +
36802 +pdf-am:
36803 +
36804 +ps: ps-am
36805 +
36806 +ps-am:
36807 +
36808 +uninstall-am: uninstall-includeHEADERS uninstall-info-am \
36809 + uninstall-libLTLIBRARIES
36810 +
36811 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
36812 + clean-libLTLIBRARIES clean-libtool ctags distclean \
36813 + distclean-compile distclean-generic distclean-libtool \
36814 + distclean-tags distdir dvi dvi-am html html-am info info-am \
36815 + install install-am install-data install-data-am install-exec \
36816 + install-exec-am install-includeHEADERS install-info \
36817 + install-info-am install-libLTLIBRARIES install-man \
36818 + install-strip installcheck installcheck-am installdirs \
36819 + maintainer-clean maintainer-clean-generic mostlyclean \
36820 + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
36821 + pdf pdf-am ps ps-am tags uninstall uninstall-am \
36822 + uninstall-includeHEADERS uninstall-info-am \
36823 + uninstall-libLTLIBRARIES
36824 +
36825 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
36826 +# Otherwise a system limit (for SysV at least) may be exceeded.
36827 +.NOEXPORT:
36828 diff -urNad faad2-svn~/ltmain.sh faad2-svn/ltmain.sh
36829 --- faad2-svn~/ltmain.sh 1970-01-01 01:00:00.000000000 +0100
36830 +++ faad2-svn/ltmain.sh 2007-12-25 22:22:08.000000000 +0000
36831 @@ -0,0 +1,6938 @@
36832 +# ltmain.sh - Provide generalized library-building support services.
36833 +# NOTE: Changing this file will not affect anything until you rerun configure.
36834 +#
36835 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
36836 +# 2007 Free Software Foundation, Inc.
36837 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
36838 +#
36839 +# This program is free software; you can redistribute it and/or modify
36840 +# it under the terms of the GNU General Public License as published by
36841 +# the Free Software Foundation; either version 2 of the License, or
36842 +# (at your option) any later version.
36843 +#
36844 +# This program is distributed in the hope that it will be useful, but
36845 +# WITHOUT ANY WARRANTY; without even the implied warranty of
36846 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36847 +# General Public License for more details.
36848 +#
36849 +# You should have received a copy of the GNU General Public License
36850 +# along with this program; if not, write to the Free Software
36851 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36852 +#
36853 +# As a special exception to the GNU General Public License, if you
36854 +# distribute this file as part of a program that contains a
36855 +# configuration script generated by Autoconf, you may include it under
36856 +# the same distribution terms that you use for the rest of that program.
36857 +
36858 +basename="s,^.*/,,g"
36859 +
36860 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
36861 +# is ksh but when the shell is invoked as "sh" and the current value of
36862 +# the _XPG environment variable is not equal to 1 (one), the special
36863 +# positional parameter $0, within a function call, is the name of the
36864 +# function.
36865 +progpath="$0"
36866 +
36867 +# The name of this program:
36868 +progname=`echo "$progpath" | $SED $basename`
36869 +modename="$progname"
36870 +
36871 +# Global variables:
36872 +EXIT_SUCCESS=0
36873 +EXIT_FAILURE=1
36874 +
36875 +PROGRAM=ltmain.sh
36876 +PACKAGE=libtool
36877 +VERSION="1.5.24 Debian 1.5.24-2"
36878 +TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)"
36879 +
36880 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
36881 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36882 + emulate sh
36883 + NULLCMD=:
36884 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36885 + # is contrary to our usage. Disable this feature.
36886 + alias -g '${1+"$@"}'='"$@"'
36887 + setopt NO_GLOB_SUBST
36888 +else
36889 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
36890 +fi
36891 +BIN_SH=xpg4; export BIN_SH # for Tru64
36892 +DUALCASE=1; export DUALCASE # for MKS sh
36893 +
36894 +# Check that we have a working $echo.
36895 +if test "X$1" = X--no-reexec; then
36896 + # Discard the --no-reexec flag, and continue.
36897 + shift
36898 +elif test "X$1" = X--fallback-echo; then
36899 + # Avoid inline document here, it may be left over
36900 + :
36901 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
36902 + # Yippee, $echo works!
36903 + :
36904 +else
36905 + # Restart under the correct shell, and then maybe $echo will work.
36906 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
36907 +fi
36908 +
36909 +if test "X$1" = X--fallback-echo; then
36910 + # used as fallback echo
36911 + shift
36912 + cat <<EOF
36913 +$*
36914 +EOF
36915 + exit $EXIT_SUCCESS
36916 +fi
36917 +
36918 +default_mode=
36919 +help="Try \`$progname --help' for more information."
36920 +magic="%%%MAGIC variable%%%"
36921 +mkdir="mkdir"
36922 +mv="mv -f"
36923 +rm="rm -f"
36924 +
36925 +# Sed substitution that helps us do robust quoting. It backslashifies
36926 +# metacharacters that are still active within double-quoted strings.
36927 +Xsed="${SED}"' -e 1s/^X//'
36928 +sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
36929 +# test EBCDIC or ASCII
36930 +case `echo X|tr X '\101'` in
36931 + A) # ASCII based system
36932 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
36933 + SP2NL='tr \040 \012'
36934 + NL2SP='tr \015\012 \040\040'
36935 + ;;
36936 + *) # EBCDIC based system
36937 + SP2NL='tr \100 \n'
36938 + NL2SP='tr \r\n \100\100'
36939 + ;;
36940 +esac
36941 +
36942 +# NLS nuisances.
36943 +# Only set LANG and LC_ALL to C if already set.
36944 +# These must not be set unconditionally because not all systems understand
36945 +# e.g. LANG=C (notably SCO).
36946 +# We save the old values to restore during execute mode.
36947 +for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
36948 +do
36949 + eval "if test \"\${$lt_var+set}\" = set; then
36950 + save_$lt_var=\$$lt_var
36951 + $lt_var=C
36952 + export $lt_var
36953 + fi"
36954 +done
36955 +
36956 +# Make sure IFS has a sensible default
36957 +lt_nl='
36958 +'
36959 +IFS=" $lt_nl"
36960 +
36961 +if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
36962 + $echo "$modename: not configured to build any kind of library" 1>&2
36963 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
36964 + exit $EXIT_FAILURE
36965 +fi
36966 +
36967 +# Global variables.
36968 +mode=$default_mode
36969 +nonopt=
36970 +prev=
36971 +prevopt=
36972 +run=
36973 +show="$echo"
36974 +show_help=
36975 +execute_dlfiles=
36976 +duplicate_deps=no
36977 +preserve_args=
36978 +lo2o="s/\\.lo\$/.${objext}/"
36979 +o2lo="s/\\.${objext}\$/.lo/"
36980 +extracted_archives=
36981 +extracted_serial=0
36982 +
36983 +#####################################
36984 +# Shell function definitions:
36985 +# This seems to be the best place for them
36986 +
36987 +# func_mktempdir [string]
36988 +# Make a temporary directory that won't clash with other running
36989 +# libtool processes, and avoids race conditions if possible. If
36990 +# given, STRING is the basename for that directory.
36991 +func_mktempdir ()
36992 +{
36993 + my_template="${TMPDIR-/tmp}/${1-$progname}"
36994 +
36995 + if test "$run" = ":"; then
36996 + # Return a directory name, but don't create it in dry-run mode
36997 + my_tmpdir="${my_template}-$$"
36998 + else
36999 +
37000 + # If mktemp works, use that first and foremost
37001 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
37002 +
37003 + if test ! -d "$my_tmpdir"; then
37004 + # Failing that, at least try and use $RANDOM to avoid a race
37005 + my_tmpdir="${my_template}-${RANDOM-0}$$"
37006 +
37007 + save_mktempdir_umask=`umask`
37008 + umask 0077
37009 + $mkdir "$my_tmpdir"
37010 + umask $save_mktempdir_umask
37011 + fi
37012 +
37013 + # If we're not in dry-run mode, bomb out on failure
37014 + test -d "$my_tmpdir" || {
37015 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
37016 + exit $EXIT_FAILURE
37017 + }
37018 + fi
37019 +
37020 + $echo "X$my_tmpdir" | $Xsed
37021 +}
37022 +
37023 +
37024 +# func_win32_libid arg
37025 +# return the library type of file 'arg'
37026 +#
37027 +# Need a lot of goo to handle *both* DLLs and import libs
37028 +# Has to be a shell function in order to 'eat' the argument
37029 +# that is supplied when $file_magic_command is called.
37030 +func_win32_libid ()
37031 +{
37032 + win32_libid_type="unknown"
37033 + win32_fileres=`file -L $1 2>/dev/null`
37034 + case $win32_fileres in
37035 + *ar\ archive\ import\ library*) # definitely import
37036 + win32_libid_type="x86 archive import"
37037 + ;;
37038 + *ar\ archive*) # could be an import, or static
37039 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
37040 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
37041 + win32_nmres=`eval $NM -f posix -A $1 | \
37042 + $SED -n -e '1,100{
37043 + / I /{
37044 + s,.*,import,
37045 + p
37046 + q
37047 + }
37048 + }'`
37049 + case $win32_nmres in
37050 + import*) win32_libid_type="x86 archive import";;
37051 + *) win32_libid_type="x86 archive static";;
37052 + esac
37053 + fi
37054 + ;;
37055 + *DLL*)
37056 + win32_libid_type="x86 DLL"
37057 + ;;
37058 + *executable*) # but shell scripts are "executable" too...
37059 + case $win32_fileres in
37060 + *MS\ Windows\ PE\ Intel*)
37061 + win32_libid_type="x86 DLL"
37062 + ;;
37063 + esac
37064 + ;;
37065 + esac
37066 + $echo $win32_libid_type
37067 +}
37068 +
37069 +
37070 +# func_infer_tag arg
37071 +# Infer tagged configuration to use if any are available and
37072 +# if one wasn't chosen via the "--tag" command line option.
37073 +# Only attempt this if the compiler in the base compile
37074 +# command doesn't match the default compiler.
37075 +# arg is usually of the form 'gcc ...'
37076 +func_infer_tag ()
37077 +{
37078 + if test -n "$available_tags" && test -z "$tagname"; then
37079 + CC_quoted=
37080 + for arg in $CC; do
37081 + case $arg in
37082 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37083 + arg="\"$arg\""
37084 + ;;
37085 + esac
37086 + CC_quoted="$CC_quoted $arg"
37087 + done
37088 + case $@ in
37089 + # Blanks in the command may have been stripped by the calling shell,
37090 + # but not from the CC environment variable when configure was run.
37091 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
37092 + # Blanks at the start of $base_compile will cause this to fail
37093 + # if we don't check for them as well.
37094 + *)
37095 + for z in $available_tags; do
37096 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
37097 + # Evaluate the configuration.
37098 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
37099 + CC_quoted=
37100 + for arg in $CC; do
37101 + # Double-quote args containing other shell metacharacters.
37102 + case $arg in
37103 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37104 + arg="\"$arg\""
37105 + ;;
37106 + esac
37107 + CC_quoted="$CC_quoted $arg"
37108 + done
37109 + case "$@ " in
37110 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
37111 + # The compiler in the base compile command matches
37112 + # the one in the tagged configuration.
37113 + # Assume this is the tagged configuration we want.
37114 + tagname=$z
37115 + break
37116 + ;;
37117 + esac
37118 + fi
37119 + done
37120 + # If $tagname still isn't set, then no tagged configuration
37121 + # was found and let the user know that the "--tag" command
37122 + # line option must be used.
37123 + if test -z "$tagname"; then
37124 + $echo "$modename: unable to infer tagged configuration"
37125 + $echo "$modename: specify a tag with \`--tag'" 1>&2
37126 + exit $EXIT_FAILURE
37127 +# else
37128 +# $echo "$modename: using $tagname tagged configuration"
37129 + fi
37130 + ;;
37131 + esac
37132 + fi
37133 +}
37134 +
37135 +
37136 +# func_extract_an_archive dir oldlib
37137 +func_extract_an_archive ()
37138 +{
37139 + f_ex_an_ar_dir="$1"; shift
37140 + f_ex_an_ar_oldlib="$1"
37141 +
37142 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
37143 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
37144 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
37145 + :
37146 + else
37147 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
37148 + exit $EXIT_FAILURE
37149 + fi
37150 +}
37151 +
37152 +# func_extract_archives gentop oldlib ...
37153 +func_extract_archives ()
37154 +{
37155 + my_gentop="$1"; shift
37156 + my_oldlibs=${1+"$@"}
37157 + my_oldobjs=""
37158 + my_xlib=""
37159 + my_xabs=""
37160 + my_xdir=""
37161 + my_status=""
37162 +
37163 + $show "${rm}r $my_gentop"
37164 + $run ${rm}r "$my_gentop"
37165 + $show "$mkdir $my_gentop"
37166 + $run $mkdir "$my_gentop"
37167 + my_status=$?
37168 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
37169 + exit $my_status
37170 + fi
37171 +
37172 + for my_xlib in $my_oldlibs; do
37173 + # Extract the objects.
37174 + case $my_xlib in
37175 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
37176 + *) my_xabs=`pwd`"/$my_xlib" ;;
37177 + esac
37178 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
37179 + my_xlib_u=$my_xlib
37180 + while :; do
37181 + case " $extracted_archives " in
37182 + *" $my_xlib_u "*)
37183 + extracted_serial=`expr $extracted_serial + 1`
37184 + my_xlib_u=lt$extracted_serial-$my_xlib ;;
37185 + *) break ;;
37186 + esac
37187 + done
37188 + extracted_archives="$extracted_archives $my_xlib_u"
37189 + my_xdir="$my_gentop/$my_xlib_u"
37190 +
37191 + $show "${rm}r $my_xdir"
37192 + $run ${rm}r "$my_xdir"
37193 + $show "$mkdir $my_xdir"
37194 + $run $mkdir "$my_xdir"
37195 + exit_status=$?
37196 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
37197 + exit $exit_status
37198 + fi
37199 + case $host in
37200 + *-darwin*)
37201 + $show "Extracting $my_xabs"
37202 + # Do not bother doing anything if just a dry run
37203 + if test -z "$run"; then
37204 + darwin_orig_dir=`pwd`
37205 + cd $my_xdir || exit $?
37206 + darwin_archive=$my_xabs
37207 + darwin_curdir=`pwd`
37208 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
37209 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
37210 + if test -n "$darwin_arches"; then
37211 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
37212 + darwin_arch=
37213 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
37214 + for darwin_arch in $darwin_arches ; do
37215 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
37216 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
37217 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
37218 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
37219 + cd "$darwin_curdir"
37220 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
37221 + done # $darwin_arches
37222 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
37223 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
37224 + darwin_file=
37225 + darwin_files=
37226 + for darwin_file in $darwin_filelist; do
37227 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
37228 + lipo -create -output "$darwin_file" $darwin_files
37229 + done # $darwin_filelist
37230 + ${rm}r unfat-$$
37231 + cd "$darwin_orig_dir"
37232 + else
37233 + cd "$darwin_orig_dir"
37234 + func_extract_an_archive "$my_xdir" "$my_xabs"
37235 + fi # $darwin_arches
37236 + fi # $run
37237 + ;;
37238 + *)
37239 + func_extract_an_archive "$my_xdir" "$my_xabs"
37240 + ;;
37241 + esac
37242 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
37243 + done
37244 + func_extract_archives_result="$my_oldobjs"
37245 +}
37246 +# End of Shell function definitions
37247 +#####################################
37248 +
37249 +# Darwin sucks
37250 +eval std_shrext=\"$shrext_cmds\"
37251 +
37252 +disable_libs=no
37253 +
37254 +# Parse our command line options once, thoroughly.
37255 +while test "$#" -gt 0
37256 +do
37257 + arg="$1"
37258 + shift
37259 +
37260 + case $arg in
37261 + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
37262 + *) optarg= ;;
37263 + esac
37264 +
37265 + # If the previous option needs an argument, assign it.
37266 + if test -n "$prev"; then
37267 + case $prev in
37268 + execute_dlfiles)
37269 + execute_dlfiles="$execute_dlfiles $arg"
37270 + ;;
37271 + tag)
37272 + tagname="$arg"
37273 + preserve_args="${preserve_args}=$arg"
37274 +
37275 + # Check whether tagname contains only valid characters
37276 + case $tagname in
37277 + *[!-_A-Za-z0-9,/]*)
37278 + $echo "$progname: invalid tag name: $tagname" 1>&2
37279 + exit $EXIT_FAILURE
37280 + ;;
37281 + esac
37282 +
37283 + case $tagname in
37284 + CC)
37285 + # Don't test for the "default" C tag, as we know, it's there, but
37286 + # not specially marked.
37287 + ;;
37288 + *)
37289 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
37290 + taglist="$taglist $tagname"
37291 + # Evaluate the configuration.
37292 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
37293 + else
37294 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
37295 + fi
37296 + ;;
37297 + esac
37298 + ;;
37299 + *)
37300 + eval "$prev=\$arg"
37301 + ;;
37302 + esac
37303 +
37304 + prev=
37305 + prevopt=
37306 + continue
37307 + fi
37308 +
37309 + # Have we seen a non-optional argument yet?
37310 + case $arg in
37311 + --help)
37312 + show_help=yes
37313 + ;;
37314 +
37315 + --version)
37316 + echo "\
37317 +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
37318 +
37319 +Copyright (C) 2007 Free Software Foundation, Inc.
37320 +This is free software; see the source for copying conditions. There is NO
37321 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
37322 + exit $?
37323 + ;;
37324 +
37325 + --config)
37326 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
37327 + # Now print the configurations for the tags.
37328 + for tagname in $taglist; do
37329 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
37330 + done
37331 + exit $?
37332 + ;;
37333 +
37334 + --debug)
37335 + $echo "$progname: enabling shell trace mode"
37336 + set -x
37337 + preserve_args="$preserve_args $arg"
37338 + ;;
37339 +
37340 + --dry-run | -n)
37341 + run=:
37342 + ;;
37343 +
37344 + --features)
37345 + $echo "host: $host"
37346 + if test "$build_libtool_libs" = yes; then
37347 + $echo "enable shared libraries"
37348 + else
37349 + $echo "disable shared libraries"
37350 + fi
37351 + if test "$build_old_libs" = yes; then
37352 + $echo "enable static libraries"
37353 + else
37354 + $echo "disable static libraries"
37355 + fi
37356 + exit $?
37357 + ;;
37358 +
37359 + --finish) mode="finish" ;;
37360 +
37361 + --mode) prevopt="--mode" prev=mode ;;
37362 + --mode=*) mode="$optarg" ;;
37363 +
37364 + --preserve-dup-deps) duplicate_deps="yes" ;;
37365 +
37366 + --quiet | --silent)
37367 + show=:
37368 + preserve_args="$preserve_args $arg"
37369 + ;;
37370 +
37371 + --tag)
37372 + prevopt="--tag"
37373 + prev=tag
37374 + preserve_args="$preserve_args --tag"
37375 + ;;
37376 + --tag=*)
37377 + set tag "$optarg" ${1+"$@"}
37378 + shift
37379 + prev=tag
37380 + preserve_args="$preserve_args --tag"
37381 + ;;
37382 +
37383 + -dlopen)
37384 + prevopt="-dlopen"
37385 + prev=execute_dlfiles
37386 + ;;
37387 +
37388 + -*)
37389 + $echo "$modename: unrecognized option \`$arg'" 1>&2
37390 + $echo "$help" 1>&2
37391 + exit $EXIT_FAILURE
37392 + ;;
37393 +
37394 + *)
37395 + nonopt="$arg"
37396 + break
37397 + ;;
37398 + esac
37399 +done
37400 +
37401 +if test -n "$prevopt"; then
37402 + $echo "$modename: option \`$prevopt' requires an argument" 1>&2
37403 + $echo "$help" 1>&2
37404 + exit $EXIT_FAILURE
37405 +fi
37406 +
37407 +case $disable_libs in
37408 +no)
37409 + ;;
37410 +shared)
37411 + build_libtool_libs=no
37412 + build_old_libs=yes
37413 + ;;
37414 +static)
37415 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
37416 + ;;
37417 +esac
37418 +
37419 +# If this variable is set in any of the actions, the command in it
37420 +# will be execed at the end. This prevents here-documents from being
37421 +# left over by shells.
37422 +exec_cmd=
37423 +
37424 +if test -z "$show_help"; then
37425 +
37426 + # Infer the operation mode.
37427 + if test -z "$mode"; then
37428 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
37429 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
37430 + case $nonopt in
37431 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
37432 + mode=link
37433 + for arg
37434 + do
37435 + case $arg in
37436 + -c)
37437 + mode=compile
37438 + break
37439 + ;;
37440 + esac
37441 + done
37442 + ;;
37443 + *db | *dbx | *strace | *truss)
37444 + mode=execute
37445 + ;;
37446 + *install*|cp|mv)
37447 + mode=install
37448 + ;;
37449 + *rm)
37450 + mode=uninstall
37451 + ;;
37452 + *)
37453 + # If we have no mode, but dlfiles were specified, then do execute mode.
37454 + test -n "$execute_dlfiles" && mode=execute
37455 +
37456 + # Just use the default operation mode.
37457 + if test -z "$mode"; then
37458 + if test -n "$nonopt"; then
37459 + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
37460 + else
37461 + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
37462 + fi
37463 + fi
37464 + ;;
37465 + esac
37466 + fi
37467 +
37468 + # Only execute mode is allowed to have -dlopen flags.
37469 + if test -n "$execute_dlfiles" && test "$mode" != execute; then
37470 + $echo "$modename: unrecognized option \`-dlopen'" 1>&2
37471 + $echo "$help" 1>&2
37472 + exit $EXIT_FAILURE
37473 + fi
37474 +
37475 + # Change the help message to a mode-specific one.
37476 + generic_help="$help"
37477 + help="Try \`$modename --help --mode=$mode' for more information."
37478 +
37479 + # These modes are in order of execution frequency so that they run quickly.
37480 + case $mode in
37481 + # libtool compile mode
37482 + compile)
37483 + modename="$modename: compile"
37484 + # Get the compilation command and the source file.
37485 + base_compile=
37486 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
37487 + suppress_opt=yes
37488 + suppress_output=
37489 + arg_mode=normal
37490 + libobj=
37491 + later=
37492 +
37493 + for arg
37494 + do
37495 + case $arg_mode in
37496 + arg )
37497 + # do not "continue". Instead, add this to base_compile
37498 + lastarg="$arg"
37499 + arg_mode=normal
37500 + ;;
37501 +
37502 + target )
37503 + libobj="$arg"
37504 + arg_mode=normal
37505 + continue
37506 + ;;
37507 +
37508 + normal )
37509 + # Accept any command-line options.
37510 + case $arg in
37511 + -o)
37512 + if test -n "$libobj" ; then
37513 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
37514 + exit $EXIT_FAILURE
37515 + fi
37516 + arg_mode=target
37517 + continue
37518 + ;;
37519 +
37520 + -static | -prefer-pic | -prefer-non-pic)
37521 + later="$later $arg"
37522 + continue
37523 + ;;
37524 +
37525 + -no-suppress)
37526 + suppress_opt=no
37527 + continue
37528 + ;;
37529 +
37530 + -Xcompiler)
37531 + arg_mode=arg # the next one goes into the "base_compile" arg list
37532 + continue # The current "srcfile" will either be retained or
37533 + ;; # replaced later. I would guess that would be a bug.
37534 +
37535 + -Wc,*)
37536 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
37537 + lastarg=
37538 + save_ifs="$IFS"; IFS=','
37539 + for arg in $args; do
37540 + IFS="$save_ifs"
37541 +
37542 + # Double-quote args containing other shell metacharacters.
37543 + # Many Bourne shells cannot handle close brackets correctly
37544 + # in scan sets, so we specify it separately.
37545 + case $arg in
37546 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37547 + arg="\"$arg\""
37548 + ;;
37549 + esac
37550 + lastarg="$lastarg $arg"
37551 + done
37552 + IFS="$save_ifs"
37553 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
37554 +
37555 + # Add the arguments to base_compile.
37556 + base_compile="$base_compile $lastarg"
37557 + continue
37558 + ;;
37559 +
37560 + * )
37561 + # Accept the current argument as the source file.
37562 + # The previous "srcfile" becomes the current argument.
37563 + #
37564 + lastarg="$srcfile"
37565 + srcfile="$arg"
37566 + ;;
37567 + esac # case $arg
37568 + ;;
37569 + esac # case $arg_mode
37570 +
37571 + # Aesthetically quote the previous argument.
37572 + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
37573 +
37574 + case $lastarg in
37575 + # Double-quote args containing other shell metacharacters.
37576 + # Many Bourne shells cannot handle close brackets correctly
37577 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
37578 + # in scan sets (worked around with variable expansion),
37579 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
37580 + # at all, so we specify them separately.
37581 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37582 + lastarg="\"$lastarg\""
37583 + ;;
37584 + esac
37585 +
37586 + base_compile="$base_compile $lastarg"
37587 + done # for arg
37588 +
37589 + case $arg_mode in
37590 + arg)
37591 + $echo "$modename: you must specify an argument for -Xcompile"
37592 + exit $EXIT_FAILURE
37593 + ;;
37594 + target)
37595 + $echo "$modename: you must specify a target with \`-o'" 1>&2
37596 + exit $EXIT_FAILURE
37597 + ;;
37598 + *)
37599 + # Get the name of the library object.
37600 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
37601 + ;;
37602 + esac
37603 +
37604 + # Recognize several different file suffixes.
37605 + # If the user specifies -o file.o, it is replaced with file.lo
37606 + xform='[cCFSifmso]'
37607 + case $libobj in
37608 + *.ada) xform=ada ;;
37609 + *.adb) xform=adb ;;
37610 + *.ads) xform=ads ;;
37611 + *.asm) xform=asm ;;
37612 + *.c++) xform=c++ ;;
37613 + *.cc) xform=cc ;;
37614 + *.ii) xform=ii ;;
37615 + *.class) xform=class ;;
37616 + *.cpp) xform=cpp ;;
37617 + *.cxx) xform=cxx ;;
37618 + *.[fF][09]?) xform=[fF][09]. ;;
37619 + *.for) xform=for ;;
37620 + *.java) xform=java ;;
37621 + *.obj) xform=obj ;;
37622 + esac
37623 +
37624 + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
37625 +
37626 + case $libobj in
37627 + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
37628 + *)
37629 + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
37630 + exit $EXIT_FAILURE
37631 + ;;
37632 + esac
37633 +
37634 + func_infer_tag $base_compile
37635 +
37636 + for arg in $later; do
37637 + case $arg in
37638 + -static)
37639 + build_old_libs=yes
37640 + continue
37641 + ;;
37642 +
37643 + -prefer-pic)
37644 + pic_mode=yes
37645 + continue
37646 + ;;
37647 +
37648 + -prefer-non-pic)
37649 + pic_mode=no
37650 + continue
37651 + ;;
37652 + esac
37653 + done
37654 +
37655 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
37656 + case $qlibobj in
37657 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37658 + qlibobj="\"$qlibobj\"" ;;
37659 + esac
37660 + test "X$libobj" != "X$qlibobj" \
37661 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
37662 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
37663 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
37664 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
37665 + if test "X$xdir" = "X$obj"; then
37666 + xdir=
37667 + else
37668 + xdir=$xdir/
37669 + fi
37670 + lobj=${xdir}$objdir/$objname
37671 +
37672 + if test -z "$base_compile"; then
37673 + $echo "$modename: you must specify a compilation command" 1>&2
37674 + $echo "$help" 1>&2
37675 + exit $EXIT_FAILURE
37676 + fi
37677 +
37678 + # Delete any leftover library objects.
37679 + if test "$build_old_libs" = yes; then
37680 + removelist="$obj $lobj $libobj ${libobj}T"
37681 + else
37682 + removelist="$lobj $libobj ${libobj}T"
37683 + fi
37684 +
37685 + $run $rm $removelist
37686 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
37687 +
37688 + # On Cygwin there's no "real" PIC flag so we must build both object types
37689 + case $host_os in
37690 + cygwin* | mingw* | pw32* | os2*)
37691 + pic_mode=default
37692 + ;;
37693 + esac
37694 + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
37695 + # non-PIC code in shared libraries is not supported
37696 + pic_mode=default
37697 + fi
37698 +
37699 + # Calculate the filename of the output object if compiler does
37700 + # not support -o with -c
37701 + if test "$compiler_c_o" = no; then
37702 + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
37703 + lockfile="$output_obj.lock"
37704 + removelist="$removelist $output_obj $lockfile"
37705 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
37706 + else
37707 + output_obj=
37708 + need_locks=no
37709 + lockfile=
37710 + fi
37711 +
37712 + # Lock this critical section if it is needed
37713 + # We use this script file to make the link, it avoids creating a new file
37714 + if test "$need_locks" = yes; then
37715 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
37716 + $show "Waiting for $lockfile to be removed"
37717 + sleep 2
37718 + done
37719 + elif test "$need_locks" = warn; then
37720 + if test -f "$lockfile"; then
37721 + $echo "\
37722 +*** ERROR, $lockfile exists and contains:
37723 +`cat $lockfile 2>/dev/null`
37724 +
37725 +This indicates that another process is trying to use the same
37726 +temporary object file, and libtool could not work around it because
37727 +your compiler does not support \`-c' and \`-o' together. If you
37728 +repeat this compilation, it may succeed, by chance, but you had better
37729 +avoid parallel builds (make -j) in this platform, or get a better
37730 +compiler."
37731 +
37732 + $run $rm $removelist
37733 + exit $EXIT_FAILURE
37734 + fi
37735 + $echo "$srcfile" > "$lockfile"
37736 + fi
37737 +
37738 + if test -n "$fix_srcfile_path"; then
37739 + eval srcfile=\"$fix_srcfile_path\"
37740 + fi
37741 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
37742 + case $qsrcfile in
37743 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37744 + qsrcfile="\"$qsrcfile\"" ;;
37745 + esac
37746 +
37747 + $run $rm "$libobj" "${libobj}T"
37748 +
37749 + # Create a libtool object file (analogous to a ".la" file),
37750 + # but don't create it if we're doing a dry run.
37751 + test -z "$run" && cat > ${libobj}T <<EOF
37752 +# $libobj - a libtool object file
37753 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
37754 +#
37755 +# Please DO NOT delete this file!
37756 +# It is necessary for linking the library.
37757 +
37758 +# Name of the PIC object.
37759 +EOF
37760 +
37761 + # Only build a PIC object if we are building libtool libraries.
37762 + if test "$build_libtool_libs" = yes; then
37763 + # Without this assignment, base_compile gets emptied.
37764 + fbsd_hideous_sh_bug=$base_compile
37765 +
37766 + if test "$pic_mode" != no; then
37767 + command="$base_compile $qsrcfile $pic_flag"
37768 + else
37769 + # Don't build PIC code
37770 + command="$base_compile $qsrcfile"
37771 + fi
37772 +
37773 + if test ! -d "${xdir}$objdir"; then
37774 + $show "$mkdir ${xdir}$objdir"
37775 + $run $mkdir ${xdir}$objdir
37776 + exit_status=$?
37777 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
37778 + exit $exit_status
37779 + fi
37780 + fi
37781 +
37782 + if test -z "$output_obj"; then
37783 + # Place PIC objects in $objdir
37784 + command="$command -o $lobj"
37785 + fi
37786 +
37787 + $run $rm "$lobj" "$output_obj"
37788 +
37789 + $show "$command"
37790 + if $run eval "$command"; then :
37791 + else
37792 + test -n "$output_obj" && $run $rm $removelist
37793 + exit $EXIT_FAILURE
37794 + fi
37795 +
37796 + if test "$need_locks" = warn &&
37797 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
37798 + $echo "\
37799 +*** ERROR, $lockfile contains:
37800 +`cat $lockfile 2>/dev/null`
37801 +
37802 +but it should contain:
37803 +$srcfile
37804 +
37805 +This indicates that another process is trying to use the same
37806 +temporary object file, and libtool could not work around it because
37807 +your compiler does not support \`-c' and \`-o' together. If you
37808 +repeat this compilation, it may succeed, by chance, but you had better
37809 +avoid parallel builds (make -j) in this platform, or get a better
37810 +compiler."
37811 +
37812 + $run $rm $removelist
37813 + exit $EXIT_FAILURE
37814 + fi
37815 +
37816 + # Just move the object if needed, then go on to compile the next one
37817 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
37818 + $show "$mv $output_obj $lobj"
37819 + if $run $mv $output_obj $lobj; then :
37820 + else
37821 + error=$?
37822 + $run $rm $removelist
37823 + exit $error
37824 + fi
37825 + fi
37826 +
37827 + # Append the name of the PIC object to the libtool object file.
37828 + test -z "$run" && cat >> ${libobj}T <<EOF
37829 +pic_object='$objdir/$objname'
37830 +
37831 +EOF
37832 +
37833 + # Allow error messages only from the first compilation.
37834 + if test "$suppress_opt" = yes; then
37835 + suppress_output=' >/dev/null 2>&1'
37836 + fi
37837 + else
37838 + # No PIC object so indicate it doesn't exist in the libtool
37839 + # object file.
37840 + test -z "$run" && cat >> ${libobj}T <<EOF
37841 +pic_object=none
37842 +
37843 +EOF
37844 + fi
37845 +
37846 + # Only build a position-dependent object if we build old libraries.
37847 + if test "$build_old_libs" = yes; then
37848 + if test "$pic_mode" != yes; then
37849 + # Don't build PIC code
37850 + command="$base_compile $qsrcfile"
37851 + else
37852 + command="$base_compile $qsrcfile $pic_flag"
37853 + fi
37854 + if test "$compiler_c_o" = yes; then
37855 + command="$command -o $obj"
37856 + fi
37857 +
37858 + # Suppress compiler output if we already did a PIC compilation.
37859 + command="$command$suppress_output"
37860 + $run $rm "$obj" "$output_obj"
37861 + $show "$command"
37862 + if $run eval "$command"; then :
37863 + else
37864 + $run $rm $removelist
37865 + exit $EXIT_FAILURE
37866 + fi
37867 +
37868 + if test "$need_locks" = warn &&
37869 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
37870 + $echo "\
37871 +*** ERROR, $lockfile contains:
37872 +`cat $lockfile 2>/dev/null`
37873 +
37874 +but it should contain:
37875 +$srcfile
37876 +
37877 +This indicates that another process is trying to use the same
37878 +temporary object file, and libtool could not work around it because
37879 +your compiler does not support \`-c' and \`-o' together. If you
37880 +repeat this compilation, it may succeed, by chance, but you had better
37881 +avoid parallel builds (make -j) in this platform, or get a better
37882 +compiler."
37883 +
37884 + $run $rm $removelist
37885 + exit $EXIT_FAILURE
37886 + fi
37887 +
37888 + # Just move the object if needed
37889 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
37890 + $show "$mv $output_obj $obj"
37891 + if $run $mv $output_obj $obj; then :
37892 + else
37893 + error=$?
37894 + $run $rm $removelist
37895 + exit $error
37896 + fi
37897 + fi
37898 +
37899 + # Append the name of the non-PIC object the libtool object file.
37900 + # Only append if the libtool object file exists.
37901 + test -z "$run" && cat >> ${libobj}T <<EOF
37902 +# Name of the non-PIC object.
37903 +non_pic_object='$objname'
37904 +
37905 +EOF
37906 + else
37907 + # Append the name of the non-PIC object the libtool object file.
37908 + # Only append if the libtool object file exists.
37909 + test -z "$run" && cat >> ${libobj}T <<EOF
37910 +# Name of the non-PIC object.
37911 +non_pic_object=none
37912 +
37913 +EOF
37914 + fi
37915 +
37916 + $run $mv "${libobj}T" "${libobj}"
37917 +
37918 + # Unlock the critical section if it was locked
37919 + if test "$need_locks" != no; then
37920 + $run $rm "$lockfile"
37921 + fi
37922 +
37923 + exit $EXIT_SUCCESS
37924 + ;;
37925 +
37926 + # libtool link mode
37927 + link | relink)
37928 + modename="$modename: link"
37929 + case $host in
37930 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
37931 + # It is impossible to link a dll without this setting, and
37932 + # we shouldn't force the makefile maintainer to figure out
37933 + # which system we are compiling for in order to pass an extra
37934 + # flag for every libtool invocation.
37935 + # allow_undefined=no
37936 +
37937 + # FIXME: Unfortunately, there are problems with the above when trying
37938 + # to make a dll which has undefined symbols, in which case not
37939 + # even a static library is built. For now, we need to specify
37940 + # -no-undefined on the libtool link line when we can be certain
37941 + # that all symbols are satisfied, otherwise we get a static library.
37942 + allow_undefined=yes
37943 + ;;
37944 + *)
37945 + allow_undefined=yes
37946 + ;;
37947 + esac
37948 + libtool_args="$nonopt"
37949 + base_compile="$nonopt $@"
37950 + compile_command="$nonopt"
37951 + finalize_command="$nonopt"
37952 +
37953 + compile_rpath=
37954 + finalize_rpath=
37955 + compile_shlibpath=
37956 + finalize_shlibpath=
37957 + convenience=
37958 + old_convenience=
37959 + deplibs=
37960 + old_deplibs=
37961 + compiler_flags=
37962 + linker_flags=
37963 + dllsearchpath=
37964 + lib_search_path=`pwd`
37965 + inst_prefix_dir=
37966 +
37967 + avoid_version=no
37968 + dlfiles=
37969 + dlprefiles=
37970 + dlself=no
37971 + export_dynamic=no
37972 + export_symbols=
37973 + export_symbols_regex=
37974 + generated=
37975 + libobjs=
37976 + ltlibs=
37977 + module=no
37978 + no_install=no
37979 + objs=
37980 + non_pic_objects=
37981 + notinst_path= # paths that contain not-installed libtool libraries
37982 + precious_files_regex=
37983 + prefer_static_libs=no
37984 + preload=no
37985 + prev=
37986 + prevarg=
37987 + release=
37988 + rpath=
37989 + xrpath=
37990 + perm_rpath=
37991 + temp_rpath=
37992 + thread_safe=no
37993 + vinfo=
37994 + vinfo_number=no
37995 +
37996 + func_infer_tag $base_compile
37997 +
37998 + # We need to know -static, to get the right output filenames.
37999 + for arg
38000 + do
38001 + case $arg in
38002 + -all-static | -static | -static-libtool-libs)
38003 + case $arg in
38004 + -all-static)
38005 + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
38006 + $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
38007 + fi
38008 + if test -n "$link_static_flag"; then
38009 + dlopen_self=$dlopen_self_static
38010 + fi
38011 + prefer_static_libs=yes
38012 + ;;
38013 + -static)
38014 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
38015 + dlopen_self=$dlopen_self_static
38016 + fi
38017 + prefer_static_libs=built
38018 + ;;
38019 + -static-libtool-libs)
38020 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
38021 + dlopen_self=$dlopen_self_static
38022 + fi
38023 + prefer_static_libs=yes
38024 + ;;
38025 + esac
38026 + build_libtool_libs=no
38027 + build_old_libs=yes
38028 + break
38029 + ;;
38030 + esac
38031 + done
38032 +
38033 + # See if our shared archives depend on static archives.
38034 + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
38035 +
38036 + # Go through the arguments, transforming them on the way.
38037 + while test "$#" -gt 0; do
38038 + arg="$1"
38039 + shift
38040 + case $arg in
38041 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
38042 + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
38043 + ;;
38044 + *) qarg=$arg ;;
38045 + esac
38046 + libtool_args="$libtool_args $qarg"
38047 +
38048 + # If the previous option needs an argument, assign it.
38049 + if test -n "$prev"; then
38050 + case $prev in
38051 + output)
38052 + compile_command="$compile_command @OUTPUT@"
38053 + finalize_command="$finalize_command @OUTPUT@"
38054 + ;;
38055 + esac
38056 +
38057 + case $prev in
38058 + dlfiles|dlprefiles)
38059 + if test "$preload" = no; then
38060 + # Add the symbol object into the linking commands.
38061 + compile_command="$compile_command @SYMFILE@"
38062 + finalize_command="$finalize_command @SYMFILE@"
38063 + preload=yes
38064 + fi
38065 + case $arg in
38066 + *.la | *.lo) ;; # We handle these cases below.
38067 + force)
38068 + if test "$dlself" = no; then
38069 + dlself=needless
38070 + export_dynamic=yes
38071 + fi
38072 + prev=
38073 + continue
38074 + ;;
38075 + self)
38076 + if test "$prev" = dlprefiles; then
38077 + dlself=yes
38078 + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
38079 + dlself=yes
38080 + else
38081 + dlself=needless
38082 + export_dynamic=yes
38083 + fi
38084 + prev=
38085 + continue
38086 + ;;
38087 + *)
38088 + if test "$prev" = dlfiles; then
38089 + dlfiles="$dlfiles $arg"
38090 + else
38091 + dlprefiles="$dlprefiles $arg"
38092 + fi
38093 + prev=
38094 + continue
38095 + ;;
38096 + esac
38097 + ;;
38098 + expsyms)
38099 + export_symbols="$arg"
38100 + if test ! -f "$arg"; then
38101 + $echo "$modename: symbol file \`$arg' does not exist"
38102 + exit $EXIT_FAILURE
38103 + fi
38104 + prev=
38105 + continue
38106 + ;;
38107 + expsyms_regex)
38108 + export_symbols_regex="$arg"
38109 + prev=
38110 + continue
38111 + ;;
38112 + inst_prefix)
38113 + inst_prefix_dir="$arg"
38114 + prev=
38115 + continue
38116 + ;;
38117 + precious_regex)
38118 + precious_files_regex="$arg"
38119 + prev=
38120 + continue
38121 + ;;
38122 + release)
38123 + release="-$arg"
38124 + prev=
38125 + continue
38126 + ;;
38127 + objectlist)
38128 + if test -f "$arg"; then
38129 + save_arg=$arg
38130 + moreargs=
38131 + for fil in `cat $save_arg`
38132 + do
38133 +# moreargs="$moreargs $fil"
38134 + arg=$fil
38135 + # A libtool-controlled object.
38136 +
38137 + # Check to see that this really is a libtool object.
38138 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
38139 + pic_object=
38140 + non_pic_object=
38141 +
38142 + # Read the .lo file
38143 + # If there is no directory component, then add one.
38144 + case $arg in
38145 + */* | *\\*) . $arg ;;
38146 + *) . ./$arg ;;
38147 + esac
38148 +
38149 + if test -z "$pic_object" || \
38150 + test -z "$non_pic_object" ||
38151 + test "$pic_object" = none && \
38152 + test "$non_pic_object" = none; then
38153 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
38154 + exit $EXIT_FAILURE
38155 + fi
38156 +
38157 + # Extract subdirectory from the argument.
38158 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
38159 + if test "X$xdir" = "X$arg"; then
38160 + xdir=
38161 + else
38162 + xdir="$xdir/"
38163 + fi
38164 +
38165 + if test "$pic_object" != none; then
38166 + # Prepend the subdirectory the object is found in.
38167 + pic_object="$xdir$pic_object"
38168 +
38169 + if test "$prev" = dlfiles; then
38170 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
38171 + dlfiles="$dlfiles $pic_object"
38172 + prev=
38173 + continue
38174 + else
38175 + # If libtool objects are unsupported, then we need to preload.
38176 + prev=dlprefiles
38177 + fi
38178 + fi
38179 +
38180 + # CHECK ME: I think I busted this. -Ossama
38181 + if test "$prev" = dlprefiles; then
38182 + # Preload the old-style object.
38183 + dlprefiles="$dlprefiles $pic_object"
38184 + prev=
38185 + fi
38186 +
38187 + # A PIC object.
38188 + libobjs="$libobjs $pic_object"
38189 + arg="$pic_object"
38190 + fi
38191 +
38192 + # Non-PIC object.
38193 + if test "$non_pic_object" != none; then
38194 + # Prepend the subdirectory the object is found in.
38195 + non_pic_object="$xdir$non_pic_object"
38196 +
38197 + # A standard non-PIC object
38198 + non_pic_objects="$non_pic_objects $non_pic_object"
38199 + if test -z "$pic_object" || test "$pic_object" = none ; then
38200 + arg="$non_pic_object"
38201 + fi
38202 + else
38203 + # If the PIC object exists, use it instead.
38204 + # $xdir was prepended to $pic_object above.
38205 + non_pic_object="$pic_object"
38206 + non_pic_objects="$non_pic_objects $non_pic_object"
38207 + fi
38208 + else
38209 + # Only an error if not doing a dry-run.
38210 + if test -z "$run"; then
38211 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
38212 + exit $EXIT_FAILURE
38213 + else
38214 + # Dry-run case.
38215 +
38216 + # Extract subdirectory from the argument.
38217 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
38218 + if test "X$xdir" = "X$arg"; then
38219 + xdir=
38220 + else
38221 + xdir="$xdir/"
38222 + fi
38223 +
38224 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
38225 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
38226 + libobjs="$libobjs $pic_object"
38227 + non_pic_objects="$non_pic_objects $non_pic_object"
38228 + fi
38229 + fi
38230 + done
38231 + else
38232 + $echo "$modename: link input file \`$save_arg' does not exist"
38233 + exit $EXIT_FAILURE
38234 + fi
38235 + arg=$save_arg
38236 + prev=
38237 + continue
38238 + ;;
38239 + rpath | xrpath)
38240 + # We need an absolute path.
38241 + case $arg in
38242 + [\\/]* | [A-Za-z]:[\\/]*) ;;
38243 + *)
38244 + $echo "$modename: only absolute run-paths are allowed" 1>&2
38245 + exit $EXIT_FAILURE
38246 + ;;
38247 + esac
38248 + if test "$prev" = rpath; then
38249 + case "$rpath " in
38250 + *" $arg "*) ;;
38251 + *) rpath="$rpath $arg" ;;
38252 + esac
38253 + else
38254 + case "$xrpath " in
38255 + *" $arg "*) ;;
38256 + *) xrpath="$xrpath $arg" ;;
38257 + esac
38258 + fi
38259 + prev=
38260 + continue
38261 + ;;
38262 + xcompiler)
38263 + compiler_flags="$compiler_flags $qarg"
38264 + prev=
38265 + compile_command="$compile_command $qarg"
38266 + finalize_command="$finalize_command $qarg"
38267 + continue
38268 + ;;
38269 + xlinker)
38270 + linker_flags="$linker_flags $qarg"
38271 + compiler_flags="$compiler_flags $wl$qarg"
38272 + prev=
38273 + compile_command="$compile_command $wl$qarg"
38274 + finalize_command="$finalize_command $wl$qarg"
38275 + continue
38276 + ;;
38277 + xcclinker)
38278 + linker_flags="$linker_flags $qarg"
38279 + compiler_flags="$compiler_flags $qarg"
38280 + prev=
38281 + compile_command="$compile_command $qarg"
38282 + finalize_command="$finalize_command $qarg"
38283 + continue
38284 + ;;
38285 + shrext)
38286 + shrext_cmds="$arg"
38287 + prev=
38288 + continue
38289 + ;;
38290 + darwin_framework|darwin_framework_skip)
38291 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
38292 + compile_command="$compile_command $arg"
38293 + finalize_command="$finalize_command $arg"
38294 + prev=
38295 + continue
38296 + ;;
38297 + *)
38298 + eval "$prev=\"\$arg\""
38299 + prev=
38300 + continue
38301 + ;;
38302 + esac
38303 + fi # test -n "$prev"
38304 +
38305 + prevarg="$arg"
38306 +
38307 + case $arg in
38308 + -all-static)
38309 + if test -n "$link_static_flag"; then
38310 + compile_command="$compile_command $link_static_flag"
38311 + finalize_command="$finalize_command $link_static_flag"
38312 + fi
38313 + continue
38314 + ;;
38315 +
38316 + -allow-undefined)
38317 + # FIXME: remove this flag sometime in the future.
38318 + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
38319 + continue
38320 + ;;
38321 +
38322 + -avoid-version)
38323 + avoid_version=yes
38324 + continue
38325 + ;;
38326 +
38327 + -dlopen)
38328 + prev=dlfiles
38329 + continue
38330 + ;;
38331 +
38332 + -dlpreopen)
38333 + prev=dlprefiles
38334 + continue
38335 + ;;
38336 +
38337 + -export-dynamic)
38338 + export_dynamic=yes
38339 + continue
38340 + ;;
38341 +
38342 + -export-symbols | -export-symbols-regex)
38343 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
38344 + $echo "$modename: more than one -exported-symbols argument is not allowed"
38345 + exit $EXIT_FAILURE
38346 + fi
38347 + if test "X$arg" = "X-export-symbols"; then
38348 + prev=expsyms
38349 + else
38350 + prev=expsyms_regex
38351 + fi
38352 + continue
38353 + ;;
38354 +
38355 + -framework|-arch|-isysroot)
38356 + case " $CC " in
38357 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
38358 + prev=darwin_framework_skip ;;
38359 + *) compiler_flags="$compiler_flags $arg"
38360 + prev=darwin_framework ;;
38361 + esac
38362 + compile_command="$compile_command $arg"
38363 + finalize_command="$finalize_command $arg"
38364 + continue
38365 + ;;
38366 +
38367 + -inst-prefix-dir)
38368 + prev=inst_prefix
38369 + continue
38370 + ;;
38371 +
38372 + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
38373 + # so, if we see these flags be careful not to treat them like -L
38374 + -L[A-Z][A-Z]*:*)
38375 + case $with_gcc/$host in
38376 + no/*-*-irix* | /*-*-irix*)
38377 + compile_command="$compile_command $arg"
38378 + finalize_command="$finalize_command $arg"
38379 + ;;
38380 + esac
38381 + continue
38382 + ;;
38383 +
38384 + -L*)
38385 + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
38386 + # We need an absolute path.
38387 + case $dir in
38388 + [\\/]* | [A-Za-z]:[\\/]*) ;;
38389 + *)
38390 + absdir=`cd "$dir" && pwd`
38391 + if test -z "$absdir"; then
38392 + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
38393 + absdir="$dir"
38394 + notinst_path="$notinst_path $dir"
38395 + fi
38396 + dir="$absdir"
38397 + ;;
38398 + esac
38399 + case "$deplibs " in
38400 + *" -L$dir "*) ;;
38401 + *)
38402 + deplibs="$deplibs -L$dir"
38403 + lib_search_path="$lib_search_path $dir"
38404 + ;;
38405 + esac
38406 + case $host in
38407 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
38408 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
38409 + case :$dllsearchpath: in
38410 + *":$dir:"*) ;;
38411 + *) dllsearchpath="$dllsearchpath:$dir";;
38412 + esac
38413 + case :$dllsearchpath: in
38414 + *":$testbindir:"*) ;;
38415 + *) dllsearchpath="$dllsearchpath:$testbindir";;
38416 + esac
38417 + ;;
38418 + esac
38419 + continue
38420 + ;;
38421 +
38422 + -l*)
38423 + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
38424 + case $host in
38425 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
38426 + # These systems don't actually have a C or math library (as such)
38427 + continue
38428 + ;;
38429 + *-*-os2*)
38430 + # These systems don't actually have a C library (as such)
38431 + test "X$arg" = "X-lc" && continue
38432 + ;;
38433 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
38434 + # Do not include libc due to us having libc/libc_r.
38435 + test "X$arg" = "X-lc" && continue
38436 + ;;
38437 + *-*-rhapsody* | *-*-darwin1.[012])
38438 + # Rhapsody C and math libraries are in the System framework
38439 + deplibs="$deplibs -framework System"
38440 + continue
38441 + ;;
38442 + *-*-sco3.2v5* | *-*-sco5v6*)
38443 + # Causes problems with __ctype
38444 + test "X$arg" = "X-lc" && continue
38445 + ;;
38446 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
38447 + # Compiler inserts libc in the correct place for threads to work
38448 + test "X$arg" = "X-lc" && continue
38449 + ;;
38450 + esac
38451 + elif test "X$arg" = "X-lc_r"; then
38452 + case $host in
38453 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
38454 + # Do not include libc_r directly, use -pthread flag.
38455 + continue
38456 + ;;
38457 + esac
38458 + fi
38459 + deplibs="$deplibs $arg"
38460 + continue
38461 + ;;
38462 +
38463 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
38464 + # classes, name mangling, and exception handling.
38465 + -model)
38466 + compile_command="$compile_command $arg"
38467 + compiler_flags="$compiler_flags $arg"
38468 + finalize_command="$finalize_command $arg"
38469 + prev=xcompiler
38470 + continue
38471 + ;;
38472 +
38473 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
38474 + compiler_flags="$compiler_flags $arg"
38475 + compile_command="$compile_command $arg"
38476 + finalize_command="$finalize_command $arg"
38477 + continue
38478 + ;;
38479 +
38480 + -module)
38481 + module=yes
38482 + continue
38483 + ;;
38484 +
38485 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
38486 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
38487 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
38488 + # +DA*, +DD* enable 64-bit mode on the HP compiler
38489 + # -q* pass through compiler args for the IBM compiler
38490 + # -m* pass through architecture-specific compiler args for GCC
38491 + # -m*, -t[45]*, -txscale* pass through architecture-specific
38492 + # compiler args for GCC
38493 + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
38494 + # -F/path gives path to uninstalled frameworks, gcc on darwin
38495 + # @file GCC response files
38496 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
38497 + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
38498 +
38499 + # Unknown arguments in both finalize_command and compile_command need
38500 + # to be aesthetically quoted because they are evaled later.
38501 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
38502 + case $arg in
38503 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
38504 + arg="\"$arg\""
38505 + ;;
38506 + esac
38507 + compile_command="$compile_command $arg"
38508 + finalize_command="$finalize_command $arg"
38509 + compiler_flags="$compiler_flags $arg"
38510 + continue
38511 + ;;
38512 +
38513 + -shrext)
38514 + prev=shrext
38515 + continue
38516 + ;;
38517 +
38518 + -no-fast-install)
38519 + fast_install=no
38520 + continue
38521 + ;;
38522 +
38523 + -no-install)
38524 + case $host in
38525 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
38526 + # The PATH hackery in wrapper scripts is required on Windows
38527 + # and Darwin in order for the loader to find any dlls it needs.
38528 + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
38529 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
38530 + fast_install=no
38531 + ;;
38532 + *) no_install=yes ;;
38533 + esac
38534 + continue
38535 + ;;
38536 +
38537 + -no-undefined)
38538 + allow_undefined=no
38539 + continue
38540 + ;;
38541 +
38542 + -objectlist)
38543 + prev=objectlist
38544 + continue
38545 + ;;
38546 +
38547 + -o) prev=output ;;
38548 +
38549 + -precious-files-regex)
38550 + prev=precious_regex
38551 + continue
38552 + ;;
38553 +
38554 + -release)
38555 + prev=release
38556 + continue
38557 + ;;
38558 +
38559 + -rpath)
38560 + prev=rpath
38561 + continue
38562 + ;;
38563 +
38564 + -R)
38565 + prev=xrpath
38566 + continue
38567 + ;;
38568 +
38569 + -R*)
38570 + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
38571 + # We need an absolute path.
38572 + case $dir in
38573 + [\\/]* | [A-Za-z]:[\\/]*) ;;
38574 + *)
38575 + $echo "$modename: only absolute run-paths are allowed" 1>&2
38576 + exit $EXIT_FAILURE
38577 + ;;
38578 + esac
38579 + case "$xrpath " in
38580 + *" $dir "*) ;;
38581 + *) xrpath="$xrpath $dir" ;;
38582 + esac
38583 + continue
38584 + ;;
38585 +
38586 + -static | -static-libtool-libs)
38587 + # The effects of -static are defined in a previous loop.
38588 + # We used to do the same as -all-static on platforms that
38589 + # didn't have a PIC flag, but the assumption that the effects
38590 + # would be equivalent was wrong. It would break on at least
38591 + # Digital Unix and AIX.
38592 + continue
38593 + ;;
38594 +
38595 + -thread-safe)
38596 + thread_safe=yes
38597 + continue
38598 + ;;
38599 +
38600 + -version-info)
38601 + prev=vinfo
38602 + continue
38603 + ;;
38604 + -version-number)
38605 + prev=vinfo
38606 + vinfo_number=yes
38607 + continue
38608 + ;;
38609 +
38610 + -Wc,*)
38611 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
38612 + arg=
38613 + save_ifs="$IFS"; IFS=','
38614 + for flag in $args; do
38615 + IFS="$save_ifs"
38616 + case $flag in
38617 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
38618 + flag="\"$flag\""
38619 + ;;
38620 + esac
38621 + arg="$arg $wl$flag"
38622 + compiler_flags="$compiler_flags $flag"
38623 + done
38624 + IFS="$save_ifs"
38625 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
38626 + ;;
38627 +
38628 + -Wl,*)
38629 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
38630 + arg=
38631 + save_ifs="$IFS"; IFS=','
38632 + for flag in $args; do
38633 + IFS="$save_ifs"
38634 + case $flag in
38635 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
38636 + flag="\"$flag\""
38637 + ;;
38638 + esac
38639 + arg="$arg $wl$flag"
38640 + compiler_flags="$compiler_flags $wl$flag"
38641 + linker_flags="$linker_flags $flag"
38642 + done
38643 + IFS="$save_ifs"
38644 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
38645 + ;;
38646 +
38647 + -Xcompiler)
38648 + prev=xcompiler
38649 + continue
38650 + ;;
38651 +
38652 + -Xlinker)
38653 + prev=xlinker
38654 + continue
38655 + ;;
38656 +
38657 + -XCClinker)
38658 + prev=xcclinker
38659 + continue
38660 + ;;
38661 +
38662 + # Some other compiler flag.
38663 + -* | +*)
38664 + # Unknown arguments in both finalize_command and compile_command need
38665 + # to be aesthetically quoted because they are evaled later.
38666 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
38667 + case $arg in
38668 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
38669 + arg="\"$arg\""
38670 + ;;
38671 + esac
38672 + ;;
38673 +
38674 + *.$objext)
38675 + # A standard object.
38676 + objs="$objs $arg"
38677 + ;;
38678 +
38679 + *.lo)
38680 + # A libtool-controlled object.
38681 +
38682 + # Check to see that this really is a libtool object.
38683 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
38684 + pic_object=
38685 + non_pic_object=
38686 +
38687 + # Read the .lo file
38688 + # If there is no directory component, then add one.
38689 + case $arg in
38690 + */* | *\\*) . $arg ;;
38691 + *) . ./$arg ;;
38692 + esac
38693 +
38694 + if test -z "$pic_object" || \
38695 + test -z "$non_pic_object" ||
38696 + test "$pic_object" = none && \
38697 + test "$non_pic_object" = none; then
38698 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
38699 + exit $EXIT_FAILURE
38700 + fi
38701 +
38702 + # Extract subdirectory from the argument.
38703 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
38704 + if test "X$xdir" = "X$arg"; then
38705 + xdir=
38706 + else
38707 + xdir="$xdir/"
38708 + fi
38709 +
38710 + if test "$pic_object" != none; then
38711 + # Prepend the subdirectory the object is found in.
38712 + pic_object="$xdir$pic_object"
38713 +
38714 + if test "$prev" = dlfiles; then
38715 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
38716 + dlfiles="$dlfiles $pic_object"
38717 + prev=
38718 + continue
38719 + else
38720 + # If libtool objects are unsupported, then we need to preload.
38721 + prev=dlprefiles
38722 + fi
38723 + fi
38724 +
38725 + # CHECK ME: I think I busted this. -Ossama
38726 + if test "$prev" = dlprefiles; then
38727 + # Preload the old-style object.
38728 + dlprefiles="$dlprefiles $pic_object"
38729 + prev=
38730 + fi
38731 +
38732 + # A PIC object.
38733 + libobjs="$libobjs $pic_object"
38734 + arg="$pic_object"
38735 + fi
38736 +
38737 + # Non-PIC object.
38738 + if test "$non_pic_object" != none; then
38739 + # Prepend the subdirectory the object is found in.
38740 + non_pic_object="$xdir$non_pic_object"
38741 +
38742 + # A standard non-PIC object
38743 + non_pic_objects="$non_pic_objects $non_pic_object"
38744 + if test -z "$pic_object" || test "$pic_object" = none ; then
38745 + arg="$non_pic_object"
38746 + fi
38747 + else
38748 + # If the PIC object exists, use it instead.
38749 + # $xdir was prepended to $pic_object above.
38750 + non_pic_object="$pic_object"
38751 + non_pic_objects="$non_pic_objects $non_pic_object"
38752 + fi
38753 + else
38754 + # Only an error if not doing a dry-run.
38755 + if test -z "$run"; then
38756 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
38757 + exit $EXIT_FAILURE
38758 + else
38759 + # Dry-run case.
38760 +
38761 + # Extract subdirectory from the argument.
38762 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
38763 + if test "X$xdir" = "X$arg"; then
38764 + xdir=
38765 + else
38766 + xdir="$xdir/"
38767 + fi
38768 +
38769 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
38770 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
38771 + libobjs="$libobjs $pic_object"
38772 + non_pic_objects="$non_pic_objects $non_pic_object"
38773 + fi
38774 + fi
38775 + ;;
38776 +
38777 + *.$libext)
38778 + # An archive.
38779 + deplibs="$deplibs $arg"
38780 + old_deplibs="$old_deplibs $arg"
38781 + continue
38782 + ;;
38783 +
38784 + *.la)
38785 + # A libtool-controlled library.
38786 +
38787 + if test "$prev" = dlfiles; then
38788 + # This library was specified with -dlopen.
38789 + dlfiles="$dlfiles $arg"
38790 + prev=
38791 + elif test "$prev" = dlprefiles; then
38792 + # The library was specified with -dlpreopen.
38793 + dlprefiles="$dlprefiles $arg"
38794 + prev=
38795 + else
38796 + deplibs="$deplibs $arg"
38797 + fi
38798 + continue
38799 + ;;
38800 +
38801 + # Some other compiler argument.
38802 + *)
38803 + # Unknown arguments in both finalize_command and compile_command need
38804 + # to be aesthetically quoted because they are evaled later.
38805 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
38806 + case $arg in
38807 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
38808 + arg="\"$arg\""
38809 + ;;
38810 + esac
38811 + ;;
38812 + esac # arg
38813 +
38814 + # Now actually substitute the argument into the commands.
38815 + if test -n "$arg"; then
38816 + compile_command="$compile_command $arg"
38817 + finalize_command="$finalize_command $arg"
38818 + fi
38819 + done # argument parsing loop
38820 +
38821 + if test -n "$prev"; then
38822 + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
38823 + $echo "$help" 1>&2
38824 + exit $EXIT_FAILURE
38825 + fi
38826 +
38827 + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
38828 + eval arg=\"$export_dynamic_flag_spec\"
38829 + compile_command="$compile_command $arg"
38830 + finalize_command="$finalize_command $arg"
38831 + fi
38832 +
38833 + oldlibs=
38834 + # calculate the name of the file, without its directory
38835 + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
38836 + libobjs_save="$libobjs"
38837 +
38838 + if test -n "$shlibpath_var"; then
38839 + # get the directories listed in $shlibpath_var
38840 + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
38841 + else
38842 + shlib_search_path=
38843 + fi
38844 + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
38845 + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
38846 +
38847 + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
38848 + if test "X$output_objdir" = "X$output"; then
38849 + output_objdir="$objdir"
38850 + else
38851 + output_objdir="$output_objdir/$objdir"
38852 + fi
38853 + # Create the object directory.
38854 + if test ! -d "$output_objdir"; then
38855 + $show "$mkdir $output_objdir"
38856 + $run $mkdir $output_objdir
38857 + exit_status=$?
38858 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
38859 + exit $exit_status
38860 + fi
38861 + fi
38862 +
38863 + # Determine the type of output
38864 + case $output in
38865 + "")
38866 + $echo "$modename: you must specify an output file" 1>&2
38867 + $echo "$help" 1>&2
38868 + exit $EXIT_FAILURE
38869 + ;;
38870 + *.$libext) linkmode=oldlib ;;
38871 + *.lo | *.$objext) linkmode=obj ;;
38872 + *.la) linkmode=lib ;;
38873 + *) linkmode=prog ;; # Anything else should be a program.
38874 + esac
38875 +
38876 + case $host in
38877 + *cygwin* | *mingw* | *pw32*)
38878 + # don't eliminate duplications in $postdeps and $predeps
38879 + duplicate_compiler_generated_deps=yes
38880 + ;;
38881 + *)
38882 + duplicate_compiler_generated_deps=$duplicate_deps
38883 + ;;
38884 + esac
38885 + specialdeplibs=
38886 +
38887 + libs=
38888 + # Find all interdependent deplibs by searching for libraries
38889 + # that are linked more than once (e.g. -la -lb -la)
38890 + for deplib in $deplibs; do
38891 + if test "X$duplicate_deps" = "Xyes" ; then
38892 + case "$libs " in
38893 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
38894 + esac
38895 + fi
38896 + libs="$libs $deplib"
38897 + done
38898 +
38899 + if test "$linkmode" = lib; then
38900 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
38901 +
38902 + # Compute libraries that are listed more than once in $predeps
38903 + # $postdeps and mark them as special (i.e., whose duplicates are
38904 + # not to be eliminated).
38905 + pre_post_deps=
38906 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
38907 + for pre_post_dep in $predeps $postdeps; do
38908 + case "$pre_post_deps " in
38909 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
38910 + esac
38911 + pre_post_deps="$pre_post_deps $pre_post_dep"
38912 + done
38913 + fi
38914 + pre_post_deps=
38915 + fi
38916 +
38917 + deplibs=
38918 + newdependency_libs=
38919 + newlib_search_path=
38920 + need_relink=no # whether we're linking any uninstalled libtool libraries
38921 + notinst_deplibs= # not-installed libtool libraries
38922 + case $linkmode in
38923 + lib)
38924 + passes="conv link"
38925 + for file in $dlfiles $dlprefiles; do
38926 + case $file in
38927 + *.la) ;;
38928 + *)
38929 + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
38930 + exit $EXIT_FAILURE
38931 + ;;
38932 + esac
38933 + done
38934 + ;;
38935 + prog)
38936 + compile_deplibs=
38937 + finalize_deplibs=
38938 + alldeplibs=no
38939 + newdlfiles=
38940 + newdlprefiles=
38941 + passes="conv scan dlopen dlpreopen link"
38942 + ;;
38943 + *) passes="conv"
38944 + ;;
38945 + esac
38946 + for pass in $passes; do
38947 + if test "$linkmode,$pass" = "lib,link" ||
38948 + test "$linkmode,$pass" = "prog,scan"; then
38949 + libs="$deplibs"
38950 + deplibs=
38951 + fi
38952 + if test "$linkmode" = prog; then
38953 + case $pass in
38954 + dlopen) libs="$dlfiles" ;;
38955 + dlpreopen) libs="$dlprefiles" ;;
38956 + link)
38957 + libs="$deplibs %DEPLIBS%"
38958 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
38959 + ;;
38960 + esac
38961 + fi
38962 + if test "$pass" = dlopen; then
38963 + # Collect dlpreopened libraries
38964 + save_deplibs="$deplibs"
38965 + deplibs=
38966 + fi
38967 + for deplib in $libs; do
38968 + lib=
38969 + found=no
38970 + case $deplib in
38971 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
38972 + if test "$linkmode,$pass" = "prog,link"; then
38973 + compile_deplibs="$deplib $compile_deplibs"
38974 + finalize_deplibs="$deplib $finalize_deplibs"
38975 + else
38976 + compiler_flags="$compiler_flags $deplib"
38977 + fi
38978 + continue
38979 + ;;
38980 + -l*)
38981 + if test "$linkmode" != lib && test "$linkmode" != prog; then
38982 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
38983 + continue
38984 + fi
38985 + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
38986 + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
38987 + for search_ext in .la $std_shrext .so .a; do
38988 + # Search the libtool library
38989 + lib="$searchdir/lib${name}${search_ext}"
38990 + if test -f "$lib"; then
38991 + if test "$search_ext" = ".la"; then
38992 + found=yes
38993 + else
38994 + found=no
38995 + fi
38996 + break 2
38997 + fi
38998 + done
38999 + done
39000 + if test "$found" != yes; then
39001 + # deplib doesn't seem to be a libtool library
39002 + if test "$linkmode,$pass" = "prog,link"; then
39003 + compile_deplibs="$deplib $compile_deplibs"
39004 + finalize_deplibs="$deplib $finalize_deplibs"
39005 + else
39006 + deplibs="$deplib $deplibs"
39007 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
39008 + fi
39009 + continue
39010 + else # deplib is a libtool library
39011 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
39012 + # We need to do some special things here, and not later.
39013 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
39014 + case " $predeps $postdeps " in
39015 + *" $deplib "*)
39016 + if (${SED} -e '2q' $lib |
39017 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
39018 + library_names=
39019 + old_library=
39020 + case $lib in
39021 + */* | *\\*) . $lib ;;
39022 + *) . ./$lib ;;
39023 + esac
39024 + for l in $old_library $library_names; do
39025 + ll="$l"
39026 + done
39027 + if test "X$ll" = "X$old_library" ; then # only static version available
39028 + found=no
39029 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
39030 + test "X$ladir" = "X$lib" && ladir="."
39031 + lib=$ladir/$old_library
39032 + if test "$linkmode,$pass" = "prog,link"; then
39033 + compile_deplibs="$deplib $compile_deplibs"
39034 + finalize_deplibs="$deplib $finalize_deplibs"
39035 + else
39036 + deplibs="$deplib $deplibs"
39037 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
39038 + fi
39039 + continue
39040 + fi
39041 + fi
39042 + ;;
39043 + *) ;;
39044 + esac
39045 + fi
39046 + fi
39047 + ;; # -l
39048 + -L*)
39049 + case $linkmode in
39050 + lib)
39051 + deplibs="$deplib $deplibs"
39052 + test "$pass" = conv && continue
39053 + newdependency_libs="$deplib $newdependency_libs"
39054 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
39055 + ;;
39056 + prog)
39057 + if test "$pass" = conv; then
39058 + deplibs="$deplib $deplibs"
39059 + continue
39060 + fi
39061 + if test "$pass" = scan; then
39062 + deplibs="$deplib $deplibs"
39063 + else
39064 + compile_deplibs="$deplib $compile_deplibs"
39065 + finalize_deplibs="$deplib $finalize_deplibs"
39066 + fi
39067 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
39068 + ;;
39069 + *)
39070 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
39071 + ;;
39072 + esac # linkmode
39073 + continue
39074 + ;; # -L
39075 + -R*)
39076 + if test "$pass" = link; then
39077 + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
39078 + # Make sure the xrpath contains only unique directories.
39079 + case "$xrpath " in
39080 + *" $dir "*) ;;
39081 + *) xrpath="$xrpath $dir" ;;
39082 + esac
39083 + fi
39084 + deplibs="$deplib $deplibs"
39085 + continue
39086 + ;;
39087 + *.la) lib="$deplib" ;;
39088 + *.$libext)
39089 + if test "$pass" = conv; then
39090 + deplibs="$deplib $deplibs"
39091 + continue
39092 + fi
39093 + case $linkmode in
39094 + lib)
39095 + valid_a_lib=no
39096 + case $deplibs_check_method in
39097 + match_pattern*)
39098 + set dummy $deplibs_check_method
39099 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
39100 + if eval $echo \"$deplib\" 2>/dev/null \
39101 + | $SED 10q \
39102 + | $EGREP "$match_pattern_regex" > /dev/null; then
39103 + valid_a_lib=yes
39104 + fi
39105 + ;;
39106 + pass_all)
39107 + valid_a_lib=yes
39108 + ;;
39109 + esac
39110 + if test "$valid_a_lib" != yes; then
39111 + $echo
39112 + $echo "*** Warning: Trying to link with static lib archive $deplib."
39113 + $echo "*** I have the capability to make that library automatically link in when"
39114 + $echo "*** you link to this library. But I can only do this if you have a"
39115 + $echo "*** shared version of the library, which you do not appear to have"
39116 + $echo "*** because the file extensions .$libext of this argument makes me believe"
39117 + $echo "*** that it is just a static archive that I should not used here."
39118 + else
39119 + $echo
39120 + $echo "*** Warning: Linking the shared library $output against the"
39121 + $echo "*** static library $deplib is not portable!"
39122 + deplibs="$deplib $deplibs"
39123 + fi
39124 + continue
39125 + ;;
39126 + prog)
39127 + if test "$pass" != link; then
39128 + deplibs="$deplib $deplibs"
39129 + else
39130 + compile_deplibs="$deplib $compile_deplibs"
39131 + finalize_deplibs="$deplib $finalize_deplibs"
39132 + fi
39133 + continue
39134 + ;;
39135 + esac # linkmode
39136 + ;; # *.$libext
39137 + *.lo | *.$objext)
39138 + if test "$pass" = conv; then
39139 + deplibs="$deplib $deplibs"
39140 + elif test "$linkmode" = prog; then
39141 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
39142 + # If there is no dlopen support or we're linking statically,
39143 + # we need to preload.
39144 + newdlprefiles="$newdlprefiles $deplib"
39145 + compile_deplibs="$deplib $compile_deplibs"
39146 + finalize_deplibs="$deplib $finalize_deplibs"
39147 + else
39148 + newdlfiles="$newdlfiles $deplib"
39149 + fi
39150 + fi
39151 + continue
39152 + ;;
39153 + %DEPLIBS%)
39154 + alldeplibs=yes
39155 + continue
39156 + ;;
39157 + esac # case $deplib
39158 + if test "$found" = yes || test -f "$lib"; then :
39159 + else
39160 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
39161 + exit $EXIT_FAILURE
39162 + fi
39163 +
39164 + # Check to see that this really is a libtool archive.
39165 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
39166 + else
39167 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
39168 + exit $EXIT_FAILURE
39169 + fi
39170 +
39171 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
39172 + test "X$ladir" = "X$lib" && ladir="."
39173 +
39174 + dlname=
39175 + dlopen=
39176 + dlpreopen=
39177 + libdir=
39178 + library_names=
39179 + old_library=
39180 + # If the library was installed with an old release of libtool,
39181 + # it will not redefine variables installed, or shouldnotlink
39182 + installed=yes
39183 + shouldnotlink=no
39184 + avoidtemprpath=
39185 +
39186 +
39187 + # Read the .la file
39188 + case $lib in
39189 + */* | *\\*) . $lib ;;
39190 + *) . ./$lib ;;
39191 + esac
39192 +
39193 + if test "$linkmode,$pass" = "lib,link" ||
39194 + test "$linkmode,$pass" = "prog,scan" ||
39195 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
39196 + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
39197 + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
39198 + fi
39199 +
39200 + if test "$pass" = conv; then
39201 + # Only check for convenience libraries
39202 + deplibs="$lib $deplibs"
39203 + if test -z "$libdir"; then
39204 + if test -z "$old_library"; then
39205 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
39206 + exit $EXIT_FAILURE
39207 + fi
39208 + # It is a libtool convenience library, so add in its objects.
39209 + convenience="$convenience $ladir/$objdir/$old_library"
39210 + old_convenience="$old_convenience $ladir/$objdir/$old_library"
39211 + tmp_libs=
39212 + for deplib in $dependency_libs; do
39213 + deplibs="$deplib $deplibs"
39214 + if test "X$duplicate_deps" = "Xyes" ; then
39215 + case "$tmp_libs " in
39216 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
39217 + esac
39218 + fi
39219 + tmp_libs="$tmp_libs $deplib"
39220 + done
39221 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
39222 + $echo "$modename: \`$lib' is not a convenience library" 1>&2
39223 + exit $EXIT_FAILURE
39224 + fi
39225 + continue
39226 + fi # $pass = conv
39227 +
39228 +
39229 + # Get the name of the library we link against.
39230 + linklib=
39231 + for l in $old_library $library_names; do
39232 + linklib="$l"
39233 + done
39234 + if test -z "$linklib"; then
39235 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
39236 + exit $EXIT_FAILURE
39237 + fi
39238 +
39239 + # This library was specified with -dlopen.
39240 + if test "$pass" = dlopen; then
39241 + if test -z "$libdir"; then
39242 + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
39243 + exit $EXIT_FAILURE
39244 + fi
39245 + if test -z "$dlname" ||
39246 + test "$dlopen_support" != yes ||
39247 + test "$build_libtool_libs" = no; then
39248 + # If there is no dlname, no dlopen support or we're linking
39249 + # statically, we need to preload. We also need to preload any
39250 + # dependent libraries so libltdl's deplib preloader doesn't
39251 + # bomb out in the load deplibs phase.
39252 + dlprefiles="$dlprefiles $lib $dependency_libs"
39253 + else
39254 + newdlfiles="$newdlfiles $lib"
39255 + fi
39256 + continue
39257 + fi # $pass = dlopen
39258 +
39259 + # We need an absolute path.
39260 + case $ladir in
39261 + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
39262 + *)
39263 + abs_ladir=`cd "$ladir" && pwd`
39264 + if test -z "$abs_ladir"; then
39265 + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
39266 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
39267 + abs_ladir="$ladir"
39268 + fi
39269 + ;;
39270 + esac
39271 + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
39272 +
39273 + # Find the relevant object directory and library name.
39274 + if test "X$installed" = Xyes; then
39275 + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
39276 + $echo "$modename: warning: library \`$lib' was moved." 1>&2
39277 + dir="$ladir"
39278 + absdir="$abs_ladir"
39279 + libdir="$abs_ladir"
39280 + else
39281 + dir="$libdir"
39282 + absdir="$libdir"
39283 + fi
39284 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
39285 + else
39286 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
39287 + dir="$ladir"
39288 + absdir="$abs_ladir"
39289 + # Remove this search path later
39290 + notinst_path="$notinst_path $abs_ladir"
39291 + else
39292 + dir="$ladir/$objdir"
39293 + absdir="$abs_ladir/$objdir"
39294 + # Remove this search path later
39295 + notinst_path="$notinst_path $abs_ladir"
39296 + fi
39297 + fi # $installed = yes
39298 + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
39299 +
39300 + # This library was specified with -dlpreopen.
39301 + if test "$pass" = dlpreopen; then
39302 + if test -z "$libdir"; then
39303 + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
39304 + exit $EXIT_FAILURE
39305 + fi
39306 + # Prefer using a static library (so that no silly _DYNAMIC symbols
39307 + # are required to link).
39308 + if test -n "$old_library"; then
39309 + newdlprefiles="$newdlprefiles $dir/$old_library"
39310 + # Otherwise, use the dlname, so that lt_dlopen finds it.
39311 + elif test -n "$dlname"; then
39312 + newdlprefiles="$newdlprefiles $dir/$dlname"
39313 + else
39314 + newdlprefiles="$newdlprefiles $dir/$linklib"
39315 + fi
39316 + fi # $pass = dlpreopen
39317 +
39318 + if test -z "$libdir"; then
39319 + # Link the convenience library
39320 + if test "$linkmode" = lib; then
39321 + deplibs="$dir/$old_library $deplibs"
39322 + elif test "$linkmode,$pass" = "prog,link"; then
39323 + compile_deplibs="$dir/$old_library $compile_deplibs"
39324 + finalize_deplibs="$dir/$old_library $finalize_deplibs"
39325 + else
39326 + deplibs="$lib $deplibs" # used for prog,scan pass
39327 + fi
39328 + continue
39329 + fi
39330 +
39331 +
39332 + if test "$linkmode" = prog && test "$pass" != link; then
39333 + newlib_search_path="$newlib_search_path $ladir"
39334 + deplibs="$lib $deplibs"
39335 +
39336 + linkalldeplibs=no
39337 + if test "$link_all_deplibs" != no || test -z "$library_names" ||
39338 + test "$build_libtool_libs" = no; then
39339 + linkalldeplibs=yes
39340 + fi
39341 +
39342 + tmp_libs=
39343 + for deplib in $dependency_libs; do
39344 + case $deplib in
39345 + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
39346 + esac
39347 + # Need to link against all dependency_libs?
39348 + if test "$linkalldeplibs" = yes; then
39349 + deplibs="$deplib $deplibs"
39350 + else
39351 + # Need to hardcode shared library paths
39352 + # or/and link against static libraries
39353 + newdependency_libs="$deplib $newdependency_libs"
39354 + fi
39355 + if test "X$duplicate_deps" = "Xyes" ; then
39356 + case "$tmp_libs " in
39357 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
39358 + esac
39359 + fi
39360 + tmp_libs="$tmp_libs $deplib"
39361 + done # for deplib
39362 + continue
39363 + fi # $linkmode = prog...
39364 +
39365 + if test "$linkmode,$pass" = "prog,link"; then
39366 + if test -n "$library_names" &&
39367 + { { test "$prefer_static_libs" = no ||
39368 + test "$prefer_static_libs,$installed" = "built,yes"; } ||
39369 + test -z "$old_library"; }; then
39370 + # We need to hardcode the library path
39371 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
39372 + # Make sure the rpath contains only unique directories.
39373 + case "$temp_rpath " in
39374 + *" $dir "*) ;;
39375 + *" $absdir "*) ;;
39376 + *) temp_rpath="$temp_rpath $absdir" ;;
39377 + esac
39378 + fi
39379 +
39380 + # Hardcode the library path.
39381 + # Skip directories that are in the system default run-time
39382 + # search path.
39383 + case " $sys_lib_dlsearch_path " in
39384 + *" $absdir "*) ;;
39385 + *)
39386 + case "$compile_rpath " in
39387 + *" $absdir "*) ;;
39388 + *) compile_rpath="$compile_rpath $absdir"
39389 + esac
39390 + ;;
39391 + esac
39392 + case " $sys_lib_dlsearch_path " in
39393 + *" $libdir "*) ;;
39394 + *)
39395 + case "$finalize_rpath " in
39396 + *" $libdir "*) ;;
39397 + *) finalize_rpath="$finalize_rpath $libdir"
39398 + esac
39399 + ;;
39400 + esac
39401 + fi # $linkmode,$pass = prog,link...
39402 +
39403 + if test "$alldeplibs" = yes &&
39404 + { test "$deplibs_check_method" = pass_all ||
39405 + { test "$build_libtool_libs" = yes &&
39406 + test -n "$library_names"; }; }; then
39407 + # We only need to search for static libraries
39408 + continue
39409 + fi
39410 + fi
39411 +
39412 + link_static=no # Whether the deplib will be linked statically
39413 + use_static_libs=$prefer_static_libs
39414 + if test "$use_static_libs" = built && test "$installed" = yes ; then
39415 + use_static_libs=no
39416 + fi
39417 + if test -n "$library_names" &&
39418 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
39419 + if test "$installed" = no; then
39420 + notinst_deplibs="$notinst_deplibs $lib"
39421 + need_relink=yes
39422 + fi
39423 + # This is a shared library
39424 +
39425 + # Warn about portability, can't link against -module's on
39426 + # some systems (darwin)
39427 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
39428 + $echo
39429 + if test "$linkmode" = prog; then
39430 + $echo "*** Warning: Linking the executable $output against the loadable module"
39431 + else
39432 + $echo "*** Warning: Linking the shared library $output against the loadable module"
39433 + fi
39434 + $echo "*** $linklib is not portable!"
39435 + fi
39436 + if test "$linkmode" = lib &&
39437 + test "$hardcode_into_libs" = yes; then
39438 + # Hardcode the library path.
39439 + # Skip directories that are in the system default run-time
39440 + # search path.
39441 + case " $sys_lib_dlsearch_path " in
39442 + *" $absdir "*) ;;
39443 + *)
39444 + case "$compile_rpath " in
39445 + *" $absdir "*) ;;
39446 + *) compile_rpath="$compile_rpath $absdir"
39447 + esac
39448 + ;;
39449 + esac
39450 + case " $sys_lib_dlsearch_path " in
39451 + *" $libdir "*) ;;
39452 + *)
39453 + case "$finalize_rpath " in
39454 + *" $libdir "*) ;;
39455 + *) finalize_rpath="$finalize_rpath $libdir"
39456 + esac
39457 + ;;
39458 + esac
39459 + fi
39460 +
39461 + if test -n "$old_archive_from_expsyms_cmds"; then
39462 + # figure out the soname
39463 + set dummy $library_names
39464 + realname="$2"
39465 + shift; shift
39466 + libname=`eval \\$echo \"$libname_spec\"`
39467 + # use dlname if we got it. it's perfectly good, no?
39468 + if test -n "$dlname"; then
39469 + soname="$dlname"
39470 + elif test -n "$soname_spec"; then
39471 + # bleh windows
39472 + case $host in
39473 + *cygwin* | mingw*)
39474 + major=`expr $current - $age`
39475 + versuffix="-$major"
39476 + ;;
39477 + esac
39478 + eval soname=\"$soname_spec\"
39479 + else
39480 + soname="$realname"
39481 + fi
39482 +
39483 + # Make a new name for the extract_expsyms_cmds to use
39484 + soroot="$soname"
39485 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
39486 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
39487 +
39488 + # If the library has no export list, then create one now
39489 + if test -f "$output_objdir/$soname-def"; then :
39490 + else
39491 + $show "extracting exported symbol list from \`$soname'"
39492 + save_ifs="$IFS"; IFS='~'
39493 + cmds=$extract_expsyms_cmds
39494 + for cmd in $cmds; do
39495 + IFS="$save_ifs"
39496 + eval cmd=\"$cmd\"
39497 + $show "$cmd"
39498 + $run eval "$cmd" || exit $?
39499 + done
39500 + IFS="$save_ifs"
39501 + fi
39502 +
39503 + # Create $newlib
39504 + if test -f "$output_objdir/$newlib"; then :; else
39505 + $show "generating import library for \`$soname'"
39506 + save_ifs="$IFS"; IFS='~'
39507 + cmds=$old_archive_from_expsyms_cmds
39508 + for cmd in $cmds; do
39509 + IFS="$save_ifs"
39510 + eval cmd=\"$cmd\"
39511 + $show "$cmd"
39512 + $run eval "$cmd" || exit $?
39513 + done
39514 + IFS="$save_ifs"
39515 + fi
39516 + # make sure the library variables are pointing to the new library
39517 + dir=$output_objdir
39518 + linklib=$newlib
39519 + fi # test -n "$old_archive_from_expsyms_cmds"
39520 +
39521 + if test "$linkmode" = prog || test "$mode" != relink; then
39522 + add_shlibpath=
39523 + add_dir=
39524 + add=
39525 + lib_linked=yes
39526 + case $hardcode_action in
39527 + immediate | unsupported)
39528 + if test "$hardcode_direct" = no; then
39529 + add="$dir/$linklib"
39530 + case $host in
39531 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
39532 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
39533 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
39534 + *-*-unixware7*) add_dir="-L$dir" ;;
39535 + *-*-darwin* )
39536 + # if the lib is a module then we can not link against
39537 + # it, someone is ignoring the new warnings I added
39538 + if /usr/bin/file -L $add 2> /dev/null |
39539 + $EGREP ": [^:]* bundle" >/dev/null ; then
39540 + $echo "** Warning, lib $linklib is a module, not a shared library"
39541 + if test -z "$old_library" ; then
39542 + $echo
39543 + $echo "** And there doesn't seem to be a static archive available"
39544 + $echo "** The link will probably fail, sorry"
39545 + else
39546 + add="$dir/$old_library"
39547 + fi
39548 + fi
39549 + esac
39550 + elif test "$hardcode_minus_L" = no; then
39551 + case $host in
39552 + *-*-sunos*) add_shlibpath="$dir" ;;
39553 + esac
39554 + add_dir="-L$dir"
39555 + add="-l$name"
39556 + elif test "$hardcode_shlibpath_var" = no; then
39557 + add_shlibpath="$dir"
39558 + add="-l$name"
39559 + else
39560 + lib_linked=no
39561 + fi
39562 + ;;
39563 + relink)
39564 + if test "$hardcode_direct" = yes; then
39565 + add="$dir/$linklib"
39566 + elif test "$hardcode_minus_L" = yes; then
39567 + add_dir="-L$dir"
39568 + # Try looking first in the location we're being installed to.
39569 + if test -n "$inst_prefix_dir"; then
39570 + case $libdir in
39571 + [\\/]*)
39572 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
39573 + ;;
39574 + esac
39575 + fi
39576 + add="-l$name"
39577 + elif test "$hardcode_shlibpath_var" = yes; then
39578 + add_shlibpath="$dir"
39579 + add="-l$name"
39580 + else
39581 + lib_linked=no
39582 + fi
39583 + ;;
39584 + *) lib_linked=no ;;
39585 + esac
39586 +
39587 + if test "$lib_linked" != yes; then
39588 + $echo "$modename: configuration error: unsupported hardcode properties"
39589 + exit $EXIT_FAILURE
39590 + fi
39591 +
39592 + if test -n "$add_shlibpath"; then
39593 + case :$compile_shlibpath: in
39594 + *":$add_shlibpath:"*) ;;
39595 + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
39596 + esac
39597 + fi
39598 + if test "$linkmode" = prog; then
39599 + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
39600 + test -n "$add" && compile_deplibs="$add $compile_deplibs"
39601 + else
39602 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
39603 + test -n "$add" && deplibs="$add $deplibs"
39604 + if test "$hardcode_direct" != yes && \
39605 + test "$hardcode_minus_L" != yes && \
39606 + test "$hardcode_shlibpath_var" = yes; then
39607 + case :$finalize_shlibpath: in
39608 + *":$libdir:"*) ;;
39609 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
39610 + esac
39611 + fi
39612 + fi
39613 + fi
39614 +
39615 + if test "$linkmode" = prog || test "$mode" = relink; then
39616 + add_shlibpath=
39617 + add_dir=
39618 + add=
39619 + # Finalize command for both is simple: just hardcode it.
39620 + if test "$hardcode_direct" = yes; then
39621 + add="$libdir/$linklib"
39622 + elif test "$hardcode_minus_L" = yes; then
39623 + add_dir="-L$libdir"
39624 + add="-l$name"
39625 + elif test "$hardcode_shlibpath_var" = yes; then
39626 + case :$finalize_shlibpath: in
39627 + *":$libdir:"*) ;;
39628 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
39629 + esac
39630 + add="-l$name"
39631 + elif test "$hardcode_automatic" = yes; then
39632 + if test -n "$inst_prefix_dir" &&
39633 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
39634 + add="$inst_prefix_dir$libdir/$linklib"
39635 + else
39636 + add="$libdir/$linklib"
39637 + fi
39638 + else
39639 + # We cannot seem to hardcode it, guess we'll fake it.
39640 + add_dir="-L$libdir"
39641 + # Try looking first in the location we're being installed to.
39642 + if test -n "$inst_prefix_dir"; then
39643 + case $libdir in
39644 + [\\/]*)
39645 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
39646 + ;;
39647 + esac
39648 + fi
39649 + add="-l$name"
39650 + fi
39651 +
39652 + if test "$linkmode" = prog; then
39653 + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
39654 + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
39655 + else
39656 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
39657 + test -n "$add" && deplibs="$add $deplibs"
39658 + fi
39659 + fi
39660 + elif test "$linkmode" = prog; then
39661 + # Here we assume that one of hardcode_direct or hardcode_minus_L
39662 + # is not unsupported. This is valid on all known static and
39663 + # shared platforms.
39664 + if test "$hardcode_direct" != unsupported; then
39665 + test -n "$old_library" && linklib="$old_library"
39666 + compile_deplibs="$dir/$linklib $compile_deplibs"
39667 + finalize_deplibs="$dir/$linklib $finalize_deplibs"
39668 + else
39669 + compile_deplibs="-l$name -L$dir $compile_deplibs"
39670 + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
39671 + fi
39672 + elif test "$build_libtool_libs" = yes; then
39673 + # Not a shared library
39674 + if test "$deplibs_check_method" != pass_all; then
39675 + # We're trying link a shared library against a static one
39676 + # but the system doesn't support it.
39677 +
39678 + # Just print a warning and add the library to dependency_libs so
39679 + # that the program can be linked against the static library.
39680 + $echo
39681 + $echo "*** Warning: This system can not link to static lib archive $lib."
39682 + $echo "*** I have the capability to make that library automatically link in when"
39683 + $echo "*** you link to this library. But I can only do this if you have a"
39684 + $echo "*** shared version of the library, which you do not appear to have."
39685 + if test "$module" = yes; then
39686 + $echo "*** But as you try to build a module library, libtool will still create "
39687 + $echo "*** a static module, that should work as long as the dlopening application"
39688 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
39689 + if test -z "$global_symbol_pipe"; then
39690 + $echo
39691 + $echo "*** However, this would only work if libtool was able to extract symbol"
39692 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
39693 + $echo "*** not find such a program. So, this module is probably useless."
39694 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
39695 + fi
39696 + if test "$build_old_libs" = no; then
39697 + build_libtool_libs=module
39698 + build_old_libs=yes
39699 + else
39700 + build_libtool_libs=no
39701 + fi
39702 + fi
39703 + else
39704 + deplibs="$dir/$old_library $deplibs"
39705 + link_static=yes
39706 + fi
39707 + fi # link shared/static library?
39708 +
39709 + if test "$linkmode" = lib; then
39710 + if test -n "$dependency_libs" &&
39711 + { test "$hardcode_into_libs" != yes ||
39712 + test "$build_old_libs" = yes ||
39713 + test "$link_static" = yes; }; then
39714 + # Extract -R from dependency_libs
39715 + temp_deplibs=
39716 + for libdir in $dependency_libs; do
39717 + case $libdir in
39718 + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
39719 + case " $xrpath " in
39720 + *" $temp_xrpath "*) ;;
39721 + *) xrpath="$xrpath $temp_xrpath";;
39722 + esac;;
39723 + *) temp_deplibs="$temp_deplibs $libdir";;
39724 + esac
39725 + done
39726 + dependency_libs="$temp_deplibs"
39727 + fi
39728 +
39729 + newlib_search_path="$newlib_search_path $absdir"
39730 + # Link against this library
39731 + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
39732 + # ... and its dependency_libs
39733 + tmp_libs=
39734 + for deplib in $dependency_libs; do
39735 + newdependency_libs="$deplib $newdependency_libs"
39736 + if test "X$duplicate_deps" = "Xyes" ; then
39737 + case "$tmp_libs " in
39738 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
39739 + esac
39740 + fi
39741 + tmp_libs="$tmp_libs $deplib"
39742 + done
39743 +
39744 + if test "$link_all_deplibs" != no; then
39745 + # Add the search paths of all dependency libraries
39746 + for deplib in $dependency_libs; do
39747 + case $deplib in
39748 + -L*) path="$deplib" ;;
39749 + *.la)
39750 + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
39751 + test "X$dir" = "X$deplib" && dir="."
39752 + # We need an absolute path.
39753 + case $dir in
39754 + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
39755 + *)
39756 + absdir=`cd "$dir" && pwd`
39757 + if test -z "$absdir"; then
39758 + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
39759 + absdir="$dir"
39760 + fi
39761 + ;;
39762 + esac
39763 + if grep "^installed=no" $deplib > /dev/null; then
39764 + path="$absdir/$objdir"
39765 + else
39766 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
39767 + if test -z "$libdir"; then
39768 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
39769 + exit $EXIT_FAILURE
39770 + fi
39771 + if test "$absdir" != "$libdir"; then
39772 + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
39773 + fi
39774 + path="$absdir"
39775 + fi
39776 + depdepl=
39777 + case $host in
39778 + *-*-darwin*)
39779 + # we do not want to link against static libs,
39780 + # but need to link against shared
39781 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
39782 + if test -n "$deplibrary_names" ; then
39783 + for tmp in $deplibrary_names ; do
39784 + depdepl=$tmp
39785 + done
39786 + if test -f "$path/$depdepl" ; then
39787 + depdepl="$path/$depdepl"
39788 + fi
39789 + # do not add paths which are already there
39790 + case " $newlib_search_path " in
39791 + *" $path "*) ;;
39792 + *) newlib_search_path="$newlib_search_path $path";;
39793 + esac
39794 + fi
39795 + path=""
39796 + ;;
39797 + *)
39798 + path="-L$path"
39799 + ;;
39800 + esac
39801 + ;;
39802 + -l*)
39803 + case $host in
39804 + *-*-darwin*)
39805 + # Again, we only want to link against shared libraries
39806 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
39807 + for tmp in $newlib_search_path ; do
39808 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
39809 + eval depdepl="$tmp/lib$tmp_libs.dylib"
39810 + break
39811 + fi
39812 + done
39813 + path=""
39814 + ;;
39815 + *) continue ;;
39816 + esac
39817 + ;;
39818 + *) continue ;;
39819 + esac
39820 + case " $deplibs " in
39821 + *" $path "*) ;;
39822 + *) deplibs="$path $deplibs" ;;
39823 + esac
39824 + case " $deplibs " in
39825 + *" $depdepl "*) ;;
39826 + *) deplibs="$depdepl $deplibs" ;;
39827 + esac
39828 + done
39829 + fi # link_all_deplibs != no
39830 + fi # linkmode = lib
39831 + done # for deplib in $libs
39832 + dependency_libs="$newdependency_libs"
39833 + if test "$pass" = dlpreopen; then
39834 + # Link the dlpreopened libraries before other libraries
39835 + for deplib in $save_deplibs; do
39836 + deplibs="$deplib $deplibs"
39837 + done
39838 + fi
39839 + if test "$pass" != dlopen; then
39840 + if test "$pass" != conv; then
39841 + # Make sure lib_search_path contains only unique directories.
39842 + lib_search_path=
39843 + for dir in $newlib_search_path; do
39844 + case "$lib_search_path " in
39845 + *" $dir "*) ;;
39846 + *) lib_search_path="$lib_search_path $dir" ;;
39847 + esac
39848 + done
39849 + newlib_search_path=
39850 + fi
39851 +
39852 + if test "$linkmode,$pass" != "prog,link"; then
39853 + vars="deplibs"
39854 + else
39855 + vars="compile_deplibs finalize_deplibs"
39856 + fi
39857 + for var in $vars dependency_libs; do
39858 + # Add libraries to $var in reverse order
39859 + eval tmp_libs=\"\$$var\"
39860 + new_libs=
39861 + for deplib in $tmp_libs; do
39862 + # FIXME: Pedantically, this is the right thing to do, so
39863 + # that some nasty dependency loop isn't accidentally
39864 + # broken:
39865 + #new_libs="$deplib $new_libs"
39866 + # Pragmatically, this seems to cause very few problems in
39867 + # practice:
39868 + case $deplib in
39869 + -L*) new_libs="$deplib $new_libs" ;;
39870 + -R*) ;;
39871 + *)
39872 + # And here is the reason: when a library appears more
39873 + # than once as an explicit dependence of a library, or
39874 + # is implicitly linked in more than once by the
39875 + # compiler, it is considered special, and multiple
39876 + # occurrences thereof are not removed. Compare this
39877 + # with having the same library being listed as a
39878 + # dependency of multiple other libraries: in this case,
39879 + # we know (pedantically, we assume) the library does not
39880 + # need to be listed more than once, so we keep only the
39881 + # last copy. This is not always right, but it is rare
39882 + # enough that we require users that really mean to play
39883 + # such unportable linking tricks to link the library
39884 + # using -Wl,-lname, so that libtool does not consider it
39885 + # for duplicate removal.
39886 + case " $specialdeplibs " in
39887 + *" $deplib "*) new_libs="$deplib $new_libs" ;;
39888 + *)
39889 + case " $new_libs " in
39890 + *" $deplib "*) ;;
39891 + *) new_libs="$deplib $new_libs" ;;
39892 + esac
39893 + ;;
39894 + esac
39895 + ;;
39896 + esac
39897 + done
39898 + tmp_libs=
39899 + for deplib in $new_libs; do
39900 + case $deplib in
39901 + -L*)
39902 + case " $tmp_libs " in
39903 + *" $deplib "*) ;;
39904 + *) tmp_libs="$tmp_libs $deplib" ;;
39905 + esac
39906 + ;;
39907 + *) tmp_libs="$tmp_libs $deplib" ;;
39908 + esac
39909 + done
39910 + eval $var=\"$tmp_libs\"
39911 + done # for var
39912 + fi
39913 + # Last step: remove runtime libs from dependency_libs
39914 + # (they stay in deplibs)
39915 + tmp_libs=
39916 + for i in $dependency_libs ; do
39917 + case " $predeps $postdeps $compiler_lib_search_path " in
39918 + *" $i "*)
39919 + i=""
39920 + ;;
39921 + esac
39922 + if test -n "$i" ; then
39923 + tmp_libs="$tmp_libs $i"
39924 + fi
39925 + done
39926 + dependency_libs=$tmp_libs
39927 + done # for pass
39928 + if test "$linkmode" = prog; then
39929 + dlfiles="$newdlfiles"
39930 + dlprefiles="$newdlprefiles"
39931 + fi
39932 +
39933 + case $linkmode in
39934 + oldlib)
39935 + if test -n "$deplibs"; then
39936 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
39937 + fi
39938 +
39939 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
39940 + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
39941 + fi
39942 +
39943 + if test -n "$rpath"; then
39944 + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
39945 + fi
39946 +
39947 + if test -n "$xrpath"; then
39948 + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
39949 + fi
39950 +
39951 + if test -n "$vinfo"; then
39952 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
39953 + fi
39954 +
39955 + if test -n "$release"; then
39956 + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
39957 + fi
39958 +
39959 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
39960 + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
39961 + fi
39962 +
39963 + # Now set the variables for building old libraries.
39964 + build_libtool_libs=no
39965 + oldlibs="$output"
39966 + objs="$objs$old_deplibs"
39967 + ;;
39968 +
39969 + lib)
39970 + # Make sure we only generate libraries of the form `libNAME.la'.
39971 + case $outputname in
39972 + lib*)
39973 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
39974 + eval shared_ext=\"$shrext_cmds\"
39975 + eval libname=\"$libname_spec\"
39976 + ;;
39977 + *)
39978 + if test "$module" = no; then
39979 + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
39980 + $echo "$help" 1>&2
39981 + exit $EXIT_FAILURE
39982 + fi
39983 + if test "$need_lib_prefix" != no; then
39984 + # Add the "lib" prefix for modules if required
39985 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
39986 + eval shared_ext=\"$shrext_cmds\"
39987 + eval libname=\"$libname_spec\"
39988 + else
39989 + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
39990 + fi
39991 + ;;
39992 + esac
39993 +
39994 + if test -n "$objs"; then
39995 + if test "$deplibs_check_method" != pass_all; then
39996 + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
39997 + exit $EXIT_FAILURE
39998 + else
39999 + $echo
40000 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
40001 + $echo "*** objects $objs is not portable!"
40002 + libobjs="$libobjs $objs"
40003 + fi
40004 + fi
40005 +
40006 + if test "$dlself" != no; then
40007 + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
40008 + fi
40009 +
40010 + set dummy $rpath
40011 + if test "$#" -gt 2; then
40012 + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
40013 + fi
40014 + install_libdir="$2"
40015 +
40016 + oldlibs=
40017 + if test -z "$rpath"; then
40018 + if test "$build_libtool_libs" = yes; then
40019 + # Building a libtool convenience library.
40020 + # Some compilers have problems with a `.al' extension so
40021 + # convenience libraries should have the same extension an
40022 + # archive normally would.
40023 + oldlibs="$output_objdir/$libname.$libext $oldlibs"
40024 + build_libtool_libs=convenience
40025 + build_old_libs=yes
40026 + fi
40027 +
40028 + if test -n "$vinfo"; then
40029 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
40030 + fi
40031 +
40032 + if test -n "$release"; then
40033 + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
40034 + fi
40035 + else
40036 +
40037 + # Parse the version information argument.
40038 + save_ifs="$IFS"; IFS=':'
40039 + set dummy $vinfo 0 0 0
40040 + IFS="$save_ifs"
40041 +
40042 + if test -n "$8"; then
40043 + $echo "$modename: too many parameters to \`-version-info'" 1>&2
40044 + $echo "$help" 1>&2
40045 + exit $EXIT_FAILURE
40046 + fi
40047 +
40048 + # convert absolute version numbers to libtool ages
40049 + # this retains compatibility with .la files and attempts
40050 + # to make the code below a bit more comprehensible
40051 +
40052 + case $vinfo_number in
40053 + yes)
40054 + number_major="$2"
40055 + number_minor="$3"
40056 + number_revision="$4"
40057 + #
40058 + # There are really only two kinds -- those that
40059 + # use the current revision as the major version
40060 + # and those that subtract age and use age as
40061 + # a minor version. But, then there is irix
40062 + # which has an extra 1 added just for fun
40063 + #
40064 + case $version_type in
40065 + darwin|linux|osf|windows|none)
40066 + current=`expr $number_major + $number_minor`
40067 + age="$number_minor"
40068 + revision="$number_revision"
40069 + ;;
40070 + freebsd-aout|freebsd-elf|sunos)
40071 + current="$number_major"
40072 + revision="$number_minor"
40073 + age="0"
40074 + ;;
40075 + irix|nonstopux)
40076 + current=`expr $number_major + $number_minor`
40077 + age="$number_minor"
40078 + revision="$number_minor"
40079 + lt_irix_increment=no
40080 + ;;
40081 + *)
40082 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
40083 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
40084 + exit $EXIT_FAILURE
40085 + ;;
40086 + esac
40087 + ;;
40088 + no)
40089 + current="$2"
40090 + revision="$3"
40091 + age="$4"
40092 + ;;
40093 + esac
40094 +
40095 + # Check that each of the things are valid numbers.
40096 + case $current in
40097 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
40098 + *)
40099 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
40100 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
40101 + exit $EXIT_FAILURE
40102 + ;;
40103 + esac
40104 +
40105 + case $revision in
40106 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
40107 + *)
40108 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
40109 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
40110 + exit $EXIT_FAILURE
40111 + ;;
40112 + esac
40113 +
40114 + case $age in
40115 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
40116 + *)
40117 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
40118 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
40119 + exit $EXIT_FAILURE
40120 + ;;
40121 + esac
40122 +
40123 + if test "$age" -gt "$current"; then
40124 + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
40125 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
40126 + exit $EXIT_FAILURE
40127 + fi
40128 +
40129 + # Calculate the version variables.
40130 + major=
40131 + versuffix=
40132 + verstring=
40133 + case $version_type in
40134 + none) ;;
40135 +
40136 + darwin)
40137 + # Like Linux, but with the current version available in
40138 + # verstring for coding it into the library header
40139 + major=.`expr $current - $age`
40140 + versuffix="$major.$age.$revision"
40141 + # Darwin ld doesn't like 0 for these options...
40142 + minor_current=`expr $current + 1`
40143 + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
40144 + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
40145 + ;;
40146 +
40147 + freebsd-aout)
40148 + major=".$current"
40149 + versuffix=".$current.$revision";
40150 + ;;
40151 +
40152 + freebsd-elf)
40153 + major=".$current"
40154 + versuffix=".$current";
40155 + ;;
40156 +
40157 + irix | nonstopux)
40158 + if test "X$lt_irix_increment" = "Xno"; then
40159 + major=`expr $current - $age`
40160 + else
40161 + major=`expr $current - $age + 1`
40162 + fi
40163 + case $version_type in
40164 + nonstopux) verstring_prefix=nonstopux ;;
40165 + *) verstring_prefix=sgi ;;
40166 + esac
40167 + verstring="$verstring_prefix$major.$revision"
40168 +
40169 + # Add in all the interfaces that we are compatible with.
40170 + loop=$revision
40171 + while test "$loop" -ne 0; do
40172 + iface=`expr $revision - $loop`
40173 + loop=`expr $loop - 1`
40174 + verstring="$verstring_prefix$major.$iface:$verstring"
40175 + done
40176 +
40177 + # Before this point, $major must not contain `.'.
40178 + major=.$major
40179 + versuffix="$major.$revision"
40180 + ;;
40181 +
40182 + linux)
40183 + major=.`expr $current - $age`
40184 + versuffix="$major.$age.$revision"
40185 + ;;
40186 +
40187 + osf)
40188 + major=.`expr $current - $age`
40189 + versuffix=".$current.$age.$revision"
40190 + verstring="$current.$age.$revision"
40191 +
40192 + # Add in all the interfaces that we are compatible with.
40193 + loop=$age
40194 + while test "$loop" -ne 0; do
40195 + iface=`expr $current - $loop`
40196 + loop=`expr $loop - 1`
40197 + verstring="$verstring:${iface}.0"
40198 + done
40199 +
40200 + # Make executables depend on our current version.
40201 + verstring="$verstring:${current}.0"
40202 + ;;
40203 +
40204 + sunos)
40205 + major=".$current"
40206 + versuffix=".$current.$revision"
40207 + ;;
40208 +
40209 + windows)
40210 + # Use '-' rather than '.', since we only want one
40211 + # extension on DOS 8.3 filesystems.
40212 + major=`expr $current - $age`
40213 + versuffix="-$major"
40214 + ;;
40215 +
40216 + *)
40217 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
40218 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
40219 + exit $EXIT_FAILURE
40220 + ;;
40221 + esac
40222 +
40223 + # Clear the version info if we defaulted, and they specified a release.
40224 + if test -z "$vinfo" && test -n "$release"; then
40225 + major=
40226 + case $version_type in
40227 + darwin)
40228 + # we can't check for "0.0" in archive_cmds due to quoting
40229 + # problems, so we reset it completely
40230 + verstring=
40231 + ;;
40232 + *)
40233 + verstring="0.0"
40234 + ;;
40235 + esac
40236 + if test "$need_version" = no; then
40237 + versuffix=
40238 + else
40239 + versuffix=".0.0"
40240 + fi
40241 + fi
40242 +
40243 + # Remove version info from name if versioning should be avoided
40244 + if test "$avoid_version" = yes && test "$need_version" = no; then
40245 + major=
40246 + versuffix=
40247 + verstring=""
40248 + fi
40249 +
40250 + # Check to see if the archive will have undefined symbols.
40251 + if test "$allow_undefined" = yes; then
40252 + if test "$allow_undefined_flag" = unsupported; then
40253 + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
40254 + build_libtool_libs=no
40255 + build_old_libs=yes
40256 + fi
40257 + else
40258 + # Don't allow undefined symbols.
40259 + allow_undefined_flag="$no_undefined_flag"
40260 + fi
40261 + fi
40262 +
40263 + if test "$mode" != relink; then
40264 + # Remove our outputs, but don't remove object files since they
40265 + # may have been created when compiling PIC objects.
40266 + removelist=
40267 + tempremovelist=`$echo "$output_objdir/*"`
40268 + for p in $tempremovelist; do
40269 + case $p in
40270 + *.$objext)
40271 + ;;
40272 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
40273 + if test "X$precious_files_regex" != "X"; then
40274 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
40275 + then
40276 + continue
40277 + fi
40278 + fi
40279 + removelist="$removelist $p"
40280 + ;;
40281 + *) ;;
40282 + esac
40283 + done
40284 + if test -n "$removelist"; then
40285 + $show "${rm}r $removelist"
40286 + $run ${rm}r $removelist
40287 + fi
40288 + fi
40289 +
40290 + # Now set the variables for building old libraries.
40291 + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
40292 + oldlibs="$oldlibs $output_objdir/$libname.$libext"
40293 +
40294 + # Transform .lo files to .o files.
40295 + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
40296 + fi
40297 +
40298 + # Eliminate all temporary directories.
40299 + #for path in $notinst_path; do
40300 + # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
40301 + # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
40302 + # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
40303 + #done
40304 +
40305 + if test -n "$xrpath"; then
40306 + # If the user specified any rpath flags, then add them.
40307 + temp_xrpath=
40308 + for libdir in $xrpath; do
40309 + temp_xrpath="$temp_xrpath -R$libdir"
40310 + case "$finalize_rpath " in
40311 + *" $libdir "*) ;;
40312 + *) finalize_rpath="$finalize_rpath $libdir" ;;
40313 + esac
40314 + done
40315 + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
40316 + dependency_libs="$temp_xrpath $dependency_libs"
40317 + fi
40318 + fi
40319 +
40320 + # Make sure dlfiles contains only unique files that won't be dlpreopened
40321 + old_dlfiles="$dlfiles"
40322 + dlfiles=
40323 + for lib in $old_dlfiles; do
40324 + case " $dlprefiles $dlfiles " in
40325 + *" $lib "*) ;;
40326 + *) dlfiles="$dlfiles $lib" ;;
40327 + esac
40328 + done
40329 +
40330 + # Make sure dlprefiles contains only unique files
40331 + old_dlprefiles="$dlprefiles"
40332 + dlprefiles=
40333 + for lib in $old_dlprefiles; do
40334 + case "$dlprefiles " in
40335 + *" $lib "*) ;;
40336 + *) dlprefiles="$dlprefiles $lib" ;;
40337 + esac
40338 + done
40339 +
40340 + if test "$build_libtool_libs" = yes; then
40341 + if test -n "$rpath"; then
40342 + case $host in
40343 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
40344 + # these systems don't actually have a c library (as such)!
40345 + ;;
40346 + *-*-rhapsody* | *-*-darwin1.[012])
40347 + # Rhapsody C library is in the System framework
40348 + deplibs="$deplibs -framework System"
40349 + ;;
40350 + *-*-netbsd*)
40351 + # Don't link with libc until the a.out ld.so is fixed.
40352 + ;;
40353 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
40354 + # Do not include libc due to us having libc/libc_r.
40355 + ;;
40356 + *-*-sco3.2v5* | *-*-sco5v6*)
40357 + # Causes problems with __ctype
40358 + ;;
40359 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
40360 + # Compiler inserts libc in the correct place for threads to work
40361 + ;;
40362 + *)
40363 + # Add libc to deplibs on all other systems if necessary.
40364 + if test "$build_libtool_need_lc" = "yes"; then
40365 + deplibs="$deplibs -lc"
40366 + fi
40367 + ;;
40368 + esac
40369 + fi
40370 +
40371 + # Transform deplibs into only deplibs that can be linked in shared.
40372 + name_save=$name
40373 + libname_save=$libname
40374 + release_save=$release
40375 + versuffix_save=$versuffix
40376 + major_save=$major
40377 + # I'm not sure if I'm treating the release correctly. I think
40378 + # release should show up in the -l (ie -lgmp5) so we don't want to
40379 + # add it in twice. Is that correct?
40380 + release=""
40381 + versuffix=""
40382 + major=""
40383 + newdeplibs=
40384 + droppeddeps=no
40385 + case $deplibs_check_method in
40386 + pass_all)
40387 + # Don't check for shared/static. Everything works.
40388 + # This might be a little naive. We might want to check
40389 + # whether the library exists or not. But this is on
40390 + # osf3 & osf4 and I'm not really sure... Just
40391 + # implementing what was already the behavior.
40392 + newdeplibs=$deplibs
40393 + ;;
40394 + test_compile)
40395 + # This code stresses the "libraries are programs" paradigm to its
40396 + # limits. Maybe even breaks it. We compile a program, linking it
40397 + # against the deplibs as a proxy for the library. Then we can check
40398 + # whether they linked in statically or dynamically with ldd.
40399 + $rm conftest.c
40400 + cat > conftest.c <<EOF
40401 + int main() { return 0; }
40402 +EOF
40403 + $rm conftest
40404 + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
40405 + ldd_output=`ldd conftest`
40406 + for i in $deplibs; do
40407 + name=`expr $i : '-l\(.*\)'`
40408 + # If $name is empty we are operating on a -L argument.
40409 + if test "$name" != "" && test "$name" != "0"; then
40410 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
40411 + case " $predeps $postdeps " in
40412 + *" $i "*)
40413 + newdeplibs="$newdeplibs $i"
40414 + i=""
40415 + ;;
40416 + esac
40417 + fi
40418 + if test -n "$i" ; then
40419 + libname=`eval \\$echo \"$libname_spec\"`
40420 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
40421 + set dummy $deplib_matches
40422 + deplib_match=$2
40423 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
40424 + newdeplibs="$newdeplibs $i"
40425 + else
40426 + droppeddeps=yes
40427 + $echo
40428 + $echo "*** Warning: dynamic linker does not accept needed library $i."
40429 + $echo "*** I have the capability to make that library automatically link in when"
40430 + $echo "*** you link to this library. But I can only do this if you have a"
40431 + $echo "*** shared version of the library, which I believe you do not have"
40432 + $echo "*** because a test_compile did reveal that the linker did not use it for"
40433 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
40434 + fi
40435 + fi
40436 + else
40437 + newdeplibs="$newdeplibs $i"
40438 + fi
40439 + done
40440 + else
40441 + # Error occurred in the first compile. Let's try to salvage
40442 + # the situation: Compile a separate program for each library.
40443 + for i in $deplibs; do
40444 + name=`expr $i : '-l\(.*\)'`
40445 + # If $name is empty we are operating on a -L argument.
40446 + if test "$name" != "" && test "$name" != "0"; then
40447 + $rm conftest
40448 + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
40449 + ldd_output=`ldd conftest`
40450 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
40451 + case " $predeps $postdeps " in
40452 + *" $i "*)
40453 + newdeplibs="$newdeplibs $i"
40454 + i=""
40455 + ;;
40456 + esac
40457 + fi
40458 + if test -n "$i" ; then
40459 + libname=`eval \\$echo \"$libname_spec\"`
40460 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
40461 + set dummy $deplib_matches
40462 + deplib_match=$2
40463 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
40464 + newdeplibs="$newdeplibs $i"
40465 + else
40466 + droppeddeps=yes
40467 + $echo
40468 + $echo "*** Warning: dynamic linker does not accept needed library $i."
40469 + $echo "*** I have the capability to make that library automatically link in when"
40470 + $echo "*** you link to this library. But I can only do this if you have a"
40471 + $echo "*** shared version of the library, which you do not appear to have"
40472 + $echo "*** because a test_compile did reveal that the linker did not use this one"
40473 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
40474 + fi
40475 + fi
40476 + else
40477 + droppeddeps=yes
40478 + $echo
40479 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
40480 + $echo "*** make it link in! You will probably need to install it or some"
40481 + $echo "*** library that it depends on before this library will be fully"
40482 + $echo "*** functional. Installing it before continuing would be even better."
40483 + fi
40484 + else
40485 + newdeplibs="$newdeplibs $i"
40486 + fi
40487 + done
40488 + fi
40489 + ;;
40490 + file_magic*)
40491 + set dummy $deplibs_check_method
40492 + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
40493 + for a_deplib in $deplibs; do
40494 + name=`expr $a_deplib : '-l\(.*\)'`
40495 + # If $name is empty we are operating on a -L argument.
40496 + if test "$name" != "" && test "$name" != "0"; then
40497 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
40498 + case " $predeps $postdeps " in
40499 + *" $a_deplib "*)
40500 + newdeplibs="$newdeplibs $a_deplib"
40501 + a_deplib=""
40502 + ;;
40503 + esac
40504 + fi
40505 + if test -n "$a_deplib" ; then
40506 + libname=`eval \\$echo \"$libname_spec\"`
40507 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
40508 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
40509 + for potent_lib in $potential_libs; do
40510 + # Follow soft links.
40511 + if ls -lLd "$potent_lib" 2>/dev/null \
40512 + | grep " -> " >/dev/null; then
40513 + continue
40514 + fi
40515 + # The statement above tries to avoid entering an
40516 + # endless loop below, in case of cyclic links.
40517 + # We might still enter an endless loop, since a link
40518 + # loop can be closed while we follow links,
40519 + # but so what?
40520 + potlib="$potent_lib"
40521 + while test -h "$potlib" 2>/dev/null; do
40522 + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
40523 + case $potliblink in
40524 + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
40525 + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
40526 + esac
40527 + done
40528 + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
40529 + | ${SED} 10q \
40530 + | $EGREP "$file_magic_regex" > /dev/null; then
40531 + newdeplibs="$newdeplibs $a_deplib"
40532 + a_deplib=""
40533 + break 2
40534 + fi
40535 + done
40536 + done
40537 + fi
40538 + if test -n "$a_deplib" ; then
40539 + droppeddeps=yes
40540 + $echo
40541 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
40542 + $echo "*** I have the capability to make that library automatically link in when"
40543 + $echo "*** you link to this library. But I can only do this if you have a"
40544 + $echo "*** shared version of the library, which you do not appear to have"
40545 + $echo "*** because I did check the linker path looking for a file starting"
40546 + if test -z "$potlib" ; then
40547 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
40548 + else
40549 + $echo "*** with $libname and none of the candidates passed a file format test"
40550 + $echo "*** using a file magic. Last file checked: $potlib"
40551 + fi
40552 + fi
40553 + else
40554 + # Add a -L argument.
40555 + newdeplibs="$newdeplibs $a_deplib"
40556 + fi
40557 + done # Gone through all deplibs.
40558 + ;;
40559 + match_pattern*)
40560 + set dummy $deplibs_check_method
40561 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
40562 + for a_deplib in $deplibs; do
40563 + name=`expr $a_deplib : '-l\(.*\)'`
40564 + # If $name is empty we are operating on a -L argument.
40565 + if test -n "$name" && test "$name" != "0"; then
40566 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
40567 + case " $predeps $postdeps " in
40568 + *" $a_deplib "*)
40569 + newdeplibs="$newdeplibs $a_deplib"
40570 + a_deplib=""
40571 + ;;
40572 + esac
40573 + fi
40574 + if test -n "$a_deplib" ; then
40575 + libname=`eval \\$echo \"$libname_spec\"`
40576 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
40577 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
40578 + for potent_lib in $potential_libs; do
40579 + potlib="$potent_lib" # see symlink-check above in file_magic test
40580 + if eval $echo \"$potent_lib\" 2>/dev/null \
40581 + | ${SED} 10q \
40582 + | $EGREP "$match_pattern_regex" > /dev/null; then
40583 + newdeplibs="$newdeplibs $a_deplib"
40584 + a_deplib=""
40585 + break 2
40586 + fi
40587 + done
40588 + done
40589 + fi
40590 + if test -n "$a_deplib" ; then
40591 + droppeddeps=yes
40592 + $echo
40593 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
40594 + $echo "*** I have the capability to make that library automatically link in when"
40595 + $echo "*** you link to this library. But I can only do this if you have a"
40596 + $echo "*** shared version of the library, which you do not appear to have"
40597 + $echo "*** because I did check the linker path looking for a file starting"
40598 + if test -z "$potlib" ; then
40599 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
40600 + else
40601 + $echo "*** with $libname and none of the candidates passed a file format test"
40602 + $echo "*** using a regex pattern. Last file checked: $potlib"
40603 + fi
40604 + fi
40605 + else
40606 + # Add a -L argument.
40607 + newdeplibs="$newdeplibs $a_deplib"
40608 + fi
40609 + done # Gone through all deplibs.
40610 + ;;
40611 + none | unknown | *)
40612 + newdeplibs=""
40613 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
40614 + -e 's/ -[LR][^ ]*//g'`
40615 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
40616 + for i in $predeps $postdeps ; do
40617 + # can't use Xsed below, because $i might contain '/'
40618 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
40619 + done
40620 + fi
40621 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
40622 + | grep . >/dev/null; then
40623 + $echo
40624 + if test "X$deplibs_check_method" = "Xnone"; then
40625 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
40626 + else
40627 + $echo "*** Warning: inter-library dependencies are not known to be supported."
40628 + fi
40629 + $echo "*** All declared inter-library dependencies are being dropped."
40630 + droppeddeps=yes
40631 + fi
40632 + ;;
40633 + esac
40634 + versuffix=$versuffix_save
40635 + major=$major_save
40636 + release=$release_save
40637 + libname=$libname_save
40638 + name=$name_save
40639 +
40640 + case $host in
40641 + *-*-rhapsody* | *-*-darwin1.[012])
40642 + # On Rhapsody replace the C library is the System framework
40643 + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
40644 + ;;
40645 + esac
40646 +
40647 + if test "$droppeddeps" = yes; then
40648 + if test "$module" = yes; then
40649 + $echo
40650 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
40651 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
40652 + $echo "*** a static module, that should work as long as the dlopening"
40653 + $echo "*** application is linked with the -dlopen flag."
40654 + if test -z "$global_symbol_pipe"; then
40655 + $echo
40656 + $echo "*** However, this would only work if libtool was able to extract symbol"
40657 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
40658 + $echo "*** not find such a program. So, this module is probably useless."
40659 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
40660 + fi
40661 + if test "$build_old_libs" = no; then
40662 + oldlibs="$output_objdir/$libname.$libext"
40663 + build_libtool_libs=module
40664 + build_old_libs=yes
40665 + else
40666 + build_libtool_libs=no
40667 + fi
40668 + else
40669 + $echo "*** The inter-library dependencies that have been dropped here will be"
40670 + $echo "*** automatically added whenever a program is linked with this library"
40671 + $echo "*** or is declared to -dlopen it."
40672 +
40673 + if test "$allow_undefined" = no; then
40674 + $echo
40675 + $echo "*** Since this library must not contain undefined symbols,"
40676 + $echo "*** because either the platform does not support them or"
40677 + $echo "*** it was explicitly requested with -no-undefined,"
40678 + $echo "*** libtool will only create a static version of it."
40679 + if test "$build_old_libs" = no; then
40680 + oldlibs="$output_objdir/$libname.$libext"
40681 + build_libtool_libs=module
40682 + build_old_libs=yes
40683 + else
40684 + build_libtool_libs=no
40685 + fi
40686 + fi
40687 + fi
40688 + fi
40689 + # Done checking deplibs!
40690 + deplibs=$newdeplibs
40691 + fi
40692 +
40693 +
40694 + # move library search paths that coincide with paths to not yet
40695 + # installed libraries to the beginning of the library search list
40696 + new_libs=
40697 + for path in $notinst_path; do
40698 + case " $new_libs " in
40699 + *" -L$path/$objdir "*) ;;
40700 + *)
40701 + case " $deplibs " in
40702 + *" -L$path/$objdir "*)
40703 + new_libs="$new_libs -L$path/$objdir" ;;
40704 + esac
40705 + ;;
40706 + esac
40707 + done
40708 + for deplib in $deplibs; do
40709 + case $deplib in
40710 + -L*)
40711 + case " $new_libs " in
40712 + *" $deplib "*) ;;
40713 + *) new_libs="$new_libs $deplib" ;;
40714 + esac
40715 + ;;
40716 + *) new_libs="$new_libs $deplib" ;;
40717 + esac
40718 + done
40719 + deplibs="$new_libs"
40720 +
40721 +
40722 + # All the library-specific variables (install_libdir is set above).
40723 + library_names=
40724 + old_library=
40725 + dlname=
40726 +
40727 + # Test again, we may have decided not to build it any more
40728 + if test "$build_libtool_libs" = yes; then
40729 + if test "$hardcode_into_libs" = yes; then
40730 + # Hardcode the library paths
40731 + hardcode_libdirs=
40732 + dep_rpath=
40733 + rpath="$finalize_rpath"
40734 + test "$mode" != relink && rpath="$compile_rpath$rpath"
40735 + for libdir in $rpath; do
40736 + if test -n "$hardcode_libdir_flag_spec"; then
40737 + if test -n "$hardcode_libdir_separator"; then
40738 + if test -z "$hardcode_libdirs"; then
40739 + hardcode_libdirs="$libdir"
40740 + else
40741 + # Just accumulate the unique libdirs.
40742 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
40743 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
40744 + ;;
40745 + *)
40746 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
40747 + ;;
40748 + esac
40749 + fi
40750 + else
40751 + eval flag=\"$hardcode_libdir_flag_spec\"
40752 + dep_rpath="$dep_rpath $flag"
40753 + fi
40754 + elif test -n "$runpath_var"; then
40755 + case "$perm_rpath " in
40756 + *" $libdir "*) ;;
40757 + *) perm_rpath="$perm_rpath $libdir" ;;
40758 + esac
40759 + fi
40760 + done
40761 + # Substitute the hardcoded libdirs into the rpath.
40762 + if test -n "$hardcode_libdir_separator" &&
40763 + test -n "$hardcode_libdirs"; then
40764 + libdir="$hardcode_libdirs"
40765 + if test -n "$hardcode_libdir_flag_spec_ld"; then
40766 + case $archive_cmds in
40767 + *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
40768 + *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
40769 + esac
40770 + else
40771 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
40772 + fi
40773 + fi
40774 + if test -n "$runpath_var" && test -n "$perm_rpath"; then
40775 + # We should set the runpath_var.
40776 + rpath=
40777 + for dir in $perm_rpath; do
40778 + rpath="$rpath$dir:"
40779 + done
40780 + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
40781 + fi
40782 + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
40783 + fi
40784 +
40785 + shlibpath="$finalize_shlibpath"
40786 + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
40787 + if test -n "$shlibpath"; then
40788 + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
40789 + fi
40790 +
40791 + # Get the real and link names of the library.
40792 + eval shared_ext=\"$shrext_cmds\"
40793 + eval library_names=\"$library_names_spec\"
40794 + set dummy $library_names
40795 + realname="$2"
40796 + shift; shift
40797 +
40798 + if test -n "$soname_spec"; then
40799 + eval soname=\"$soname_spec\"
40800 + else
40801 + soname="$realname"
40802 + fi
40803 + if test -z "$dlname"; then
40804 + dlname=$soname
40805 + fi
40806 +
40807 + lib="$output_objdir/$realname"
40808 + linknames=
40809 + for link
40810 + do
40811 + linknames="$linknames $link"
40812 + done
40813 +
40814 + # Use standard objects if they are pic
40815 + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
40816 +
40817 + # Prepare the list of exported symbols
40818 + if test -z "$export_symbols"; then
40819 + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
40820 + $show "generating symbol list for \`$libname.la'"
40821 + export_symbols="$output_objdir/$libname.exp"
40822 + $run $rm $export_symbols
40823 + cmds=$export_symbols_cmds
40824 + save_ifs="$IFS"; IFS='~'
40825 + for cmd in $cmds; do
40826 + IFS="$save_ifs"
40827 + eval cmd=\"$cmd\"
40828 + if len=`expr "X$cmd" : ".*"` &&
40829 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
40830 + $show "$cmd"
40831 + $run eval "$cmd" || exit $?
40832 + skipped_export=false
40833 + else
40834 + # The command line is too long to execute in one step.
40835 + $show "using reloadable object file for export list..."
40836 + skipped_export=:
40837 + # Break out early, otherwise skipped_export may be
40838 + # set to false by a later but shorter cmd.
40839 + break
40840 + fi
40841 + done
40842 + IFS="$save_ifs"
40843 + if test -n "$export_symbols_regex"; then
40844 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
40845 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
40846 + $show "$mv \"${export_symbols}T\" \"$export_symbols\""
40847 + $run eval '$mv "${export_symbols}T" "$export_symbols"'
40848 + fi
40849 + fi
40850 + fi
40851 +
40852 + if test -n "$export_symbols" && test -n "$include_expsyms"; then
40853 + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
40854 + fi
40855 +
40856 + tmp_deplibs=
40857 + for test_deplib in $deplibs; do
40858 + case " $convenience " in
40859 + *" $test_deplib "*) ;;
40860 + *)
40861 + tmp_deplibs="$tmp_deplibs $test_deplib"
40862 + ;;
40863 + esac
40864 + done
40865 + deplibs="$tmp_deplibs"
40866 +
40867 + if test -n "$convenience"; then
40868 + if test -n "$whole_archive_flag_spec"; then
40869 + save_libobjs=$libobjs
40870 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
40871 + else
40872 + gentop="$output_objdir/${outputname}x"
40873 + generated="$generated $gentop"
40874 +
40875 + func_extract_archives $gentop $convenience
40876 + libobjs="$libobjs $func_extract_archives_result"
40877 + fi
40878 + fi
40879 +
40880 + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
40881 + eval flag=\"$thread_safe_flag_spec\"
40882 + linker_flags="$linker_flags $flag"
40883 + fi
40884 +
40885 + # Make a backup of the uninstalled library when relinking
40886 + if test "$mode" = relink; then
40887 + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
40888 + fi
40889 +
40890 + # Do each of the archive commands.
40891 + if test "$module" = yes && test -n "$module_cmds" ; then
40892 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
40893 + eval test_cmds=\"$module_expsym_cmds\"
40894 + cmds=$module_expsym_cmds
40895 + else
40896 + eval test_cmds=\"$module_cmds\"
40897 + cmds=$module_cmds
40898 + fi
40899 + else
40900 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
40901 + eval test_cmds=\"$archive_expsym_cmds\"
40902 + cmds=$archive_expsym_cmds
40903 + else
40904 + eval test_cmds=\"$archive_cmds\"
40905 + cmds=$archive_cmds
40906 + fi
40907 + fi
40908 +
40909 + if test "X$skipped_export" != "X:" &&
40910 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
40911 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
40912 + :
40913 + else
40914 + # The command line is too long to link in one step, link piecewise.
40915 + $echo "creating reloadable object files..."
40916 +
40917 + # Save the value of $output and $libobjs because we want to
40918 + # use them later. If we have whole_archive_flag_spec, we
40919 + # want to use save_libobjs as it was before
40920 + # whole_archive_flag_spec was expanded, because we can't
40921 + # assume the linker understands whole_archive_flag_spec.
40922 + # This may have to be revisited, in case too many
40923 + # convenience libraries get linked in and end up exceeding
40924 + # the spec.
40925 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
40926 + save_libobjs=$libobjs
40927 + fi
40928 + save_output=$output
40929 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
40930 +
40931 + # Clear the reloadable object creation command queue and
40932 + # initialize k to one.
40933 + test_cmds=
40934 + concat_cmds=
40935 + objlist=
40936 + delfiles=
40937 + last_robj=
40938 + k=1
40939 + output=$output_objdir/$output_la-${k}.$objext
40940 + # Loop over the list of objects to be linked.
40941 + for obj in $save_libobjs
40942 + do
40943 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
40944 + if test "X$objlist" = X ||
40945 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
40946 + test "$len" -le "$max_cmd_len"; }; then
40947 + objlist="$objlist $obj"
40948 + else
40949 + # The command $test_cmds is almost too long, add a
40950 + # command to the queue.
40951 + if test "$k" -eq 1 ; then
40952 + # The first file doesn't have a previous command to add.
40953 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
40954 + else
40955 + # All subsequent reloadable object files will link in
40956 + # the last one created.
40957 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
40958 + fi
40959 + last_robj=$output_objdir/$output_la-${k}.$objext
40960 + k=`expr $k + 1`
40961 + output=$output_objdir/$output_la-${k}.$objext
40962 + objlist=$obj
40963 + len=1
40964 + fi
40965 + done
40966 + # Handle the remaining objects by creating one last
40967 + # reloadable object file. All subsequent reloadable object
40968 + # files will link in the last one created.
40969 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
40970 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
40971 +
40972 + if ${skipped_export-false}; then
40973 + $show "generating symbol list for \`$libname.la'"
40974 + export_symbols="$output_objdir/$libname.exp"
40975 + $run $rm $export_symbols
40976 + libobjs=$output
40977 + # Append the command to create the export file.
40978 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
40979 + fi
40980 +
40981 + # Set up a command to remove the reloadable object files
40982 + # after they are used.
40983 + i=0
40984 + while test "$i" -lt "$k"
40985 + do
40986 + i=`expr $i + 1`
40987 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
40988 + done
40989 +
40990 + $echo "creating a temporary reloadable object file: $output"
40991 +
40992 + # Loop through the commands generated above and execute them.
40993 + save_ifs="$IFS"; IFS='~'
40994 + for cmd in $concat_cmds; do
40995 + IFS="$save_ifs"
40996 + $show "$cmd"
40997 + $run eval "$cmd" || exit $?
40998 + done
40999 + IFS="$save_ifs"
41000 +
41001 + libobjs=$output
41002 + # Restore the value of output.
41003 + output=$save_output
41004 +
41005 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
41006 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
41007 + fi
41008 + # Expand the library linking commands again to reset the
41009 + # value of $libobjs for piecewise linking.
41010 +
41011 + # Do each of the archive commands.
41012 + if test "$module" = yes && test -n "$module_cmds" ; then
41013 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
41014 + cmds=$module_expsym_cmds
41015 + else
41016 + cmds=$module_cmds
41017 + fi
41018 + else
41019 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
41020 + cmds=$archive_expsym_cmds
41021 + else
41022 + cmds=$archive_cmds
41023 + fi
41024 + fi
41025 +
41026 + # Append the command to remove the reloadable object files
41027 + # to the just-reset $cmds.
41028 + eval cmds=\"\$cmds~\$rm $delfiles\"
41029 + fi
41030 + save_ifs="$IFS"; IFS='~'
41031 + for cmd in $cmds; do
41032 + IFS="$save_ifs"
41033 + eval cmd=\"$cmd\"
41034 + $show "$cmd"
41035 + $run eval "$cmd" || {
41036 + lt_exit=$?
41037 +
41038 + # Restore the uninstalled library and exit
41039 + if test "$mode" = relink; then
41040 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
41041 + fi
41042 +
41043 + exit $lt_exit
41044 + }
41045 + done
41046 + IFS="$save_ifs"
41047 +
41048 + # Restore the uninstalled library and exit
41049 + if test "$mode" = relink; then
41050 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
41051 +
41052 + if test -n "$convenience"; then
41053 + if test -z "$whole_archive_flag_spec"; then
41054 + $show "${rm}r $gentop"
41055 + $run ${rm}r "$gentop"
41056 + fi
41057 + fi
41058 +
41059 + exit $EXIT_SUCCESS
41060 + fi
41061 +
41062 + # Create links to the real library.
41063 + for linkname in $linknames; do
41064 + if test "$realname" != "$linkname"; then
41065 + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
41066 + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
41067 + fi
41068 + done
41069 +
41070 + # If -module or -export-dynamic was specified, set the dlname.
41071 + if test "$module" = yes || test "$export_dynamic" = yes; then
41072 + # On all known operating systems, these are identical.
41073 + dlname="$soname"
41074 + fi
41075 + fi
41076 + ;;
41077 +
41078 + obj)
41079 + if test -n "$deplibs"; then
41080 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
41081 + fi
41082 +
41083 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
41084 + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
41085 + fi
41086 +
41087 + if test -n "$rpath"; then
41088 + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
41089 + fi
41090 +
41091 + if test -n "$xrpath"; then
41092 + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
41093 + fi
41094 +
41095 + if test -n "$vinfo"; then
41096 + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
41097 + fi
41098 +
41099 + if test -n "$release"; then
41100 + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
41101 + fi
41102 +
41103 + case $output in
41104 + *.lo)
41105 + if test -n "$objs$old_deplibs"; then
41106 + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
41107 + exit $EXIT_FAILURE
41108 + fi
41109 + libobj="$output"
41110 + obj=`$echo "X$output" | $Xsed -e "$lo2o"`
41111 + ;;
41112 + *)
41113 + libobj=
41114 + obj="$output"
41115 + ;;
41116 + esac
41117 +
41118 + # Delete the old objects.
41119 + $run $rm $obj $libobj
41120 +
41121 + # Objects from convenience libraries. This assumes
41122 + # single-version convenience libraries. Whenever we create
41123 + # different ones for PIC/non-PIC, this we'll have to duplicate
41124 + # the extraction.
41125 + reload_conv_objs=
41126 + gentop=
41127 + # reload_cmds runs $LD directly, so let us get rid of
41128 + # -Wl from whole_archive_flag_spec and hope we can get by with
41129 + # turning comma into space..
41130 + wl=
41131 +
41132 + if test -n "$convenience"; then
41133 + if test -n "$whole_archive_flag_spec"; then
41134 + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
41135 + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
41136 + else
41137 + gentop="$output_objdir/${obj}x"
41138 + generated="$generated $gentop"
41139 +
41140 + func_extract_archives $gentop $convenience
41141 + reload_conv_objs="$reload_objs $func_extract_archives_result"
41142 + fi
41143 + fi
41144 +
41145 + # Create the old-style object.
41146 + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
41147 +
41148 + output="$obj"
41149 + cmds=$reload_cmds
41150 + save_ifs="$IFS"; IFS='~'
41151 + for cmd in $cmds; do
41152 + IFS="$save_ifs"
41153 + eval cmd=\"$cmd\"
41154 + $show "$cmd"
41155 + $run eval "$cmd" || exit $?
41156 + done
41157 + IFS="$save_ifs"
41158 +
41159 + # Exit if we aren't doing a library object file.
41160 + if test -z "$libobj"; then
41161 + if test -n "$gentop"; then
41162 + $show "${rm}r $gentop"
41163 + $run ${rm}r $gentop
41164 + fi
41165 +
41166 + exit $EXIT_SUCCESS
41167 + fi
41168 +
41169 + if test "$build_libtool_libs" != yes; then
41170 + if test -n "$gentop"; then
41171 + $show "${rm}r $gentop"
41172 + $run ${rm}r $gentop
41173 + fi
41174 +
41175 + # Create an invalid libtool object if no PIC, so that we don't
41176 + # accidentally link it into a program.
41177 + # $show "echo timestamp > $libobj"
41178 + # $run eval "echo timestamp > $libobj" || exit $?
41179 + exit $EXIT_SUCCESS
41180 + fi
41181 +
41182 + if test -n "$pic_flag" || test "$pic_mode" != default; then
41183 + # Only do commands if we really have different PIC objects.
41184 + reload_objs="$libobjs $reload_conv_objs"
41185 + output="$libobj"
41186 + cmds=$reload_cmds
41187 + save_ifs="$IFS"; IFS='~'
41188 + for cmd in $cmds; do
41189 + IFS="$save_ifs"
41190 + eval cmd=\"$cmd\"
41191 + $show "$cmd"
41192 + $run eval "$cmd" || exit $?
41193 + done
41194 + IFS="$save_ifs"
41195 + fi
41196 +
41197 + if test -n "$gentop"; then
41198 + $show "${rm}r $gentop"
41199 + $run ${rm}r $gentop
41200 + fi
41201 +
41202 + exit $EXIT_SUCCESS
41203 + ;;
41204 +
41205 + prog)
41206 + case $host in
41207 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
41208 + esac
41209 + if test -n "$vinfo"; then
41210 + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
41211 + fi
41212 +
41213 + if test -n "$release"; then
41214 + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
41215 + fi
41216 +
41217 + if test "$preload" = yes; then
41218 + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
41219 + test "$dlopen_self_static" = unknown; then
41220 + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
41221 + fi
41222 + fi
41223 +
41224 + case $host in
41225 + *-*-rhapsody* | *-*-darwin1.[012])
41226 + # On Rhapsody replace the C library is the System framework
41227 + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
41228 + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
41229 + ;;
41230 + esac
41231 +
41232 + case $host in
41233 + *darwin*)
41234 + # Don't allow lazy linking, it breaks C++ global constructors
41235 + if test "$tagname" = CXX ; then
41236 + compile_command="$compile_command ${wl}-bind_at_load"
41237 + finalize_command="$finalize_command ${wl}-bind_at_load"
41238 + fi
41239 + ;;
41240 + esac
41241 +
41242 +
41243 + # move library search paths that coincide with paths to not yet
41244 + # installed libraries to the beginning of the library search list
41245 + new_libs=
41246 + for path in $notinst_path; do
41247 + case " $new_libs " in
41248 + *" -L$path/$objdir "*) ;;
41249 + *)
41250 + case " $compile_deplibs " in
41251 + *" -L$path/$objdir "*)
41252 + new_libs="$new_libs -L$path/$objdir" ;;
41253 + esac
41254 + ;;
41255 + esac
41256 + done
41257 + for deplib in $compile_deplibs; do
41258 + case $deplib in
41259 + -L*)
41260 + case " $new_libs " in
41261 + *" $deplib "*) ;;
41262 + *) new_libs="$new_libs $deplib" ;;
41263 + esac
41264 + ;;
41265 + *) new_libs="$new_libs $deplib" ;;
41266 + esac
41267 + done
41268 + compile_deplibs="$new_libs"
41269 +
41270 +
41271 + compile_command="$compile_command $compile_deplibs"
41272 + finalize_command="$finalize_command $finalize_deplibs"
41273 +
41274 + if test -n "$rpath$xrpath"; then
41275 + # If the user specified any rpath flags, then add them.
41276 + for libdir in $rpath $xrpath; do
41277 + # This is the magic to use -rpath.
41278 + case "$finalize_rpath " in
41279 + *" $libdir "*) ;;
41280 + *) finalize_rpath="$finalize_rpath $libdir" ;;
41281 + esac
41282 + done
41283 + fi
41284 +
41285 + # Now hardcode the library paths
41286 + rpath=
41287 + hardcode_libdirs=
41288 + for libdir in $compile_rpath $finalize_rpath; do
41289 + if test -n "$hardcode_libdir_flag_spec"; then
41290 + if test -n "$hardcode_libdir_separator"; then
41291 + if test -z "$hardcode_libdirs"; then
41292 + hardcode_libdirs="$libdir"
41293 + else
41294 + # Just accumulate the unique libdirs.
41295 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
41296 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
41297 + ;;
41298 + *)
41299 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
41300 + ;;
41301 + esac
41302 + fi
41303 + else
41304 + eval flag=\"$hardcode_libdir_flag_spec\"
41305 + rpath="$rpath $flag"
41306 + fi
41307 + elif test -n "$runpath_var"; then
41308 + case "$perm_rpath " in
41309 + *" $libdir "*) ;;
41310 + *) perm_rpath="$perm_rpath $libdir" ;;
41311 + esac
41312 + fi
41313 + case $host in
41314 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
41315 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
41316 + case :$dllsearchpath: in
41317 + *":$libdir:"*) ;;
41318 + *) dllsearchpath="$dllsearchpath:$libdir";;
41319 + esac
41320 + case :$dllsearchpath: in
41321 + *":$testbindir:"*) ;;
41322 + *) dllsearchpath="$dllsearchpath:$testbindir";;
41323 + esac
41324 + ;;
41325 + esac
41326 + done
41327 + # Substitute the hardcoded libdirs into the rpath.
41328 + if test -n "$hardcode_libdir_separator" &&
41329 + test -n "$hardcode_libdirs"; then
41330 + libdir="$hardcode_libdirs"
41331 + eval rpath=\" $hardcode_libdir_flag_spec\"
41332 + fi
41333 + compile_rpath="$rpath"
41334 +
41335 + rpath=
41336 + hardcode_libdirs=
41337 + for libdir in $finalize_rpath; do
41338 + if test -n "$hardcode_libdir_flag_spec"; then
41339 + if test -n "$hardcode_libdir_separator"; then
41340 + if test -z "$hardcode_libdirs"; then
41341 + hardcode_libdirs="$libdir"
41342 + else
41343 + # Just accumulate the unique libdirs.
41344 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
41345 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
41346 + ;;
41347 + *)
41348 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
41349 + ;;
41350 + esac
41351 + fi
41352 + else
41353 + eval flag=\"$hardcode_libdir_flag_spec\"
41354 + rpath="$rpath $flag"
41355 + fi
41356 + elif test -n "$runpath_var"; then
41357 + case "$finalize_perm_rpath " in
41358 + *" $libdir "*) ;;
41359 + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
41360 + esac
41361 + fi
41362 + done
41363 + # Substitute the hardcoded libdirs into the rpath.
41364 + if test -n "$hardcode_libdir_separator" &&
41365 + test -n "$hardcode_libdirs"; then
41366 + libdir="$hardcode_libdirs"
41367 + eval rpath=\" $hardcode_libdir_flag_spec\"
41368 + fi
41369 + finalize_rpath="$rpath"
41370 +
41371 + if test -n "$libobjs" && test "$build_old_libs" = yes; then
41372 + # Transform all the library objects into standard objects.
41373 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
41374 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
41375 + fi
41376 +
41377 + dlsyms=
41378 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
41379 + if test -n "$NM" && test -n "$global_symbol_pipe"; then
41380 + dlsyms="${outputname}S.c"
41381 + else
41382 + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
41383 + fi
41384 + fi
41385 +
41386 + if test -n "$dlsyms"; then
41387 + case $dlsyms in
41388 + "") ;;
41389 + *.c)
41390 + # Discover the nlist of each of the dlfiles.
41391 + nlist="$output_objdir/${outputname}.nm"
41392 +
41393 + $show "$rm $nlist ${nlist}S ${nlist}T"
41394 + $run $rm "$nlist" "${nlist}S" "${nlist}T"
41395 +
41396 + # Parse the name list into a source file.
41397 + $show "creating $output_objdir/$dlsyms"
41398 +
41399 + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
41400 +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
41401 +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
41402 +
41403 +#ifdef __cplusplus
41404 +extern \"C\" {
41405 +#endif
41406 +
41407 +/* Prevent the only kind of declaration conflicts we can make. */
41408 +#define lt_preloaded_symbols some_other_symbol
41409 +
41410 +/* External symbol declarations for the compiler. */\
41411 +"
41412 +
41413 + if test "$dlself" = yes; then
41414 + $show "generating symbol list for \`$output'"
41415 +
41416 + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
41417 +
41418 + # Add our own program objects to the symbol list.
41419 + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
41420 + for arg in $progfiles; do
41421 + $show "extracting global C symbols from \`$arg'"
41422 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
41423 + done
41424 +
41425 + if test -n "$exclude_expsyms"; then
41426 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
41427 + $run eval '$mv "$nlist"T "$nlist"'
41428 + fi
41429 +
41430 + if test -n "$export_symbols_regex"; then
41431 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
41432 + $run eval '$mv "$nlist"T "$nlist"'
41433 + fi
41434 +
41435 + # Prepare the list of exported symbols
41436 + if test -z "$export_symbols"; then
41437 + export_symbols="$output_objdir/$outputname.exp"
41438 + $run $rm $export_symbols
41439 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
41440 + case $host in
41441 + *cygwin* | *mingw* )
41442 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
41443 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
41444 + ;;
41445 + esac
41446 + else
41447 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
41448 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
41449 + $run eval 'mv "$nlist"T "$nlist"'
41450 + case $host in
41451 + *cygwin* | *mingw* )
41452 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
41453 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
41454 + ;;
41455 + esac
41456 + fi
41457 + fi
41458 +
41459 + for arg in $dlprefiles; do
41460 + $show "extracting global C symbols from \`$arg'"
41461 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
41462 + $run eval '$echo ": $name " >> "$nlist"'
41463 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
41464 + done
41465 +
41466 + if test -z "$run"; then
41467 + # Make sure we have at least an empty file.
41468 + test -f "$nlist" || : > "$nlist"
41469 +
41470 + if test -n "$exclude_expsyms"; then
41471 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
41472 + $mv "$nlist"T "$nlist"
41473 + fi
41474 +
41475 + # Try sorting and uniquifying the output.
41476 + if grep -v "^: " < "$nlist" |
41477 + if sort -k 3 </dev/null >/dev/null 2>&1; then
41478 + sort -k 3
41479 + else
41480 + sort +2
41481 + fi |
41482 + uniq > "$nlist"S; then
41483 + :
41484 + else
41485 + grep -v "^: " < "$nlist" > "$nlist"S
41486 + fi
41487 +
41488 + if test -f "$nlist"S; then
41489 + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
41490 + else
41491 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
41492 + fi
41493 +
41494 + $echo >> "$output_objdir/$dlsyms" "\
41495 +
41496 +#undef lt_preloaded_symbols
41497 +
41498 +#if defined (__STDC__) && __STDC__
41499 +# define lt_ptr void *
41500 +#else
41501 +# define lt_ptr char *
41502 +# define const
41503 +#endif
41504 +
41505 +/* The mapping between symbol names and symbols. */
41506 +"
41507 +
41508 + case $host in
41509 + *cygwin* | *mingw* )
41510 + $echo >> "$output_objdir/$dlsyms" "\
41511 +/* DATA imports from DLLs on WIN32 can't be const, because
41512 + runtime relocations are performed -- see ld's documentation
41513 + on pseudo-relocs */
41514 +struct {
41515 +"
41516 + ;;
41517 + * )
41518 + $echo >> "$output_objdir/$dlsyms" "\
41519 +const struct {
41520 +"
41521 + ;;
41522 + esac
41523 +
41524 +
41525 + $echo >> "$output_objdir/$dlsyms" "\
41526 + const char *name;
41527 + lt_ptr address;
41528 +}
41529 +lt_preloaded_symbols[] =
41530 +{\
41531 +"
41532 +
41533 + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
41534 +
41535 + $echo >> "$output_objdir/$dlsyms" "\
41536 + {0, (lt_ptr) 0}
41537 +};
41538 +
41539 +/* This works around a problem in FreeBSD linker */
41540 +#ifdef FREEBSD_WORKAROUND
41541 +static const void *lt_preloaded_setup() {
41542 + return lt_preloaded_symbols;
41543 +}
41544 +#endif
41545 +
41546 +#ifdef __cplusplus
41547 +}
41548 +#endif\
41549 +"
41550 + fi
41551 +
41552 + pic_flag_for_symtable=
41553 + case $host in
41554 + # compiling the symbol table file with pic_flag works around
41555 + # a FreeBSD bug that causes programs to crash when -lm is
41556 + # linked before any other PIC object. But we must not use
41557 + # pic_flag when linking with -static. The problem exists in
41558 + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
41559 + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
41560 + case "$compile_command " in
41561 + *" -static "*) ;;
41562 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
41563 + esac;;
41564 + *-*-hpux*)
41565 + case "$compile_command " in
41566 + *" -static "*) ;;
41567 + *) pic_flag_for_symtable=" $pic_flag";;
41568 + esac
41569 + esac
41570 +
41571 + # Now compile the dynamic symbol file.
41572 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
41573 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
41574 +
41575 + # Clean up the generated files.
41576 + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
41577 + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
41578 +
41579 + # Transform the symbol file into the correct name.
41580 + case $host in
41581 + *cygwin* | *mingw* )
41582 + if test -f "$output_objdir/${outputname}.def" ; then
41583 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
41584 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
41585 + else
41586 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
41587 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
41588 + fi
41589 + ;;
41590 + * )
41591 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
41592 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
41593 + ;;
41594 + esac
41595 + ;;
41596 + *)
41597 + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
41598 + exit $EXIT_FAILURE
41599 + ;;
41600 + esac
41601 + else
41602 + # We keep going just in case the user didn't refer to
41603 + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
41604 + # really was required.
41605 +
41606 + # Nullify the symbol file.
41607 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
41608 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
41609 + fi
41610 +
41611 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
41612 + # Replace the output file specification.
41613 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
41614 + link_command="$compile_command$compile_rpath"
41615 +
41616 + # We have no uninstalled library dependencies, so finalize right now.
41617 + $show "$link_command"
41618 + $run eval "$link_command"
41619 + exit_status=$?
41620 +
41621 + # Delete the generated files.
41622 + if test -n "$dlsyms"; then
41623 + $show "$rm $output_objdir/${outputname}S.${objext}"
41624 + $run $rm "$output_objdir/${outputname}S.${objext}"
41625 + fi
41626 +
41627 + exit $exit_status
41628 + fi
41629 +
41630 + if test -n "$shlibpath_var"; then
41631 + # We should set the shlibpath_var
41632 + rpath=
41633 + for dir in $temp_rpath; do
41634 + case $dir in
41635 + [\\/]* | [A-Za-z]:[\\/]*)
41636 + # Absolute path.
41637 + rpath="$rpath$dir:"
41638 + ;;
41639 + *)
41640 + # Relative path: add a thisdir entry.
41641 + rpath="$rpath\$thisdir/$dir:"
41642 + ;;
41643 + esac
41644 + done
41645 + temp_rpath="$rpath"
41646 + fi
41647 +
41648 + if test -n "$compile_shlibpath$finalize_shlibpath"; then
41649 + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
41650 + fi
41651 + if test -n "$finalize_shlibpath"; then
41652 + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
41653 + fi
41654 +
41655 + compile_var=
41656 + finalize_var=
41657 + if test -n "$runpath_var"; then
41658 + if test -n "$perm_rpath"; then
41659 + # We should set the runpath_var.
41660 + rpath=
41661 + for dir in $perm_rpath; do
41662 + rpath="$rpath$dir:"
41663 + done
41664 + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
41665 + fi
41666 + if test -n "$finalize_perm_rpath"; then
41667 + # We should set the runpath_var.
41668 + rpath=
41669 + for dir in $finalize_perm_rpath; do
41670 + rpath="$rpath$dir:"
41671 + done
41672 + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
41673 + fi
41674 + fi
41675 +
41676 + if test "$no_install" = yes; then
41677 + # We don't need to create a wrapper script.
41678 + link_command="$compile_var$compile_command$compile_rpath"
41679 + # Replace the output file specification.
41680 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
41681 + # Delete the old output file.
41682 + $run $rm $output
41683 + # Link the executable and exit
41684 + $show "$link_command"
41685 + $run eval "$link_command" || exit $?
41686 + exit $EXIT_SUCCESS
41687 + fi
41688 +
41689 + if test "$hardcode_action" = relink; then
41690 + # Fast installation is not supported
41691 + link_command="$compile_var$compile_command$compile_rpath"
41692 + relink_command="$finalize_var$finalize_command$finalize_rpath"
41693 +
41694 + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
41695 + $echo "$modename: \`$output' will be relinked during installation" 1>&2
41696 + else
41697 + if test "$fast_install" != no; then
41698 + link_command="$finalize_var$compile_command$finalize_rpath"
41699 + if test "$fast_install" = yes; then
41700 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
41701 + else
41702 + # fast_install is set to needless
41703 + relink_command=
41704 + fi
41705 + else
41706 + link_command="$compile_var$compile_command$compile_rpath"
41707 + relink_command="$finalize_var$finalize_command$finalize_rpath"
41708 + fi
41709 + fi
41710 +
41711 + # Replace the output file specification.
41712 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
41713 +
41714 + # Delete the old output files.
41715 + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
41716 +
41717 + $show "$link_command"
41718 + $run eval "$link_command" || exit $?
41719 +
41720 + # Now create the wrapper script.
41721 + $show "creating $output"
41722 +
41723 + # Quote the relink command for shipping.
41724 + if test -n "$relink_command"; then
41725 + # Preserve any variables that may affect compiler behavior
41726 + for var in $variables_saved_for_relink; do
41727 + if eval test -z \"\${$var+set}\"; then
41728 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
41729 + elif eval var_value=\$$var; test -z "$var_value"; then
41730 + relink_command="$var=; export $var; $relink_command"
41731 + else
41732 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
41733 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
41734 + fi
41735 + done
41736 + relink_command="(cd `pwd`; $relink_command)"
41737 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
41738 + fi
41739 +
41740 + # Quote $echo for shipping.
41741 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
41742 + case $progpath in
41743 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
41744 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
41745 + esac
41746 + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
41747 + else
41748 + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
41749 + fi
41750 +
41751 + # Only actually do things if our run command is non-null.
41752 + if test -z "$run"; then
41753 + # win32 will think the script is a binary if it has
41754 + # a .exe suffix, so we strip it off here.
41755 + case $output in
41756 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
41757 + esac
41758 + # test for cygwin because mv fails w/o .exe extensions
41759 + case $host in
41760 + *cygwin*)
41761 + exeext=.exe
41762 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
41763 + *) exeext= ;;
41764 + esac
41765 + case $host in
41766 + *cygwin* | *mingw* )
41767 + output_name=`basename $output`
41768 + output_path=`dirname $output`
41769 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
41770 + cwrapper="$output_path/$output_name.exe"
41771 + $rm $cwrappersource $cwrapper
41772 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
41773 +
41774 + cat > $cwrappersource <<EOF
41775 +
41776 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
41777 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
41778 +
41779 + The $output program cannot be directly executed until all the libtool
41780 + libraries that it depends on are installed.
41781 +
41782 + This wrapper executable should never be moved out of the build directory.
41783 + If it is, it will not operate correctly.
41784 +
41785 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
41786 + but could eventually absorb all of the scripts functionality and
41787 + exec $objdir/$outputname directly.
41788 +*/
41789 +EOF
41790 + cat >> $cwrappersource<<"EOF"
41791 +#include <stdio.h>
41792 +#include <stdlib.h>
41793 +#include <unistd.h>
41794 +#include <malloc.h>
41795 +#include <stdarg.h>
41796 +#include <assert.h>
41797 +#include <string.h>
41798 +#include <ctype.h>
41799 +#include <sys/stat.h>
41800 +
41801 +#if defined(PATH_MAX)
41802 +# define LT_PATHMAX PATH_MAX
41803 +#elif defined(MAXPATHLEN)
41804 +# define LT_PATHMAX MAXPATHLEN
41805 +#else
41806 +# define LT_PATHMAX 1024
41807 +#endif
41808 +
41809 +#ifndef DIR_SEPARATOR
41810 +# define DIR_SEPARATOR '/'
41811 +# define PATH_SEPARATOR ':'
41812 +#endif
41813 +
41814 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
41815 + defined (__OS2__)
41816 +# define HAVE_DOS_BASED_FILE_SYSTEM
41817 +# ifndef DIR_SEPARATOR_2
41818 +# define DIR_SEPARATOR_2 '\\'
41819 +# endif
41820 +# ifndef PATH_SEPARATOR_2
41821 +# define PATH_SEPARATOR_2 ';'
41822 +# endif
41823 +#endif
41824 +
41825 +#ifndef DIR_SEPARATOR_2
41826 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
41827 +#else /* DIR_SEPARATOR_2 */
41828 +# define IS_DIR_SEPARATOR(ch) \
41829 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
41830 +#endif /* DIR_SEPARATOR_2 */
41831 +
41832 +#ifndef PATH_SEPARATOR_2
41833 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
41834 +#else /* PATH_SEPARATOR_2 */
41835 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
41836 +#endif /* PATH_SEPARATOR_2 */
41837 +
41838 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
41839 +#define XFREE(stale) do { \
41840 + if (stale) { free ((void *) stale); stale = 0; } \
41841 +} while (0)
41842 +
41843 +/* -DDEBUG is fairly common in CFLAGS. */
41844 +#undef DEBUG
41845 +#if defined DEBUGWRAPPER
41846 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
41847 +#else
41848 +# define DEBUG(format, ...)
41849 +#endif
41850 +
41851 +const char *program_name = NULL;
41852 +
41853 +void * xmalloc (size_t num);
41854 +char * xstrdup (const char *string);
41855 +const char * base_name (const char *name);
41856 +char * find_executable(const char *wrapper);
41857 +int check_executable(const char *path);
41858 +char * strendzap(char *str, const char *pat);
41859 +void lt_fatal (const char *message, ...);
41860 +
41861 +int
41862 +main (int argc, char *argv[])
41863 +{
41864 + char **newargz;
41865 + int i;
41866 +
41867 + program_name = (char *) xstrdup (base_name (argv[0]));
41868 + DEBUG("(main) argv[0] : %s\n",argv[0]);
41869 + DEBUG("(main) program_name : %s\n",program_name);
41870 + newargz = XMALLOC(char *, argc+2);
41871 +EOF
41872 +
41873 + cat >> $cwrappersource <<EOF
41874 + newargz[0] = (char *) xstrdup("$SHELL");
41875 +EOF
41876 +
41877 + cat >> $cwrappersource <<"EOF"
41878 + newargz[1] = find_executable(argv[0]);
41879 + if (newargz[1] == NULL)
41880 + lt_fatal("Couldn't find %s", argv[0]);
41881 + DEBUG("(main) found exe at : %s\n",newargz[1]);
41882 + /* we know the script has the same name, without the .exe */
41883 + /* so make sure newargz[1] doesn't end in .exe */
41884 + strendzap(newargz[1],".exe");
41885 + for (i = 1; i < argc; i++)
41886 + newargz[i+1] = xstrdup(argv[i]);
41887 + newargz[argc+1] = NULL;
41888 +
41889 + for (i=0; i<argc+1; i++)
41890 + {
41891 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
41892 + ;
41893 + }
41894 +
41895 +EOF
41896 +
41897 + case $host_os in
41898 + mingw*)
41899 + cat >> $cwrappersource <<EOF
41900 + execv("$SHELL",(char const **)newargz);
41901 +EOF
41902 + ;;
41903 + *)
41904 + cat >> $cwrappersource <<EOF
41905 + execv("$SHELL",newargz);
41906 +EOF
41907 + ;;
41908 + esac
41909 +
41910 + cat >> $cwrappersource <<"EOF"
41911 + return 127;
41912 +}
41913 +
41914 +void *
41915 +xmalloc (size_t num)
41916 +{
41917 + void * p = (void *) malloc (num);
41918 + if (!p)
41919 + lt_fatal ("Memory exhausted");
41920 +
41921 + return p;
41922 +}
41923 +
41924 +char *
41925 +xstrdup (const char *string)
41926 +{
41927 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
41928 +;
41929 +}
41930 +
41931 +const char *
41932 +base_name (const char *name)
41933 +{
41934 + const char *base;
41935 +
41936 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
41937 + /* Skip over the disk name in MSDOS pathnames. */
41938 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
41939 + name += 2;
41940 +#endif
41941 +
41942 + for (base = name; *name; name++)
41943 + if (IS_DIR_SEPARATOR (*name))
41944 + base = name + 1;
41945 + return base;
41946 +}
41947 +
41948 +int
41949 +check_executable(const char * path)
41950 +{
41951 + struct stat st;
41952 +
41953 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
41954 + if ((!path) || (!*path))
41955 + return 0;
41956 +
41957 + if ((stat (path, &st) >= 0) &&
41958 + (
41959 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
41960 +#if defined (S_IXOTH)
41961 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
41962 +#endif
41963 +#if defined (S_IXGRP)
41964 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
41965 +#endif
41966 + ((st.st_mode & S_IXUSR) == S_IXUSR))
41967 + )
41968 + return 1;
41969 + else
41970 + return 0;
41971 +}
41972 +
41973 +/* Searches for the full path of the wrapper. Returns
41974 + newly allocated full path name if found, NULL otherwise */
41975 +char *
41976 +find_executable (const char* wrapper)
41977 +{
41978 + int has_slash = 0;
41979 + const char* p;
41980 + const char* p_next;
41981 + /* static buffer for getcwd */
41982 + char tmp[LT_PATHMAX + 1];
41983 + int tmp_len;
41984 + char* concat_name;
41985 +
41986 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
41987 +
41988 + if ((wrapper == NULL) || (*wrapper == '\0'))
41989 + return NULL;
41990 +
41991 + /* Absolute path? */
41992 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
41993 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
41994 + {
41995 + concat_name = xstrdup (wrapper);
41996 + if (check_executable(concat_name))
41997 + return concat_name;
41998 + XFREE(concat_name);
41999 + }
42000 + else
42001 + {
42002 +#endif
42003 + if (IS_DIR_SEPARATOR (wrapper[0]))
42004 + {
42005 + concat_name = xstrdup (wrapper);
42006 + if (check_executable(concat_name))
42007 + return concat_name;
42008 + XFREE(concat_name);
42009 + }
42010 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
42011 + }
42012 +#endif
42013 +
42014 + for (p = wrapper; *p; p++)
42015 + if (*p == '/')
42016 + {
42017 + has_slash = 1;
42018 + break;
42019 + }
42020 + if (!has_slash)
42021 + {
42022 + /* no slashes; search PATH */
42023 + const char* path = getenv ("PATH");
42024 + if (path != NULL)
42025 + {
42026 + for (p = path; *p; p = p_next)
42027 + {
42028 + const char* q;
42029 + size_t p_len;
42030 + for (q = p; *q; q++)
42031 + if (IS_PATH_SEPARATOR(*q))
42032 + break;
42033 + p_len = q - p;
42034 + p_next = (*q == '\0' ? q : q + 1);
42035 + if (p_len == 0)
42036 + {
42037 + /* empty path: current directory */
42038 + if (getcwd (tmp, LT_PATHMAX) == NULL)
42039 + lt_fatal ("getcwd failed");
42040 + tmp_len = strlen(tmp);
42041 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
42042 + memcpy (concat_name, tmp, tmp_len);
42043 + concat_name[tmp_len] = '/';
42044 + strcpy (concat_name + tmp_len + 1, wrapper);
42045 + }
42046 + else
42047 + {
42048 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
42049 + memcpy (concat_name, p, p_len);
42050 + concat_name[p_len] = '/';
42051 + strcpy (concat_name + p_len + 1, wrapper);
42052 + }
42053 + if (check_executable(concat_name))
42054 + return concat_name;
42055 + XFREE(concat_name);
42056 + }
42057 + }
42058 + /* not found in PATH; assume curdir */
42059 + }
42060 + /* Relative path | not found in path: prepend cwd */
42061 + if (getcwd (tmp, LT_PATHMAX) == NULL)
42062 + lt_fatal ("getcwd failed");
42063 + tmp_len = strlen(tmp);
42064 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
42065 + memcpy (concat_name, tmp, tmp_len);
42066 + concat_name[tmp_len] = '/';
42067 + strcpy (concat_name + tmp_len + 1, wrapper);
42068 +
42069 + if (check_executable(concat_name))
42070 + return concat_name;
42071 + XFREE(concat_name);
42072 + return NULL;
42073 +}
42074 +
42075 +char *
42076 +strendzap(char *str, const char *pat)
42077 +{
42078 + size_t len, patlen;
42079 +
42080 + assert(str != NULL);
42081 + assert(pat != NULL);
42082 +
42083 + len = strlen(str);
42084 + patlen = strlen(pat);
42085 +
42086 + if (patlen <= len)
42087 + {
42088 + str += len - patlen;
42089 + if (strcmp(str, pat) == 0)
42090 + *str = '\0';
42091 + }
42092 + return str;
42093 +}
42094 +
42095 +static void
42096 +lt_error_core (int exit_status, const char * mode,
42097 + const char * message, va_list ap)
42098 +{
42099 + fprintf (stderr, "%s: %s: ", program_name, mode);
42100 + vfprintf (stderr, message, ap);
42101 + fprintf (stderr, ".\n");
42102 +
42103 + if (exit_status >= 0)
42104 + exit (exit_status);
42105 +}
42106 +
42107 +void
42108 +lt_fatal (const char *message, ...)
42109 +{
42110 + va_list ap;
42111 + va_start (ap, message);
42112 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
42113 + va_end (ap);
42114 +}
42115 +EOF
42116 + # we should really use a build-platform specific compiler
42117 + # here, but OTOH, the wrappers (shell script and this C one)
42118 + # are only useful if you want to execute the "real" binary.
42119 + # Since the "real" binary is built for $host, then this
42120 + # wrapper might as well be built for $host, too.
42121 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
42122 + ;;
42123 + esac
42124 + $rm $output
42125 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
42126 +
42127 + $echo > $output "\
42128 +#! $SHELL
42129 +
42130 +# $output - temporary wrapper script for $objdir/$outputname
42131 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
42132 +#
42133 +# The $output program cannot be directly executed until all the libtool
42134 +# libraries that it depends on are installed.
42135 +#
42136 +# This wrapper script should never be moved out of the build directory.
42137 +# If it is, it will not operate correctly.
42138 +
42139 +# Sed substitution that helps us do robust quoting. It backslashifies
42140 +# metacharacters that are still active within double-quoted strings.
42141 +Xsed='${SED} -e 1s/^X//'
42142 +sed_quote_subst='$sed_quote_subst'
42143 +
42144 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
42145 +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
42146 + emulate sh
42147 + NULLCMD=:
42148 + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
42149 + # is contrary to our usage. Disable this feature.
42150 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
42151 + setopt NO_GLOB_SUBST
42152 +else
42153 + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
42154 +fi
42155 +BIN_SH=xpg4; export BIN_SH # for Tru64
42156 +DUALCASE=1; export DUALCASE # for MKS sh
42157 +
42158 +# The HP-UX ksh and POSIX shell print the target directory to stdout
42159 +# if CDPATH is set.
42160 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
42161 +
42162 +relink_command=\"$relink_command\"
42163 +
42164 +# This environment variable determines our operation mode.
42165 +if test \"\$libtool_install_magic\" = \"$magic\"; then
42166 + # install mode needs the following variable:
42167 + notinst_deplibs='$notinst_deplibs'
42168 +else
42169 + # When we are sourced in execute mode, \$file and \$echo are already set.
42170 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
42171 + echo=\"$qecho\"
42172 + file=\"\$0\"
42173 + # Make sure echo works.
42174 + if test \"X\$1\" = X--no-reexec; then
42175 + # Discard the --no-reexec flag, and continue.
42176 + shift
42177 + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
42178 + # Yippee, \$echo works!
42179 + :
42180 + else
42181 + # Restart under the correct shell, and then maybe \$echo will work.
42182 + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
42183 + fi
42184 + fi\
42185 +"
42186 + $echo >> $output "\
42187 +
42188 + # Find the directory that this script lives in.
42189 + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
42190 + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
42191 +
42192 + # Follow symbolic links until we get to the real thisdir.
42193 + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
42194 + while test -n \"\$file\"; do
42195 + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
42196 +
42197 + # If there was a directory component, then change thisdir.
42198 + if test \"x\$destdir\" != \"x\$file\"; then
42199 + case \"\$destdir\" in
42200 + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
42201 + *) thisdir=\"\$thisdir/\$destdir\" ;;
42202 + esac
42203 + fi
42204 +
42205 + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
42206 + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
42207 + done
42208 +
42209 + # Try to get the absolute directory name.
42210 + absdir=\`cd \"\$thisdir\" && pwd\`
42211 + test -n \"\$absdir\" && thisdir=\"\$absdir\"
42212 +"
42213 +
42214 + if test "$fast_install" = yes; then
42215 + $echo >> $output "\
42216 + program=lt-'$outputname'$exeext
42217 + progdir=\"\$thisdir/$objdir\"
42218 +
42219 + if test ! -f \"\$progdir/\$program\" || \\
42220 + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
42221 + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
42222 +
42223 + file=\"\$\$-\$program\"
42224 +
42225 + if test ! -d \"\$progdir\"; then
42226 + $mkdir \"\$progdir\"
42227 + else
42228 + $rm \"\$progdir/\$file\"
42229 + fi"
42230 +
42231 + $echo >> $output "\
42232 +
42233 + # relink executable if necessary
42234 + if test -n \"\$relink_command\"; then
42235 + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
42236 + else
42237 + $echo \"\$relink_command_output\" >&2
42238 + $rm \"\$progdir/\$file\"
42239 + exit $EXIT_FAILURE
42240 + fi
42241 + fi
42242 +
42243 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
42244 + { $rm \"\$progdir/\$program\";
42245 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
42246 + $rm \"\$progdir/\$file\"
42247 + fi"
42248 + else
42249 + $echo >> $output "\
42250 + program='$outputname'
42251 + progdir=\"\$thisdir/$objdir\"
42252 +"
42253 + fi
42254 +
42255 + $echo >> $output "\
42256 +
42257 + if test -f \"\$progdir/\$program\"; then"
42258 +
42259 + # Export our shlibpath_var if we have one.
42260 + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
42261 + $echo >> $output "\
42262 + # Add our own library path to $shlibpath_var
42263 + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
42264 +
42265 + # Some systems cannot cope with colon-terminated $shlibpath_var
42266 + # The second colon is a workaround for a bug in BeOS R4 sed
42267 + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
42268 +
42269 + export $shlibpath_var
42270 +"
42271 + fi
42272 +
42273 + # fixup the dll searchpath if we need to.
42274 + if test -n "$dllsearchpath"; then
42275 + $echo >> $output "\
42276 + # Add the dll search path components to the executable PATH
42277 + PATH=$dllsearchpath:\$PATH
42278 +"
42279 + fi
42280 +
42281 + $echo >> $output "\
42282 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
42283 + # Run the actual program with our arguments.
42284 +"
42285 + case $host in
42286 + # Backslashes separate directories on plain windows
42287 + *-*-mingw | *-*-os2*)
42288 + $echo >> $output "\
42289 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
42290 +"
42291 + ;;
42292 +
42293 + *)
42294 + $echo >> $output "\
42295 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
42296 +"
42297 + ;;
42298 + esac
42299 + $echo >> $output "\
42300 + \$echo \"\$0: cannot exec \$program \$*\"
42301 + exit $EXIT_FAILURE
42302 + fi
42303 + else
42304 + # The program doesn't exist.
42305 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
42306 + \$echo \"This script is just a wrapper for \$program.\" 1>&2
42307 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
42308 + exit $EXIT_FAILURE
42309 + fi
42310 +fi\
42311 +"
42312 + chmod +x $output
42313 + fi
42314 + exit $EXIT_SUCCESS
42315 + ;;
42316 + esac
42317 +
42318 + # See if we need to build an old-fashioned archive.
42319 + for oldlib in $oldlibs; do
42320 +
42321 + if test "$build_libtool_libs" = convenience; then
42322 + oldobjs="$libobjs_save"
42323 + addlibs="$convenience"
42324 + build_libtool_libs=no
42325 + else
42326 + if test "$build_libtool_libs" = module; then
42327 + oldobjs="$libobjs_save"
42328 + build_libtool_libs=no
42329 + else
42330 + oldobjs="$old_deplibs $non_pic_objects"
42331 + fi
42332 + addlibs="$old_convenience"
42333 + fi
42334 +
42335 + if test -n "$addlibs"; then
42336 + gentop="$output_objdir/${outputname}x"
42337 + generated="$generated $gentop"
42338 +
42339 + func_extract_archives $gentop $addlibs
42340 + oldobjs="$oldobjs $func_extract_archives_result"
42341 + fi
42342 +
42343 + # Do each command in the archive commands.
42344 + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
42345 + cmds=$old_archive_from_new_cmds
42346 + else
42347 + # POSIX demands no paths to be encoded in archives. We have
42348 + # to avoid creating archives with duplicate basenames if we
42349 + # might have to extract them afterwards, e.g., when creating a
42350 + # static archive out of a convenience library, or when linking
42351 + # the entirety of a libtool archive into another (currently
42352 + # not supported by libtool).
42353 + if (for obj in $oldobjs
42354 + do
42355 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
42356 + done | sort | sort -uc >/dev/null 2>&1); then
42357 + :
42358 + else
42359 + $echo "copying selected object files to avoid basename conflicts..."
42360 +
42361 + if test -z "$gentop"; then
42362 + gentop="$output_objdir/${outputname}x"
42363 + generated="$generated $gentop"
42364 +
42365 + $show "${rm}r $gentop"
42366 + $run ${rm}r "$gentop"
42367 + $show "$mkdir $gentop"
42368 + $run $mkdir "$gentop"
42369 + exit_status=$?
42370 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
42371 + exit $exit_status
42372 + fi
42373 + fi
42374 +
42375 + save_oldobjs=$oldobjs
42376 + oldobjs=
42377 + counter=1
42378 + for obj in $save_oldobjs
42379 + do
42380 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
42381 + case " $oldobjs " in
42382 + " ") oldobjs=$obj ;;
42383 + *[\ /]"$objbase "*)
42384 + while :; do
42385 + # Make sure we don't pick an alternate name that also
42386 + # overlaps.
42387 + newobj=lt$counter-$objbase
42388 + counter=`expr $counter + 1`
42389 + case " $oldobjs " in
42390 + *[\ /]"$newobj "*) ;;
42391 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
42392 + esac
42393 + done
42394 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
42395 + $run ln "$obj" "$gentop/$newobj" ||
42396 + $run cp "$obj" "$gentop/$newobj"
42397 + oldobjs="$oldobjs $gentop/$newobj"
42398 + ;;
42399 + *) oldobjs="$oldobjs $obj" ;;
42400 + esac
42401 + done
42402 + fi
42403 +
42404 + eval cmds=\"$old_archive_cmds\"
42405 +
42406 + if len=`expr "X$cmds" : ".*"` &&
42407 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
42408 + cmds=$old_archive_cmds
42409 + else
42410 + # the command line is too long to link in one step, link in parts
42411 + $echo "using piecewise archive linking..."
42412 + save_RANLIB=$RANLIB
42413 + RANLIB=:
42414 + objlist=
42415 + concat_cmds=
42416 + save_oldobjs=$oldobjs
42417 +
42418 + # Is there a better way of finding the last object in the list?
42419 + for obj in $save_oldobjs
42420 + do
42421 + last_oldobj=$obj
42422 + done
42423 + for obj in $save_oldobjs
42424 + do
42425 + oldobjs="$objlist $obj"
42426 + objlist="$objlist $obj"
42427 + eval test_cmds=\"$old_archive_cmds\"
42428 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
42429 + test "$len" -le "$max_cmd_len"; then
42430 + :
42431 + else
42432 + # the above command should be used before it gets too long
42433 + oldobjs=$objlist
42434 + if test "$obj" = "$last_oldobj" ; then
42435 + RANLIB=$save_RANLIB
42436 + fi
42437 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
42438 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
42439 + objlist=
42440 + fi
42441 + done
42442 + RANLIB=$save_RANLIB
42443 + oldobjs=$objlist
42444 + if test "X$oldobjs" = "X" ; then
42445 + eval cmds=\"\$concat_cmds\"
42446 + else
42447 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
42448 + fi
42449 + fi
42450 + fi
42451 + save_ifs="$IFS"; IFS='~'
42452 + for cmd in $cmds; do
42453 + eval cmd=\"$cmd\"
42454 + IFS="$save_ifs"
42455 + $show "$cmd"
42456 + $run eval "$cmd" || exit $?
42457 + done
42458 + IFS="$save_ifs"
42459 + done
42460 +
42461 + if test -n "$generated"; then
42462 + $show "${rm}r$generated"
42463 + $run ${rm}r$generated
42464 + fi
42465 +
42466 + # Now create the libtool archive.
42467 + case $output in
42468 + *.la)
42469 + old_library=
42470 + test "$build_old_libs" = yes && old_library="$libname.$libext"
42471 + $show "creating $output"
42472 +
42473 + # Preserve any variables that may affect compiler behavior
42474 + for var in $variables_saved_for_relink; do
42475 + if eval test -z \"\${$var+set}\"; then
42476 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
42477 + elif eval var_value=\$$var; test -z "$var_value"; then
42478 + relink_command="$var=; export $var; $relink_command"
42479 + else
42480 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
42481 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
42482 + fi
42483 + done
42484 + # Quote the link command for shipping.
42485 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
42486 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
42487 + if test "$hardcode_automatic" = yes ; then
42488 + relink_command=
42489 + fi
42490 +
42491 +
42492 + # Only create the output if not a dry run.
42493 + if test -z "$run"; then
42494 + for installed in no yes; do
42495 + if test "$installed" = yes; then
42496 + if test -z "$install_libdir"; then
42497 + break
42498 + fi
42499 + output="$output_objdir/$outputname"i
42500 + # Replace all uninstalled libtool libraries with the installed ones
42501 + newdependency_libs=
42502 + for deplib in $dependency_libs; do
42503 + case $deplib in
42504 + *.la)
42505 + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
42506 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
42507 + if test -z "$libdir"; then
42508 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
42509 + exit $EXIT_FAILURE
42510 + fi
42511 + newdependency_libs="$newdependency_libs $libdir/$name"
42512 + ;;
42513 + *) newdependency_libs="$newdependency_libs $deplib" ;;
42514 + esac
42515 + done
42516 + dependency_libs="$newdependency_libs"
42517 + newdlfiles=
42518 + for lib in $dlfiles; do
42519 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
42520 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
42521 + if test -z "$libdir"; then
42522 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
42523 + exit $EXIT_FAILURE
42524 + fi
42525 + newdlfiles="$newdlfiles $libdir/$name"
42526 + done
42527 + dlfiles="$newdlfiles"
42528 + newdlprefiles=
42529 + for lib in $dlprefiles; do
42530 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
42531 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
42532 + if test -z "$libdir"; then
42533 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
42534 + exit $EXIT_FAILURE
42535 + fi
42536 + newdlprefiles="$newdlprefiles $libdir/$name"
42537 + done
42538 + dlprefiles="$newdlprefiles"
42539 + else
42540 + newdlfiles=
42541 + for lib in $dlfiles; do
42542 + case $lib in
42543 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
42544 + *) abs=`pwd`"/$lib" ;;
42545 + esac
42546 + newdlfiles="$newdlfiles $abs"
42547 + done
42548 + dlfiles="$newdlfiles"
42549 + newdlprefiles=
42550 + for lib in $dlprefiles; do
42551 + case $lib in
42552 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
42553 + *) abs=`pwd`"/$lib" ;;
42554 + esac
42555 + newdlprefiles="$newdlprefiles $abs"
42556 + done
42557 + dlprefiles="$newdlprefiles"
42558 + fi
42559 + $rm $output
42560 + # place dlname in correct position for cygwin
42561 + tdlname=$dlname
42562 + case $host,$output,$installed,$module,$dlname in
42563 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
42564 + esac
42565 + $echo > $output "\
42566 +# $outputname - a libtool library file
42567 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
42568 +#
42569 +# Please DO NOT delete this file!
42570 +# It is necessary for linking the library.
42571 +
42572 +# The name that we can dlopen(3).
42573 +dlname='$tdlname'
42574 +
42575 +# Names of this library.
42576 +library_names='$library_names'
42577 +
42578 +# The name of the static archive.
42579 +old_library='$old_library'
42580 +
42581 +# Libraries that this one depends upon.
42582 +dependency_libs='$dependency_libs'
42583 +
42584 +# Version information for $libname.
42585 +current=$current
42586 +age=$age
42587 +revision=$revision
42588 +
42589 +# Is this an already installed library?
42590 +installed=$installed
42591 +
42592 +# Should we warn about portability when linking against -modules?
42593 +shouldnotlink=$module
42594 +
42595 +# Files to dlopen/dlpreopen
42596 +dlopen='$dlfiles'
42597 +dlpreopen='$dlprefiles'
42598 +
42599 +# Directory that this library needs to be installed in:
42600 +libdir='$install_libdir'"
42601 + if test "$installed" = no && test "$need_relink" = yes; then
42602 + $echo >> $output "\
42603 +relink_command=\"$relink_command\""
42604 + fi
42605 + done
42606 + fi
42607 +
42608 + # Do a symbolic link so that the libtool archive can be found in
42609 + # LD_LIBRARY_PATH before the program is installed.
42610 + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
42611 + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
42612 + ;;
42613 + esac
42614 + exit $EXIT_SUCCESS
42615 + ;;
42616 +
42617 + # libtool install mode
42618 + install)
42619 + modename="$modename: install"
42620 +
42621 + # There may be an optional sh(1) argument at the beginning of
42622 + # install_prog (especially on Windows NT).
42623 + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
42624 + # Allow the use of GNU shtool's install command.
42625 + $echo "X$nonopt" | grep shtool > /dev/null; then
42626 + # Aesthetically quote it.
42627 + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
42628 + case $arg in
42629 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
42630 + arg="\"$arg\""
42631 + ;;
42632 + esac
42633 + install_prog="$arg "
42634 + arg="$1"
42635 + shift
42636 + else
42637 + install_prog=
42638 + arg=$nonopt
42639 + fi
42640 +
42641 + # The real first argument should be the name of the installation program.
42642 + # Aesthetically quote it.
42643 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
42644 + case $arg in
42645 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
42646 + arg="\"$arg\""
42647 + ;;
42648 + esac
42649 + install_prog="$install_prog$arg"
42650 +
42651 + # We need to accept at least all the BSD install flags.
42652 + dest=
42653 + files=
42654 + opts=
42655 + prev=
42656 + install_type=
42657 + isdir=no
42658 + stripme=
42659 + for arg
42660 + do
42661 + if test -n "$dest"; then
42662 + files="$files $dest"
42663 + dest=$arg
42664 + continue
42665 + fi
42666 +
42667 + case $arg in
42668 + -d) isdir=yes ;;
42669 + -f)
42670 + case " $install_prog " in
42671 + *[\\\ /]cp\ *) ;;
42672 + *) prev=$arg ;;
42673 + esac
42674 + ;;
42675 + -g | -m | -o) prev=$arg ;;
42676 + -s)
42677 + stripme=" -s"
42678 + continue
42679 + ;;
42680 + -*)
42681 + ;;
42682 + *)
42683 + # If the previous option needed an argument, then skip it.
42684 + if test -n "$prev"; then
42685 + prev=
42686 + else
42687 + dest=$arg
42688 + continue
42689 + fi
42690 + ;;
42691 + esac
42692 +
42693 + # Aesthetically quote the argument.
42694 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
42695 + case $arg in
42696 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
42697 + arg="\"$arg\""
42698 + ;;
42699 + esac
42700 + install_prog="$install_prog $arg"
42701 + done
42702 +
42703 + if test -z "$install_prog"; then
42704 + $echo "$modename: you must specify an install program" 1>&2
42705 + $echo "$help" 1>&2
42706 + exit $EXIT_FAILURE
42707 + fi
42708 +
42709 + if test -n "$prev"; then
42710 + $echo "$modename: the \`$prev' option requires an argument" 1>&2
42711 + $echo "$help" 1>&2
42712 + exit $EXIT_FAILURE
42713 + fi
42714 +
42715 + if test -z "$files"; then
42716 + if test -z "$dest"; then
42717 + $echo "$modename: no file or destination specified" 1>&2
42718 + else
42719 + $echo "$modename: you must specify a destination" 1>&2
42720 + fi
42721 + $echo "$help" 1>&2
42722 + exit $EXIT_FAILURE
42723 + fi
42724 +
42725 + # Strip any trailing slash from the destination.
42726 + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
42727 +
42728 + # Check to see that the destination is a directory.
42729 + test -d "$dest" && isdir=yes
42730 + if test "$isdir" = yes; then
42731 + destdir="$dest"
42732 + destname=
42733 + else
42734 + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
42735 + test "X$destdir" = "X$dest" && destdir=.
42736 + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
42737 +
42738 + # Not a directory, so check to see that there is only one file specified.
42739 + set dummy $files
42740 + if test "$#" -gt 2; then
42741 + $echo "$modename: \`$dest' is not a directory" 1>&2
42742 + $echo "$help" 1>&2
42743 + exit $EXIT_FAILURE
42744 + fi
42745 + fi
42746 + case $destdir in
42747 + [\\/]* | [A-Za-z]:[\\/]*) ;;
42748 + *)
42749 + for file in $files; do
42750 + case $file in
42751 + *.lo) ;;
42752 + *)
42753 + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
42754 + $echo "$help" 1>&2
42755 + exit $EXIT_FAILURE
42756 + ;;
42757 + esac
42758 + done
42759 + ;;
42760 + esac
42761 +
42762 + # This variable tells wrapper scripts just to set variables rather
42763 + # than running their programs.
42764 + libtool_install_magic="$magic"
42765 +
42766 + staticlibs=
42767 + future_libdirs=
42768 + current_libdirs=
42769 + for file in $files; do
42770 +
42771 + # Do each installation.
42772 + case $file in
42773 + *.$libext)
42774 + # Do the static libraries later.
42775 + staticlibs="$staticlibs $file"
42776 + ;;
42777 +
42778 + *.la)
42779 + # Check to see that this really is a libtool archive.
42780 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
42781 + else
42782 + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
42783 + $echo "$help" 1>&2
42784 + exit $EXIT_FAILURE
42785 + fi
42786 +
42787 + library_names=
42788 + old_library=
42789 + relink_command=
42790 + # If there is no directory component, then add one.
42791 + case $file in
42792 + */* | *\\*) . $file ;;
42793 + *) . ./$file ;;
42794 + esac
42795 +
42796 + # Add the libdir to current_libdirs if it is the destination.
42797 + if test "X$destdir" = "X$libdir"; then
42798 + case "$current_libdirs " in
42799 + *" $libdir "*) ;;
42800 + *) current_libdirs="$current_libdirs $libdir" ;;
42801 + esac
42802 + else
42803 + # Note the libdir as a future libdir.
42804 + case "$future_libdirs " in
42805 + *" $libdir "*) ;;
42806 + *) future_libdirs="$future_libdirs $libdir" ;;
42807 + esac
42808 + fi
42809 +
42810 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
42811 + test "X$dir" = "X$file/" && dir=
42812 + dir="$dir$objdir"
42813 +
42814 + if test -n "$relink_command"; then
42815 + # Determine the prefix the user has applied to our future dir.
42816 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
42817 +
42818 + # Don't allow the user to place us outside of our expected
42819 + # location b/c this prevents finding dependent libraries that
42820 + # are installed to the same prefix.
42821 + # At present, this check doesn't affect windows .dll's that
42822 + # are installed into $libdir/../bin (currently, that works fine)
42823 + # but it's something to keep an eye on.
42824 + if test "$inst_prefix_dir" = "$destdir"; then
42825 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
42826 + exit $EXIT_FAILURE
42827 + fi
42828 +
42829 + if test -n "$inst_prefix_dir"; then
42830 + # Stick the inst_prefix_dir data into the link command.
42831 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
42832 + else
42833 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
42834 + fi
42835 +
42836 + $echo "$modename: warning: relinking \`$file'" 1>&2
42837 + $show "$relink_command"
42838 + if $run eval "$relink_command"; then :
42839 + else
42840 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
42841 + exit $EXIT_FAILURE
42842 + fi
42843 + fi
42844 +
42845 + # See the names of the shared library.
42846 + set dummy $library_names
42847 + if test -n "$2"; then
42848 + realname="$2"
42849 + shift
42850 + shift
42851 +
42852 + srcname="$realname"
42853 + test -n "$relink_command" && srcname="$realname"T
42854 +
42855 + # Install the shared library and build the symlinks.
42856 + $show "$install_prog $dir/$srcname $destdir/$realname"
42857 + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
42858 + if test -n "$stripme" && test -n "$striplib"; then
42859 + $show "$striplib $destdir/$realname"
42860 + $run eval "$striplib $destdir/$realname" || exit $?
42861 + fi
42862 +
42863 + if test "$#" -gt 0; then
42864 + # Delete the old symlinks, and create new ones.
42865 + # Try `ln -sf' first, because the `ln' binary might depend on
42866 + # the symlink we replace! Solaris /bin/ln does not understand -f,
42867 + # so we also need to try rm && ln -s.
42868 + for linkname
42869 + do
42870 + if test "$linkname" != "$realname"; then
42871 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
42872 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
42873 + fi
42874 + done
42875 + fi
42876 +
42877 + # Do each command in the postinstall commands.
42878 + lib="$destdir/$realname"
42879 + cmds=$postinstall_cmds
42880 + save_ifs="$IFS"; IFS='~'
42881 + for cmd in $cmds; do
42882 + IFS="$save_ifs"
42883 + eval cmd=\"$cmd\"
42884 + $show "$cmd"
42885 + $run eval "$cmd" || {
42886 + lt_exit=$?
42887 +
42888 + # Restore the uninstalled library and exit
42889 + if test "$mode" = relink; then
42890 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
42891 + fi
42892 +
42893 + exit $lt_exit
42894 + }
42895 + done
42896 + IFS="$save_ifs"
42897 + fi
42898 +
42899 + # Install the pseudo-library for information purposes.
42900 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
42901 + instname="$dir/$name"i
42902 + $show "$install_prog $instname $destdir/$name"
42903 + $run eval "$install_prog $instname $destdir/$name" || exit $?
42904 +
42905 + # Maybe install the static library, too.
42906 + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
42907 + ;;
42908 +
42909 + *.lo)
42910 + # Install (i.e. copy) a libtool object.
42911 +
42912 + # Figure out destination file name, if it wasn't already specified.
42913 + if test -n "$destname"; then
42914 + destfile="$destdir/$destname"
42915 + else
42916 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
42917 + destfile="$destdir/$destfile"
42918 + fi
42919 +
42920 + # Deduce the name of the destination old-style object file.
42921 + case $destfile in
42922 + *.lo)
42923 + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
42924 + ;;
42925 + *.$objext)
42926 + staticdest="$destfile"
42927 + destfile=
42928 + ;;
42929 + *)
42930 + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
42931 + $echo "$help" 1>&2
42932 + exit $EXIT_FAILURE
42933 + ;;
42934 + esac
42935 +
42936 + # Install the libtool object if requested.
42937 + if test -n "$destfile"; then
42938 + $show "$install_prog $file $destfile"
42939 + $run eval "$install_prog $file $destfile" || exit $?
42940 + fi
42941 +
42942 + # Install the old object if enabled.
42943 + if test "$build_old_libs" = yes; then
42944 + # Deduce the name of the old-style object file.
42945 + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
42946 +
42947 + $show "$install_prog $staticobj $staticdest"
42948 + $run eval "$install_prog \$staticobj \$staticdest" || exit $?
42949 + fi
42950 + exit $EXIT_SUCCESS
42951 + ;;
42952 +
42953 + *)
42954 + # Figure out destination file name, if it wasn't already specified.
42955 + if test -n "$destname"; then
42956 + destfile="$destdir/$destname"
42957 + else
42958 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
42959 + destfile="$destdir/$destfile"
42960 + fi
42961 +
42962 + # If the file is missing, and there is a .exe on the end, strip it
42963 + # because it is most likely a libtool script we actually want to
42964 + # install
42965 + stripped_ext=""
42966 + case $file in
42967 + *.exe)
42968 + if test ! -f "$file"; then
42969 + file=`$echo $file|${SED} 's,.exe$,,'`
42970 + stripped_ext=".exe"
42971 + fi
42972 + ;;
42973 + esac
42974 +
42975 + # Do a test to see if this is really a libtool program.
42976 + case $host in
42977 + *cygwin*|*mingw*)
42978 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
42979 + ;;
42980 + *)
42981 + wrapper=$file
42982 + ;;
42983 + esac
42984 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
42985 + notinst_deplibs=
42986 + relink_command=
42987 +
42988 + # Note that it is not necessary on cygwin/mingw to append a dot to
42989 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
42990 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
42991 + # `FILE.' does not work on cygwin managed mounts.
42992 + #
42993 + # If there is no directory component, then add one.
42994 + case $wrapper in
42995 + */* | *\\*) . ${wrapper} ;;
42996 + *) . ./${wrapper} ;;
42997 + esac
42998 +
42999 + # Check the variables that should have been set.
43000 + if test -z "$notinst_deplibs"; then
43001 + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
43002 + exit $EXIT_FAILURE
43003 + fi
43004 +
43005 + finalize=yes
43006 + for lib in $notinst_deplibs; do
43007 + # Check to see that each library is installed.
43008 + libdir=
43009 + if test -f "$lib"; then
43010 + # If there is no directory component, then add one.
43011 + case $lib in
43012 + */* | *\\*) . $lib ;;
43013 + *) . ./$lib ;;
43014 + esac
43015 + fi
43016 + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
43017 + if test -n "$libdir" && test ! -f "$libfile"; then
43018 + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
43019 + finalize=no
43020 + fi
43021 + done
43022 +
43023 + relink_command=
43024 + # Note that it is not necessary on cygwin/mingw to append a dot to
43025 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
43026 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
43027 + # `FILE.' does not work on cygwin managed mounts.
43028 + #
43029 + # If there is no directory component, then add one.
43030 + case $wrapper in
43031 + */* | *\\*) . ${wrapper} ;;
43032 + *) . ./${wrapper} ;;
43033 + esac
43034 +
43035 + outputname=
43036 + if test "$fast_install" = no && test -n "$relink_command"; then
43037 + if test "$finalize" = yes && test -z "$run"; then
43038 + tmpdir=`func_mktempdir`
43039 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
43040 + outputname="$tmpdir/$file"
43041 + # Replace the output file specification.
43042 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
43043 +
43044 + $show "$relink_command"
43045 + if $run eval "$relink_command"; then :
43046 + else
43047 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
43048 + ${rm}r "$tmpdir"
43049 + continue
43050 + fi
43051 + file="$outputname"
43052 + else
43053 + $echo "$modename: warning: cannot relink \`$file'" 1>&2
43054 + fi
43055 + else
43056 + # Install the binary that we compiled earlier.
43057 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
43058 + fi
43059 + fi
43060 +
43061 + # remove .exe since cygwin /usr/bin/install will append another
43062 + # one anyway
43063 + case $install_prog,$host in
43064 + */usr/bin/install*,*cygwin*)
43065 + case $file:$destfile in
43066 + *.exe:*.exe)
43067 + # this is ok
43068 + ;;
43069 + *.exe:*)
43070 + destfile=$destfile.exe
43071 + ;;
43072 + *:*.exe)
43073 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
43074 + ;;
43075 + esac
43076 + ;;
43077 + esac
43078 + $show "$install_prog$stripme $file $destfile"
43079 + $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
43080 + test -n "$outputname" && ${rm}r "$tmpdir"
43081 + ;;
43082 + esac
43083 + done
43084 +
43085 + for file in $staticlibs; do
43086 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
43087 +
43088 + # Set up the ranlib parameters.
43089 + oldlib="$destdir/$name"
43090 +
43091 + $show "$install_prog $file $oldlib"
43092 + $run eval "$install_prog \$file \$oldlib" || exit $?
43093 +
43094 + if test -n "$stripme" && test -n "$old_striplib"; then
43095 + $show "$old_striplib $oldlib"
43096 + $run eval "$old_striplib $oldlib" || exit $?
43097 + fi
43098 +
43099 + # Do each command in the postinstall commands.
43100 + cmds=$old_postinstall_cmds
43101 + save_ifs="$IFS"; IFS='~'
43102 + for cmd in $cmds; do
43103 + IFS="$save_ifs"
43104 + eval cmd=\"$cmd\"
43105 + $show "$cmd"
43106 + $run eval "$cmd" || exit $?
43107 + done
43108 + IFS="$save_ifs"
43109 + done
43110 +
43111 + if test -n "$future_libdirs"; then
43112 + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
43113 + fi
43114 +
43115 + if test -n "$current_libdirs"; then
43116 + # Maybe just do a dry run.
43117 + test -n "$run" && current_libdirs=" -n$current_libdirs"
43118 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
43119 + else
43120 + exit $EXIT_SUCCESS
43121 + fi
43122 + ;;
43123 +
43124 + # libtool finish mode
43125 + finish)
43126 + modename="$modename: finish"
43127 + libdirs="$nonopt"
43128 + admincmds=
43129 +
43130 + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
43131 + for dir
43132 + do
43133 + libdirs="$libdirs $dir"
43134 + done
43135 +
43136 + for libdir in $libdirs; do
43137 + if test -n "$finish_cmds"; then
43138 + # Do each command in the finish commands.
43139 + cmds=$finish_cmds
43140 + save_ifs="$IFS"; IFS='~'
43141 + for cmd in $cmds; do
43142 + IFS="$save_ifs"
43143 + eval cmd=\"$cmd\"
43144 + $show "$cmd"
43145 + $run eval "$cmd" || admincmds="$admincmds
43146 + $cmd"
43147 + done
43148 + IFS="$save_ifs"
43149 + fi
43150 + if test -n "$finish_eval"; then
43151 + # Do the single finish_eval.
43152 + eval cmds=\"$finish_eval\"
43153 + $run eval "$cmds" || admincmds="$admincmds
43154 + $cmds"
43155 + fi
43156 + done
43157 + fi
43158 +
43159 + # Exit here if they wanted silent mode.
43160 + test "$show" = : && exit $EXIT_SUCCESS
43161 +
43162 + $echo "X----------------------------------------------------------------------" | $Xsed
43163 + $echo "Libraries have been installed in:"
43164 + for libdir in $libdirs; do
43165 + $echo " $libdir"
43166 + done
43167 + $echo
43168 + $echo "If you ever happen to want to link against installed libraries"
43169 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
43170 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
43171 + $echo "flag during linking and do at least one of the following:"
43172 + if test -n "$shlibpath_var"; then
43173 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
43174 + $echo " during execution"
43175 + fi
43176 + if test -n "$runpath_var"; then
43177 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
43178 + $echo " during linking"
43179 + fi
43180 + if test -n "$hardcode_libdir_flag_spec"; then
43181 + libdir=LIBDIR
43182 + eval flag=\"$hardcode_libdir_flag_spec\"
43183 +
43184 + $echo " - use the \`$flag' linker flag"
43185 + fi
43186 + if test -n "$admincmds"; then
43187 + $echo " - have your system administrator run these commands:$admincmds"
43188 + fi
43189 + if test -f /etc/ld.so.conf; then
43190 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
43191 + fi
43192 + $echo
43193 + $echo "See any operating system documentation about shared libraries for"
43194 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
43195 + $echo "X----------------------------------------------------------------------" | $Xsed
43196 + exit $EXIT_SUCCESS
43197 + ;;
43198 +
43199 + # libtool execute mode
43200 + execute)
43201 + modename="$modename: execute"
43202 +
43203 + # The first argument is the command name.
43204 + cmd="$nonopt"
43205 + if test -z "$cmd"; then
43206 + $echo "$modename: you must specify a COMMAND" 1>&2
43207 + $echo "$help"
43208 + exit $EXIT_FAILURE
43209 + fi
43210 +
43211 + # Handle -dlopen flags immediately.
43212 + for file in $execute_dlfiles; do
43213 + if test ! -f "$file"; then
43214 + $echo "$modename: \`$file' is not a file" 1>&2
43215 + $echo "$help" 1>&2
43216 + exit $EXIT_FAILURE
43217 + fi
43218 +
43219 + dir=
43220 + case $file in
43221 + *.la)
43222 + # Check to see that this really is a libtool archive.
43223 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
43224 + else
43225 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
43226 + $echo "$help" 1>&2
43227 + exit $EXIT_FAILURE
43228 + fi
43229 +
43230 + # Read the libtool library.
43231 + dlname=
43232 + library_names=
43233 +
43234 + # If there is no directory component, then add one.
43235 + case $file in
43236 + */* | *\\*) . $file ;;
43237 + *) . ./$file ;;
43238 + esac
43239 +
43240 + # Skip this library if it cannot be dlopened.
43241 + if test -z "$dlname"; then
43242 + # Warn if it was a shared library.
43243 + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
43244 + continue
43245 + fi
43246 +
43247 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
43248 + test "X$dir" = "X$file" && dir=.
43249 +
43250 + if test -f "$dir/$objdir/$dlname"; then
43251 + dir="$dir/$objdir"
43252 + else
43253 + if test ! -f "$dir/$dlname"; then
43254 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
43255 + exit $EXIT_FAILURE
43256 + fi
43257 + fi
43258 + ;;
43259 +
43260 + *.lo)
43261 + # Just add the directory containing the .lo file.
43262 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
43263 + test "X$dir" = "X$file" && dir=.
43264 + ;;
43265 +
43266 + *)
43267 + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
43268 + continue
43269 + ;;
43270 + esac
43271 +
43272 + # Get the absolute pathname.
43273 + absdir=`cd "$dir" && pwd`
43274 + test -n "$absdir" && dir="$absdir"
43275 +
43276 + # Now add the directory to shlibpath_var.
43277 + if eval "test -z \"\$$shlibpath_var\""; then
43278 + eval "$shlibpath_var=\"\$dir\""
43279 + else
43280 + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
43281 + fi
43282 + done
43283 +
43284 + # This variable tells wrapper scripts just to set shlibpath_var
43285 + # rather than running their programs.
43286 + libtool_execute_magic="$magic"
43287 +
43288 + # Check if any of the arguments is a wrapper script.
43289 + args=
43290 + for file
43291 + do
43292 + case $file in
43293 + -*) ;;
43294 + *)
43295 + # Do a test to see if this is really a libtool program.
43296 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
43297 + # If there is no directory component, then add one.
43298 + case $file in
43299 + */* | *\\*) . $file ;;
43300 + *) . ./$file ;;
43301 + esac
43302 +
43303 + # Transform arg to wrapped name.
43304 + file="$progdir/$program"
43305 + fi
43306 + ;;
43307 + esac
43308 + # Quote arguments (to preserve shell metacharacters).
43309 + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
43310 + args="$args \"$file\""
43311 + done
43312 +
43313 + if test -z "$run"; then
43314 + if test -n "$shlibpath_var"; then
43315 + # Export the shlibpath_var.
43316 + eval "export $shlibpath_var"
43317 + fi
43318 +
43319 + # Restore saved environment variables
43320 + for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
43321 + do
43322 + eval "if test \"\${save_$lt_var+set}\" = set; then
43323 + $lt_var=\$save_$lt_var; export $lt_var
43324 + fi"
43325 + done
43326 +
43327 + # Now prepare to actually exec the command.
43328 + exec_cmd="\$cmd$args"
43329 + else
43330 + # Display what would be done.
43331 + if test -n "$shlibpath_var"; then
43332 + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
43333 + $echo "export $shlibpath_var"
43334 + fi
43335 + $echo "$cmd$args"
43336 + exit $EXIT_SUCCESS
43337 + fi
43338 + ;;
43339 +
43340 + # libtool clean and uninstall mode
43341 + clean | uninstall)
43342 + modename="$modename: $mode"
43343 + rm="$nonopt"
43344 + files=
43345 + rmforce=
43346 + exit_status=0
43347 +
43348 + # This variable tells wrapper scripts just to set variables rather
43349 + # than running their programs.
43350 + libtool_install_magic="$magic"
43351 +
43352 + for arg
43353 + do
43354 + case $arg in
43355 + -f) rm="$rm $arg"; rmforce=yes ;;
43356 + -*) rm="$rm $arg" ;;
43357 + *) files="$files $arg" ;;
43358 + esac
43359 + done
43360 +
43361 + if test -z "$rm"; then
43362 + $echo "$modename: you must specify an RM program" 1>&2
43363 + $echo "$help" 1>&2
43364 + exit $EXIT_FAILURE
43365 + fi
43366 +
43367 + rmdirs=
43368 +
43369 + origobjdir="$objdir"
43370 + for file in $files; do
43371 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
43372 + if test "X$dir" = "X$file"; then
43373 + dir=.
43374 + objdir="$origobjdir"
43375 + else
43376 + objdir="$dir/$origobjdir"
43377 + fi
43378 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
43379 + test "$mode" = uninstall && objdir="$dir"
43380 +
43381 + # Remember objdir for removal later, being careful to avoid duplicates
43382 + if test "$mode" = clean; then
43383 + case " $rmdirs " in
43384 + *" $objdir "*) ;;
43385 + *) rmdirs="$rmdirs $objdir" ;;
43386 + esac
43387 + fi
43388 +
43389 + # Don't error if the file doesn't exist and rm -f was used.
43390 + if (test -L "$file") >/dev/null 2>&1 \
43391 + || (test -h "$file") >/dev/null 2>&1 \
43392 + || test -f "$file"; then
43393 + :
43394 + elif test -d "$file"; then
43395 + exit_status=1
43396 + continue
43397 + elif test "$rmforce" = yes; then
43398 + continue
43399 + fi
43400 +
43401 + rmfiles="$file"
43402 +
43403 + case $name in
43404 + *.la)
43405 + # Possibly a libtool archive, so verify it.
43406 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
43407 + . $dir/$name
43408 +
43409 + # Delete the libtool libraries and symlinks.
43410 + for n in $library_names; do
43411 + rmfiles="$rmfiles $objdir/$n"
43412 + done
43413 + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
43414 +
43415 + case "$mode" in
43416 + clean)
43417 + case " $library_names " in
43418 + # " " in the beginning catches empty $dlname
43419 + *" $dlname "*) ;;
43420 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
43421 + esac
43422 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
43423 + ;;
43424 + uninstall)
43425 + if test -n "$library_names"; then
43426 + # Do each command in the postuninstall commands.
43427 + cmds=$postuninstall_cmds
43428 + save_ifs="$IFS"; IFS='~'
43429 + for cmd in $cmds; do
43430 + IFS="$save_ifs"
43431 + eval cmd=\"$cmd\"
43432 + $show "$cmd"
43433 + $run eval "$cmd"
43434 + if test "$?" -ne 0 && test "$rmforce" != yes; then
43435 + exit_status=1
43436 + fi
43437 + done
43438 + IFS="$save_ifs"
43439 + fi
43440 +
43441 + if test -n "$old_library"; then
43442 + # Do each command in the old_postuninstall commands.
43443 + cmds=$old_postuninstall_cmds
43444 + save_ifs="$IFS"; IFS='~'
43445 + for cmd in $cmds; do
43446 + IFS="$save_ifs"
43447 + eval cmd=\"$cmd\"
43448 + $show "$cmd"
43449 + $run eval "$cmd"
43450 + if test "$?" -ne 0 && test "$rmforce" != yes; then
43451 + exit_status=1
43452 + fi
43453 + done
43454 + IFS="$save_ifs"
43455 + fi
43456 + # FIXME: should reinstall the best remaining shared library.
43457 + ;;
43458 + esac
43459 + fi
43460 + ;;
43461 +
43462 + *.lo)
43463 + # Possibly a libtool object, so verify it.
43464 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
43465 +
43466 + # Read the .lo file
43467 + . $dir/$name
43468 +
43469 + # Add PIC object to the list of files to remove.
43470 + if test -n "$pic_object" \
43471 + && test "$pic_object" != none; then
43472 + rmfiles="$rmfiles $dir/$pic_object"
43473 + fi
43474 +
43475 + # Add non-PIC object to the list of files to remove.
43476 + if test -n "$non_pic_object" \
43477 + && test "$non_pic_object" != none; then
43478 + rmfiles="$rmfiles $dir/$non_pic_object"
43479 + fi
43480 + fi
43481 + ;;
43482 +
43483 + *)
43484 + if test "$mode" = clean ; then
43485 + noexename=$name
43486 + case $file in
43487 + *.exe)
43488 + file=`$echo $file|${SED} 's,.exe$,,'`
43489 + noexename=`$echo $name|${SED} 's,.exe$,,'`
43490 + # $file with .exe has already been added to rmfiles,
43491 + # add $file without .exe
43492 + rmfiles="$rmfiles $file"
43493 + ;;
43494 + esac
43495 + # Do a test to see if this is a libtool program.
43496 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
43497 + relink_command=
43498 + . $dir/$noexename
43499 +
43500 + # note $name still contains .exe if it was in $file originally
43501 + # as does the version of $file that was added into $rmfiles
43502 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
43503 + if test "$fast_install" = yes && test -n "$relink_command"; then
43504 + rmfiles="$rmfiles $objdir/lt-$name"
43505 + fi
43506 + if test "X$noexename" != "X$name" ; then
43507 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
43508 + fi
43509 + fi
43510 + fi
43511 + ;;
43512 + esac
43513 + $show "$rm $rmfiles"
43514 + $run $rm $rmfiles || exit_status=1
43515 + done
43516 + objdir="$origobjdir"
43517 +
43518 + # Try to remove the ${objdir}s in the directories where we deleted files
43519 + for dir in $rmdirs; do
43520 + if test -d "$dir"; then
43521 + $show "rmdir $dir"
43522 + $run rmdir $dir >/dev/null 2>&1
43523 + fi
43524 + done
43525 +
43526 + exit $exit_status
43527 + ;;
43528 +
43529 + "")
43530 + $echo "$modename: you must specify a MODE" 1>&2
43531 + $echo "$generic_help" 1>&2
43532 + exit $EXIT_FAILURE
43533 + ;;
43534 + esac
43535 +
43536 + if test -z "$exec_cmd"; then
43537 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
43538 + $echo "$generic_help" 1>&2
43539 + exit $EXIT_FAILURE
43540 + fi
43541 +fi # test -z "$show_help"
43542 +
43543 +if test -n "$exec_cmd"; then
43544 + eval exec $exec_cmd
43545 + exit $EXIT_FAILURE
43546 +fi
43547 +
43548 +# We need to display help for each of the modes.
43549 +case $mode in
43550 +"") $echo \
43551 +"Usage: $modename [OPTION]... [MODE-ARG]...
43552 +
43553 +Provide generalized library-building support services.
43554 +
43555 + --config show all configuration variables
43556 + --debug enable verbose shell tracing
43557 +-n, --dry-run display commands without modifying any files
43558 + --features display basic configuration information and exit
43559 + --finish same as \`--mode=finish'
43560 + --help display this help message and exit
43561 + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
43562 + --quiet same as \`--silent'
43563 + --silent don't print informational messages
43564 + --tag=TAG use configuration variables from tag TAG
43565 + --version print version information
43566 +
43567 +MODE must be one of the following:
43568 +
43569 + clean remove files from the build directory
43570 + compile compile a source file into a libtool object
43571 + execute automatically set library path, then run a program
43572 + finish complete the installation of libtool libraries
43573 + install install libraries or executables
43574 + link create a library or an executable
43575 + uninstall remove libraries from an installed directory
43576 +
43577 +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
43578 +a more detailed description of MODE.
43579 +
43580 +Report bugs to <bug-libtool@gnu.org>."
43581 + exit $EXIT_SUCCESS
43582 + ;;
43583 +
43584 +clean)
43585 + $echo \
43586 +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
43587 +
43588 +Remove files from the build directory.
43589 +
43590 +RM is the name of the program to use to delete files associated with each FILE
43591 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
43592 +to RM.
43593 +
43594 +If FILE is a libtool library, object or program, all the files associated
43595 +with it are deleted. Otherwise, only FILE itself is deleted using RM."
43596 + ;;
43597 +
43598 +compile)
43599 + $echo \
43600 +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
43601 +
43602 +Compile a source file into a libtool library object.
43603 +
43604 +This mode accepts the following additional options:
43605 +
43606 + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
43607 + -prefer-pic try to building PIC objects only
43608 + -prefer-non-pic try to building non-PIC objects only
43609 + -static always build a \`.o' file suitable for static linking
43610 +
43611 +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
43612 +from the given SOURCEFILE.
43613 +
43614 +The output file name is determined by removing the directory component from
43615 +SOURCEFILE, then substituting the C source code suffix \`.c' with the
43616 +library object suffix, \`.lo'."
43617 + ;;
43618 +
43619 +execute)
43620 + $echo \
43621 +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
43622 +
43623 +Automatically set library path, then run a program.
43624 +
43625 +This mode accepts the following additional options:
43626 +
43627 + -dlopen FILE add the directory containing FILE to the library path
43628 +
43629 +This mode sets the library path environment variable according to \`-dlopen'
43630 +flags.
43631 +
43632 +If any of the ARGS are libtool executable wrappers, then they are translated
43633 +into their corresponding uninstalled binary, and any of their required library
43634 +directories are added to the library path.
43635 +
43636 +Then, COMMAND is executed, with ARGS as arguments."
43637 + ;;
43638 +
43639 +finish)
43640 + $echo \
43641 +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
43642 +
43643 +Complete the installation of libtool libraries.
43644 +
43645 +Each LIBDIR is a directory that contains libtool libraries.
43646 +
43647 +The commands that this mode executes may require superuser privileges. Use
43648 +the \`--dry-run' option if you just want to see what would be executed."
43649 + ;;
43650 +
43651 +install)
43652 + $echo \
43653 +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
43654 +
43655 +Install executables or libraries.
43656 +
43657 +INSTALL-COMMAND is the installation command. The first component should be
43658 +either the \`install' or \`cp' program.
43659 +
43660 +The rest of the components are interpreted as arguments to that command (only
43661 +BSD-compatible install options are recognized)."
43662 + ;;
43663 +
43664 +link)
43665 + $echo \
43666 +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
43667 +
43668 +Link object files or libraries together to form another library, or to
43669 +create an executable program.
43670 +
43671 +LINK-COMMAND is a command using the C compiler that you would use to create
43672 +a program from several object files.
43673 +
43674 +The following components of LINK-COMMAND are treated specially:
43675 +
43676 + -all-static do not do any dynamic linking at all
43677 + -avoid-version do not add a version suffix if possible
43678 + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
43679 + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
43680 + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
43681 + -export-symbols SYMFILE
43682 + try to export only the symbols listed in SYMFILE
43683 + -export-symbols-regex REGEX
43684 + try to export only the symbols matching REGEX
43685 + -LLIBDIR search LIBDIR for required installed libraries
43686 + -lNAME OUTPUT-FILE requires the installed library libNAME
43687 + -module build a library that can dlopened
43688 + -no-fast-install disable the fast-install mode
43689 + -no-install link a not-installable executable
43690 + -no-undefined declare that a library does not refer to external symbols
43691 + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
43692 + -objectlist FILE Use a list of object files found in FILE to specify objects
43693 + -precious-files-regex REGEX
43694 + don't remove output files matching REGEX
43695 + -release RELEASE specify package release information
43696 + -rpath LIBDIR the created library will eventually be installed in LIBDIR
43697 + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
43698 + -static do not do any dynamic linking of uninstalled libtool libraries
43699 + -static-libtool-libs
43700 + do not do any dynamic linking of libtool libraries
43701 + -version-info CURRENT[:REVISION[:AGE]]
43702 + specify library version info [each variable defaults to 0]
43703 +
43704 +All other options (arguments beginning with \`-') are ignored.
43705 +
43706 +Every other argument is treated as a filename. Files ending in \`.la' are
43707 +treated as uninstalled libtool libraries, other files are standard or library
43708 +object files.
43709 +
43710 +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
43711 +only library objects (\`.lo' files) may be specified, and \`-rpath' is
43712 +required, except when creating a convenience library.
43713 +
43714 +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
43715 +using \`ar' and \`ranlib', or on Windows using \`lib'.
43716 +
43717 +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
43718 +is created, otherwise an executable program is created."
43719 + ;;
43720 +
43721 +uninstall)
43722 + $echo \
43723 +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
43724 +
43725 +Remove libraries from an installation directory.
43726 +
43727 +RM is the name of the program to use to delete files associated with each FILE
43728 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
43729 +to RM.
43730 +
43731 +If FILE is a libtool library, all the files associated with it are deleted.
43732 +Otherwise, only FILE itself is deleted using RM."
43733 + ;;
43734 +
43735 +*)
43736 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
43737 + $echo "$help" 1>&2
43738 + exit $EXIT_FAILURE
43739 + ;;
43740 +esac
43741 +
43742 +$echo
43743 +$echo "Try \`$modename --help' for more information about other modes."
43744 +
43745 +exit $?
43746 +
43747 +# The TAGs below are defined such that we never get into a situation
43748 +# in which we disable both kinds of libraries. Given conflicting
43749 +# choices, we go for a static library, that is the most portable,
43750 +# since we can't tell whether shared libraries were disabled because
43751 +# the user asked for that or because the platform doesn't support
43752 +# them. This is particularly important on AIX, because we don't
43753 +# support having both static and shared libraries enabled at the same
43754 +# time on that platform, so we default to a shared-only configuration.
43755 +# If a disable-shared tag is given, we'll fallback to a static-only
43756 +# configuration. But we'll never go from static-only to shared-only.
43757 +
43758 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
43759 +disable_libs=shared
43760 +# ### END LIBTOOL TAG CONFIG: disable-shared
43761 +
43762 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
43763 +disable_libs=static
43764 +# ### END LIBTOOL TAG CONFIG: disable-static
43765 +
43766 +# Local Variables:
43767 +# mode:shell-script
43768 +# sh-indentation:2
43769 +# End:
43770 diff -urNad faad2-svn~/missing faad2-svn/missing
43771 --- faad2-svn~/missing 1970-01-01 01:00:00.000000000 +0100
43772 +++ faad2-svn/missing 2007-12-25 22:22:08.000000000 +0000
43773 @@ -0,0 +1,360 @@
43774 +#! /bin/sh
43775 +# Common stub for a few missing GNU programs while installing.
43776 +
43777 +scriptversion=2005-06-08.21
43778 +
43779 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
43780 +# Free Software Foundation, Inc.
43781 +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
43782 +
43783 +# This program is free software; you can redistribute it and/or modify
43784 +# it under the terms of the GNU General Public License as published by
43785 +# the Free Software Foundation; either version 2, or (at your option)
43786 +# any later version.
43787 +
43788 +# This program is distributed in the hope that it will be useful,
43789 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
43790 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43791 +# GNU General Public License for more details.
43792 +
43793 +# You should have received a copy of the GNU General Public License
43794 +# along with this program; if not, write to the Free Software
43795 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
43796 +# 02110-1301, USA.
43797 +
43798 +# As a special exception to the GNU General Public License, if you
43799 +# distribute this file as part of a program that contains a
43800 +# configuration script generated by Autoconf, you may include it under
43801 +# the same distribution terms that you use for the rest of that program.
43802 +
43803 +if test $# -eq 0; then
43804 + echo 1>&2 "Try \`$0 --help' for more information"
43805 + exit 1
43806 +fi
43807 +
43808 +run=:
43809 +
43810 +# In the cases where this matters, `missing' is being run in the
43811 +# srcdir already.
43812 +if test -f configure.ac; then
43813 + configure_ac=configure.ac
43814 +else
43815 + configure_ac=configure.in
43816 +fi
43817 +
43818 +msg="missing on your system"
43819 +
43820 +case "$1" in
43821 +--run)
43822 + # Try to run requested program, and just exit if it succeeds.
43823 + run=
43824 + shift
43825 + "$@" && exit 0
43826 + # Exit code 63 means version mismatch. This often happens
43827 + # when the user try to use an ancient version of a tool on
43828 + # a file that requires a minimum version. In this case we
43829 + # we should proceed has if the program had been absent, or
43830 + # if --run hadn't been passed.
43831 + if test $? = 63; then
43832 + run=:
43833 + msg="probably too old"
43834 + fi
43835 + ;;
43836 +
43837 + -h|--h|--he|--hel|--help)
43838 + echo "\
43839 +$0 [OPTION]... PROGRAM [ARGUMENT]...
43840 +
43841 +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
43842 +error status if there is no known handling for PROGRAM.
43843 +
43844 +Options:
43845 + -h, --help display this help and exit
43846 + -v, --version output version information and exit
43847 + --run try to run the given command, and emulate it if it fails
43848 +
43849 +Supported PROGRAM values:
43850 + aclocal touch file \`aclocal.m4'
43851 + autoconf touch file \`configure'
43852 + autoheader touch file \`config.h.in'
43853 + automake touch all \`Makefile.in' files
43854 + bison create \`y.tab.[ch]', if possible, from existing .[ch]
43855 + flex create \`lex.yy.c', if possible, from existing .c
43856 + help2man touch the output file
43857 + lex create \`lex.yy.c', if possible, from existing .c
43858 + makeinfo touch the output file
43859 + tar try tar, gnutar, gtar, then tar without non-portable flags
43860 + yacc create \`y.tab.[ch]', if possible, from existing .[ch]
43861 +
43862 +Send bug reports to <bug-automake@gnu.org>."
43863 + exit $?
43864 + ;;
43865 +
43866 + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
43867 + echo "missing $scriptversion (GNU Automake)"
43868 + exit $?
43869 + ;;
43870 +
43871 + -*)
43872 + echo 1>&2 "$0: Unknown \`$1' option"
43873 + echo 1>&2 "Try \`$0 --help' for more information"
43874 + exit 1
43875 + ;;
43876 +
43877 +esac
43878 +
43879 +# Now exit if we have it, but it failed. Also exit now if we
43880 +# don't have it and --version was passed (most likely to detect
43881 +# the program).
43882 +case "$1" in
43883 + lex|yacc)
43884 + # Not GNU programs, they don't have --version.
43885 + ;;
43886 +
43887 + tar)
43888 + if test -n "$run"; then
43889 + echo 1>&2 "ERROR: \`tar' requires --run"
43890 + exit 1
43891 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
43892 + exit 1
43893 + fi
43894 + ;;
43895 +
43896 + *)
43897 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
43898 + # We have it, but it failed.
43899 + exit 1
43900 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
43901 + # Could not run --version or --help. This is probably someone
43902 + # running `$TOOL --version' or `$TOOL --help' to check whether
43903 + # $TOOL exists and not knowing $TOOL uses missing.
43904 + exit 1
43905 + fi
43906 + ;;
43907 +esac
43908 +
43909 +# If it does not exist, or fails to run (possibly an outdated version),
43910 +# try to emulate it.
43911 +case "$1" in
43912 + aclocal*)
43913 + echo 1>&2 "\
43914 +WARNING: \`$1' is $msg. You should only need it if
43915 + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
43916 + to install the \`Automake' and \`Perl' packages. Grab them from
43917 + any GNU archive site."
43918 + touch aclocal.m4
43919 + ;;
43920 +
43921 + autoconf)
43922 + echo 1>&2 "\
43923 +WARNING: \`$1' is $msg. You should only need it if
43924 + you modified \`${configure_ac}'. You might want to install the
43925 + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
43926 + archive site."
43927 + touch configure
43928 + ;;
43929 +
43930 + autoheader)
43931 + echo 1>&2 "\
43932 +WARNING: \`$1' is $msg. You should only need it if
43933 + you modified \`acconfig.h' or \`${configure_ac}'. You might want
43934 + to install the \`Autoconf' and \`GNU m4' packages. Grab them
43935 + from any GNU archive site."
43936 + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
43937 + test -z "$files" && files="config.h"
43938 + touch_files=
43939 + for f in $files; do
43940 + case "$f" in
43941 + *:*) touch_files="$touch_files "`echo "$f" |
43942 + sed -e 's/^[^:]*://' -e 's/:.*//'`;;
43943 + *) touch_files="$touch_files $f.in";;
43944 + esac
43945 + done
43946 + touch $touch_files
43947 + ;;
43948 +
43949 + automake*)
43950 + echo 1>&2 "\
43951 +WARNING: \`$1' is $msg. You should only need it if
43952 + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
43953 + You might want to install the \`Automake' and \`Perl' packages.
43954 + Grab them from any GNU archive site."
43955 + find . -type f -name Makefile.am -print |
43956 + sed 's/\.am$/.in/' |
43957 + while read f; do touch "$f"; done
43958 + ;;
43959 +
43960 + autom4te)
43961 + echo 1>&2 "\
43962 +WARNING: \`$1' is needed, but is $msg.
43963 + You might have modified some files without having the
43964 + proper tools for further handling them.
43965 + You can get \`$1' as part of \`Autoconf' from any GNU
43966 + archive site."
43967 +
43968 + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
43969 + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
43970 + if test -f "$file"; then
43971 + touch $file
43972 + else
43973 + test -z "$file" || exec >$file
43974 + echo "#! /bin/sh"
43975 + echo "# Created by GNU Automake missing as a replacement of"
43976 + echo "# $ $@"
43977 + echo "exit 0"
43978 + chmod +x $file
43979 + exit 1
43980 + fi
43981 + ;;
43982 +
43983 + bison|yacc)
43984 + echo 1>&2 "\
43985 +WARNING: \`$1' $msg. You should only need it if
43986 + you modified a \`.y' file. You may need the \`Bison' package
43987 + in order for those modifications to take effect. You can get
43988 + \`Bison' from any GNU archive site."
43989 + rm -f y.tab.c y.tab.h
43990 + if [ $# -ne 1 ]; then
43991 + eval LASTARG="\${$#}"
43992 + case "$LASTARG" in
43993 + *.y)
43994 + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
43995 + if [ -f "$SRCFILE" ]; then
43996 + cp "$SRCFILE" y.tab.c
43997 + fi
43998 + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
43999 + if [ -f "$SRCFILE" ]; then
44000 + cp "$SRCFILE" y.tab.h
44001 + fi
44002 + ;;
44003 + esac
44004 + fi
44005 + if [ ! -f y.tab.h ]; then
44006 + echo >y.tab.h
44007 + fi
44008 + if [ ! -f y.tab.c ]; then
44009 + echo 'main() { return 0; }' >y.tab.c
44010 + fi
44011 + ;;
44012 +
44013 + lex|flex)
44014 + echo 1>&2 "\
44015 +WARNING: \`$1' is $msg. You should only need it if
44016 + you modified a \`.l' file. You may need the \`Flex' package
44017 + in order for those modifications to take effect. You can get
44018 + \`Flex' from any GNU archive site."
44019 + rm -f lex.yy.c
44020 + if [ $# -ne 1 ]; then
44021 + eval LASTARG="\${$#}"
44022 + case "$LASTARG" in
44023 + *.l)
44024 + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
44025 + if [ -f "$SRCFILE" ]; then
44026 + cp "$SRCFILE" lex.yy.c
44027 + fi
44028 + ;;
44029 + esac
44030 + fi
44031 + if [ ! -f lex.yy.c ]; then
44032 + echo 'main() { return 0; }' >lex.yy.c
44033 + fi
44034 + ;;
44035 +
44036 + help2man)
44037 + echo 1>&2 "\
44038 +WARNING: \`$1' is $msg. You should only need it if
44039 + you modified a dependency of a manual page. You may need the
44040 + \`Help2man' package in order for those modifications to take
44041 + effect. You can get \`Help2man' from any GNU archive site."
44042 +
44043 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
44044 + if test -z "$file"; then
44045 + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
44046 + fi
44047 + if [ -f "$file" ]; then
44048 + touch $file
44049 + else
44050 + test -z "$file" || exec >$file
44051 + echo ".ab help2man is required to generate this page"
44052 + exit 1
44053 + fi
44054 + ;;
44055 +
44056 + makeinfo)
44057 + echo 1>&2 "\
44058 +WARNING: \`$1' is $msg. You should only need it if
44059 + you modified a \`.texi' or \`.texinfo' file, or any other file
44060 + indirectly affecting the aspect of the manual. The spurious
44061 + call might also be the consequence of using a buggy \`make' (AIX,
44062 + DU, IRIX). You might want to install the \`Texinfo' package or
44063 + the \`GNU make' package. Grab either from any GNU archive site."
44064 + # The file to touch is that specified with -o ...
44065 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
44066 + if test -z "$file"; then
44067 + # ... or it is the one specified with @setfilename ...
44068 + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
44069 + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
44070 + # ... or it is derived from the source name (dir/f.texi becomes f.info)
44071 + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
44072 + fi
44073 + # If the file does not exist, the user really needs makeinfo;
44074 + # let's fail without touching anything.
44075 + test -f $file || exit 1
44076 + touch $file
44077 + ;;
44078 +
44079 + tar)
44080 + shift
44081 +
44082 + # We have already tried tar in the generic part.
44083 + # Look for gnutar/gtar before invocation to avoid ugly error
44084 + # messages.
44085 + if (gnutar --version > /dev/null 2>&1); then
44086 + gnutar "$@" && exit 0
44087 + fi
44088 + if (gtar --version > /dev/null 2>&1); then
44089 + gtar "$@" && exit 0
44090 + fi
44091 + firstarg="$1"
44092 + if shift; then
44093 + case "$firstarg" in
44094 + *o*)
44095 + firstarg=`echo "$firstarg" | sed s/o//`
44096 + tar "$firstarg" "$@" && exit 0
44097 + ;;
44098 + esac
44099 + case "$firstarg" in
44100 + *h*)
44101 + firstarg=`echo "$firstarg" | sed s/h//`
44102 + tar "$firstarg" "$@" && exit 0
44103 + ;;
44104 + esac
44105 + fi
44106 +
44107 + echo 1>&2 "\
44108 +WARNING: I can't seem to be able to run \`tar' with the given arguments.
44109 + You may want to install GNU tar or Free paxutils, or check the
44110 + command line arguments."
44111 + exit 1
44112 + ;;
44113 +
44114 + *)
44115 + echo 1>&2 "\
44116 +WARNING: \`$1' is needed, and is $msg.
44117 + You might have modified some files without having the
44118 + proper tools for further handling them. Check the \`README' file,
44119 + it often tells you about the needed prerequisites for installing
44120 + this package. You may also peek at any GNU archive site, in case
44121 + some other package would contain this missing \`$1' program."
44122 + exit 1
44123 + ;;
44124 +esac
44125 +
44126 +exit 0
44127 +
44128 +# Local variables:
44129 +# eval: (add-hook 'write-file-hooks 'time-stamp)
44130 +# time-stamp-start: "scriptversion="
44131 +# time-stamp-format: "%:y-%02m-%02d.%02H"
44132 +# time-stamp-end: "$"
44133 +# End:
44134 diff -urNad faad2-svn~/plugins/Makefile.in faad2-svn/plugins/Makefile.in
44135 --- faad2-svn~/plugins/Makefile.in 1970-01-01 01:00:00.000000000 +0100
44136 +++ faad2-svn/plugins/Makefile.in 2007-12-25 22:22:08.000000000 +0000
44137 @@ -0,0 +1,495 @@
44138 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
44139 +# @configure_input@
44140 +
44141 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
44142 +# 2003, 2004, 2005 Free Software Foundation, Inc.
44143 +# This Makefile.in is free software; the Free Software Foundation
44144 +# gives unlimited permission to copy and/or distribute it,
44145 +# with or without modifications, as long as this notice is preserved.
44146 +
44147 +# This program is distributed in the hope that it will be useful,
44148 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
44149 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
44150 +# PARTICULAR PURPOSE.
44151 +
44152 +@SET_MAKE@
44153 +srcdir = @srcdir@
44154 +top_srcdir = @top_srcdir@
44155 +VPATH = @srcdir@
44156 +pkgdatadir = $(datadir)/@PACKAGE@
44157 +pkglibdir = $(libdir)/@PACKAGE@
44158 +pkgincludedir = $(includedir)/@PACKAGE@
44159 +top_builddir = ..
44160 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
44161 +INSTALL = @INSTALL@
44162 +install_sh_DATA = $(install_sh) -c -m 644
44163 +install_sh_PROGRAM = $(install_sh) -c
44164 +install_sh_SCRIPT = $(install_sh) -c
44165 +INSTALL_HEADER = $(INSTALL_DATA)
44166 +transform = $(program_transform_name)
44167 +NORMAL_INSTALL = :
44168 +PRE_INSTALL = :
44169 +POST_INSTALL = :
44170 +NORMAL_UNINSTALL = :
44171 +PRE_UNINSTALL = :
44172 +POST_UNINSTALL = :
44173 +build_triplet = @build@
44174 +host_triplet = @host@
44175 +subdir = plugins
44176 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
44177 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44178 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
44179 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44180 + $(ACLOCAL_M4)
44181 +mkinstalldirs = $(install_sh) -d
44182 +CONFIG_HEADER = $(top_builddir)/config.h
44183 +CONFIG_CLEAN_FILES =
44184 +SOURCES =
44185 +DIST_SOURCES =
44186 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
44187 + html-recursive info-recursive install-data-recursive \
44188 + install-exec-recursive install-info-recursive \
44189 + install-recursive installcheck-recursive installdirs-recursive \
44190 + pdf-recursive ps-recursive uninstall-info-recursive \
44191 + uninstall-recursive
44192 +ETAGS = etags
44193 +CTAGS = ctags
44194 +DIST_SUBDIRS = xmms mpeg4ip
44195 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
44196 +ACLOCAL = @ACLOCAL@
44197 +AMDEP_FALSE = @AMDEP_FALSE@
44198 +AMDEP_TRUE = @AMDEP_TRUE@
44199 +AMTAR = @AMTAR@
44200 +AR = @AR@
44201 +AUTOCONF = @AUTOCONF@
44202 +AUTOHEADER = @AUTOHEADER@
44203 +AUTOMAKE = @AUTOMAKE@
44204 +AWK = @AWK@
44205 +CC = @CC@
44206 +CCDEPMODE = @CCDEPMODE@
44207 +CFLAGS = @CFLAGS@
44208 +CPP = @CPP@
44209 +CPPFLAGS = @CPPFLAGS@
44210 +CXX = @CXX@
44211 +CXXCPP = @CXXCPP@
44212 +CXXDEPMODE = @CXXDEPMODE@
44213 +CXXFLAGS = @CXXFLAGS@
44214 +CYGPATH_W = @CYGPATH_W@
44215 +DEFS = @DEFS@
44216 +DEPDIR = @DEPDIR@
44217 +ECHO = @ECHO@
44218 +ECHO_C = @ECHO_C@
44219 +ECHO_N = @ECHO_N@
44220 +ECHO_T = @ECHO_T@
44221 +EGREP = @EGREP@
44222 +EXEEXT = @EXEEXT@
44223 +F77 = @F77@
44224 +FFLAGS = @FFLAGS@
44225 +GREP = @GREP@
44226 +GTK_CONFIG = @GTK_CONFIG@
44227 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
44228 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
44229 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
44230 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
44231 +INSTALL_DATA = @INSTALL_DATA@
44232 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
44233 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
44234 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
44235 +LDFLAGS = @LDFLAGS@
44236 +LIBOBJS = @LIBOBJS@
44237 +LIBS = @LIBS@
44238 +LIBTOOL = @LIBTOOL@
44239 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
44240 +LN_S = @LN_S@
44241 +LTLIBOBJS = @LTLIBOBJS@
44242 +MAKEINFO = @MAKEINFO@
44243 +MP4FF_LIBS = @MP4FF_LIBS@
44244 +OBJEXT = @OBJEXT@
44245 +PACKAGE = @PACKAGE@
44246 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
44247 +PACKAGE_NAME = @PACKAGE_NAME@
44248 +PACKAGE_STRING = @PACKAGE_STRING@
44249 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
44250 +PACKAGE_VERSION = @PACKAGE_VERSION@
44251 +PATH_SEPARATOR = @PATH_SEPARATOR@
44252 +RANLIB = @RANLIB@
44253 +RPMBUILD = @RPMBUILD@
44254 +SED = @SED@
44255 +SET_MAKE = @SET_MAKE@
44256 +SHELL = @SHELL@
44257 +STRIP = @STRIP@
44258 +VERSION = @VERSION@
44259 +XMMS_CFLAGS = @XMMS_CFLAGS@
44260 +XMMS_CONFIG = @XMMS_CONFIG@
44261 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
44262 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
44263 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
44264 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
44265 +XMMS_LIBS = @XMMS_LIBS@
44266 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
44267 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
44268 +XMMS_VERSION = @XMMS_VERSION@
44269 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
44270 +ac_ct_CC = @ac_ct_CC@
44271 +ac_ct_CXX = @ac_ct_CXX@
44272 +ac_ct_F77 = @ac_ct_F77@
44273 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
44274 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
44275 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
44276 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
44277 +am__include = @am__include@
44278 +am__leading_dot = @am__leading_dot@
44279 +am__quote = @am__quote@
44280 +am__tar = @am__tar@
44281 +am__untar = @am__untar@
44282 +bindir = @bindir@
44283 +build = @build@
44284 +build_alias = @build_alias@
44285 +build_cpu = @build_cpu@
44286 +build_os = @build_os@
44287 +build_vendor = @build_vendor@
44288 +datadir = @datadir@
44289 +datarootdir = @datarootdir@
44290 +docdir = @docdir@
44291 +dvidir = @dvidir@
44292 +exec_prefix = @exec_prefix@
44293 +external_mp4v2 = @external_mp4v2@
44294 +host = @host@
44295 +host_alias = @host_alias@
44296 +host_cpu = @host_cpu@
44297 +host_os = @host_os@
44298 +host_vendor = @host_vendor@
44299 +htmldir = @htmldir@
44300 +includedir = @includedir@
44301 +infodir = @infodir@
44302 +install_sh = @install_sh@
44303 +libdir = @libdir@
44304 +libexecdir = @libexecdir@
44305 +localedir = @localedir@
44306 +localstatedir = @localstatedir@
44307 +mandir = @mandir@
44308 +mkdir_p = @mkdir_p@
44309 +oldincludedir = @oldincludedir@
44310 +pdfdir = @pdfdir@
44311 +prefix = @prefix@
44312 +program_transform_name = @program_transform_name@
44313 +psdir = @psdir@
44314 +sbindir = @sbindir@
44315 +sharedstatedir = @sharedstatedir@
44316 +sysconfdir = @sysconfdir@
44317 +target_alias = @target_alias@
44318 +@HAVE_MPEG4IP_PLUG_FALSE@@HAVE_XMMS_FALSE@SUBDIRS =
44319 +@HAVE_MPEG4IP_PLUG_FALSE@@HAVE_XMMS_TRUE@SUBDIRS = xmms
44320 +@HAVE_MPEG4IP_PLUG_TRUE@@HAVE_XMMS_FALSE@SUBDIRS = mpeg4ip
44321 +@HAVE_MPEG4IP_PLUG_TRUE@@HAVE_XMMS_TRUE@SUBDIRS = xmms mpeg4ip
44322 +all: all-recursive
44323 +
44324 +.SUFFIXES:
44325 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
44326 + @for dep in $?; do \
44327 + case '$(am__configure_deps)' in \
44328 + *$$dep*) \
44329 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
44330 + && exit 0; \
44331 + exit 1;; \
44332 + esac; \
44333 + done; \
44334 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/Makefile'; \
44335 + cd $(top_srcdir) && \
44336 + $(AUTOMAKE) --gnu plugins/Makefile
44337 +.PRECIOUS: Makefile
44338 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
44339 + @case '$?' in \
44340 + *config.status*) \
44341 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
44342 + *) \
44343 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
44344 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
44345 + esac;
44346 +
44347 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
44348 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
44349 +
44350 +$(top_srcdir)/configure: $(am__configure_deps)
44351 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
44352 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
44353 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
44354 +
44355 +mostlyclean-libtool:
44356 + -rm -f *.lo
44357 +
44358 +clean-libtool:
44359 + -rm -rf .libs _libs
44360 +
44361 +distclean-libtool:
44362 + -rm -f libtool
44363 +uninstall-info-am:
44364 +
44365 +# This directory's subdirectories are mostly independent; you can cd
44366 +# into them and run `make' without going through this Makefile.
44367 +# To change the values of `make' variables: instead of editing Makefiles,
44368 +# (1) if the variable is set in `config.status', edit `config.status'
44369 +# (which will cause the Makefiles to be regenerated when you run `make');
44370 +# (2) otherwise, pass the desired values on the `make' command line.
44371 +$(RECURSIVE_TARGETS):
44372 + @failcom='exit 1'; \
44373 + for f in x $$MAKEFLAGS; do \
44374 + case $$f in \
44375 + *=* | --[!k]*);; \
44376 + *k*) failcom='fail=yes';; \
44377 + esac; \
44378 + done; \
44379 + dot_seen=no; \
44380 + target=`echo $@ | sed s/-recursive//`; \
44381 + list='$(SUBDIRS)'; for subdir in $$list; do \
44382 + echo "Making $$target in $$subdir"; \
44383 + if test "$$subdir" = "."; then \
44384 + dot_seen=yes; \
44385 + local_target="$$target-am"; \
44386 + else \
44387 + local_target="$$target"; \
44388 + fi; \
44389 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
44390 + || eval $$failcom; \
44391 + done; \
44392 + if test "$$dot_seen" = "no"; then \
44393 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
44394 + fi; test -z "$$fail"
44395 +
44396 +mostlyclean-recursive clean-recursive distclean-recursive \
44397 +maintainer-clean-recursive:
44398 + @failcom='exit 1'; \
44399 + for f in x $$MAKEFLAGS; do \
44400 + case $$f in \
44401 + *=* | --[!k]*);; \
44402 + *k*) failcom='fail=yes';; \
44403 + esac; \
44404 + done; \
44405 + dot_seen=no; \
44406 + case "$@" in \
44407 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
44408 + *) list='$(SUBDIRS)' ;; \
44409 + esac; \
44410 + rev=''; for subdir in $$list; do \
44411 + if test "$$subdir" = "."; then :; else \
44412 + rev="$$subdir $$rev"; \
44413 + fi; \
44414 + done; \
44415 + rev="$$rev ."; \
44416 + target=`echo $@ | sed s/-recursive//`; \
44417 + for subdir in $$rev; do \
44418 + echo "Making $$target in $$subdir"; \
44419 + if test "$$subdir" = "."; then \
44420 + local_target="$$target-am"; \
44421 + else \
44422 + local_target="$$target"; \
44423 + fi; \
44424 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
44425 + || eval $$failcom; \
44426 + done && test -z "$$fail"
44427 +tags-recursive:
44428 + list='$(SUBDIRS)'; for subdir in $$list; do \
44429 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
44430 + done
44431 +ctags-recursive:
44432 + list='$(SUBDIRS)'; for subdir in $$list; do \
44433 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
44434 + done
44435 +
44436 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
44437 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
44438 + unique=`for i in $$list; do \
44439 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
44440 + done | \
44441 + $(AWK) ' { files[$$0] = 1; } \
44442 + END { for (i in files) print i; }'`; \
44443 + mkid -fID $$unique
44444 +tags: TAGS
44445 +
44446 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
44447 + $(TAGS_FILES) $(LISP)
44448 + tags=; \
44449 + here=`pwd`; \
44450 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
44451 + include_option=--etags-include; \
44452 + empty_fix=.; \
44453 + else \
44454 + include_option=--include; \
44455 + empty_fix=; \
44456 + fi; \
44457 + list='$(SUBDIRS)'; for subdir in $$list; do \
44458 + if test "$$subdir" = .; then :; else \
44459 + test ! -f $$subdir/TAGS || \
44460 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
44461 + fi; \
44462 + done; \
44463 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
44464 + unique=`for i in $$list; do \
44465 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
44466 + done | \
44467 + $(AWK) ' { files[$$0] = 1; } \
44468 + END { for (i in files) print i; }'`; \
44469 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
44470 + test -n "$$unique" || unique=$$empty_fix; \
44471 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
44472 + $$tags $$unique; \
44473 + fi
44474 +ctags: CTAGS
44475 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
44476 + $(TAGS_FILES) $(LISP)
44477 + tags=; \
44478 + here=`pwd`; \
44479 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
44480 + unique=`for i in $$list; do \
44481 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
44482 + done | \
44483 + $(AWK) ' { files[$$0] = 1; } \
44484 + END { for (i in files) print i; }'`; \
44485 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
44486 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
44487 + $$tags $$unique
44488 +
44489 +GTAGS:
44490 + here=`$(am__cd) $(top_builddir) && pwd` \
44491 + && cd $(top_srcdir) \
44492 + && gtags -i $(GTAGS_ARGS) $$here
44493 +
44494 +distclean-tags:
44495 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
44496 +
44497 +distdir: $(DISTFILES)
44498 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
44499 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
44500 + list='$(DISTFILES)'; for file in $$list; do \
44501 + case $$file in \
44502 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
44503 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
44504 + esac; \
44505 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
44506 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
44507 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
44508 + dir="/$$dir"; \
44509 + $(mkdir_p) "$(distdir)$$dir"; \
44510 + else \
44511 + dir=''; \
44512 + fi; \
44513 + if test -d $$d/$$file; then \
44514 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
44515 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
44516 + fi; \
44517 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
44518 + else \
44519 + test -f $(distdir)/$$file \
44520 + || cp -p $$d/$$file $(distdir)/$$file \
44521 + || exit 1; \
44522 + fi; \
44523 + done
44524 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
44525 + if test "$$subdir" = .; then :; else \
44526 + test -d "$(distdir)/$$subdir" \
44527 + || $(mkdir_p) "$(distdir)/$$subdir" \
44528 + || exit 1; \
44529 + distdir=`$(am__cd) $(distdir) && pwd`; \
44530 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
44531 + (cd $$subdir && \
44532 + $(MAKE) $(AM_MAKEFLAGS) \
44533 + top_distdir="$$top_distdir" \
44534 + distdir="$$distdir/$$subdir" \
44535 + distdir) \
44536 + || exit 1; \
44537 + fi; \
44538 + done
44539 +check-am: all-am
44540 +check: check-recursive
44541 +all-am: Makefile
44542 +installdirs: installdirs-recursive
44543 +installdirs-am:
44544 +install: install-recursive
44545 +install-exec: install-exec-recursive
44546 +install-data: install-data-recursive
44547 +uninstall: uninstall-recursive
44548 +
44549 +install-am: all-am
44550 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
44551 +
44552 +installcheck: installcheck-recursive
44553 +install-strip:
44554 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
44555 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
44556 + `test -z '$(STRIP)' || \
44557 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
44558 +mostlyclean-generic:
44559 +
44560 +clean-generic:
44561 +
44562 +distclean-generic:
44563 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
44564 +
44565 +maintainer-clean-generic:
44566 + @echo "This command is intended for maintainers to use"
44567 + @echo "it deletes files that may require special tools to rebuild."
44568 +clean: clean-recursive
44569 +
44570 +clean-am: clean-generic clean-libtool mostlyclean-am
44571 +
44572 +distclean: distclean-recursive
44573 + -rm -f Makefile
44574 +distclean-am: clean-am distclean-generic distclean-libtool \
44575 + distclean-tags
44576 +
44577 +dvi: dvi-recursive
44578 +
44579 +dvi-am:
44580 +
44581 +html: html-recursive
44582 +
44583 +info: info-recursive
44584 +
44585 +info-am:
44586 +
44587 +install-data-am:
44588 +
44589 +install-exec-am:
44590 +
44591 +install-info: install-info-recursive
44592 +
44593 +install-man:
44594 +
44595 +installcheck-am:
44596 +
44597 +maintainer-clean: maintainer-clean-recursive
44598 + -rm -f Makefile
44599 +maintainer-clean-am: distclean-am maintainer-clean-generic
44600 +
44601 +mostlyclean: mostlyclean-recursive
44602 +
44603 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
44604 +
44605 +pdf: pdf-recursive
44606 +
44607 +pdf-am:
44608 +
44609 +ps: ps-recursive
44610 +
44611 +ps-am:
44612 +
44613 +uninstall-am: uninstall-info-am
44614 +
44615 +uninstall-info: uninstall-info-recursive
44616 +
44617 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
44618 + clean clean-generic clean-libtool clean-recursive ctags \
44619 + ctags-recursive distclean distclean-generic distclean-libtool \
44620 + distclean-recursive distclean-tags distdir dvi dvi-am html \
44621 + html-am info info-am install install-am install-data \
44622 + install-data-am install-exec install-exec-am install-info \
44623 + install-info-am install-man install-strip installcheck \
44624 + installcheck-am installdirs installdirs-am maintainer-clean \
44625 + maintainer-clean-generic maintainer-clean-recursive \
44626 + mostlyclean mostlyclean-generic mostlyclean-libtool \
44627 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
44628 + uninstall uninstall-am uninstall-info-am
44629 +
44630 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
44631 +# Otherwise a system limit (for SysV at least) may be exceeded.
44632 +.NOEXPORT:
44633 diff -urNad faad2-svn~/plugins/mpeg4ip/Makefile.in faad2-svn/plugins/mpeg4ip/Makefile.in
44634 --- faad2-svn~/plugins/mpeg4ip/Makefile.in 1970-01-01 01:00:00.000000000 +0100
44635 +++ faad2-svn/plugins/mpeg4ip/Makefile.in 2007-12-25 22:22:08.000000000 +0000
44636 @@ -0,0 +1,496 @@
44637 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
44638 +# @configure_input@
44639 +
44640 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
44641 +# 2003, 2004, 2005 Free Software Foundation, Inc.
44642 +# This Makefile.in is free software; the Free Software Foundation
44643 +# gives unlimited permission to copy and/or distribute it,
44644 +# with or without modifications, as long as this notice is preserved.
44645 +
44646 +# This program is distributed in the hope that it will be useful,
44647 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
44648 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
44649 +# PARTICULAR PURPOSE.
44650 +
44651 +@SET_MAKE@
44652 +
44653 +srcdir = @srcdir@
44654 +top_srcdir = @top_srcdir@
44655 +VPATH = @srcdir@
44656 +pkgdatadir = $(datadir)/@PACKAGE@
44657 +pkglibdir = $(libdir)/@PACKAGE@
44658 +pkgincludedir = $(includedir)/@PACKAGE@
44659 +top_builddir = ../..
44660 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
44661 +INSTALL = @INSTALL@
44662 +install_sh_DATA = $(install_sh) -c -m 644
44663 +install_sh_PROGRAM = $(install_sh) -c
44664 +install_sh_SCRIPT = $(install_sh) -c
44665 +INSTALL_HEADER = $(INSTALL_DATA)
44666 +transform = $(program_transform_name)
44667 +NORMAL_INSTALL = :
44668 +PRE_INSTALL = :
44669 +POST_INSTALL = :
44670 +NORMAL_UNINSTALL = :
44671 +PRE_UNINSTALL = :
44672 +POST_UNINSTALL = :
44673 +build_triplet = @build@
44674 +host_triplet = @host@
44675 +subdir = plugins/mpeg4ip
44676 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
44677 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44678 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
44679 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44680 + $(ACLOCAL_M4)
44681 +mkinstalldirs = $(install_sh) -d
44682 +CONFIG_HEADER = $(top_builddir)/config.h
44683 +CONFIG_CLEAN_FILES =
44684 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
44685 +am__vpath_adj = case $$p in \
44686 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
44687 + *) f=$$p;; \
44688 + esac;
44689 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
44690 +am__installdirs = "$(DESTDIR)$(libdir)"
44691 +libLTLIBRARIES_INSTALL = $(INSTALL)
44692 +LTLIBRARIES = $(lib_LTLIBRARIES)
44693 +faad2_plugin_la_DEPENDENCIES = $(top_builddir)/libfaad/libfaad.la
44694 +am_faad2_plugin_la_OBJECTS = faad2.lo aa_file.lo
44695 +faad2_plugin_la_OBJECTS = $(am_faad2_plugin_la_OBJECTS)
44696 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
44697 +depcomp = $(SHELL) $(top_srcdir)/depcomp
44698 +am__depfiles_maybe = depfiles
44699 +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
44700 + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
44701 +LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
44702 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
44703 + $(AM_CXXFLAGS) $(CXXFLAGS)
44704 +CXXLD = $(CXX)
44705 +CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
44706 + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
44707 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
44708 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
44709 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
44710 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
44711 + $(AM_CFLAGS) $(CFLAGS)
44712 +CCLD = $(CC)
44713 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
44714 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
44715 +SOURCES = $(faad2_plugin_la_SOURCES)
44716 +DIST_SOURCES = $(faad2_plugin_la_SOURCES)
44717 +ETAGS = etags
44718 +CTAGS = ctags
44719 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
44720 +ACLOCAL = @ACLOCAL@
44721 +AMDEP_FALSE = @AMDEP_FALSE@
44722 +AMDEP_TRUE = @AMDEP_TRUE@
44723 +AMTAR = @AMTAR@
44724 +AR = @AR@
44725 +AUTOCONF = @AUTOCONF@
44726 +AUTOHEADER = @AUTOHEADER@
44727 +AUTOMAKE = @AUTOMAKE@
44728 +AWK = @AWK@
44729 +CC = @CC@
44730 +CCDEPMODE = @CCDEPMODE@
44731 +CFLAGS = @CFLAGS@
44732 +CPP = @CPP@
44733 +CPPFLAGS = @CPPFLAGS@
44734 +CXX = @CXX@
44735 +CXXCPP = @CXXCPP@
44736 +CXXDEPMODE = @CXXDEPMODE@
44737 +CXXFLAGS = @CXXFLAGS@
44738 +CYGPATH_W = @CYGPATH_W@
44739 +DEFS = @DEFS@
44740 +DEPDIR = @DEPDIR@
44741 +ECHO = @ECHO@
44742 +ECHO_C = @ECHO_C@
44743 +ECHO_N = @ECHO_N@
44744 +ECHO_T = @ECHO_T@
44745 +EGREP = @EGREP@
44746 +EXEEXT = @EXEEXT@
44747 +F77 = @F77@
44748 +FFLAGS = @FFLAGS@
44749 +GREP = @GREP@
44750 +GTK_CONFIG = @GTK_CONFIG@
44751 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
44752 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
44753 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
44754 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
44755 +INSTALL_DATA = @INSTALL_DATA@
44756 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
44757 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
44758 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
44759 +LDFLAGS = @LDFLAGS@
44760 +LIBOBJS = @LIBOBJS@
44761 +LIBS = @LIBS@
44762 +LIBTOOL = @LIBTOOL@
44763 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
44764 +LN_S = @LN_S@
44765 +LTLIBOBJS = @LTLIBOBJS@
44766 +MAKEINFO = @MAKEINFO@
44767 +MP4FF_LIBS = @MP4FF_LIBS@
44768 +OBJEXT = @OBJEXT@
44769 +PACKAGE = @PACKAGE@
44770 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
44771 +PACKAGE_NAME = @PACKAGE_NAME@
44772 +PACKAGE_STRING = @PACKAGE_STRING@
44773 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
44774 +PACKAGE_VERSION = @PACKAGE_VERSION@
44775 +PATH_SEPARATOR = @PATH_SEPARATOR@
44776 +RANLIB = @RANLIB@
44777 +RPMBUILD = @RPMBUILD@
44778 +SED = @SED@
44779 +SET_MAKE = @SET_MAKE@
44780 +SHELL = @SHELL@
44781 +STRIP = @STRIP@
44782 +VERSION = @VERSION@
44783 +XMMS_CFLAGS = @XMMS_CFLAGS@
44784 +XMMS_CONFIG = @XMMS_CONFIG@
44785 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
44786 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
44787 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
44788 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
44789 +XMMS_LIBS = @XMMS_LIBS@
44790 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
44791 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
44792 +XMMS_VERSION = @XMMS_VERSION@
44793 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
44794 +ac_ct_CC = @ac_ct_CC@
44795 +ac_ct_CXX = @ac_ct_CXX@
44796 +ac_ct_F77 = @ac_ct_F77@
44797 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
44798 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
44799 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
44800 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
44801 +am__include = @am__include@
44802 +am__leading_dot = @am__leading_dot@
44803 +am__quote = @am__quote@
44804 +am__tar = @am__tar@
44805 +am__untar = @am__untar@
44806 +bindir = @bindir@
44807 +build = @build@
44808 +build_alias = @build_alias@
44809 +build_cpu = @build_cpu@
44810 +build_os = @build_os@
44811 +build_vendor = @build_vendor@
44812 +datadir = @datadir@
44813 +datarootdir = @datarootdir@
44814 +docdir = @docdir@
44815 +dvidir = @dvidir@
44816 +exec_prefix = @exec_prefix@
44817 +external_mp4v2 = @external_mp4v2@
44818 +host = @host@
44819 +host_alias = @host_alias@
44820 +host_cpu = @host_cpu@
44821 +host_os = @host_os@
44822 +host_vendor = @host_vendor@
44823 +htmldir = @htmldir@
44824 +includedir = @includedir@
44825 +infodir = @infodir@
44826 +install_sh = @install_sh@
44827 +libdir = @MPEG4IP_PLAYER_PLUGIN_DIR@
44828 +libexecdir = @libexecdir@
44829 +localedir = @localedir@
44830 +localstatedir = @localstatedir@
44831 +mandir = @mandir@
44832 +mkdir_p = @mkdir_p@
44833 +oldincludedir = @oldincludedir@
44834 +pdfdir = @pdfdir@
44835 +prefix = @prefix@
44836 +program_transform_name = @program_transform_name@
44837 +psdir = @psdir@
44838 +sbindir = @sbindir@
44839 +sharedstatedir = @sharedstatedir@
44840 +sysconfdir = @sysconfdir@
44841 +target_alias = @target_alias@
44842 +lib_LTLIBRARIES = faad2_plugin.la
44843 +faad2_plugin_la_LDFLAGS = -module
44844 +faad2_plugin_la_SOURCES = \
44845 + faad2.cpp \
44846 + faad2.h \
44847 + aa_file.cpp \
44848 + aa_file.h
44849 +
44850 +faad2_plugin_la_LIBADD = \
44851 + $(top_builddir)/libfaad/libfaad.la \
44852 + -lm
44853 +
44854 +INCLUDES = -I$(top_srcdir)/include
44855 +AM_CFLAGS = -D_REENTRANT -fexceptions
44856 +AM_CXXFLAGS = -D_REENTRANT -DNOCONTROLS -fexceptions
44857 +all: all-am
44858 +
44859 +.SUFFIXES:
44860 +.SUFFIXES: .cpp .lo .o .obj
44861 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
44862 + @for dep in $?; do \
44863 + case '$(am__configure_deps)' in \
44864 + *$$dep*) \
44865 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
44866 + && exit 0; \
44867 + exit 1;; \
44868 + esac; \
44869 + done; \
44870 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/mpeg4ip/Makefile'; \
44871 + cd $(top_srcdir) && \
44872 + $(AUTOMAKE) --gnu plugins/mpeg4ip/Makefile
44873 +.PRECIOUS: Makefile
44874 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
44875 + @case '$?' in \
44876 + *config.status*) \
44877 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
44878 + *) \
44879 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
44880 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
44881 + esac;
44882 +
44883 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
44884 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
44885 +
44886 +$(top_srcdir)/configure: $(am__configure_deps)
44887 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
44888 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
44889 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
44890 +install-libLTLIBRARIES: $(lib_LTLIBRARIES)
44891 + @$(NORMAL_INSTALL)
44892 + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
44893 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
44894 + if test -f $$p; then \
44895 + f=$(am__strip_dir) \
44896 + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
44897 + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
44898 + else :; fi; \
44899 + done
44900 +
44901 +uninstall-libLTLIBRARIES:
44902 + @$(NORMAL_UNINSTALL)
44903 + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
44904 + p=$(am__strip_dir) \
44905 + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
44906 + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
44907 + done
44908 +
44909 +clean-libLTLIBRARIES:
44910 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
44911 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
44912 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
44913 + test "$$dir" != "$$p" || dir=.; \
44914 + echo "rm -f \"$${dir}/so_locations\""; \
44915 + rm -f "$${dir}/so_locations"; \
44916 + done
44917 +faad2_plugin.la: $(faad2_plugin_la_OBJECTS) $(faad2_plugin_la_DEPENDENCIES)
44918 + $(CXXLINK) -rpath $(libdir) $(faad2_plugin_la_LDFLAGS) $(faad2_plugin_la_OBJECTS) $(faad2_plugin_la_LIBADD) $(LIBS)
44919 +
44920 +mostlyclean-compile:
44921 + -rm -f *.$(OBJEXT)
44922 +
44923 +distclean-compile:
44924 + -rm -f *.tab.c
44925 +
44926 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aa_file.Plo@am__quote@
44927 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faad2.Plo@am__quote@
44928 +
44929 +.cpp.o:
44930 +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
44931 +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
44932 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
44933 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
44934 +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
44935 +
44936 +.cpp.obj:
44937 +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
44938 +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
44939 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
44940 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
44941 +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
44942 +
44943 +.cpp.lo:
44944 +@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
44945 +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
44946 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
44947 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
44948 +@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
44949 +
44950 +mostlyclean-libtool:
44951 + -rm -f *.lo
44952 +
44953 +clean-libtool:
44954 + -rm -rf .libs _libs
44955 +
44956 +distclean-libtool:
44957 + -rm -f libtool
44958 +uninstall-info-am:
44959 +
44960 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
44961 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
44962 + unique=`for i in $$list; do \
44963 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
44964 + done | \
44965 + $(AWK) ' { files[$$0] = 1; } \
44966 + END { for (i in files) print i; }'`; \
44967 + mkid -fID $$unique
44968 +tags: TAGS
44969 +
44970 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
44971 + $(TAGS_FILES) $(LISP)
44972 + tags=; \
44973 + here=`pwd`; \
44974 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
44975 + unique=`for i in $$list; do \
44976 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
44977 + done | \
44978 + $(AWK) ' { files[$$0] = 1; } \
44979 + END { for (i in files) print i; }'`; \
44980 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
44981 + test -n "$$unique" || unique=$$empty_fix; \
44982 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
44983 + $$tags $$unique; \
44984 + fi
44985 +ctags: CTAGS
44986 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
44987 + $(TAGS_FILES) $(LISP)
44988 + tags=; \
44989 + here=`pwd`; \
44990 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
44991 + unique=`for i in $$list; do \
44992 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
44993 + done | \
44994 + $(AWK) ' { files[$$0] = 1; } \
44995 + END { for (i in files) print i; }'`; \
44996 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
44997 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
44998 + $$tags $$unique
44999 +
45000 +GTAGS:
45001 + here=`$(am__cd) $(top_builddir) && pwd` \
45002 + && cd $(top_srcdir) \
45003 + && gtags -i $(GTAGS_ARGS) $$here
45004 +
45005 +distclean-tags:
45006 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
45007 +
45008 +distdir: $(DISTFILES)
45009 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
45010 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
45011 + list='$(DISTFILES)'; for file in $$list; do \
45012 + case $$file in \
45013 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
45014 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
45015 + esac; \
45016 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
45017 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
45018 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
45019 + dir="/$$dir"; \
45020 + $(mkdir_p) "$(distdir)$$dir"; \
45021 + else \
45022 + dir=''; \
45023 + fi; \
45024 + if test -d $$d/$$file; then \
45025 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
45026 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
45027 + fi; \
45028 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
45029 + else \
45030 + test -f $(distdir)/$$file \
45031 + || cp -p $$d/$$file $(distdir)/$$file \
45032 + || exit 1; \
45033 + fi; \
45034 + done
45035 +check-am: all-am
45036 +check: check-am
45037 +all-am: Makefile $(LTLIBRARIES)
45038 +installdirs:
45039 + for dir in "$(DESTDIR)$(libdir)"; do \
45040 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
45041 + done
45042 +install: install-am
45043 +install-exec: install-exec-am
45044 +install-data: install-data-am
45045 +uninstall: uninstall-am
45046 +
45047 +install-am: all-am
45048 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
45049 +
45050 +installcheck: installcheck-am
45051 +install-strip:
45052 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
45053 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
45054 + `test -z '$(STRIP)' || \
45055 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
45056 +mostlyclean-generic:
45057 +
45058 +clean-generic:
45059 +
45060 +distclean-generic:
45061 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
45062 +
45063 +maintainer-clean-generic:
45064 + @echo "This command is intended for maintainers to use"
45065 + @echo "it deletes files that may require special tools to rebuild."
45066 +clean: clean-am
45067 +
45068 +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
45069 + mostlyclean-am
45070 +
45071 +distclean: distclean-am
45072 + -rm -rf ./$(DEPDIR)
45073 + -rm -f Makefile
45074 +distclean-am: clean-am distclean-compile distclean-generic \
45075 + distclean-libtool distclean-tags
45076 +
45077 +dvi: dvi-am
45078 +
45079 +dvi-am:
45080 +
45081 +html: html-am
45082 +
45083 +info: info-am
45084 +
45085 +info-am:
45086 +
45087 +install-data-am:
45088 +
45089 +install-exec-am: install-libLTLIBRARIES
45090 +
45091 +install-info: install-info-am
45092 +
45093 +install-man:
45094 +
45095 +installcheck-am:
45096 +
45097 +maintainer-clean: maintainer-clean-am
45098 + -rm -rf ./$(DEPDIR)
45099 + -rm -f Makefile
45100 +maintainer-clean-am: distclean-am maintainer-clean-generic
45101 +
45102 +mostlyclean: mostlyclean-am
45103 +
45104 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
45105 + mostlyclean-libtool
45106 +
45107 +pdf: pdf-am
45108 +
45109 +pdf-am:
45110 +
45111 +ps: ps-am
45112 +
45113 +ps-am:
45114 +
45115 +uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
45116 +
45117 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
45118 + clean-libLTLIBRARIES clean-libtool ctags distclean \
45119 + distclean-compile distclean-generic distclean-libtool \
45120 + distclean-tags distdir dvi dvi-am html html-am info info-am \
45121 + install install-am install-data install-data-am install-exec \
45122 + install-exec-am install-info install-info-am \
45123 + install-libLTLIBRARIES install-man install-strip installcheck \
45124 + installcheck-am installdirs maintainer-clean \
45125 + maintainer-clean-generic mostlyclean mostlyclean-compile \
45126 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
45127 + tags uninstall uninstall-am uninstall-info-am \
45128 + uninstall-libLTLIBRARIES
45129 +
45130 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
45131 +# Otherwise a system limit (for SysV at least) may be exceeded.
45132 +.NOEXPORT:
45133 diff -urNad faad2-svn~/plugins/xmms/Makefile.in faad2-svn/plugins/xmms/Makefile.in
45134 --- faad2-svn~/plugins/xmms/Makefile.in 1970-01-01 01:00:00.000000000 +0100
45135 +++ faad2-svn/plugins/xmms/Makefile.in 2007-12-25 22:22:08.000000000 +0000
45136 @@ -0,0 +1,493 @@
45137 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
45138 +# @configure_input@
45139 +
45140 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
45141 +# 2003, 2004, 2005 Free Software Foundation, Inc.
45142 +# This Makefile.in is free software; the Free Software Foundation
45143 +# gives unlimited permission to copy and/or distribute it,
45144 +# with or without modifications, as long as this notice is preserved.
45145 +
45146 +# This program is distributed in the hope that it will be useful,
45147 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
45148 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
45149 +# PARTICULAR PURPOSE.
45150 +
45151 +@SET_MAKE@
45152 +srcdir = @srcdir@
45153 +top_srcdir = @top_srcdir@
45154 +VPATH = @srcdir@
45155 +pkgdatadir = $(datadir)/@PACKAGE@
45156 +pkglibdir = $(libdir)/@PACKAGE@
45157 +pkgincludedir = $(includedir)/@PACKAGE@
45158 +top_builddir = ../..
45159 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
45160 +INSTALL = @INSTALL@
45161 +install_sh_DATA = $(install_sh) -c -m 644
45162 +install_sh_PROGRAM = $(install_sh) -c
45163 +install_sh_SCRIPT = $(install_sh) -c
45164 +INSTALL_HEADER = $(INSTALL_DATA)
45165 +transform = $(program_transform_name)
45166 +NORMAL_INSTALL = :
45167 +PRE_INSTALL = :
45168 +POST_INSTALL = :
45169 +NORMAL_UNINSTALL = :
45170 +PRE_UNINSTALL = :
45171 +POST_UNINSTALL = :
45172 +build_triplet = @build@
45173 +host_triplet = @host@
45174 +subdir = plugins/xmms
45175 +DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
45176 + AUTHORS ChangeLog INSTALL NEWS TODO
45177 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45178 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
45179 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45180 + $(ACLOCAL_M4)
45181 +mkinstalldirs = $(install_sh) -d
45182 +CONFIG_HEADER = $(top_builddir)/config.h
45183 +CONFIG_CLEAN_FILES =
45184 +SOURCES =
45185 +DIST_SOURCES =
45186 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
45187 + html-recursive info-recursive install-data-recursive \
45188 + install-exec-recursive install-info-recursive \
45189 + install-recursive installcheck-recursive installdirs-recursive \
45190 + pdf-recursive ps-recursive uninstall-info-recursive \
45191 + uninstall-recursive
45192 +ETAGS = etags
45193 +CTAGS = ctags
45194 +DIST_SUBDIRS = $(SUBDIRS)
45195 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
45196 +ACLOCAL = @ACLOCAL@
45197 +AMDEP_FALSE = @AMDEP_FALSE@
45198 +AMDEP_TRUE = @AMDEP_TRUE@
45199 +AMTAR = @AMTAR@
45200 +AR = @AR@
45201 +AUTOCONF = @AUTOCONF@
45202 +AUTOHEADER = @AUTOHEADER@
45203 +AUTOMAKE = @AUTOMAKE@
45204 +AWK = @AWK@
45205 +CC = @CC@
45206 +CCDEPMODE = @CCDEPMODE@
45207 +CFLAGS = @CFLAGS@
45208 +CPP = @CPP@
45209 +CPPFLAGS = @CPPFLAGS@
45210 +CXX = @CXX@
45211 +CXXCPP = @CXXCPP@
45212 +CXXDEPMODE = @CXXDEPMODE@
45213 +CXXFLAGS = @CXXFLAGS@
45214 +CYGPATH_W = @CYGPATH_W@
45215 +DEFS = @DEFS@
45216 +DEPDIR = @DEPDIR@
45217 +ECHO = @ECHO@
45218 +ECHO_C = @ECHO_C@
45219 +ECHO_N = @ECHO_N@
45220 +ECHO_T = @ECHO_T@
45221 +EGREP = @EGREP@
45222 +EXEEXT = @EXEEXT@
45223 +F77 = @F77@
45224 +FFLAGS = @FFLAGS@
45225 +GREP = @GREP@
45226 +GTK_CONFIG = @GTK_CONFIG@
45227 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
45228 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
45229 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
45230 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
45231 +INSTALL_DATA = @INSTALL_DATA@
45232 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
45233 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
45234 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
45235 +LDFLAGS = @LDFLAGS@
45236 +LIBOBJS = @LIBOBJS@
45237 +LIBS = @LIBS@
45238 +LIBTOOL = @LIBTOOL@
45239 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
45240 +LN_S = @LN_S@
45241 +LTLIBOBJS = @LTLIBOBJS@
45242 +MAKEINFO = @MAKEINFO@
45243 +MP4FF_LIBS = @MP4FF_LIBS@
45244 +OBJEXT = @OBJEXT@
45245 +PACKAGE = @PACKAGE@
45246 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
45247 +PACKAGE_NAME = @PACKAGE_NAME@
45248 +PACKAGE_STRING = @PACKAGE_STRING@
45249 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
45250 +PACKAGE_VERSION = @PACKAGE_VERSION@
45251 +PATH_SEPARATOR = @PATH_SEPARATOR@
45252 +RANLIB = @RANLIB@
45253 +RPMBUILD = @RPMBUILD@
45254 +SED = @SED@
45255 +SET_MAKE = @SET_MAKE@
45256 +SHELL = @SHELL@
45257 +STRIP = @STRIP@
45258 +VERSION = @VERSION@
45259 +XMMS_CFLAGS = @XMMS_CFLAGS@
45260 +XMMS_CONFIG = @XMMS_CONFIG@
45261 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
45262 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
45263 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
45264 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
45265 +XMMS_LIBS = @XMMS_LIBS@
45266 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
45267 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
45268 +XMMS_VERSION = @XMMS_VERSION@
45269 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
45270 +ac_ct_CC = @ac_ct_CC@
45271 +ac_ct_CXX = @ac_ct_CXX@
45272 +ac_ct_F77 = @ac_ct_F77@
45273 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
45274 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
45275 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
45276 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
45277 +am__include = @am__include@
45278 +am__leading_dot = @am__leading_dot@
45279 +am__quote = @am__quote@
45280 +am__tar = @am__tar@
45281 +am__untar = @am__untar@
45282 +bindir = @bindir@
45283 +build = @build@
45284 +build_alias = @build_alias@
45285 +build_cpu = @build_cpu@
45286 +build_os = @build_os@
45287 +build_vendor = @build_vendor@
45288 +datadir = @datadir@
45289 +datarootdir = @datarootdir@
45290 +docdir = @docdir@
45291 +dvidir = @dvidir@
45292 +exec_prefix = @exec_prefix@
45293 +external_mp4v2 = @external_mp4v2@
45294 +host = @host@
45295 +host_alias = @host_alias@
45296 +host_cpu = @host_cpu@
45297 +host_os = @host_os@
45298 +host_vendor = @host_vendor@
45299 +htmldir = @htmldir@
45300 +includedir = @includedir@
45301 +infodir = @infodir@
45302 +install_sh = @install_sh@
45303 +libdir = @libdir@
45304 +libexecdir = @libexecdir@
45305 +localedir = @localedir@
45306 +localstatedir = @localstatedir@
45307 +mandir = @mandir@
45308 +mkdir_p = @mkdir_p@
45309 +oldincludedir = @oldincludedir@
45310 +pdfdir = @pdfdir@
45311 +prefix = @prefix@
45312 +program_transform_name = @program_transform_name@
45313 +psdir = @psdir@
45314 +sbindir = @sbindir@
45315 +sharedstatedir = @sharedstatedir@
45316 +sysconfdir = @sysconfdir@
45317 +target_alias = @target_alias@
45318 +SUBDIRS = src
45319 +all: all-recursive
45320 +
45321 +.SUFFIXES:
45322 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
45323 + @for dep in $?; do \
45324 + case '$(am__configure_deps)' in \
45325 + *$$dep*) \
45326 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
45327 + && exit 0; \
45328 + exit 1;; \
45329 + esac; \
45330 + done; \
45331 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/xmms/Makefile'; \
45332 + cd $(top_srcdir) && \
45333 + $(AUTOMAKE) --gnu plugins/xmms/Makefile
45334 +.PRECIOUS: Makefile
45335 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
45336 + @case '$?' in \
45337 + *config.status*) \
45338 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
45339 + *) \
45340 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
45341 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
45342 + esac;
45343 +
45344 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
45345 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
45346 +
45347 +$(top_srcdir)/configure: $(am__configure_deps)
45348 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
45349 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
45350 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
45351 +
45352 +mostlyclean-libtool:
45353 + -rm -f *.lo
45354 +
45355 +clean-libtool:
45356 + -rm -rf .libs _libs
45357 +
45358 +distclean-libtool:
45359 + -rm -f libtool
45360 +uninstall-info-am:
45361 +
45362 +# This directory's subdirectories are mostly independent; you can cd
45363 +# into them and run `make' without going through this Makefile.
45364 +# To change the values of `make' variables: instead of editing Makefiles,
45365 +# (1) if the variable is set in `config.status', edit `config.status'
45366 +# (which will cause the Makefiles to be regenerated when you run `make');
45367 +# (2) otherwise, pass the desired values on the `make' command line.
45368 +$(RECURSIVE_TARGETS):
45369 + @failcom='exit 1'; \
45370 + for f in x $$MAKEFLAGS; do \
45371 + case $$f in \
45372 + *=* | --[!k]*);; \
45373 + *k*) failcom='fail=yes';; \
45374 + esac; \
45375 + done; \
45376 + dot_seen=no; \
45377 + target=`echo $@ | sed s/-recursive//`; \
45378 + list='$(SUBDIRS)'; for subdir in $$list; do \
45379 + echo "Making $$target in $$subdir"; \
45380 + if test "$$subdir" = "."; then \
45381 + dot_seen=yes; \
45382 + local_target="$$target-am"; \
45383 + else \
45384 + local_target="$$target"; \
45385 + fi; \
45386 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
45387 + || eval $$failcom; \
45388 + done; \
45389 + if test "$$dot_seen" = "no"; then \
45390 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
45391 + fi; test -z "$$fail"
45392 +
45393 +mostlyclean-recursive clean-recursive distclean-recursive \
45394 +maintainer-clean-recursive:
45395 + @failcom='exit 1'; \
45396 + for f in x $$MAKEFLAGS; do \
45397 + case $$f in \
45398 + *=* | --[!k]*);; \
45399 + *k*) failcom='fail=yes';; \
45400 + esac; \
45401 + done; \
45402 + dot_seen=no; \
45403 + case "$@" in \
45404 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
45405 + *) list='$(SUBDIRS)' ;; \
45406 + esac; \
45407 + rev=''; for subdir in $$list; do \
45408 + if test "$$subdir" = "."; then :; else \
45409 + rev="$$subdir $$rev"; \
45410 + fi; \
45411 + done; \
45412 + rev="$$rev ."; \
45413 + target=`echo $@ | sed s/-recursive//`; \
45414 + for subdir in $$rev; do \
45415 + echo "Making $$target in $$subdir"; \
45416 + if test "$$subdir" = "."; then \
45417 + local_target="$$target-am"; \
45418 + else \
45419 + local_target="$$target"; \
45420 + fi; \
45421 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
45422 + || eval $$failcom; \
45423 + done && test -z "$$fail"
45424 +tags-recursive:
45425 + list='$(SUBDIRS)'; for subdir in $$list; do \
45426 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
45427 + done
45428 +ctags-recursive:
45429 + list='$(SUBDIRS)'; for subdir in $$list; do \
45430 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
45431 + done
45432 +
45433 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
45434 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
45435 + unique=`for i in $$list; do \
45436 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
45437 + done | \
45438 + $(AWK) ' { files[$$0] = 1; } \
45439 + END { for (i in files) print i; }'`; \
45440 + mkid -fID $$unique
45441 +tags: TAGS
45442 +
45443 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
45444 + $(TAGS_FILES) $(LISP)
45445 + tags=; \
45446 + here=`pwd`; \
45447 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
45448 + include_option=--etags-include; \
45449 + empty_fix=.; \
45450 + else \
45451 + include_option=--include; \
45452 + empty_fix=; \
45453 + fi; \
45454 + list='$(SUBDIRS)'; for subdir in $$list; do \
45455 + if test "$$subdir" = .; then :; else \
45456 + test ! -f $$subdir/TAGS || \
45457 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
45458 + fi; \
45459 + done; \
45460 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
45461 + unique=`for i in $$list; do \
45462 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
45463 + done | \
45464 + $(AWK) ' { files[$$0] = 1; } \
45465 + END { for (i in files) print i; }'`; \
45466 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
45467 + test -n "$$unique" || unique=$$empty_fix; \
45468 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
45469 + $$tags $$unique; \
45470 + fi
45471 +ctags: CTAGS
45472 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
45473 + $(TAGS_FILES) $(LISP)
45474 + tags=; \
45475 + here=`pwd`; \
45476 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
45477 + unique=`for i in $$list; do \
45478 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
45479 + done | \
45480 + $(AWK) ' { files[$$0] = 1; } \
45481 + END { for (i in files) print i; }'`; \
45482 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
45483 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
45484 + $$tags $$unique
45485 +
45486 +GTAGS:
45487 + here=`$(am__cd) $(top_builddir) && pwd` \
45488 + && cd $(top_srcdir) \
45489 + && gtags -i $(GTAGS_ARGS) $$here
45490 +
45491 +distclean-tags:
45492 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
45493 +
45494 +distdir: $(DISTFILES)
45495 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
45496 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
45497 + list='$(DISTFILES)'; for file in $$list; do \
45498 + case $$file in \
45499 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
45500 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
45501 + esac; \
45502 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
45503 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
45504 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
45505 + dir="/$$dir"; \
45506 + $(mkdir_p) "$(distdir)$$dir"; \
45507 + else \
45508 + dir=''; \
45509 + fi; \
45510 + if test -d $$d/$$file; then \
45511 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
45512 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
45513 + fi; \
45514 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
45515 + else \
45516 + test -f $(distdir)/$$file \
45517 + || cp -p $$d/$$file $(distdir)/$$file \
45518 + || exit 1; \
45519 + fi; \
45520 + done
45521 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
45522 + if test "$$subdir" = .; then :; else \
45523 + test -d "$(distdir)/$$subdir" \
45524 + || $(mkdir_p) "$(distdir)/$$subdir" \
45525 + || exit 1; \
45526 + distdir=`$(am__cd) $(distdir) && pwd`; \
45527 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
45528 + (cd $$subdir && \
45529 + $(MAKE) $(AM_MAKEFLAGS) \
45530 + top_distdir="$$top_distdir" \
45531 + distdir="$$distdir/$$subdir" \
45532 + distdir) \
45533 + || exit 1; \
45534 + fi; \
45535 + done
45536 +check-am: all-am
45537 +check: check-recursive
45538 +all-am: Makefile
45539 +installdirs: installdirs-recursive
45540 +installdirs-am:
45541 +install: install-recursive
45542 +install-exec: install-exec-recursive
45543 +install-data: install-data-recursive
45544 +uninstall: uninstall-recursive
45545 +
45546 +install-am: all-am
45547 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
45548 +
45549 +installcheck: installcheck-recursive
45550 +install-strip:
45551 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
45552 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
45553 + `test -z '$(STRIP)' || \
45554 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
45555 +mostlyclean-generic:
45556 +
45557 +clean-generic:
45558 +
45559 +distclean-generic:
45560 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
45561 +
45562 +maintainer-clean-generic:
45563 + @echo "This command is intended for maintainers to use"
45564 + @echo "it deletes files that may require special tools to rebuild."
45565 +clean: clean-recursive
45566 +
45567 +clean-am: clean-generic clean-libtool mostlyclean-am
45568 +
45569 +distclean: distclean-recursive
45570 + -rm -f Makefile
45571 +distclean-am: clean-am distclean-generic distclean-libtool \
45572 + distclean-tags
45573 +
45574 +dvi: dvi-recursive
45575 +
45576 +dvi-am:
45577 +
45578 +html: html-recursive
45579 +
45580 +info: info-recursive
45581 +
45582 +info-am:
45583 +
45584 +install-data-am:
45585 +
45586 +install-exec-am:
45587 +
45588 +install-info: install-info-recursive
45589 +
45590 +install-man:
45591 +
45592 +installcheck-am:
45593 +
45594 +maintainer-clean: maintainer-clean-recursive
45595 + -rm -f Makefile
45596 +maintainer-clean-am: distclean-am maintainer-clean-generic
45597 +
45598 +mostlyclean: mostlyclean-recursive
45599 +
45600 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
45601 +
45602 +pdf: pdf-recursive
45603 +
45604 +pdf-am:
45605 +
45606 +ps: ps-recursive
45607 +
45608 +ps-am:
45609 +
45610 +uninstall-am: uninstall-info-am
45611 +
45612 +uninstall-info: uninstall-info-recursive
45613 +
45614 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
45615 + clean clean-generic clean-libtool clean-recursive ctags \
45616 + ctags-recursive distclean distclean-generic distclean-libtool \
45617 + distclean-recursive distclean-tags distdir dvi dvi-am html \
45618 + html-am info info-am install install-am install-data \
45619 + install-data-am install-exec install-exec-am install-info \
45620 + install-info-am install-man install-strip installcheck \
45621 + installcheck-am installdirs installdirs-am maintainer-clean \
45622 + maintainer-clean-generic maintainer-clean-recursive \
45623 + mostlyclean mostlyclean-generic mostlyclean-libtool \
45624 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
45625 + uninstall uninstall-am uninstall-info-am
45626 +
45627 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
45628 +# Otherwise a system limit (for SysV at least) may be exceeded.
45629 +.NOEXPORT:
45630 diff -urNad faad2-svn~/plugins/xmms/src/Makefile.in faad2-svn/plugins/xmms/src/Makefile.in
45631 --- faad2-svn~/plugins/xmms/src/Makefile.in 1970-01-01 01:00:00.000000000 +0100
45632 +++ faad2-svn/plugins/xmms/src/Makefile.in 2007-12-25 22:22:08.000000000 +0000
45633 @@ -0,0 +1,508 @@
45634 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
45635 +# @configure_input@
45636 +
45637 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
45638 +# 2003, 2004, 2005 Free Software Foundation, Inc.
45639 +# This Makefile.in is free software; the Free Software Foundation
45640 +# gives unlimited permission to copy and/or distribute it,
45641 +# with or without modifications, as long as this notice is preserved.
45642 +
45643 +# This program is distributed in the hope that it will be useful,
45644 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
45645 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
45646 +# PARTICULAR PURPOSE.
45647 +
45648 +@SET_MAKE@
45649 +
45650 +srcdir = @srcdir@
45651 +top_srcdir = @top_srcdir@
45652 +VPATH = @srcdir@
45653 +pkgdatadir = $(datadir)/@PACKAGE@
45654 +pkglibdir = $(libdir)/@PACKAGE@
45655 +pkgincludedir = $(includedir)/@PACKAGE@
45656 +top_builddir = ../../..
45657 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
45658 +INSTALL = @INSTALL@
45659 +install_sh_DATA = $(install_sh) -c -m 644
45660 +install_sh_PROGRAM = $(install_sh) -c
45661 +install_sh_SCRIPT = $(install_sh) -c
45662 +INSTALL_HEADER = $(INSTALL_DATA)
45663 +transform = $(program_transform_name)
45664 +NORMAL_INSTALL = :
45665 +PRE_INSTALL = :
45666 +POST_INSTALL = :
45667 +NORMAL_UNINSTALL = :
45668 +PRE_UNINSTALL = :
45669 +POST_UNINSTALL = :
45670 +build_triplet = @build@
45671 +host_triplet = @host@
45672 +subdir = plugins/xmms/src
45673 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
45674 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45675 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
45676 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45677 + $(ACLOCAL_M4)
45678 +mkinstalldirs = $(install_sh) -d
45679 +CONFIG_HEADER = $(top_builddir)/config.h
45680 +CONFIG_CLEAN_FILES =
45681 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
45682 +am__vpath_adj = case $$p in \
45683 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
45684 + *) f=$$p;; \
45685 + esac;
45686 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
45687 +am__installdirs = "$(DESTDIR)$(libdir)"
45688 +libLTLIBRARIES_INSTALL = $(INSTALL)
45689 +LTLIBRARIES = $(lib_LTLIBRARIES)
45690 +libmp4_la_DEPENDENCIES = $(top_builddir)/libfaad/libfaad.la \
45691 + $(top_builddir)/common/mp4ff/libmp4ff.a
45692 +am_libmp4_la_OBJECTS = libmp4_la-libmp4.lo libmp4_la-mp4_utils.lo \
45693 + libmp4_la-aac_utils.lo
45694 +libmp4_la_OBJECTS = $(am_libmp4_la_OBJECTS)
45695 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
45696 +depcomp = $(SHELL) $(top_srcdir)/depcomp
45697 +am__depfiles_maybe = depfiles
45698 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
45699 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
45700 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
45701 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
45702 + $(AM_CFLAGS) $(CFLAGS)
45703 +CCLD = $(CC)
45704 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
45705 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
45706 +SOURCES = $(libmp4_la_SOURCES)
45707 +DIST_SOURCES = $(libmp4_la_SOURCES)
45708 +ETAGS = etags
45709 +CTAGS = ctags
45710 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
45711 +ACLOCAL = @ACLOCAL@
45712 +AMDEP_FALSE = @AMDEP_FALSE@
45713 +AMDEP_TRUE = @AMDEP_TRUE@
45714 +AMTAR = @AMTAR@
45715 +AR = @AR@
45716 +AUTOCONF = @AUTOCONF@
45717 +AUTOHEADER = @AUTOHEADER@
45718 +AUTOMAKE = @AUTOMAKE@
45719 +AWK = @AWK@
45720 +CC = @CC@
45721 +CCDEPMODE = @CCDEPMODE@
45722 +CFLAGS = @CFLAGS@
45723 +CPP = @CPP@
45724 +CPPFLAGS = @CPPFLAGS@
45725 +CXX = @CXX@
45726 +CXXCPP = @CXXCPP@
45727 +CXXDEPMODE = @CXXDEPMODE@
45728 +CXXFLAGS = @CXXFLAGS@
45729 +CYGPATH_W = @CYGPATH_W@
45730 +DEFS = @DEFS@
45731 +DEPDIR = @DEPDIR@
45732 +ECHO = @ECHO@
45733 +ECHO_C = @ECHO_C@
45734 +ECHO_N = @ECHO_N@
45735 +ECHO_T = @ECHO_T@
45736 +EGREP = @EGREP@
45737 +EXEEXT = @EXEEXT@
45738 +F77 = @F77@
45739 +FFLAGS = @FFLAGS@
45740 +GREP = @GREP@
45741 +GTK_CONFIG = @GTK_CONFIG@
45742 +HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
45743 +HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
45744 +HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
45745 +HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
45746 +INSTALL_DATA = @INSTALL_DATA@
45747 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
45748 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
45749 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
45750 +LDFLAGS = @LDFLAGS@
45751 +LIBOBJS = @LIBOBJS@
45752 +LIBS = @LIBS@
45753 +LIBTOOL = @LIBTOOL@
45754 +LIBTOOL_DEPS = @LIBTOOL_DEPS@
45755 +LN_S = @LN_S@
45756 +LTLIBOBJS = @LTLIBOBJS@
45757 +MAKEINFO = @MAKEINFO@
45758 +MP4FF_LIBS = @MP4FF_LIBS@
45759 +OBJEXT = @OBJEXT@
45760 +PACKAGE = @PACKAGE@
45761 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
45762 +PACKAGE_NAME = @PACKAGE_NAME@
45763 +PACKAGE_STRING = @PACKAGE_STRING@
45764 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
45765 +PACKAGE_VERSION = @PACKAGE_VERSION@
45766 +PATH_SEPARATOR = @PATH_SEPARATOR@
45767 +RANLIB = @RANLIB@
45768 +RPMBUILD = @RPMBUILD@
45769 +SED = @SED@
45770 +SET_MAKE = @SET_MAKE@
45771 +SHELL = @SHELL@
45772 +STRIP = @STRIP@
45773 +VERSION = @VERSION@
45774 +XMMS_CFLAGS = @XMMS_CFLAGS@
45775 +XMMS_CONFIG = @XMMS_CONFIG@
45776 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
45777 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
45778 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
45779 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
45780 +XMMS_LIBS = @XMMS_LIBS@
45781 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
45782 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
45783 +XMMS_VERSION = @XMMS_VERSION@
45784 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
45785 +ac_ct_CC = @ac_ct_CC@
45786 +ac_ct_CXX = @ac_ct_CXX@
45787 +ac_ct_F77 = @ac_ct_F77@
45788 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
45789 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
45790 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
45791 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
45792 +am__include = @am__include@
45793 +am__leading_dot = @am__leading_dot@
45794 +am__quote = @am__quote@
45795 +am__tar = @am__tar@
45796 +am__untar = @am__untar@
45797 +bindir = @bindir@
45798 +build = @build@
45799 +build_alias = @build_alias@
45800 +build_cpu = @build_cpu@
45801 +build_os = @build_os@
45802 +build_vendor = @build_vendor@
45803 +datadir = @datadir@
45804 +datarootdir = @datarootdir@
45805 +docdir = @docdir@
45806 +dvidir = @dvidir@
45807 +exec_prefix = @exec_prefix@
45808 +external_mp4v2 = @external_mp4v2@
45809 +host = @host@
45810 +host_alias = @host_alias@
45811 +host_cpu = @host_cpu@
45812 +host_os = @host_os@
45813 +host_vendor = @host_vendor@
45814 +htmldir = @htmldir@
45815 +includedir = @includedir@
45816 +infodir = @infodir@
45817 +install_sh = @install_sh@
45818 +libdir = $(XMMS_INPUT_PLUGIN_DIR)
45819 +libexecdir = @libexecdir@
45820 +localedir = @localedir@
45821 +localstatedir = @localstatedir@
45822 +mandir = @mandir@
45823 +mkdir_p = @mkdir_p@
45824 +oldincludedir = @oldincludedir@
45825 +pdfdir = @pdfdir@
45826 +prefix = @prefix@
45827 +program_transform_name = @program_transform_name@
45828 +psdir = @psdir@
45829 +sbindir = @sbindir@
45830 +sharedstatedir = @sharedstatedir@
45831 +sysconfdir = @sysconfdir@
45832 +target_alias = @target_alias@
45833 +local_CFLAGS = $(XMMS_CFLAGS) -Wall
45834 +local_LDFLAGS = $(XMMS_LIBS)
45835 +lib_LTLIBRARIES = libmp4.la
45836 +libmp4_la_CFLAGS = $(local_CFLAGS) -Wall \
45837 + -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4ff
45838 +
45839 +libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \
45840 + $(top_builddir)/common/mp4ff/libmp4ff.a
45841 +
45842 +libmp4_la_LDFLAGS = -module -avoid-version $(local_LDFLAGS) -lpthread
45843 +libmp4_la_SOURCES = libmp4.c mp4_utils.c aac_utils.c
45844 +all: all-am
45845 +
45846 +.SUFFIXES:
45847 +.SUFFIXES: .c .lo .o .obj
45848 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
45849 + @for dep in $?; do \
45850 + case '$(am__configure_deps)' in \
45851 + *$$dep*) \
45852 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
45853 + && exit 0; \
45854 + exit 1;; \
45855 + esac; \
45856 + done; \
45857 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/xmms/src/Makefile'; \
45858 + cd $(top_srcdir) && \
45859 + $(AUTOMAKE) --gnu plugins/xmms/src/Makefile
45860 +.PRECIOUS: Makefile
45861 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
45862 + @case '$?' in \
45863 + *config.status*) \
45864 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
45865 + *) \
45866 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
45867 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
45868 + esac;
45869 +
45870 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
45871 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
45872 +
45873 +$(top_srcdir)/configure: $(am__configure_deps)
45874 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
45875 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
45876 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
45877 +install-libLTLIBRARIES: $(lib_LTLIBRARIES)
45878 + @$(NORMAL_INSTALL)
45879 + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
45880 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
45881 + if test -f $$p; then \
45882 + f=$(am__strip_dir) \
45883 + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
45884 + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
45885 + else :; fi; \
45886 + done
45887 +
45888 +uninstall-libLTLIBRARIES:
45889 + @$(NORMAL_UNINSTALL)
45890 + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
45891 + p=$(am__strip_dir) \
45892 + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
45893 + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
45894 + done
45895 +
45896 +clean-libLTLIBRARIES:
45897 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
45898 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
45899 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
45900 + test "$$dir" != "$$p" || dir=.; \
45901 + echo "rm -f \"$${dir}/so_locations\""; \
45902 + rm -f "$${dir}/so_locations"; \
45903 + done
45904 +libmp4.la: $(libmp4_la_OBJECTS) $(libmp4_la_DEPENDENCIES)
45905 + $(LINK) -rpath $(libdir) $(libmp4_la_LDFLAGS) $(libmp4_la_OBJECTS) $(libmp4_la_LIBADD) $(LIBS)
45906 +
45907 +mostlyclean-compile:
45908 + -rm -f *.$(OBJEXT)
45909 +
45910 +distclean-compile:
45911 + -rm -f *.tab.c
45912 +
45913 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4_la-aac_utils.Plo@am__quote@
45914 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4_la-libmp4.Plo@am__quote@
45915 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmp4_la-mp4_utils.Plo@am__quote@
45916 +
45917 +.c.o:
45918 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
45919 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
45920 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
45921 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
45922 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
45923 +
45924 +.c.obj:
45925 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
45926 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
45927 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
45928 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
45929 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
45930 +
45931 +.c.lo:
45932 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
45933 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
45934 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
45935 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
45936 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
45937 +
45938 +libmp4_la-libmp4.lo: libmp4.c
45939 +@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4_la_CFLAGS) $(CFLAGS) -MT libmp4_la-libmp4.lo -MD -MP -MF "$(DEPDIR)/libmp4_la-libmp4.Tpo" -c -o libmp4_la-libmp4.lo `test -f 'libmp4.c' || echo '$(srcdir)/'`libmp4.c; \
45940 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4_la-libmp4.Tpo" "$(DEPDIR)/libmp4_la-libmp4.Plo"; else rm -f "$(DEPDIR)/libmp4_la-libmp4.Tpo"; exit 1; fi
45941 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libmp4.c' object='libmp4_la-libmp4.lo' libtool=yes @AMDEPBACKSLASH@
45942 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
45943 +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4_la_CFLAGS) $(CFLAGS) -c -o libmp4_la-libmp4.lo `test -f 'libmp4.c' || echo '$(srcdir)/'`libmp4.c
45944 +
45945 +libmp4_la-mp4_utils.lo: mp4_utils.c
45946 +@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4_la_CFLAGS) $(CFLAGS) -MT libmp4_la-mp4_utils.lo -MD -MP -MF "$(DEPDIR)/libmp4_la-mp4_utils.Tpo" -c -o libmp4_la-mp4_utils.lo `test -f 'mp4_utils.c' || echo '$(srcdir)/'`mp4_utils.c; \
45947 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4_la-mp4_utils.Tpo" "$(DEPDIR)/libmp4_la-mp4_utils.Plo"; else rm -f "$(DEPDIR)/libmp4_la-mp4_utils.Tpo"; exit 1; fi
45948 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp4_utils.c' object='libmp4_la-mp4_utils.lo' libtool=yes @AMDEPBACKSLASH@
45949 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
45950 +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4_la_CFLAGS) $(CFLAGS) -c -o libmp4_la-mp4_utils.lo `test -f 'mp4_utils.c' || echo '$(srcdir)/'`mp4_utils.c
45951 +
45952 +libmp4_la-aac_utils.lo: aac_utils.c
45953 +@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4_la_CFLAGS) $(CFLAGS) -MT libmp4_la-aac_utils.lo -MD -MP -MF "$(DEPDIR)/libmp4_la-aac_utils.Tpo" -c -o libmp4_la-aac_utils.lo `test -f 'aac_utils.c' || echo '$(srcdir)/'`aac_utils.c; \
45954 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libmp4_la-aac_utils.Tpo" "$(DEPDIR)/libmp4_la-aac_utils.Plo"; else rm -f "$(DEPDIR)/libmp4_la-aac_utils.Tpo"; exit 1; fi
45955 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='aac_utils.c' object='libmp4_la-aac_utils.lo' libtool=yes @AMDEPBACKSLASH@
45956 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
45957 +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmp4_la_CFLAGS) $(CFLAGS) -c -o libmp4_la-aac_utils.lo `test -f 'aac_utils.c' || echo '$(srcdir)/'`aac_utils.c
45958 +
45959 +mostlyclean-libtool:
45960 + -rm -f *.lo
45961 +
45962 +clean-libtool:
45963 + -rm -rf .libs _libs
45964 +
45965 +distclean-libtool:
45966 + -rm -f libtool
45967 +uninstall-info-am:
45968 +
45969 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
45970 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
45971 + unique=`for i in $$list; do \
45972 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
45973 + done | \
45974 + $(AWK) ' { files[$$0] = 1; } \
45975 + END { for (i in files) print i; }'`; \
45976 + mkid -fID $$unique
45977 +tags: TAGS
45978 +
45979 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
45980 + $(TAGS_FILES) $(LISP)
45981 + tags=; \
45982 + here=`pwd`; \
45983 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
45984 + unique=`for i in $$list; do \
45985 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
45986 + done | \
45987 + $(AWK) ' { files[$$0] = 1; } \
45988 + END { for (i in files) print i; }'`; \
45989 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
45990 + test -n "$$unique" || unique=$$empty_fix; \
45991 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
45992 + $$tags $$unique; \
45993 + fi
45994 +ctags: CTAGS
45995 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
45996 + $(TAGS_FILES) $(LISP)
45997 + tags=; \
45998 + here=`pwd`; \
45999 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
46000 + unique=`for i in $$list; do \
46001 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
46002 + done | \
46003 + $(AWK) ' { files[$$0] = 1; } \
46004 + END { for (i in files) print i; }'`; \
46005 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
46006 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
46007 + $$tags $$unique
46008 +
46009 +GTAGS:
46010 + here=`$(am__cd) $(top_builddir) && pwd` \
46011 + && cd $(top_srcdir) \
46012 + && gtags -i $(GTAGS_ARGS) $$here
46013 +
46014 +distclean-tags:
46015 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
46016 +
46017 +distdir: $(DISTFILES)
46018 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
46019 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
46020 + list='$(DISTFILES)'; for file in $$list; do \
46021 + case $$file in \
46022 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
46023 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
46024 + esac; \
46025 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
46026 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
46027 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
46028 + dir="/$$dir"; \
46029 + $(mkdir_p) "$(distdir)$$dir"; \
46030 + else \
46031 + dir=''; \
46032 + fi; \
46033 + if test -d $$d/$$file; then \
46034 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
46035 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
46036 + fi; \
46037 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
46038 + else \
46039 + test -f $(distdir)/$$file \
46040 + || cp -p $$d/$$file $(distdir)/$$file \
46041 + || exit 1; \
46042 + fi; \
46043 + done
46044 +check-am: all-am
46045 +check: check-am
46046 +all-am: Makefile $(LTLIBRARIES)
46047 +installdirs:
46048 + for dir in "$(DESTDIR)$(libdir)"; do \
46049 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
46050 + done
46051 +install: install-am
46052 +install-exec: install-exec-am
46053 +install-data: install-data-am
46054 +uninstall: uninstall-am
46055 +
46056 +install-am: all-am
46057 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
46058 +
46059 +installcheck: installcheck-am
46060 +install-strip:
46061 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
46062 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
46063 + `test -z '$(STRIP)' || \
46064 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
46065 +mostlyclean-generic:
46066 +
46067 +clean-generic:
46068 +
46069 +distclean-generic:
46070 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
46071 +
46072 +maintainer-clean-generic:
46073 + @echo "This command is intended for maintainers to use"
46074 + @echo "it deletes files that may require special tools to rebuild."
46075 +clean: clean-am
46076 +
46077 +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
46078 + mostlyclean-am
46079 +
46080 +distclean: distclean-am
46081 + -rm -rf ./$(DEPDIR)
46082 + -rm -f Makefile
46083 +distclean-am: clean-am distclean-compile distclean-generic \
46084 + distclean-libtool distclean-tags
46085 +
46086 +dvi: dvi-am
46087 +
46088 +dvi-am:
46089 +
46090 +html: html-am
46091 +
46092 +info: info-am
46093 +
46094 +info-am:
46095 +
46096 +install-data-am:
46097 +
46098 +install-exec-am: install-libLTLIBRARIES
46099 +
46100 +install-info: install-info-am
46101 +
46102 +install-man:
46103 +
46104 +installcheck-am:
46105 +
46106 +maintainer-clean: maintainer-clean-am
46107 + -rm -rf ./$(DEPDIR)
46108 + -rm -f Makefile
46109 +maintainer-clean-am: distclean-am maintainer-clean-generic
46110 +
46111 +mostlyclean: mostlyclean-am
46112 +
46113 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
46114 + mostlyclean-libtool
46115 +
46116 +pdf: pdf-am
46117 +
46118 +pdf-am:
46119 +
46120 +ps: ps-am
46121 +
46122 +ps-am:
46123 +
46124 +uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
46125 +
46126 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
46127 + clean-libLTLIBRARIES clean-libtool ctags distclean \
46128 + distclean-compile distclean-generic distclean-libtool \
46129 + distclean-tags distdir dvi dvi-am html html-am info info-am \
46130 + install install-am install-data install-data-am install-exec \
46131 + install-exec-am install-info install-info-am \
46132 + install-libLTLIBRARIES install-man install-strip installcheck \
46133 + installcheck-am installdirs maintainer-clean \
46134 + maintainer-clean-generic mostlyclean mostlyclean-compile \
46135 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
46136 + tags uninstall uninstall-am uninstall-info-am \
46137 + uninstall-libLTLIBRARIES
46138 +
46139 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
46140 +# Otherwise a system limit (for SysV at least) may be exceeded.
46141 +.NOEXPORT:
0 #!/usr/bin/make -f
1
2 #export DH_VERBOSE=1
3
4 include /usr/share/dpatch/dpatch.make
5
6 version := $(shell sed -n 's/Package: \(.*\)/\1/p' debian/control | head -n 1)
7
8 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
9 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
10
11 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
12 INSTALL_PROGRAM += -s
13 endif
14
15 CFLAGS = -Wall -g -fPIC
16
17 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
18 CFLAGS += -O0
19 else
20 CFLAGS += -O2
21 endif
22
23 configure: configure-stamp
24 configure-stamp: patch-stamp
25 dh_testdir
26
27 ln -sf /usr/share/misc/config.sub .
28 ln -sf /usr/share/misc/config.guess .
29 rm -f config.cache
30
31 chmod a+x configure
32
33 ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
34 --prefix=/usr CFLAGS="$(CFLAGS)" --with-mp4v2 --disable-mpeg4ip
35 # Should only be used when building a Digital Radio Mondiale specific decoder
36 # --with-drm
37
38 touch configure-stamp
39
40 build: build-stamp
41 build-stamp: configure-stamp
42 dh_testdir
43
44 $(MAKE)
45
46 touch build-stamp
47
48 clean:
49 dh_testdir
50 dh_testroot
51 rm -f build-stamp configure-stamp
52
53 [ ! -f Makefile ] || $(MAKE) uninstall DESTDIR=$(CURDIR)/debian/${version}
54 [ ! -f Makefile ] || $(MAKE) distclean
55
56 debian/rules unpatch
57
58 -rm config.{sub,guess}
59
60 dh_clean plugins/mpeg4ip/faad2.loT
61
62 install: build
63 dh_testdir
64 dh_testroot
65 dh_clean -k
66 dh_installdirs
67
68 $(MAKE) install DESTDIR=$(CURDIR)/debian/${version}
69
70 dh_movefiles --sourcedir=debian/${version}
71
72 # Prune empty directories
73 find debian -iwholename '*/.svn*' -prune -o -type d | xargs rmdir -p --ignore-fail-on-non-empty
74
75 # Build architecture-independent files here.
76 binary-indep:
77 dh_testdir
78 dh_testroot
79 dh_installdocs -i
80 dh_installchangelogs -i ChangeLog
81 dh_compress -i
82 dh_fixperms -i
83 dh_installdeb -i
84 dh_gencontrol -i
85 dh_md5sums -i
86 dh_builddeb -i
87
88 # Build architecture-dependent files here.
89 binary-arch: build install
90 dh_testdir
91 dh_testroot
92 dh_installdocs -a NEWS README TODO
93 dh_installexamples -a
94 dh_installmenu -a
95 dh_installman -a
96 dh_installinfo -a
97 dh_installchangelogs -a ChangeLog
98 dh_link -a
99 dh_strip -a
100 dh_compress -a
101 dh_fixperms -a
102 dh_makeshlibs -a -p${version} -V
103 dh_installdeb -a
104 dh_shlibdeps -a -ldebian/${version}/usr/lib
105 dh_gencontrol -a
106 dh_md5sums -a
107 dh_builddeb -a
108
109 binary: binary-indep binary-arch
110 .PHONY: build clean binary-indep binary-arch binary install configure patch unpatch
0 version=3
1
2 http://sf.net/faac/faad2-(.*)\.tar\.gz