Package list faad2 / b5c4c7e
Imported Upstream version 2.7 Andres Mejia 12 years ago
282 changed file(s) with 50674 addition(s) and 12173 deletion(s). Raw diff Collapse all Expand all
(No changes)
(No changes)
0 21 january 2005 gpascutto(at)nero.com
1 - hcr.c, drm_dec.c: updates for DRM PS standard, error resilience changes
2 - reverted above error resilience changes
3
4 8 december 2004 mbakker(at)nero.com
5 - ps_dec.c, ps_syntax.c: PS fixes (OPD huffman table and modulo decoding)
6
7 6 december 2004 gpascutto(at)nero.com
8 - drm_dec.c, drm_dec.h, sbr_dec.c: DRM PS Standards update
9
10 5 december 2004 gpascutto(at)nero.com
11 - syntax.c, hcr.c, decoder.c, sbr_syntax.c, specrec.c:
12 Improved (DRM) error resilience
13
14 18 october 2004 mbakker(at)nero.com
15 - sbr_dec.c, sbr_hfadj.c, common.h: fixed Low Power SBR decoding
16
17 18 october 2004 mbakker(at)nero.com
18 - main.c: added "quiet" option to frontend
19
20 5 october 2004 mbakker(at)nero.com
21 - decoder.c: skip ID3 tags in library
22
23 24 september 2004 mbakker(at)nero.com
24 - syntax.c,h, lt_predict.c, mp4.c, decoder.c:
25 Added stereo DRM support, removed fake scalable support
26
27 21 september 2004 mbakker(at)nero.com
28 - specrec.c, bits.h, common.h, error.h, sbr_hfadj.h, structs.h,
29 decoder.c, error.c, hcr.c, sbr_dec.c, sbr_hfadj.c, sbr_syntax.c, syntax.c:
30 Improved error detection and handling.
31
32 16 september 2004 mbakker(at)nero.com
33 - specrec.c, bits.h, common.h, error.h, sbr_hfadj.h, structs.h,
34 decoder.c, error.c, hcr.c, sbr_dec.c, sbr_hfadj.c, sbr_syntax.c, syntax.c:
35 Improved error detection and handling.
36
37 8 september 2004 mbakker(at)nero.com
38 - specrec.c: fixed compilation without PS
39
40 4 september 2004 mbakker(at)nero.com
41 - sbr_fbt.c, sbr_hfgen.c: fixed possible lockup with bad data.
42
43 4 september 2004 mbakker(at)nero.com
44 - cfft.c,h, common.c,h, filtbank.c,h, mdct.h, sbr_qmf.h, structs.h, decoder.c, specrec.c:
45 Removed USE_SSE
46
47 4 september 2004 gpascutto(at)nero.com
48 - specrec.c: small optimizations to inverse quant
49
50 3 september 2004 mbakker(at)nero.com
51 - neaacdec.h, decoder.c, syntax.c, structs.h: added output flag for PS
52
53 3 september 2004 mbakker(at)nero.com
54 - common.c: added log2_fix()
55
56 28 august 2004 gpascutto(at)nero.com
57 - sbr_syntax.c: bugfix with PS_DEC and DRM_PS defines
58
59 21 august 2004 mbakker(at)nero.com
60 - cfft.c, cfft_tab.h: added size 128 fixed point FFT tables for HVXC
61
62 18 august 2004 mbakker(at)nero.com
63 - sbr_syntax.c: allow only 1 PS data element per SBR extension data
64
65 18 august 2004 gpascutto(at)nero.com
66 - specrec.c: safeguard against PS suddenly going on
67
68 4 august 2004 gpascutto(at)nero.com
69 - drm_dec.c: make sure we still copy to the right channel if there's no data
70
71 2 august 2004 gpascutto(at)nero.com
72 - hcr.c: bugfix
73
74 31 july 2004 gpascutto(at)nero.com
75 - hcr.c: Rewritten and optimized
76
77 29 july 2004 mbakker(at)nero.com
78 - /mp4ff/mp4ff.c,mp4atoms.c: support video decoding better
79
80 28 july 2004 gpascutto(at)nero.com
81 - drm_dec.*, sbr_dec.c, syntax.c: improved error concealment
82
83 27 july 2004 gpascutto(at)nero.com
84 - sbr_dec.c, sbr_syntax.c: duplicate code removal
85
86 25 july 2004 gpascutto(at)nero.com
87 - syntax.c: re-enable SBR CRC checking for DRM
88
89 22 july 2004 gpascutto(at)nero.com
90 - drm_dec.*: changed delay filter to 2 samples plus fractional delay, as in normal PS AAC
91 (DRM standard is wrong here)
92
93 2 july 2004 mbakker(at)nero.com
94 - huffman.c: Implemented VCB11 error concealment
95
96 22 june 2004 mbakker(at)nero.com
97 - ps_dec.c: Removed samplerate dependancy in PS, likely to be updated in corrigendum
98
99 15 june 2004 mbakker(at)nero.com
100 - sbr_dct.c,h: Removed huge ugly DCT_4_64...
101 - sbr_qmf.c: replaced DCT_IV in qmf synthesis
102
103 13 june 2004 mbakker(at)nero.com
104 - ps_dec.c: Fixed fixed point code, no more cos() and sin() used
105
106 7 june 2004 mbakker(at)nero.com
107 - sbr_*.c,h: Overall speedups and improvements in SBR code.
108
109 4 june 2004 gpascutto(at)nero.com
110 - drm_dec.c: Fixed a bug in the standard (PAN mixing)
111
112 3 june 2004 mbakker(at)nero.com
113 - ps_syntax.c: fixed a bug in one of the huffman tables
114
115 2 june 2004 gpascutto(at)nero.com
116 - drm_dec.c: Fully working fixed point support
117
118 27 may 2004 mbakker(at)nero.com
119 - sbr_qmf.c, sbr_dec.h: Fixed fixed point problems with downsampled QMF
120
121 17 may 2004 mbakker(at)nero.com
122 - syntax.c, decoder.c: Added some logging output
123
124 17 may 2004 mbakker(at)nero.com
125 - mp4atom.c: Fixed an issue with broken MP4 files
126
127 16 may 2004 mbakker(at)nero.com
128 - ps_dec.c: fixed point: forgot to convert a few multiplies
129
130 14 may 2004 mbakker(at)nero.com
131 - sbr_*.c: reduced memory usage
132
133 6 may 2004 mbakker(at)nero.com
134 - common.c: added some bit tricks and fixed point log2/pow2
135 - sbr_hfadj.c: log2/pow2 based gain calculation for SBR
136 - sbr_hfgen.c: use block exponent instead of stupid search to find max value
137
138 5 may 2004 mbakker(at)nero.com
139 - decoder.c, neaacdec.h, decoder.h: added extra decode function to which a
140 buffer can be provided. Instead of the library providing a buffer.
141
142 5 may 2004 mbakker(at)nero.com
143 - mdct.c: fixed fixed point MDCT with framesizes 960, 480, 120
144
145 2 may 2004 mbakker(at)nero.com
146 - mdct_tab.h, mdct.c: Added tables for MDCT, for increased accuracy in fixed point
147 - specrec.c: Moved quantisation, scaling and reordering to 1 function
148
149 20 april 2004 gpacutto(at)nero.com
150 - drm_dec.c, drm_dec.h: Don't do PS processing if no data was read this frame.
151 Fix for bitstread reading bug in specification.
152
153 15 april 2004 mbakker(at)nero.com
154 - sbr_hfadj.c: fixed buffer overflow
155 - multiple: fixed some eVC problems
156
157 12 april 2004 mbakker(at)nero.com
158 - common.h, ps_dec.c: Updates for PS fixed point, should completely work now
159
160 12 april 2004 gpascutto(at)nero.com
161 - drm_dec.c, drm_dec.h: eliminated sqrt and SA mapping/dequantization from DRM PS decoder
162
0 2009-02-02 - Version 2.7
1 * DAB+ support
2 * Use public headers internally to prevent duplicate declarations
3 * Explicitly typedef all types as signed
4 * Made sure MAIN prediction can't be started after the first frame
5 * Lot's of compilation issues solved
6 * Bugfix in SBR envelope border calculation
0 Installation Instructions
1 *************************
2
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
4 Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
8
9 Basic Installation
10 ==================
11
12 These are generic installation instructions.
13
14 The `configure' shell script attempts to guess correct values for
15 various system-dependent variables used during compilation. It uses
16 those values to create a `Makefile' in each directory of the package.
17 It may also create one or more `.h' files containing system-dependent
18 definitions. Finally, it creates a shell script `config.status' that
19 you can run in the future to recreate the current configuration, and a
20 file `config.log' containing compiler output (useful mainly for
21 debugging `configure').
22
23 It can also use an optional file (typically called `config.cache'
24 and enabled with `--cache-file=config.cache' or simply `-C') that saves
25 the results of its tests to speed up reconfiguring. (Caching is
26 disabled by default to prevent problems with accidental use of stale
27 cache files.)
28
29 If you need to do unusual things to compile the package, please try
30 to figure out how `configure' could check whether to do them, and mail
31 diffs or instructions to the address given in the `README' so they can
32 be considered for the next release. If you are using the cache, and at
33 some point `config.cache' contains results you don't want to keep, you
34 may remove or edit it.
35
36 The file `configure.ac' (or `configure.in') is used to create
37 `configure' by a program called `autoconf'. You only need
38 `configure.ac' if you want to change it or regenerate `configure' using
39 a newer version of `autoconf'.
40
41 The simplest way to compile this package is:
42
43 1. `cd' to the directory containing the package's source code and type
44 `./configure' to configure the package for your system. If you're
45 using `csh' on an old version of System V, you might need to type
46 `sh ./configure' instead to prevent `csh' from trying to execute
47 `configure' itself.
48
49 Running `configure' takes awhile. While running, it prints some
50 messages telling which features it is checking for.
51
52 2. Type `make' to compile the package.
53
54 3. Optionally, type `make check' to run any self-tests that come with
55 the package.
56
57 4. Type `make install' to install the programs and any data files and
58 documentation.
59
60 5. You can remove the program binaries and object files from the
61 source code directory by typing `make clean'. To also remove the
62 files that `configure' created (so you can compile the package for
63 a different kind of computer), type `make distclean'. There is
64 also a `make maintainer-clean' target, but that is intended mainly
65 for the package's developers. If you use it, you may have to get
66 all sorts of other programs in order to regenerate files that came
67 with the distribution.
68
69 Compilers and Options
70 =====================
71
72 Some systems require unusual options for compilation or linking that the
73 `configure' script does not know about. Run `./configure --help' for
74 details on some of the pertinent environment variables.
75
76 You can give `configure' initial values for configuration parameters
77 by setting variables in the command line or in the environment. Here
78 is an example:
79
80 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
81
82 *Note Defining Variables::, for more details.
83
84 Compiling For Multiple Architectures
85 ====================================
86
87 You can compile the package for more than one kind of computer at the
88 same time, by placing the object files for each architecture in their
89 own directory. To do this, you must use a version of `make' that
90 supports the `VPATH' variable, such as GNU `make'. `cd' to the
91 directory where you want the object files and executables to go and run
92 the `configure' script. `configure' automatically checks for the
93 source code in the directory that `configure' is in and in `..'.
94
95 If you have to use a `make' that does not support the `VPATH'
96 variable, you have to compile the package for one architecture at a
97 time in the source code directory. After you have installed the
98 package for one architecture, use `make distclean' before reconfiguring
99 for another architecture.
100
101 Installation Names
102 ==================
103
104 By default, `make install' installs the package's commands under
105 `/usr/local/bin', include files under `/usr/local/include', etc. You
106 can specify an installation prefix other than `/usr/local' by giving
107 `configure' the option `--prefix=PREFIX'.
108
109 You can specify separate installation prefixes for
110 architecture-specific files and architecture-independent files. If you
111 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
112 PREFIX as the prefix for installing programs and libraries.
113 Documentation and other data files still use the regular prefix.
114
115 In addition, if you use an unusual directory layout you can give
116 options like `--bindir=DIR' to specify different values for particular
117 kinds of files. Run `configure --help' for a list of the directories
118 you can set and what kinds of files go in them.
119
120 If the package supports it, you can cause programs to be installed
121 with an extra prefix or suffix on their names by giving `configure' the
122 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
123
124 Optional Features
125 =================
126
127 Some packages pay attention to `--enable-FEATURE' options to
128 `configure', where FEATURE indicates an optional part of the package.
129 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
130 is something like `gnu-as' or `x' (for the X Window System). The
131 `README' should mention any `--enable-' and `--with-' options that the
132 package recognizes.
133
134 For packages that use the X Window System, `configure' can usually
135 find the X include and library files automatically, but if it doesn't,
136 you can use the `configure' options `--x-includes=DIR' and
137 `--x-libraries=DIR' to specify their locations.
138
139 Specifying the System Type
140 ==========================
141
142 There may be some features `configure' cannot figure out automatically,
143 but needs to determine by the type of machine the package will run on.
144 Usually, assuming the package is built to be run on the _same_
145 architectures, `configure' can figure that out, but if it prints a
146 message saying it cannot guess the machine type, give it the
147 `--build=TYPE' option. TYPE can either be a short name for the system
148 type, such as `sun4', or a canonical name which has the form:
149
150 CPU-COMPANY-SYSTEM
151
152 where SYSTEM can have one of these forms:
153
154 OS KERNEL-OS
155
156 See the file `config.sub' for the possible values of each field. If
157 `config.sub' isn't included in this package, then this package doesn't
158 need to know the machine type.
159
160 If you are _building_ compiler tools for cross-compiling, you should
161 use the option `--target=TYPE' to select the type of system they will
162 produce code for.
163
164 If you want to _use_ a cross compiler, that generates code for a
165 platform different from the build platform, you should specify the
166 "host" platform (i.e., that on which the generated programs will
167 eventually be run) with `--host=TYPE'.
168
169 Sharing Defaults
170 ================
171
172 If you want to set default values for `configure' scripts to share, you
173 can create a site shell script called `config.site' that gives default
174 values for variables like `CC', `cache_file', and `prefix'.
175 `configure' looks for `PREFIX/share/config.site' if it exists, then
176 `PREFIX/etc/config.site' if it exists. Or, you can set the
177 `CONFIG_SITE' environment variable to the location of the site script.
178 A warning: not all `configure' scripts look for a site script.
179
180 Defining Variables
181 ==================
182
183 Variables not defined in a site shell script can be set in the
184 environment passed to `configure'. However, some packages may run
185 configure again during the build, and the customized values of these
186 variables may be lost. In order to avoid this problem, you should set
187 them in the `configure' command line, using `VAR=value'. For example:
188
189 ./configure CC=/usr/local2/bin/gcc
190
191 causes the specified `gcc' to be used as the C compiler (unless it is
192 overridden in the site shell script). Here is a another example:
193
194 /bin/bash ./configure CONFIG_SHELL=/bin/bash
195
196 Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
197 configuration-related scripts to be executed by `/bin/bash'.
198
199 `configure' Invocation
200 ======================
201
202 `configure' recognizes the following options to control how it operates.
203
204 `--help'
205 `-h'
206 Print a summary of the options to `configure', and exit.
207
208 `--version'
209 `-V'
210 Print the version of Autoconf used to generate the `configure'
211 script, and exit.
212
213 `--cache-file=FILE'
214 Enable the cache: use and save the results of the tests in FILE,
215 traditionally `config.cache'. FILE defaults to `/dev/null' to
216 disable caching.
217
218 `--config-cache'
219 `-C'
220 Alias for `--cache-file=config.cache'.
221
222 `--quiet'
223 `--silent'
224 `-q'
225 Do not print messages saying which checks are being made. To
226 suppress all normal output, redirect it to `/dev/null' (any error
227 messages will still be shown).
228
229 `--srcdir=DIR'
230 Look for the package's source code in directory DIR. Usually
231 `configure' can determine that directory automatically.
232
233 `configure' also accepts some other, not widely useful, options. Run
234 `configure --help' for more details.
235
(No changes)
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkglibdir = $(libdir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 top_builddir = .
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 INSTALL = @INSTALL@
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
29 NORMAL_INSTALL = :
30 PRE_INSTALL = :
31 POST_INSTALL = :
32 NORMAL_UNINSTALL = :
33 PRE_UNINSTALL = :
34 POST_UNINSTALL = :
35 build_triplet = @build@
36 host_triplet = @host@
37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
39 $(srcdir)/faad2.spec.in $(top_srcdir)/configure AUTHORS \
40 COPYING ChangeLog INSTALL NEWS TODO compile config.guess \
41 config.sub depcomp install-sh ltmain.sh missing
42 subdir = .
43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44 am__aclocal_m4_deps = $(top_srcdir)/configure.in
45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46 $(ACLOCAL_M4)
47 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
48 configure.lineno configure.status.lineno
49 mkinstalldirs = $(install_sh) -d
50 CONFIG_HEADER = config.h
51 CONFIG_CLEAN_FILES = faad2.spec
52 SOURCES =
53 DIST_SOURCES =
54 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
55 html-recursive info-recursive install-data-recursive \
56 install-exec-recursive install-info-recursive \
57 install-recursive installcheck-recursive installdirs-recursive \
58 pdf-recursive ps-recursive uninstall-info-recursive \
59 uninstall-recursive
60 ETAGS = etags
61 CTAGS = ctags
62 DIST_SUBDIRS = $(SUBDIRS)
63 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
64 distdir = $(PACKAGE)-$(VERSION)
65 top_distdir = $(distdir)
66 am__remove_distdir = \
67 { test ! -d $(distdir) \
68 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
69 && rm -fr $(distdir); }; }
70 DIST_ARCHIVES = $(distdir).tar.gz
71 GZIP_ENV = --best
72 distuninstallcheck_listfiles = find . -type f -print
73 distcleancheck_listfiles = find . -type f -print
74 ACLOCAL = @ACLOCAL@
75 AMDEP_FALSE = @AMDEP_FALSE@
76 AMDEP_TRUE = @AMDEP_TRUE@
77 AMTAR = @AMTAR@
78 AR = @AR@
79 AUTOCONF = @AUTOCONF@
80 AUTOHEADER = @AUTOHEADER@
81 AUTOMAKE = @AUTOMAKE@
82 AWK = @AWK@
83 CC = @CC@
84 CCDEPMODE = @CCDEPMODE@
85 CFLAGS = @CFLAGS@
86 CPP = @CPP@
87 CPPFLAGS = @CPPFLAGS@
88 CXX = @CXX@
89 CXXCPP = @CXXCPP@
90 CXXDEPMODE = @CXXDEPMODE@
91 CXXFLAGS = @CXXFLAGS@
92 CYGPATH_W = @CYGPATH_W@
93 DEFS = @DEFS@
94 DEPDIR = @DEPDIR@
95 ECHO = @ECHO@
96 ECHO_C = @ECHO_C@
97 ECHO_N = @ECHO_N@
98 ECHO_T = @ECHO_T@
99 EGREP = @EGREP@
100 EXEEXT = @EXEEXT@
101 F77 = @F77@
102 FFLAGS = @FFLAGS@
103 GREP = @GREP@
104 GTK_CONFIG = @GTK_CONFIG@
105 HAVE_MPEG4IP_PLUG_FALSE = @HAVE_MPEG4IP_PLUG_FALSE@
106 HAVE_MPEG4IP_PLUG_TRUE = @HAVE_MPEG4IP_PLUG_TRUE@
107 HAVE_XMMS_FALSE = @HAVE_XMMS_FALSE@
108 HAVE_XMMS_TRUE = @HAVE_XMMS_TRUE@
109 INSTALL_DATA = @INSTALL_DATA@
110 INSTALL_PROGRAM = @INSTALL_PROGRAM@
111 INSTALL_SCRIPT = @INSTALL_SCRIPT@
112 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
113 LDFLAGS = @LDFLAGS@
114 LIBOBJS = @LIBOBJS@
115 LIBS = @LIBS@
116 LIBTOOL = @LIBTOOL@
117 LIBTOOL_DEPS = @LIBTOOL_DEPS@
118 LN_S = @LN_S@
119 LTLIBOBJS = @LTLIBOBJS@
120 MAKEINFO = @MAKEINFO@
121 MP4FF_LIBS = @MP4FF_LIBS@
122 OBJEXT = @OBJEXT@
123 PACKAGE = @PACKAGE@
124 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
125 PACKAGE_NAME = @PACKAGE_NAME@
126 PACKAGE_STRING = @PACKAGE_STRING@
127 PACKAGE_TARNAME = @PACKAGE_TARNAME@
128 PACKAGE_VERSION = @PACKAGE_VERSION@
129 PATH_SEPARATOR = @PATH_SEPARATOR@
130 RANLIB = @RANLIB@
131 RPMBUILD = @RPMBUILD@
132 SET_MAKE = @SET_MAKE@
133 SHELL = @SHELL@
134 STRIP = @STRIP@
135 VERSION = @VERSION@
136 XMMS_CONFIG = @XMMS_CONFIG@
137 ac_ct_CC = @ac_ct_CC@
138 ac_ct_CXX = @ac_ct_CXX@
139 ac_ct_F77 = @ac_ct_F77@
140 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
141 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
142 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
143 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
144 am__include = @am__include@
145 am__leading_dot = @am__leading_dot@
146 am__quote = @am__quote@
147 am__tar = @am__tar@
148 am__untar = @am__untar@
149 bindir = @bindir@
150 build = @build@
151 build_alias = @build_alias@
152 build_cpu = @build_cpu@
153 build_os = @build_os@
154 build_vendor = @build_vendor@
155 datadir = @datadir@
156 datarootdir = @datarootdir@
157 docdir = @docdir@
158 dvidir = @dvidir@
159 exec_prefix = @exec_prefix@
160 external_mp4v2 = @external_mp4v2@
161 host = @host@
162 host_alias = @host_alias@
163 host_cpu = @host_cpu@
164 host_os = @host_os@
165 host_vendor = @host_vendor@
166 htmldir = @htmldir@
167 includedir = @includedir@
168 infodir = @infodir@
169 install_sh = @install_sh@
170 libdir = @libdir@
171 libexecdir = @libexecdir@
172 localedir = @localedir@
173 localstatedir = @localstatedir@
174 mandir = @mandir@
175 mkdir_p = @mkdir_p@
176 oldincludedir = @oldincludedir@
177 pdfdir = @pdfdir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 psdir = @psdir@
181 sbindir = @sbindir@
182 sharedstatedir = @sharedstatedir@
183 sysconfdir = @sysconfdir@
184 target_alias = @target_alias@
185 SUBDIRS = libfaad common frontend plugins
186 EXTRA_DIST = faad2.spec
187 all: config.h
188 $(MAKE) $(AM_MAKEFLAGS) all-recursive
189
190 .SUFFIXES:
191 am--refresh:
192 @:
193 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
194 @for dep in $?; do \
195 case '$(am__configure_deps)' in \
196 *$$dep*) \
197 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
198 cd $(srcdir) && $(AUTOMAKE) --gnu \
199 && exit 0; \
200 exit 1;; \
201 esac; \
202 done; \
203 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
204 cd $(top_srcdir) && \
205 $(AUTOMAKE) --gnu Makefile
206 .PRECIOUS: Makefile
207 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
208 @case '$?' in \
209 *config.status*) \
210 echo ' $(SHELL) ./config.status'; \
211 $(SHELL) ./config.status;; \
212 *) \
213 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
214 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
215 esac;
216
217 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
218 $(SHELL) ./config.status --recheck
219
220 $(top_srcdir)/configure: $(am__configure_deps)
221 cd $(srcdir) && $(AUTOCONF)
222 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
223 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
224
225 config.h: stamp-h1
226 @if test ! -f $@; then \
227 rm -f stamp-h1; \
228 $(MAKE) stamp-h1; \
229 else :; fi
230
231 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
232 @rm -f stamp-h1
233 cd $(top_builddir) && $(SHELL) ./config.status config.h
234 $(srcdir)/config.h.in: $(am__configure_deps)
235 cd $(top_srcdir) && $(AUTOHEADER)
236 rm -f stamp-h1
237 touch $@
238
239 distclean-hdr:
240 -rm -f config.h stamp-h1
241 faad2.spec: $(top_builddir)/config.status $(srcdir)/faad2.spec.in
242 cd $(top_builddir) && $(SHELL) ./config.status $@
243
244 mostlyclean-libtool:
245 -rm -f *.lo
246
247 clean-libtool:
248 -rm -rf .libs _libs
249
250 distclean-libtool:
251 -rm -f libtool
252 uninstall-info-am:
253
254 # This directory's subdirectories are mostly independent; you can cd
255 # into them and run `make' without going through this Makefile.
256 # To change the values of `make' variables: instead of editing Makefiles,
257 # (1) if the variable is set in `config.status', edit `config.status'
258 # (which will cause the Makefiles to be regenerated when you run `make');
259 # (2) otherwise, pass the desired values on the `make' command line.
260 $(RECURSIVE_TARGETS):
261 @failcom='exit 1'; \
262 for f in x $$MAKEFLAGS; do \
263 case $$f in \
264 *=* | --[!k]*);; \
265 *k*) failcom='fail=yes';; \
266 esac; \
267 done; \
268 dot_seen=no; \
269 target=`echo $@ | sed s/-recursive//`; \
270 list='$(SUBDIRS)'; for subdir in $$list; do \
271 echo "Making $$target in $$subdir"; \
272 if test "$$subdir" = "."; then \
273 dot_seen=yes; \
274 local_target="$$target-am"; \
275 else \
276 local_target="$$target"; \
277 fi; \
278 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
279 || eval $$failcom; \
280 done; \
281 if test "$$dot_seen" = "no"; then \
282 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
283 fi; test -z "$$fail"
284
285 mostlyclean-recursive clean-recursive distclean-recursive \
286 maintainer-clean-recursive:
287 @failcom='exit 1'; \
288 for f in x $$MAKEFLAGS; do \
289 case $$f in \
290 *=* | --[!k]*);; \
291 *k*) failcom='fail=yes';; \
292 esac; \
293 done; \
294 dot_seen=no; \
295 case "$@" in \
296 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
297 *) list='$(SUBDIRS)' ;; \
298 esac; \
299 rev=''; for subdir in $$list; do \
300 if test "$$subdir" = "."; then :; else \
301 rev="$$subdir $$rev"; \
302 fi; \
303 done; \
304 rev="$$rev ."; \
305 target=`echo $@ | sed s/-recursive//`; \
306 for subdir in $$rev; do \
307 echo "Making $$target in $$subdir"; \
308 if test "$$subdir" = "."; then \
309 local_target="$$target-am"; \
310 else \
311 local_target="$$target"; \
312 fi; \
313 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
314 || eval $$failcom; \
315 done && test -z "$$fail"
316 tags-recursive:
317 list='$(SUBDIRS)'; for subdir in $$list; do \
318 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
319 done
320 ctags-recursive:
321 list='$(SUBDIRS)'; for subdir in $$list; do \
322 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
323 done
324
325 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
326 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
327 unique=`for i in $$list; do \
328 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
329 done | \
330 $(AWK) ' { files[$$0] = 1; } \
331 END { for (i in files) print i; }'`; \
332 mkid -fID $$unique
333 tags: TAGS
334
335 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
336 $(TAGS_FILES) $(LISP)
337 tags=; \
338 here=`pwd`; \
339 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
340 include_option=--etags-include; \
341 empty_fix=.; \
342 else \
343 include_option=--include; \
344 empty_fix=; \
345 fi; \
346 list='$(SUBDIRS)'; for subdir in $$list; do \
347 if test "$$subdir" = .; then :; else \
348 test ! -f $$subdir/TAGS || \
349 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
350 fi; \
351 done; \
352 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
353 unique=`for i in $$list; do \
354 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
355 done | \
356 $(AWK) ' { files[$$0] = 1; } \
357 END { for (i in files) print i; }'`; \
358 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
359 test -n "$$unique" || unique=$$empty_fix; \
360 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
361 $$tags $$unique; \
362 fi
363 ctags: CTAGS
364 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
365 $(TAGS_FILES) $(LISP)
366 tags=; \
367 here=`pwd`; \
368 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
369 unique=`for i in $$list; do \
370 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
371 done | \
372 $(AWK) ' { files[$$0] = 1; } \
373 END { for (i in files) print i; }'`; \
374 test -z "$(CTAGS_ARGS)$$tags$$unique" \
375 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
376 $$tags $$unique
377
378 GTAGS:
379 here=`$(am__cd) $(top_builddir) && pwd` \
380 && cd $(top_srcdir) \
381 && gtags -i $(GTAGS_ARGS) $$here
382
383 distclean-tags:
384 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
385
386 distdir: $(DISTFILES)
387 $(am__remove_distdir)
388 mkdir $(distdir)
389 $(mkdir_p) $(distdir)/.
390 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
391 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
392 list='$(DISTFILES)'; for file in $$list; do \
393 case $$file in \
394 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
395 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
396 esac; \
397 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
398 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
399 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
400 dir="/$$dir"; \
401 $(mkdir_p) "$(distdir)$$dir"; \
402 else \
403 dir=''; \
404 fi; \
405 if test -d $$d/$$file; then \
406 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
407 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
408 fi; \
409 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
410 else \
411 test -f $(distdir)/$$file \
412 || cp -p $$d/$$file $(distdir)/$$file \
413 || exit 1; \
414 fi; \
415 done
416 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
417 if test "$$subdir" = .; then :; else \
418 test -d "$(distdir)/$$subdir" \
419 || $(mkdir_p) "$(distdir)/$$subdir" \
420 || exit 1; \
421 distdir=`$(am__cd) $(distdir) && pwd`; \
422 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
423 (cd $$subdir && \
424 $(MAKE) $(AM_MAKEFLAGS) \
425 top_distdir="$$top_distdir" \
426 distdir="$$distdir/$$subdir" \
427 distdir) \
428 || exit 1; \
429 fi; \
430 done
431 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
432 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
433 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
434 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
435 || chmod -R a+r $(distdir)
436 dist-gzip: distdir
437 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
438 $(am__remove_distdir)
439
440 dist-bzip2: distdir
441 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
442 $(am__remove_distdir)
443
444 dist-tarZ: distdir
445 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
446 $(am__remove_distdir)
447
448 dist-shar: distdir
449 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
450 $(am__remove_distdir)
451
452 dist-zip: distdir
453 -rm -f $(distdir).zip
454 zip -rq $(distdir).zip $(distdir)
455 $(am__remove_distdir)
456
457 dist dist-all: distdir
458 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
459 $(am__remove_distdir)
460
461 # This target untars the dist file and tries a VPATH configuration. Then
462 # it guarantees that the distribution is self-contained by making another
463 # tarfile.
464 distcheck: dist
465 case '$(DIST_ARCHIVES)' in \
466 *.tar.gz*) \
467 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
468 *.tar.bz2*) \
469 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
470 *.tar.Z*) \
471 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
472 *.shar.gz*) \
473 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
474 *.zip*) \
475 unzip $(distdir).zip ;;\
476 esac
477 chmod -R a-w $(distdir); chmod a+w $(distdir)
478 mkdir $(distdir)/_build
479 mkdir $(distdir)/_inst
480 chmod a-w $(distdir)
481 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
482 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
483 && cd $(distdir)/_build \
484 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
485 $(DISTCHECK_CONFIGURE_FLAGS) \
486 && $(MAKE) $(AM_MAKEFLAGS) \
487 && $(MAKE) $(AM_MAKEFLAGS) dvi \
488 && $(MAKE) $(AM_MAKEFLAGS) check \
489 && $(MAKE) $(AM_MAKEFLAGS) install \
490 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
491 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
492 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
493 distuninstallcheck \
494 && chmod -R a-w "$$dc_install_base" \
495 && ({ \
496 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
497 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
498 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
499 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
500 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
501 } || { rm -rf "$$dc_destdir"; exit 1; }) \
502 && rm -rf "$$dc_destdir" \
503 && $(MAKE) $(AM_MAKEFLAGS) dist \
504 && rm -rf $(DIST_ARCHIVES) \
505 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
506 $(am__remove_distdir)
507 @(echo "$(distdir) archives ready for distribution: "; \
508 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
509 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
510 distuninstallcheck:
511 @cd $(distuninstallcheck_dir) \
512 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
513 || { echo "ERROR: files left after uninstall:" ; \
514 if test -n "$(DESTDIR)"; then \
515 echo " (check DESTDIR support)"; \
516 fi ; \
517 $(distuninstallcheck_listfiles) ; \
518 exit 1; } >&2
519 distcleancheck: distclean
520 @if test '$(srcdir)' = . ; then \
521 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
522 exit 1 ; \
523 fi
524 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
525 || { echo "ERROR: files left in build directory after distclean:" ; \
526 $(distcleancheck_listfiles) ; \
527 exit 1; } >&2
528 check-am: all-am
529 check: check-recursive
530 all-am: Makefile config.h
531 installdirs: installdirs-recursive
532 installdirs-am:
533 install: install-recursive
534 install-exec: install-exec-recursive
535 install-data: install-data-recursive
536 uninstall: uninstall-recursive
537
538 install-am: all-am
539 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
540
541 installcheck: installcheck-recursive
542 install-strip:
543 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
544 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
545 `test -z '$(STRIP)' || \
546 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
547 mostlyclean-generic:
548
549 clean-generic:
550
551 distclean-generic:
552 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
553
554 maintainer-clean-generic:
555 @echo "This command is intended for maintainers to use"
556 @echo "it deletes files that may require special tools to rebuild."
557 clean: clean-recursive
558
559 clean-am: clean-generic clean-libtool mostlyclean-am
560
561 distclean: distclean-recursive
562 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
563 -rm -f Makefile
564 distclean-am: clean-am distclean-generic distclean-hdr \
565 distclean-libtool distclean-tags
566
567 dvi: dvi-recursive
568
569 dvi-am:
570
571 html: html-recursive
572
573 info: info-recursive
574
575 info-am:
576
577 install-data-am:
578
579 install-exec-am:
580
581 install-info: install-info-recursive
582
583 install-man:
584
585 installcheck-am:
586
587 maintainer-clean: maintainer-clean-recursive
588 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
589 -rm -rf $(top_srcdir)/autom4te.cache
590 -rm -f Makefile
591 maintainer-clean-am: distclean-am maintainer-clean-generic
592
593 mostlyclean: mostlyclean-recursive
594
595 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
596
597 pdf: pdf-recursive
598
599 pdf-am:
600
601 ps: ps-recursive
602
603 ps-am:
604
605 uninstall-am: uninstall-info-am
606
607 uninstall-info: uninstall-info-recursive
608
609 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
610 check-am clean clean-generic clean-libtool clean-recursive \
611 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
612 dist-shar dist-tarZ dist-zip distcheck distclean \
613 distclean-generic distclean-hdr distclean-libtool \
614 distclean-recursive distclean-tags distcleancheck distdir \
615 distuninstallcheck dvi dvi-am html html-am info info-am \
616 install install-am install-data install-data-am install-exec \
617 install-exec-am install-info install-info-am install-man \
618 install-strip installcheck installcheck-am installdirs \
619 installdirs-am maintainer-clean maintainer-clean-generic \
620 maintainer-clean-recursive mostlyclean mostlyclean-generic \
621 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
622 tags tags-recursive uninstall uninstall-am uninstall-info-am
623
624
625 rpm: Makefile
626 make dist
627 $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
628 rm $(PACKAGE)-$(VERSION).tar.gz
629 # Tell versions [3.59,3.63) of GNU make to not export all variables.
630 # Otherwise a system limit (for SysV at least) may be exceeded.
631 .NOEXPORT:
(No changes)
(No changes)
11 ----------------------
22 just run :
33
4 autoreconf -vif
54 ./configure --with-mp4v2
65 make
76 sudo make install
(No changes)
(No changes)
+0
-163
aacDECdrop/aacDECdrop/aacDECdrop.dsp less more
0 # Microsoft Developer Studio Project File - Name="aacDECdrop" - Package Owner=<4>
1 # Microsoft Developer Studio Generated Build File, Format Version 6.00
2 # ** DO NOT EDIT **
3
4 # TARGTYPE "Win32 (x86) Application" 0x0101
5
6 CFG=aacDECdrop - Win32 Debug
7 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
8 !MESSAGE use the Export Makefile command and run
9 !MESSAGE
10 !MESSAGE NMAKE /f "aacDECdrop.mak".
11 !MESSAGE
12 !MESSAGE You can specify a configuration when running NMAKE
13 !MESSAGE by defining the macro CFG on the command line. For example:
14 !MESSAGE
15 !MESSAGE NMAKE /f "aacDECdrop.mak" CFG="aacDECdrop - Win32 Debug"
16 !MESSAGE
17 !MESSAGE Possible choices for configuration are:
18 !MESSAGE
19 !MESSAGE "aacDECdrop - Win32 Release" (based on "Win32 (x86) Application")
20 !MESSAGE "aacDECdrop - Win32 Debug" (based on "Win32 (x86) Application")
21 !MESSAGE
22
23 # Begin Project
24 # PROP AllowPerConfigDependencies 0
25 # PROP Scc_ProjName ""
26 # PROP Scc_LocalPath ""
27 CPP=cl.exe
28 MTL=midl.exe
29 RSC=rc.exe
30
31 !IF "$(CFG)" == "aacDECdrop - Win32 Release"
32
33 # PROP BASE Use_MFC 0
34 # PROP BASE Use_Debug_Libraries 0
35 # PROP BASE Output_Dir "Release"
36 # PROP BASE Intermediate_Dir "Release"
37 # PROP BASE Target_Dir ""
38 # PROP Use_MFC 0
39 # PROP Use_Debug_Libraries 0
40 # PROP Output_Dir "Release"
41 # PROP Intermediate_Dir "Release"
42 # PROP Ignore_Export_Lib 0
43 # PROP Target_Dir ""
44 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
45 # ADD CPP /nologo /G6 /MD /GX /O2 /I "..\..\include" /I "..\..\common\mp4ff" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /QaxK /Qsox- /Qip /c
46 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
47 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
48 # ADD BASE RSC /l 0x809 /d "NDEBUG"
49 # ADD RSC /l 0x809 /d "NDEBUG"
50 BSC32=bscmake.exe
51 # ADD BASE BSC32 /nologo
52 # ADD BSC32 /nologo
53 LINK32=link.exe
54 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
55 # ADD LINK32 ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"LIBCMT.lib"
56
57 !ELSEIF "$(CFG)" == "aacDECdrop - Win32 Debug"
58
59 # PROP BASE Use_MFC 0
60 # PROP BASE Use_Debug_Libraries 1
61 # PROP BASE Output_Dir "Debug"
62 # PROP BASE Intermediate_Dir "Debug"
63 # PROP BASE Target_Dir ""
64 # PROP Use_MFC 0
65 # PROP Use_Debug_Libraries 1
66 # PROP Output_Dir "Debug"
67 # PROP Intermediate_Dir "Debug"
68 # PROP Ignore_Export_Lib 0
69 # PROP Target_Dir ""
70 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
71 # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\include" /I "..\..\common\mp4ff" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
72 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
73 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
74 # ADD BASE RSC /l 0x809 /d "_DEBUG"
75 # ADD RSC /l 0x809 /d "_DEBUG"
76 BSC32=bscmake.exe
77 # ADD BASE BSC32 /nologo
78 # ADD BSC32 /nologo
79 LINK32=link.exe
80 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
81 # ADD LINK32 ws2_32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
82
83 !ENDIF
84
85 # Begin Target
86
87 # Name "aacDECdrop - Win32 Release"
88 # Name "aacDECdrop - Win32 Debug"
89 # Begin Group "Source Files"
90
91 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
92 # Begin Source File
93
94 SOURCE=..\audio.c
95 # End Source File
96 # Begin Source File
97
98 SOURCE=..\decode.c
99 # End Source File
100 # Begin Source File
101
102 SOURCE=..\decthread.c
103 # End Source File
104 # Begin Source File
105
106 SOURCE=..\main.c
107 # End Source File
108 # Begin Source File
109
110 SOURCE=..\misc.c
111 # End Source File
112 # Begin Source File
113
114 SOURCE=..\wave_out.c
115 # End Source File
116 # End Group
117 # Begin Group "Header Files"
118
119 # PROP Default_Filter "h;hpp;hxx;hm;inl"
120 # Begin Source File
121
122 SOURCE=..\audio.h
123 # End Source File
124 # Begin Source File
125
126 SOURCE=..\decode.h
127 # End Source File
128 # Begin Source File
129
130 SOURCE=..\decthread.h
131 # End Source File
132 # Begin Source File
133
134 SOURCE=..\misc.h
135 # End Source File
136 # Begin Source File
137
138 SOURCE=..\resource.h
139 # End Source File
140 # Begin Source File
141
142 SOURCE=..\wave_out.h
143 # End Source File
144 # End Group
145 # Begin Group "Resource Files"
146
147 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
148 # Begin Source File
149
150 SOURCE=..\resource\AAC01.bmp
151 # End Source File
152 # Begin Source File
153
154 SOURCE=..\resource\AAC01.ico
155 # End Source File
156 # Begin Source File
157
158 SOURCE=..\Script.rc
159 # End Source File
160 # End Group
161 # End Target
162 # End Project
+0
-59
aacDECdrop/aacDECdrop/aacDECdrop.dsw less more
0 Microsoft Developer Studio Workspace File, Format Version 6.00
1 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
2
3 ###############################################################################
4
5 Project: "aacDECdrop"=.\aacDECdrop.dsp - Package Owner=<4>
6
7 Package=<5>
8 {{{
9 }}}
10
11 Package=<4>
12 {{{
13 Begin Project Dependency
14 Project_Dep_Name libfaad
15 End Project Dependency
16 Begin Project Dependency
17 Project_Dep_Name mp4ff
18 End Project Dependency
19 }}}
20
21 ###############################################################################
22
23 Project: "libfaad"=..\..\libfaad\libfaad.dsp - Package Owner=<4>
24
25 Package=<5>
26 {{{
27 }}}
28
29 Package=<4>
30 {{{
31 }}}
32
33 ###############################################################################
34
35 Project: "mp4ff"=..\..\common\mp4ff\mp4ff.dsp - Package Owner=<4>
36
37 Package=<5>
38 {{{
39 }}}
40
41 Package=<4>
42 {{{
43 }}}
44
45 ###############################################################################
46
47 Global:
48
49 Package=<5>
50 {{{
51 }}}
52
53 Package=<3>
54 {{{
55 }}}
56
57 ###############################################################################
58
(No changes)
(No changes)
(No changes)
(No changes)
(No changes)
(No changes)
(No changes)
(No changes)
(No changes)
(No changes)
0 # generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
14
15 # serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
16
17
18 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
19 # -----------------------------------------------------------
20 # If this macro is not defined by Autoconf, define it here.
21 m4_ifdef([AC_PROVIDE_IFELSE],
22 [],
23 [m4_define([AC_PROVIDE_IFELSE],
24 [m4_ifdef([AC_PROVIDE_$1],
25 [$2], [$3])])])
26
27
28 # AC_PROG_LIBTOOL
29 # ---------------
30 AC_DEFUN([AC_PROG_LIBTOOL],
31 [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
32 dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
33 dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
34 AC_PROVIDE_IFELSE([AC_PROG_CXX],
35 [AC_LIBTOOL_CXX],
36 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
37 ])])
38 dnl And a similar setup for Fortran 77 support
39 AC_PROVIDE_IFELSE([AC_PROG_F77],
40 [AC_LIBTOOL_F77],
41 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
42 ])])
43
44 dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
45 dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
46 dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
47 AC_PROVIDE_IFELSE([AC_PROG_GCJ],
48 [AC_LIBTOOL_GCJ],
49 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
50 [AC_LIBTOOL_GCJ],
51 [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
52 [AC_LIBTOOL_GCJ],
53 [ifdef([AC_PROG_GCJ],
54 [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
55 ifdef([A][M_PROG_GCJ],
56 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
57 ifdef([LT_AC_PROG_GCJ],
58 [define([LT_AC_PROG_GCJ],
59 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
60 ])])# AC_PROG_LIBTOOL
61
62
63 # _AC_PROG_LIBTOOL
64 # ----------------
65 AC_DEFUN([_AC_PROG_LIBTOOL],
66 [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
67 AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
68 AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
69 AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
70
71 # This can be used to rebuild libtool when needed
72 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
73
74 # Always use our own libtool.
75 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
76 AC_SUBST(LIBTOOL)dnl
77
78 # Prevent multiple expansion
79 define([AC_PROG_LIBTOOL], [])
80 ])# _AC_PROG_LIBTOOL
81
82
83 # AC_LIBTOOL_SETUP
84 # ----------------
85 AC_DEFUN([AC_LIBTOOL_SETUP],
86 [AC_PREREQ(2.50)dnl
87 AC_REQUIRE([AC_ENABLE_SHARED])dnl
88 AC_REQUIRE([AC_ENABLE_STATIC])dnl
89 AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
90 AC_REQUIRE([AC_CANONICAL_HOST])dnl
91 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
92 AC_REQUIRE([AC_PROG_CC])dnl
93 AC_REQUIRE([AC_PROG_LD])dnl
94 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
95 AC_REQUIRE([AC_PROG_NM])dnl
96
97 AC_REQUIRE([AC_PROG_LN_S])dnl
98 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
99 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
100 AC_REQUIRE([AC_OBJEXT])dnl
101 AC_REQUIRE([AC_EXEEXT])dnl
102 dnl
103
104 AC_LIBTOOL_SYS_MAX_CMD_LEN
105 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
106 AC_LIBTOOL_OBJDIR
107
108 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
109 _LT_AC_PROG_ECHO_BACKSLASH
110
111 case $host_os in
112 aix3*)
113 # AIX sometimes has problems with the GCC collect2 program. For some
114 # reason, if we set the COLLECT_NAMES environment variable, the problems
115 # vanish in a puff of smoke.
116 if test "X${COLLECT_NAMES+set}" != Xset; then
117 COLLECT_NAMES=
118 export COLLECT_NAMES
119 fi
120 ;;
121 esac
122
123 # Sed substitution that helps us do robust quoting. It backslashifies
124 # metacharacters that are still active within double-quoted strings.
125 Xsed='sed -e 1s/^X//'
126 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
127
128 # Same as above, but do not quote variable references.
129 [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
130
131 # Sed substitution to delay expansion of an escaped shell variable in a
132 # double_quote_subst'ed string.
133 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
134
135 # Sed substitution to avoid accidental globbing in evaled expressions
136 no_glob_subst='s/\*/\\\*/g'
137
138 # Constants:
139 rm="rm -f"
140
141 # Global variables:
142 default_ofile=libtool
143 can_build_shared=yes
144
145 # All known linkers require a `.a' archive for static linking (except MSVC,
146 # which needs '.lib').
147 libext=a
148 ltmain="$ac_aux_dir/ltmain.sh"
149 ofile="$default_ofile"
150 with_gnu_ld="$lt_cv_prog_gnu_ld"
151
152 AC_CHECK_TOOL(AR, ar, false)
153 AC_CHECK_TOOL(RANLIB, ranlib, :)
154 AC_CHECK_TOOL(STRIP, strip, :)
155
156 old_CC="$CC"
157 old_CFLAGS="$CFLAGS"
158
159 # Set sane defaults for various variables
160 test -z "$AR" && AR=ar
161 test -z "$AR_FLAGS" && AR_FLAGS=cru
162 test -z "$AS" && AS=as
163 test -z "$CC" && CC=cc
164 test -z "$LTCC" && LTCC=$CC
165 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
166 test -z "$DLLTOOL" && DLLTOOL=dlltool
167 test -z "$LD" && LD=ld
168 test -z "$LN_S" && LN_S="ln -s"
169 test -z "$MAGIC_CMD" && MAGIC_CMD=file
170 test -z "$NM" && NM=nm
171 test -z "$SED" && SED=sed
172 test -z "$OBJDUMP" && OBJDUMP=objdump
173 test -z "$RANLIB" && RANLIB=:
174 test -z "$STRIP" && STRIP=:
175 test -z "$ac_objext" && ac_objext=o
176
177 # Determine commands to create old-style static archives.
178 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
179 old_postinstall_cmds='chmod 644 $oldlib'
180 old_postuninstall_cmds=
181
182 if test -n "$RANLIB"; then
183 case $host_os in
184 openbsd*)
185 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
186 ;;
187 *)
188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
189 ;;
190 esac
191 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
192 fi
193
194 _LT_CC_BASENAME([$compiler])
195
196 # Only perform the check for file, if the check method requires it
197 case $deplibs_check_method in
198 file_magic*)
199 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
200 AC_PATH_MAGIC
201 fi
202 ;;
203 esac
204
205 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
206 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
207 enable_win32_dll=yes, enable_win32_dll=no)
208
209 AC_ARG_ENABLE([libtool-lock],
210 [AC_HELP_STRING([--disable-libtool-lock],
211 [avoid locking (might break parallel builds)])])
212 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
213
214 AC_ARG_WITH([pic],
215 [AC_HELP_STRING([--with-pic],
216 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
217 [pic_mode="$withval"],
218 [pic_mode=default])
219 test -z "$pic_mode" && pic_mode=default
220
221 # Use C for the default configuration in the libtool script
222 tagname=
223 AC_LIBTOOL_LANG_C_CONFIG
224 _LT_AC_TAGCONFIG
225 ])# AC_LIBTOOL_SETUP
226
227
228 # _LT_AC_SYS_COMPILER
229 # -------------------
230 AC_DEFUN([_LT_AC_SYS_COMPILER],
231 [AC_REQUIRE([AC_PROG_CC])dnl
232
233 # If no C compiler was specified, use CC.
234 LTCC=${LTCC-"$CC"}
235
236 # If no C compiler flags were specified, use CFLAGS.
237 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
238
239 # Allow CC to be a program name with arguments.
240 compiler=$CC
241 ])# _LT_AC_SYS_COMPILER
242
243
244 # _LT_CC_BASENAME(CC)
245 # -------------------
246 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
247 AC_DEFUN([_LT_CC_BASENAME],
248 [for cc_temp in $1""; do
249 case $cc_temp in
250 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
251 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
252 \-*) ;;
253 *) break;;
254 esac
255 done
256 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
257 ])
258
259
260 # _LT_COMPILER_BOILERPLATE
261 # ------------------------
262 # Check for compiler boilerplate output or warnings with
263 # the simple compiler test code.
264 AC_DEFUN([_LT_COMPILER_BOILERPLATE],
265 [ac_outfile=conftest.$ac_objext
266 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
267 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
268 _lt_compiler_boilerplate=`cat conftest.err`
269 $rm conftest*
270 ])# _LT_COMPILER_BOILERPLATE
271
272
273 # _LT_LINKER_BOILERPLATE
274 # ----------------------
275 # Check for linker boilerplate output or warnings with
276 # the simple link test code.
277 AC_DEFUN([_LT_LINKER_BOILERPLATE],
278 [ac_outfile=conftest.$ac_objext
279 printf "$lt_simple_link_test_code" >conftest.$ac_ext
280 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
281 _lt_linker_boilerplate=`cat conftest.err`
282 $rm conftest*
283 ])# _LT_LINKER_BOILERPLATE
284
285
286 # _LT_AC_SYS_LIBPATH_AIX
287 # ----------------------
288 # Links a minimal program and checks the executable
289 # for the system default hardcoded library path. In most cases,
290 # this is /usr/lib:/lib, but when the MPI compilers are used
291 # the location of the communication and MPI libs are included too.
292 # If we don't find anything, use the default library path according
293 # to the aix ld manual.
294 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
295 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[
296 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
297 }'`
298 # Check for a 64-bit object if we didn't find anything.
299 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
300 }'`; fi],[])
301 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
302 ])# _LT_AC_SYS_LIBPATH_AIX
303
304
305 # _LT_AC_SHELL_INIT(ARG)
306 # ----------------------
307 AC_DEFUN([_LT_AC_SHELL_INIT],
308 [ifdef([AC_DIVERSION_NOTICE],
309 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
310 [AC_DIVERT_PUSH(NOTICE)])
311 $1
312 AC_DIVERT_POP
313 ])# _LT_AC_SHELL_INIT
314
315
316 # _LT_AC_PROG_ECHO_BACKSLASH
317 # --------------------------
318 # Add some code to the start of the generated configure script which
319 # will find an echo command which doesn't interpret backslashes.
320 AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
321 [_LT_AC_SHELL_INIT([
322 # Check that we are running under the correct shell.
323 SHELL=${CONFIG_SHELL-/bin/sh}
324
325 case X$ECHO in
326 X*--fallback-echo)
327 # Remove one level of quotation (which was required for Make).
328 ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
329 ;;
330 esac
331
332 echo=${ECHO-echo}
333 if test "X[$]1" = X--no-reexec; then
334 # Discard the --no-reexec flag, and continue.
335 shift
336 elif test "X[$]1" = X--fallback-echo; then
337 # Avoid inline document here, it may be left over
338 :
339 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
340 # Yippee, $echo works!
341 :
342 else
343 # Restart under the correct shell.
344 exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
345 fi
346
347 if test "X[$]1" = X--fallback-echo; then
348 # used as fallback echo
349 shift
350 cat <<EOF
351 [$]*
352 EOF
353 exit 0
354 fi
355
356 # The HP-UX ksh and POSIX shell print the target directory to stdout
357 # if CDPATH is set.
358 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
359
360 if test -z "$ECHO"; then
361 if test "X${echo_test_string+set}" != Xset; then
362 # find a string as large as possible, as long as the shell can cope with it
363 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
364 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
365 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
366 echo_test_string=`eval $cmd` &&
367 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
368 then
369 break
370 fi
371 done
372 fi
373
374 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
375 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
376 test "X$echo_testing_string" = "X$echo_test_string"; then
377 :
378 else
379 # The Solaris, AIX, and Digital Unix default echo programs unquote
380 # backslashes. This makes it impossible to quote backslashes using
381 # echo "$something" | sed 's/\\/\\\\/g'
382 #
383 # So, first we look for a working echo in the user's PATH.
384
385 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
386 for dir in $PATH /usr/ucb; do
387 IFS="$lt_save_ifs"
388 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
389 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
390 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
391 test "X$echo_testing_string" = "X$echo_test_string"; then
392 echo="$dir/echo"
393 break
394 fi
395 done
396 IFS="$lt_save_ifs"
397
398 if test "X$echo" = Xecho; then
399 # We didn't find a better echo, so look for alternatives.
400 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
401 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
402 test "X$echo_testing_string" = "X$echo_test_string"; then
403 # This shell has a builtin print -r that does the trick.
404 echo='print -r'
405 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
406 test "X$CONFIG_SHELL" != X/bin/ksh; then
407 # If we have ksh, try running configure again with it.
408 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
409 export ORIGINAL_CONFIG_SHELL
410 CONFIG_SHELL=/bin/ksh
411 export CONFIG_SHELL
412 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
413 else
414 # Try using printf.
415 echo='printf %s\n'
416 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
417 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
418 test "X$echo_testing_string" = "X$echo_test_string"; then
419 # Cool, printf works
420 :
421 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
422 test "X$echo_testing_string" = 'X\t' &&
423 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
424 test "X$echo_testing_string" = "X$echo_test_string"; then
425 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
426 export CONFIG_SHELL
427 SHELL="$CONFIG_SHELL"
428 export SHELL
429 echo="$CONFIG_SHELL [$]0 --fallback-echo"
430 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
431 test "X$echo_testing_string" = 'X\t' &&
432 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
433 test "X$echo_testing_string" = "X$echo_test_string"; then
434 echo="$CONFIG_SHELL [$]0 --fallback-echo"
435 else
436 # maybe with a smaller string...
437 prev=:
438
439 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
440 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
441 then
442 break
443 fi
444 prev="$cmd"
445 done
446
447 if test "$prev" != 'sed 50q "[$]0"'; then
448 echo_test_string=`eval $prev`
449 export echo_test_string
450 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
451 else
452 # Oops. We lost completely, so just stick with echo.
453 echo=echo
454 fi
455 fi
456 fi
457 fi
458 fi
459 fi
460
461 # Copy echo and quote the copy suitably for passing to libtool from
462 # the Makefile, instead of quoting the original, which is used later.
463 ECHO=$echo
464 if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
465 ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
466 fi
467
468 AC_SUBST(ECHO)
469 ])])# _LT_AC_PROG_ECHO_BACKSLASH
470
471
472 # _LT_AC_LOCK
473 # -----------
474 AC_DEFUN([_LT_AC_LOCK],
475 [AC_ARG_ENABLE([libtool-lock],
476 [AC_HELP_STRING([--disable-libtool-lock],
477 [avoid locking (might break parallel builds)])])
478 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
479
480 # Some flags need to be propagated to the compiler or linker for good
481 # libtool support.
482 case $host in
483 ia64-*-hpux*)
484 # Find out which ABI we are using.
485 echo 'int i;' > conftest.$ac_ext
486 if AC_TRY_EVAL(ac_compile); then
487 case `/usr/bin/file conftest.$ac_objext` in
488 *ELF-32*)
489 HPUX_IA64_MODE="32"
490 ;;
491 *ELF-64*)
492 HPUX_IA64_MODE="64"
493 ;;
494 esac
495 fi
496 rm -rf conftest*
497 ;;
498 *-*-irix6*)
499 # Find out which ABI we are using.
500 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
501 if AC_TRY_EVAL(ac_compile); then
502 if test "$lt_cv_prog_gnu_ld" = yes; then
503 case `/usr/bin/file conftest.$ac_objext` in
504 *32-bit*)
505 LD="${LD-ld} -melf32bsmip"
506 ;;
507 *N32*)
508 LD="${LD-ld} -melf32bmipn32"
509 ;;
510 *64-bit*)
511 LD="${LD-ld} -melf64bmip"
512 ;;
513 esac
514 else
515 case `/usr/bin/file conftest.$ac_objext` in
516 *32-bit*)
517 LD="${LD-ld} -32"
518 ;;
519 *N32*)
520 LD="${LD-ld} -n32"
521 ;;
522 *64-bit*)
523 LD="${LD-ld} -64"
524 ;;
525 esac
526 fi
527 fi
528 rm -rf conftest*
529 ;;
530
531 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
532 # Find out which ABI we are using.
533 echo 'int i;' > conftest.$ac_ext
534 if AC_TRY_EVAL(ac_compile); then
535 case `/usr/bin/file conftest.o` in
536 *32-bit*)
537 case $host in
538 x86_64-*linux*)
539 LD="${LD-ld} -m elf_i386"
540 ;;
541 ppc64-*linux*|powerpc64-*linux*)
542 LD="${LD-ld} -m elf32ppclinux"
543 ;;
544 s390x-*linux*)
545 LD="${LD-ld} -m elf_s390"
546 ;;
547 sparc64-*linux*)
548 LD="${LD-ld} -m elf32_sparc"
549 ;;
550 esac
551 ;;
552 *64-bit*)
553 case $host in
554 x86_64-*linux*)
555 LD="${LD-ld} -m elf_x86_64"
556 ;;
557 ppc*-*linux*|powerpc*-*linux*)
558 LD="${LD-ld} -m elf64ppc"
559 ;;
560 s390*-*linux*)
561 LD="${LD-ld} -m elf64_s390"
562 ;;
563 sparc*-*linux*)
564 LD="${LD-ld} -m elf64_sparc"
565 ;;
566 esac
567 ;;
568 esac
569 fi
570 rm -rf conftest*
571 ;;
572
573 *-*-sco3.2v5*)
574 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
575 SAVE_CFLAGS="$CFLAGS"
576 CFLAGS="$CFLAGS -belf"
577 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
578 [AC_LANG_PUSH(C)
579 AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
580 AC_LANG_POP])
581 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
582 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
583 CFLAGS="$SAVE_CFLAGS"
584 fi
585 ;;
586 sparc*-*solaris*)
587 # Find out which ABI we are using.
588 echo 'int i;' > conftest.$ac_ext
589 if AC_TRY_EVAL(ac_compile); then
590 case `/usr/bin/file conftest.o` in
591 *64-bit*)
592 case $lt_cv_prog_gnu_ld in
593 yes*) LD="${LD-ld} -m elf64_sparc" ;;
594 *) LD="${LD-ld} -64" ;;
595 esac
596 ;;
597 esac
598 fi
599 rm -rf conftest*
600 ;;
601
602 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
603 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
604 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
605 AC_CHECK_TOOL(AS, as, false)
606 AC_CHECK_TOOL(OBJDUMP, objdump, false)
607 ;;
608 ])
609 esac
610
611 need_locks="$enable_libtool_lock"
612
613 ])# _LT_AC_LOCK
614
615
616 # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
617 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
618 # ----------------------------------------------------------------
619 # Check whether the given compiler option works
620 AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
621 [AC_REQUIRE([LT_AC_PROG_SED])
622 AC_CACHE_CHECK([$1], [$2],
623 [$2=no
624 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
625 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
626 lt_compiler_flag="$3"
627 # Insert the option either (1) after the last *FLAGS variable, or
628 # (2) before a word containing "conftest.", or (3) at the end.
629 # Note that $ac_compile itself does not contain backslashes and begins
630 # with a dollar sign (not a hyphen), so the echo should work correctly.
631 # The option is referenced via a variable to avoid confusing sed.
632 lt_compile=`echo "$ac_compile" | $SED \
633 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
634 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
635 -e 's:$: $lt_compiler_flag:'`
636 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
637 (eval "$lt_compile" 2>conftest.err)
638 ac_status=$?
639 cat conftest.err >&AS_MESSAGE_LOG_FD
640 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
641 if (exit $ac_status) && test -s "$ac_outfile"; then
642 # The compiler can only warn and ignore the option if not recognized
643 # So say no if there are warnings other than the usual output.
644 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
645 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
646 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
647 $2=yes
648 fi
649 fi
650 $rm conftest*
651 ])
652
653 if test x"[$]$2" = xyes; then
654 ifelse([$5], , :, [$5])
655 else
656 ifelse([$6], , :, [$6])
657 fi
658 ])# AC_LIBTOOL_COMPILER_OPTION
659
660
661 # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
662 # [ACTION-SUCCESS], [ACTION-FAILURE])
663 # ------------------------------------------------------------
664 # Check whether the given compiler option works
665 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
666 [AC_CACHE_CHECK([$1], [$2],
667 [$2=no
668 save_LDFLAGS="$LDFLAGS"
669 LDFLAGS="$LDFLAGS $3"
670 printf "$lt_simple_link_test_code" > conftest.$ac_ext
671 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
672 # The linker can only warn and ignore the option if not recognized
673 # So say no if there are warnings
674 if test -s conftest.err; then
675 # Append any errors to the config.log.
676 cat conftest.err 1>&AS_MESSAGE_LOG_FD
677 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
678 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
679 if diff conftest.exp conftest.er2 >/dev/null; then
680 $2=yes
681 fi
682 else
683 $2=yes
684 fi
685 fi
686 $rm conftest*
687 LDFLAGS="$save_LDFLAGS"
688 ])
689
690 if test x"[$]$2" = xyes; then
691 ifelse([$4], , :, [$4])
692 else
693 ifelse([$5], , :, [$5])
694 fi
695 ])# AC_LIBTOOL_LINKER_OPTION
696
697
698 # AC_LIBTOOL_SYS_MAX_CMD_LEN
699 # --------------------------
700 AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
701 [# find the maximum length of command line arguments
702 AC_MSG_CHECKING([the maximum length of command line arguments])
703 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
704 i=0
705 teststring="ABCD"
706
707 case $build_os in
708 msdosdjgpp*)
709 # On DJGPP, this test can blow up pretty badly due to problems in libc
710 # (any single argument exceeding 2000 bytes causes a buffer overrun
711 # during glob expansion). Even if it were fixed, the result of this
712 # check would be larger than it should be.
713 lt_cv_sys_max_cmd_len=12288; # 12K is about right
714 ;;
715
716 gnu*)
717 # Under GNU Hurd, this test is not required because there is
718 # no limit to the length of command line arguments.
719 # Libtool will interpret -1 as no limit whatsoever
720 lt_cv_sys_max_cmd_len=-1;
721 ;;
722
723 cygwin* | mingw*)
724 # On Win9x/ME, this test blows up -- it succeeds, but takes
725 # about 5 minutes as the teststring grows exponentially.
726 # Worse, since 9x/ME are not pre-emptively multitasking,
727 # you end up with a "frozen" computer, even though with patience
728 # the test eventually succeeds (with a max line length of 256k).
729 # Instead, let's just punt: use the minimum linelength reported by
730 # all of the supported platforms: 8192 (on NT/2K/XP).
731 lt_cv_sys_max_cmd_len=8192;
732 ;;
733
734 amigaos*)
735 # On AmigaOS with pdksh, this test takes hours, literally.
736 # So we just punt and use a minimum line length of 8192.
737 lt_cv_sys_max_cmd_len=8192;
738 ;;
739
740 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
741 # This has been around since 386BSD, at least. Likely further.
742 if test -x /sbin/sysctl; then
743 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
744 elif test -x /usr/sbin/sysctl; then
745 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
746 else
747 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
748 fi
749 # And add a safety zone
750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
752 ;;
753
754 interix*)
755 # We know the value 262144 and hardcode it with a safety zone (like BSD)
756 lt_cv_sys_max_cmd_len=196608
757 ;;
758
759 osf*)
760 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
761 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
762 # nice to cause kernel panics so lets avoid the loop below.
763 # First set a reasonable default.
764 lt_cv_sys_max_cmd_len=16384
765 #
766 if test -x /sbin/sysconfig; then
767 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
768 *1*) lt_cv_sys_max_cmd_len=-1 ;;
769 esac
770 fi
771 ;;
772 sco3.2v5*)
773 lt_cv_sys_max_cmd_len=102400
774 ;;
775 sysv5* | sco5v6* | sysv4.2uw2*)
776 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
777 if test -n "$kargmax"; then
778 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
779 else
780 lt_cv_sys_max_cmd_len=32768
781 fi
782 ;;
783 *)
784 # If test is not a shell built-in, we'll probably end up computing a
785 # maximum length that is only half of the actual maximum length, but
786 # we can't tell.
787 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
788 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
789 = "XX$teststring") >/dev/null 2>&1 &&
790 new_result=`expr "X$teststring" : ".*" 2>&1` &&
791 lt_cv_sys_max_cmd_len=$new_result &&
792 test $i != 17 # 1/2 MB should be enough
793 do
794 i=`expr $i + 1`
795 teststring=$teststring$teststring
796 done
797 teststring=
798 # Add a significant safety factor because C++ compilers can tack on massive
799 # amounts of additional arguments before passing them to the linker.
800 # It appears as though 1/2 is a usable value.
801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
802 ;;
803 esac
804 ])
805 if test -n $lt_cv_sys_max_cmd_len ; then
806 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
807 else
808 AC_MSG_RESULT(none)
809 fi
810 ])# AC_LIBTOOL_SYS_MAX_CMD_LEN
811
812
813 # _LT_AC_CHECK_DLFCN
814 # ------------------
815 AC_DEFUN([_LT_AC_CHECK_DLFCN],
816 [AC_CHECK_HEADERS(dlfcn.h)dnl
817 ])# _LT_AC_CHECK_DLFCN
818
819
820 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
821 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
822 # ---------------------------------------------------------------------
823 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
824 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
825 if test "$cross_compiling" = yes; then :
826 [$4]
827 else
828 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
829 lt_status=$lt_dlunknown
830 cat > conftest.$ac_ext <<EOF
831 [#line __oline__ "configure"
832 #include "confdefs.h"
833
834 #if HAVE_DLFCN_H
835 #include <dlfcn.h>
836 #endif
837
838 #include <stdio.h>
839
840 #ifdef RTLD_GLOBAL
841 # define LT_DLGLOBAL RTLD_GLOBAL
842 #else
843 # ifdef DL_GLOBAL
844 # define LT_DLGLOBAL DL_GLOBAL
845 # else
846 # define LT_DLGLOBAL 0
847 # endif
848 #endif
849
850 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
851 find out it does not work in some platform. */
852 #ifndef LT_DLLAZY_OR_NOW
853 # ifdef RTLD_LAZY
854 # define LT_DLLAZY_OR_NOW RTLD_LAZY
855 # else
856 # ifdef DL_LAZY
857 # define LT_DLLAZY_OR_NOW DL_LAZY
858 # else
859 # ifdef RTLD_NOW
860 # define LT_DLLAZY_OR_NOW RTLD_NOW
861 # else
862 # ifdef DL_NOW
863 # define LT_DLLAZY_OR_NOW DL_NOW
864 # else
865 # define LT_DLLAZY_OR_NOW 0
866 # endif
867 # endif
868 # endif
869 # endif
870 #endif
871
872 #ifdef __cplusplus
873 extern "C" void exit (int);
874 #endif
875
876 void fnord() { int i=42;}
877 int main ()
878 {
879 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
880 int status = $lt_dlunknown;
881
882 if (self)
883 {
884 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
885 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
886 /* dlclose (self); */
887 }
888 else
889 puts (dlerror ());
890
891 exit (status);
892 }]
893 EOF
894 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
895 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
896 lt_status=$?
897 case x$lt_status in
898 x$lt_dlno_uscore) $1 ;;
899 x$lt_dlneed_uscore) $2 ;;
900 x$lt_dlunknown|x*) $3 ;;
901 esac
902 else :
903 # compilation failed
904 $3
905 fi
906 fi
907 rm -fr conftest*
908 ])# _LT_AC_TRY_DLOPEN_SELF
909
910
911 # AC_LIBTOOL_DLOPEN_SELF
912 # ----------------------
913 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
914 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
915 if test "x$enable_dlopen" != xyes; then
916 enable_dlopen=unknown
917 enable_dlopen_self=unknown
918 enable_dlopen_self_static=unknown
919 else
920 lt_cv_dlopen=no
921 lt_cv_dlopen_libs=
922
923 case $host_os in
924 beos*)
925 lt_cv_dlopen="load_add_on"
926 lt_cv_dlopen_libs=
927 lt_cv_dlopen_self=yes
928 ;;
929
930 mingw* | pw32*)
931 lt_cv_dlopen="LoadLibrary"
932 lt_cv_dlopen_libs=
933 ;;
934
935 cygwin*)
936 lt_cv_dlopen="dlopen"
937 lt_cv_dlopen_libs=
938 ;;
939
940 darwin*)
941 # if libdl is installed we need to link against it
942 AC_CHECK_LIB([dl], [dlopen],
943 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
944 lt_cv_dlopen="dyld"
945 lt_cv_dlopen_libs=
946 lt_cv_dlopen_self=yes
947 ])
948 ;;
949
950 *)
951 AC_CHECK_FUNC([shl_load],
952 [lt_cv_dlopen="shl_load"],
953 [AC_CHECK_LIB([dld], [shl_load],
954 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
955 [AC_CHECK_FUNC([dlopen],
956 [lt_cv_dlopen="dlopen"],
957 [AC_CHECK_LIB([dl], [dlopen],
958 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
959 [AC_CHECK_LIB([svld], [dlopen],
960 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
961 [AC_CHECK_LIB([dld], [dld_link],
962 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
963 ])
964 ])
965 ])
966 ])
967 ])
968 ;;
969 esac
970
971 if test "x$lt_cv_dlopen" != xno; then
972 enable_dlopen=yes
973 else
974 enable_dlopen=no
975 fi
976
977 case $lt_cv_dlopen in
978 dlopen)
979 save_CPPFLAGS="$CPPFLAGS"
980 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
981
982 save_LDFLAGS="$LDFLAGS"
983 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
984
985 save_LIBS="$LIBS"
986 LIBS="$lt_cv_dlopen_libs $LIBS"
987
988 AC_CACHE_CHECK([whether a program can dlopen itself],
989 lt_cv_dlopen_self, [dnl
990 _LT_AC_TRY_DLOPEN_SELF(
991 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
992 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
993 ])
994
995 if test "x$lt_cv_dlopen_self" = xyes; then
996 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
997 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
998 lt_cv_dlopen_self_static, [dnl
999 _LT_AC_TRY_DLOPEN_SELF(
1000 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1001 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1002 ])
1003 fi
1004
1005 CPPFLAGS="$save_CPPFLAGS"
1006 LDFLAGS="$save_LDFLAGS"
1007 LIBS="$save_LIBS"
1008 ;;
1009 esac
1010
1011 case $lt_cv_dlopen_self in
1012 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1013 *) enable_dlopen_self=unknown ;;
1014 esac
1015
1016 case $lt_cv_dlopen_self_static in
1017 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1018 *) enable_dlopen_self_static=unknown ;;
1019 esac
1020 fi
1021 ])# AC_LIBTOOL_DLOPEN_SELF
1022
1023
1024 # AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1025 # ---------------------------------
1026 # Check to see if options -c and -o are simultaneously supported by compiler
1027 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1028 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1029 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1030 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1031 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1032 $rm -r conftest 2>/dev/null
1033 mkdir conftest
1034 cd conftest
1035 mkdir out
1036 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1037
1038 lt_compiler_flag="-o out/conftest2.$ac_objext"
1039 # Insert the option either (1) after the last *FLAGS variable, or
1040 # (2) before a word containing "conftest.", or (3) at the end.
1041 # Note that $ac_compile itself does not contain backslashes and begins
1042 # with a dollar sign (not a hyphen), so the echo should work correctly.
1043 lt_compile=`echo "$ac_compile" | $SED \
1044 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1045 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1046 -e 's:$: $lt_compiler_flag:'`
1047 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1048 (eval "$lt_compile" 2>out/conftest.err)
1049 ac_status=$?
1050 cat out/conftest.err >&AS_MESSAGE_LOG_FD
1051 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1052 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1053 then
1054 # The compiler can only warn and ignore the option if not recognized
1055 # So say no if there are warnings
1056 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1057 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1058 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1059 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1060 fi
1061 fi
1062 chmod u+w . 2>&AS_MESSAGE_LOG_FD
1063 $rm conftest*
1064 # SGI C++ compiler will create directory out/ii_files/ for
1065 # template instantiation
1066 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1067 $rm out/* && rmdir out
1068 cd ..
1069 rmdir conftest
1070 $rm conftest*
1071 ])
1072 ])# AC_LIBTOOL_PROG_CC_C_O
1073
1074
1075 # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1076 # -----------------------------------------
1077 # Check to see if we can do hard links to lock some files if needed
1078 AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1079 [AC_REQUIRE([_LT_AC_LOCK])dnl
1080
1081 hard_links="nottested"
1082 if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1083 # do not overwrite the value of need_locks provided by the user
1084 AC_MSG_CHECKING([if we can lock with hard links])
1085 hard_links=yes
1086 $rm conftest*
1087 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1088 touch conftest.a
1089 ln conftest.a conftest.b 2>&5 || hard_links=no
1090 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1091 AC_MSG_RESULT([$hard_links])
1092 if test "$hard_links" = no; then
1093 AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1094 need_locks=warn
1095 fi
1096 else
1097 need_locks=no
1098 fi
1099 ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1100
1101
1102 # AC_LIBTOOL_OBJDIR
1103 # -----------------
1104 AC_DEFUN([AC_LIBTOOL_OBJDIR],
1105 [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1106 [rm -f .libs 2>/dev/null
1107 mkdir .libs 2>/dev/null
1108 if test -d .libs; then
1109 lt_cv_objdir=.libs
1110 else
1111 # MS-DOS does not allow filenames that begin with a dot.
1112 lt_cv_objdir=_libs
1113 fi
1114 rmdir .libs 2>/dev/null])
1115 objdir=$lt_cv_objdir
1116 ])# AC_LIBTOOL_OBJDIR
1117
1118
1119 # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
1120 # ----------------------------------------------
1121 # Check hardcoding attributes.
1122 AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
1123 [AC_MSG_CHECKING([how to hardcode library paths into programs])
1124 _LT_AC_TAGVAR(hardcode_action, $1)=
1125 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1126 test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1127 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1128
1129 # We can hardcode non-existant directories.
1130 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1131 # If the only mechanism to avoid hardcoding is shlibpath_var, we
1132 # have to relink, otherwise we might link with an installed library
1133 # when we should be linking with a yet-to-be-installed one
1134 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1135 test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
1136 # Linking always hardcodes the temporary library directory.
1137 _LT_AC_TAGVAR(hardcode_action, $1)=relink
1138 else
1139 # We can link without hardcoding, and we can hardcode nonexisting dirs.
1140 _LT_AC_TAGVAR(hardcode_action, $1)=immediate
1141 fi
1142 else
1143 # We cannot hardcode anything, or else we can only hardcode existing
1144 # directories.
1145 _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
1146 fi
1147 AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
1148
1149 if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
1150 # Fast installation is not supported
1151 enable_fast_install=no
1152 elif test "$shlibpath_overrides_runpath" = yes ||
1153 test "$enable_shared" = no; then
1154 # Fast installation is not necessary
1155 enable_fast_install=needless
1156 fi
1157 ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
1158
1159
1160 # AC_LIBTOOL_SYS_LIB_STRIP
1161 # ------------------------
1162 AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
1163 [striplib=
1164 old_striplib=
1165 AC_MSG_CHECKING([whether stripping libraries is possible])
1166 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1167 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1168 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1169 AC_MSG_RESULT([yes])
1170 else
1171 # FIXME - insert some real tests, host_os isn't really good enough
1172 case $host_os in
1173 darwin*)
1174 if test -n "$STRIP" ; then
1175 striplib="$STRIP -x"
1176 AC_MSG_RESULT([yes])
1177 else
1178 AC_MSG_RESULT([no])
1179 fi
1180 ;;
1181 *)
1182 AC_MSG_RESULT([no])
1183 ;;
1184 esac
1185 fi
1186 ])# AC_LIBTOOL_SYS_LIB_STRIP
1187
1188
1189 # AC_LIBTOOL_SYS_DYNAMIC_LINKER
1190 # -----------------------------
1191 # PORTME Fill in your ld.so characteristics
1192 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1193 [AC_MSG_CHECKING([dynamic linker characteristics])
1194 library_names_spec=
1195 libname_spec='lib$name'
1196 soname_spec=
1197 shrext_cmds=".so"
1198 postinstall_cmds=
1199 postuninstall_cmds=
1200 finish_cmds=
1201 finish_eval=
1202 shlibpath_var=
1203 shlibpath_overrides_runpath=unknown
1204 version_type=none
1205 dynamic_linker="$host_os ld.so"
1206 sys_lib_dlsearch_path_spec="/lib /usr/lib"
1207 if test "$GCC" = yes; then
1208 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1209 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1210 # if the path contains ";" then we assume it to be the separator
1211 # otherwise default to the standard path separator (i.e. ":") - it is
1212 # assumed that no part of a normal pathname contains ";" but that should
1213 # okay in the real world where ";" in dirpaths is itself problematic.
1214 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1215 else
1216 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1217 fi
1218 else
1219 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1220 fi
1221 need_lib_prefix=unknown
1222 hardcode_into_libs=no
1223
1224 # when you set need_version to no, make sure it does not cause -set_version
1225 # flags to be left without arguments
1226 need_version=unknown
1227
1228 case $host_os in
1229 aix3*)
1230 version_type=linux
1231 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1232 shlibpath_var=LIBPATH
1233
1234 # AIX 3 has no versioning support, so we append a major version to the name.
1235 soname_spec='${libname}${release}${shared_ext}$major'
1236 ;;
1237
1238 aix4* | aix5*)
1239 version_type=linux
1240 need_lib_prefix=no
1241 need_version=no
1242 hardcode_into_libs=yes
1243 if test "$host_cpu" = ia64; then
1244 # AIX 5 supports IA64
1245 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1246 shlibpath_var=LD_LIBRARY_PATH
1247 else
1248 # With GCC up to 2.95.x, collect2 would create an import file
1249 # for dependence libraries. The import file would start with
1250 # the line `#! .'. This would cause the generated library to
1251 # depend on `.', always an invalid library. This was fixed in
1252 # development snapshots of GCC prior to 3.0.
1253 case $host_os in
1254 aix4 | aix4.[[01]] | aix4.[[01]].*)
1255 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1256 echo ' yes '
1257 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1258 :
1259 else
1260 can_build_shared=no
1261 fi
1262 ;;
1263 esac
1264 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1265 # soname into executable. Probably we can add versioning support to
1266 # collect2, so additional links can be useful in future.
1267 if test "$aix_use_runtimelinking" = yes; then
1268 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1269 # instead of lib<name>.a to let people know that these are not
1270 # typical AIX shared libraries.
1271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1272 else
1273 # We preserve .a as extension for shared libraries through AIX4.2
1274 # and later when we are not doing run time linking.
1275 library_names_spec='${libname}${release}.a $libname.a'
1276 soname_spec='${libname}${release}${shared_ext}$major'
1277 fi
1278 shlibpath_var=LIBPATH
1279 fi
1280 ;;
1281
1282 amigaos*)
1283 library_names_spec='$libname.ixlibrary $libname.a'
1284 # Create ${libname}_ixlibrary.a entries in /sys/libs.
1285 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'
1286 ;;
1287
1288 beos*)
1289 library_names_spec='${libname}${shared_ext}'
1290 dynamic_linker="$host_os ld.so"
1291 shlibpath_var=LIBRARY_PATH
1292 ;;
1293
1294 bsdi[[45]]*)
1295 version_type=linux
1296 need_version=no
1297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1298 soname_spec='${libname}${release}${shared_ext}$major'
1299 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1300 shlibpath_var=LD_LIBRARY_PATH
1301 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1302 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1303 # the default ld.so.conf also contains /usr/contrib/lib and
1304 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1305 # libtool to hard-code these into programs
1306 ;;
1307
1308 cygwin* | mingw* | pw32*)
1309 version_type=windows
1310 shrext_cmds=".dll"
1311 need_version=no
1312 need_lib_prefix=no
1313
1314 case $GCC,$host_os in
1315 yes,cygwin* | yes,mingw* | yes,pw32*)
1316 library_names_spec='$libname.dll.a'
1317 # DLL is installed to $(libdir)/../bin by postinstall_cmds
1318 postinstall_cmds='base_file=`basename \${file}`~
1319 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1320 dldir=$destdir/`dirname \$dlpath`~
1321 test -d \$dldir || mkdir -p \$dldir~
1322 $install_prog $dir/$dlname \$dldir/$dlname~
1323 chmod a+x \$dldir/$dlname'
1324 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1325 dlpath=$dir/\$dldll~
1326 $rm \$dlpath'
1327 shlibpath_overrides_runpath=yes
1328
1329 case $host_os in
1330 cygwin*)
1331 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1332 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1333 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1334 ;;
1335 mingw*)
1336 # MinGW DLLs use traditional 'lib' prefix
1337 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1338 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1339 if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
1340 # It is most probably a Windows format PATH printed by
1341 # mingw gcc, but we are running on Cygwin. Gcc prints its search
1342 # path with ; separators, and with drive letters. We can handle the
1343 # drive letters (cygwin fileutils understands them), so leave them,
1344 # especially as we might pass files found there to a mingw objdump,
1345 # which wouldn't understand a cygwinified path. Ahh.
1346 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1347 else
1348 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1349 fi
1350 ;;
1351 pw32*)
1352 # pw32 DLLs use 'pw' prefix rather than 'lib'
1353 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1354 ;;
1355 esac
1356 ;;
1357
1358 *)
1359 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
1360 ;;
1361 esac
1362 dynamic_linker='Win32 ld.exe'
1363 # FIXME: first we should search . and the directory the executable is in
1364 shlibpath_var=PATH
1365 ;;
1366
1367 darwin* | rhapsody*)
1368 dynamic_linker="$host_os dyld"
1369 version_type=darwin
1370 need_lib_prefix=no
1371 need_version=no
1372 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1373 soname_spec='${libname}${release}${major}$shared_ext'
1374 shlibpath_overrides_runpath=yes
1375 shlibpath_var=DYLD_LIBRARY_PATH
1376 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1377 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1378 if test "$GCC" = yes; then
1379 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
1380 else
1381 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1382 fi
1383 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1384 ;;
1385
1386 dgux*)
1387 version_type=linux
1388 need_lib_prefix=no
1389 need_version=no
1390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1391 soname_spec='${libname}${release}${shared_ext}$major'
1392 shlibpath_var=LD_LIBRARY_PATH
1393 ;;
1394
1395 freebsd1*)
1396 dynamic_linker=no
1397 ;;
1398
1399 freebsd* | dragonfly*)
1400 # DragonFly does not have aout. When/if they implement a new
1401 # versioning mechanism, adjust this.
1402 if test -x /usr/bin/objformat; then
1403 objformat=`/usr/bin/objformat`
1404 else
1405 case $host_os in
1406 freebsd[[123]]*) objformat=aout ;;
1407 *) objformat=elf ;;
1408 esac
1409 fi
1410 version_type=freebsd-$objformat
1411 case $version_type in
1412 freebsd-elf*)
1413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1414 need_version=no
1415 need_lib_prefix=no
1416 ;;
1417 freebsd-*)
1418 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1419 need_version=yes
1420 ;;
1421 esac
1422 shlibpath_var=LD_LIBRARY_PATH
1423 case $host_os in
1424 freebsd2*)
1425 shlibpath_overrides_runpath=yes
1426 ;;
1427 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
1428 shlibpath_overrides_runpath=yes
1429 hardcode_into_libs=yes
1430 ;;
1431 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
1432 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
1433 shlibpath_overrides_runpath=no
1434 hardcode_into_libs=yes
1435 ;;
1436 freebsd*) # from 4.6 on
1437 shlibpath_overrides_runpath=yes
1438 hardcode_into_libs=yes
1439 ;;
1440 esac
1441 ;;
1442
1443 gnu*)
1444 version_type=linux
1445 need_lib_prefix=no
1446 need_version=no
1447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1448 soname_spec='${libname}${release}${shared_ext}$major'
1449 shlibpath_var=LD_LIBRARY_PATH
1450 hardcode_into_libs=yes
1451 ;;
1452
1453 hpux9* | hpux10* | hpux11*)
1454 # Give a soname corresponding to the major version so that dld.sl refuses to
1455 # link against other versions.
1456 version_type=sunos
1457 need_lib_prefix=no
1458 need_version=no
1459 case $host_cpu in
1460 ia64*)
1461 shrext_cmds='.so'
1462 hardcode_into_libs=yes
1463 dynamic_linker="$host_os dld.so"
1464 shlibpath_var=LD_LIBRARY_PATH
1465 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1467 soname_spec='${libname}${release}${shared_ext}$major'
1468 if test "X$HPUX_IA64_MODE" = X32; then
1469 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1470 else
1471 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1472 fi
1473 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1474 ;;
1475 hppa*64*)
1476 shrext_cmds='.sl'
1477 hardcode_into_libs=yes
1478 dynamic_linker="$host_os dld.sl"
1479 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1480 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1482 soname_spec='${libname}${release}${shared_ext}$major'
1483 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1484 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1485 ;;
1486 *)
1487 shrext_cmds='.sl'
1488 dynamic_linker="$host_os dld.sl"
1489 shlibpath_var=SHLIB_PATH
1490 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1492 soname_spec='${libname}${release}${shared_ext}$major'
1493 ;;
1494 esac
1495 # HP-UX runs *really* slowly unless shared libraries are mode 555.
1496 postinstall_cmds='chmod 555 $lib'
1497 ;;
1498
1499 interix3*)
1500 version_type=linux
1501 need_lib_prefix=no
1502 need_version=no
1503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1504 soname_spec='${libname}${release}${shared_ext}$major'
1505 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
1506 shlibpath_var=LD_LIBRARY_PATH
1507 shlibpath_overrides_runpath=no
1508 hardcode_into_libs=yes
1509 ;;
1510
1511 irix5* | irix6* | nonstopux*)
1512 case $host_os in
1513 nonstopux*) version_type=nonstopux ;;
1514 *)
1515 if test "$lt_cv_prog_gnu_ld" = yes; then
1516 version_type=linux
1517 else
1518 version_type=irix
1519 fi ;;
1520 esac
1521 need_lib_prefix=no
1522 need_version=no
1523 soname_spec='${libname}${release}${shared_ext}$major'
1524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1525 case $host_os in
1526 irix5* | nonstopux*)
1527 libsuff= shlibsuff=
1528 ;;
1529 *)
1530 case $LD in # libtool.m4 will add one of these switches to LD
1531 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1532 libsuff= shlibsuff= libmagic=32-bit;;
1533 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1534 libsuff=32 shlibsuff=N32 libmagic=N32;;
1535 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1536 libsuff=64 shlibsuff=64 libmagic=64-bit;;
1537 *) libsuff= shlibsuff= libmagic=never-match;;
1538 esac
1539 ;;
1540 esac
1541 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1542 shlibpath_overrides_runpath=no
1543 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1544 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1545 hardcode_into_libs=yes
1546 ;;
1547
1548 # No shared lib support for Linux oldld, aout, or coff.
1549 linux*oldld* | linux*aout* | linux*coff*)
1550 dynamic_linker=no
1551 ;;
1552
1553 # This must be Linux ELF.
1554 linux* | k*bsd*-gnu)
1555 version_type=linux
1556 need_lib_prefix=no
1557 need_version=no
1558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1559 soname_spec='${libname}${release}${shared_ext}$major'
1560 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1561 shlibpath_var=LD_LIBRARY_PATH
1562 shlibpath_overrides_runpath=no
1563 # This implies no fast_install, which is unacceptable.
1564 # Some rework will be needed to allow for fast_install
1565 # before this can be enabled.
1566 hardcode_into_libs=yes
1567
1568 # Append ld.so.conf contents to the search path
1569 if test -f /etc/ld.so.conf; then
1570 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1571 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1572 fi
1573
1574 # We used to test for /lib/ld.so.1 and disable shared libraries on
1575 # powerpc, because MkLinux only supported shared libraries with the
1576 # GNU dynamic linker. Since this was broken with cross compilers,
1577 # most powerpc-linux boxes support dynamic linking these days and
1578 # people can always --disable-shared, the test was removed, and we
1579 # assume the GNU/Linux dynamic linker is in use.
1580 dynamic_linker='GNU/Linux ld.so'
1581 ;;
1582
1583 netbsdelf*-gnu)
1584 version_type=linux
1585 need_lib_prefix=no
1586 need_version=no
1587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1588 soname_spec='${libname}${release}${shared_ext}$major'
1589 shlibpath_var=LD_LIBRARY_PATH
1590 shlibpath_overrides_runpath=no
1591 hardcode_into_libs=yes
1592 dynamic_linker='NetBSD ld.elf_so'
1593 ;;
1594
1595 netbsd*)
1596 version_type=sunos
1597 need_lib_prefix=no
1598 need_version=no
1599 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1602 dynamic_linker='NetBSD (a.out) ld.so'
1603 else
1604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1605 soname_spec='${libname}${release}${shared_ext}$major'
1606 dynamic_linker='NetBSD ld.elf_so'
1607 fi
1608 shlibpath_var=LD_LIBRARY_PATH
1609 shlibpath_overrides_runpath=yes
1610 hardcode_into_libs=yes
1611 ;;
1612
1613 newsos6)
1614 version_type=linux
1615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1616 shlibpath_var=LD_LIBRARY_PATH
1617 shlibpath_overrides_runpath=yes
1618 ;;
1619
1620 nto-qnx*)
1621 version_type=linux
1622 need_lib_prefix=no
1623 need_version=no
1624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1625 soname_spec='${libname}${release}${shared_ext}$major'
1626 shlibpath_var=LD_LIBRARY_PATH
1627 shlibpath_overrides_runpath=yes
1628 ;;
1629
1630 openbsd*)
1631 version_type=sunos
1632 sys_lib_dlsearch_path_spec="/usr/lib"
1633 need_lib_prefix=no
1634 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1635 case $host_os in
1636 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1637 *) need_version=no ;;
1638 esac
1639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1640 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1641 shlibpath_var=LD_LIBRARY_PATH
1642 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1643 case $host_os in
1644 openbsd2.[[89]] | openbsd2.[[89]].*)
1645 shlibpath_overrides_runpath=no
1646 ;;
1647 *)
1648 shlibpath_overrides_runpath=yes
1649 ;;
1650 esac
1651 else
1652 shlibpath_overrides_runpath=yes
1653 fi
1654 ;;
1655
1656 os2*)
1657 libname_spec='$name'
1658 shrext_cmds=".dll"
1659 need_lib_prefix=no
1660 library_names_spec='$libname${shared_ext} $libname.a'
1661 dynamic_linker='OS/2 ld.exe'
1662 shlibpath_var=LIBPATH
1663 ;;
1664
1665 osf3* | osf4* | osf5*)
1666 version_type=osf
1667 need_lib_prefix=no
1668 need_version=no
1669 soname_spec='${libname}${release}${shared_ext}$major'
1670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1671 shlibpath_var=LD_LIBRARY_PATH
1672 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1673 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1674 ;;
1675
1676 solaris*)
1677 version_type=linux
1678 need_lib_prefix=no
1679 need_version=no
1680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1681 soname_spec='${libname}${release}${shared_ext}$major'
1682 shlibpath_var=LD_LIBRARY_PATH
1683 shlibpath_overrides_runpath=yes
1684 hardcode_into_libs=yes
1685 # ldd complains unless libraries are executable
1686 postinstall_cmds='chmod +x $lib'
1687 ;;
1688
1689 sunos4*)
1690 version_type=sunos
1691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1692 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1693 shlibpath_var=LD_LIBRARY_PATH
1694 shlibpath_overrides_runpath=yes
1695 if test "$with_gnu_ld" = yes; then
1696 need_lib_prefix=no
1697 fi
1698 need_version=yes
1699 ;;
1700
1701 sysv4 | sysv4.3*)
1702 version_type=linux
1703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1704 soname_spec='${libname}${release}${shared_ext}$major'
1705 shlibpath_var=LD_LIBRARY_PATH
1706 case $host_vendor in
1707 sni)
1708 shlibpath_overrides_runpath=no
1709 need_lib_prefix=no
1710 export_dynamic_flag_spec='${wl}-Blargedynsym'
1711 runpath_var=LD_RUN_PATH
1712 ;;
1713 siemens)
1714 need_lib_prefix=no
1715 ;;
1716 motorola)
1717 need_lib_prefix=no
1718 need_version=no
1719 shlibpath_overrides_runpath=no
1720 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1721 ;;
1722 esac
1723 ;;
1724
1725 sysv4*MP*)
1726 if test -d /usr/nec ;then
1727 version_type=linux
1728 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1729 soname_spec='$libname${shared_ext}.$major'
1730 shlibpath_var=LD_LIBRARY_PATH
1731 fi
1732 ;;
1733
1734 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1735 version_type=freebsd-elf
1736 need_lib_prefix=no
1737 need_version=no
1738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1739 soname_spec='${libname}${release}${shared_ext}$major'
1740 shlibpath_var=LD_LIBRARY_PATH
1741 hardcode_into_libs=yes
1742 if test "$with_gnu_ld" = yes; then
1743 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1744 shlibpath_overrides_runpath=no
1745 else
1746 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1747 shlibpath_overrides_runpath=yes
1748 case $host_os in
1749 sco3.2v5*)
1750 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1751 ;;
1752 esac
1753 fi
1754 sys_lib_dlsearch_path_spec='/usr/lib'
1755 ;;
1756
1757 uts4*)
1758 version_type=linux
1759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1760 soname_spec='${libname}${release}${shared_ext}$major'
1761 shlibpath_var=LD_LIBRARY_PATH
1762 ;;
1763
1764 *)
1765 dynamic_linker=no
1766 ;;
1767 esac
1768 AC_MSG_RESULT([$dynamic_linker])
1769 test "$dynamic_linker" = no && can_build_shared=no
1770
1771 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1772 if test "$GCC" = yes; then
1773 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1774 fi
1775 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1776
1777
1778 # _LT_AC_TAGCONFIG
1779 # ----------------
1780 AC_DEFUN([_LT_AC_TAGCONFIG],
1781 [AC_ARG_WITH([tags],
1782 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
1783 [include additional configurations @<:@automatic@:>@])],
1784 [tagnames="$withval"])
1785
1786 if test -f "$ltmain" && test -n "$tagnames"; then
1787 if test ! -f "${ofile}"; then
1788 AC_MSG_WARN([output file `$ofile' does not exist])
1789 fi
1790
1791 if test -z "$LTCC"; then
1792 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1793 if test -z "$LTCC"; then
1794 AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
1795 else
1796 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1797 fi
1798 fi
1799 if test -z "$LTCFLAGS"; then
1800 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1801 fi
1802
1803 # Extract list of available tagged configurations in $ofile.
1804 # Note that this assumes the entire list is on one line.
1805 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1806
1807 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1808 for tagname in $tagnames; do
1809 IFS="$lt_save_ifs"
1810 # Check whether tagname contains only valid characters