Codebase list farstream-0.2 / 047e883
Imported Upstream version 0.0.23 Sjoerd Simons 13 years ago
113 changed file(s) with 3467 addition(s) and 2458 deletion(s). Raw diff Collapse all Expand all
0 commit 680b46c8a3ac3b782f07a9c82f90cb145eaae7ba
1 Author: Olivier Crête <olivier.crete@collabora.co.uk>
2 Date: Thu Jan 20 21:40:17 2011 -0500
3
4 Version 0.0.23
5
6 commit bed86be379f2f243474a4475fe42b53e12eae50b
7 Author: Olivier Crête <olivier.crete@collabora.co.uk>
8 Date: Thu Jan 20 21:49:51 2011 -0500
9
10 common-modified: Dist another stamp file
11
12 commit 33c8decb747ca2052cc04006746365abed82093a
13 Author: Olivier Crête <olivier.crete@collabora.co.uk>
14 Date: Thu Jan 20 21:24:54 2011 -0500
15
16 nice: Update to use the nice 0.1.0 API
17
18 commit 8a7ef0893b1f7abca05c24f9829e5c29778abc8f
19 Author: Jakub Adam <jakub.adam@ktknet.cz>
20 Date: Thu Jan 20 20:51:04 2011 -0500
21
22 nice: Add compatibility for MS Office Communicator 2007 R2
23
24 commit ea8cb34f2027241e348aa27e8bf16ae5be53bd45
25 Author: Olivier Crête <olivier.crete@collabora.co.uk>
26 Date: Thu Jan 20 16:15:14 2011 -0500
27
28 example gui: Keep a ref to the FsElementAddedNotifier to keep it alive
29
30 commit cbe641522903ad838ec827135ac5f41d2c959de2
31 Author: Olivier Crête <olivier.crete@collabora.co.uk>
32 Date: Wed Jan 19 14:46:05 2011 -0500
33
34 example gui: Set the necessary properties for x264enc
35
36 commit bb9e92964fed41e1abbdfee4dd2205edacb74d06
37 Author: Olivier Crête <olivier.crete@collabora.co.uk>
38 Date: Mon Jan 17 22:31:05 2011 -0500
39
40 rtpsession: Really fix dispose checking
41
42 commit 684eca007b642630f635de3390430acffa2e8251
43 Author: Olivier Crête <olivier.crete@collabora.co.uk>
44 Date: Fri Jan 14 15:09:38 2011 -0500
45
46 rtpsession: Only set disposed to TRUE when actually disposing
47
48 commit 84b2047da2ec50dc5417edd910ee9a6d2361e41d
49 Author: Olivier Crête <olivier.crete@collabora.co.uk>
50 Date: Wed Jan 12 19:19:37 2011 -0500
51
52 tests: Add a test of codecs-ready before calling any method
53
54 Make sure the codecs-ready is not TRUE if no methods have been called yet
55 and some codecs that require discovered parameters are missing.
56
57 commit 342ef3b56ce3ffe09aa5e0fd7f717db9218b8992
58 Author: Olivier Crête <olivier.crete@collabora.co.uk>
59 Date: Wed Jan 12 19:16:51 2011 -0500
60
61 rtpsession: Make sure the original codecs are propertly setup
62
63 Do the update codecs when creating a FsSession so that original codecs have
64 the required bits for the parameter gathering.
65
66 commit 78458336223f2f28b61a92e0399d14566ed73815
67 Author: Olivier Crête <olivier.crete@collabora.co.uk>
68 Date: Mon Dec 20 16:56:44 2010 +0530
69
70 tests: Add test for pad alloc in fsfunnel
71
72 Patch by Yongnian Le <yongnian.le@intel.com>
73
74 commit 4dafd5471f6a006f41e3eb55d5aa5accff6dbdf7
75 Author: Olivier Crête <olivier.crete@collabora.co.uk>
76 Date: Mon Dec 20 16:50:07 2010 +0530
77
78 funnel: Implement pad allocation
79
80 Patch by Yongnian Le <yongnian.le@intel.com>
81
82 https://bugs.freedesktop.org/show_bug.cgi?id=32208
83
84 commit 2c56d479b9f5bc29ffdbb119e1f6e7c70840dfda
85 Author: Andoni Morales Alastruey <ylatuya@gmail.com>
86 Date: Thu Dec 9 22:33:41 2010 +0100
87
88 Use portable 'g_snprintf' instead of 'snprintf'
89
90 https://bugs.freedesktop.org/show_bug.cgi?id=32276
91
92 commit e9ecb91ed9589716883eb3aa05d1eb5ff0f2342d
93 Author: Andoni Morales Alastruey <ylatuya@gmail.com>
94 Date: Thu Dec 9 22:54:07 2010 +0100
95
96 Replace legacy index() with strchr() and avoid calculating the index twice
97
98 https://bugs.freedesktop.org/show_bug.cgi?id=32276
99
100 commit 8b16e803264325d1941ba420adc72dfcfd1f4e26
101 Author: Olivier Crête <olivier.crete@collabora.co.uk>
102 Date: Wed Dec 15 21:56:04 2010 +0530
103
104 mcaststreamtransmitter: Fix error message
105
106 commit c2966a229a14da1c751dc8ee2c32535512653563
107 Author: Olivier Crête <olivier.crete@collabora.co.uk>
108 Date: Tue Nov 23 16:08:41 2010 -0500
109
110 shmtransmitter: Remove unused header includes
111
112 commit cb3de7b50a42a414e59456a10fafc694ad2426d5
113 Author: Olivier Crête <olivier.crete@collabora.co.uk>
114 Date: Tue Nov 9 15:19:02 2010 -0500
115
116 Update gtk-doc-plugins.mak from common/
117
118 commit 9b732e99dd895ff09f67a72cbcb4f77c9b477ad3
119 Author: Olivier Crête <olivier.crete@collabora.co.uk>
120 Date: Mon Nov 8 15:52:08 2010 -0500
121
122 Verify the sanity of arguments passed to user-facing functions
123
124 commit c8302f5170d842c7081520a30cb5280a21dd7140
125 Author: Olivier Crête <olivier.crete@collabora.co.uk>
126 Date: Thu Nov 4 18:35:29 2010 -0400
127
128 rtpsession: Unblock pad if the discovery callback is called while disposing of a session
129
130 commit f7fb339ef66ec9f1325701d1f2ef4207afd52b34
131 Author: Olivier Crête <olivier.crete@collabora.co.uk>
132 Date: Mon Nov 1 17:36:44 2010 -0400
133
134 docs: Add docs for the shm transmitter
135
136 commit 717f494dfbdc4ab64c03440f2a384cad8f4e4651
137 Author: Olivier Crête <olivier.crete@collabora.co.uk>
138 Date: Mon Nov 1 17:35:55 2010 -0400
139
140 docs: Update custom doc building rules to match newer gst tools
141
142 commit 81a7237a05a37c8c973e0114b3d930c5d8035ec4
143 Author: Olivier Crête <olivier.crete@collabora.co.uk>
144 Date: Mon Nov 1 17:35:28 2010 -0400
145
146 nice: Use the right enum type for pad link return
147
148 commit 12d971d58760d89dc0f3a20f43b02567ad3c1049
149 Author: Olivier Crête <olivier.crete@collabora.co.uk>
150 Date: Mon Nov 1 16:56:17 2010 -0400
151
152 Version 0.0.22.1
153
0154 commit b356af11e71889eb64daa01553307dbbad4e4717
1155 Author: Olivier Crête <olivier.crete@collabora.co.uk>
2156 Date: Mon Nov 1 16:06:58 2010 -0400
329329 libexecdir = @libexecdir@
330330 localedir = @localedir@
331331 localstatedir = @localstatedir@
332 lt_ECHO = @lt_ECHO@
333332 mandir = @mandir@
334333 mkdir_p = @mkdir_p@
335334 oldincludedir = @oldincludedir@
1818 - gst-plugins-base 0.10.26
1919 - glib 2.16
2020 - Python 2.4
21 - libnice 0.0.9
21 - libnice 0.1.0
2222
2323 For UPnP support:
2424 - GUPnP-IGD
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
20
21 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
22 #
23 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
24 # Written by Scott James Remnant, 2004.
25 #
26 # This file is free software; the Free Software Foundation gives
27 # unlimited permission to copy and/or distribute it, with or without
28 # modifications, as long as this notice is preserved.
29
30 # serial 5 lt~obsolete.m4
31
32 # These exist entirely to fool aclocal when bootstrapping libtool.
33 #
34 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
35 # which have later been changed to m4_define as they aren't part of the
36 # exported API, or moved to Autoconf or Automake where they belong.
37 #
38 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
39 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
40 # using a macro with the same name in our local m4/libtool.m4 it'll
41 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
42 # and doesn't know about Autoconf macros at all.)
43 #
44 # So we provide this file, which has a silly filename so it's always
45 # included after everything else. This provides aclocal with the
46 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
47 # because those macros already exist, or will be overwritten later.
48 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
49 #
50 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
51 # Yes, that means every name once taken will need to remain here until
52 # we give up compatibility with versions before 1.7, at which point
53 # we need to keep only those names which we still refer to.
54
55 # This is to help aclocal find these macros, as it can't see m4_define.
56 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
57
58 m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
59 m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
60 m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
61 m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
62 m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
63 m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
64 m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
65 m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
66 m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
67 m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
68 m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
69 m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
70 m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
71 m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
72 m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
73 m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
74 m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
75 m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
76 m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
77 m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
78 m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
79 m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
80 m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
81 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
82 m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
83 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
84 m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
85 m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
86 m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
87 m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
88 m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
89 m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
90 m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
91 m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
92 m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
93 m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
94 m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
95 m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
96 m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
97 m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
98 m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
99 m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
100 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
101 m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
102 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
103 m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
104 m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
105 m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
106 m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
107 m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
108 m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
109 m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
110 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
111 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
112 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
113 m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
114 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
115 m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
116 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
117 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
118 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
11920
12021 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
12122 #
289289 libexecdir = @libexecdir@
290290 localedir = @localedir@
291291 localstatedir = @localstatedir@
292 lt_ECHO = @lt_ECHO@
293292 mandir = @mandir@
294293 mkdir_p = @mkdir_p@
295294 oldincludedir = @oldincludedir@
249249 libexecdir = @libexecdir@
250250 localedir = @localedir@
251251 localstatedir = @localstatedir@
252 lt_ECHO = @lt_ECHO@
253252 mandir = @mandir@
254253 mkdir_p = @mkdir_p@
255254 oldincludedir = @oldincludedir@
249249 libexecdir = @libexecdir@
250250 localedir = @localedir@
251251 localstatedir = @localstatedir@
252 lt_ECHO = @lt_ECHO@
253252 mandir = @mandir@
254253 mkdir_p = @mkdir_p@
255254 oldincludedir = @oldincludedir@
1414
1515 # update the stuff maintained by doc maintainers
1616 update:
17 $(MAKE) inspect-update
1817 $(MAKE) scanobj-update
18 $(MAKE) check-outdated-docs
1919
2020 # We set GPATH here; this gives us semantics for GNU make
2121 # which are more like other make's VPATH, when it comes to
2727 # thomas: make docs parallel installable
2828 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@
2929
30 MAINTAINER_DOC_STAMPS = \
31 scanobj-build.stamp \
32 scanobj-trans-build.stamp
33
3034 EXTRA_DIST = \
35 $(MAINTAINER_DOC_STAMPS) \
3136 $(srcdir)/inspect/*.xml \
32 inspect.stamp \
33 inspect-build.stamp \
3437 $(SCANOBJ_FILES) \
3538 $(content_files) \
3639 $(extra_files) \
3942 $(DOC_OVERRIDES) \
4043 $(DOC_MODULE)-sections.txt
4144
45 # we don't add scanobj-build.stamp here since they are built manually by docs
46 # maintainers and result is commited to git
4247 DOC_STAMPS = \
4348 scan-build.stamp \
4449 tmpl-build.stamp \
4752 scan.stamp \
4853 tmpl.stamp \
4954 sgml.stamp \
50 html.stamp \
51 scanobj-build.stamp \
52 scanobj-trans-build.stamp
55 html.stamp
5356
5457 # files generated/updated by gtkdoc-scangobj
5558 SCANOBJ_FILES = \
56 $(DOC_MODULE).signals \
57 $(DOC_MODULE).hierarchy \
58 $(DOC_MODULE).interfaces \
59 $(DOC_MODULE).prerequisites \
59 $(DOC_MODULE).signals \
60 $(DOC_MODULE).hierarchy \
61 $(DOC_MODULE).interfaces \
62 $(DOC_MODULE).prerequisites \
6063 $(DOC_MODULE).types \
6164 $(DOC_MODULE).args
6265
9093 if ENABLE_GTK_DOC
9194 all-local: html-build.stamp
9295
96 ### inspect GStreamer plug-ins; done by documentation maintainer ###
97
98 # only look at the plugins in this module when building inspect .xml stuff
99 INSPECT_REGISTRY=$(top_builddir)/docs/plugins/inspect-registry.xml
100 INSPECT_ENVIRONMENT=\
101 GST_PLUGIN_SYSTEM_PATH= \
102 GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(top_builddir)/plugins:$(top_builddir)/src:$(top_builddir)/gnl \
103 GST_REGISTRY=$(INSPECT_REGISTRY) \
104 $(INSPECT_EXTRA_ENVIRONMENT)
105
106 # update the element and plugin XML descriptions; store in inspect/
107 inspect:
108 mkdir inspect
109
93110 #### scan gobjects; done by documentation maintainer ####
94111 scanobj-update:
95112 -rm scanobj-build.stamp
102119 # TODO: finish elite script that updates the output files of this step
103120 # instead of rewriting them, so that multiple maintainers can generate
104121 # a collective set of args and signals
105 scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles)
122 scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) inspect
106123 @echo '*** Scanning GObjects ***'
107124 if test x"$(srcdir)" != x. ; then \
108125 for f in $(SCANOBJ_FILES); \
109126 do \
110 cp $(srcdir)/$$f . ; \
127 cp $(srcdir)/$$f . ; \
111128 done; \
112129 else \
113 $(INSPECT_ENVIRONMENT) \
130 $(INSPECT_ENVIRONMENT) \
114131 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" \
115 CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" \
132 CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS) $(WARNING_CFLAGS)" \
116133 LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
117134 $(GST_DOC_SCANOBJ) --type-init-func="gst_init(NULL,NULL)" \
118 --module=$(DOC_MODULE) --source=$(PACKAGE) && \
135 --module=$(DOC_MODULE) --source=$(PACKAGE) --inspect-dir="inspect" && \
119136 $(PYTHON) \
120137 $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE); \
121138 fi
122139 touch scanobj-build.stamp
123140
124 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp scanobj-trans-build.stamp
141 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp
125142 @true
126143
127 ### inspect GStreamer plug-ins; done by documentation maintainer ###
128
129 # only look at the plugins in this module when building inspect .xml stuff
130 INSPECT_REGISTRY=$(top_builddir)/docs/plugins/inspect-registry.xml
131 INSPECT_ENVIRONMENT=\
132 GST_PLUGIN_SYSTEM_PATH= \
133 GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(top_builddir)/plugins:$(top_builddir)/src:$(top_builddir)/gnl \
134 GST_REGISTRY=$(INSPECT_REGISTRY) \
135 $(INSPECT_EXTRA_ENVIRONMENT)
136
137 inspect-update: inspect
138 -rm -f $(INSPECT_REGISTRY) inspect-build.stamp
139 $(MAKE) inspect-build.stamp
140
141 if ENABLE_PLUGIN_DOCS
142
143 # FIXME: inspect.stamp should be written to by gst-xmlinspect.py
144 # IF the output changed; see gtkdoc-mktmpl
145 inspect-build.stamp:
146 @echo '*** Rebuilding plugin inspection files ***'
147 if test -d inspect; then rm -rf inspect; fi
148 mkdir inspect
149 if test x"$(srcdir)" != x. ; then \
150 cp $(srcdir)/inspect.stamp . ; \
151 cp $(srcdir)/inspect-build.stamp . ; \
152 else \
153 $(INSPECT_ENVIRONMENT) $(PYTHON) \
154 $(top_srcdir)/common/gst-xmlinspect.py $(PACKAGE) inspect && \
155 echo -n "timestamp" > inspect.stamp && \
156 touch inspect-build.stamp; \
157 fi
158
159 else
160 inspect-build.stamp:
161 @true:
162 endif
163
164144 ### scan headers; done on every build ###
165 scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp inspect-build.stamp scanobj-trans-build.stamp
145 scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp scanobj-trans-build.stamp
166146 if test "x$(top_srcdir)" != "x$(top_builddir)" && \
167147 test -d "$(top_builddir)/gst"; \
168148 then \
185165 if test x"$(srcdir)" != x. ; then \
186166 for f in $(SCANOBJ_FILES) $(SCAN_FILES); \
187167 do \
188 if test -e $(srcdir)/$$f; then cp $(srcdir)/$$f . ; fi; \
168 if test -e $(srcdir)/$$f; then cp $(srcdir)/$$f . ; fi; \
189169 done; \
190170 fi
191171 gtkdoc-mktmpl --module=$(DOC_MODULE) | tee tmpl-build.log
201181 #### build xml; done on every build ####
202182
203183 ### FIXME: make this error out again when docs are fixed for 0.9
204 sgml-build.stamp: tmpl.stamp inspect.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files)
184 sgml-build.stamp: tmpl.stamp scan-build.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files)
205185 @echo '*** Building XML ***'
206186 @-mkdir -p xml
207187 @for a in $(srcdir)/inspect/*.xml; do \
253233 rm -rf xml tmpl html
254234 # clean files copied for nonsrcdir templates build
255235 if test x"$(srcdir)" != x. ; then \
256 rm -rf $(SCANOBJ_FILES) $(SCAN_FILES); \
257 rm -f *.stamp; \
236 rm -rf $(SCANOBJ_FILES) $(SCAN_FILES) $(MAINTAINER_DOC_STAMPS); \
258237 fi
259238 else
260239 all-local:
293272 $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp \
294273 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
295274 if test -e $(srcdir)/html/$(DOC_MODULE).devhelp2; then \
296 $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp2 \
297 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
275 $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp2 \
276 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
298277 fi; \
299 fi)
278 (which gtkdoc-rebase >/dev/null && \
279 gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
280 fi)
300281 uninstall-local:
301 (installfiles=`echo ./html/*.html`; \
302 if test "$$installfiles" = './html/*.html'; \
303 then echo '-- Nothing to uninstall' ; \
282 if test -d $(DESTDIR)$(TARGET_DIR); then \
283 rm -rf $(DESTDIR)$(TARGET_DIR)/*; \
284 rmdir -p $(DESTDIR)$(TARGET_DIR) 2>/dev/null || true; \
304285 else \
305 for i in $$installfiles; do \
306 rmfile=`basename $$i` ; \
307 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \
308 rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \
309 done; \
310 pngfiles=`echo ./html/*.png`; \
311 if test "$$pngfiles" != './html/*.png'; then \
312 for i in $$pngfiles; do \
313 rmfile=`basename $$i` ; \
314 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \
315 rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \
316 done; \
317 fi; \
318 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE).devhelp' ; \
319 rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
320 if test -e $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; then \
321 rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
322 fi; \
323 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/index.sgml' ; \
324 rm -f $(DESTDIR)$(TARGET_DIR)/index.sgml; \
325 if test -e $(DESTDIR)$(TARGET_DIR)/style.css; then \
326 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/style.css' ; \
327 rm -f $(DESTDIR)$(TARGET_DIR)/style.css; \
328 fi; \
329 fi)
330 if test -d $(DESTDIR)$(TARGET_DIR); then rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(TARGET_DIR) 2>/dev/null; fi; true
286 echo '-- Nothing to uninstall' ; \
287 fi;
331288
332289 #
333290 # Checks
381338 fi
382339 touch scanobj-trans-build.stamp
383340
341 check-outdated-docs:
342 $(AM_V_GEN)echo Checking for outdated plugin inspect data ...; \
343 fail=0 ; \
344 if [ -d $(top_srcdir)/.git/ ]; then \
345 files=`find $(srcdir)/inspect/ -name '*xml'`; \
346 for f in $$files; do \
347 ver=`grep '<version>$(PACKAGE_VERSION)</version>' $$f`; \
348 if test "x$$ver" = "x"; then \
349 plugin=`echo $$f | sed -e 's/^.*plugin-//' -e 's/.xml//'`; \
350 # echo "Checking $$plugin $$f"; \
351 pushd "$(top_srcdir)" >/dev/null; \
352 pinit=`git grep -A3 GST_PLUGIN_DEFINE -- ext/ gst/ sys/ | grep "\"$$plugin\""`; \
353 popd >/dev/null; \
354 # echo "[$$pinit]"; \
355 if test "x$$pinit" = "x"; then \
356 printf " **** outdated docs for plugin %-15s: %s\n" $$plugin $$f; \
357 fail=1; \
358 fi; \
359 fi; \
360 done; \
361 fi ; \
362 exit $$fail
363
384364 #
385365 # Require gtk-doc when making dist
386366 #
393373 endif
394374
395375 # FIXME: decide whether we want to dist generated html or not
376 # also this only works, if the project has been build before
377 # we could dist html only if its there, but that might lead to missing html in
378 # tarballs
396379 dist-hook: dist-check-gtkdoc dist-hook-local
397380 mkdir $(distdir)/html
398381 cp html/* $(distdir)/html
399382 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
400383 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
401 -cp $(srcdir)/html/$(DOC_MODULE).devhelp* $(distdir)/html
402384 cd $(distdir) && rm -f $(DISTCLEANFILES)
403
404 .PHONY : dist-hook-local docs
405
385 -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
386
387 .PHONY : dist-hook-local docs check-outdated-docs
388
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.66 for Farsight2 0.0.22.
2 # Generated by GNU Autoconf 2.66 for Farsight2 0.0.23.
33 #
44 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight>.
55 #
172172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
175183 test \$(( 1 + 1 )) = 2 || exit 1"
176184 if (eval "$as_required") 2>/dev/null; then :
177185 as_have_required=yes
528536 # Sed expression to map a string onto a valid variable name.
529537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530538
531
532
533 # Check that we are running under the correct shell.
534539 SHELL=${CONFIG_SHELL-/bin/sh}
535
536 case X$lt_ECHO in
537 X*--fallback-echo)
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540 ;;
541 esac
542
543 ECHO=${lt_ECHO-echo}
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
546 shift
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
549 :
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
552 :
553 else
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
556 fi
557
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
560 shift
561 cat <<_LT_EOF
562 $*
563 _LT_EOF
564 exit 0
565 fi
566
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # if CDPATH is set.
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578 then
579 break
580 fi
581 done
582 fi
583
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
587 :
588 else
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
592 #
593 # So, first we look for a working echo in the user's PATH.
594
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
597 IFS="$lt_save_ifs"
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
602 ECHO="$dir/echo"
603 break
604 fi
605 done
606 IFS="$lt_save_ifs"
607
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
614 ECHO='print -r'
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
621 export CONFIG_SHELL
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 else
624 # Try using printf.
625 ECHO='printf %s\n'
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
629 # Cool, printf works
630 :
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636 export CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
638 export SHELL
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
645 else
646 # maybe with a smaller string...
647 prev=:
648
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651 then
652 break
653 fi
654 prev="$cmd"
655 done
656
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661 else
662 # Oops. We lost completely, so just stick with echo.
663 ECHO=echo
664 fi
665 fi
666 fi
667 fi
668 fi
669 fi
670
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
673 lt_ECHO=$ECHO
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 fi
677
678
679540
680541
681542 test -n "$DJDIR" || exec 7<&0 </dev/null
701562 # Identity of this package.
702563 PACKAGE_NAME='Farsight2'
703564 PACKAGE_TARNAME='farsight2'
704 PACKAGE_VERSION='0.0.22'
705 PACKAGE_STRING='Farsight2 0.0.22'
565 PACKAGE_VERSION='0.0.23'
566 PACKAGE_STRING='Farsight2 0.0.23'
706567 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight'
707568 PACKAGE_URL=''
708569
871732 LIPO
872733 NMEDIT
873734 DSYMUTIL
874 lt_ECHO
875735 RANLIB
876736 AR
877737 OBJDUMP
15901450 # Omit some internal or obsolete options to make the list less imposing.
15911451 # This message is too long to be a string in the A/UX 3.1 sh.
15921452 cat <<_ACEOF
1593 \`configure' configures Farsight2 0.0.22 to adapt to many kinds of systems.
1453 \`configure' configures Farsight2 0.0.23 to adapt to many kinds of systems.
15941454
15951455 Usage: $0 [OPTION]... [VAR=VALUE]...
15961456
16601520
16611521 if test -n "$ac_init_help"; then
16621522 case $ac_init_help in
1663 short | recursive ) echo "Configuration of Farsight2 0.0.22:";;
1523 short | recursive ) echo "Configuration of Farsight2 0.0.23:";;
16641524 esac
16651525 cat <<\_ACEOF
16661526
18311691 test -n "$ac_init_help" && exit $ac_status
18321692 if $ac_init_version; then
18331693 cat <<\_ACEOF
1834 Farsight2 configure 0.0.22
1694 Farsight2 configure 0.0.23
18351695 generated by GNU Autoconf 2.66
18361696
18371697 Copyright (C) 2010 Free Software Foundation, Inc.
23032163 This file contains any messages produced by compilers while
23042164 running configure, to aid debugging if configure makes a mistake.
23052165
2306 It was created by Farsight2 $as_me 0.0.22, which was
2166 It was created by Farsight2 $as_me 0.0.23, which was
23072167 generated by GNU Autoconf 2.66. Invocation command line was
23082168
23092169 $ $0 $@
31232983
31242984 # Define the identity of the package.
31252985 PACKAGE='farsight2'
3126 VERSION='0.0.22'
2986 VERSION='0.0.23'
31272987
31282988
31292989 cat >>confdefs.h <<_ACEOF
31653025
31663026
31673027
3168 PACKAGE_VERSION_MAJOR=$(echo 0.0.22 | cut -d'.' -f1)
3169 PACKAGE_VERSION_MINOR=$(echo 0.0.22 | cut -d'.' -f2)
3170 PACKAGE_VERSION_MICRO=$(echo 0.0.22 | cut -d'.' -f3)
3028 PACKAGE_VERSION_MAJOR=$(echo 0.0.23 | cut -d'.' -f1)
3029 PACKAGE_VERSION_MINOR=$(echo 0.0.23 | cut -d'.' -f2)
3030 PACKAGE_VERSION_MICRO=$(echo 0.0.23 | cut -d'.' -f3)
31713031
31723032
31733033
31783038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
31793039 $as_echo_n "checking nano version... " >&6; }
31803040
3181 NANO=$(echo 0.0.22 | cut -d'.' -f4)
3041 NANO=$(echo 0.0.23 | cut -d'.' -f4)
31823042
31833043 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
31843044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
33053165
33063166
33073167 FS2_CURRENT=5
3308 FS2_REVISION=2
3168 FS2_REVISION=3
33093169 FS2_AGE=5
3310 FS2_LIBVERSION=5:2:5
3170 FS2_LIBVERSION=5:3:5
33113171
33123172
33133173
33353195
33363196
33373197
3338 macro_version='2.2.6b'
3339 macro_revision='1.3017'
3198 macro_version='2.2.10'
3199 macro_revision='1.3175'
33403200
33413201
33423202
33513211
33523212
33533213 ltmain="$ac_aux_dir/ltmain.sh"
3214
3215 # Backslashify metacharacters that are still active within
3216 # double-quoted strings.
3217 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3218
3219 # Same as above, but do not quote variable references.
3220 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3221
3222 # Sed substitution to delay expansion of an escaped shell variable in a
3223 # double_quote_subst'ed string.
3224 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3225
3226 # Sed substitution to delay expansion of an escaped single quote.
3227 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3228
3229 # Sed substitution to avoid accidental globbing in evaled expressions
3230 no_glob_subst='s/\*/\\\*/g'
3231
3232 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3233 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3234 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3235
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3237 $as_echo_n "checking how to print strings... " >&6; }
3238 # Test print first, because it will be a builtin if present.
3239 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
3240 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3241 ECHO='print -r --'
3242 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3243 ECHO='printf %s\n'
3244 else
3245 # Use this function as a fallback that always works.
3246 func_fallback_echo ()
3247 {
3248 eval 'cat <<_LTECHO_EOF
3249 $1
3250 _LTECHO_EOF'
3251 }
3252 ECHO='func_fallback_echo'
3253 fi
3254
3255 # func_echo_all arg...
3256 # Invoke $ECHO with all args, space-separated.
3257 func_echo_all ()
3258 {
3259 $ECHO ""
3260 }
3261
3262 case "$ECHO" in
3263 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3264 $as_echo "printf" >&6; } ;;
3265 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3266 $as_echo "print -r" >&6; } ;;
3267 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3268 $as_echo "cat" >&6; } ;;
3269 esac
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
33543283
33553284 DEPDIR="${am__leading_dot}deps"
33563285
47964725 NM="$lt_cv_path_NM"
47974726 else
47984727 # Didn't find any BSD compatible name lister, look for dumpbin.
4799 if test -n "$ac_tool_prefix"; then
4800 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4728 if test -n "$DUMPBIN"; then :
4729 # Let the user override the test.
4730 else
4731 if test -n "$ac_tool_prefix"; then
4732 for ac_prog in dumpbin "link -dump"
48014733 do
48024734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
48034735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
48414773 fi
48424774 if test -z "$DUMPBIN"; then
48434775 ac_ct_DUMPBIN=$DUMPBIN
4844 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4776 for ac_prog in dumpbin "link -dump"
48454777 do
48464778 # Extract the first word of "$ac_prog", so it can be a program name with args.
48474779 set dummy $ac_prog; ac_word=$2
48964828 fi
48974829 fi
48984830
4831 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4832 *COFF*)
4833 DUMPBIN="$DUMPBIN -symbols"
4834 ;;
4835 *)
4836 DUMPBIN=:
4837 ;;
4838 esac
4839 fi
48994840
49004841 if test "$DUMPBIN" != ":"; then
49014842 NM="$DUMPBIN"
49154856 else
49164857 lt_cv_nm_interface="BSD nm"
49174858 echo "int some_variable = 0;" > conftest.$ac_ext
4918 (eval echo "\"\$as_me:4919: $ac_compile\"" >&5)
4859 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
49194860 (eval "$ac_compile" 2>conftest.err)
49204861 cat conftest.err >&5
4921 (eval echo "\"\$as_me:4922: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4862 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
49224863 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
49234864 cat conftest.err >&5
4924 (eval echo "\"\$as_me:4925: output\"" >&5)
4865 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
49254866 cat conftest.out >&5
49264867 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
49274868 lt_cv_nm_interface="MS dumpbin"
49754916 # the test eventually succeeds (with a max line length of 256k).
49764917 # Instead, let's just punt: use the minimum linelength reported by
49774918 # all of the supported platforms: 8192 (on NT/2K/XP).
4919 lt_cv_sys_max_cmd_len=8192;
4920 ;;
4921
4922 mint*)
4923 # On MiNT this can take a long time and run out of memory.
49784924 lt_cv_sys_max_cmd_len=8192;
49794925 ;;
49804926
50424988 # If test is not a shell built-in, we'll probably end up computing a
50434989 # maximum length that is only half of the actual maximum length, but
50444990 # we can't tell.
5045 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5046 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4991 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4992 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
50474993 test $i != 17 # 1/2 MB should be enough
50484994 do
50494995 i=`expr $i + 1`
53145260 # Base MSYS/MinGW do not provide the 'file' command needed by
53155261 # func_win32_libid shell function, so use a weaker test based on 'objdump',
53165262 # unless we find 'file', for example because we are cross-compiling.
5317 if ( file / ) >/dev/null 2>&1; then
5263 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5264 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
53185265 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
53195266 lt_cv_file_magic_cmd='func_win32_libid'
53205267 else
5321 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5268 # Keep this pattern in sync with the one in func_win32_libid.
5269 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
53225270 lt_cv_file_magic_cmd='$OBJDUMP -f'
53235271 fi
53245272 ;;
53255273
5326 cegcc)
5274 cegcc*)
53275275 # use the weaker test based on 'objdump'. See mingw*.
53285276 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
53295277 lt_cv_file_magic_cmd='$OBJDUMP -f'
53535301 lt_cv_deplibs_check_method=pass_all
53545302 ;;
53555303
5304 haiku*)
5305 lt_cv_deplibs_check_method=pass_all
5306 ;;
5307
53565308 hpux10.20* | hpux11*)
53575309 lt_cv_file_magic_cmd=/usr/bin/file
53585310 case $host_cpu in
53615313 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
53625314 ;;
53635315 hppa*64*)
5364 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5316 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
53655317 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
53665318 ;;
53675319 *)
5368 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5320 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
53695321 lt_cv_file_magic_test_file=/usr/lib/libc.sl
53705322 ;;
53715323 esac
53875339 ;;
53885340
53895341 # This must be Linux ELF.
5390 linux* | k*bsd*-gnu)
5342 linux* | k*bsd*-gnu | kopensolaris*-gnu)
53915343 lt_cv_deplibs_check_method=pass_all
53925344 ;;
53935345
58035755 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
58045756 fi
58055757
5758 case $host_os in
5759 darwin*)
5760 lock_old_archive_extraction=yes ;;
5761 *)
5762 lock_old_archive_extraction=no ;;
5763 esac
5764
5765
5766
5767
5768
5769
58065770
58075771
58085772
59725936 test $ac_status = 0; }; then
59735937 # Now try to grab the symbols.
59745938 nlist=conftest.nm
5975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5976 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5940 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
59775941 ac_status=$?
59785942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
59795943 test $ac_status = 0; } && test -s "$nlist"; then
61276091 ;;
61286092 *-*-irix6*)
61296093 # Find out which ABI we are using.
6130 echo '#line 6131 "configure"' > conftest.$ac_ext
6094 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
61316095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
61326096 (eval $ac_compile) 2>&5
61336097 ac_status=$?
68396803 fi
68406804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
68416805 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6807 $as_echo_n "checking for -force_load linker flag... " >&6; }
6808 if test "${lt_cv_ld_force_load+set}" = set; then :
6809 $as_echo_n "(cached) " >&6
6810 else
6811 lt_cv_ld_force_load=no
6812 cat > conftest.c << _LT_EOF
6813 int forced_loaded() { return 2;}
6814 _LT_EOF
6815 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6816 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6817 echo "$AR cru libconftest.a conftest.o" >&5
6818 $AR cru libconftest.a conftest.o 2>&5
6819 echo "$RANLIB libconftest.a" >&5
6820 $RANLIB libconftest.a 2>&5
6821 cat > conftest.c << _LT_EOF
6822 int main() { return 0;}
6823 _LT_EOF
6824 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6825 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6826 _lt_result=$?
6827 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6828 lt_cv_ld_force_load=yes
6829 else
6830 cat conftest.err >&5
6831 fi
6832 rm -f conftest.err libconftest.a conftest conftest.c
6833 rm -rf conftest.dSYM
6834
6835 fi
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6837 $as_echo "$lt_cv_ld_force_load" >&6; }
68426838 case $host_os in
68436839 rhapsody* | darwin1.[012])
68446840 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
68666862 else
68676863 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
68686864 fi
6869 if test "$DSYMUTIL" != ":"; then
6865 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
68706866 _lt_dsymutil='~$DSYMUTIL $lib || :'
68716867 else
68726868 _lt_dsymutil=
71567152
71577153
71587154
7155
7156
71597157 # Set options
71607158
71617159
73067304
73077305
73087306
7307
73097308 test -z "$LN_S" && LN_S="ln -s"
73107309
73117310
73517350 cat >>confdefs.h <<_ACEOF
73527351 #define LT_OBJDIR "$lt_cv_objdir/"
73537352 _ACEOF
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
73677353
73687354
73697355
73807366 ;;
73817367 esac
73827368
7383 # Sed substitution that helps us do robust quoting. It backslashifies
7384 # metacharacters that are still active within double-quoted strings.
7385 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7386
7387 # Same as above, but do not quote variable references.
7388 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7389
7390 # Sed substitution to delay expansion of an escaped shell variable in a
7391 # double_quote_subst'ed string.
7392 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7393
7394 # Sed substitution to delay expansion of an escaped single quote.
7395 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7396
7397 # Sed substitution to avoid accidental globbing in evaled expressions
7398 no_glob_subst='s/\*/\\\*/g'
7399
74007369 # Global variables:
74017370 ofile=libtool
74027371 can_build_shared=yes
74257394 *) break;;
74267395 esac
74277396 done
7428 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7397 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
74297398
74307399
74317400 # Only perform the check for file, if the check method requires it
76347603 lt_prog_compiler_no_builtin_flag=
76357604
76367605 if test "$GCC" = yes; then
7637 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7606 case $cc_basename in
7607 nvcc*)
7608 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7609 *)
7610 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7611 esac
76387612
76397613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
76407614 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
76547628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
76557629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
76567630 -e 's:$: $lt_compiler_flag:'`
7657 (eval echo "\"\$as_me:7658: $lt_compile\"" >&5)
7631 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
76587632 (eval "$lt_compile" 2>conftest.err)
76597633 ac_status=$?
76607634 cat conftest.err >&5
7661 echo "$as_me:7662: \$? = $ac_status" >&5
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76627636 if (exit $ac_status) && test -s "$ac_outfile"; then
76637637 # The compiler can only warn and ignore the option if not recognized
76647638 # So say no if there are warnings other than the usual output.
7665 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7639 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
76667640 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
76677641 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
76687642 lt_cv_prog_compiler_rtti_exceptions=yes
77407714 lt_prog_compiler_pic='-fno-common'
77417715 ;;
77427716
7717 haiku*)
7718 # PIC is the default for Haiku.
7719 # The "-static" flag exists, but is broken.
7720 lt_prog_compiler_static=
7721 ;;
7722
77437723 hpux*)
77447724 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
77457725 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
77807760
77817761 *)
77827762 lt_prog_compiler_pic='-fPIC'
7763 ;;
7764 esac
7765
7766 case $cc_basename in
7767 nvcc*) # Cuda Compiler Driver 2.2
7768 lt_prog_compiler_wl='-Xlinker '
7769 lt_prog_compiler_pic='-Xcompiler -fPIC'
77837770 ;;
77847771 esac
77857772 else
78237810 lt_prog_compiler_static='-non_shared'
78247811 ;;
78257812
7826 linux* | k*bsd*-gnu)
7813 linux* | k*bsd*-gnu | kopensolaris*-gnu)
78277814 case $cc_basename in
78287815 # old Intel for x86_64 which still supported -KPIC.
78297816 ecc*)
78447831 lt_prog_compiler_pic='--shared'
78457832 lt_prog_compiler_static='--static'
78467833 ;;
7847 pgcc* | pgf77* | pgf90* | pgf95*)
7834 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
78487835 # Portland Group compilers (*not* the Pentium gcc compiler,
78497836 # which looks to be a dead project)
78507837 lt_prog_compiler_wl='-Wl,'
78567843 # All Alpha code is PIC.
78577844 lt_prog_compiler_static='-non_shared'
78587845 ;;
7859 xl*)
7860 # IBM XL C 8.0/Fortran 10.1 on PPC
7846 xl* | bgxl* | bgf* | mpixl*)
7847 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
78617848 lt_prog_compiler_wl='-Wl,'
78627849 lt_prog_compiler_pic='-qpic'
78637850 lt_prog_compiler_static='-qstaticlink'
78647851 ;;
78657852 *)
78667853 case `$CC -V 2>&1 | sed 5q` in
7854 *Sun\ F* | *Sun*Fortran*)
7855 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7856 lt_prog_compiler_pic='-KPIC'
7857 lt_prog_compiler_static='-Bstatic'
7858 lt_prog_compiler_wl=''
7859 ;;
78677860 *Sun\ C*)
78687861 # Sun C 5.9
78697862 lt_prog_compiler_pic='-KPIC'
78707863 lt_prog_compiler_static='-Bstatic'
78717864 lt_prog_compiler_wl='-Wl,'
78727865 ;;
7873 *Sun\ F*)
7874 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7875 lt_prog_compiler_pic='-KPIC'
7876 lt_prog_compiler_static='-Bstatic'
7877 lt_prog_compiler_wl=''
7878 ;;
78797866 esac
78807867 ;;
78817868 esac
79067893 lt_prog_compiler_pic='-KPIC'
79077894 lt_prog_compiler_static='-Bstatic'
79087895 case $cc_basename in
7909 f77* | f90* | f95*)
7896 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
79107897 lt_prog_compiler_wl='-Qoption ld ';;
79117898 *)
79127899 lt_prog_compiler_wl='-Wl,';;
79937980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
79947981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
79957982 -e 's:$: $lt_compiler_flag:'`
7996 (eval echo "\"\$as_me:7997: $lt_compile\"" >&5)
7983 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
79977984 (eval "$lt_compile" 2>conftest.err)
79987985 ac_status=$?
79997986 cat conftest.err >&5
8000 echo "$as_me:8001: \$? = $ac_status" >&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80017988 if (exit $ac_status) && test -s "$ac_outfile"; then
80027989 # The compiler can only warn and ignore the option if not recognized
80037990 # So say no if there are warnings other than the usual output.
8004 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7991 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
80057992 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
80067993 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
80077994 lt_cv_prog_compiler_pic_works=yes
80498036 if test -s conftest.err; then
80508037 # Append any errors to the config.log.
80518038 cat conftest.err 1>&5
8052 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8039 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
80538040 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
80548041 if diff conftest.exp conftest.er2 >/dev/null; then
80558042 lt_cv_prog_compiler_static_works=yes
80988085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
80998086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
81008087 -e 's:$: $lt_compiler_flag:'`
8101 (eval echo "\"\$as_me:8102: $lt_compile\"" >&5)
8088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
81028089 (eval "$lt_compile" 2>out/conftest.err)
81038090 ac_status=$?
81048091 cat out/conftest.err >&5
8105 echo "$as_me:8106: \$? = $ac_status" >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81068093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
81078094 then
81088095 # The compiler can only warn and ignore the option if not recognized
81098096 # So say no if there are warnings
8110 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8097 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
81118098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
81128099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
81138100 lt_cv_prog_compiler_c_o=yes
81538140 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
81548141 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
81558142 -e 's:$: $lt_compiler_flag:'`
8156 (eval echo "\"\$as_me:8157: $lt_compile\"" >&5)
8143 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
81578144 (eval "$lt_compile" 2>out/conftest.err)
81588145 ac_status=$?
81598146 cat out/conftest.err >&5
8160 echo "$as_me:8161: \$? = $ac_status" >&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81618148 if (exit $ac_status) && test -s out/conftest2.$ac_objext
81628149 then
81638150 # The compiler can only warn and ignore the option if not recognized
81648151 # So say no if there are warnings
8165 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8152 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
81668153 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
81678154 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
81688155 lt_cv_prog_compiler_c_o=yes
82758262 esac
82768263
82778264 ld_shlibs=yes
8265
8266 # On some targets, GNU ld is compatible enough with the native linker
8267 # that we're better off using the native interface for both.
8268 lt_use_gnu_ld_interface=no
82788269 if test "$with_gnu_ld" = yes; then
8270 case $host_os in
8271 aix*)
8272 # The AIX port of GNU ld has always aspired to compatibility
8273 # with the native linker. However, as the warning in the GNU ld
8274 # block says, versions before 2.19.5* couldn't really create working
8275 # shared libraries, regardless of the interface used.
8276 case `$LD -v 2>&1` in
8277 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8278 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8279 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8280 *)
8281 lt_use_gnu_ld_interface=yes
8282 ;;
8283 esac
8284 ;;
8285 *)
8286 lt_use_gnu_ld_interface=yes
8287 ;;
8288 esac
8289 fi
8290
8291 if test "$lt_use_gnu_ld_interface" = yes; then
82798292 # If archive_cmds runs LD, not CC, wlarc should be empty
82808293 wlarc='${wl}'
82818294
82938306 fi
82948307 supports_anon_versioning=no
82958308 case `$LD -v 2>&1` in
8309 *GNU\ gold*) supports_anon_versioning=yes ;;
82968310 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
82978311 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
82988312 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
83088322 ld_shlibs=no
83098323 cat <<_LT_EOF 1>&2
83108324
8311 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8325 *** Warning: the GNU linker, at least up to release 2.19, is reported
83128326 *** to be unable to reliably create shared libraries on AIX.
83138327 *** Therefore, libtool is disabling shared libraries support. If you
8314 *** really care for shared libraries, you may want to modify your PATH
8315 *** so that a non-GNU linker is found, and then restart.
8328 *** really care for shared libraries, you may want to install binutils
8329 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8330 *** You will then need to restart the configuration process.
83168331
83178332 _LT_EOF
83188333 fi
83488363 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
83498364 # as there is no search path for DLLs.
83508365 hardcode_libdir_flag_spec='-L$libdir'
8366 export_dynamic_flag_spec='${wl}--export-all-symbols'
83518367 allow_undefined_flag=unsupported
83528368 always_export_symbols=no
83538369 enable_shared_with_static_runtimes=yes
83698385 fi
83708386 ;;
83718387
8388 haiku*)
8389 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8390 link_all_deplibs=yes
8391 ;;
8392
83728393 interix[3-9]*)
83738394 hardcode_direct=no
83748395 hardcode_shlibpath_var=no
83848405 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
83858406 ;;
83868407
8387 gnu* | linux* | tpf* | k*bsd*-gnu)
8408 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
83888409 tmp_diet=no
83898410 if test "$host_os" = linux-dietlibc; then
83908411 case $cc_basename in
83988419 tmp_sharedflag='-shared'
83998420 case $cc_basename,$host_cpu in
84008421 pgcc*) # Portland Group C compiler
8401 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8422 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
84028423 tmp_addflag=' $pic_flag'
84038424 ;;
8404 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8405 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8425 pgf77* | pgf90* | pgf95* | pgfortran*)
8426 # Portland Group f77 and f90 compilers
8427 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
84068428 tmp_addflag=' $pic_flag -Mnomain' ;;
84078429 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
84088430 tmp_addflag=' -i_dynamic' ;;
84138435 lf95*) # Lahey Fortran 8.1
84148436 whole_archive_flag_spec=
84158437 tmp_sharedflag='--shared' ;;
8416 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8438 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
84178439 tmp_sharedflag='-qmkshrobj'
84188440 tmp_addflag= ;;
8441 nvcc*) # Cuda Compiler Driver 2.2
8442 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8443 compiler_needs_object=yes
8444 ;;
84198445 esac
84208446 case `$CC -V 2>&1 | sed 5q` in
84218447 *Sun\ C*) # Sun C 5.9
8422 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8448 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
84238449 compiler_needs_object=yes
84248450 tmp_sharedflag='-G' ;;
84258451 *Sun\ F*) # Sun Fortran 8.3
84358461 fi
84368462
84378463 case $cc_basename in
8438 xlf*)
8464 xlf* | bgf* | bgxlf* | mpixlf*)
84398465 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
84408466 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
84418467 hardcode_libdir_flag_spec=
84428468 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8443 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8469 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
84448470 if test "x$supports_anon_versioning" = xyes; then
84458471 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
84468472 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
84478473 echo "local: *; };" >> $output_objdir/$libname.ver~
8448 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8474 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
84498475 fi
84508476 ;;
84518477 esac
85668592 else
85678593 # If we're using GNU nm, then we don't want the "-C" option.
85688594 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8595 # Also, AIX nm treats weak defined symbols like other global
8596 # defined symbols, whereas GNU nm marks them as "W".
85698597 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8570 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8598 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
85718599 else
85728600 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
85738601 fi
86858713 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
86868714
86878715 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8688 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8716 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
86898717 else
86908718 if test "$host_cpu" = ia64; then
86918719 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
87298757 # -berok will link without error, but may produce a broken library.
87308758 no_undefined_flag=' ${wl}-bernotok'
87318759 allow_undefined_flag=' ${wl}-berok'
8732 # Exported symbols can be pulled into shared objects from archives
8733 whole_archive_flag_spec='$convenience'
8760 if test "$with_gnu_ld" = yes; then
8761 # We only use this code for GNU lds that support --whole-archive.
8762 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8763 else
8764 # Exported symbols can be pulled into shared objects from archives
8765 whole_archive_flag_spec='$convenience'
8766 fi
87348767 archive_cmds_need_lc=yes
87358768 # This is similar to how AIX traditionally builds its shared libraries.
87368769 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
87698802 # Tell ltmain to make .dll files, not .so files.
87708803 shrext_cmds=".dll"
87718804 # FIXME: Setting linknames here is a bad hack.
8772 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8805 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
87738806 # The linker will automatically build a .lib file if we build a DLL.
87748807 old_archive_from_new_cmds='true'
87758808 # FIXME: Should let the user specify the lib program.
87858818 hardcode_direct=no
87868819 hardcode_automatic=yes
87878820 hardcode_shlibpath_var=unsupported
8788 whole_archive_flag_spec=''
8821 if test "$lt_cv_ld_force_load" = "yes"; then
8822 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
8823 else
8824 whole_archive_flag_spec=''
8825 fi
87898826 link_all_deplibs=yes
87908827 allow_undefined_flag="$_lt_dar_allow_undefined"
87918828 case $cc_basename in
87938830 *) _lt_dar_can_shared=$GCC ;;
87948831 esac
87958832 if test "$_lt_dar_can_shared" = "yes"; then
8796 output_verbose_link_cmd=echo
8833 output_verbose_link_cmd=func_echo_all
87978834 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
87988835 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
87998836 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
88598896 ;;
88608897
88618898 hpux10*)
8862 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8899 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
88638900 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
88648901 else
88658902 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
88788915 ;;
88798916
88808917 hpux11*)
8881 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8918 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
88828919 case $host_cpu in
88838920 hppa*64*)
88848921 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
88998936 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
89008937 ;;
89018938 *)
8902 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8939
8940 # Older versions of the 11.00 compiler do not understand -b yet
8941 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8943 $as_echo_n "checking if $CC understands -b... " >&6; }
8944 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8945 $as_echo_n "(cached) " >&6
8946 else
8947 lt_cv_prog_compiler__b=no
8948 save_LDFLAGS="$LDFLAGS"
8949 LDFLAGS="$LDFLAGS -b"
8950 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8951 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8952 # The linker can only warn and ignore the option if not recognized
8953 # So say no if there are warnings
8954 if test -s conftest.err; then
8955 # Append any errors to the config.log.
8956 cat conftest.err 1>&5
8957 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8958 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8959 if diff conftest.exp conftest.er2 >/dev/null; then
8960 lt_cv_prog_compiler__b=yes
8961 fi
8962 else
8963 lt_cv_prog_compiler__b=yes
8964 fi
8965 fi
8966 $RM -r conftest*
8967 LDFLAGS="$save_LDFLAGS"
8968
8969 fi
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8971 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8972
8973 if test x"$lt_cv_prog_compiler__b" = xyes; then
8974 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8975 else
8976 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8977 fi
8978
89038979 ;;
89048980 esac
89058981 fi
89279003
89289004 irix5* | irix6* | nonstopux*)
89299005 if test "$GCC" = yes; then
8930 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9006 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
89319007 # Try to use the -exported_symbol ld option, if it does not
89329008 # work, assume that -exports_file does not work either and
89339009 # implicitly export all symbols.
89389014 int foo(void) {}
89399015 _ACEOF
89409016 if ac_fn_c_try_link "$LINENO"; then :
8941 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9017 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
89429018
89439019 fi
89449020 rm -f core conftest.err conftest.$ac_objext \
89459021 conftest$ac_exeext conftest.$ac_ext
89469022 LDFLAGS="$save_LDFLAGS"
89479023 else
8948 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8949 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9024 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9025 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
89509026 fi
89519027 archive_cmds_need_lc='no'
89529028 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
90089084 hardcode_libdir_flag_spec='-L$libdir'
90099085 hardcode_minus_L=yes
90109086 allow_undefined_flag=unsupported
9011 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9087 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
90129088 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
90139089 ;;
90149090
90159091 osf3*)
90169092 if test "$GCC" = yes; then
90179093 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9018 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9094 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
90199095 else
90209096 allow_undefined_flag=' -expect_unresolved \*'
9021 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9097 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
90229098 fi
90239099 archive_cmds_need_lc='no'
90249100 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
90289104 osf4* | osf5*) # as osf3* with the addition of -msym flag
90299105 if test "$GCC" = yes; then
90309106 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9031 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9107 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
90329108 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
90339109 else
90349110 allow_undefined_flag=' -expect_unresolved \*'
9035 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9111 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
90369112 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9037 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9113 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
90389114
90399115 # Both c and cxx compiler support -rpath directly
90409116 hardcode_libdir_flag_spec='-rpath $libdir'
92379313 # to ld, don't add -lc before -lgcc.
92389314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
92399315 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9240 $RM conftest*
9241 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9242
9243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9316 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9317 $as_echo_n "(cached) " >&6
9318 else
9319 $RM conftest*
9320 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9321
9322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
92449323 (eval $ac_compile) 2>&5
92459324 ac_status=$?
92469325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
92479326 test $ac_status = 0; } 2>conftest.err; then
9248 soname=conftest
9249 lib=conftest
9250 libobjs=conftest.$ac_objext
9251 deplibs=
9252 wl=$lt_prog_compiler_wl
9253 pic_flag=$lt_prog_compiler_pic
9254 compiler_flags=-v
9255 linker_flags=-v
9256 verstring=
9257 output_objdir=.
9258 libname=conftest
9259 lt_save_allow_undefined_flag=$allow_undefined_flag
9260 allow_undefined_flag=
9261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9327 soname=conftest
9328 lib=conftest
9329 libobjs=conftest.$ac_objext
9330 deplibs=
9331 wl=$lt_prog_compiler_wl
9332 pic_flag=$lt_prog_compiler_pic
9333 compiler_flags=-v
9334 linker_flags=-v
9335 verstring=
9336 output_objdir=.
9337 libname=conftest
9338 lt_save_allow_undefined_flag=$allow_undefined_flag
9339 allow_undefined_flag=
9340 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
92629341 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
92639342 ac_status=$?
92649343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
92659344 test $ac_status = 0; }
9266 then
9267 archive_cmds_need_lc=no
9268 else
9269 archive_cmds_need_lc=yes
9270 fi
9271 allow_undefined_flag=$lt_save_allow_undefined_flag
9272 else
9273 cat conftest.err 1>&5
9274 fi
9275 $RM conftest*
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9277 $as_echo "$archive_cmds_need_lc" >&6; }
9345 then
9346 lt_cv_archive_cmds_need_lc=no
9347 else
9348 lt_cv_archive_cmds_need_lc=yes
9349 fi
9350 allow_undefined_flag=$lt_save_allow_undefined_flag
9351 else
9352 cat conftest.err 1>&5
9353 fi
9354 $RM conftest*
9355
9356 fi
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9358 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9359 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
92789360 ;;
92799361 esac
92809362 fi
94459527 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
94469528 *) lt_awk_arg="/^libraries:/" ;;
94479529 esac
9448 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9449 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9530 case $host_os in
9531 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9532 *) lt_sed_strip_eq="s,=/,/,g" ;;
9533 esac
9534 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9535 case $lt_search_path_spec in
9536 *\;*)
94509537 # if the path contains ";" then we assume it to be the separator
94519538 # otherwise default to the standard path separator (i.e. ":") - it is
94529539 # assumed that no part of a normal pathname contains ";" but that should
94539540 # okay in the real world where ";" in dirpaths is itself problematic.
9454 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9455 else
9456 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9457 fi
9541 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9542 ;;
9543 *)
9544 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9545 ;;
9546 esac
94589547 # Ok, now we have the path, separated by spaces, we can step through it
94599548 # and add multilib dir if necessary.
94609549 lt_tmp_lt_search_path_spec=
94679556 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
94689557 fi
94699558 done
9470 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9559 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
94719560 BEGIN {RS=" "; FS="/|\n";} {
94729561 lt_foo="";
94739562 lt_count=0;
94879576 if (lt_foo != "") { lt_freq[lt_foo]++; }
94889577 if (lt_freq[lt_foo] == 1) { print lt_foo; }
94899578 }'`
9490 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9579 # AWK program above erroneously prepends '/' to C:/dos/paths
9580 # for these hosts.
9581 case $host_os in
9582 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9583 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9584 esac
9585 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
94919586 else
94929587 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
94939588 fi
95759670 m68k)
95769671 library_names_spec='$libname.ixlibrary $libname.a'
95779672 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9578 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'
9673 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
95799674 ;;
95809675 esac
95819676 ;;
96289723 cygwin*)
96299724 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
96309725 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9631 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9726
9727 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
96329728 ;;
96339729 mingw* | cegcc*)
96349730 # MinGW DLLs use traditional 'lib' prefix
96359731 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9636 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9637 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9638 # It is most probably a Windows format PATH printed by
9639 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9640 # path with ; separators, and with drive letters. We can handle the
9641 # drive letters (cygwin fileutils understands them), so leave them,
9642 # especially as we might pass files found there to a mingw objdump,
9643 # which wouldn't understand a cygwinified path. Ahh.
9644 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9645 else
9646 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9647 fi
96489732 ;;
96499733 pw32*)
96509734 # pw32 DLLs use 'pw' prefix rather than 'lib'
97019785 *) objformat=elf ;;
97029786 esac
97039787 fi
9704 # Handle Gentoo/FreeBSD as it was Linux
9705 case $host_vendor in
9706 gentoo)
9707 version_type=linux ;;
9708 *)
9709 version_type=freebsd-$objformat ;;
9710 esac
9711
9788 version_type=freebsd-$objformat
97129789 case $version_type in
97139790 freebsd-elf*)
97149791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
97189795 freebsd-*)
97199796 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
97209797 need_version=yes
9721 ;;
9722 linux)
9723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9724 soname_spec='${libname}${release}${shared_ext}$major'
9725 need_lib_prefix=no
9726 need_version=no
97279798 ;;
97289799 esac
97299800 shlibpath_var=LD_LIBRARY_PATH
97549825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
97559826 soname_spec='${libname}${release}${shared_ext}$major'
97569827 shlibpath_var=LD_LIBRARY_PATH
9828 hardcode_into_libs=yes
9829 ;;
9830
9831 haiku*)
9832 version_type=linux
9833 need_lib_prefix=no
9834 need_version=no
9835 dynamic_linker="$host_os runtime_loader"
9836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9837 soname_spec='${libname}${release}${shared_ext}$major'
9838 shlibpath_var=LIBRARY_PATH
9839 shlibpath_overrides_runpath=yes
9840 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
97579841 hardcode_into_libs=yes
97589842 ;;
97599843
97999883 soname_spec='${libname}${release}${shared_ext}$major'
98009884 ;;
98019885 esac
9802 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9886 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
98039887 postinstall_cmds='chmod 555 $lib'
9888 # or fails outright, so override atomically:
9889 install_override_mode=555
98049890 ;;
98059891
98069892 interix[3-9]*)
98589944 ;;
98599945
98609946 # This must be Linux ELF.
9861 linux* | k*bsd*-gnu)
9947 linux* | k*bsd*-gnu | kopensolaris*-gnu)
98629948 version_type=linux
98639949 need_lib_prefix=no
98649950 need_version=no
98679953 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
98689954 shlibpath_var=LD_LIBRARY_PATH
98699955 shlibpath_overrides_runpath=no
9956
98709957 # Some binutils ld are patched to set DT_RUNPATH
9871 save_LDFLAGS=$LDFLAGS
9872 save_libdir=$libdir
9873 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9874 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 lt_cv_shlibpath_overrides_runpath=no
9962 save_LDFLAGS=$LDFLAGS
9963 save_libdir=$libdir
9964 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9965 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98769967 /* end confdefs.h. */
98779968
98789969 int
98859976 _ACEOF
98869977 if ac_fn_c_try_link "$LINENO"; then :
98879978 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9888 shlibpath_overrides_runpath=yes
9979 lt_cv_shlibpath_overrides_runpath=yes
98899980 fi
98909981 fi
98919982 rm -f core conftest.err conftest.$ac_objext \
98929983 conftest$ac_exeext conftest.$ac_ext
9893 LDFLAGS=$save_LDFLAGS
9894 libdir=$save_libdir
9984 LDFLAGS=$save_LDFLAGS
9985 libdir=$save_libdir
9986
9987 fi
9988
9989 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
98959990
98969991 # This implies no fast_install, which is unacceptable.
98979992 # Some rework will be needed to allow for fast_install
98989993 # before this can be enabled.
98999994 hardcode_into_libs=yes
99009995
9996 # Add ABI-specific directories to the system library path.
9997 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9998
99019999 # Append ld.so.conf contents to the search path
990210000 if test -f /etc/ld.so.conf; then
9903 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9904 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10001 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10002 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10003
990510004 fi
990610005
990710006 # We used to test for /lib/ld.so.1 and disable shared libraries on
1020310302
1020410303
1020510304
10305
10306
10307
10308
10309
1020610310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1020710311 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1020810312 hardcode_action=
1053310637 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1053410638 lt_status=$lt_dlunknown
1053510639 cat > conftest.$ac_ext <<_LT_EOF
10536 #line 10537 "configure"
10640 #line $LINENO "configure"
1053710641 #include "confdefs.h"
1053810642
1053910643 #if HAVE_DLFCN_H
1057410678 # endif
1057510679 #endif
1057610680
10577 void fnord() { int i=42;}
10681 /* When -fvisbility=hidden is used, assume the code has been annotated
10682 correspondingly for the symbols needed. */
10683 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10684 void fnord () __attribute__((visibility("default")));
10685 #endif
10686
10687 void fnord () { int i=42; }
1057810688 int main ()
1057910689 {
1058010690 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1058310693 if (self)
1058410694 {
1058510695 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10586 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10696 else
10697 {
10698 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10699 else puts (dlerror ());
10700 }
1058710701 /* dlclose (self); */
1058810702 }
1058910703 else
1062910743 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1063010744 lt_status=$lt_dlunknown
1063110745 cat > conftest.$ac_ext <<_LT_EOF
10632 #line 10633 "configure"
10746 #line $LINENO "configure"
1063310747 #include "confdefs.h"
1063410748
1063510749 #if HAVE_DLFCN_H
1067010784 # endif
1067110785 #endif
1067210786
10673 void fnord() { int i=42;}
10787 /* When -fvisbility=hidden is used, assume the code has been annotated
10788 correspondingly for the symbols needed. */
10789 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10790 void fnord () __attribute__((visibility("default")));
10791 #endif
10792
10793 void fnord () { int i=42; }
1067410794 int main ()
1067510795 {
1067610796 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1067910799 if (self)
1068010800 {
1068110801 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10682 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10802 else
10803 {
10804 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10805 else puts (dlerror ());
10806 }
1068310807 /* dlclose (self); */
1068410808 }
1068510809 else
1148711611
1148811612
1148911613
11490 NICE_REQUIRED=0.0.9
11614 NICE_REQUIRED=0.1.0
1149111615
1149211616
1149311617 pkg_failed=no
1581415938 # report actual input values of CONFIG_FILES etc. instead of their
1581515939 # values after options handling.
1581615940 ac_log="
15817 This file was extended by Farsight2 $as_me 0.0.22, which was
15941 This file was extended by Farsight2 $as_me 0.0.23, which was
1581815942 generated by GNU Autoconf 2.66. Invocation command line was
1581915943
1582015944 CONFIG_FILES = $CONFIG_FILES
1588016004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1588116005 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1588216006 ac_cs_version="\\
15883 Farsight2 config.status 0.0.22
16007 Farsight2 config.status 0.0.23
1588416008 configured by $0, generated by GNU Autoconf 2.66,
1588516009 with options \\"\$ac_cs_config\\"
1588616010
1600316127 sed_quote_subst='$sed_quote_subst'
1600416128 double_quote_subst='$double_quote_subst'
1600516129 delay_variable_subst='$delay_variable_subst'
16006 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16007 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16008 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16009 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16010 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16011 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16012 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16013 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16014 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16015 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16016 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16017 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16018 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16019 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16020 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16021 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16022 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16023 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16024 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16025 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16026 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16027 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16028 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16029 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16030 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16031 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16032 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16033 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16034 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16035 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16036 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16037 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16038 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16039 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16040 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16041 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16042 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16043 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16044 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16045 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16046 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16047 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16048 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16049 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16050 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16051 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16052 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16053 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16054 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16055 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16056 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16057 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16058 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16059 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16060 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16061 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16062 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16063 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16064 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16065 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16066 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16067 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16068 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16069 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16070 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16071 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16072 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16073 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16074 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16075 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16076 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16077 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16078 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16079 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16080 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16081 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16082 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16083 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16084 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16085 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16086 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16087 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16088 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16089 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16090 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16091 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16092 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16093 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16094 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16095 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16096 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16097 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16098 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16099 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16100 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16101 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16102 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16103 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16104 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16105 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16106 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16107 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16108 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16109 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16110 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16111 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16112 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16113 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16114 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16115 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16116 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16117 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16118 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16119 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16120 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16121 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16122 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16123 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16130 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16131 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16132 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16133 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16134 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16135 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16136 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16137 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16138 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16139 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16140 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16141 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16142 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16143 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16144 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16145 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16146 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16147 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16148 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16149 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16150 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16151 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16152 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16153 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16154 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16155 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16156 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16157 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16158 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16159 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16160 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16161 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16162 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16163 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16164 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16165 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16166 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16167 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16168 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16169 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16170 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16171 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16172 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16173 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16174 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16175 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16176 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16177 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16178 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16179 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16180 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16181 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16182 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16183 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16184 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16185 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16186 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16187 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16188 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16189 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16190 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16191 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16192 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16193 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16194 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16195 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16196 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16197 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16198 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16199 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16200 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16201 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16202 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16203 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16204 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16205 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16206 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16207 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16208 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16209 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16210 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16211 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16212 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16213 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16214 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16215 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16216 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16217 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16218 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16219 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16220 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16221 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16222 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16223 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16224 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16225 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16226 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16227 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16228 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16229 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16230 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16231 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16232 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16233 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16234 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16235 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16236 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16237 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16238 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16239 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16240 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16241 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16242 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16243 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16244 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16245 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16246 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16247 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16248 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16249 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
1612416250
1612516251 LTCC='$LTCC'
1612616252 LTCFLAGS='$LTCFLAGS'
1612716253 compiler='$compiler_DEFAULT'
1612816254
16255 # A function that is used when there is no print builtin or printf.
16256 func_fallback_echo ()
16257 {
16258 eval 'cat <<_LTECHO_EOF
16259 \$1
16260 _LTECHO_EOF'
16261 }
16262
1612916263 # Quote evaled strings.
16130 for var in SED \
16264 for var in SHELL \
16265 ECHO \
16266 SED \
1613116267 GREP \
1613216268 EGREP \
1613316269 FGREP \
1615116287 lt_cv_sys_global_symbol_to_cdecl \
1615216288 lt_cv_sys_global_symbol_to_c_name_address \
1615316289 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16154 SHELL \
16155 ECHO \
1615616290 lt_prog_compiler_no_builtin_flag \
1615716291 lt_prog_compiler_wl \
1615816292 lt_prog_compiler_pic \
1618216316 libname_spec \
1618316317 library_names_spec \
1618416318 soname_spec \
16319 install_override_mode \
1618516320 finish_eval \
1618616321 old_striplib \
1618716322 striplib; do
16188 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16323 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1618916324 *[\\\\\\\`\\"\\\$]*)
16190 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16325 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1619116326 ;;
1619216327 *)
1619316328 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1621416349 finish_cmds \
1621516350 sys_lib_search_path_spec \
1621616351 sys_lib_dlsearch_path_spec; do
16217 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16352 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1621816353 *[\\\\\\\`\\"\\\$]*)
16219 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1622016355 ;;
1622116356 *)
1622216357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1622316358 ;;
1622416359 esac
1622516360 done
16226
16227 # Fix-up fallback echo if it was mangled by the above quoting rules.
16228 case \$lt_ECHO in
16229 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16230 ;;
16231 esac
1623216361
1623316362 ac_aux_dir='$ac_aux_dir'
1623416363 xsi_shell='$xsi_shell'
1700017129 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1700117130 #
1700217131 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17003 # 2006, 2007, 2008 Free Software Foundation, Inc.
17132 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17133 # Inc.
1700417134 # Written by Gordon Matzigkeit, 1996
1700517135 #
1700617136 # This file is part of GNU Libtool.
1704817178 # Whether or not to optimize for fast installation.
1704917179 fast_install=$enable_fast_install
1705017180
17181 # Shell to use when invoking shell scripts.
17182 SHELL=$lt_SHELL
17183
17184 # An echo program that protects backslashes.
17185 ECHO=$lt_ECHO
17186
1705117187 # The host system.
1705217188 host_alias=$host_alias
1705317189 host=$host
1709717233 # turn newlines into spaces.
1709817234 NL2SP=$lt_lt_NL2SP
1709917235
17100 # How to create reloadable object files.
17101 reload_flag=$lt_reload_flag
17102 reload_cmds=$lt_reload_cmds
17103
1710417236 # An object symbol dumper.
1710517237 OBJDUMP=$lt_OBJDUMP
1710617238
1712217254 old_postinstall_cmds=$lt_old_postinstall_cmds
1712317255 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1712417256
17257 # Whether to use a lock for old archive extraction.
17258 lock_old_archive_extraction=$lock_old_archive_extraction
17259
1712517260 # A C compiler.
1712617261 LTCC=$lt_CC
1712717262
1714217277
1714317278 # The name of the directory that contains temporary libtool files.
1714417279 objdir=$objdir
17145
17146 # Shell to use when invoking shell scripts.
17147 SHELL=$lt_SHELL
17148
17149 # An echo program that does not interpret backslashes.
17150 ECHO=$lt_ECHO
1715117280
1715217281 # Used to examine libraries when file_magic_cmd begins with "file".
1715317282 MAGIC_CMD=$MAGIC_CMD
1721117340 # The coded name of the library, if different from the real name.
1721217341 soname_spec=$lt_soname_spec
1721317342
17343 # Permission mode override for installation of shared libraries.
17344 install_override_mode=$lt_install_override_mode
17345
1721417346 # Command to use after installation of a shared archive.
1721517347 postinstall_cmds=$lt_postinstall_cmds
1721617348
1724917381
1725017382 # The linker used to build libraries.
1725117383 LD=$lt_LD
17384
17385 # How to create reloadable object files.
17386 reload_flag=$lt_reload_flag
17387 reload_cmds=$lt_reload_cmds
1725217388
1725317389 # Commands used to build an old-style archive.
1725417390 old_archive_cmds=$lt_old_archive_cmds
1750917645 func_dirname ()
1751017646 {
1751117647 # Extract subdirectory from the argument.
17512 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17648 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
1751317649 if test "X$func_dirname_result" = "X${1}"; then
1751417650 func_dirname_result="${3}"
1751517651 else
1752017656 # func_basename file
1752117657 func_basename ()
1752217658 {
17523 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17659 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
1752417660 }
1752517661
1752617662
1753317669 func_stripname ()
1753417670 {
1753517671 case ${2} in
17536 .*) func_stripname_result=`$ECHO "X${3}" \
17537 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17538 *) func_stripname_result=`$ECHO "X${3}" \
17539 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17672 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17673 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
1754017674 esac
1754117675 }
1754217676
1754717681 # func_opt_split
1754817682 func_opt_split ()
1754917683 {
17550 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17551 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17684 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17685 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
1755217686 }
1755317687
1755417688 # func_lo2o object
1755517689 func_lo2o ()
1755617690 {
17557 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17691 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
1755817692 }
1755917693
1756017694 # func_xform libobj-or-source
1756117695 func_xform ()
1756217696 {
17563 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17697 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
1756417698 }
1756517699
1756617700 # func_arith arithmetic-term...
44 dnl initialize autoconf
55 dnl releases only do -Wall, cvs and prerelease does -Werror too
66 dnl use a three digit version number for releases, and four for cvs/prerelease
7 AC_INIT(Farsight2, 0.0.22,
7 AC_INIT(Farsight2, 0.0.23,
88 https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight,
99 farsight2)
1010
4949 dnl - interfaces added -> increment AGE
5050 dnl - interfaces removed -> AGE = 0
5151 dnl sets FS2_LT_LDFLAGS
52 AS_LIBTOOL(FS2, 5, 2, 5)
52 AS_LIBTOOL(FS2, 5, 3, 5)
5353
5454 dnl FIXME: this macro doesn't actually work;
5555 dnl the generated libtool script has no support for the listed tags.
160160 [FS2_TRANSMITTER_PLUGINS_SELECTED=$FS2_TRANSMITTER_PLUGINS_ALL])
161161
162162
163 NICE_REQUIRED=0.0.9
163 NICE_REQUIRED=0.1.0
164164
165165 PKG_CHECK_MODULES(NICE, \
166166 nice >= $NICE_REQUIRED,, AC_MSG_ERROR([Need libnice >= $NICE_REQUIRED]))
290290 libexecdir = @libexecdir@
291291 localedir = @localedir@
292292 localstatedir = @localstatedir@
293 lt_ECHO = @lt_ECHO@
294293 mandir = @mandir@
295294 mkdir_p = @mkdir_p@
296295 oldincludedir = @oldincludedir@
258258 libexecdir = @libexecdir@
259259 localedir = @localedir@
260260 localstatedir = @localstatedir@
261 lt_ECHO = @lt_ECHO@
262261 mandir = @mandir@
263262 mkdir_p = @mkdir_p@
264263 oldincludedir = @oldincludedir@
9191 of type <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GST-MESSAGE-ELEMENT:CAPS"><span class="type">GST_MESSAGE_ELEMENT</span></a> sent over the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html"><span class="type">GstBus</span></a>.
9292 </p>
9393 <div class="refsect2" title='The "farsight-error" message'>
94 <a name="id425722"></a><h3>The "<code class="literal">farsight-error</code>" message</h3>
94 <a name="id459650"></a><h3>The "<code class="literal">farsight-error</code>" message</h3>
9595 <div class="informalexample">
9696 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
9797 <tbody>
110110 of type <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GST-MESSAGE-ELEMENT:CAPS"><span class="type">GST_MESSAGE_ELEMENT</span></a> sent over the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html"><span class="type">GstBus</span></a>.
111111 </p>
112112 <div class="refsect2" title='The "farsight-new-local-candidate" message'>
113 <a name="id505530"></a><h3>The "<code class="literal">farsight-new-local-candidate</code>" message</h3>
113 <a name="id539458"></a><h3>The "<code class="literal">farsight-new-local-candidate</code>" message</h3>
114114 <div class="informalexample">
115115 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
116116 <tbody>
130130 </div>
131131 <hr>
132132 <div class="refsect2" title='The "farsight-local-candidates-prepared" message'>
133 <a name="id505566"></a><h3>The "<code class="literal">farsight-local-candidates-prepared</code>" message</h3>
133 <a name="id539494"></a><h3>The "<code class="literal">farsight-local-candidates-prepared</code>" message</h3>
134134 <div class="informalexample">
135135 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
136136 <tbody>
149149 </div>
150150 <hr>
151151 <div class="refsect2" title='The "farsight-new-active-candidate-pair" message'>
152 <a name="id505595"></a><h3>The "<code class="literal">farsight-new-active-candidate-pair</code>" message</h3>
152 <a name="id539524"></a><h3>The "<code class="literal">farsight-new-active-candidate-pair</code>" message</h3>
153153 <div class="informalexample">
154154 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
155155 <tbody>
175175 </div>
176176 <hr>
177177 <div class="refsect2" title='The "farsight-recv-codecs-changed" message'>
178 <a name="id505640"></a><h3>The "<code class="literal">farsight-recv-codecs-changed</code>" message</h3>
178 <a name="id539568"></a><h3>The "<code class="literal">farsight-recv-codecs-changed</code>" message</h3>
179179 <div class="informalexample">
180180 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
181181 <tbody>
200200 </div>
201201 <hr>
202202 <div class="refsect2" title='The "farsight-component-state-changed" message'>
203 <a name="id505703"></a><h3>The "<code class="literal">farsight-component-state-changed</code>" message</h3>
203 <a name="id539632"></a><h3>The "<code class="literal">farsight-component-state-changed</code>" message</h3>
204204 <div class="informalexample">
205205 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
206206 <tbody>
2020 </tr></table>
2121 <div class="chapter" title="Farsight GStreamer Interfaces">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id426170"></a>Farsight GStreamer Interfaces</h2></div></div></div>
23 <a name="id460098"></a>Farsight GStreamer Interfaces</h2></div></div></div>
2424 <div class="toc"><dl><dt>
2525 <span class="refentrytitle"><a href="FsConference.html">FsConference</a></span><span class="refpurpose"> — Interface for farsight conference elements</span>
2626 </dt></dl></div>
2020 </tr></table>
2121 <div class="chapter" title="Farsight Core Library">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id426180"></a>Farsight Core Library</h2></div></div></div>
23 <a name="id460109"></a>Farsight Core Library</h2></div></div></div>
2424 <div class="toc"><dl>
2525 <dt>
2626 <span class="refentrytitle"><a href="FsParticipant.html">FsParticipant</a></span><span class="refpurpose"> — A participant in a conference</span>
2020 </tr></table>
2121 <div class="chapter" title="Farsight Utility Functions and Objects">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id431408"></a>Farsight Utility Functions and Objects</h2></div></div></div>
23 <a name="id465337"></a>Farsight Utility Functions and Objects</h2></div></div></div>
2424 <div class="toc"><dl>
2525 <dt>
2626 <span class="refentrytitle"><a href="FsElementAddedNotifier.html">FsElementAddedNotifier</a></span><span class="refpurpose"> — Recursive element addition notifier</span>
2020 </tr></table>
2121 <div class="chapter" title="Farsight Classes Base Implementations">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id431430"></a>Farsight Classes Base Implementations</h2></div></div></div>
23 <a name="id465359"></a>Farsight Classes Base Implementations</h2></div></div></div>
2424 <div class="toc"><dl><dt>
2525 <span class="refentrytitle"><a href="FsBaseConference.html">FsBaseConference</a></span><span class="refpurpose"> — Base class for Farsight Conference Gstreamer Elements</span>
2626 </dt></dl></div>
2020 </tr></table>
2121 <div class="chapter" title="Farsight Transmitter Classes">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id431442"></a>Farsight Transmitter Classes</h2></div></div></div>
23 <a name="id465370"></a>Farsight Transmitter Classes</h2></div></div></div>
2424 <div class="toc"><dl>
2525 <dt>
2626 <span class="refentrytitle"><a href="FsTransmitter.html">FsTransmitter</a></span><span class="refpurpose"> — A transmitter object linked to a session</span>
2020 </tr></table>
2121 <div class="chapter" title="Farsight Plugins Infrastructure">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id431458"></a>Farsight Plugins Infrastructure</h2></div></div></div>
23 <a name="id465386"></a>Farsight Plugins Infrastructure</h2></div></div></div>
2424 <div class="toc"><dl><dt>
2525 <span class="refentrytitle"><a href="farsight2-libs-FsPlugin.html">FsPlugin</a></span><span class="refpurpose"> — A class for defining Farsight plugins</span>
2626 </dt></dl></div>
121121 of type <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GST-MESSAGE-ELEMENT:CAPS"><span class="type">GST_MESSAGE_ELEMENT</span></a> sent over the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html"><span class="type">GstBus</span></a>.
122122 </p>
123123 <div class="refsect2" title='The "farsight-send-codec-changed" message'>
124 <a name="id483606"></a><h3>The "<code class="literal">farsight-send-codec-changed</code>"
124 <a name="id517534"></a><h3>The "<code class="literal">farsight-send-codec-changed</code>"
125125 message</h3>
126126 <div class="informalexample">
127127 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
147147 </div>
148148 <hr>
149149 <div class="refsect2" title='The "farsight-codecs-changed" message'>
150 <a name="id483666"></a><h3>The "<code class="literal">farsight-codecs-changed</code>"
150 <a name="id517594"></a><h3>The "<code class="literal">farsight-codecs-changed</code>"
151151 message</h3>
152152 <div class="informalexample">
153153 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
3131 </sub>
3232 </chapters>
3333 <functions>
34 <function name="The &quot;farsight-error&quot; message" link="FsConference.html#id425722"/>
34 <function name="The &quot;farsight-error&quot; message" link="FsConference.html#id459650"/>
3535 <function name="FsConference" link="FsConference.html#FsConference-struct"/>
3636 <function name="fs_conference_new_session ()" link="FsConference.html#fs-conference-new-session"/>
3737 <function name="fs_conference_new_participant ()" link="FsConference.html#fs-conference-new-participant"/>
4444 <function name="FS_PARTICIPANT_DATA_UNLOCK()" link="FsParticipant.html#FS-PARTICIPANT-DATA-UNLOCK:CAPS"/>
4545 <function name="The &quot;cname&quot; property" link="FsParticipant.html#FsParticipant--cname"/>
4646 <function name="The &quot;error&quot; signal" link="FsParticipant.html#FsParticipant-error"/>
47 <function name="The &quot;farsight-send-codec-changed&quot;&#10; message" link="farsight2-libs-fs-session.html#id483606"/>
48 <function name="The &quot;farsight-codecs-changed&quot;&#10; message" link="farsight2-libs-fs-session.html#id483666"/>
47 <function name="The &quot;farsight-send-codec-changed&quot;&#10; message" link="farsight2-libs-fs-session.html#id517534"/>
48 <function name="The &quot;farsight-codecs-changed&quot;&#10; message" link="farsight2-libs-fs-session.html#id517594"/>
4949 <function name="enum FsDTMFEvent" link="farsight2-libs-fs-session.html#FsDTMFEvent"/>
5050 <function name="enum FsDTMFMethod" link="farsight2-libs-fs-session.html#FsDTMFMethod"/>
5151 <function name="FsSession" link="farsight2-libs-fs-session.html#FsSession-struct"/>
6868 <function name="The &quot;sink-pad&quot; property" link="farsight2-libs-fs-session.html#FsSession--sink-pad"/>
6969 <function name="The &quot;tos&quot; property" link="farsight2-libs-fs-session.html#FsSession--tos"/>
7070 <function name="The &quot;error&quot; signal" link="farsight2-libs-fs-session.html#FsSession-error"/>
71 <function name="The &quot;farsight-new-local-candidate&quot; message" link="FsStream.html#id505530"/>
72 <function name="The &quot;farsight-local-candidates-prepared&quot; message" link="FsStream.html#id505566"/>
73 <function name="The &quot;farsight-new-active-candidate-pair&quot; message" link="FsStream.html#id505595"/>
74 <function name="The &quot;farsight-recv-codecs-changed&quot; message" link="FsStream.html#id505640"/>
75 <function name="The &quot;farsight-component-state-changed&quot; message" link="FsStream.html#id505703"/>
71 <function name="The &quot;farsight-new-local-candidate&quot; message" link="FsStream.html#id539458"/>
72 <function name="The &quot;farsight-local-candidates-prepared&quot; message" link="FsStream.html#id539494"/>
73 <function name="The &quot;farsight-new-active-candidate-pair&quot; message" link="FsStream.html#id539524"/>
74 <function name="The &quot;farsight-recv-codecs-changed&quot; message" link="FsStream.html#id539568"/>
75 <function name="The &quot;farsight-component-state-changed&quot; message" link="FsStream.html#id539632"/>
7676 <function name="FsStream" link="FsStream.html#FsStream-struct"/>
7777 <function name="FsStreamClass" link="FsStream.html#FsStreamClass"/>
7878 <function name="enum FsStreamDirection" link="FsStream.html#FsStreamDirection"/>
3131 </sub>
3232 </chapters>
3333 <functions>
34 <keyword type="" name="The &quot;farsight-error&quot; message" link="FsConference.html#id425722"/>
34 <keyword type="" name="The &quot;farsight-error&quot; message" link="FsConference.html#id459650"/>
3535 <keyword type="struct" name="FsConference" link="FsConference.html#FsConference-struct"/>
3636 <keyword type="function" name="fs_conference_new_session ()" link="FsConference.html#fs-conference-new-session"/>
3737 <keyword type="function" name="fs_conference_new_participant ()" link="FsConference.html#fs-conference-new-participant"/>
4444 <keyword type="macro" name="FS_PARTICIPANT_DATA_UNLOCK()" link="FsParticipant.html#FS-PARTICIPANT-DATA-UNLOCK:CAPS"/>
4545 <keyword type="property" name="The &quot;cname&quot; property" link="FsParticipant.html#FsParticipant--cname"/>
4646 <keyword type="signal" name="The &quot;error&quot; signal" link="FsParticipant.html#FsParticipant-error"/>
47 <keyword type="" name="The &quot;farsight-send-codec-changed&quot;&#10; message" link="farsight2-libs-fs-session.html#id483606"/>
48 <keyword type="" name="The &quot;farsight-codecs-changed&quot;&#10; message" link="farsight2-libs-fs-session.html#id483666"/>
47 <keyword type="" name="The &quot;farsight-send-codec-changed&quot;&#10; message" link="farsight2-libs-fs-session.html#id517534"/>
48 <keyword type="" name="The &quot;farsight-codecs-changed&quot;&#10; message" link="farsight2-libs-fs-session.html#id517594"/>
4949 <keyword type="enum" name="enum FsDTMFEvent" link="farsight2-libs-fs-session.html#FsDTMFEvent"/>
5050 <keyword type="enum" name="enum FsDTMFMethod" link="farsight2-libs-fs-session.html#FsDTMFMethod"/>
5151 <keyword type="struct" name="FsSession" link="farsight2-libs-fs-session.html#FsSession-struct"/>
6868 <keyword type="property" name="The &quot;sink-pad&quot; property" link="farsight2-libs-fs-session.html#FsSession--sink-pad"/>
6969 <keyword type="property" name="The &quot;tos&quot; property" link="farsight2-libs-fs-session.html#FsSession--tos"/>
7070 <keyword type="signal" name="The &quot;error&quot; signal" link="farsight2-libs-fs-session.html#FsSession-error"/>
71 <keyword type="" name="The &quot;farsight-new-local-candidate&quot; message" link="FsStream.html#id505530"/>
72 <keyword type="" name="The &quot;farsight-local-candidates-prepared&quot; message" link="FsStream.html#id505566"/>
73 <keyword type="" name="The &quot;farsight-new-active-candidate-pair&quot; message" link="FsStream.html#id505595"/>
74 <keyword type="" name="The &quot;farsight-recv-codecs-changed&quot; message" link="FsStream.html#id505640"/>
75 <keyword type="" name="The &quot;farsight-component-state-changed&quot; message" link="FsStream.html#id505703"/>
71 <keyword type="" name="The &quot;farsight-new-local-candidate&quot; message" link="FsStream.html#id539458"/>
72 <keyword type="" name="The &quot;farsight-local-candidates-prepared&quot; message" link="FsStream.html#id539494"/>
73 <keyword type="" name="The &quot;farsight-new-active-candidate-pair&quot; message" link="FsStream.html#id539524"/>
74 <keyword type="" name="The &quot;farsight-recv-codecs-changed&quot; message" link="FsStream.html#id539568"/>
75 <keyword type="" name="The &quot;farsight-component-state-changed&quot; message" link="FsStream.html#id539632"/>
7676 <keyword type="struct" name="FsStream" link="FsStream.html#FsStream-struct"/>
7777 <keyword type="struct" name="FsStreamClass" link="FsStream.html#FsStreamClass"/>
7878 <keyword type="enum" name="enum FsStreamDirection" link="FsStream.html#FsStreamDirection"/>
1414 <div>
1515 <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Farsight2 Reference Manual</p></th></tr></table></div>
1616 <div><p class="releaseinfo">
17 for version 0.0.22.
17 for version 0.0.22.1.
1818 The latest version of this documentation can be found on-line at
1919 <a class="ulink" href="http://farsight.freedesktop.org/apidoc/farsight2/" target="_top">http://farsight.freedesktop.org/apidoc/farsight2/</a>.
2020 The bases classes are implemented by multiple plugins described in
2020 </tr></table>
2121 <div class="part" title="Part I. User-oriented classes, interfaces and functions">
2222 <div class="titlepage"><div><div><h1 class="title">
23 <a name="id426165"></a>Part I. User-oriented classes, interfaces and functions</h1></div></div></div>
23 <a name="id460093"></a>Part I. User-oriented classes, interfaces and functions</h1></div></div></div>
2424 <div class="toc">
2525 <p><b>Table of Contents</b></p>
2626 <dl>
2020 </tr></table>
2121 <div class="part" title="Part II. Classes used to implement Farsight plugins">
2222 <div class="titlepage"><div><div><h1 class="title">
23 <a name="id431425"></a>Part II. Classes used to implement Farsight plugins</h1></div></div></div>
23 <a name="id465354"></a>Part II. Classes used to implement Farsight plugins</h1></div></div></div>
2424 <div class="toc">
2525 <p><b>Table of Contents</b></p>
2626 <dl>
5757 $(top_builddir)/transmitters/multicast/libmulticast-transmitter.la \
5858 $(top_builddir)/transmitters/rawudp/librawudp-transmitter.la \
5959 $(top_builddir)/transmitters/nice/libnice-transmitter.la \
60 $(top_builddir)/transmitters/shm/libshm-transmitter.la \
6061 $(top_builddir)/gst/fsrtpconference/libfsrtpconference_doc.la \
6162 $(top_builddir)/gst/fsmsnconference/libfsmsnconference_doc.la \
6263 $(top_builddir)/gst/funnel/libfsfunnel.la \
9293 $(top_srcdir)/transmitters/multicast/fs-multicast-transmitter.h \
9394 $(top_srcdir)/transmitters/multicast/fs-multicast-stream-transmitter.h \
9495 $(top_srcdir)/transmitters/nice/fs-nice-transmitter.h \
95 $(top_srcdir)/transmitters/nice/fs-nice-stream-transmitter.h
96 $(top_srcdir)/transmitters/nice/fs-nice-stream-transmitter.h \
97 $(top_srcdir)/transmitters/shm/fs-shm-transmitter.h \
98 $(top_srcdir)/transmitters/shm/fs-shm-stream-transmitter.h
9699
97100 # Images to copy into HTML directory.
98101 HTML_IMAGES =
130133 #DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
131134 DOC_OVERRIDES =
132135
133 FS_PLUGIN_PATH=$(top_builddir)/transmitters/rawudp/.libs:$(top_builddir)/transmitters/multicast/.libs:$(top_builddir)/transmitters/nice/.libs
136 FS_PLUGIN_PATH=$(top_builddir)/transmitters/rawudp/.libs:$(top_builddir)/transmitters/multicast/.libs:$(top_builddir)/transmitters/nice/.libs:$(top_builddir)/transmitters/shm/.libs
134137
135138 update-all: scanobj-trans-build.stamp update
136139
254254 libexecdir = @libexecdir@
255255 localedir = @localedir@
256256 localstatedir = @localstatedir@
257 lt_ECHO = @lt_ECHO@
258257 mandir = @mandir@
259258 mkdir_p = @mkdir_p@
260259 oldincludedir = @oldincludedir@
332331 $(top_builddir)/transmitters/multicast/libmulticast-transmitter.la \
333332 $(top_builddir)/transmitters/rawudp/librawudp-transmitter.la \
334333 $(top_builddir)/transmitters/nice/libnice-transmitter.la \
334 $(top_builddir)/transmitters/shm/libshm-transmitter.la \
335335 $(top_builddir)/gst/fsrtpconference/libfsrtpconference_doc.la \
336336 $(top_builddir)/gst/fsmsnconference/libfsmsnconference_doc.la \
337337 $(top_builddir)/gst/funnel/libfsfunnel.la \
367367 $(top_srcdir)/transmitters/multicast/fs-multicast-transmitter.h \
368368 $(top_srcdir)/transmitters/multicast/fs-multicast-stream-transmitter.h \
369369 $(top_srcdir)/transmitters/nice/fs-nice-transmitter.h \
370 $(top_srcdir)/transmitters/nice/fs-nice-stream-transmitter.h
370 $(top_srcdir)/transmitters/nice/fs-nice-stream-transmitter.h \
371 $(top_srcdir)/transmitters/shm/fs-shm-transmitter.h \
372 $(top_srcdir)/transmitters/shm/fs-shm-stream-transmitter.h
371373
372374
373375 # Images to copy into HTML directory.
404406 # and uncomment this line.
405407 #DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
406408 DOC_OVERRIDES =
407 FS_PLUGIN_PATH = $(top_builddir)/transmitters/rawudp/.libs:$(top_builddir)/transmitters/multicast/.libs:$(top_builddir)/transmitters/nice/.libs
409 FS_PLUGIN_PATH = $(top_builddir)/transmitters/rawudp/.libs:$(top_builddir)/transmitters/multicast/.libs:$(top_builddir)/transmitters/nice/.libs:$(top_builddir)/transmitters/shm/.libs
408410
409411 # We set GPATH here; this gives us semantics for GNU make
410412 # which are more like other make's VPATH, when it comes to
415417
416418 # thomas: make docs parallel installable
417419 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@
420 MAINTAINER_DOC_STAMPS = \
421 scanobj-build.stamp \
422 scanobj-trans-build.stamp
423
418424 EXTRA_DIST = \
425 $(MAINTAINER_DOC_STAMPS) \
419426 $(srcdir)/inspect/*.xml \
420 inspect.stamp \
421 inspect-build.stamp \
422427 $(SCANOBJ_FILES) \
423428 $(content_files) \
424429 $(extra_files) \
427432 $(DOC_OVERRIDES) \
428433 $(DOC_MODULE)-sections.txt
429434
435
436 # we don't add scanobj-build.stamp here since they are built manually by docs
437 # maintainers and result is commited to git
430438 DOC_STAMPS = \
431439 scan-build.stamp \
432440 tmpl-build.stamp \
435443 scan.stamp \
436444 tmpl.stamp \
437445 sgml.stamp \
438 html.stamp \
439 scanobj-build.stamp \
440 scanobj-trans-build.stamp
446 html.stamp
441447
442448
443449 # files generated/updated by gtkdoc-scangobj
444450 SCANOBJ_FILES = \
445 $(DOC_MODULE).signals \
446 $(DOC_MODULE).hierarchy \
447 $(DOC_MODULE).interfaces \
448 $(DOC_MODULE).prerequisites \
451 $(DOC_MODULE).signals \
452 $(DOC_MODULE).hierarchy \
453 $(DOC_MODULE).interfaces \
454 $(DOC_MODULE).prerequisites \
449455 $(DOC_MODULE).types \
450456 $(DOC_MODULE).args
451457
694700
695701 # update the stuff maintained by doc maintainers
696702 update:
697 $(MAKE) inspect-update
698703 $(MAKE) scanobj-update
704 $(MAKE) check-outdated-docs
699705
700706 @ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
707
708 # update the element and plugin XML descriptions; store in inspect/
709 @ENABLE_GTK_DOC_TRUE@inspect:
710 @ENABLE_GTK_DOC_TRUE@ mkdir inspect
701711
702712 #### scan gobjects; done by documentation maintainer ####
703713 @ENABLE_GTK_DOC_TRUE@scanobj-update:
711721 # TODO: finish elite script that updates the output files of this step
712722 # instead of rewriting them, so that multiple maintainers can generate
713723 # a collective set of args and signals
714 @ENABLE_GTK_DOC_TRUE@scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles)
724 @ENABLE_GTK_DOC_TRUE@scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) inspect
715725 @ENABLE_GTK_DOC_TRUE@ @echo '*** Scanning GObjects ***'
716726 @ENABLE_GTK_DOC_TRUE@ if test x"$(srcdir)" != x. ; then \
717727 @ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES); \
718728 @ENABLE_GTK_DOC_TRUE@ do \
719 @ENABLE_GTK_DOC_TRUE@ cp $(srcdir)/$$f . ; \
729 @ENABLE_GTK_DOC_TRUE@ cp $(srcdir)/$$f . ; \
720730 @ENABLE_GTK_DOC_TRUE@ done; \
721731 @ENABLE_GTK_DOC_TRUE@ else \
722 @ENABLE_GTK_DOC_TRUE@ $(INSPECT_ENVIRONMENT) \
732 @ENABLE_GTK_DOC_TRUE@ $(INSPECT_ENVIRONMENT) \
723733 @ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" \
724 @ENABLE_GTK_DOC_TRUE@ CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" \
734 @ENABLE_GTK_DOC_TRUE@ CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS) $(WARNING_CFLAGS)" \
725735 @ENABLE_GTK_DOC_TRUE@ LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
726736 @ENABLE_GTK_DOC_TRUE@ $(GST_DOC_SCANOBJ) --type-init-func="gst_init(NULL,NULL)" \
727 @ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) --source=$(PACKAGE) && \
737 @ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) --source=$(PACKAGE) --inspect-dir="inspect" && \
728738 @ENABLE_GTK_DOC_TRUE@ $(PYTHON) \
729739 @ENABLE_GTK_DOC_TRUE@ $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE); \
730740 @ENABLE_GTK_DOC_TRUE@ fi
731741 @ENABLE_GTK_DOC_TRUE@ touch scanobj-build.stamp
732742
733 @ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp scanobj-trans-build.stamp
743 @ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp
734744 @ENABLE_GTK_DOC_TRUE@ @true
735745
736 @ENABLE_GTK_DOC_TRUE@inspect-update: inspect
737 @ENABLE_GTK_DOC_TRUE@ -rm -f $(INSPECT_REGISTRY) inspect-build.stamp
738 @ENABLE_GTK_DOC_TRUE@ $(MAKE) inspect-build.stamp
739
740 # FIXME: inspect.stamp should be written to by gst-xmlinspect.py
741 # IF the output changed; see gtkdoc-mktmpl
742 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@inspect-build.stamp:
743 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ @echo '*** Rebuilding plugin inspection files ***'
744 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ if test -d inspect; then rm -rf inspect; fi
745 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ mkdir inspect
746 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ if test x"$(srcdir)" != x. ; then \
747 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ cp $(srcdir)/inspect.stamp . ; \
748 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ cp $(srcdir)/inspect-build.stamp . ; \
749 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ else \
750 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ $(INSPECT_ENVIRONMENT) $(PYTHON) \
751 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ $(top_srcdir)/common/gst-xmlinspect.py $(PACKAGE) inspect && \
752 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ echo -n "timestamp" > inspect.stamp && \
753 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ touch inspect-build.stamp; \
754 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_TRUE@ fi
755
756 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_FALSE@inspect-build.stamp:
757 @ENABLE_GTK_DOC_TRUE@@ENABLE_PLUGIN_DOCS_FALSE@ @true:
758
759746 ### scan headers; done on every build ###
760 @ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp inspect-build.stamp scanobj-trans-build.stamp
747 @ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp scanobj-trans-build.stamp
761748 @ENABLE_GTK_DOC_TRUE@ if test "x$(top_srcdir)" != "x$(top_builddir)" && \
762749 @ENABLE_GTK_DOC_TRUE@ test -d "$(top_builddir)/gst"; \
763750 @ENABLE_GTK_DOC_TRUE@ then \
780767 @ENABLE_GTK_DOC_TRUE@ if test x"$(srcdir)" != x. ; then \
781768 @ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES) $(SCAN_FILES); \
782769 @ENABLE_GTK_DOC_TRUE@ do \
783 @ENABLE_GTK_DOC_TRUE@ if test -e $(srcdir)/$$f; then cp $(srcdir)/$$f . ; fi; \
770 @ENABLE_GTK_DOC_TRUE@ if test -e $(srcdir)/$$f; then cp $(srcdir)/$$f . ; fi; \
784771 @ENABLE_GTK_DOC_TRUE@ done; \
785772 @ENABLE_GTK_DOC_TRUE@ fi
786773 @ENABLE_GTK_DOC_TRUE@ gtkdoc-mktmpl --module=$(DOC_MODULE) | tee tmpl-build.log
796783 #### build xml; done on every build ####
797784
798785 ### FIXME: make this error out again when docs are fixed for 0.9
799 @ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp inspect.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files)
786 @ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp scan-build.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files)
800787 @ENABLE_GTK_DOC_TRUE@ @echo '*** Building XML ***'
801788 @ENABLE_GTK_DOC_TRUE@ @-mkdir -p xml
802789 @ENABLE_GTK_DOC_TRUE@ @for a in $(srcdir)/inspect/*.xml; do \
848835 @ENABLE_GTK_DOC_TRUE@ rm -rf xml tmpl html
849836 # clean files copied for nonsrcdir templates build
850837 @ENABLE_GTK_DOC_TRUE@ if test x"$(srcdir)" != x. ; then \
851 @ENABLE_GTK_DOC_TRUE@ rm -rf $(SCANOBJ_FILES) $(SCAN_FILES); \
852 @ENABLE_GTK_DOC_TRUE@ rm -f *.stamp; \
838 @ENABLE_GTK_DOC_TRUE@ rm -rf $(SCANOBJ_FILES) $(SCAN_FILES) $(MAINTAINER_DOC_STAMPS); \
853839 @ENABLE_GTK_DOC_TRUE@ fi
854840 @ENABLE_GTK_DOC_FALSE@all-local:
855841 @ENABLE_GTK_DOC_FALSE@clean-local-gtkdoc:
884870 $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp \
885871 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
886872 if test -e $(srcdir)/html/$(DOC_MODULE).devhelp2; then \
887 $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp2 \
888 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
873 $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp2 \
874 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
889875 fi; \
890 fi)
876 (which gtkdoc-rebase >/dev/null && \
877 gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
878 fi)
891879 uninstall-local:
892 (installfiles=`echo ./html/*.html`; \
893 if test "$$installfiles" = './html/*.html'; \
894 then echo '-- Nothing to uninstall' ; \
880 if test -d $(DESTDIR)$(TARGET_DIR); then \
881 rm -rf $(DESTDIR)$(TARGET_DIR)/*; \
882 rmdir -p $(DESTDIR)$(TARGET_DIR) 2>/dev/null || true; \
895883 else \
896 for i in $$installfiles; do \
897 rmfile=`basename $$i` ; \
898 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \
899 rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \
900 done; \
901 pngfiles=`echo ./html/*.png`; \
902 if test "$$pngfiles" != './html/*.png'; then \
903 for i in $$pngfiles; do \
904 rmfile=`basename $$i` ; \
905 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \
906 rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \
907 done; \
908 fi; \
909 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE).devhelp' ; \
910 rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
911 if test -e $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; then \
912 rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
913 fi; \
914 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/index.sgml' ; \
915 rm -f $(DESTDIR)$(TARGET_DIR)/index.sgml; \
916 if test -e $(DESTDIR)$(TARGET_DIR)/style.css; then \
917 echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/style.css' ; \
918 rm -f $(DESTDIR)$(TARGET_DIR)/style.css; \
919 fi; \
920 fi)
921 if test -d $(DESTDIR)$(TARGET_DIR); then rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(TARGET_DIR) 2>/dev/null; fi; true
884 echo '-- Nothing to uninstall' ; \
885 fi;
922886
923887 #
924888 # Checks
969933 fi
970934 touch scanobj-trans-build.stamp
971935
936 check-outdated-docs:
937 $(AM_V_GEN)echo Checking for outdated plugin inspect data ...; \
938 fail=0 ; \
939 if [ -d $(top_srcdir)/.git/ ]; then \
940 files=`find $(srcdir)/inspect/ -name '*xml'`; \
941 for f in $$files; do \
942 ver=`grep '<version>$(PACKAGE_VERSION)</version>' $$f`; \
943 if test "x$$ver" = "x"; then \
944 plugin=`echo $$f | sed -e 's/^.*plugin-//' -e 's/.xml//'`; \
945 # echo "Checking $$plugin $$f"; \
946 pushd "$(top_srcdir)" >/dev/null; \
947 pinit=`git grep -A3 GST_PLUGIN_DEFINE -- ext/ gst/ sys/ | grep "\"$$plugin\""`; \
948 popd >/dev/null; \
949 # echo "[$$pinit]"; \
950 if test "x$$pinit" = "x"; then \
951 printf " **** outdated docs for plugin %-15s: %s\n" $$plugin $$f; \
952 fail=1; \
953 fi; \
954 fi; \
955 done; \
956 fi ; \
957 exit $$fail
958
972959 #
973960 # Require gtk-doc when making dist
974961 #
978965 @ENABLE_GTK_DOC_FALSE@ @false
979966
980967 # FIXME: decide whether we want to dist generated html or not
968 # also this only works, if the project has been build before
969 # we could dist html only if its there, but that might lead to missing html in
970 # tarballs
981971 dist-hook: dist-check-gtkdoc dist-hook-local
982972 mkdir $(distdir)/html
983973 cp html/* $(distdir)/html
984974 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
985975 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
986 -cp $(srcdir)/html/$(DOC_MODULE).devhelp* $(distdir)/html
987976 cd $(distdir) && rm -f $(DISTCLEANFILES)
988
989 .PHONY : dist-hook-local docs
977 -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
978
979 .PHONY : dist-hook-local docs check-outdated-docs
990980
991981 # Tell versions [3.59,3.63) of GNU make to not export all variables.
992982 # Otherwise a system limit (for SysV at least) may be exceeded.
3030 <xi:include href="xml/fs-rawudp-stream-transmitter.xml"/>
3131 <xi:include href="xml/fs-multicast-stream-transmitter.xml"/>
3232 <xi:include href="xml/fs-nice-stream-transmitter.xml"/>
33 <xi:include href="xml/fs-shm-stream-transmitter.xml"/>
3334 </chapter>
3435 </part>
3536
4343 FS_RTP_CONFERENCE_GET_CLASS
4444 <SUBSECTION Private>
4545 fs_codec_to_gst_caps
46 fs_codec_to_gst_caps_with_ptime
46 fs_rtp_conference_is_internal_thread
47 codecs_copy_with_new_ptime
4748 </SECTION>
4849
4950 <SECTION>
172173 fs_rtp_session_new_recv_pad
173174 fs_rtp_session_request_pt_map
174175 fs_rtp_session_ssrc_validated
176 fs_rtp_session_has_disposed_enter
177 fs_rtp_session_has_disposed_exit
175178 </SECTION>
176179
177180 <SECTION>
262265
263266
264267 <SECTION>
268 <FILE>fs-shm-transmitter</FILE>
269 <TITLE>FsShmTransmitter</TITLE>
270 FsShmTransmitter
271 <SUBSECTION Standard>
272 FsShmTransmitterClass
273 FS_SHM_TRANSMITTER_CAST
274 FS_SHM_TRANSMITTER
275 FS_IS_SHM_TRANSMITTER
276 FS_TYPE_SHM_TRANSMITTER
277 fs_shm_transmitter_get_type
278 FS_SHM_TRANSMITTER_CLASS
279 FS_IS_SHM_TRANSMITTER_CLASS
280 FS_SHM_TRANSMITTER_GET_CLASS
281 <SUBSECTION Private>
282 FsShmTransmitterPrivate
283 ShmSink
284 ShmSrc
285 connected
286 fs_shm_transmitter_check_shm_sink
287 fs_shm_transmitter_check_shm_src
288 fs_shm_transmitter_get_shm_sink
289 fs_shm_transmitter_get_shm_src
290 fs_shm_transmitter_sink_set_sending
291 got_buffer
292 ready
293 </SECTION>
294
295
296 <SECTION>
297 <FILE>fs-shm-stream-transmitter</FILE>
298 <TITLE>FsShmStreamTransmitter</TITLE>
299 FsShmStreamTransmitter
300 <SUBSECTION Standard>
301 FS_SHM_STREAM_TRANSMITTER_CAST
302 FsShmStreamTransmitterPrivate
303 fs_shm_stream_transmitter_register_type
304 fs_shm_stream_transmitter_newv
305 FsShmStreamTransmitterClass
306 FS_SHM_STREAM_TRANSMITTER
307 FS_IS_SHM_STREAM_TRANSMITTER
308 FS_TYPE_SHM_STREAM_TRANSMITTER
309 fs_shm_stream_transmitter_get_type
310 FS_SHM_STREAM_TRANSMITTER_CLASS
311 FS_IS_SHM_STREAM_TRANSMITTER_CLASS
312 FS_SHM_STREAM_TRANSMITTER_GET_CLASS
313 </SECTION>
314
315
316 <SECTION>
265317 <FILE>fs-msn-conference</FILE>
266318 <TITLE>FsMsnConference</TITLE>
267319 FsMsnConference
417417 <DEFAULT>0</DEFAULT>
418418 </ARG>
419419
420 <ARG>
421 <NAME>FsFecRizzoEnc::fec-caps</NAME>
422 <TYPE>GstCaps*</TYPE>
423 <RANGE></RANGE>
424 <FLAGS>rw</FLAGS>
425 <NICK>FEC caps to use</NICK>
426 <BLURB>FEC caps with encoding-name=x-farsight-reed-solomon-fec.</BLURB>
427 <DEFAULT></DEFAULT>
428 </ARG>
429
430 <ARG>
431 <NAME>FsFecRizzoEnc::k</NAME>
432 <TYPE>guint</TYPE>
433 <RANGE>>= 1</RANGE>
434 <FLAGS>rw</FLAGS>
435 <NICK>Number of source symbols</NICK>
436 <BLURB>The number of source symbols (packets) for a source block.</BLURB>
437 <DEFAULT>14</DEFAULT>
438 </ARG>
439
440 <ARG>
441 <NAME>FsFecRizzoEnc::n</NAME>
442 <TYPE>guint</TYPE>
443 <RANGE>>= 1</RANGE>
444 <FLAGS>rw</FLAGS>
445 <NICK>Number of encoding symbols</NICK>
446 <BLURB>The number of encoding symbols (packets) for a source block (k + repair packets).</BLURB>
447 <DEFAULT>16</DEFAULT>
448 </ARG>
449
450 <ARG>
451 <NAME>FsFecRizzoDec::fec-caps</NAME>
452 <TYPE>GstCaps*</TYPE>
453 <RANGE></RANGE>
454 <FLAGS>rw</FLAGS>
455 <NICK>FEC caps to use</NICK>
456 <BLURB>FEC caps with decoding-name=x-farsight-reed-solomon-fec.</BLURB>
457 <DEFAULT></DEFAULT>
458 </ARG>
459
77 <link rel="up" href="pt01.html" title="Part I. RTP Plugin">
88 <link rel="prev" href="pt01.html" title="Part I. RTP Plugin">
99 <link rel="next" href="farsight2-plugins-FsRtpConference.html" title="FsRtpConference">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
2020 </tr></table>
2121 <div class="chapter" title="Core interface classes">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id457928"></a>Core interface classes</h2></div></div></div>
23 <a name="id428663"></a>Core interface classes</h2></div></div></div>
2424 <div class="toc"><dl>
2525 <dt>
2626 <span class="refentrytitle"><a href="farsight2-plugins-FsRtpConference.html">FsRtpConference</a></span><span class="refpurpose"> — Farsight RTP Conference Gstreamer Elements</span>
3838 </div>
3939 <div class="footer">
4040 <hr>
41 Generated by GTK-Doc V1.14</div>
41 Generated by GTK-Doc V1.15</div>
4242 </body>
4343 </html>
77 <link rel="up" href="pt01.html" title="Part I. RTP Plugin">
88 <link rel="prev" href="farsight2-plugins-FsRtpStream.html" title="FsRtpStream">
99 <link rel="next" href="farsight2-plugins-FsRawUdpStreamTransmitter.html" title="FsRawUdpStreamTransmitter">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
2020 </tr></table>
2121 <div class="chapter" title="Transmitters">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id428404"></a>Transmitters</h2></div></div></div>
23 <a name="id433887"></a>Transmitters</h2></div></div></div>
2424 <div class="toc"><dl>
2525 <dt>
2626 <span class="refentrytitle"><a href="farsight2-plugins-FsRawUdpStreamTransmitter.html">FsRawUdpStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for UDP with STUN</span>
3131 <dt>
3232 <span class="refentrytitle"><a href="farsight2-plugins-FsNiceStreamTransmitter.html">FsNiceStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for ICE using libnice</span>
3333 </dt>
34 <dt>
35 <span class="refentrytitle"><a href="farsight2-plugins-FsShmStreamTransmitter.html">FsShmStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for Shared Memory</span>
36 </dt>
3437 </dl></div>
3538 </div>
3639 <div class="footer">
3740 <hr>
38 Generated by GTK-Doc V1.14</div>
41 Generated by GTK-Doc V1.15</div>
3942 </body>
4043 </html>
77 <link rel="up" href="pt02.html" title="Part II. MSN plugins">
88 <link rel="prev" href="pt02.html" title="Part II. MSN plugins">
99 <link rel="next" href="farsight2-plugins-FsMsnCamSendConference.html" title="FsMsnCamSendConference">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
2020 </tr></table>
2121 <div class="chapter" title="MSN Webcam plugin">
2222 <div class="titlepage"><div><div><h2 class="title">
23 <a name="id427864"></a>MSN Webcam plugin</h2></div></div></div>
23 <a name="id433918"></a>MSN Webcam plugin</h2></div></div></div>
2424 <div class="toc"><dl>
2525 <dt>
2626 <span class="refentrytitle"><a href="farsight2-plugins-FsMsnCamSendConference.html">FsMsnCamSendConference</a></span><span class="refpurpose"> — Farsight MSN send Conference Gstreamer Element</span>
4444 </div>
4545 <div class="footer">
4646 <hr>
47 Generated by GTK-Doc V1.14</div>
47 Generated by GTK-Doc V1.15</div>
4848 </body>
4949 </html>
77 <link rel="up" href="pt03.html" title="Part III. Utility elements">
88 <link rel="prev" href="pt03.html" title="Part III. Utility elements">
99 <link rel="next" href="farsight2-plugins-GstVideoanyrate.html" title="GstVideoanyrate">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
6161 </div>
6262 <div class="footer">
6363 <hr>
64 Generated by GTK-Doc V1.14</div>
64 Generated by GTK-Doc V1.15</div>
6565 </body>
6666 </html>
77 <link rel="up" href="ch03.html" title="MSN Webcam plugin">
88 <link rel="prev" href="farsight2-plugins-FsMsnCamSendConference.html" title="FsMsnCamSendConference">
99 <link rel="next" href="farsight2-plugins-FsMsnConference.html" title="FsMsnConference">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
6262 </div>
6363 <div class="footer">
6464 <hr>
65 Generated by GTK-Doc V1.14</div>
65 Generated by GTK-Doc V1.15</div>
6666 </body>
6767 </html>
77 <link rel="up" href="ch03.html" title="MSN Webcam plugin">
88 <link rel="prev" href="ch03.html" title="MSN Webcam plugin">
99 <link rel="next" href="farsight2-plugins-FsMsnCamCamRecvConference.html" title="FsMsnCamCamRecvConference">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
6262 </div>
6363 <div class="footer">
6464 <hr>
65 Generated by GTK-Doc V1.14</div>
65 Generated by GTK-Doc V1.15</div>
6666 </body>
6767 </html>
77 <link rel="up" href="ch03.html" title="MSN Webcam plugin">
88 <link rel="prev" href="farsight2-plugins-FsMsnCamCamRecvConference.html" title="FsMsnCamCamRecvConference">
99 <link rel="next" href="farsight2-plugins-FsMsnParticipant.html" title="FsMsnParticipant">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4444 <div class="refsect1" title="Properties">
4545 <a name="farsight2-plugins-FsMsnConference.properties"></a><h2>Properties</h2>
4646 <pre class="synopsis">
47 "<a class="link" href="farsight2-plugins-FsMsnConference.html#FsMsnConference--local-address" title='The "local-address" property'>local-address</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
47 "<a class="link" href="farsight2-plugins-FsMsnConference.html#FsMsnConference--local-address" title='The "local-address" property'>local-address</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
4848 </pre>
4949 </div>
5050 <div class="refsect1" title="Description">
7575 <a name="farsight2-plugins-FsMsnConference.property-details"></a><h2>Property Details</h2>
7676 <div class="refsect2" title='The "local-address" property'>
7777 <a name="FsMsnConference--local-address"></a><h3>The <code class="literal">"local-address"</code> property</h3>
78 <pre class="programlisting"> "local-address" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
78 <pre class="programlisting"> "local-address" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
7979 <p>The local contact address for the MSN sessions.</p>
8080 <p>Default value: NULL</p>
8181 </div>
8383 </div>
8484 <div class="footer">
8585 <hr>
86 Generated by GTK-Doc V1.14</div>
86 Generated by GTK-Doc V1.15</div>
8787 </body>
8888 </html>
77 <link rel="up" href="ch03.html" title="MSN Webcam plugin">
88 <link rel="prev" href="farsight2-plugins-FsMsnConference.html" title="FsMsnConference">
99 <link rel="next" href="farsight2-plugins-FsMsnSession.html" title="FsMsnSession">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
5959 </div>
6060 <div class="footer">
6161 <hr>
62 Generated by GTK-Doc V1.14</div>
62 Generated by GTK-Doc V1.15</div>
6363 </body>
6464 </html>
77 <link rel="up" href="ch03.html" title="MSN Webcam plugin">
88 <link rel="prev" href="farsight2-plugins-FsMsnParticipant.html" title="FsMsnParticipant">
99 <link rel="next" href="farsight2-plugins-FsMsnStream.html" title="FsMsnStream">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
5757 the <span class="type">"direction"</span> property.
5858 </p>
5959 <p>
60 The transmitter parameters to the <a href="../farsight2-libs-0.10/farsight2-libs-fs-session.html#fs-session-new-stream"><code class="function">fs_session_new_stream()</code></a> function are
60 The transmitter parameters to the <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-fs-session.html#fs-session-new-stream"><code class="function">fs_session_new_stream()</code></a> function are
6161 used to set the initial value of the construct properties of the stream
6262 object. This plugin does not use transmitter plugins, so the transmitter
6363 parameter itself is ignored.
9191 </div>
9292 <div class="footer">
9393 <hr>
94 Generated by GTK-Doc V1.14</div>
94 Generated by GTK-Doc V1.15</div>
9595 </body>
9696 </html>
77 <link rel="up" href="ch03.html" title="MSN Webcam plugin">
88 <link rel="prev" href="farsight2-plugins-FsMsnSession.html" title="FsMsnSession">
99 <link rel="next" href="pt03.html" title="Part III. Utility elements">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4545 <a name="farsight2-plugins-FsMsnStream.properties"></a><h2>Properties</h2>
4646 <pre class="synopsis">
4747 "<a class="link" href="farsight2-plugins-FsMsnStream.html#FsMsnStream--conference" title='The "conference" property'>conference</a>" <a class="link" href="farsight2-plugins-FsMsnConference.html#FsMsnConference" title="FsMsnConference"><span class="type">FsMsnConference</span></a>* : Read / Write / Construct Only
48 "<a class="link" href="farsight2-plugins-FsMsnStream.html#FsMsnStream--initial-port" title='The "initial-port" property'>initial-port</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
49 "<a class="link" href="farsight2-plugins-FsMsnStream.html#FsMsnStream--session-id" title='The "session-id" property'>session-id</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
48 "<a class="link" href="farsight2-plugins-FsMsnStream.html#FsMsnStream--initial-port" title='The "initial-port" property'>initial-port</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
49 "<a class="link" href="farsight2-plugins-FsMsnStream.html#FsMsnStream--session-id" title='The "session-id" property'>session-id</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
5050 </pre>
5151 </div>
5252 <div class="refsect1" title="Description">
5757 is unidirectional.
5858 </p>
5959 <p>
60 The "foundation" field of the local <a href="../farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a> contains the "recipient-id"
60 The "foundation" field of the local <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a> contains the "recipient-id"
6161 that must be transmitted to the peer.
6262 </p>
6363 <p>
6464 The session id can either be retrieved as a property, but it is also
65 put into every <a href="../farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a> in the "username" field.
65 put into every <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a> in the "username" field.
6666 </p>
6767 <p>
6868 If the peer started the webcam session, it picks the session-id, it can then
69 be set either in the transmitter parameters field of <a href="../farsight2-libs-0.10/farsight2-libs-fs-session.html#fs-session-new-stream"><code class="function">fs_session_new_stream()</code></a>
70 or by putting it in the "username" field of the remote <a href="../farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a>.
69 be set either in the transmitter parameters field of <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-fs-session.html#fs-session-new-stream"><code class="function">fs_session_new_stream()</code></a>
70 or by putting it in the "username" field of the remote <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a>.
7171 </p>
7272 </div>
7373 <div class="refsect1" title="Details">
9090 <hr>
9191 <div class="refsect2" title='The "initial-port" property'>
9292 <a name="FsMsnStream--initial-port"></a><h3>The <code class="literal">"initial-port"</code> property</h3>
93 <pre class="programlisting"> "initial-port" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
93 <pre class="programlisting"> "initial-port" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
9494 <p>The initial port to try to listen on for incoming connection. If already used, port+1 is tried until one succeeds.</p>
9595 <p>Allowed values: [1025,65535]</p>
9696 <p>Default value: 1025</p>
9898 <hr>
9999 <div class="refsect2" title='The "session-id" property'>
100100 <a name="FsMsnStream--session-id"></a><h3>The <code class="literal">"session-id"</code> property</h3>
101 <pre class="programlisting"> "session-id" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
101 <pre class="programlisting"> "session-id" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
102102 <p>This is the session-id of the MSN session.</p>
103103 <p>Allowed values: [1000,9999]</p>
104104 <p>Default value: 9000</p>
107107 </div>
108108 <div class="footer">
109109 <hr>
110 Generated by GTK-Doc V1.14</div>
110 Generated by GTK-Doc V1.15</div>
111111 </body>
112112 </html>
77 <link rel="up" href="ch02.html" title="Transmitters">
88 <link rel="prev" href="farsight2-plugins-FsRawUdpStreamTransmitter.html" title="FsRawUdpStreamTransmitter">
99 <link rel="next" href="farsight2-plugins-FsNiceStreamTransmitter.html" title="FsNiceStreamTransmitter">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
8686 <div class="variablelist"><table border="0">
8787 <col align="left" valign="top">
8888 <tbody><tr>
89 <td><p><span class="term"><a href="../farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> <em class="structfield"><code><a name="FsMulticastStreamTransmitter.parent"></a>parent</code></em>;</span></p></td>
89 <td><p><span class="term"><a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> <em class="structfield"><code><a name="FsMulticastStreamTransmitter.parent"></a>parent</code></em>;</span></p></td>
9090 <td>Parent object
9191 </td>
9292 </tr></tbody>
100100 </div>
101101 <div class="footer">
102102 <hr>
103 Generated by GTK-Doc V1.14</div>
103 Generated by GTK-Doc V1.15</div>
104104 </body>
105105 </html>
66 <link rel="home" href="index.html" title="Farsight2 Plugins Manual">
77 <link rel="up" href="ch02.html" title="Transmitters">
88 <link rel="prev" href="farsight2-plugins-FsMulticastStreamTransmitter.html" title="FsMulticastStreamTransmitter">
9 <link rel="next" href="pt02.html" title="Part II. MSN plugins">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
9 <link rel="next" href="farsight2-plugins-FsShmStreamTransmitter.html" title="FsShmStreamTransmitter">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
1717 <td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
1818 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
1919 <th width="100%" align="center">Farsight2 Plugins Manual</th>
20 <td><a accesskey="n" href="pt02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
20 <td><a accesskey="n" href="farsight2-plugins-FsShmStreamTransmitter.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
2121 </tr>
2222 <tr><td colspan="5" class="shortcuts">
2323 <a href="#farsight2-plugins-FsNiceStreamTransmitter.synopsis" class="shortcut">Top</a>
4444 <div class="refsect1" title="Properties">
4545 <a name="farsight2-plugins-FsNiceStreamTransmitter.properties"></a><h2>Properties</h2>
4646 <pre class="synopsis">
47 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--compatibility-mode" title='The "compatibility-mode" property'>compatibility-mode</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Write / Construct Only
48 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--controlling-mode" title='The "controlling-mode" property'>controlling-mode</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct
49 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--debug" title='The "debug" property'>debug</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Write
50 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--relay-info" title='The "relay-info" property'>relay-info</a>" <a href="/usr/share/gtk-doc/html/gobject/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a>* : Write / Construct Only
51 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stream-id" title='The "stream-id" property'>stream-id</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
52 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip" title='The "stun-ip" property'>stun-ip</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
53 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port" title='The "stun-port" property'>stun-port</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
47 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--compatibility-mode" title='The "compatibility-mode" property'>compatibility-mode</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Write / Construct Only
48 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--controlling-mode" title='The "controlling-mode" property'>controlling-mode</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct
49 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--debug" title='The "debug" property'>debug</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Write
50 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--relay-info" title='The "relay-info" property'>relay-info</a>" <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a>* : Write / Construct Only
51 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stream-id" title='The "stream-id" property'>stream-id</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
52 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip" title='The "stun-ip" property'>stun-ip</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
53 "<a class="link" href="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port" title='The "stun-port" property'>stun-port</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
5454 </pre>
5555 </div>
5656 <div class="refsect1" title="Description">
7070 <div class="variablelist"><table border="0">
7171 <col align="left" valign="top">
7272 <tbody><tr>
73 <td><p><span class="term"><a href="../farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> <em class="structfield"><code><a name="FsNiceStreamTransmitter.parent"></a>parent</code></em>;</span></p></td>
73 <td><p><span class="term"><a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> <em class="structfield"><code><a name="FsNiceStreamTransmitter.parent"></a>parent</code></em>;</span></p></td>
7474 <td>Parent object
7575 </td>
7676 </tr></tbody>
8181 <a name="farsight2-plugins-FsNiceStreamTransmitter.property-details"></a><h2>Property Details</h2>
8282 <div class="refsect2" title='The "compatibility-mode" property'>
8383 <a name="FsNiceStreamTransmitter--compatibility-mode"></a><h3>The <code class="literal">"compatibility-mode"</code> property</h3>
84 <pre class="programlisting"> "compatibility-mode" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Write / Construct Only</pre>
84 <pre class="programlisting"> "compatibility-mode" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Write / Construct Only</pre>
8585 <p>The id of the stream according to libnice.</p>
8686 <p>Allowed values: &lt;= 3</p>
8787 <p>Default value: 0</p>
8989 <hr>
9090 <div class="refsect2" title='The "controlling-mode" property'>
9191 <a name="FsNiceStreamTransmitter--controlling-mode"></a><h3>The <code class="literal">"controlling-mode"</code> property</h3>
92 <pre class="programlisting"> "controlling-mode" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre>
92 <pre class="programlisting"> "controlling-mode" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre>
9393 <p>Whether the agent is in controlling mode.</p>
9494 <p>Default value: TRUE</p>
9595 </div>
9696 <hr>
9797 <div class="refsect2" title='The "debug" property'>
9898 <a name="FsNiceStreamTransmitter--debug"></a><h3>The <code class="literal">"debug"</code> property</h3>
99 <pre class="programlisting"> "debug" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Write</pre>
99 <pre class="programlisting"> "debug" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Write</pre>
100100 <p>Whether the agent should enable libnice and stun debug messages.</p>
101101 <p>Default value: FALSE</p>
102102 </div>
103103 <hr>
104104 <div class="refsect2" title='The "relay-info" property'>
105105 <a name="FsNiceStreamTransmitter--relay-info"></a><h3>The <code class="literal">"relay-info"</code> property</h3>
106 <pre class="programlisting"> "relay-info" <a href="/usr/share/gtk-doc/html/gobject/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a>* : Write / Construct Only</pre>
106 <pre class="programlisting"> "relay-info" <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a>* : Write / Construct Only</pre>
107107 <p>
108 This is a <a href="/usr/share/gtk-doc/html/gobject/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> containing one or more <a href="../gstreamer-0.10/gstreamer-GstStructure.html#GstStructure"><span class="type">GstStructure</span></a>.
108 This is a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> containing one or more <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstStructure.html#GstStructure"><span class="type">GstStructure</span></a>.
109109 </p>
110110 <p>
111111 The fields in the structure are:
112112 </p>
113 <table id="id505678">
113 <table id="id500976">
114114 <tr><th colspan="2">Required</th></tr>
115115 <tr>
116116 <td nowrap>(gchar*)</td>
154154 <hr>
155155 <div class="refsect2" title='The "stream-id" property'>
156156 <a name="FsNiceStreamTransmitter--stream-id"></a><h3>The <code class="literal">"stream-id"</code> property</h3>
157 <pre class="programlisting"> "stream-id" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
157 <pre class="programlisting"> "stream-id" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
158158 <p>The id of the stream according to libnice.</p>
159159 <p>Allowed values: &lt;= G_MAXINT</p>
160160 <p>Default value: 0</p>
162162 <hr>
163163 <div class="refsect2" title='The "stun-ip" property'>
164164 <a name="FsNiceStreamTransmitter--stun-ip"></a><h3>The <code class="literal">"stun-ip"</code> property</h3>
165 <pre class="programlisting"> "stun-ip" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
165 <pre class="programlisting"> "stun-ip" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
166166 <p>The STUN server used to obtain server-reflexive candidates.</p>
167167 <p>Default value: NULL</p>
168168 </div>
169169 <hr>
170170 <div class="refsect2" title='The "stun-port" property'>
171171 <a name="FsNiceStreamTransmitter--stun-port"></a><h3>The <code class="literal">"stun-port"</code> property</h3>
172 <pre class="programlisting"> "stun-port" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
172 <pre class="programlisting"> "stun-port" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
173173 <p>The STUN server used to obtain server-reflexive candidates.</p>
174174 <p>Allowed values: [1,65536]</p>
175175 <p>Default value: 3478</p>
182182 </div>
183183 <div class="footer">
184184 <hr>
185 Generated by GTK-Doc V1.14</div>
185 Generated by GTK-Doc V1.15</div>
186186 </body>
187187 </html>
77 <link rel="up" href="ch02.html" title="Transmitters">
88 <link rel="prev" href="ch02.html" title="Transmitters">
99 <link rel="next" href="farsight2-plugins-FsMulticastStreamTransmitter.html" title="FsMulticastStreamTransmitter">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4444 <div class="refsect1" title="Properties">
4545 <a name="farsight2-plugins-FsRawUdpStreamTransmitter.properties"></a><h2>Properties</h2>
4646 <pre class="synopsis">
47 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--stun-ip" title='The "stun-ip" property'>stun-ip</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
48 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--stun-port" title='The "stun-port" property'>stun-port</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
49 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--stun-timeout" title='The "stun-timeout" property'>stun-timeout</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
50 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-discovery" title='The "upnp-discovery" property'>upnp-discovery</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only
51 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-discovery-timeout" title='The "upnp-discovery-timeout" property'>upnp-discovery-timeout</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
52 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-mapping" title='The "upnp-mapping" property'>upnp-mapping</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only
53 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-mapping-timeout" title='The "upnp-mapping-timeout" property'>upnp-mapping-timeout</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
54 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-request-timeout" title='The "upnp-request-timeout" property'>upnp-request-timeout</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
47 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--stun-ip" title='The "stun-ip" property'>stun-ip</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
48 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--stun-port" title='The "stun-port" property'>stun-port</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
49 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--stun-timeout" title='The "stun-timeout" property'>stun-timeout</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
50 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-discovery" title='The "upnp-discovery" property'>upnp-discovery</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only
51 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-discovery-timeout" title='The "upnp-discovery-timeout" property'>upnp-discovery-timeout</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
52 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-mapping" title='The "upnp-mapping" property'>upnp-mapping</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only
53 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-mapping-timeout" title='The "upnp-mapping-timeout" property'>upnp-mapping-timeout</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
54 "<a class="link" href="farsight2-plugins-FsRawUdpStreamTransmitter.html#FsRawUdpStreamTransmitter--upnp-request-timeout" title='The "upnp-request-timeout" property'>upnp-request-timeout</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
5555 </pre>
5656 </div>
5757 <div class="refsect1" title="Description">
6969 </p>
7070 <p>
7171 You can configure the address and port it will listen on by setting the
72 "preferred-local-candidates" property. This property will contain a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>
73 of <a href="../farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a>. These <a href="../farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a> must be for <a href="../farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FS-NETWORK-PROTOCOL-UDP:CAPS"><span class="type">FS_NETWORK_PROTOCOL_UDP</span></a>.
72 "preferred-local-candidates" property. This property will contain a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>
73 of <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a>. These <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a> must be for <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FS-NETWORK-PROTOCOL-UDP:CAPS"><span class="type">FS_NETWORK_PROTOCOL_UDP</span></a>.
7474 These port and/or the ip can be set on these candidates to force them,
7575 and this is per-component. If not all components have a port set, the
7676 following components will be on the following ports. There is no guarantee
105105 <div class="variablelist"><table border="0">
106106 <col align="left" valign="top">
107107 <tbody><tr>
108 <td><p><span class="term"><a href="../farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> <em class="structfield"><code><a name="FsRawUdpStreamTransmitter.parent"></a>parent</code></em>;</span></p></td>
108 <td><p><span class="term"><a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> <em class="structfield"><code><a name="FsRawUdpStreamTransmitter.parent"></a>parent</code></em>;</span></p></td>
109109 <td>Parent object
110110 </td>
111111 </tr></tbody>
116116 <a name="farsight2-plugins-FsRawUdpStreamTransmitter.property-details"></a><h2>Property Details</h2>
117117 <div class="refsect2" title='The "stun-ip" property'>
118118 <a name="FsRawUdpStreamTransmitter--stun-ip"></a><h3>The <code class="literal">"stun-ip"</code> property</h3>
119 <pre class="programlisting"> "stun-ip" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
119 <pre class="programlisting"> "stun-ip" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
120120 <p>The IPv4 address of the STUN server as a x.x.x.x string.</p>
121121 <p>Default value: NULL</p>
122122 </div>
123123 <hr>
124124 <div class="refsect2" title='The "stun-port" property'>
125125 <a name="FsRawUdpStreamTransmitter--stun-port"></a><h3>The <code class="literal">"stun-port"</code> property</h3>
126 <pre class="programlisting"> "stun-port" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
126 <pre class="programlisting"> "stun-port" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
127127 <p>The IPv4 UDP port of the STUN server as a .</p>
128128 <p>Allowed values: [1,65535]</p>
129129 <p>Default value: 3478</p>
131131 <hr>
132132 <div class="refsect2" title='The "stun-timeout" property'>
133133 <a name="FsRawUdpStreamTransmitter--stun-timeout"></a><h3>The <code class="literal">"stun-timeout"</code> property</h3>
134 <pre class="programlisting"> "stun-timeout" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
134 <pre class="programlisting"> "stun-timeout" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
135135 <p>How long to wait for for the STUN reply (in seconds) before giving up.</p>
136136 <p>Allowed values: &gt;= 1</p>
137137 <p>Default value: 30</p>
139139 <hr>
140140 <div class="refsect2" title='The "upnp-discovery" property'>
141141 <a name="FsRawUdpStreamTransmitter--upnp-discovery"></a><h3>The <code class="literal">"upnp-discovery"</code> property</h3>
142 <pre class="programlisting"> "upnp-discovery" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre>
142 <pre class="programlisting"> "upnp-discovery" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre>
143143 <p>Tries to discovery the external IP with UPnP if stun fails.</p>
144144 <p>Default value: TRUE</p>
145145 </div>
146146 <hr>
147147 <div class="refsect2" title='The "upnp-discovery-timeout" property'>
148148 <a name="FsRawUdpStreamTransmitter--upnp-discovery-timeout"></a><h3>The <code class="literal">"upnp-discovery-timeout"</code> property</h3>
149 <pre class="programlisting"> "upnp-discovery-timeout" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
149 <pre class="programlisting"> "upnp-discovery-timeout" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
150150 <p>After this period, UPnP discovery is considered to have failed and the local IP is returned.</p>
151151 <p>Default value: 10</p>
152152 </div>
153153 <hr>
154154 <div class="refsect2" title='The "upnp-mapping" property'>
155155 <a name="FsRawUdpStreamTransmitter--upnp-mapping"></a><h3>The <code class="literal">"upnp-mapping"</code> property</h3>
156 <pre class="programlisting"> "upnp-mapping" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre>
156 <pre class="programlisting"> "upnp-mapping" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre>
157157 <p>Tries to map ports using UPnP if enabled.</p>
158158 <p>Default value: TRUE</p>
159159 </div>
160160 <hr>
161161 <div class="refsect2" title='The "upnp-mapping-timeout" property'>
162162 <a name="FsRawUdpStreamTransmitter--upnp-mapping-timeout"></a><h3>The <code class="literal">"upnp-mapping-timeout"</code> property</h3>
163 <pre class="programlisting"> "upnp-mapping-timeout" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
163 <pre class="programlisting"> "upnp-mapping-timeout" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
164164 <p>The UPnP port mappings expire after this period if the app has crashed (in seconds).</p>
165165 <p>Default value: 600</p>
166166 </div>
167167 <hr>
168168 <div class="refsect2" title='The "upnp-request-timeout" property'>
169169 <a name="FsRawUdpStreamTransmitter--upnp-request-timeout"></a><h3>The <code class="literal">"upnp-request-timeout"</code> property</h3>
170 <pre class="programlisting"> "upnp-request-timeout" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
170 <pre class="programlisting"> "upnp-request-timeout" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
171171 <p>After this delay, UPnP requests fails.</p>
172172 <p>Allowed values: [1,600]</p>
173173 <p>Default value: 10</p>
180180 </div>
181181 <div class="footer">
182182 <hr>
183 Generated by GTK-Doc V1.14</div>
183 Generated by GTK-Doc V1.15</div>
184184 </body>
185185 </html>
77 <link rel="up" href="ch01.html" title="Core interface classes">
88 <link rel="prev" href="ch01.html" title="Core interface classes">
99 <link rel="next" href="farsight2-plugins-FsRtpParticipant.html" title="FsRtpParticipant">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4444 <div class="refsect1" title="Properties">
4545 <a name="farsight2-plugins-FsRtpConference.properties"></a><h2>Properties</h2>
4646 <pre class="synopsis">
47 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-cname" title='The "sdes-cname" property'>sdes-cname</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
48 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-email" title='The "sdes-email" property'>sdes-email</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
49 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-location" title='The "sdes-location" property'>sdes-location</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
50 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-name" title='The "sdes-name" property'>sdes-name</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
51 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-note" title='The "sdes-note" property'>sdes-note</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
52 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-phone" title='The "sdes-phone" property'>sdes-phone</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
53 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-tool" title='The "sdes-tool" property'>sdes-tool</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
54 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes" title='The "sdes" property'>sdes</a>" <a href="../gstreamer-0.10/gstreamer-GstStructure.html#GstStructure"><span class="type">GstStructure</span></a>* : Read / Write
47 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-cname" title='The "sdes-cname" property'>sdes-cname</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
48 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-email" title='The "sdes-email" property'>sdes-email</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
49 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-location" title='The "sdes-location" property'>sdes-location</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
50 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-name" title='The "sdes-name" property'>sdes-name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
51 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-note" title='The "sdes-note" property'>sdes-note</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
52 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-phone" title='The "sdes-phone" property'>sdes-phone</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
53 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-tool" title='The "sdes-tool" property'>sdes-tool</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
54 "<a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes" title='The "sdes" property'>sdes</a>" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstStructure.html#GstStructure"><span class="type">GstStructure</span></a>* : Read / Write
5555 </pre>
5656 </div>
5757 <div class="refsect1" title="Description">
5959 <p>
6060 This is the core gstreamer element for a RTP conference. It must be added
6161 to your pipeline before anything else is done. Then you create the session,
62 participants and streams according to the <a href="../farsight2-libs-0.10/FsConference.html"><span class="type">FsConference</span></a> interface.
62 participants and streams according to the <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsConference.html"><span class="type">FsConference</span></a> interface.
6363 </p>
6464 <p>
6565 The various sdes-* properties allow you to set the content of the SDES packet
8282 <a name="farsight2-plugins-FsRtpConference.property-details"></a><h2>Property Details</h2>
8383 <div class="refsect2" title='The "sdes-cname" property'>
8484 <a name="FsRtpConference--sdes-cname"></a><h3>The <code class="literal">"sdes-cname"</code> property</h3>
85 <pre class="programlisting"> "sdes-cname" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
85 <pre class="programlisting"> "sdes-cname" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
8686 <p>The CNAME for the RTP sessions.</p>
8787 <p>Default value: NULL</p>
8888 </div>
8989 <hr>
9090 <div class="refsect2" title='The "sdes-email" property'>
9191 <a name="FsRtpConference--sdes-email"></a><h3>The <code class="literal">"sdes-email"</code> property</h3>
92 <pre class="programlisting"> "sdes-email" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
92 <pre class="programlisting"> "sdes-email" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
9393 <p>The EMAIL to put in SDES messages of this session.</p>
9494 <p>Default value: NULL</p>
9595 </div>
9696 <hr>
9797 <div class="refsect2" title='The "sdes-location" property'>
9898 <a name="FsRtpConference--sdes-location"></a><h3>The <code class="literal">"sdes-location"</code> property</h3>
99 <pre class="programlisting"> "sdes-location" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
99 <pre class="programlisting"> "sdes-location" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
100100 <p>The LOCATION to put in SDES messages of this session.</p>
101101 <p>Default value: NULL</p>
102102 </div>
103103 <hr>
104104 <div class="refsect2" title='The "sdes-name" property'>
105105 <a name="FsRtpConference--sdes-name"></a><h3>The <code class="literal">"sdes-name"</code> property</h3>
106 <pre class="programlisting"> "sdes-name" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
106 <pre class="programlisting"> "sdes-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
107107 <p>The NAME to put in SDES messages of this session.</p>
108108 <p>Default value: NULL</p>
109109 </div>
110110 <hr>
111111 <div class="refsect2" title='The "sdes-note" property'>
112112 <a name="FsRtpConference--sdes-note"></a><h3>The <code class="literal">"sdes-note"</code> property</h3>
113 <pre class="programlisting"> "sdes-note" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
113 <pre class="programlisting"> "sdes-note" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
114114 <p>The NOTE to put in SDES messages of this session.</p>
115115 <p>Default value: NULL</p>
116116 </div>
117117 <hr>
118118 <div class="refsect2" title='The "sdes-phone" property'>
119119 <a name="FsRtpConference--sdes-phone"></a><h3>The <code class="literal">"sdes-phone"</code> property</h3>
120 <pre class="programlisting"> "sdes-phone" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
120 <pre class="programlisting"> "sdes-phone" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
121121 <p>The PHONE to put in SDES messages of this session.</p>
122122 <p>Default value: NULL</p>
123123 </div>
124124 <hr>
125125 <div class="refsect2" title='The "sdes-tool" property'>
126126 <a name="FsRtpConference--sdes-tool"></a><h3>The <code class="literal">"sdes-tool"</code> property</h3>
127 <pre class="programlisting"> "sdes-tool" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
127 <pre class="programlisting"> "sdes-tool" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
128128 <p>The TOOL to put in SDES messages of this session.</p>
129129 <p>Default value: NULL</p>
130130 </div>
131131 <hr>
132132 <div class="refsect2" title='The "sdes" property'>
133133 <a name="FsRtpConference--sdes"></a><h3>The <code class="literal">"sdes"</code> property</h3>
134 <pre class="programlisting"> "sdes" <a href="../gstreamer-0.10/gstreamer-GstStructure.html#GstStructure"><span class="type">GstStructure</span></a>* : Read / Write</pre>
134 <pre class="programlisting"> "sdes" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstStructure.html#GstStructure"><span class="type">GstStructure</span></a>* : Read / Write</pre>
135135 <p>SDES items to use for sessions in this conference.</p>
136136 </div>
137137 </div>
138138 </div>
139139 <div class="footer">
140140 <hr>
141 Generated by GTK-Doc V1.14</div>
141 Generated by GTK-Doc V1.15</div>
142142 </body>
143143 </html>
77 <link rel="up" href="ch01.html" title="Core interface classes">
88 <link rel="prev" href="farsight2-plugins-FsRtpConference.html" title="FsRtpConference">
99 <link rel="next" href="farsight2-plugins-FsRtpSession.html" title="FsRtpSession">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4444 <div class="refsect1" title="Properties">
4545 <a name="farsight2-plugins-FsRtpParticipant.properties"></a><h2>Properties</h2>
4646 <pre class="synopsis">
47 "<a class="link" href="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant--cname" title='The "cname" property'>cname</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
47 "<a class="link" href="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant--cname" title='The "cname" property'>cname</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
4848 </pre>
4949 </div>
5050 <div class="refsect1" title="Description">
6868 <a name="farsight2-plugins-FsRtpParticipant.property-details"></a><h2>Property Details</h2>
6969 <div class="refsect2" title='The "cname" property'>
7070 <a name="FsRtpParticipant--cname"></a><h3>The <code class="literal">"cname"</code> property</h3>
71 <pre class="programlisting"> "cname" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
71 <pre class="programlisting"> "cname" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
7272 <p>A string of the cname of the participant.</p>
7373 <p>Default value: NULL</p>
7474 </div>
7676 </div>
7777 <div class="footer">
7878 <hr>
79 Generated by GTK-Doc V1.14</div>
79 Generated by GTK-Doc V1.15</div>
8080 </body>
8181 </html>
77 <link rel="up" href="ch01.html" title="Core interface classes">
88 <link rel="prev" href="farsight2-plugins-FsRtpParticipant.html" title="FsRtpParticipant">
99 <link rel="next" href="farsight2-plugins-FsRtpStream.html" title="FsRtpStream">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4444 <div class="refsect1" title="Properties">
4545 <a name="farsight2-plugins-FsRtpSession.properties"></a><h2>Properties</h2>
4646 <pre class="synopsis">
47 "<a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession--no-rtcp-timeout" title='The "no-rtcp-timeout" property'>no-rtcp-timeout</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
47 "<a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession--no-rtcp-timeout" title='The "no-rtcp-timeout" property'>no-rtcp-timeout</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
4848 "<a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession--conference" title='The "conference" property'>conference</a>" <a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference" title="FsRtpConference"><span class="type">FsRtpConference</span></a>* : Read / Write / Construct Only
49 "<a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession--ssrc" title='The "ssrc" property'>ssrc</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
50 "<a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession--send-bitrate" title='The "send-bitrate" property'>send-bitrate</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
49 "<a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession--ssrc" title='The "ssrc" property'>ssrc</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
50 "<a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession--send-bitrate" title='The "send-bitrate" property'>send-bitrate</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
5151 </pre>
5252 </div>
5353 <div class="refsect1" title="Description">
5454 <a name="farsight2-plugins-FsRtpSession.description"></a><h2>Description</h2>
5555 <p>
5656 This object represents one session, it is created by called
57 <a href="../farsight2-libs-0.10/FsConference.html#fs-conference-new-session"><code class="function">fs_conference_new_session()</code></a> on a <a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference" title="FsRtpConference"><span class="type">FsRtpConference</span></a>. It can be either
57 <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsConference.html#fs-conference-new-session"><code class="function">fs_conference_new_session()</code></a> on a <a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference" title="FsRtpConference"><span class="type">FsRtpConference</span></a>. It can be either
5858 Audio or Video. It also represents data send with one and only one
5959 SSRC (although if there is a SSRC collision, that SSRC may change).
6060 </p>
6161 <div class="refsect2" title="Codec profiles">
62 <a name="id500605"></a><h3>Codec profiles</h3>
62 <a name="id502848"></a><h3>Codec profiles</h3>
6363 <p>
6464 It is possible to define "codec profiles", that is non-autodetected
6565 encoding and decoding pipelines for codecs. It is even possible to declare
100100 <a name="farsight2-plugins-FsRtpSession.property-details"></a><h2>Property Details</h2>
101101 <div class="refsect2" title='The "no-rtcp-timeout" property'>
102102 <a name="FsRtpSession--no-rtcp-timeout"></a><h3>The <code class="literal">"no-rtcp-timeout"</code> property</h3>
103 <pre class="programlisting"> "no-rtcp-timeout" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
103 <pre class="programlisting"> "no-rtcp-timeout" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
104104 <p>This is the time (in ms) after which data received without RTCP is attached the FsStream, this only works if there is only one FsStream. -1 will wait forever. 0 will not wait for RTCP and attach it immediataly to the FsStream and prohibit the creation of a second FsStream.</p>
105105 <p>Allowed values: &gt;= G_MAXULONG</p>
106106 <p>Default value: 7000</p>
114114 <hr>
115115 <div class="refsect2" title='The "ssrc" property'>
116116 <a name="FsRtpSession--ssrc"></a><h3>The <code class="literal">"ssrc"</code> property</h3>
117 <pre class="programlisting"> "ssrc" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
117 <pre class="programlisting"> "ssrc" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
118118 <p>This is the current SSRC used to send data (defaults to a random value).</p>
119119 <p>Default value: 0</p>
120120 </div>
121121 <hr>
122122 <div class="refsect2" title='The "send-bitrate" property'>
123123 <a name="FsRtpSession--send-bitrate"></a><h3>The <code class="literal">"send-bitrate"</code> property</h3>
124 <pre class="programlisting"> "send-bitrate" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
124 <pre class="programlisting"> "send-bitrate" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
125125 <p>The bitrate that the session will try to send at in bits/sec.</p>
126126 <p>Default value: 0</p>
127127 </div>
129129 </div>
130130 <div class="footer">
131131 <hr>
132 Generated by GTK-Doc V1.14</div>
132 Generated by GTK-Doc V1.15</div>
133133 </body>
134134 </html>
77 <link rel="up" href="ch01.html" title="Core interface classes">
88 <link rel="prev" href="farsight2-plugins-FsRtpSession.html" title="FsRtpSession">
99 <link rel="next" href="ch02.html" title="Transmitters">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4444 <div class="refsect1" title="Properties">
4545 <a name="farsight2-plugins-FsRtpStream.properties"></a><h2>Properties</h2>
4646 <pre class="synopsis">
47 "<a class="link" href="farsight2-plugins-FsRtpStream.html#FsRtpStream--stream-transmitter" title='The "stream-transmitter" property'>stream-transmitter</a>" <a href="../farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a>* : Write / Construct Only
47 "<a class="link" href="farsight2-plugins-FsRtpStream.html#FsRtpStream--stream-transmitter" title='The "stream-transmitter" property'>stream-transmitter</a>" <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a>* : Write / Construct Only
4848 </pre>
4949 </div>
5050 <div class="refsect1" title="Description">
5151 <a name="farsight2-plugins-FsRtpStream.description"></a><h2>Description</h2>
5252 <p>
5353 This is the conjunction of a <a class="link" href="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant" title="FsRtpParticipant"><span class="type">FsRtpParticipant</span></a> and a <a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession" title="FsRtpSession"><span class="type">FsRtpSession</span></a>,
54 it is created by calling <a href="../farsight2-libs-0.10/farsight2-libs-fs-session.html#fs-session-new-stream"><code class="function">fs_session_new_stream()</code></a> on a
54 it is created by calling <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-fs-session.html#fs-session-new-stream"><code class="function">fs_session_new_stream()</code></a> on a
5555 <a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession" title="FsRtpSession"><span class="type">FsRtpSession</span></a>.
5656 </p>
5757 </div>
6969 <a name="farsight2-plugins-FsRtpStream.property-details"></a><h2>Property Details</h2>
7070 <div class="refsect2" title='The "stream-transmitter" property'>
7171 <a name="FsRtpStream--stream-transmitter"></a><h3>The <code class="literal">"stream-transmitter"</code> property</h3>
72 <pre class="programlisting"> "stream-transmitter" <a href="../farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a>* : Write / Construct Only</pre>
72 <pre class="programlisting"> "stream-transmitter" <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a>* : Write / Construct Only</pre>
7373 <p>
74 The <a href="../farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> for this stream.
74 The <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> for this stream.
7575 </p>
7676 </div>
7777 </div>
7878 </div>
7979 <div class="footer">
8080 <hr>
81 Generated by GTK-Doc V1.14</div>
81 Generated by GTK-Doc V1.15</div>
8282 </body>
8383 </html>
0 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <title>FsShmStreamTransmitter</title>
5 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6 <link rel="home" href="index.html" title="Farsight2 Plugins Manual">
7 <link rel="up" href="ch02.html" title="Transmitters">
8 <link rel="prev" href="farsight2-plugins-FsNiceStreamTransmitter.html" title="FsNiceStreamTransmitter">
9 <link rel="next" href="pt02.html" title="Part II. MSN plugins">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
11 <link rel="stylesheet" href="style.css" type="text/css">
12 </head>
13 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
15 <tr valign="middle">
16 <td><a accesskey="p" href="farsight2-plugins-FsNiceStreamTransmitter.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17 <td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19 <th width="100%" align="center">Farsight2 Plugins Manual</th>
20 <td><a accesskey="n" href="pt02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21 </tr>
22 <tr><td colspan="5" class="shortcuts">
23 <a href="#farsight2-plugins-FsShmStreamTransmitter.synopsis" class="shortcut">Top</a>
24  | 
25 <a href="#farsight2-plugins-FsShmStreamTransmitter.description" class="shortcut">Description</a>
26 </td></tr>
27 </table>
28 <div class="refentry" title="FsShmStreamTransmitter">
29 <a name="farsight2-plugins-FsShmStreamTransmitter"></a><div class="titlepage"></div>
30 <div class="refnamediv"><table width="100%"><tr>
31 <td valign="top">
32 <h2><span class="refentrytitle"><a name="farsight2-plugins-FsShmStreamTransmitter.top_of_page"></a>FsShmStreamTransmitter</span></h2>
33 <p>FsShmStreamTransmitter — A stream transmitter object for Shared Memory</p>
34 </td>
35 <td valign="top" align="right"></td>
36 </tr></table></div>
37 <div class="refsynopsisdiv" title="Synopsis">
38 <a name="farsight2-plugins-FsShmStreamTransmitter.synopsis"></a><h2>Synopsis</h2>
39 <pre class="synopsis"> <a class="link" href="farsight2-plugins-FsShmStreamTransmitter.html#FsShmStreamTransmitter" title="FsShmStreamTransmitter">FsShmStreamTransmitter</a>;
40 </pre>
41 </div>
42 <div class="refsect1" title="Description">
43 <a name="farsight2-plugins-FsShmStreamTransmitter.description"></a><h2>Description</h2>
44 <p>
45 The name of this transmitter is "shm".
46 </p>
47 <p>
48 This transmitter is meant to send and received the data from another process
49 on the same system while minimizing the memory pressure associated with the
50 use of sockets.
51 </p>
52 <p>
53 Two sockets are used to control the shared memory areas. One is used to
54 send data and one to receive data. The receiver always connects to the
55 sender. The sender socket must exist before the receiver connects to it.
56 </p>
57 <p>
58 The sender socket can be created by giving the transmitter a candidate
59 with the path of the socket in the "ip" field of the <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a>. This
60 <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a> can be given to the <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> in two ways, either
61 by setting the <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html#FsStreamTransmitter--preferred-local-candidates"><span class="type">"preferred-local-candidates"</span></a> property
62 or by calling the <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html#fs-stream-transmitter-set-remote-candidates"><code class="function">fs_stream_transmitter_set_remote_candidates()</code></a> function.
63 There can be only one single send socket per stream. When the send socket
64 is ready to be connected to, <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html#FsStreamTransmitter-new-local-candidate"><span class="type">"new-local-candidate"</span></a> signal
65 will be emitted.
66 </p>
67 <p>
68 To connect the receive side to the other application, one must create a
69 <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"><span class="type">FsCandidate</span></a> with the path of the sender's socket in the "username" field.
70 If the receiver can not connect to the sender,
71 the <a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html#fs-stream-transmitter-set-remote-candidates"><code class="function">fs_stream_transmitter_set_remote_candidates()</code></a> call will fail.
72 </p>
73 </div>
74 <div class="refsect1" title="Details">
75 <a name="farsight2-plugins-FsShmStreamTransmitter.details"></a><h2>Details</h2>
76 <div class="refsect2" title="FsShmStreamTransmitter">
77 <a name="FsShmStreamTransmitter"></a><h3>FsShmStreamTransmitter</h3>
78 <pre class="programlisting">typedef struct {
79 FsStreamTransmitter parent;
80 } FsShmStreamTransmitter;
81 </pre>
82 <p>
83 All members are private, access them using methods and properties
84 </p>
85 <div class="variablelist"><table border="0">
86 <col align="left" valign="top">
87 <tbody><tr>
88 <td><p><span class="term"><a href="/usr/share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html"><span class="type">FsStreamTransmitter</span></a> <em class="structfield"><code><a name="FsShmStreamTransmitter.parent"></a>parent</code></em>;</span></p></td>
89 <td>Parent object
90 </td>
91 </tr></tbody>
92 </table></div>
93 </div>
94 </div>
95 </div>
96 <div class="footer">
97 <hr>
98 Generated by GTK-Doc V1.15</div>
99 </body>
100 </html>
66 <link rel="home" href="index.html" title="Farsight2 Plugins Manual">
77 <link rel="up" href="pt03.html" title="Part III. Utility elements">
88 <link rel="prev" href="farsight2-plugins-FsFunnel.html" title="FsFunnel">
9 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
9 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1010 <link rel="stylesheet" href="style.css" type="text/css">
1111 </head>
1212 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
6060 </div>
6161 <div class="footer">
6262 <hr>
63 Generated by GTK-Doc V1.14</div>
63 Generated by GTK-Doc V1.15</div>
6464 </body>
6565 </html>
1212 <sub name="FsRawUdpStreamTransmitter" link="farsight2-plugins-FsRawUdpStreamTransmitter.html"/>
1313 <sub name="FsMulticastStreamTransmitter" link="farsight2-plugins-FsMulticastStreamTransmitter.html"/>
1414 <sub name="FsNiceStreamTransmitter" link="farsight2-plugins-FsNiceStreamTransmitter.html"/>
15 <sub name="FsShmStreamTransmitter" link="farsight2-plugins-FsShmStreamTransmitter.html"/>
1516 </sub>
1617 </sub>
1718 <sub name="MSN plugins" link="pt02.html">
4142 <function name="The &quot;sdes&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes"/>
4243 <function name="FsRtpParticipant" link="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant"/>
4344 <function name="The &quot;cname&quot; property" link="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant--cname"/>
44 <function name="Codec profiles" link="farsight2-plugins-FsRtpSession.html#id500605"/>
45 <function name="Codec profiles" link="farsight2-plugins-FsRtpSession.html#id502848"/>
4546 <function name="FsRtpSession" link="farsight2-plugins-FsRtpSession.html#FsRtpSession"/>
4647 <function name="The &quot;no-rtcp-timeout&quot; property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--no-rtcp-timeout"/>
4748 <function name="The &quot;conference&quot; property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--conference"/>
6768 <function name="The &quot;stream-id&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stream-id"/>
6869 <function name="The &quot;stun-ip&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip"/>
6970 <function name="The &quot;stun-port&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port"/>
71 <function name="FsShmStreamTransmitter" link="farsight2-plugins-FsShmStreamTransmitter.html#FsShmStreamTransmitter"/>
7072 <function name="FsMsnCamSendConference" link="farsight2-plugins-FsMsnCamSendConference.html#FsMsnCamSendConference"/>
7173 <function name="FsMsnCamRecvConference" link="farsight2-plugins-FsMsnCamCamRecvConference.html#FsMsnCamRecvConference"/>
7274 <function name="FsMsnConference" link="farsight2-plugins-FsMsnConference.html#FsMsnConference"/>
1212 <sub name="FsRawUdpStreamTransmitter" link="farsight2-plugins-FsRawUdpStreamTransmitter.html"/>
1313 <sub name="FsMulticastStreamTransmitter" link="farsight2-plugins-FsMulticastStreamTransmitter.html"/>
1414 <sub name="FsNiceStreamTransmitter" link="farsight2-plugins-FsNiceStreamTransmitter.html"/>
15 <sub name="FsShmStreamTransmitter" link="farsight2-plugins-FsShmStreamTransmitter.html"/>
1516 </sub>
1617 </sub>
1718 <sub name="MSN plugins" link="pt02.html">
4142 <keyword type="property" name="The &quot;sdes&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes"/>
4243 <keyword type="struct" name="FsRtpParticipant" link="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant"/>
4344 <keyword type="property" name="The &quot;cname&quot; property" link="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant--cname"/>
44 <keyword type="" name="Codec profiles" link="farsight2-plugins-FsRtpSession.html#id500605"/>
45 <keyword type="" name="Codec profiles" link="farsight2-plugins-FsRtpSession.html#id502848"/>
4546 <keyword type="struct" name="FsRtpSession" link="farsight2-plugins-FsRtpSession.html#FsRtpSession"/>
4647 <keyword type="property" name="The &quot;no-rtcp-timeout&quot; property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--no-rtcp-timeout"/>
4748 <keyword type="property" name="The &quot;conference&quot; property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--conference"/>
6768 <keyword type="property" name="The &quot;stream-id&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stream-id"/>
6869 <keyword type="property" name="The &quot;stun-ip&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip"/>
6970 <keyword type="property" name="The &quot;stun-port&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port"/>
71 <keyword type="struct" name="FsShmStreamTransmitter" link="farsight2-plugins-FsShmStreamTransmitter.html#FsShmStreamTransmitter"/>
7072 <keyword type="struct" name="FsMsnCamSendConference" link="farsight2-plugins-FsMsnCamSendConference.html#FsMsnCamSendConference"/>
7173 <keyword type="struct" name="FsMsnCamRecvConference" link="farsight2-plugins-FsMsnCamCamRecvConference.html#FsMsnCamRecvConference"/>
7274 <keyword type="struct" name="FsMsnConference" link="farsight2-plugins-FsMsnConference.html#FsMsnConference"/>
55 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
66 <link rel="home" href="index.html" title="Farsight2 Plugins Manual">
77 <link rel="next" href="pt01.html" title="Part I. RTP Plugin">
8 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
8 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
99 <link rel="stylesheet" href="style.css" type="text/css">
1010 </head>
1111 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
1414 <div>
1515 <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Farsight2 Plugins Manual</p></th></tr></table></div>
1616 <div><p class="releaseinfo">
17 for version 0.0.21.1.
17 for version 0.0.22.1.
1818 The latest version of this documentation can be found on-line at
1919 <a class="ulink" href="http://farsight.freedesktop.org/apidoc/farsight2-plugins/" target="_top">http://farsight.freedesktop.org/apidoc/farsight2-plugins/</a>.
2020 These plugins are to be used with the base classes and other utility
5252 </dt>
5353 <dt>
5454 <span class="refentrytitle"><a href="farsight2-plugins-FsNiceStreamTransmitter.html">FsNiceStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for ICE using libnice</span>
55 </dt>
56 <dt>
57 <span class="refentrytitle"><a href="farsight2-plugins-FsShmStreamTransmitter.html">FsShmStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for Shared Memory</span>
5558 </dt>
5659 </dl></dd>
5760 </dl></dd>
9295 </div>
9396 <div class="footer">
9497 <hr>
95 Generated by GTK-Doc V1.14</div>
98 Generated by GTK-Doc V1.15</div>
9699 </body>
97100 </html>
0 <ONLINE href="http://farsight.freedesktop.org/apidoc/farsight2-plugins/">
01 <ANCHOR id="farsight2-plugins-FsRtpConference" href="farsight2-plugins-0.10/farsight2-plugins-FsRtpConference.html">
12 <ANCHOR id="farsight2-plugins-FsRtpConference.synopsis" href="farsight2-plugins-0.10/farsight2-plugins-FsRtpConference.html#farsight2-plugins-FsRtpConference.synopsis">
23 <ANCHOR id="farsight2-plugins-FsRtpConference.properties" href="farsight2-plugins-0.10/farsight2-plugins-FsRtpConference.html#farsight2-plugins-FsRtpConference.properties">
7677 <ANCHOR id="FsNiceStreamTransmitter--stun-ip" href="farsight2-plugins-0.10/farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip">
7778 <ANCHOR id="FsNiceStreamTransmitter--stun-port" href="farsight2-plugins-0.10/farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port">
7879 <ANCHOR id="farsight2-plugins-FsNiceStreamTransmitter.see-also" href="farsight2-plugins-0.10/farsight2-plugins-FsNiceStreamTransmitter.html#farsight2-plugins-FsNiceStreamTransmitter.see-also">
80 <ANCHOR id="farsight2-plugins-FsShmStreamTransmitter" href="farsight2-plugins-0.10/farsight2-plugins-FsShmStreamTransmitter.html">
81 <ANCHOR id="farsight2-plugins-FsShmStreamTransmitter.synopsis" href="farsight2-plugins-0.10/farsight2-plugins-FsShmStreamTransmitter.html#farsight2-plugins-FsShmStreamTransmitter.synopsis">
82 <ANCHOR id="farsight2-plugins-FsShmStreamTransmitter.description" href="farsight2-plugins-0.10/farsight2-plugins-FsShmStreamTransmitter.html#farsight2-plugins-FsShmStreamTransmitter.description">
83 <ANCHOR id="farsight2-plugins-FsShmStreamTransmitter.details" href="farsight2-plugins-0.10/farsight2-plugins-FsShmStreamTransmitter.html#farsight2-plugins-FsShmStreamTransmitter.details">
84 <ANCHOR id="FsShmStreamTransmitter" href="farsight2-plugins-0.10/farsight2-plugins-FsShmStreamTransmitter.html#FsShmStreamTransmitter">
7985 <ANCHOR id="farsight2-plugins-FsMsnCamSendConference" href="farsight2-plugins-0.10/farsight2-plugins-FsMsnCamSendConference.html">
8086 <ANCHOR id="farsight2-plugins-FsMsnCamSendConference.synopsis" href="farsight2-plugins-0.10/farsight2-plugins-FsMsnCamSendConference.html#farsight2-plugins-FsMsnCamSendConference.synopsis">
8187 <ANCHOR id="farsight2-plugins-FsMsnCamSendConference.description" href="farsight2-plugins-0.10/farsight2-plugins-FsMsnCamSendConference.html#farsight2-plugins-FsMsnCamSendConference.description">
77 <link rel="up" href="index.html" title="Farsight2 Plugins Manual">
88 <link rel="prev" href="index.html" title="Farsight2 Plugins Manual">
99 <link rel="next" href="ch01.html" title="Core interface classes">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
2020 </tr></table>
2121 <div class="part" title="Part I. RTP Plugin">
2222 <div class="titlepage"><div><div><h1 class="title">
23 <a name="id427940"></a>Part I. RTP Plugin</h1></div></div></div>
23 <a name="id428657"></a>Part I. RTP Plugin</h1></div></div></div>
2424 <div class="toc">
2525 <p><b>Table of Contents</b></p>
2626 <dl>
5050 <dt>
5151 <span class="refentrytitle"><a href="farsight2-plugins-FsNiceStreamTransmitter.html">FsNiceStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for ICE using libnice</span>
5252 </dt>
53 <dt>
54 <span class="refentrytitle"><a href="farsight2-plugins-FsShmStreamTransmitter.html">FsShmStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for Shared Memory</span>
55 </dt>
5356 </dl></dd>
5457 </dl>
5558 </div>
5659 </div>
5760 <div class="footer">
5861 <hr>
59 Generated by GTK-Doc V1.14</div>
62 Generated by GTK-Doc V1.15</div>
6063 </body>
6164 </html>
55 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
66 <link rel="home" href="index.html" title="Farsight2 Plugins Manual">
77 <link rel="up" href="index.html" title="Farsight2 Plugins Manual">
8 <link rel="prev" href="farsight2-plugins-FsNiceStreamTransmitter.html" title="FsNiceStreamTransmitter">
8 <link rel="prev" href="farsight2-plugins-FsShmStreamTransmitter.html" title="FsShmStreamTransmitter">
99 <link rel="next" href="ch03.html" title="MSN Webcam plugin">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
1414 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
15 <td><a accesskey="p" href="farsight2-plugins-FsNiceStreamTransmitter.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
15 <td><a accesskey="p" href="farsight2-plugins-FsShmStreamTransmitter.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
1616 <td> </td>
1717 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
1818 <th width="100%" align="center">Farsight2 Plugins Manual</th>
2020 </tr></table>
2121 <div class="part" title="Part II. MSN plugins">
2222 <div class="titlepage"><div><div><h1 class="title">
23 <a name="id428425"></a>Part II. MSN plugins</h1></div></div></div>
23 <a name="id433913"></a>Part II. MSN plugins</h1></div></div></div>
2424 <div class="toc">
2525 <p><b>Table of Contents</b></p>
2626 <dl>
5050 </div>
5151 <div class="footer">
5252 <hr>
53 Generated by GTK-Doc V1.14</div>
53 Generated by GTK-Doc V1.15</div>
5454 </body>
5555 </html>
77 <link rel="up" href="index.html" title="Farsight2 Plugins Manual">
88 <link rel="prev" href="farsight2-plugins-FsMsnStream.html" title="FsMsnStream">
99 <link rel="next" href="farsight2-plugins-FsFunnel.html" title="FsFunnel">
10 <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
2020 </tr></table>
2121 <div class="part" title="Part III. Utility elements">
2222 <div class="titlepage"><div><div><h1 class="title">
23 <a name="id427898"></a>Part III. Utility elements</h1></div></div></div>
23 <a name="id429617"></a>Part III. Utility elements</h1></div></div></div>
2424 <div class="toc">
2525 <p><b>Table of Contents</b></p>
2626 <dl>
3535 </div>
3636 <div class="footer">
3737 <hr>
38 Generated by GTK-Doc V1.14</div>
38 Generated by GTK-Doc V1.15</div>
3939 </body>
4040 </html>
204204 float: right;
205205 /* tango:aluminium 3 */
206206 color: #babdb6;
207 font-size: 80%;
208 font-weight: normal;
209 }
210
211 .annotation
212 {
213 /* tango:aluminium 5 */
214 color: #555753;
207215 font-size: 80%;
208216 font-weight: normal;
209217 }
0 <plugin>
1 <name>fsfec</name>
2 <description>FEC encoding/decoding modules</description>
3 <filename>../../gst/fec/.libs/libfsfec.so</filename>
4 <basename>libfsfec.so</basename>
5 <version>0.0.22.1</version>
6 <license>LGPL</license>
7 <source>farsight2</source>
8 <package>Farsight</package>
9 <origin>http://farsight.sf.net</origin>
10 <elements>
11 <element>
12 <name>fsfecrizzodec</name>
13 <longname>Reed-Solomon Coder</longname>
14 <class>Decoder</class>
15 <description>RTP Reed-Solomon FEC decoder using the Rizzo implementation</description>
16 <author>Olivier Crete &lt;olivier.crete@collabora.co.uk&gt;</author>
17 <pads>
18 <caps>
19 <name>sink</name>
20 <direction>sink</direction>
21 <presence>always</presence>
22 <details>application/x-rtp</details>
23 </caps>
24 <caps>
25 <name>src</name>
26 <direction>source</direction>
27 <presence>always</presence>
28 <details>application/x-rtp</details>
29 </caps>
30 </pads>
31 </element>
32 <element>
33 <name>fsfecrizzoenc</name>
34 <longname>Reed-Solomon Coder</longname>
35 <class>Encoder</class>
36 <description>RTP Reed-Solomon FEC encoder using the Rizzo implementation</description>
37 <author>Olivier Crete &lt;olivier.crete@collabora.co.uk&gt;</author>
38 <pads>
39 <caps>
40 <name>sink</name>
41 <direction>sink</direction>
42 <presence>always</presence>
43 <details>application/x-rtp</details>
44 </caps>
45 <caps>
46 <name>src</name>
47 <direction>source</direction>
48 <presence>always</presence>
49 <details>application/x-rtp</details>
50 </caps>
51 </pads>
52 </element>
53 </elements>
54 </plugin>
22 <description>Farsight Funnel plugin</description>
33 <filename>../../gst/funnel/.libs/libfsfunnel.so</filename>
44 <basename>libfsfunnel.so</basename>
5 <version>0.0.20.1</version>
5 <version>0.0.22.1</version>
66 <license>LGPL</license>
77 <source>farsight2</source>
88 <package>Farsight</package>
1616 <author>Olivier Crete &lt;olivier.crete@collabora.co.uk&gt;</author>
1717 <pads>
1818 <caps>
19 <name>sink%d</name>
20 <direction>sink</direction>
21 <presence>request</presence>
22 <details>ANY</details>
23 </caps>
24 <caps>
1925 <name>src</name>
2026 <direction>source</direction>
2127 <presence>always</presence>
22 <details>ANY</details>
23 </caps>
24 <caps>
25 <name>sink%d</name>
26 <direction>sink</direction>
27 <presence>request</presence>
2828 <details>ANY</details>
2929 </caps>
3030 </pads>
22 <description>Farsight MSN Conference plugin</description>
33 <filename>../../gst/fsmsnconference/.libs/libfsmsnconference.so</filename>
44 <basename>libfsmsnconference.so</basename>
5 <version>0.0.20.1</version>
5 <version>0.0.22.1</version>
66 <license>LGPL</license>
77 <source>farsight2</source>
88 <package>Farsight</package>
1616 <author>Richard Spiers &lt;richard.spiers@gmail.com&gt;, Youness Alaoui &lt;youness.alaoui@collabora.co.uk&gt;, Olivier Crete &lt;olivier.crete@collabora.co.uk&gt;</author>
1717 <pads>
1818 <caps>
19 <name>src_%d_%d_%d</name>
20 <direction>source</direction>
19 <name>sink_%d</name>
20 <direction>sink</direction>
2121 <presence>sometimes</presence>
2222 <details>ANY</details>
2323 </caps>
2424 <caps>
25 <name>sink_%d</name>
26 <direction>sink</direction>
25 <name>src_%d_%d_%d</name>
26 <direction>source</direction>
2727 <presence>sometimes</presence>
2828 <details>ANY</details>
2929 </caps>
3737 <author>Richard Spiers &lt;richard.spiers@gmail.com&gt;, Youness Alaoui &lt;youness.alaoui@collabora.co.uk&gt;, Olivier Crete &lt;olivier.crete@collabora.co.uk&gt;</author>
3838 <pads>
3939 <caps>
40 <name>src_%d_%d_%d</name>
41 <direction>source</direction>
40 <name>sink_%d</name>
41 <direction>sink</direction>
4242 <presence>sometimes</presence>
4343 <details>ANY</details>
4444 </caps>
4545 <caps>
46 <name>sink_%d</name>
47 <direction>sink</direction>
46 <name>src_%d_%d_%d</name>
47 <direction>source</direction>
4848 <presence>sometimes</presence>
4949 <details>ANY</details>
5050 </caps>
0 <plugin>
1 <name>fsrawconference</name>
2 <description>Farsight Raw Conference plugin</description>
3 <filename>../../gst/fsrawconference/.libs/libfsrawconference.so</filename>
4 <basename>libfsrawconference.so</basename>
5 <version>0.0.22.1</version>
6 <license>LGPL</license>
7 <source>farsight2</source>
8 <package>Farsight</package>
9 <origin>http://farsight.freedesktop.org/</origin>
10 <elements>
11 <element>
12 <name>fsrawconference</name>
13 <longname>Generic bin</longname>
14 <class>Generic/Bin</class>
15 <description>Simple container object</description>
16 <author>Erik Walthinsen &lt;omega@cse.ogi.edu&gt;,Wim Taymans &lt;wim.taymans@gmail.com&gt;</author>
17 <pads>
18 <caps>
19 <name>sink_%d</name>
20 <direction>sink</direction>
21 <presence>sometimes</presence>
22 <details>ANY</details>
23 </caps>
24 <caps>
25 <name>src_%d</name>
26 <direction>source</direction>
27 <presence>sometimes</presence>
28 <details>ANY</details>
29 </caps>
30 </pads>
31 </element>
32 </elements>
33 </plugin>
22 <description>RtcpFilter</description>
33 <filename>../../gst/rtcpfilter/.libs/libfsrtcpfilter.so</filename>
44 <basename>libfsrtcpfilter.so</basename>
5 <version>0.0.20.1</version>
5 <version>0.0.22.1</version>
66 <license>LGPL</license>
77 <source>farsight2</source>
88 <package>Farsight</package>
22 <description>Farsight RTP Conference plugin</description>
33 <filename>../../gst/fsrtpconference/.libs/libfsrtpconference.so</filename>
44 <basename>libfsrtpconference.so</basename>
5 <version>0.0.20.1</version>
5 <version>0.0.22.1</version>
66 <license>LGPL</license>
77 <source>farsight2</source>
88 <package>Farsight</package>
1616 <author>Olivier Crete &lt;olivier.crete@collabora.co.uk&gt;</author>
1717 <pads>
1818 <caps>
19 <name>src_%d_%d_%d</name>
20 <direction>source</direction>
19 <name>sink_%d</name>
20 <direction>sink</direction>
2121 <presence>sometimes</presence>
2222 <details>ANY</details>
2323 </caps>
2424 <caps>
25 <name>sink_%d</name>
26 <direction>sink</direction>
25 <name>src_%d_%d_%d</name>
26 <direction>source</direction>
2727 <presence>sometimes</presence>
2828 <details>ANY</details>
2929 </caps>
22 <description>Videoanyrate</description>
33 <filename>../../gst/videoanyrate/.libs/libfsvideoanyrate.so</filename>
44 <basename>libfsvideoanyrate.so</basename>
5 <version>0.0.20.1</version>
5 <version>0.0.22.1</version>
66 <license>LGPL</license>
77 <source>farsight2</source>
88 <package>Farsight</package>
+0
-0
docs/plugins/inspect-build.stamp less more
(Empty file)
+0
-1
docs/plugins/inspect.stamp less more
0 timestamp
289289 libexecdir = @libexecdir@
290290 localedir = @localedir@
291291 localstatedir = @localstatedir@
292 lt_ECHO = @lt_ECHO@
293292 mandir = @mandir@
294293 mkdir_p = @mkdir_p@
295294 oldincludedir = @oldincludedir@
295295 libexecdir = @libexecdir@
296296 localedir = @localedir@
297297 localstatedir = @localstatedir@
298 lt_ECHO = @lt_ECHO@
299298 mandir = @mandir@
300299 mkdir_p = @mkdir_p@
301300 oldincludedir = @oldincludedir@
249249 libexecdir = @libexecdir@
250250 localedir = @localedir@
251251 localstatedir = @localstatedir@
252 lt_ECHO = @lt_ECHO@
253252 mandir = @mandir@
254253 mkdir_p = @mkdir_p@
255254 oldincludedir = @oldincludedir@
106106 def __init__(self, elementname="fsrtpconference"):
107107 self.pipeline = gst.Pipeline()
108108 signal.signal(signal.SIGINT, self.int_handler)
109 notifier = farsight.ElementAddedNotifier()
110 notifier.connect("element-added", self.element_added_cb)
111 notifier.add(self.pipeline)
109 self.notifier = farsight.ElementAddedNotifier()
110 self.notifier.connect("element-added", self.element_added_cb)
111 self.notifier.add(self.pipeline)
112112 self.pipeline.get_bus().set_sync_handler(self.sync_handler)
113113 self.pipeline.get_bus().add_watch(self.async_handler)
114114 self.conf = gst.element_factory_make(elementname)
248248 if element.get_factory().get_name() == "x264enc":
249249 element.set_property("byte-stream", True)
250250 element.set_property("bitrate", 128)
251 element.set_property("speed-preset", 2)
252 element.set_property("profile", "baseline")
253 element.set_property("tune", "zerolatency")
251254 elif element.get_factory().get_name() == "gstrtpbin":
252255 element.set_property("latency", 100)
253256
294294 libexecdir = @libexecdir@
295295 localedir = @localedir@
296296 localstatedir = @localstatedir@
297 lt_ECHO = @lt_ECHO@
298297 mandir = @mandir@
299298 mkdir_p = @mkdir_p@
300299 oldincludedir = @oldincludedir@
338338 libexecdir = @libexecdir@
339339 localedir = @localedir@
340340 localstatedir = @localstatedir@
341 lt_ECHO = @lt_ECHO@
342341 mandir = @mandir@
343342 mkdir_p = @mkdir_p@
344343 oldincludedir = @oldincludedir@
351351 libexecdir = @libexecdir@
352352 localedir = @localedir@
353353 localstatedir = @localstatedir@
354 lt_ECHO = @lt_ECHO@
355354 mandir = @mandir@
356355 mkdir_p = @mkdir_p@
357356 oldincludedir = @oldincludedir@
739739 for (i = 0; ranges_strv[i]; i++)
740740 {
741741 struct event_range *er = g_slice_new (struct event_range);
742 gchar *p = NULL;
742743
743744 er->first = atoi (ranges_strv[i]);
744 if (index (ranges_strv[i], '-'))
745 er->last = atoi (index (ranges_strv[i], '-') + 1);
745 p = strchr (ranges_strv[i], '-');
746 if (p)
747 er->last = atoi (p + 1);
746748 else
747749 er->last = er->first;
748750
14801482 local_level_idc = 0xFF & local_value;
14811483 nego_level_idc = MIN (remote_level_idc, local_level_idc);
14821484
1483 snprintf (buf, 7, "%02hhX%02hhX%02hhX", local_profile_idc, nego_profile_iop,
1485 g_snprintf (buf, 7, "%02hhX%02hhX%02hhX", local_profile_idc, nego_profile_iop,
14841486 nego_level_idc);
14851487
14861488 fs_codec_add_optional_parameter (negotiated_codec, sdp_param->name, buf);
485485 GList *item = NULL;
486486 GstBin *conferencebin = NULL;
487487
488 g_static_rw_lock_writer_lock (&self->priv->disposed_lock);
489 if (self->priv->disposed)
490 {
491 g_static_rw_lock_writer_unlock (&self->priv->disposed_lock);
492 return;
493 }
494 self->priv->disposed = TRUE;
495 g_static_rw_lock_writer_unlock (&self->priv->disposed_lock);
496
488497 conferencebin = GST_BIN (self->priv->conference);
489498
490499 if (self->priv->rtpbin_internal_session)
683692 g_hash_table_remove_all (self->priv->ssrc_streams);
684693 g_hash_table_remove_all (self->priv->ssrc_streams_manual);
685694
695
686696 G_OBJECT_CLASS (fs_rtp_session_parent_class)->dispose (G_OBJECT (self));
687697 }
688698
691701 {
692702 FsRtpSession *self = FS_RTP_SESSION (object);
693703
694 g_static_rw_lock_writer_lock (&self->priv->disposed_lock);
695 if (self->priv->disposed)
696 {
697 /* If dispose did already run, return. */
698 g_static_rw_lock_writer_unlock (&self->priv->disposed_lock);
699 return;
700 }
701
702 self->priv->disposed = TRUE;
703
704 g_static_rw_lock_writer_unlock (&self->priv->disposed_lock);
704 if (fs_rtp_session_has_disposed_enter (self, NULL))
705 return;
705706
706707 if (fs_rtp_conference_is_internal_thread (self->priv->conference))
707708 {
708709 g_object_ref (self);
709710 if (!g_thread_create (trigger_dispose, self, FALSE, NULL))
710711 g_error ("Could not create dispose thread");
712 fs_rtp_session_has_disposed_exit (self);
711713 }
712714 else
713715 {
716 fs_rtp_session_has_disposed_exit (self);
714717 fs_rtp_session_real_dispose (self);
715718 }
716719 }
970973 return;
971974 }
972975
973 /* Create an initial list of local codec associations */
974 self->priv->codec_associations = create_local_codec_associations (
975 self->priv->blueprints, NULL, NULL);
976
977 if (!self->priv->codec_associations)
978 {
979 self->priv->construction_error = g_error_new (FS_ERROR, FS_ERROR_INTERNAL,
980 "Unable to create initial codec associations"
981 " from the discovered codecs");
982 return;
983 }
984
985976 tmp = g_strdup_printf ("send_tee_%u", self->id);
986977 tee = gst_element_factory_make ("tee", tmp);
987978 g_free (tmp);
14101401 g_object_set (self->priv->rtpbin_internal_session, "favor-new", TRUE,
14111402 NULL);
14121403
1413 FS_RTP_SESSION_LOCK (self);
1414 fs_rtp_session_start_codec_param_gathering_locked (self);
1415 FS_RTP_SESSION_UNLOCK (self);
1404
1405 if (!fs_rtp_session_update_codecs (self, NULL, NULL,
1406 &self->priv->construction_error))
1407 {
1408 g_assert (self->priv->construction_error);
1409 return;
1410 }
14161411
14171412 if (G_OBJECT_CLASS (fs_rtp_session_parent_class)->constructed)
14181413 G_OBJECT_CLASS (fs_rtp_session_parent_class)->constructed(object);
42294224 CodecAssociation *ca = NULL;
42304225
42314226 if (fs_rtp_session_has_disposed_enter (session, NULL))
4232 return;
4227 {
4228 gst_pad_set_blocked_async (pad, FALSE, pad_block_do_nothing, NULL);
4229 return;
4230 }
42334231
42344232 g_mutex_lock (session->priv->discovery_pad_blocked_mutex);
42354233
310310 libexecdir = @libexecdir@
311311 localedir = @localedir@
312312 localstatedir = @localstatedir@
313 lt_ECHO = @lt_ECHO@
314313 mandir = @mandir@
315314 mkdir_p = @mkdir_p@
316315 oldincludedir = @oldincludedir@
7676 GstPadTemplate * templ, const gchar * name);
7777 static void fs_funnel_release_pad (GstElement * element, GstPad * pad);
7878
79 static GstFlowReturn fs_funnel_buffer_alloc (GstPad * pad, guint64 offset,
80 guint size, GstCaps * caps, GstBuffer ** buf);
7981 static GstFlowReturn fs_funnel_chain (GstPad * pad, GstBuffer * buffer);
8082 static gboolean fs_funnel_event (GstPad * pad, GstEvent * event);
8183 static gboolean fs_funnel_src_event (GstPad * pad, GstEvent * event);
144146 gst_element_add_pad (GST_ELEMENT (funnel), funnel->srcpad);
145147 }
146148
149 static GstFlowReturn
150 fs_funnel_buffer_alloc (GstPad * pad, guint64 offset, guint size,
151 GstCaps * caps, GstBuffer ** buf)
152 {
153 FsFunnel *funnel = FS_FUNNEL (gst_pad_get_parent_element (pad));
154 GstFlowReturn ret = GST_FLOW_OK;
155
156 ret = gst_pad_alloc_buffer (funnel->srcpad, offset, size, caps, buf);
157
158 gst_object_unref (funnel);
159
160 return ret;
161 }
162
147163
148164 static GstPad *
149165 fs_funnel_request_new_pad (GstElement * element, GstPadTemplate * templ,
159175 gst_pad_set_chain_function (sinkpad, GST_DEBUG_FUNCPTR (fs_funnel_chain));
160176 gst_pad_set_event_function (sinkpad, GST_DEBUG_FUNCPTR (fs_funnel_event));
161177 gst_pad_set_getcaps_function (sinkpad, GST_DEBUG_FUNCPTR (fs_funnel_getcaps));
178 gst_pad_set_bufferalloc_function (sinkpad,
179 GST_DEBUG_FUNCPTR (fs_funnel_buffer_alloc));
162180
163181 gst_segment_init (&priv->segment, GST_FORMAT_UNDEFINED);
164182 gst_pad_set_element_private (sinkpad, priv);
311311 libexecdir = @libexecdir@
312312 localedir = @localedir@
313313 localstatedir = @localstatedir@
314 lt_ECHO = @lt_ECHO@
315314 mandir = @mandir@
316315 mkdir_p = @mkdir_p@
317316 oldincludedir = @oldincludedir@
311311 libexecdir = @libexecdir@
312312 localedir = @localedir@
313313 localstatedir = @localstatedir@
314 lt_ECHO = @lt_ECHO@
315314 mandir = @mandir@
316315 mkdir_p = @mkdir_p@
317316 oldincludedir = @oldincludedir@
289289 libexecdir = @libexecdir@
290290 localedir = @localedir@
291291 localstatedir = @localstatedir@
292 lt_ECHO = @lt_ECHO@
293292 mandir = @mandir@
294293 mkdir_p = @mkdir_p@
295294 oldincludedir = @oldincludedir@
292292 libexecdir = @libexecdir@
293293 localedir = @localedir@
294294 localstatedir = @localstatedir@
295 lt_ECHO = @lt_ECHO@
296295 mandir = @mandir@
297296 mkdir_p = @mkdir_p@
298297 oldincludedir = @oldincludedir@
340340 libexecdir = @libexecdir@
341341 localedir = @localedir@
342342 localstatedir = @localstatedir@
343 lt_ECHO = @lt_ECHO@
344343 mandir = @mandir@
345344 mkdir_p = @mkdir_p@
346345 oldincludedir = @oldincludedir@
129129 FsMediaType media_type,
130130 GError **error)
131131 {
132 FsBaseConferenceClass *klass = FS_BASE_CONFERENCE_GET_CLASS (conf);
133 FsBaseConference *base_conf = FS_BASE_CONFERENCE (conf);
134
132 FsBaseConferenceClass *klass;
133 FsBaseConference *baseconf;
135134 FsSession *new_session = NULL;
136135
137 g_return_val_if_fail (base_conf, NULL);
138 g_return_val_if_fail (klass, NULL);
136 g_return_val_if_fail (conf, NULL);
137 g_return_val_if_fail (FS_IS_BASE_CONFERENCE (conf), NULL);
138 baseconf = FS_BASE_CONFERENCE (conf);
139 klass = FS_BASE_CONFERENCE_GET_CLASS (conf);
139140 g_return_val_if_fail (klass->new_session, NULL);
140141
141 new_session = klass->new_session (base_conf, media_type, error);
142 new_session = klass->new_session (baseconf, media_type, error);
142143
143144 if (!new_session)
144145 return NULL;
145146
146147 /* Let's catch all session errors and send them over the GstBus */
147148 g_signal_connect_object (new_session, "error",
148 G_CALLBACK (fs_base_conference_error), base_conf, 0);
149 G_CALLBACK (fs_base_conference_error), baseconf, 0);
149150
150151 return new_session;
151152 }
182183 const gchar *cname,
183184 GError **error)
184185 {
185 FsBaseConference *baseconf = FS_BASE_CONFERENCE (conf);
186 FsBaseConferenceClass *klass = FS_BASE_CONFERENCE_GET_CLASS (conf);
186 FsBaseConference *baseconf;
187 FsBaseConferenceClass *klass;
187188
188 g_return_val_if_fail (baseconf, NULL);
189 g_return_val_if_fail (klass, NULL);
189 g_return_val_if_fail (conf, NULL);
190 g_return_val_if_fail (FS_IS_BASE_CONFERENCE (conf), NULL);
191 baseconf = FS_BASE_CONFERENCE (conf);
192 klass = FS_BASE_CONFERENCE_GET_CLASS (conf);
190193 g_return_val_if_fail (klass->new_participant, NULL);
191194
192195 return klass->new_participant (baseconf, cname, error);
117117 fs_conference_new_session (FsConference *conference, FsMediaType media_type,
118118 GError **error)
119119 {
120 FsConferenceClass *iface =
121 FS_CONFERENCE_GET_IFACE (conference);
120 FsConferenceClass *iface;
122121
123 g_return_val_if_fail (iface, NULL);
122 g_return_val_if_fail (conference, NULL);
123 g_return_val_if_fail (FS_IS_CONFERENCE (conference), NULL);
124 iface = FS_CONFERENCE_GET_IFACE (conference);
124125 g_return_val_if_fail (iface->new_session, NULL);
125126
126127 return iface->new_session (conference, media_type, error);
142143 fs_conference_new_participant (FsConference *conference, const gchar *cname,
143144 GError **error)
144145 {
145 FsConferenceClass *iface =
146 FS_CONFERENCE_GET_IFACE (conference);
146 FsConferenceClass *iface;
147147
148 g_return_val_if_fail (conference, NULL);
149 iface = FS_CONFERENCE_GET_IFACE (conference);
148150 g_return_val_if_fail (iface, NULL);
149151 g_return_val_if_fail (iface->new_participant, NULL);
150152
420420 GParameter *stream_transmitter_parameters,
421421 GError **error)
422422 {
423 FsSessionClass *klass = FS_SESSION_GET_CLASS (session);
423 FsSessionClass *klass;
424424 FsStream *new_stream = NULL;
425425
426426 g_return_val_if_fail (session, NULL);
427 g_return_val_if_fail (klass, NULL);
427 g_return_val_if_fail (FS_IS_SESSION (session), NULL);
428 klass = FS_SESSION_GET_CLASS (session);
428429 g_return_val_if_fail (klass->new_stream, NULL);
429 g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (session),
430 FS_TYPE_SESSION), NULL);
431430
432431 new_stream = klass->new_stream (session, participant, direction,
433432 transmitter, stream_transmitter_n_parameters,
465464 fs_session_start_telephony_event (FsSession *session, guint8 event,
466465 guint8 volume, FsDTMFMethod method)
467466 {
468 FsSessionClass *klass = FS_SESSION_GET_CLASS (session);
467 FsSessionClass *klass;
468
469 g_return_val_if_fail (session, FALSE);
470 g_return_val_if_fail (FS_IS_SESSION (session), FALSE);
471 klass = FS_SESSION_GET_CLASS (session);
469472
470473 if (klass->start_telephony_event) {
471474 return klass->start_telephony_event (session, event, volume, method);
492495 gboolean
493496 fs_session_stop_telephony_event (FsSession *session, FsDTMFMethod method)
494497 {
495 FsSessionClass *klass = FS_SESSION_GET_CLASS (session);
498 FsSessionClass *klass;
499
500 g_return_val_if_fail (session, FALSE);
501 g_return_val_if_fail (FS_IS_SESSION (session), FALSE);
502 klass = FS_SESSION_GET_CLASS (session);
496503
497504 if (klass->stop_telephony_event) {
498505 return klass->stop_telephony_event (session, method);
520527 fs_session_set_send_codec (FsSession *session, FsCodec *send_codec,
521528 GError **error)
522529 {
523 FsSessionClass *klass = FS_SESSION_GET_CLASS (session);
530 FsSessionClass *klass;
531
532 g_return_val_if_fail (session, FALSE);
533 g_return_val_if_fail (FS_IS_SESSION (session), FALSE);
534 klass = FS_SESSION_GET_CLASS (session);
524535
525536 if (klass->set_send_codec) {
526537 return klass->set_send_codec (session, send_codec, error);
560571 GList *codec_preferences,
561572 GError **error)
562573 {
563 FsSessionClass *klass = FS_SESSION_GET_CLASS (session);
574 FsSessionClass *klass;
575
576 g_return_val_if_fail (session, FALSE);
577 g_return_val_if_fail (FS_IS_SESSION (session), FALSE);
578 klass = FS_SESSION_GET_CLASS (session);
564579
565580 if (klass->set_codec_preferences) {
566581 return klass->set_codec_preferences (session, codec_preferences, error);
606621 gchar **
607622 fs_session_list_transmitters (FsSession *session)
608623 {
609 FsSessionClass *klass = FS_SESSION_GET_CLASS (session);
624 FsSessionClass *klass;
625
626 g_return_val_if_fail (session, NULL);
627 g_return_val_if_fail (FS_IS_SESSION (session), NULL);
628 klass = FS_SESSION_GET_CLASS (session);
610629
611630 if (klass->list_transmitters) {
612631 return klass->list_transmitters (session);
630649 fs_session_get_stream_transmitter_type (FsSession *session,
631650 const gchar *transmitter)
632651 {
633 FsSessionClass *klass = FS_SESSION_GET_CLASS (session);
652 FsSessionClass *klass;
653
654 g_return_val_if_fail (session, 0);
655 g_return_val_if_fail (FS_IS_SESSION (session), 0);
656 klass = FS_SESSION_GET_CLASS (session);
634657
635658 if (klass->get_stream_transmitter_type)
636659 return klass->get_stream_transmitter_type (session, transmitter);
328328 GList *candidates,
329329 GError **error)
330330 {
331 FsStreamTransmitterClass *klass =
332 FS_STREAM_TRANSMITTER_GET_CLASS (streamtransmitter);
331 FsStreamTransmitterClass *klass;
332
333 g_return_val_if_fail (streamtransmitter, FALSE);
334 g_return_val_if_fail (FS_IS_STREAM_TRANSMITTER (streamtransmitter), FALSE);
335 klass = FS_STREAM_TRANSMITTER_GET_CLASS (streamtransmitter);
333336
334337 if (klass->set_remote_candidates) {
335338 return klass->set_remote_candidates (streamtransmitter, candidates, error);
360363 GList *remote_candidates,
361364 GError **error)
362365 {
363 FsStreamTransmitterClass *klass =
364 FS_STREAM_TRANSMITTER_GET_CLASS (streamtransmitter);
366 FsStreamTransmitterClass *klass;
367
368 g_return_val_if_fail (streamtransmitter, FALSE);
369 g_return_val_if_fail (FS_IS_STREAM_TRANSMITTER (streamtransmitter), FALSE);
370 klass = FS_STREAM_TRANSMITTER_GET_CLASS (streamtransmitter);
365371
366372 if (klass->force_remote_candidates) {
367373 return klass->force_remote_candidates (streamtransmitter,
391397 FsStreamTransmitter *streamtransmitter,
392398 GError **error)
393399 {
394 FsStreamTransmitterClass *klass =
395 FS_STREAM_TRANSMITTER_GET_CLASS (streamtransmitter);
400 FsStreamTransmitterClass *klass;
401
402 g_return_val_if_fail (streamtransmitter, FALSE);
403 g_return_val_if_fail (FS_IS_STREAM_TRANSMITTER (streamtransmitter), FALSE);
404 klass = FS_STREAM_TRANSMITTER_GET_CLASS (streamtransmitter);
396405
397406 if (klass->gather_local_candidates)
398407 return klass->gather_local_candidates (streamtransmitter, error);
413422 void
414423 fs_stream_transmitter_stop (FsStreamTransmitter *streamtransmitter)
415424 {
416 FsStreamTransmitterClass *klass =
417 FS_STREAM_TRANSMITTER_GET_CLASS (streamtransmitter);
425 FsStreamTransmitterClass *klass;
426
427 g_return_if_fail (streamtransmitter);
428 g_return_if_fail (FS_IS_STREAM_TRANSMITTER (streamtransmitter));
429 klass = FS_STREAM_TRANSMITTER_GET_CLASS (streamtransmitter);
418430
419431 if (klass->stop)
420432 klass->stop (streamtransmitter);
382382 GList *candidates,
383383 GError **error)
384384 {
385 FsStreamClass *klass = FS_STREAM_GET_CLASS (stream);
385 FsStreamClass *klass;
386
387 g_return_val_if_fail (stream, FALSE);
388 g_return_val_if_fail (FS_IS_STREAM (stream), FALSE);
389 klass = FS_STREAM_GET_CLASS (stream);
386390
387391 if (klass->set_remote_candidates) {
388392 return klass->set_remote_candidates (stream, candidates, error);
412416 GList *remote_candidates,
413417 GError **error)
414418 {
415 FsStreamClass *klass = FS_STREAM_GET_CLASS (stream);
419 FsStreamClass *klass;
420
421 g_return_val_if_fail (stream, FALSE);
422 g_return_val_if_fail (FS_IS_STREAM (stream), FALSE);
423 klass = FS_STREAM_GET_CLASS (stream);
416424
417425 if (klass->force_remote_candidates) {
418426 return klass->force_remote_candidates (stream,
444452 fs_stream_set_remote_codecs (FsStream *stream,
445453 GList *remote_codecs, GError **error)
446454 {
447 FsStreamClass *klass = FS_STREAM_GET_CLASS (stream);
455 FsStreamClass *klass;
456
457 g_return_val_if_fail (stream, FALSE);
458 g_return_val_if_fail (FS_IS_STREAM (stream), FALSE);
459 klass = FS_STREAM_GET_CLASS (stream);
448460
449461 if (klass->set_remote_codecs) {
450462 return klass->set_remote_codecs (stream, remote_codecs, error);
479491 fs_stream_add_id (FsStream *stream,
480492 guint id)
481493 {
482 FsStreamClass *klass = FS_STREAM_GET_CLASS (stream);
494 FsStreamClass *klass;
495
496 g_return_if_fail (stream);
497 g_return_if_fail (FS_IS_STREAM (stream));
498 klass = FS_STREAM_GET_CLASS (stream);
483499
484500 if (klass->add_id)
485501 klass->add_id (stream, id);
265265 GParameter *parameters,
266266 GError **error)
267267 {
268 FsTransmitterClass *klass = FS_TRANSMITTER_GET_CLASS (transmitter);
268 FsTransmitterClass *klass;
269269
270270 g_return_val_if_fail (transmitter, NULL);
271 g_return_val_if_fail (klass, NULL);
271 g_return_val_if_fail (FS_IS_TRANSMITTER (transmitter), NULL);
272 klass = FS_TRANSMITTER_GET_CLASS (transmitter);
272273 g_return_val_if_fail (klass->new_stream_transmitter, NULL);
274
273275
274276 return klass->new_stream_transmitter (transmitter, participant,
275277 n_parameters, parameters, error);
333335 GType
334336 fs_transmitter_get_stream_transmitter_type (FsTransmitter *transmitter)
335337 {
336 FsTransmitterClass *klass = FS_TRANSMITTER_GET_CLASS (transmitter);
337
338 g_return_val_if_fail (klass, 0);
338 FsTransmitterClass *klass;
339
340 g_return_val_if_fail (transmitter, 0);
341 g_return_val_if_fail (FS_IS_TRANSMITTER (transmitter), 0);
342 klass = FS_TRANSMITTER_GET_CLASS (transmitter);
339343 g_return_val_if_fail (klass->get_stream_transmitter_type, 0);
340344
341345 return klass->get_stream_transmitter_type (transmitter);
+1187
-848
ltmain.sh less more
00 # Generated from ltmain.m4sh.
11
2 # ltmain.sh (GNU libtool) 2.2.6b
2 # libtool (GNU libtool) 2.2.10
33 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
44
5 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
5 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
6 # 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
67 # This is free software; see the source for copying conditions. There is NO
78 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
89
3132 #
3233 # Provide generalized library-building support services.
3334 #
34 # --config show all configuration variables
35 # --debug enable verbose shell tracing
36 # -n, --dry-run display commands without modifying any files
37 # --features display basic configuration information and exit
38 # --mode=MODE use operation mode MODE
39 # --preserve-dup-deps don't remove duplicate dependency libraries
40 # --quiet, --silent don't print informational messages
41 # --tag=TAG use configuration variables from tag TAG
42 # -v, --verbose print informational messages (default)
43 # --version print version information
44 # -h, --help print short or long help message
35 # --config show all configuration variables
36 # --debug enable verbose shell tracing
37 # -n, --dry-run display commands without modifying any files
38 # --features display basic configuration information and exit
39 # --mode=MODE use operation mode MODE
40 # --preserve-dup-deps don't remove duplicate dependency libraries
41 # --quiet, --silent don't print informational messages
42 # --no-quiet, --no-silent
43 # print informational messages (default)
44 # --tag=TAG use configuration variables from tag TAG
45 # -v, --verbose print more informational messages than default
46 # --no-verbose don't print the extra informational messages
47 # --version print version information
48 # -h, --help, --help-all print short, long, or detailed help message
4549 #
4650 # MODE must be one of the following:
4751 #
48 # clean remove files from the build directory
49 # compile compile a source file into a libtool object
50 # execute automatically set library path, then run a program
51 # finish complete the installation of libtool libraries
52 # install install libraries or executables
53 # link create a library or an executable
54 # uninstall remove libraries from an installed directory
52 # clean remove files from the build directory
53 # compile compile a source file into a libtool object
54 # execute automatically set library path, then run a program
55 # finish complete the installation of libtool libraries
56 # install install libraries or executables
57 # link create a library or an executable
58 # uninstall remove libraries from an installed directory
5559 #
56 # MODE-ARGS vary depending on the MODE.
60 # MODE-ARGS vary depending on the MODE. When passed as first option,
61 # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
5762 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
5863 #
5964 # When reporting a bug, please describe a test case to reproduce it and
6065 # include the following information:
6166 #
62 # host-triplet: $host
63 # shell: $SHELL
64 # compiler: $LTCC
65 # compiler flags: $LTCFLAGS
66 # linker: $LD (gnu? $with_gnu_ld)
67 # $progname: (GNU libtool) 2.2.6b
68 # automake: $automake_version
69 # autoconf: $autoconf_version
67 # host-triplet: $host
68 # shell: $SHELL
69 # compiler: $LTCC
70 # compiler flags: $LTCFLAGS
71 # linker: $LD (gnu? $with_gnu_ld)
72 # $progname: (GNU libtool) 2.2.10
73 # automake: $automake_version
74 # autoconf: $autoconf_version
7075 #
7176 # Report bugs to <bug-libtool@gnu.org>.
7277
73 PROGRAM=ltmain.sh
78 PROGRAM=libtool
7479 PACKAGE=libtool
75 VERSION=2.2.6b
80 VERSION=2.2.10
7681 TIMESTAMP=""
77 package_revision=1.3017
82 package_revision=1.3175
7883
7984 # Be Bourne compatible
8085 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9095 BIN_SH=xpg4; export BIN_SH # for Tru64
9196 DUALCASE=1; export DUALCASE # for MKS sh
9297
98 # A function that is used when there is no print builtin or printf.
99 func_fallback_echo ()
100 {
101 eval 'cat <<_LTECHO_EOF
102 $1
103 _LTECHO_EOF'
104 }
105
93106 # NLS nuisances: We save the old values to restore during execute mode.
94 # Only set LANG and LC_ALL to C if already set.
95 # These must not be set unconditionally because not all systems understand
96 # e.g. LANG=C (notably SCO).
97107 lt_user_locale=
98108 lt_safe_locale=
99109 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
106116 lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
107117 fi"
108118 done
119 LC_ALL=C
120 LANGUAGE=C
121 export LANGUAGE LC_ALL
109122
110123 $lt_unset CDPATH
111124
112125
126 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
127 # is ksh but when the shell is invoked as "sh" and the current value of
128 # the _XPG environment variable is not equal to 1 (one), the special
129 # positional parameter $0, within a function call, is the name of the
130 # function.
131 progpath="$0"
113132
114133
115134
116135 : ${CP="cp -f"}
117 : ${ECHO="echo"}
136 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
118137 : ${EGREP="/bin/grep -E"}
119138 : ${FGREP="/bin/grep -F"}
120139 : ${GREP="/bin/grep"}
158177 func_dirname_and_basename ()
159178 {
160179 # Extract subdirectory from the argument.
161 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
180 func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
162181 if test "X$func_dirname_result" = "X${1}"; then
163182 func_dirname_result="${3}"
164183 else
165184 func_dirname_result="$func_dirname_result${2}"
166185 fi
167 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
186 func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
168187 }
169188
170189 # Generated shell functions inserted here.
171190
172 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
173 # is ksh but when the shell is invoked as "sh" and the current value of
174 # the _XPG environment variable is not equal to 1 (one), the special
175 # positional parameter $0, within a function call, is the name of the
176 # function.
177 progpath="$0"
191 # These SED scripts presuppose an absolute path with a trailing slash.
192 pathcar='s,^/\([^/]*\).*$,\1,'
193 pathcdr='s,^/[^/]*,,'
194 removedotparts=':dotsl
195 s@/\./@/@g
196 t dotsl
197 s,/\.$,/,'
198 collapseslashes='s@/\{1,\}@/@g'
199 finalslash='s,/*$,/,'
200
201 # func_normal_abspath PATH
202 # Remove doubled-up and trailing slashes, "." path components,
203 # and cancel out any ".." path components in PATH after making
204 # it an absolute path.
205 # value returned in "$func_normal_abspath_result"
206 func_normal_abspath ()
207 {
208 # Start from root dir and reassemble the path.
209 func_normal_abspath_result=
210 func_normal_abspath_tpath=$1
211 func_normal_abspath_altnamespace=
212 case $func_normal_abspath_tpath in
213 "")
214 # Empty path, that just means $cwd.
215 func_stripname '' '/' "`pwd`"
216 func_normal_abspath_result=$func_stripname_result
217 return
218 ;;
219 # The next three entries are used to spot a run of precisely
220 # two leading slashes without using negated character classes;
221 # we take advantage of case's first-match behaviour.
222 ///*)
223 # Unusual form of absolute path, do nothing.
224 ;;
225 //*)
226 # Not necessarily an ordinary path; POSIX reserves leading '//'
227 # and for example Cygwin uses it to access remote file shares
228 # over CIFS/SMB, so we conserve a leading double slash if found.
229 func_normal_abspath_altnamespace=/
230 ;;
231 /*)
232 # Absolute path, do nothing.
233 ;;
234 *)
235 # Relative path, prepend $cwd.
236 func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
237 ;;
238 esac
239 # Cancel out all the simple stuff to save iterations. We also want
240 # the path to end with a slash for ease of parsing, so make sure
241 # there is one (and only one) here.
242 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
243 -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
244 while :; do
245 # Processed it all yet?
246 if test "$func_normal_abspath_tpath" = / ; then
247 # If we ascended to the root using ".." the result may be empty now.
248 if test -z "$func_normal_abspath_result" ; then
249 func_normal_abspath_result=/
250 fi
251 break
252 fi
253 func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
254 -e "$pathcar"`
255 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
256 -e "$pathcdr"`
257 # Figure out what to do with it
258 case $func_normal_abspath_tcomponent in
259 "")
260 # Trailing empty path component, ignore it.
261 ;;
262 ..)
263 # Parent dir; strip last assembled component from result.
264 func_dirname "$func_normal_abspath_result"
265 func_normal_abspath_result=$func_dirname_result
266 ;;
267 *)
268 # Actual path component, append it.
269 func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
270 ;;
271 esac
272 done
273 # Restore leading double-slash if one was found on entry.
274 func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
275 }
276
277 # func_relative_path SRCDIR DSTDIR
278 # generates a relative path from SRCDIR to DSTDIR, with a trailing
279 # slash if non-empty, suitable for immediately appending a filename
280 # without needing to append a separator.
281 # value returned in "$func_relative_path_result"
282 func_relative_path ()
283 {
284 func_relative_path_result=
285 func_normal_abspath "$1"
286 func_relative_path_tlibdir=$func_normal_abspath_result
287 func_normal_abspath "$2"
288 func_relative_path_tbindir=$func_normal_abspath_result
289
290 # Ascend the tree starting from libdir
291 while :; do
292 # check if we have found a prefix of bindir
293 case $func_relative_path_tbindir in
294 $func_relative_path_tlibdir)
295 # found an exact match
296 func_relative_path_tcancelled=
297 break
298 ;;
299 $func_relative_path_tlibdir*)
300 # found a matching prefix
301 func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
302 func_relative_path_tcancelled=$func_stripname_result
303 if test -z "$func_relative_path_result"; then
304 func_relative_path_result=.
305 fi
306 break
307 ;;
308 *)
309 func_dirname $func_relative_path_tlibdir
310 func_relative_path_tlibdir=${func_dirname_result}
311 if test "x$func_relative_path_tlibdir" = x ; then
312 # Have to descend all the way to the root!
313 func_relative_path_result=../$func_relative_path_result
314 func_relative_path_tcancelled=$func_relative_path_tbindir
315 break
316 fi
317 func_relative_path_result=../$func_relative_path_result
318 ;;
319 esac
320 done
321
322 # Now calculate path; take care to avoid doubling-up slashes.
323 func_stripname '' '/' "$func_relative_path_result"
324 func_relative_path_result=$func_stripname_result
325 func_stripname '/' '/' "$func_relative_path_tcancelled"
326 if test "x$func_stripname_result" != x ; then
327 func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
328 fi
329
330 # Normalisation. If bindir is libdir, return empty string,
331 # else relative path ending with a slash; either way, target
332 # file name can be directly appended.
333 if test ! -z "$func_relative_path_result"; then
334 func_stripname './' '' "$func_relative_path_result/"
335 func_relative_path_result=$func_stripname_result
336 fi
337 }
178338
179339 # The name of this program:
180 # In the unlikely event $progname began with a '-', it would play havoc with
181 # func_echo (imagine progname=-n), so we prepend ./ in that case:
182340 func_dirname_and_basename "$progpath"
183341 progname=$func_basename_result
184 case $progname in
185 -*) progname=./$progname ;;
186 esac
187342
188343 # Make sure we have an absolute path for reexecution:
189344 case $progpath in
257412 :
258413 }
259414
415 # func_echo_all arg...
416 # Invoke $ECHO with all args, space-separated.
417 func_echo_all ()
418 {
419 $ECHO "$*"
420 }
421
260422 # func_error arg...
261423 # Echo program name prefixed message to standard error.
262424 func_error ()
325487 case $my_directory_path in */*) ;; *) break ;; esac
326488
327489 # ...otherwise throw away the child directory and loop
328 my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
490 my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
329491 done
330 my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
492 my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
331493
332494 save_mkdir_p_IFS="$IFS"; IFS=':'
333495 for my_dir in $my_dir_list; do
377539 func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
378540 fi
379541
380 $ECHO "X$my_tmpdir" | $Xsed
542 $ECHO "$my_tmpdir"
381543 }
382544
383545
391553 {
392554 case $1 in
393555 *[\\\`\"\$]*)
394 func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
556 func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
395557 *)
396558 func_quote_for_eval_unquoted_result="$1" ;;
397559 esac
418580 {
419581 case $1 in
420582 *[\\\`\"]*)
421 my_arg=`$ECHO "X$1" | $Xsed \
583 my_arg=`$ECHO "$1" | $SED \
422584 -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
423585 *)
424586 my_arg="$1" ;;
488650 }
489651
490652
491
492
493
494653 # func_version
495654 # Echo version message to standard output and exit.
496655 func_version ()
497656 {
498 $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
657 $SED -n '/(C)/!b go
658 :more
659 /\./!{
660 N
661 s/\n# / /
662 b more
663 }
664 :go
665 /^# '$PROGRAM' (GNU /,/# warranty; / {
499666 s/^# //
500667 s/^# *$//
501668 s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
508675 # Echo short help message to standard output and exit.
509676 func_usage ()
510677 {
511 $SED -n '/^# Usage:/,/# -h/ {
678 $SED -n '/^# Usage:/,/^# *.*--help/ {
512679 s/^# //
513680 s/^# *$//
514681 s/\$progname/'$progname'/
515682 p
516683 }' < "$progpath"
517 $ECHO
684 echo
518685 $ECHO "run \`$progname --help | more' for full usage"
519686 exit $?
520687 }
521688
522 # func_help
523 # Echo long help message to standard output and exit.
689 # func_help [NOEXIT]
690 # Echo long help message to standard output and exit,
691 # unless 'noexit' is passed as argument.
524692 func_help ()
525693 {
526694 $SED -n '/^# Usage:/,/# Report bugs to/ {
537705 s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
538706 p
539707 }' < "$progpath"
540 exit $?
708 ret=$?
709 if test -z "$1"; then
710 exit $ret
711 fi
541712 }
542713
543714 # func_missing_arg argname
545716 # exit_cmd.
546717 func_missing_arg ()
547718 {
548 func_error "missing argument for $1"
719 func_error "missing argument for $1."
549720 exit_cmd=exit
550721 }
551722
555726
556727
557728
558 # Check that we have a working $ECHO.
559 if test "X$1" = X--no-reexec; then
560 # Discard the --no-reexec flag, and continue.
561 shift
562 elif test "X$1" = X--fallback-echo; then
563 # Avoid inline document here, it may be left over
564 :
565 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
566 # Yippee, $ECHO works!
567 :
568 else
569 # Restart under the correct shell, and then maybe $ECHO will work.
570 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
571 fi
572
573 if test "X$1" = X--fallback-echo; then
574 # used as fallback echo
575 shift
576 cat <<EOF
577 $*
578 EOF
579 exit $EXIT_SUCCESS
580 fi
581729
582730 magic="%%%MAGIC variable%%%"
583731 magic_exe="%%%MAGIC EXE variable%%%"
635783 # Display the features supported by this script.
636784 func_features ()
637785 {
638 $ECHO "host: $host"
786 echo "host: $host"
639787 if test "$build_libtool_libs" = yes; then
640 $ECHO "enable shared libraries"
788 echo "enable shared libraries"
641789 else
642 $ECHO "disable shared libraries"
790 echo "disable shared libraries"
643791 fi
644792 if test "$build_old_libs" = yes; then
645 $ECHO "enable static libraries"
793 echo "enable static libraries"
646794 else
647 $ECHO "disable static libraries"
795 echo "disable static libraries"
648796 fi
649797
650798 exit $?
771919
772920 --quiet|--silent) preserve_args="$preserve_args $opt"
773921 opt_silent=:
922 opt_verbose=false
923 ;;
924
925 --no-quiet|--no-silent)
926 preserve_args="$preserve_args $opt"
927 opt_silent=false
774928 ;;
775929
776930 --verbose| -v) preserve_args="$preserve_args $opt"
777931 opt_silent=false
932 opt_verbose=:
933 ;;
934
935 --no-verbose) preserve_args="$preserve_args $opt"
936 opt_verbose=false
778937 ;;
779938
780939 --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
792951
793952 -\?|-h) func_usage ;;
794953 --help) opt_help=: ;;
954 --help-all) opt_help=': help-all' ;;
795955 --version) func_version ;;
796956
797957 -*) func_fatal_help "unrecognized option \`$opt'" ;;
10151175 func_quote_for_eval "$arg"
10161176 CC_quoted="$CC_quoted $func_quote_for_eval_result"
10171177 done
1178 CC_expanded=`func_echo_all $CC`
1179 CC_quoted_expanded=`func_echo_all $CC_quoted`
10181180 case $@ in
10191181 # Blanks in the command may have been stripped by the calling shell,
10201182 # but not from the CC environment variable when configure was run.
1021 " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
1183 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
1184 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
10221185 # Blanks at the start of $base_compile will cause this to fail
10231186 # if we don't check for them as well.
10241187 *)
10321195 func_quote_for_eval "$arg"
10331196 CC_quoted="$CC_quoted $func_quote_for_eval_result"
10341197 done
1198 CC_expanded=`func_echo_all $CC`
1199 CC_quoted_expanded=`func_echo_all $CC_quoted`
10351200 case "$@ " in
1036 " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
1201 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
1202 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
10371203 # The compiler in the base compile command matches
10381204 # the one in the tagged configuration.
10391205 # Assume this is the tagged configuration we want.
12121378 *.[cCFSifmso] | \
12131379 *.ada | *.adb | *.ads | *.asm | \
12141380 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
1215 *.[fF][09]? | *.for | *.java | *.obj | *.sx)
1381 *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
12161382 func_xform "$libobj"
12171383 libobj=$func_xform_result
12181384 ;;
12871453 # Calculate the filename of the output object if compiler does
12881454 # not support -o with -c
12891455 if test "$compiler_c_o" = no; then
1290 output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
1456 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
12911457 lockfile="$output_obj.lock"
12921458 else
12931459 output_obj=
14441610 }
14451611
14461612 $opt_help || {
1447 test "$mode" = compile && func_mode_compile ${1+"$@"}
1613 test "$mode" = compile && func_mode_compile ${1+"$@"}
14481614 }
14491615
14501616 func_mode_help ()
14811647
14821648 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
14831649 -no-suppress do not suppress compiler output for multiple passes
1484 -prefer-pic try to building PIC objects only
1485 -prefer-non-pic try to building non-PIC objects only
1650 -prefer-pic try to build PIC objects only
1651 -prefer-non-pic try to build non-PIC objects only
14861652 -shared do not build a \`.o' file suitable for static linking
14871653 -static only build a \`.o' file suitable for static linking
1654 -Wc,FLAG pass FLAG directly to the compiler
14881655
14891656 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
14901657 from the given SOURCEFILE.
15371704
15381705 The following components of INSTALL-COMMAND are treated specially:
15391706
1540 -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
1707 -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
15411708
15421709 The rest of the components are interpreted as arguments to that command (only
15431710 BSD-compatible install options are recognized)."
15571724
15581725 -all-static do not do any dynamic linking at all
15591726 -avoid-version do not add a version suffix if possible
1727 -bindir BINDIR specify path to binaries directory (for systems where
1728 libraries must be found in the PATH setting at runtime)
15601729 -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
15611730 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
15621731 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
15851754 -version-info CURRENT[:REVISION[:AGE]]
15861755 specify library version info [each variable defaults to 0]
15871756 -weak LIBNAME declare that the target provides the LIBNAME interface
1757 -Wc,FLAG
1758 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
1759 -Wl,FLAG
1760 -Xlinker FLAG pass linker-specific FLAG directly to the linker
1761 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
15881762
15891763 All other options (arguments beginning with \`-') are ignored.
15901764
16221796 ;;
16231797 esac
16241798
1625 $ECHO
1799 echo
16261800 $ECHO "Try \`$progname --help' for more information about other modes."
1627
1628 exit $?
16291801 }
16301802
1631 # Now that we've collected a possible --mode arg, show help if necessary
1632 $opt_help && func_mode_help
1803 # Now that we've collected a possible --mode arg, show help if necessary
1804 if $opt_help; then
1805 if test "$opt_help" = :; then
1806 func_mode_help
1807 else
1808 {
1809 func_help noexit
1810 for mode in compile link execute install finish uninstall clean; do
1811 func_mode_help
1812 done
1813 } | sed -n '1p; 2,$s/^Usage:/ or: /p'
1814 {
1815 func_help noexit
1816 for mode in compile link execute install finish uninstall clean; do
1817 echo
1818 func_mode_help
1819 done
1820 } |
1821 sed '1d
1822 /^When reporting/,/^Report/{
1823 H
1824 d
1825 }
1826 $x
1827 /information about other modes/d
1828 /more detailed .*MODE/d
1829 s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
1830 fi
1831 exit $?
1832 fi
16331833
16341834
16351835 # func_mode_execute arg...
17111911 for file
17121912 do
17131913 case $file in
1714 -*) ;;
1914 -* | *.la | *.lo ) ;;
17151915 *)
17161916 # Do a test to see if this is really a libtool program.
17171917 if func_ltwrapper_script_p "$file"; then
17531953 # Display what would be done.
17541954 if test -n "$shlibpath_var"; then
17551955 eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
1756 $ECHO "export $shlibpath_var"
1956 echo "export $shlibpath_var"
17571957 fi
17581958 $ECHO "$cmd$args"
17591959 exit $EXIT_SUCCESS
17941994 # Exit here if they wanted silent mode.
17951995 $opt_silent && exit $EXIT_SUCCESS
17961996
1797 $ECHO "X----------------------------------------------------------------------" | $Xsed
1798 $ECHO "Libraries have been installed in:"
1997 echo "----------------------------------------------------------------------"
1998 echo "Libraries have been installed in:"
17991999 for libdir in $libdirs; do
18002000 $ECHO " $libdir"
18012001 done
1802 $ECHO
1803 $ECHO "If you ever happen to want to link against installed libraries"
1804 $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
1805 $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
1806 $ECHO "flag during linking and do at least one of the following:"
2002 echo
2003 echo "If you ever happen to want to link against installed libraries"
2004 echo "in a given directory, LIBDIR, you must either use libtool, and"
2005 echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
2006 echo "flag during linking and do at least one of the following:"
18072007 if test -n "$shlibpath_var"; then
1808 $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
1809 $ECHO " during execution"
2008 echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
2009 echo " during execution"
18102010 fi
18112011 if test -n "$runpath_var"; then
1812 $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
1813 $ECHO " during linking"
2012 echo " - add LIBDIR to the \`$runpath_var' environment variable"
2013 echo " during linking"
18142014 fi
18152015 if test -n "$hardcode_libdir_flag_spec"; then
18162016 libdir=LIBDIR
18222022 $ECHO " - have your system administrator run these commands:$admincmds"
18232023 fi
18242024 if test -f /etc/ld.so.conf; then
1825 $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
2025 echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
18262026 fi
1827 $ECHO
1828
1829 $ECHO "See any operating system documentation about shared libraries for"
2027 echo
2028
2029 echo "See any operating system documentation about shared libraries for"
18302030 case $host in
18312031 solaris2.[6789]|solaris2.1[0-9])
1832 $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
1833 $ECHO "pages."
2032 echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
2033 echo "pages."
18342034 ;;
18352035 *)
1836 $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
2036 echo "more information, such as the ld(1) and ld.so(8) manual pages."
18372037 ;;
18382038 esac
1839 $ECHO "X----------------------------------------------------------------------" | $Xsed
2039 echo "----------------------------------------------------------------------"
18402040 exit $EXIT_SUCCESS
18412041 }
18422042
18512051 # install_prog (especially on Windows NT).
18522052 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
18532053 # Allow the use of GNU shtool's install command.
1854 $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
2054 case $nonopt in *shtool*) :;; *) false;; esac; then
18552055 # Aesthetically quote it.
18562056 func_quote_for_eval "$nonopt"
18572057 install_prog="$func_quote_for_eval_result "
18662066 # Aesthetically quote it.
18672067 func_quote_for_eval "$arg"
18682068 install_prog="$install_prog$func_quote_for_eval_result"
2069 install_shared_prog=$install_prog
2070 case " $install_prog " in
2071 *[\\\ /]cp\ *) install_cp=: ;;
2072 *) install_cp=false ;;
2073 esac
18692074
18702075 # We need to accept at least all the BSD install flags.
18712076 dest=
18752080 install_type=
18762081 isdir=no
18772082 stripme=
2083 no_mode=:
18782084 for arg
18792085 do
2086 arg2=
18802087 if test -n "$dest"; then
18812088 files="$files $dest"
18822089 dest=$arg
18862093 case $arg in
18872094 -d) isdir=yes ;;
18882095 -f)
1889 case " $install_prog " in
1890 *[\\\ /]cp\ *) ;;
1891 *) prev=$arg ;;
1892 esac
2096 if $install_cp; then :; else
2097 prev=$arg
2098 fi
18932099 ;;
18942100 -g | -m | -o)
18952101 prev=$arg
19032109 *)
19042110 # If the previous option needed an argument, then skip it.
19052111 if test -n "$prev"; then
2112 if test "x$prev" = x-m && test -n "$install_override_mode"; then
2113 arg2=$install_override_mode
2114 no_mode=false
2115 fi
19062116 prev=
19072117 else
19082118 dest=$arg
19142124 # Aesthetically quote the argument.
19152125 func_quote_for_eval "$arg"
19162126 install_prog="$install_prog $func_quote_for_eval_result"
2127 if test -n "$arg2"; then
2128 func_quote_for_eval "$arg2"
2129 fi
2130 install_shared_prog="$install_shared_prog $func_quote_for_eval_result"
19172131 done
19182132
19192133 test -z "$install_prog" && \
19212135
19222136 test -n "$prev" && \
19232137 func_fatal_help "the \`$prev' option requires an argument"
2138
2139 if test -n "$install_override_mode" && $no_mode; then
2140 if $install_cp; then :; else
2141 func_quote_for_eval "$install_override_mode"
2142 install_shared_prog="$install_shared_prog -m $func_quote_for_eval_result"
2143 fi
2144 fi
19242145
19252146 if test -z "$files"; then
19262147 if test -z "$dest"; then
20092230
20102231 if test -n "$relink_command"; then
20112232 # Determine the prefix the user has applied to our future dir.
2012 inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
2233 inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
20132234
20142235 # Don't allow the user to place us outside of our expected
20152236 # location b/c this prevents finding dependent libraries that
20222243
20232244 if test -n "$inst_prefix_dir"; then
20242245 # Stick the inst_prefix_dir data into the link command.
2025 relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
2246 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
20262247 else
2027 relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
2248 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
20282249 fi
20292250
20302251 func_warning "relinking \`$file'"
20422263 test -n "$relink_command" && srcname="$realname"T
20432264
20442265 # Install the shared library and build the symlinks.
2045 func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
2266 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
20462267 'exit $?'
20472268 tstripme="$stripme"
20482269 case $host_os in
21822403 if test -f "$lib"; then
21832404 func_source "$lib"
21842405 fi
2185 libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
2406 libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
21862407 if test -n "$libdir" && test ! -f "$libfile"; then
21872408 func_warning "\`$lib' has not been installed in \`$libdir'"
21882409 finalize=no
22012422 file="$func_basename_result"
22022423 outputname="$tmpdir/$file"
22032424 # Replace the output file specification.
2204 relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
2425 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
22052426
22062427 $opt_silent || {
22072428 func_quote_for_expand "$relink_command"
22202441 }
22212442 else
22222443 # Install the binary that we compiled earlier.
2223 file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
2444 file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
22242445 fi
22252446 fi
22262447
23222543 extern \"C\" {
23232544 #endif
23242545
2546 #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
2547 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
2548 #endif
2549
23252550 /* External symbol declarations for the compiler. */\
23262551 "
23272552
23312556 $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
23322557
23332558 # Add our own program objects to the symbol list.
2334 progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
2559 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
23352560 for progfile in $progfiles; do
23362561 func_verbose "extracting global C symbols from \`$progfile'"
23372562 $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
23702595 eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
23712596 eval '$MV "$nlist"T "$nlist"'
23722597 case $host in
2373 *cygwin | *mingw* | *cegcc* )
2598 *cygwin* | *mingw* | *cegcc* )
23742599 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
23752600 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
23762601 ;;
24142639 if test -f "$nlist"S; then
24152640 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
24162641 else
2417 $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
2642 echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
24182643 fi
24192644
2420 $ECHO >> "$output_objdir/$my_dlsyms" "\
2645 echo >> "$output_objdir/$my_dlsyms" "\
24212646
24222647 /* The mapping between symbol names and symbols. */
24232648 typedef struct {
24272652 "
24282653 case $host in
24292654 *cygwin* | *mingw* | *cegcc* )
2430 $ECHO >> "$output_objdir/$my_dlsyms" "\
2655 echo >> "$output_objdir/$my_dlsyms" "\
24312656 /* DATA imports from DLLs on WIN32 con't be const, because
24322657 runtime relocations are performed -- see ld's documentation
24332658 on pseudo-relocs. */"
24402665 lt_dlsym_const=const ;;
24412666 esac
24422667
2443 $ECHO >> "$output_objdir/$my_dlsyms" "\
2668 echo >> "$output_objdir/$my_dlsyms" "\
24442669 extern $lt_dlsym_const lt_dlsymlist
24452670 lt_${my_prefix}_LTX_preloaded_symbols[];
24462671 $lt_dlsym_const lt_dlsymlist
24562681 eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
24572682 ;;
24582683 esac
2459 $ECHO >> "$output_objdir/$my_dlsyms" "\
2684 echo >> "$output_objdir/$my_dlsyms" "\
24602685 {0, (void *) 0}
24612686 };
24622687
25142739 case $host in
25152740 *cygwin* | *mingw* | *cegcc* )
25162741 if test -f "$output_objdir/$my_outputname.def"; then
2517 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2518 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2742 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2743 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
25192744 else
2520 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2521 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2745 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
2746 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
25222747 fi
25232748 ;;
25242749 *)
2525 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2526 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2750 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
2751 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
25272752 ;;
25282753 esac
25292754 ;;
25372762 # really was required.
25382763
25392764 # Nullify the symbol file.
2540 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
2541 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
2765 compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
2766 finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
25422767 fi
25432768 }
25442769
25482773 # Need a lot of goo to handle *both* DLLs and import libs
25492774 # Has to be a shell function in order to 'eat' the argument
25502775 # that is supplied when $file_magic_command is called.
2776 # Despite the name, also deal with 64 bit binaries.
25512777 func_win32_libid ()
25522778 {
25532779 $opt_debug
25582784 win32_libid_type="x86 archive import"
25592785 ;;
25602786 *ar\ archive*) # could be an import, or static
2787 # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
25612788 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
2562 $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
2789 $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
25632790 win32_nmres=`eval $NM -f posix -A $1 |
25642791 $SED -n -e '
25652792 1,100{
25972824 $opt_debug
25982825 f_ex_an_ar_dir="$1"; shift
25992826 f_ex_an_ar_oldlib="$1"
2600 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
2827 if test "$lock_old_archive_extraction" = yes; then
2828 lockfile=$f_ex_an_ar_oldlib.lock
2829 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
2830 func_echo "Waiting for $lockfile to be removed"
2831 sleep 2
2832 done
2833 fi
2834 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
2835 'stat=$?; rm -f "$lockfile"; exit $stat'
2836 if test "$lock_old_archive_extraction" = yes; then
2837 $opt_dry_run || rm -f "$lockfile"
2838 fi
26012839 if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
26022840 :
26032841 else
26682906 darwin_file=
26692907 darwin_files=
26702908 for darwin_file in $darwin_filelist; do
2671 darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
2909 darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
26722910 $LIPO -create -output "$darwin_file" $darwin_files
26732911 done # $darwin_filelist
26742912 $RM -rf unfat-$$
26832921 func_extract_an_archive "$my_xdir" "$my_xabs"
26842922 ;;
26852923 esac
2686 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
2924 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
26872925 done
26882926
26892927 func_extract_archives_result="$my_oldobjs"
26902928 }
2691
2692
2693
2694 # func_emit_wrapper_part1 [arg=no]
2695 #
2696 # Emit the first part of a libtool wrapper script on stdout.
2697 # For more information, see the description associated with
2698 # func_emit_wrapper(), below.
2699 func_emit_wrapper_part1 ()
2700 {
2701 func_emit_wrapper_part1_arg1=no
2702 if test -n "$1" ; then
2703 func_emit_wrapper_part1_arg1=$1
2704 fi
2705
2706 $ECHO "\
2707 #! $SHELL
2708
2709 # $output - temporary wrapper script for $objdir/$outputname
2710 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
2711 #
2712 # The $output program cannot be directly executed until all the libtool
2713 # libraries that it depends on are installed.
2714 #
2715 # This wrapper script should never be moved out of the build directory.
2716 # If it is, it will not operate correctly.
2717
2718 # Sed substitution that helps us do robust quoting. It backslashifies
2719 # metacharacters that are still active within double-quoted strings.
2720 Xsed='${SED} -e 1s/^X//'
2721 sed_quote_subst='$sed_quote_subst'
2722
2723 # Be Bourne compatible
2724 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
2725 emulate sh
2726 NULLCMD=:
2727 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
2728 # is contrary to our usage. Disable this feature.
2729 alias -g '\${1+\"\$@\"}'='\"\$@\"'
2730 setopt NO_GLOB_SUBST
2731 else
2732 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
2733 fi
2734 BIN_SH=xpg4; export BIN_SH # for Tru64
2735 DUALCASE=1; export DUALCASE # for MKS sh
2736
2737 # The HP-UX ksh and POSIX shell print the target directory to stdout
2738 # if CDPATH is set.
2739 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2740
2741 relink_command=\"$relink_command\"
2742
2743 # This environment variable determines our operation mode.
2744 if test \"\$libtool_install_magic\" = \"$magic\"; then
2745 # install mode needs the following variables:
2746 generated_by_libtool_version='$macro_version'
2747 notinst_deplibs='$notinst_deplibs'
2748 else
2749 # When we are sourced in execute mode, \$file and \$ECHO are already set.
2750 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2751 ECHO=\"$qecho\"
2752 file=\"\$0\"
2753 # Make sure echo works.
2754 if test \"X\$1\" = X--no-reexec; then
2755 # Discard the --no-reexec flag, and continue.
2756 shift
2757 elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
2758 # Yippee, \$ECHO works!
2759 :
2760 else
2761 # Restart under the correct shell, and then maybe \$ECHO will work.
2762 exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
2763 fi
2764 fi\
2765 "
2766 $ECHO "\
2767
2768 # Find the directory that this script lives in.
2769 thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
2770 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
2771
2772 # Follow symbolic links until we get to the real thisdir.
2773 file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
2774 while test -n \"\$file\"; do
2775 destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
2776
2777 # If there was a directory component, then change thisdir.
2778 if test \"x\$destdir\" != \"x\$file\"; then
2779 case \"\$destdir\" in
2780 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
2781 *) thisdir=\"\$thisdir/\$destdir\" ;;
2782 esac
2783 fi
2784
2785 file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
2786 file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
2787 done
2788 "
2789 }
2790 # end: func_emit_wrapper_part1
2791
2792 # func_emit_wrapper_part2 [arg=no]
2793 #
2794 # Emit the second part of a libtool wrapper script on stdout.
2795 # For more information, see the description associated with
2796 # func_emit_wrapper(), below.
2797 func_emit_wrapper_part2 ()
2798 {
2799 func_emit_wrapper_part2_arg1=no
2800 if test -n "$1" ; then
2801 func_emit_wrapper_part2_arg1=$1
2802 fi
2803
2804 $ECHO "\
2805
2806 # Usually 'no', except on cygwin/mingw when embedded into
2807 # the cwrapper.
2808 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
2809 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
2810 # special case for '.'
2811 if test \"\$thisdir\" = \".\"; then
2812 thisdir=\`pwd\`
2813 fi
2814 # remove .libs from thisdir
2815 case \"\$thisdir\" in
2816 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
2817 $objdir ) thisdir=. ;;
2818 esac
2819 fi
2820
2821 # Try to get the absolute directory name.
2822 absdir=\`cd \"\$thisdir\" && pwd\`
2823 test -n \"\$absdir\" && thisdir=\"\$absdir\"
2824 "
2825
2826 if test "$fast_install" = yes; then
2827 $ECHO "\
2828 program=lt-'$outputname'$exeext
2829 progdir=\"\$thisdir/$objdir\"
2830
2831 if test ! -f \"\$progdir/\$program\" ||
2832 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
2833 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
2834
2835 file=\"\$\$-\$program\"
2836
2837 if test ! -d \"\$progdir\"; then
2838 $MKDIR \"\$progdir\"
2839 else
2840 $RM \"\$progdir/\$file\"
2841 fi"
2842
2843 $ECHO "\
2844
2845 # relink executable if necessary
2846 if test -n \"\$relink_command\"; then
2847 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
2848 else
2849 $ECHO \"\$relink_command_output\" >&2
2850 $RM \"\$progdir/\$file\"
2851 exit 1
2852 fi
2853 fi
2854
2855 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
2856 { $RM \"\$progdir/\$program\";
2857 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
2858 $RM \"\$progdir/\$file\"
2859 fi"
2860 else
2861 $ECHO "\
2862 program='$outputname'
2863 progdir=\"\$thisdir/$objdir\"
2864 "
2865 fi
2866
2867 $ECHO "\
2868
2869 if test -f \"\$progdir/\$program\"; then"
2870
2871 # Export our shlibpath_var if we have one.
2872 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
2873 $ECHO "\
2874 # Add our own library path to $shlibpath_var
2875 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
2876
2877 # Some systems cannot cope with colon-terminated $shlibpath_var
2878 # The second colon is a workaround for a bug in BeOS R4 sed
2879 $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
2880
2881 export $shlibpath_var
2882 "
2883 fi
2884
2885 # fixup the dll searchpath if we need to.
2886 if test -n "$dllsearchpath"; then
2887 $ECHO "\
2888 # Add the dll search path components to the executable PATH
2889 PATH=$dllsearchpath:\$PATH
2890 "
2891 fi
2892
2893 $ECHO "\
2894 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2895 # Run the actual program with our arguments.
2896 "
2897 case $host in
2898 # Backslashes separate directories on plain windows
2899 *-*-mingw | *-*-os2* | *-cegcc*)
2900 $ECHO "\
2901 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
2902 "
2903 ;;
2904
2905 *)
2906 $ECHO "\
2907 exec \"\$progdir/\$program\" \${1+\"\$@\"}
2908 "
2909 ;;
2910 esac
2911 $ECHO "\
2912 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
2913 exit 1
2914 fi
2915 else
2916 # The program doesn't exist.
2917 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
2918 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
2919 $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
2920 exit 1
2921 fi
2922 fi\
2923 "
2924 }
2925 # end: func_emit_wrapper_part2
29262929
29272930
29282931 # func_emit_wrapper [arg=no]
29412944 # behavior.
29422945 func_emit_wrapper ()
29432946 {
2944 func_emit_wrapper_arg1=no
2945 if test -n "$1" ; then
2946 func_emit_wrapper_arg1=$1
2947 func_emit_wrapper_arg1=${1-no}
2948
2949 $ECHO "\
2950 #! $SHELL
2951
2952 # $output - temporary wrapper script for $objdir/$outputname
2953 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
2954 #
2955 # The $output program cannot be directly executed until all the libtool
2956 # libraries that it depends on are installed.
2957 #
2958 # This wrapper script should never be moved out of the build directory.
2959 # If it is, it will not operate correctly.
2960
2961 # Sed substitution that helps us do robust quoting. It backslashifies
2962 # metacharacters that are still active within double-quoted strings.
2963 sed_quote_subst='$sed_quote_subst'
2964
2965 # Be Bourne compatible
2966 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
2967 emulate sh
2968 NULLCMD=:
2969 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
2970 # is contrary to our usage. Disable this feature.
2971 alias -g '\${1+\"\$@\"}'='\"\$@\"'
2972 setopt NO_GLOB_SUBST
2973 else
2974 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
2975 fi
2976 BIN_SH=xpg4; export BIN_SH # for Tru64
2977 DUALCASE=1; export DUALCASE # for MKS sh
2978
2979 # The HP-UX ksh and POSIX shell print the target directory to stdout
2980 # if CDPATH is set.
2981 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2982
2983 relink_command=\"$relink_command\"
2984
2985 # This environment variable determines our operation mode.
2986 if test \"\$libtool_install_magic\" = \"$magic\"; then
2987 # install mode needs the following variables:
2988 generated_by_libtool_version='$macro_version'
2989 notinst_deplibs='$notinst_deplibs'
2990 else
2991 # When we are sourced in execute mode, \$file and \$ECHO are already set.
2992 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2993 file=\"\$0\""
2994
2995 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
2996 $ECHO "\
2997
2998 # A function that is used when there is no print builtin or printf.
2999 func_fallback_echo ()
3000 {
3001 eval 'cat <<_LTECHO_EOF
3002 \$1
3003 _LTECHO_EOF'
3004 }
3005 ECHO=\"$qECHO\"
3006 fi
3007
3008 # Very basic option parsing. These options are (a) specific to
3009 # the libtool wrapper, (b) are identical between the wrapper
3010 # /script/ and the wrapper /executable/ which is used only on
3011 # windows platforms, and (c) all begin with the string "--lt-"
3012 # (application programs are unlikely to have options which match
3013 # this pattern).
3014 #
3015 # There are only two supported options: --lt-debug and
3016 # --lt-dump-script. There is, deliberately, no --lt-help.
3017 #
3018 # The first argument to this parsing function should be the
3019 # script's $0 value, followed by "$@".
3020 lt_option_debug=
3021 func_parse_lt_options ()
3022 {
3023 lt_script_arg0=\$0
3024 shift
3025 for lt_opt
3026 do
3027 case \"\$lt_opt\" in
3028 --lt-debug) lt_option_debug=1 ;;
3029 --lt-dump-script)
3030 lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
3031 test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
3032 lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
3033 cat \"\$lt_dump_D/\$lt_dump_F\"
3034 exit 0
3035 ;;
3036 --lt-*)
3037 \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
3038 exit 1
3039 ;;
3040 esac
3041 done
3042
3043 # Print the debug banner immediately:
3044 if test -n \"\$lt_option_debug\"; then
3045 echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
3046 fi
3047 }
3048
3049 # Used when --lt-debug. Prints its arguments to stdout
3050 # (redirection is the responsibility of the caller)
3051 func_lt_dump_args ()
3052 {
3053 lt_dump_args_N=1;
3054 for lt_arg
3055 do
3056 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
3057 lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
3058 done
3059 }
3060
3061 # Core function for launching the target application
3062 func_exec_program_core ()
3063 {
3064 "
3065 case $host in
3066 # Backslashes separate directories on plain windows
3067 *-*-mingw | *-*-os2* | *-cegcc*)
3068 $ECHO "\
3069 if test -n \"\$lt_option_debug\"; then
3070 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
3071 func_lt_dump_args \${1+\"\$@\"} 1>&2
3072 fi
3073 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
3074 "
3075 ;;
3076
3077 *)
3078 $ECHO "\
3079 if test -n \"\$lt_option_debug\"; then
3080 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
3081 func_lt_dump_args \${1+\"\$@\"} 1>&2
3082 fi
3083 exec \"\$progdir/\$program\" \${1+\"\$@\"}
3084 "
3085 ;;
3086 esac
3087 $ECHO "\
3088 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
3089 exit 1
3090 }
3091
3092 # A function to encapsulate launching the target application
3093 # Strips options in the --lt-* namespace from \$@ and
3094 # launches target application with the remaining arguments.
3095 func_exec_program ()
3096 {
3097 for lt_wr_arg
3098 do
3099 case \$lt_wr_arg in
3100 --lt-*) ;;
3101 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
3102 esac
3103 shift
3104 done
3105 func_exec_program_core \${1+\"\$@\"}
3106 }
3107
3108 # Parse options
3109 func_parse_lt_options \"\$0\" \${1+\"\$@\"}
3110
3111 # Find the directory that this script lives in.
3112 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
3113 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
3114
3115 # Follow symbolic links until we get to the real thisdir.
3116 file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
3117 while test -n \"\$file\"; do
3118 destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
3119
3120 # If there was a directory component, then change thisdir.
3121 if test \"x\$destdir\" != \"x\$file\"; then
3122 case \"\$destdir\" in
3123 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
3124 *) thisdir=\"\$thisdir/\$destdir\" ;;
3125 esac
3126 fi
3127
3128 file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
3129 file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
3130 done
3131
3132 # Usually 'no', except on cygwin/mingw when embedded into
3133 # the cwrapper.
3134 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
3135 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
3136 # special case for '.'
3137 if test \"\$thisdir\" = \".\"; then
3138 thisdir=\`pwd\`
3139 fi
3140 # remove .libs from thisdir
3141 case \"\$thisdir\" in
3142 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
3143 $objdir ) thisdir=. ;;
3144 esac
3145 fi
3146
3147 # Try to get the absolute directory name.
3148 absdir=\`cd \"\$thisdir\" && pwd\`
3149 test -n \"\$absdir\" && thisdir=\"\$absdir\"
3150 "
3151
3152 if test "$fast_install" = yes; then
3153 $ECHO "\
3154 program=lt-'$outputname'$exeext
3155 progdir=\"\$thisdir/$objdir\"
3156
3157 if test ! -f \"\$progdir/\$program\" ||
3158 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
3159 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
3160
3161 file=\"\$\$-\$program\"
3162
3163 if test ! -d \"\$progdir\"; then
3164 $MKDIR \"\$progdir\"
3165 else
3166 $RM \"\$progdir/\$file\"
3167 fi"
3168
3169 $ECHO "\
3170
3171 # relink executable if necessary
3172 if test -n \"\$relink_command\"; then
3173 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
3174 else
3175 $ECHO \"\$relink_command_output\" >&2
3176 $RM \"\$progdir/\$file\"
3177 exit 1
3178 fi
3179 fi
3180
3181 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
3182 { $RM \"\$progdir/\$program\";
3183 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
3184 $RM \"\$progdir/\$file\"
3185 fi"
3186 else
3187 $ECHO "\
3188 program='$outputname'
3189 progdir=\"\$thisdir/$objdir\"
3190 "
29473191 fi
29483192
2949 # split this up so that func_emit_cwrapperexe_src
2950 # can call each part independently.
2951 func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
2952 func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
3193 $ECHO "\
3194
3195 if test -f \"\$progdir/\$program\"; then"
3196
3197 # Export our shlibpath_var if we have one.
3198 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
3199 $ECHO "\
3200 # Add our own library path to $shlibpath_var
3201 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
3202
3203 # Some systems cannot cope with colon-terminated $shlibpath_var
3204 # The second colon is a workaround for a bug in BeOS R4 sed
3205 $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
3206
3207 export $shlibpath_var
3208 "
3209 fi
3210
3211 # fixup the dll searchpath if we need to.
3212 if test -n "$dllsearchpath"; then
3213 $ECHO "\
3214 # Add the dll search path components to the executable PATH
3215 PATH=$dllsearchpath:\$PATH
3216 "
3217 fi
3218
3219 $ECHO "\
3220 if test \"\$libtool_execute_magic\" != \"$magic\"; then
3221 # Run the actual program with our arguments.
3222 func_exec_program \${1+\"\$@\"}
3223 fi
3224 else
3225 # The program doesn't exist.
3226 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
3227 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
3228 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
3229 exit 1
3230 fi
3231 fi\
3232 "
29533233 }
29543234
29553235
29773257 func_to_host_path ()
29783258 {
29793259 func_to_host_path_result="$1"
2980 if test -n "$1" ; then
3260 if test -n "$1"; then
29813261 case $host in
29823262 *mingw* )
29833263 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
29843264 case $build in
29853265 *mingw* ) # actually, msys
29863266 # awkward: cmd appends spaces to result
2987 lt_sed_strip_trailing_spaces="s/[ ]*\$//"
2988 func_to_host_path_tmp1=`( cmd //c echo "$1" |\
2989 $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
2990 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
2991 $SED -e "$lt_sed_naive_backslashify"`
3267 func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null |
3268 $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
29923269 ;;
29933270 *cygwin* )
2994 func_to_host_path_tmp1=`cygpath -w "$1"`
2995 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
2996 $SED -e "$lt_sed_naive_backslashify"`
3271 func_to_host_path_result=`cygpath -w "$1" |
3272 $SED -e "$lt_sed_naive_backslashify"`
29973273 ;;
29983274 * )
29993275 # Unfortunately, winepath does not exit with a non-zero
30053281 # the odd construction:
30063282 func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
30073283 if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
3008 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
3284 func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |
30093285 $SED -e "$lt_sed_naive_backslashify"`
30103286 else
30113287 # Allow warning below.
3012 func_to_host_path_result=""
3288 func_to_host_path_result=
30133289 fi
30143290 ;;
30153291 esac
30163292 if test -z "$func_to_host_path_result" ; then
30173293 func_error "Could not determine host path corresponding to"
3018 func_error " '$1'"
3294 func_error " \`$1'"
30193295 func_error "Continuing, but uninstalled executables may not work."
30203296 # Fallback:
30213297 func_to_host_path_result="$1"
30483324 func_to_host_pathlist ()
30493325 {
30503326 func_to_host_pathlist_result="$1"
3051 if test -n "$1" ; then
3327 if test -n "$1"; then
30523328 case $host in
30533329 *mingw* )
30543330 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
30553331 # Remove leading and trailing path separator characters from
30563332 # ARG. msys behavior is inconsistent here, cygpath turns them
30573333 # into '.;' and ';.', and winepath ignores them completely.
3058 func_to_host_pathlist_tmp2="$1"
3059 # Once set for this call, this variable should not be
3060 # reassigned. It is used in tha fallback case.
3061 func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
3062 $SED -e 's|^:*||' -e 's|:*$||'`
3334 func_stripname : : "$1"
3335 func_to_host_pathlist_tmp1=$func_stripname_result
30633336 case $build in
30643337 *mingw* ) # Actually, msys.
30653338 # Awkward: cmd appends spaces to result.
3066 lt_sed_strip_trailing_spaces="s/[ ]*\$//"
3067 func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
3068 $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
3069 func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
3070 $SED -e "$lt_sed_naive_backslashify"`
3339 func_to_host_pathlist_result=`
3340 ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null |
3341 $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
30713342 ;;
30723343 *cygwin* )
3073 func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
3074 func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
3344 func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" |
30753345 $SED -e "$lt_sed_naive_backslashify"`
30763346 ;;
30773347 * )
30873357 if test -z "$func_to_host_pathlist_result" ; then
30883358 func_to_host_pathlist_result="$func_to_host_path_result"
30893359 else
3090 func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
3360 func_append func_to_host_pathlist_result ";$func_to_host_path_result"
30913361 fi
30923362 fi
30933363 fi
3094 IFS=:
30953364 done
30963365 IFS=$func_to_host_pathlist_oldIFS
30973366 ;;
30983367 esac
3099 if test -z "$func_to_host_pathlist_result" ; then
3368 if test -z "$func_to_host_pathlist_result"; then
31003369 func_error "Could not determine the host path(s) corresponding to"
3101 func_error " '$1'"
3370 func_error " \`$1'"
31023371 func_error "Continuing, but uninstalled executables may not work."
31033372 # Fallback. This may break if $1 contains DOS-style drive
31043373 # specifications. The fix is not to complicate the expression
31153384 ;;
31163385 esac
31173386 case "$1" in
3118 *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
3387 *: ) func_append func_to_host_pathlist_result ";"
31193388 ;;
31203389 esac
31213390 ;;
31403409
31413410 This wrapper executable should never be moved out of the build directory.
31423411 If it is, it will not operate correctly.
3143
3144 Currently, it simply execs the wrapper *script* "$SHELL $output",
3145 but could eventually absorb all of the scripts functionality and
3146 exec $objdir/$outputname directly.
31473412 */
31483413 EOF
31493414 cat <<"EOF"
3415 #ifdef _MSC_VER
3416 # define _CRT_SECURE_NO_DEPRECATE 1
3417 #endif
31503418 #include <stdio.h>
31513419 #include <stdlib.h>
31523420 #ifdef _MSC_VER
31533421 # include <direct.h>
31543422 # include <process.h>
31553423 # include <io.h>
3156 # define setmode _setmode
31573424 #else
31583425 # include <unistd.h>
31593426 # include <stdint.h>
31603427 # ifdef __CYGWIN__
31613428 # include <io.h>
3162 # define HAVE_SETENV
3163 # ifdef __STRICT_ANSI__
3164 char *realpath (const char *, char *);
3165 int putenv (char *);
3166 int setenv (const char *, const char *, int);
3167 # endif
31683429 # endif
31693430 #endif
31703431 #include <malloc.h>
31763437 #include <fcntl.h>
31773438 #include <sys/stat.h>
31783439
3440 /* declarations of non-ANSI functions */
3441 #if defined(__MINGW32__)
3442 # ifdef __STRICT_ANSI__
3443 int _putenv (const char *);
3444 # endif
3445 #elif defined(__CYGWIN__)
3446 # ifdef __STRICT_ANSI__
3447 char *realpath (const char *, char *);
3448 int putenv (char *);
3449 int setenv (const char *, const char *, int);
3450 # endif
3451 /* #elif defined (other platforms) ... */
3452 #endif
3453
3454 /* portability defines, excluding path handling macros */
3455 #if defined(_MSC_VER)
3456 # define setmode _setmode
3457 # define stat _stat
3458 # define chmod _chmod
3459 # define getcwd _getcwd
3460 # define putenv _putenv
3461 # define S_IXUSR _S_IEXEC
3462 # ifndef _INTPTR_T_DEFINED
3463 # define _INTPTR_T_DEFINED
3464 # define intptr_t int
3465 # endif
3466 #elif defined(__MINGW32__)
3467 # define setmode _setmode
3468 # define stat _stat
3469 # define chmod _chmod
3470 # define getcwd _getcwd
3471 # define putenv _putenv
3472 #elif defined(__CYGWIN__)
3473 # define HAVE_SETENV
3474 # define FOPEN_WB "wb"
3475 /* #elif defined (other platforms) ... */
3476 #endif
3477
31793478 #if defined(PATH_MAX)
31803479 # define LT_PATHMAX PATH_MAX
31813480 #elif defined(MAXPATHLEN)
31913490 # define S_IXGRP 0
31923491 #endif
31933492
3194 #ifdef _MSC_VER
3195 # define S_IXUSR _S_IEXEC
3196 # define stat _stat
3197 # ifndef _INTPTR_T_DEFINED
3198 # define intptr_t int
3199 # endif
3200 #endif
3201
3493 /* path handling portability macros */
32023494 #ifndef DIR_SEPARATOR
32033495 # define DIR_SEPARATOR '/'
32043496 # define PATH_SEPARATOR ':'
32293521 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
32303522 #endif /* PATH_SEPARATOR_2 */
32313523
3232 #ifdef __CYGWIN__
3233 # define FOPEN_WB "wb"
3234 #endif
3235
32363524 #ifndef FOPEN_WB
32373525 # define FOPEN_WB "w"
32383526 #endif
32453533 if (stale) { free ((void *) stale); stale = 0; } \
32463534 } while (0)
32473535
3248 #undef LTWRAPPER_DEBUGPRINTF
3249 #if defined DEBUGWRAPPER
3250 # define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
3251 static void
3252 ltwrapper_debugprintf (const char *fmt, ...)
3253 {
3254 va_list args;
3255 va_start (args, fmt);
3256 (void) vfprintf (stderr, fmt, args);
3257 va_end (args);
3258 }
3536 #if defined(LT_DEBUGWRAPPER)
3537 static int lt_debug = 1;
32593538 #else
3260 # define LTWRAPPER_DEBUGPRINTF(args)
3539 static int lt_debug = 0;
32613540 #endif
32623541
3263 const char *program_name = NULL;
3542 const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
32643543
32653544 void *xmalloc (size_t num);
32663545 char *xstrdup (const char *string);
32703549 int make_executable (const char *path);
32713550 int check_executable (const char *path);
32723551 char *strendzap (char *str, const char *pat);
3273 void lt_fatal (const char *message, ...);
3552 void lt_debugprintf (const char *file, int line, const char *fmt, ...);
3553 void lt_fatal (const char *file, int line, const char *message, ...);
3554 static const char *nonnull (const char *s);
3555 static const char *nonempty (const char *s);
32743556 void lt_setenv (const char *name, const char *value);
32753557 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
3276 void lt_opt_process_env_set (const char *arg);
3277 void lt_opt_process_env_prepend (const char *arg);
3278 void lt_opt_process_env_append (const char *arg);
3279 int lt_split_name_value (const char *arg, char** name, char** value);
32803558 void lt_update_exe_path (const char *name, const char *value);
32813559 void lt_update_lib_path (const char *name, const char *value);
3282
3283 static const char *script_text_part1 =
3560 char **prepare_spawn (char **argv);
3561 void lt_dump_script (FILE *f);
32843562 EOF
3285
3286 func_emit_wrapper_part1 yes |
3287 $SED -e 's/\([\\"]\)/\\\1/g' \
3288 -e 's/^/ "/' -e 's/$/\\n"/'
3289 echo ";"
3290 cat <<EOF
3291
3292 static const char *script_text_part2 =
3293 EOF
3294 func_emit_wrapper_part2 yes |
3295 $SED -e 's/\([\\"]\)/\\\1/g' \
3296 -e 's/^/ "/' -e 's/$/\\n"/'
3297 echo ";"
32983563
32993564 cat <<EOF
33003565 const char * MAGIC_EXE = "$magic_exe";
33393604 cat <<"EOF"
33403605
33413606 #define LTWRAPPER_OPTION_PREFIX "--lt-"
3342 #define LTWRAPPER_OPTION_PREFIX_LENGTH 5
3343
3344 static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
3607
33453608 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
3346
33473609 static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
3348
3349 static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
3350 static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
3351 /* argument is putenv-style "foo=bar", value of foo is set to bar */
3352
3353 static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
3354 static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
3355 /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
3356
3357 static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
3358 static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
3359 /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
3610 static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
33603611
33613612 int
33623613 main (int argc, char *argv[])
33733624 int i;
33743625
33753626 program_name = (char *) xstrdup (base_name (argv[0]));
3376 LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
3377 LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
3378
3379 /* very simple arg parsing; don't want to rely on getopt */
3627 newargz = XMALLOC (char *, argc + 1);
3628
3629 /* very simple arg parsing; don't want to rely on getopt
3630 * also, copy all non cwrapper options to newargz, except
3631 * argz[0], which is handled differently
3632 */
3633 newargc=0;
33803634 for (i = 1; i < argc; i++)
33813635 {
33823636 if (strcmp (argv[i], dumpscript_opt) == 0)
33903644 esac
33913645
33923646 cat <<"EOF"
3393 printf ("%s", script_text_part1);
3394 printf ("%s", script_text_part2);
3647 lt_dump_script (stdout);
33953648 return 0;
33963649 }
3650 if (strcmp (argv[i], debug_opt) == 0)
3651 {
3652 lt_debug = 1;
3653 continue;
3654 }
3655 if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
3656 {
3657 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
3658 namespace, but it is not one of the ones we know about and
3659 have already dealt with, above (inluding dump-script), then
3660 report an error. Otherwise, targets might begin to believe
3661 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
3662 namespace. The first time any user complains about this, we'll
3663 need to make LTWRAPPER_OPTION_PREFIX a configure-time option
3664 or a configure.ac-settable value.
3665 */
3666 lt_fatal (__FILE__, __LINE__,
3667 "unrecognized %s option: '%s'",
3668 ltwrapper_option_prefix, argv[i]);
3669 }
3670 /* otherwise ... */
3671 newargz[++newargc] = xstrdup (argv[i]);
33973672 }
3398
3399 newargz = XMALLOC (char *, argc + 1);
3673 newargz[++newargc] = NULL;
3674
3675 EOF
3676 cat <<EOF
3677 /* The GNU banner must be the first non-error debug message */
3678 lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
3679 EOF
3680 cat <<"EOF"
3681 lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
3682 lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
3683
34003684 tmp_pathspec = find_executable (argv[0]);
34013685 if (tmp_pathspec == NULL)
3402 lt_fatal ("Couldn't find %s", argv[0]);
3403 LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
3404 tmp_pathspec));
3686 lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
3687 lt_debugprintf (__FILE__, __LINE__,
3688 "(main) found exe (before symlink chase) at: %s\n",
3689 tmp_pathspec);
34053690
34063691 actual_cwrapper_path = chase_symlinks (tmp_pathspec);
3407 LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
3408 actual_cwrapper_path));
3692 lt_debugprintf (__FILE__, __LINE__,
3693 "(main) found exe (after symlink chase) at: %s\n",
3694 actual_cwrapper_path);
34093695 XFREE (tmp_pathspec);
34103696
3411 actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
3697 actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
34123698 strendzap (actual_cwrapper_path, actual_cwrapper_name);
34133699
34143700 /* wrapper name transforms */
34263712 target_name = tmp_pathspec;
34273713 tmp_pathspec = 0;
34283714
3429 LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
3430 target_name));
3715 lt_debugprintf (__FILE__, __LINE__,
3716 "(main) libtool target name: %s\n",
3717 target_name);
34313718 EOF
34323719
34333720 cat <<EOF
34803767 lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
34813768 lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
34823769
3483 newargc=0;
3484 for (i = 1; i < argc; i++)
3485 {
3486 if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
3487 {
3488 if (argv[i][env_set_opt_len] == '=')
3489 {
3490 const char *p = argv[i] + env_set_opt_len + 1;
3491 lt_opt_process_env_set (p);
3492 }
3493 else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
3494 {
3495 lt_opt_process_env_set (argv[++i]); /* don't copy */
3496 }
3497 else
3498 lt_fatal ("%s missing required argument", env_set_opt);
3499 continue;
3500 }
3501 if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
3502 {
3503 if (argv[i][env_prepend_opt_len] == '=')
3504 {
3505 const char *p = argv[i] + env_prepend_opt_len + 1;
3506 lt_opt_process_env_prepend (p);
3507 }
3508 else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
3509 {
3510 lt_opt_process_env_prepend (argv[++i]); /* don't copy */
3511 }
3512 else
3513 lt_fatal ("%s missing required argument", env_prepend_opt);
3514 continue;
3515 }
3516 if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
3517 {
3518 if (argv[i][env_append_opt_len] == '=')
3519 {
3520 const char *p = argv[i] + env_append_opt_len + 1;
3521 lt_opt_process_env_append (p);
3522 }
3523 else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
3524 {
3525 lt_opt_process_env_append (argv[++i]); /* don't copy */
3526 }
3527 else
3528 lt_fatal ("%s missing required argument", env_append_opt);
3529 continue;
3530 }
3531 if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
3532 {
3533 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
3534 namespace, but it is not one of the ones we know about and
3535 have already dealt with, above (inluding dump-script), then
3536 report an error. Otherwise, targets might begin to believe
3537 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
3538 namespace. The first time any user complains about this, we'll
3539 need to make LTWRAPPER_OPTION_PREFIX a configure-time option
3540 or a configure.ac-settable value.
3541 */
3542 lt_fatal ("Unrecognized option in %s namespace: '%s'",
3543 ltwrapper_option_prefix, argv[i]);
3544 }
3545 /* otherwise ... */
3546 newargz[++newargc] = xstrdup (argv[i]);
3547 }
3548 newargz[++newargc] = NULL;
3549
3550 LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
3770 lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
3771 nonnull (lt_argv_zero));
35513772 for (i = 0; i < newargc; i++)
35523773 {
3553 LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
3774 lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
3775 i, nonnull (newargz[i]));
35543776 }
35553777
35563778 EOF
35593781 mingw*)
35603782 cat <<"EOF"
35613783 /* execv doesn't actually work on mingw as expected on unix */
3784 newargz = prepare_spawn (newargz);
35623785 rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
35633786 if (rval == -1)
35643787 {
35653788 /* failed to start process */
3566 LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
3789 lt_debugprintf (__FILE__, __LINE__,
3790 "(main) failed to launch target \"%s\": %s\n",
3791 lt_argv_zero, nonnull (strerror (errno)));
35673792 return 127;
35683793 }
35693794 return rval;
35853810 {
35863811 void *p = (void *) malloc (num);
35873812 if (!p)
3588 lt_fatal ("Memory exhausted");
3813 lt_fatal (__FILE__, __LINE__, "memory exhausted");
35893814
35903815 return p;
35913816 }
36193844 {
36203845 struct stat st;
36213846
3622 LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
3623 path ? (*path ? path : "EMPTY!") : "NULL!"));
3847 lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
3848 nonempty (path));
36243849 if ((!path) || (!*path))
36253850 return 0;
36263851
36373862 int rval = 0;
36383863 struct stat st;
36393864
3640 LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
3641 path ? (*path ? path : "EMPTY!") : "NULL!"));
3865 lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
3866 nonempty (path));
36423867 if ((!path) || (!*path))
36433868 return 0;
36443869
36643889 int tmp_len;
36653890 char *concat_name;
36663891
3667 LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
3668 wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
3892 lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
3893 nonempty (wrapper));
36693894
36703895 if ((wrapper == NULL) || (*wrapper == '\0'))
36713896 return NULL;
37183943 {
37193944 /* empty path: current directory */
37203945 if (getcwd (tmp, LT_PATHMAX) == NULL)
3721 lt_fatal ("getcwd failed");
3946 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
3947 nonnull (strerror (errno)));
37223948 tmp_len = strlen (tmp);
37233949 concat_name =
37243950 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
37433969 }
37443970 /* Relative path | not found in path: prepend cwd */
37453971 if (getcwd (tmp, LT_PATHMAX) == NULL)
3746 lt_fatal ("getcwd failed");
3972 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
3973 nonnull (strerror (errno)));
37473974 tmp_len = strlen (tmp);
37483975 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
37493976 memcpy (concat_name, tmp, tmp_len);
37693996 int has_symlinks = 0;
37703997 while (strlen (tmp_pathspec) && !has_symlinks)
37713998 {
3772 LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
3773 tmp_pathspec));
3999 lt_debugprintf (__FILE__, __LINE__,
4000 "checking path component for symlinks: %s\n",
4001 tmp_pathspec);
37744002 if (lstat (tmp_pathspec, &s) == 0)
37754003 {
37764004 if (S_ISLNK (s.st_mode) != 0)
37924020 }
37934021 else
37944022 {
3795 char *errstr = strerror (errno);
3796 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
4023 lt_fatal (__FILE__, __LINE__,
4024 "error accessing file \"%s\": %s",
4025 tmp_pathspec, nonnull (strerror (errno)));
37974026 }
37984027 }
37994028 XFREE (tmp_pathspec);
38064035 tmp_pathspec = realpath (pathspec, buf);
38074036 if (tmp_pathspec == 0)
38084037 {
3809 lt_fatal ("Could not follow symlinks for %s", pathspec);
4038 lt_fatal (__FILE__, __LINE__,
4039 "could not follow symlinks for %s", pathspec);
38104040 }
38114041 return xstrdup (tmp_pathspec);
38124042 #endif
38324062 return str;
38334063 }
38344064
4065 void
4066 lt_debugprintf (const char *file, int line, const char *fmt, ...)
4067 {
4068 va_list args;
4069 if (lt_debug)
4070 {
4071 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
4072 va_start (args, fmt);
4073 (void) vfprintf (stderr, fmt, args);
4074 va_end (args);
4075 }
4076 }
4077
38354078 static void
3836 lt_error_core (int exit_status, const char *mode,
4079 lt_error_core (int exit_status, const char *file,
4080 int line, const char *mode,
38374081 const char *message, va_list ap)
38384082 {
3839 fprintf (stderr, "%s: %s: ", program_name, mode);
4083 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
38404084 vfprintf (stderr, message, ap);
38414085 fprintf (stderr, ".\n");
38424086
38454089 }
38464090
38474091 void
3848 lt_fatal (const char *message, ...)
4092 lt_fatal (const char *file, int line, const char *message, ...)
38494093 {
38504094 va_list ap;
38514095 va_start (ap, message);
3852 lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
4096 lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
38534097 va_end (ap);
4098 }
4099
4100 static const char *
4101 nonnull (const char *s)
4102 {
4103 return s ? s : "(null)";
4104 }
4105
4106 static const char *
4107 nonempty (const char *s)
4108 {
4109 return (s && !*s) ? "(empty)" : nonnull (s);
38544110 }
38554111
38564112 void
38574113 lt_setenv (const char *name, const char *value)
38584114 {
3859 LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
3860 (name ? name : "<NULL>"),
3861 (value ? value : "<NULL>")));
4115 lt_debugprintf (__FILE__, __LINE__,
4116 "(lt_setenv) setting '%s' to '%s'\n",
4117 nonnull (name), nonnull (value));
38624118 {
38634119 #ifdef HAVE_SETENV
38644120 /* always make a copy, for consistency with !HAVE_SETENV */
39034159 return new_value;
39044160 }
39054161
3906 int
3907 lt_split_name_value (const char *arg, char** name, char** value)
3908 {
3909 const char *p;
3910 int len;
3911 if (!arg || !*arg)
3912 return 1;
3913
3914 p = strchr (arg, (int)'=');
3915
3916 if (!p)
3917 return 1;
3918
3919 *value = xstrdup (++p);
3920
3921 len = strlen (arg) - strlen (*value);
3922 *name = XMALLOC (char, len);
3923 strncpy (*name, arg, len-1);
3924 (*name)[len - 1] = '\0';
3925
3926 return 0;
3927 }
3928
3929 void
3930 lt_opt_process_env_set (const char *arg)
3931 {
3932 char *name = NULL;
3933 char *value = NULL;
3934
3935 if (lt_split_name_value (arg, &name, &value) != 0)
3936 {
3937 XFREE (name);
3938 XFREE (value);
3939 lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
3940 }
3941
3942 lt_setenv (name, value);
3943 XFREE (name);
3944 XFREE (value);
3945 }
3946
3947 void
3948 lt_opt_process_env_prepend (const char *arg)
3949 {
3950 char *name = NULL;
3951 char *value = NULL;
3952 char *new_value = NULL;
3953
3954 if (lt_split_name_value (arg, &name, &value) != 0)
3955 {
3956 XFREE (name);
3957 XFREE (value);
3958 lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
3959 }
3960
3961 new_value = lt_extend_str (getenv (name), value, 0);
3962 lt_setenv (name, new_value);
3963 XFREE (new_value);
3964 XFREE (name);
3965 XFREE (value);
3966 }
3967
3968 void
3969 lt_opt_process_env_append (const char *arg)
3970 {
3971 char *name = NULL;
3972 char *value = NULL;
3973 char *new_value = NULL;
3974
3975 if (lt_split_name_value (arg, &name, &value) != 0)
3976 {
3977 XFREE (name);
3978 XFREE (value);
3979 lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
3980 }
3981
3982 new_value = lt_extend_str (getenv (name), value, 1);
3983 lt_setenv (name, new_value);
3984 XFREE (new_value);
3985 XFREE (name);
3986 XFREE (value);
3987 }
3988
39894162 void
39904163 lt_update_exe_path (const char *name, const char *value)
39914164 {
3992 LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
3993 (name ? name : "<NULL>"),
3994 (value ? value : "<NULL>")));
4165 lt_debugprintf (__FILE__, __LINE__,
4166 "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
4167 nonnull (name), nonnull (value));
39954168
39964169 if (name && *name && value && *value)
39974170 {
40104183 void
40114184 lt_update_lib_path (const char *name, const char *value)
40124185 {
4013 LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4014 (name ? name : "<NULL>"),
4015 (value ? value : "<NULL>")));
4186 lt_debugprintf (__FILE__, __LINE__,
4187 "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4188 nonnull (name), nonnull (value));
40164189
40174190 if (name && *name && value && *value)
40184191 {
40224195 }
40234196 }
40244197
4025
4198 EOF
4199 case $host_os in
4200 mingw*)
4201 cat <<"EOF"
4202
4203 /* Prepares an argument vector before calling spawn().
4204 Note that spawn() does not by itself call the command interpreter
4205 (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
4206 ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
4207 GetVersionEx(&v);
4208 v.dwPlatformId == VER_PLATFORM_WIN32_NT;
4209 }) ? "cmd.exe" : "command.com").
4210 Instead it simply concatenates the arguments, separated by ' ', and calls
4211 CreateProcess(). We must quote the arguments since Win32 CreateProcess()
4212 interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
4213 special way:
4214 - Space and tab are interpreted as delimiters. They are not treated as
4215 delimiters if they are surrounded by double quotes: "...".
4216 - Unescaped double quotes are removed from the input. Their only effect is
4217 that within double quotes, space and tab are treated like normal
4218 characters.
4219 - Backslashes not followed by double quotes are not special.
4220 - But 2*n+1 backslashes followed by a double quote become
4221 n backslashes followed by a double quote (n >= 0):
4222 \" -> "
4223 \\\" -> \"
4224 \\\\\" -> \\"
4225 */
4226 #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
4227 #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
4228 char **
4229 prepare_spawn (char **argv)
4230 {
4231 size_t argc;
4232 char **new_argv;
4233 size_t i;
4234
4235 /* Count number of arguments. */
4236 for (argc = 0; argv[argc] != NULL; argc++)
4237 ;
4238
4239 /* Allocate new argument vector. */
4240 new_argv = XMALLOC (char *, argc + 1);
4241
4242 /* Put quoted arguments into the new argument vector. */
4243 for (i = 0; i < argc; i++)
4244 {
4245 const char *string = argv[i];
4246
4247 if (string[0] == '\0')
4248 new_argv[i] = xstrdup ("\"\"");
4249 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
4250 {
4251 int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
4252 size_t length;
4253 unsigned int backslashes;
4254 const char *s;
4255 char *quoted_string;
4256 char *p;
4257
4258 length = 0;
4259 backslashes = 0;
4260 if (quote_around)
4261 length++;
4262 for (s = string; *s != '\0'; s++)
4263 {
4264 char c = *s;
4265 if (c == '"')
4266 length += backslashes + 1;
4267 length++;
4268 if (c == '\\')
4269 backslashes++;
4270 else
4271 backslashes = 0;
4272 }
4273 if (quote_around)
4274 length += backslashes + 1;
4275
4276 quoted_string = XMALLOC (char, length + 1);
4277
4278 p = quoted_string;
4279 backslashes = 0;
4280 if (quote_around)
4281 *p++ = '"';
4282 for (s = string; *s != '\0'; s++)
4283 {
4284 char c = *s;
4285 if (c == '"')
4286 {
4287 unsigned int j;
4288 for (j = backslashes + 1; j > 0; j--)
4289 *p++ = '\\';
4290 }
4291 *p++ = c;
4292 if (c == '\\')
4293 backslashes++;
4294 else
4295 backslashes = 0;
4296 }
4297 if (quote_around)
4298 {
4299 unsigned int j;
4300 for (j = backslashes; j > 0; j--)
4301 *p++ = '\\';
4302 *p++ = '"';
4303 }
4304 *p = '\0';
4305
4306 new_argv[i] = quoted_string;
4307 }
4308 else
4309 new_argv[i] = (char *) string;
4310 }
4311 new_argv[argc] = NULL;
4312
4313 return new_argv;
4314 }
4315 EOF
4316 ;;
4317 esac
4318
4319 cat <<"EOF"
4320 void lt_dump_script (FILE* f)
4321 {
4322 EOF
4323 func_emit_wrapper yes |
4324 $SED -e 's/\([\\"]\)/\\\1/g' \
4325 -e 's/^/ fputs ("/' -e 's/$/\\n", f);/'
4326
4327 cat <<"EOF"
4328 }
40264329 EOF
40274330 }
40284331 # end: func_emit_cwrapperexe_src
4332
4333 # func_win32_import_lib_p ARG
4334 # True if ARG is an import lib, as indicated by $file_magic_cmd
4335 func_win32_import_lib_p ()
4336 {
4337 $opt_debug
4338 case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
4339 *import*) : ;;
4340 *) false ;;
4341 esac
4342 }
40294343
40304344 # func_mode_link arg...
40314345 func_mode_link ()
40714385 new_inherited_linker_flags=
40724386
40734387 avoid_version=no
4388 bindir=
40744389 dlfiles=
40754390 dlprefiles=
40764391 dlself=no
41634478 esac
41644479
41654480 case $prev in
4481 bindir)
4482 bindir="$arg"
4483 prev=
4484 continue
4485 ;;
41664486 dlfiles|dlprefiles)
41674487 if test "$preload" = no; then
41684488 # Add the symbol object into the linking commands.
44244744 continue
44254745 ;;
44264746
4747 -bindir)
4748 prev=bindir
4749 continue
4750 ;;
4751
44274752 -dlopen)
44284753 prev=dlfiles
44294754 continue
45024827 esac
45034828 case $host in
45044829 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
4505 testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
4830 testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
45064831 case :$dllsearchpath: in
45074832 *":$dir:"*) ;;
45084833 ::) dllsearchpath=$dir;;
45214846 -l*)
45224847 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
45234848 case $host in
4524 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
4849 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
45254850 # These systems don't actually have a C or math library (as such)
45264851 continue
45274852 ;;
47075032 for flag in $args; do
47085033 IFS="$save_ifs"
47095034 func_quote_for_eval "$flag"
4710 arg="$arg $wl$func_quote_for_eval_result"
5035 arg="$arg $func_quote_for_eval_result"
47115036 compiler_flags="$compiler_flags $func_quote_for_eval_result"
47125037 done
47135038 IFS="$save_ifs"
47535078 arg="$func_quote_for_eval_result"
47545079 ;;
47555080
4756 # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
4757 # -r[0-9][0-9]* specifies the processor on the SGI compiler
4758 # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
4759 # +DA*, +DD* enable 64-bit mode on the HP compiler
4760 # -q* pass through compiler args for the IBM compiler
4761 # -m*, -t[45]*, -txscale* pass through architecture-specific
4762 # compiler args for GCC
4763 # -F/path gives path to uninstalled frameworks, gcc on darwin
4764 # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
4765 # @file GCC response files
5081 # Flags to be passed through unchanged, with rationale:
5082 # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
5083 # -r[0-9][0-9]* specify processor for the SGI compiler
5084 # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
5085 # +DA*, +DD* enable 64-bit mode for the HP compiler
5086 # -q* compiler args for the IBM compiler
5087 # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
5088 # -F/path path to uninstalled frameworks, gcc on darwin
5089 # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
5090 # @file GCC response files
5091 # -tp=* Portland pgcc target processor selection
47665092 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
4767 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
5093 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
47685094 func_quote_for_eval "$arg"
47695095 arg="$func_quote_for_eval_result"
47705096 func_append compile_command " $arg"
49245250
49255251 if test -n "$shlibpath_var"; then
49265252 # get the directories listed in $shlibpath_var
4927 eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
5253 eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
49285254 else
49295255 shlib_search_path=
49305256 fi
50475373 # Collect preopened libtool deplibs, except any this library
50485374 # has declared as weak libs
50495375 for deplib in $dependency_libs; do
5050 deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
5376 func_basename "$deplib"
5377 deplib_base=$func_basename_result
50515378 case " $weak_libs " in
50525379 *" $deplib_base "*) ;;
50535380 *) deplibs="$deplibs $deplib" ;;
52265553 match_pattern*)
52275554 set dummy $deplibs_check_method; shift
52285555 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
5229 if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
5556 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
52305557 | $EGREP "$match_pattern_regex" > /dev/null; then
52315558 valid_a_lib=yes
52325559 fi
52365563 ;;
52375564 esac
52385565 if test "$valid_a_lib" != yes; then
5239 $ECHO
5566 echo
52405567 $ECHO "*** Warning: Trying to link with static lib archive $deplib."
5241 $ECHO "*** I have the capability to make that library automatically link in when"
5242 $ECHO "*** you link to this library. But I can only do this if you have a"
5243 $ECHO "*** shared version of the library, which you do not appear to have"
5244 $ECHO "*** because the file extensions .$libext of this argument makes me believe"
5245 $ECHO "*** that it is just a static archive that I should not use here."
5568 echo "*** I have the capability to make that library automatically link in when"
5569 echo "*** you link to this library. But I can only do this if you have a"
5570 echo "*** shared version of the library, which you do not appear to have"
5571 echo "*** because the file extensions .$libext of this argument makes me believe"
5572 echo "*** that it is just a static archive that I should not use here."
52465573 else
5247 $ECHO
5574 echo
52485575 $ECHO "*** Warning: Linking the shared library $output against the"
52495576 $ECHO "*** static library $deplib is not portable!"
52505577 deplibs="$deplib $deplibs"
53175644
53185645 # Convert "-framework foo" to "foo.ltframework"
53195646 if test -n "$inherited_linker_flags"; then
5320 tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
5647 tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
53215648 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
53225649 case " $new_inherited_linker_flags " in
53235650 *" $tmp_inherited_linker_flag "*) ;;
53255652 esac
53265653 done
53275654 fi
5328 dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
5655 dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
53295656 if test "$linkmode,$pass" = "lib,link" ||
53305657 test "$linkmode,$pass" = "prog,scan" ||
53315658 { test "$linkmode" != prog && test "$linkmode" != lib; }; then
55795906 fi
55805907 done
55815908 if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
5582 $ECHO
5909 echo
55835910 if test "$linkmode" = prog; then
55845911 $ECHO "*** Warning: Linking the executable $output against the loadable module"
55855912 else
56826009 if test "X$dlopenmodule" != "X$lib"; then
56836010 $ECHO "*** Warning: lib $linklib is a module, not a shared library"
56846011 if test -z "$old_library" ; then
5685 $ECHO
5686 $ECHO "*** And there doesn't seem to be a static archive available"
5687 $ECHO "*** The link will probably fail, sorry"
6012 echo
6013 echo "*** And there doesn't seem to be a static archive available"
6014 echo "*** The link will probably fail, sorry"
56886015 else
56896016 add="$dir/$old_library"
56906017 fi
58246151
58256152 # Just print a warning and add the library to dependency_libs so
58266153 # that the program can be linked against the static library.
5827 $ECHO
6154 echo
58286155 $ECHO "*** Warning: This system can not link to static lib archive $lib."
5829 $ECHO "*** I have the capability to make that library automatically link in when"
5830 $ECHO "*** you link to this library. But I can only do this if you have a"
5831 $ECHO "*** shared version of the library, which you do not appear to have."
6156 echo "*** I have the capability to make that library automatically link in when"
6157 echo "*** you link to this library. But I can only do this if you have a"
6158 echo "*** shared version of the library, which you do not appear to have."
58326159 if test "$module" = yes; then
5833 $ECHO "*** But as you try to build a module library, libtool will still create "
5834 $ECHO "*** a static module, that should work as long as the dlopening application"
5835 $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
6160 echo "*** But as you try to build a module library, libtool will still create "
6161 echo "*** a static module, that should work as long as the dlopening application"
6162 echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
58366163 if test -z "$global_symbol_pipe"; then
5837 $ECHO
5838 $ECHO "*** However, this would only work if libtool was able to extract symbol"
5839 $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
5840 $ECHO "*** not find such a program. So, this module is probably useless."
5841 $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
6164 echo
6165 echo "*** However, this would only work if libtool was able to extract symbol"
6166 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
6167 echo "*** not find such a program. So, this module is probably useless."
6168 echo "*** \`nm' from GNU binutils and a full rebuild may help."
58426169 fi
58436170 if test "$build_old_libs" = no; then
58446171 build_libtool_libs=module
58926219 if test "$link_all_deplibs" != no; then
58936220 # Add the search paths of all dependency libraries
58946221 for deplib in $dependency_libs; do
6222 path=
58956223 case $deplib in
58966224 -L*) path="$deplib" ;;
58976225 *.la)
59576285 compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
59586286 finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
59596287 else
5960 compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6288 compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
59616289 fi
59626290 fi
59636291 dependency_libs="$newdependency_libs"
61256453 if test "$deplibs_check_method" != pass_all; then
61266454 func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
61276455 else
6128 $ECHO
6456 echo
61296457 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
61306458 $ECHO "*** objects $objs is not portable!"
61316459 libobjs="$libobjs $objs"
61936521 age="$number_minor"
61946522 revision="$number_revision"
61956523 ;;
6196 freebsd-aout|freebsd-elf|sunos)
6524 freebsd-aout|freebsd-elf|qnx|sunos)
61976525 current="$number_major"
61986526 revision="$number_minor"
61996527 age="0"
64276755 oldlibs="$oldlibs $output_objdir/$libname.$libext"
64286756
64296757 # Transform .lo files to .o files.
6430 oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
6758 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
64316759 fi
64326760
64336761 # Eliminate all temporary directories.
64346762 #for path in $notinst_path; do
6435 # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
6436 # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
6437 # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
6763 # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
6764 # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
6765 # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
64386766 #done
64396767
64406768 if test -n "$xrpath"; then
64756803 if test "$build_libtool_libs" = yes; then
64766804 if test -n "$rpath"; then
64776805 case $host in
6478 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
6806 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
64796807 # these systems don't actually have a c library (as such)!
64806808 ;;
64816809 *-*-rhapsody* | *-*-darwin1.[012])
65606888 newdeplibs="$newdeplibs $i"
65616889 else
65626890 droppeddeps=yes
6563 $ECHO
6891 echo
65646892 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
6565 $ECHO "*** I have the capability to make that library automatically link in when"
6566 $ECHO "*** you link to this library. But I can only do this if you have a"
6567 $ECHO "*** shared version of the library, which I believe you do not have"
6568 $ECHO "*** because a test_compile did reveal that the linker did not use it for"
6569 $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
6893 echo "*** I have the capability to make that library automatically link in when"
6894 echo "*** you link to this library. But I can only do this if you have a"
6895 echo "*** shared version of the library, which I believe you do not have"
6896 echo "*** because a test_compile did reveal that the linker did not use it for"
6897 echo "*** its dynamic dependency list that programs get resolved with at runtime."
65706898 fi
65716899 fi
65726900 ;;
66036931 newdeplibs="$newdeplibs $i"
66046932 else
66056933 droppeddeps=yes
6606 $ECHO
6934 echo
66076935 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
6608 $ECHO "*** I have the capability to make that library automatically link in when"
6609 $ECHO "*** you link to this library. But I can only do this if you have a"
6610 $ECHO "*** shared version of the library, which you do not appear to have"
6611 $ECHO "*** because a test_compile did reveal that the linker did not use this one"
6612 $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
6936 echo "*** I have the capability to make that library automatically link in when"
6937 echo "*** you link to this library. But I can only do this if you have a"
6938 echo "*** shared version of the library, which you do not appear to have"
6939 echo "*** because a test_compile did reveal that the linker did not use this one"
6940 echo "*** as a dynamic dependency that programs can get resolved with at runtime."
66136941 fi
66146942 fi
66156943 else
66166944 droppeddeps=yes
6617 $ECHO
6945 echo
66186946 $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
6619 $ECHO "*** make it link in! You will probably need to install it or some"
6620 $ECHO "*** library that it depends on before this library will be fully"
6621 $ECHO "*** functional. Installing it before continuing would be even better."
6947 echo "*** make it link in! You will probably need to install it or some"
6948 echo "*** library that it depends on before this library will be fully"
6949 echo "*** functional. Installing it before continuing would be even better."
66226950 fi
66236951 ;;
66246952 *)
66646992 potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
66656993 case $potliblink in
66666994 [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
6667 *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
6995 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
66686996 esac
66696997 done
66706998 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
66797007 fi
66807008 if test -n "$a_deplib" ; then
66817009 droppeddeps=yes
6682 $ECHO
7010 echo
66837011 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6684 $ECHO "*** I have the capability to make that library automatically link in when"
6685 $ECHO "*** you link to this library. But I can only do this if you have a"
6686 $ECHO "*** shared version of the library, which you do not appear to have"
6687 $ECHO "*** because I did check the linker path looking for a file starting"
7012 echo "*** I have the capability to make that library automatically link in when"
7013 echo "*** you link to this library. But I can only do this if you have a"
7014 echo "*** shared version of the library, which you do not appear to have"
7015 echo "*** because I did check the linker path looking for a file starting"
66887016 if test -z "$potlib" ; then
66897017 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
66907018 else
67227050 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
67237051 for potent_lib in $potential_libs; do
67247052 potlib="$potent_lib" # see symlink-check above in file_magic test
6725 if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
7053 if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
67267054 $EGREP "$match_pattern_regex" > /dev/null; then
67277055 newdeplibs="$newdeplibs $a_deplib"
67287056 a_deplib=""
67337061 fi
67347062 if test -n "$a_deplib" ; then
67357063 droppeddeps=yes
6736 $ECHO
7064 echo
67377065 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6738 $ECHO "*** I have the capability to make that library automatically link in when"
6739 $ECHO "*** you link to this library. But I can only do this if you have a"
6740 $ECHO "*** shared version of the library, which you do not appear to have"
6741 $ECHO "*** because I did check the linker path looking for a file starting"
7066 echo "*** I have the capability to make that library automatically link in when"
7067 echo "*** you link to this library. But I can only do this if you have a"
7068 echo "*** shared version of the library, which you do not appear to have"
7069 echo "*** because I did check the linker path looking for a file starting"
67427070 if test -z "$potlib" ; then
67437071 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
67447072 else
67567084 ;;
67577085 none | unknown | *)
67587086 newdeplibs=""
6759 tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
6760 -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
7087 tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
67617088 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
67627089 for i in $predeps $postdeps ; do
67637090 # can't use Xsed below, because $i might contain '/'
6764 tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
7091 tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
67657092 done
67667093 fi
6767 if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
6768 $GREP . >/dev/null; then
6769 $ECHO
7094 case $tmp_deplibs in
7095 *[!\ \ ]*)
7096 echo
67707097 if test "X$deplibs_check_method" = "Xnone"; then
6771 $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
7098 echo "*** Warning: inter-library dependencies are not supported in this platform."
67727099 else
6773 $ECHO "*** Warning: inter-library dependencies are not known to be supported."
7100 echo "*** Warning: inter-library dependencies are not known to be supported."
67747101 fi
6775 $ECHO "*** All declared inter-library dependencies are being dropped."
7102 echo "*** All declared inter-library dependencies are being dropped."
67767103 droppeddeps=yes
6777 fi
7104 ;;
7105 esac
67787106 ;;
67797107 esac
67807108 versuffix=$versuffix_save
67867114 case $host in
67877115 *-*-rhapsody* | *-*-darwin1.[012])
67887116 # On Rhapsody replace the C library with the System framework
6789 newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7117 newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
67907118 ;;
67917119 esac
67927120
67937121 if test "$droppeddeps" = yes; then
67947122 if test "$module" = yes; then
6795 $ECHO
6796 $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
7123 echo
7124 echo "*** Warning: libtool could not satisfy all declared inter-library"
67977125 $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
6798 $ECHO "*** a static module, that should work as long as the dlopening"
6799 $ECHO "*** application is linked with the -dlopen flag."
7126 echo "*** a static module, that should work as long as the dlopening"
7127 echo "*** application is linked with the -dlopen flag."
68007128 if test -z "$global_symbol_pipe"; then
6801 $ECHO
6802 $ECHO "*** However, this would only work if libtool was able to extract symbol"
6803 $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
6804 $ECHO "*** not find such a program. So, this module is probably useless."
6805 $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
7129 echo
7130 echo "*** However, this would only work if libtool was able to extract symbol"
7131 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
7132 echo "*** not find such a program. So, this module is probably useless."
7133 echo "*** \`nm' from GNU binutils and a full rebuild may help."
68067134 fi
68077135 if test "$build_old_libs" = no; then
68087136 oldlibs="$output_objdir/$libname.$libext"
68127140 build_libtool_libs=no
68137141 fi
68147142 else
6815 $ECHO "*** The inter-library dependencies that have been dropped here will be"
6816 $ECHO "*** automatically added whenever a program is linked with this library"
6817 $ECHO "*** or is declared to -dlopen it."
7143 echo "*** The inter-library dependencies that have been dropped here will be"
7144 echo "*** automatically added whenever a program is linked with this library"
7145 echo "*** or is declared to -dlopen it."
68187146
68197147 if test "$allow_undefined" = no; then
6820 $ECHO
6821 $ECHO "*** Since this library must not contain undefined symbols,"
6822 $ECHO "*** because either the platform does not support them or"
6823 $ECHO "*** it was explicitly requested with -no-undefined,"
6824 $ECHO "*** libtool will only create a static version of it."
7148 echo
7149 echo "*** Since this library must not contain undefined symbols,"
7150 echo "*** because either the platform does not support them or"
7151 echo "*** it was explicitly requested with -no-undefined,"
7152 echo "*** libtool will only create a static version of it."
68257153 if test "$build_old_libs" = no; then
68267154 oldlibs="$output_objdir/$libname.$libext"
68277155 build_libtool_libs=module
68387166 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
68397167 case $host in
68407168 *-*-darwin*)
6841 newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6842 new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6843 deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7169 newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7170 new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7171 deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
68447172 ;;
68457173 esac
68467174
69627290 done
69637291
69647292 # Use standard objects if they are pic
6965 test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7293 test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
69667294 test "X$libobjs" = "X " && libobjs=
69677295
69687296 delfiles=
70287356 if test -n "$export_symbols" && test -n "$include_expsyms"; then
70297357 tmp_export_symbols="$export_symbols"
70307358 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
7031 $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
7359 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
70327360 fi
70337361
70347362 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
71297457 save_libobjs=$libobjs
71307458 fi
71317459 save_output=$output
7132 output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
7460 func_basename "$output"
7461 output_la=$func_basename_result
71337462
71347463 # Clear the reloadable object creation command queue and
71357464 # initialize k to one.
71427471 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
71437472 output=${output_objdir}/${output_la}.lnkscript
71447473 func_verbose "creating GNU ld script: $output"
7145 $ECHO 'INPUT (' > $output
7474 echo 'INPUT (' > $output
71467475 for obj in $save_libobjs
71477476 do
71487477 $ECHO "$obj" >> $output
71497478 done
7150 $ECHO ')' >> $output
7479 echo ')' >> $output
71517480 delfiles="$delfiles $output"
71527481 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
71537482 output=${output_objdir}/${output_la}.lnk
71897518 # command to the queue.
71907519 if test "$k" -eq 1 ; then
71917520 # The first file doesn't have a previous command to add.
7192 eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
7521 reload_objs=$objlist
7522 eval concat_cmds=\"$reload_cmds\"
71937523 else
71947524 # All subsequent reloadable object files will link in
71957525 # the last one created.
7196 eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
7526 reload_objs="$objlist $last_robj"
7527 eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
71977528 fi
71987529 last_robj=$output_objdir/$output_la-${k}.$objext
71997530 func_arith $k + 1
72007531 k=$func_arith_result
72017532 output=$output_objdir/$output_la-${k}.$objext
7202 objlist=$obj
7533 objlist=" $obj"
72037534 func_len " $last_robj"
72047535 func_arith $len0 + $func_len_result
72057536 len=$func_arith_result
72097540 # reloadable object file. All subsequent reloadable object
72107541 # files will link in the last one created.
72117542 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
7212 eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
7543 reload_objs="$objlist $last_robj"
7544 eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
72137545 if test -n "$last_robj"; then
72147546 eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
72157547 fi
72687600 if test -n "$export_symbols" && test -n "$include_expsyms"; then
72697601 tmp_export_symbols="$export_symbols"
72707602 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
7271 $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
7603 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
72727604 fi
72737605
72747606 if test -n "$orig_export_symbols"; then
74337765 if test -n "$convenience"; then
74347766 if test -n "$whole_archive_flag_spec"; then
74357767 eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
7436 reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
7768 reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
74377769 else
74387770 gentop="$output_objdir/${obj}x"
74397771 generated="$generated $gentop"
74447776 fi
74457777
74467778 # Create the old-style object.
7447 reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
7779 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
74487780
74497781 output="$obj"
74507782 func_execute_cmds "$reload_cmds" 'exit $?'
75047836 case $host in
75057837 *-*-rhapsody* | *-*-darwin1.[012])
75067838 # On Rhapsody replace the C library is the System framework
7507 compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7508 finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7839 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
7840 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
75097841 ;;
75107842 esac
75117843
75227854 esac
75237855 fi
75247856 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
7525 compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7526 finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7857 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7858 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
75277859 ;;
75287860 esac
75297861
76607992
76617993 if test -n "$libobjs" && test "$build_old_libs" = yes; then
76627994 # Transform all the library objects into standard objects.
7663 compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7664 finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7995 compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
7996 finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
76657997 fi
76667998
76677999 func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
76738005
76748006 wrappers_required=yes
76758007 case $host in
8008 *cegcc* | *mingw32ce*)
8009 # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
8010 wrappers_required=no
8011 ;;
76768012 *cygwin* | *mingw* )
76778013 if test "$build_libtool_libs" != yes; then
76788014 wrappers_required=no
76798015 fi
7680 ;;
7681 *cegcc)
7682 # Disable wrappers for cegcc, we are cross compiling anyway.
7683 wrappers_required=no
76848016 ;;
76858017 *)
76868018 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
76908022 esac
76918023 if test "$wrappers_required" = no; then
76928024 # Replace the output file specification.
7693 compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8025 compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
76948026 link_command="$compile_command$compile_rpath"
76958027
76968028 # We have no uninstalled library dependencies, so finalize right now.
77378069 # We don't need to create a wrapper script.
77388070 link_command="$compile_var$compile_command$compile_rpath"
77398071 # Replace the output file specification.
7740 link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8072 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
77418073 # Delete the old output file.
77428074 $opt_dry_run || $RM $output
77438075 # Link the executable and exit
77568088 if test "$fast_install" != no; then
77578089 link_command="$finalize_var$compile_command$finalize_rpath"
77588090 if test "$fast_install" = yes; then
7759 relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
8091 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
77608092 else
77618093 # fast_install is set to needless
77628094 relink_command=
77688100 fi
77698101
77708102 # Replace the output file specification.
7771 link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
8103 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
77728104
77738105 # Delete the old output files.
77748106 $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
77928124 fi
77938125 done
77948126 relink_command="(cd `pwd`; $relink_command)"
7795 relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
7796 fi
7797
7798 # Quote $ECHO for shipping.
7799 if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
7800 case $progpath in
7801 [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
7802 *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
7803 esac
7804 qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
7805 else
7806 qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
8127 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
78078128 fi
78088129
78098130 # Only actually do things if not in dry run mode.
79248245 done | sort | sort -uc >/dev/null 2>&1); then
79258246 :
79268247 else
7927 $ECHO "copying selected object files to avoid basename conflicts..."
8248 echo "copying selected object files to avoid basename conflicts..."
79288249 gentop="$output_objdir/${outputname}x"
79298250 generated="$generated $gentop"
79308251 func_mkdir_p "$gentop"
80358356 done
80368357 # Quote the link command for shipping.
80378358 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
8038 relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
8359 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
80398360 if test "$hardcode_automatic" = yes ; then
80408361 relink_command=
80418362 fi
81208441 fi
81218442 $RM $output
81228443 # place dlname in correct position for cygwin
8444 # In fact, it would be nice if we could use this code for all target
8445 # systems that can't hard-code library paths into their executables
8446 # and that have no shared library path variable independent of PATH,
8447 # but it turns out we can't easily determine that from inspecting
8448 # libtool variables, so we have to hard-code the OSs to which it
8449 # applies here; at the moment, that means platforms that use the PE
8450 # object format with DLL files. See the long comment at the top of
8451 # tests/bindir.at for full details.
81238452 tdlname=$dlname
81248453 case $host,$output,$installed,$module,$dlname in
8125 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
8454 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
8455 # If a -bindir argument was supplied, place the dll there.
8456 if test "x$bindir" != x ;
8457 then
8458 func_relative_path "$install_libdir" "$bindir"
8459 tdlname=$func_relative_path_result$dlname
8460 else
8461 # Otherwise fall back on heuristic.
8462 tdlname=../bin/$dlname
8463 fi
8464 ;;
81268465 esac
81278466 $ECHO > $output "\
81288467 # $outputname - a libtool library file
249249 libexecdir = @libexecdir@
250250 localedir = @localedir@
251251 localstatedir = @localstatedir@
252 lt_ECHO = @lt_ECHO@
253252 mandir = @mandir@
254253 mkdir_p = @mkdir_p@
255254 oldincludedir = @oldincludedir@
00 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
11 #
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
3 # 2006, 2007, 2008 Free Software Foundation, Inc.
3 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
4 # Inc.
45 # Written by Gordon Matzigkeit, 1996
56 #
67 # This file is free software; the Free Software Foundation gives
910
1011 m4_define([_LT_COPYING], [dnl
1112 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12 # 2006, 2007, 2008 Free Software Foundation, Inc.
13 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14 # Inc.
1315 # Written by Gordon Matzigkeit, 1996
1416 #
1517 # This file is part of GNU Libtool.
3638 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3739 ])
3840
39 # serial 56 LT_INIT
41 # serial 57 LT_INIT
4042
4143
4244 # LT_PREREQ(VERSION)
6567 # ------------------
6668 AC_DEFUN([LT_INIT],
6769 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
70 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
6871 AC_BEFORE([$0], [LT_LANG])dnl
6972 AC_BEFORE([$0], [LT_OUTPUT])dnl
7073 AC_BEFORE([$0], [LTDL_INIT])dnl
8083 AC_REQUIRE([LTVERSION_VERSION])dnl
8184 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
8285 m4_require([_LT_PROG_LTMAIN])dnl
86
87 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
8388
8489 dnl Parse OPTIONS
8590 _LT_SET_OPTIONS([$0], [$1])
117122 *) break;;
118123 esac
119124 done
120 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
125 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
121126 ])
122127
123128
137142 m4_defun([_LT_SETUP],
138143 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
139144 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
145 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
146 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
147
140148 _LT_DECL([], [host_alias], [0], [The host system])dnl
141149 _LT_DECL([], [host], [0])dnl
142150 _LT_DECL([], [host_os], [0])dnl
178186 _LT_CHECK_OBJDIR
179187
180188 m4_require([_LT_TAG_COMPILER])dnl
181 _LT_PROG_ECHO_BACKSLASH
182189
183190 case $host_os in
184191 aix3*)
192199 ;;
193200 esac
194201
195 # Sed substitution that helps us do robust quoting. It backslashifies
196 # metacharacters that are still active within double-quoted strings.
197 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
198
199 # Same as above, but do not quote variable references.
200 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
201
202 # Sed substitution to delay expansion of an escaped shell variable in a
203 # double_quote_subst'ed string.
204 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
205
206 # Sed substitution to delay expansion of an escaped single quote.
207 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
208
209 # Sed substitution to avoid accidental globbing in evaled expressions
210 no_glob_subst='s/\*/\\\*/g'
211
212202 # Global variables:
213203 ofile=libtool
214204 can_build_shared=yes
248238 _LT_CONFIG_COMMANDS
249239 ])# _LT_SETUP
250240
241
242 # _LT_PREPARE_SED_QUOTE_VARS
243 # --------------------------
244 # Define a few sed substitution that help us do robust quoting.
245 m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
246 [# Backslashify metacharacters that are still active within
247 # double-quoted strings.
248 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
249
250 # Same as above, but do not quote variable references.
251 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
252
253 # Sed substitution to delay expansion of an escaped shell variable in a
254 # double_quote_subst'ed string.
255 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
256
257 # Sed substitution to delay expansion of an escaped single quote.
258 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
259
260 # Sed substitution to avoid accidental globbing in evaled expressions
261 no_glob_subst='s/\*/\\\*/g'
262 ])
251263
252264 # _LT_PROG_LTMAIN
253265 # ---------------
407419 # declaration there will have the same value as in `configure'. VARNAME
408420 # must have a single quote delimited value for this to work.
409421 m4_define([_LT_CONFIG_STATUS_DECLARE],
410 [$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
422 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
411423
412424
413425 # _LT_CONFIG_STATUS_DECLARATIONS
417429 # embedded single quotes properly. In configure, this macro expands
418430 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
419431 #
420 # <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
432 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
421433 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
422434 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
423435 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
516528 LTCFLAGS='$LTCFLAGS'
517529 compiler='$compiler_DEFAULT'
518530
531 # A function that is used when there is no print builtin or printf.
532 func_fallback_echo ()
533 {
534 eval 'cat <<_LTECHO_EOF
535 \$[]1
536 _LTECHO_EOF'
537 }
538
519539 # Quote evaled strings.
520540 for var in lt_decl_all_varnames([[ \
521541 ]], lt_decl_quote_varnames); do
522 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
542 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
523543 *[[\\\\\\\`\\"\\\$]]*)
524 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
544 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
525545 ;;
526546 *)
527547 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
532552 # Double-quote double-evaled strings.
533553 for var in lt_decl_all_varnames([[ \
534554 ]], lt_decl_dquote_varnames); do
535 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
555 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
536556 *[[\\\\\\\`\\"\\\$]]*)
537 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
557 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
538558 ;;
539559 *)
540560 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
542562 esac
543563 done
544564
545 # Fix-up fallback echo if it was mangled by the above quoting rules.
546 case \$lt_ECHO in
547 *'\\\[$]0 --fallback-echo"')dnl "
548 lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
549 ;;
550 esac
551
552565 _LT_OUTPUT_LIBTOOL_INIT
553566 ])
554567
568 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
569 # ------------------------------------
570 # Generate a child script FILE with all initialization necessary to
571 # reuse the environment learned by the parent script, and make the
572 # file executable. If COMMENT is supplied, it is inserted after the
573 # `#!' sequence but before initialization text begins. After this
574 # macro, additional text can be appended to FILE to form the body of
575 # the child script. The macro ends with non-zero status if the
576 # file could not be fully written (such as if the disk is full).
577 m4_ifdef([AS_INIT_GENERATED],
578 [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
579 [m4_defun([_LT_GENERATED_FILE_INIT],
580 [m4_require([AS_PREPARE])]dnl
581 [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
582 [lt_write_fail=0
583 cat >$1 <<_ASEOF || lt_write_fail=1
584 #! $SHELL
585 # Generated by $as_me.
586 $2
587 SHELL=\${CONFIG_SHELL-$SHELL}
588 export SHELL
589 _ASEOF
590 cat >>$1 <<\_ASEOF || lt_write_fail=1
591 AS_SHELL_SANITIZE
592 _AS_PREPARE
593 exec AS_MESSAGE_FD>&1
594 _ASEOF
595 test $lt_write_fail = 0 && chmod +x $1[]dnl
596 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
555597
556598 # LT_OUTPUT
557599 # ---------
561603 AC_DEFUN([LT_OUTPUT],
562604 [: ${CONFIG_LT=./config.lt}
563605 AC_MSG_NOTICE([creating $CONFIG_LT])
564 cat >"$CONFIG_LT" <<_LTEOF
565 #! $SHELL
566 # Generated by $as_me.
567 # Run this file to recreate a libtool stub with the current configuration.
568
606 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
607 [# Run this file to recreate a libtool stub with the current configuration.])
608
609 cat >>"$CONFIG_LT" <<\_LTEOF
569610 lt_cl_silent=false
570 SHELL=\${CONFIG_SHELL-$SHELL}
571 _LTEOF
572
573 cat >>"$CONFIG_LT" <<\_LTEOF
574 AS_SHELL_SANITIZE
575 _AS_PREPARE
576
577 exec AS_MESSAGE_FD>&1
578611 exec AS_MESSAGE_LOG_FD>>config.log
579612 {
580613 echo
600633 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
601634 configured by $[0], generated by m4_PACKAGE_STRING.
602635
603 Copyright (C) 2008 Free Software Foundation, Inc.
636 Copyright (C) 2010 Free Software Foundation, Inc.
604637 This config.lt script is free software; the Free Software Foundation
605638 gives unlimited permision to copy, distribute and modify it."
606639
645678 # appending to config.log, which fails on DOS, as config.log is still kept
646679 # open by configure. Here we exec the FD to /dev/null, effectively closing
647680 # config.log, so it can be properly (re)opened and appended to by config.lt.
648 if test "$no_create" != yes; then
649 lt_cl_success=:
650 test "$silent" = yes &&
651 lt_config_lt_args="$lt_config_lt_args --quiet"
652 exec AS_MESSAGE_LOG_FD>/dev/null
653 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
654 exec AS_MESSAGE_LOG_FD>>config.log
655 $lt_cl_success || AS_EXIT(1)
656 fi
681 lt_cl_success=:
682 test "$silent" = yes &&
683 lt_config_lt_args="$lt_config_lt_args --quiet"
684 exec AS_MESSAGE_LOG_FD>/dev/null
685 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
686 exec AS_MESSAGE_LOG_FD>>config.log
687 $lt_cl_success || AS_EXIT(1)
657688 ])# LT_OUTPUT
658689
659690
830861 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
831862 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
832863 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
864 AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
833865 dnl aclocal-1.4 backwards compatibility:
834866 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
835867 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
836868 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
837869 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
870 dnl AC_DEFUN([AC_LIBTOOL_RC], [])
838871
839872
840873 # _LT_TAG_COMPILER
939972 [lt_cv_ld_exported_symbols_list=no])
940973 LDFLAGS="$save_LDFLAGS"
941974 ])
975 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
976 [lt_cv_ld_force_load=no
977 cat > conftest.c << _LT_EOF
978 int forced_loaded() { return 2;}
979 _LT_EOF
980 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
981 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
982 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
983 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
984 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
985 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
986 cat > conftest.c << _LT_EOF
987 int main() { return 0;}
988 _LT_EOF
989 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
990 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
991 _lt_result=$?
992 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
993 lt_cv_ld_force_load=yes
994 else
995 cat conftest.err >&AS_MESSAGE_LOG_FD
996 fi
997 rm -f conftest.err libconftest.a conftest conftest.c
998 rm -rf conftest.dSYM
999 ])
9421000 case $host_os in
9431001 rhapsody* | darwin1.[[012]])
9441002 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9661024 else
9671025 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9681026 fi
969 if test "$DSYMUTIL" != ":"; then
1027 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9701028 _lt_dsymutil='~$DSYMUTIL $lib || :'
9711029 else
9721030 _lt_dsymutil=
9861044 _LT_TAGVAR(hardcode_direct, $1)=no
9871045 _LT_TAGVAR(hardcode_automatic, $1)=yes
9881046 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
989 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1047 if test "$lt_cv_ld_force_load" = "yes"; then
1048 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1049 else
1050 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1051 fi
9901052 _LT_TAGVAR(link_all_deplibs, $1)=yes
9911053 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
9921054 case $cc_basename in
9941056 *) _lt_dar_can_shared=$GCC ;;
9951057 esac
9961058 if test "$_lt_dar_can_shared" = "yes"; then
997 output_verbose_link_cmd=echo
1059 output_verbose_link_cmd=func_echo_all
9981060 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9991061 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10001062 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10401102 # _LT_SHELL_INIT(ARG)
10411103 # -------------------
10421104 m4_define([_LT_SHELL_INIT],
1043 [ifdef([AC_DIVERSION_NOTICE],
1044 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1045 [AC_DIVERT_PUSH(NOTICE)])
1046 $1
1047 AC_DIVERT_POP
1048 ])# _LT_SHELL_INIT
1105 [m4_divert_text([M4SH-INIT], [$1
1106 ])])# _LT_SHELL_INIT
1107
10491108
10501109
10511110 # _LT_PROG_ECHO_BACKSLASH
10521111 # -----------------------
1053 # Add some code to the start of the generated configure script which
1054 # will find an echo command which doesn't interpret backslashes.
1112 # Find how we can fake an echo command that does not interpret backslash.
1113 # In particular, with Autoconf 2.60 or later we add some code to the start
1114 # of the generated configure script which will find a shell with a builtin
1115 # printf (which we can use as an echo command).
10551116 m4_defun([_LT_PROG_ECHO_BACKSLASH],
1056 [_LT_SHELL_INIT([
1057 # Check that we are running under the correct shell.
1058 SHELL=${CONFIG_SHELL-/bin/sh}
1059
1060 case X$lt_ECHO in
1061 X*--fallback-echo)
1062 # Remove one level of quotation (which was required for Make).
1063 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1064 ;;
1117 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1118 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1119 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1120
1121 AC_MSG_CHECKING([how to print strings])
1122 # Test print first, because it will be a builtin if present.
1123 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
1124 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1125 ECHO='print -r --'
1126 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1127 ECHO='printf %s\n'
1128 else
1129 # Use this function as a fallback that always works.
1130 func_fallback_echo ()
1131 {
1132 eval 'cat <<_LTECHO_EOF
1133 $[]1
1134 _LTECHO_EOF'
1135 }
1136 ECHO='func_fallback_echo'
1137 fi
1138
1139 # func_echo_all arg...
1140 # Invoke $ECHO with all args, space-separated.
1141 func_echo_all ()
1142 {
1143 $ECHO "$*"
1144 }
1145
1146 case "$ECHO" in
1147 printf*) AC_MSG_RESULT([printf]) ;;
1148 print*) AC_MSG_RESULT([print -r]) ;;
1149 *) AC_MSG_RESULT([cat]) ;;
10651150 esac
10661151
1067 ECHO=${lt_ECHO-echo}
1068 if test "X[$]1" = X--no-reexec; then
1069 # Discard the --no-reexec flag, and continue.
1070 shift
1071 elif test "X[$]1" = X--fallback-echo; then
1072 # Avoid inline document here, it may be left over
1073 :
1074 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1075 # Yippee, $ECHO works!
1076 :
1077 else
1078 # Restart under the correct shell.
1079 exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1080 fi
1081
1082 if test "X[$]1" = X--fallback-echo; then
1083 # used as fallback echo
1084 shift
1085 cat <<_LT_EOF
1086 [$]*
1087 _LT_EOF
1088 exit 0
1089 fi
1090
1091 # The HP-UX ksh and POSIX shell print the target directory to stdout
1092 # if CDPATH is set.
1093 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1094
1095 if test -z "$lt_ECHO"; then
1096 if test "X${echo_test_string+set}" != Xset; then
1097 # find a string as large as possible, as long as the shell can cope with it
1098 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1099 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1100 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1101 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1102 then
1103 break
1104 fi
1105 done
1106 fi
1107
1108 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1109 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1110 test "X$echo_testing_string" = "X$echo_test_string"; then
1111 :
1112 else
1113 # The Solaris, AIX, and Digital Unix default echo programs unquote
1114 # backslashes. This makes it impossible to quote backslashes using
1115 # echo "$something" | sed 's/\\/\\\\/g'
1116 #
1117 # So, first we look for a working echo in the user's PATH.
1118
1119 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1120 for dir in $PATH /usr/ucb; do
1121 IFS="$lt_save_ifs"
1122 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1123 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1124 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1125 test "X$echo_testing_string" = "X$echo_test_string"; then
1126 ECHO="$dir/echo"
1127 break
1128 fi
1129 done
1130 IFS="$lt_save_ifs"
1131
1132 if test "X$ECHO" = Xecho; then
1133 # We didn't find a better echo, so look for alternatives.
1134 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
1135 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
1136 test "X$echo_testing_string" = "X$echo_test_string"; then
1137 # This shell has a builtin print -r that does the trick.
1138 ECHO='print -r'
1139 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
1140 test "X$CONFIG_SHELL" != X/bin/ksh; then
1141 # If we have ksh, try running configure again with it.
1142 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1143 export ORIGINAL_CONFIG_SHELL
1144 CONFIG_SHELL=/bin/ksh
1145 export CONFIG_SHELL
1146 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1147 else
1148 # Try using printf.
1149 ECHO='printf %s\n'
1150 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1151 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1152 test "X$echo_testing_string" = "X$echo_test_string"; then
1153 # Cool, printf works
1154 :
1155 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1156 test "X$echo_testing_string" = 'X\t' &&
1157 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1158 test "X$echo_testing_string" = "X$echo_test_string"; then
1159 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1160 export CONFIG_SHELL
1161 SHELL="$CONFIG_SHELL"
1162 export SHELL
1163 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1164 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1165 test "X$echo_testing_string" = 'X\t' &&
1166 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1167 test "X$echo_testing_string" = "X$echo_test_string"; then
1168 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1169 else
1170 # maybe with a smaller string...
1171 prev=:
1172
1173 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1174 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1175 then
1176 break
1177 fi
1178 prev="$cmd"
1179 done
1180
1181 if test "$prev" != 'sed 50q "[$]0"'; then
1182 echo_test_string=`eval $prev`
1183 export echo_test_string
1184 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1185 else
1186 # Oops. We lost completely, so just stick with echo.
1187 ECHO=echo
1188 fi
1189 fi
1190 fi
1191 fi
1192 fi
1193 fi
1194
1195 # Copy echo and quote the copy suitably for passing to libtool from
1196 # the Makefile, instead of quoting the original, which is used later.
1197 lt_ECHO=$ECHO
1198 if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1199 lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1200 fi
1201
1202 AC_SUBST(lt_ECHO)
1203 ])
1152 m4_ifdef([_AS_DETECT_SUGGESTED],
1153 [_AS_DETECT_SUGGESTED([
1154 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1155 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1156 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1157 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1158 PATH=/empty FPATH=/empty; export PATH FPATH
1159 test "X`printf %s $ECHO`" = "X$ECHO" \
1160 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1161
12041162 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1205 _LT_DECL([], [ECHO], [1],
1206 [An echo program that does not interpret backslashes])
1163 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
12071164 ])# _LT_PROG_ECHO_BACKSLASH
12081165
12091166
12351192 ;;
12361193 *-*-irix6*)
12371194 # Find out which ABI we are using.
1238 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1195 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
12391196 if AC_TRY_EVAL(ac_compile); then
12401197 if test "$lt_cv_prog_gnu_ld" = yes; then
12411198 case `/usr/bin/file conftest.$ac_objext` in
13871344 esac
13881345 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
13891346 fi
1347
1348 case $host_os in
1349 darwin*)
1350 lock_old_archive_extraction=yes ;;
1351 *)
1352 lock_old_archive_extraction=no ;;
1353 esac
13901354 _LT_DECL([], [old_postinstall_cmds], [2])
13911355 _LT_DECL([], [old_postuninstall_cmds], [2])
13921356 _LT_TAGDECL([], [old_archive_cmds], [2],
13931357 [Commands used to build an old-style archive])
1358 _LT_DECL([], [lock_old_archive_extraction], [0],
1359 [Whether to use a lock for old archive extraction])
13941360 ])# _LT_CMD_OLD_ARCHIVE
13951361
13961362
14151381 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14161382 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
14171383 -e 's:$: $lt_compiler_flag:'`
1418 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1384 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
14191385 (eval "$lt_compile" 2>conftest.err)
14201386 ac_status=$?
14211387 cat conftest.err >&AS_MESSAGE_LOG_FD
1422 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1388 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
14231389 if (exit $ac_status) && test -s "$ac_outfile"; then
14241390 # The compiler can only warn and ignore the option if not recognized
14251391 # So say no if there are warnings other than the usual output.
1426 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1392 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14271393 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14281394 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14291395 $2=yes
14631429 if test -s conftest.err; then
14641430 # Append any errors to the config.log.
14651431 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1466 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1432 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14671433 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14681434 if diff conftest.exp conftest.er2 >/dev/null; then
14691435 $2=yes
15231489 # the test eventually succeeds (with a max line length of 256k).
15241490 # Instead, let's just punt: use the minimum linelength reported by
15251491 # all of the supported platforms: 8192 (on NT/2K/XP).
1492 lt_cv_sys_max_cmd_len=8192;
1493 ;;
1494
1495 mint*)
1496 # On MiNT this can take a long time and run out of memory.
15261497 lt_cv_sys_max_cmd_len=8192;
15271498 ;;
15281499
15901561 # If test is not a shell built-in, we'll probably end up computing a
15911562 # maximum length that is only half of the actual maximum length, but
15921563 # we can't tell.
1593 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
1594 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
1564 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
1565 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
15951566 test $i != 17 # 1/2 MB should be enough
15961567 do
15971568 i=`expr $i + 1`
16421613 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16431614 lt_status=$lt_dlunknown
16441615 cat > conftest.$ac_ext <<_LT_EOF
1645 [#line __oline__ "configure"
1616 [#line $LINENO "configure"
16461617 #include "confdefs.h"
16471618
16481619 #if HAVE_DLFCN_H
16831654 # endif
16841655 #endif
16851656
1686 void fnord() { int i=42;}
1657 /* When -fvisbility=hidden is used, assume the code has been annotated
1658 correspondingly for the symbols needed. */
1659 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1660 void fnord () __attribute__((visibility("default")));
1661 #endif
1662
1663 void fnord () { int i=42; }
16871664 int main ()
16881665 {
16891666 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16921669 if (self)
16931670 {
16941671 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1695 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1672 else
1673 {
1674 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1675 else puts (dlerror ());
1676 }
16961677 /* dlclose (self); */
16971678 }
16981679 else
18681849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18691850 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
18701851 -e 's:$: $lt_compiler_flag:'`
1871 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
18721853 (eval "$lt_compile" 2>out/conftest.err)
18731854 ac_status=$?
18741855 cat out/conftest.err >&AS_MESSAGE_LOG_FD
1875 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1856 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
18761857 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18771858 then
18781859 # The compiler can only warn and ignore the option if not recognized
18791860 # So say no if there are warnings
1880 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1861 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18811862 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18821863 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18831864 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
20362017 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
20372018 m4_require([_LT_DECL_OBJDUMP])dnl
20382019 m4_require([_LT_DECL_SED])dnl
2020 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
20392021 AC_MSG_CHECKING([dynamic linker characteristics])
20402022 m4_if([$1],
20412023 [], [
20442026 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
20452027 *) lt_awk_arg="/^libraries:/" ;;
20462028 esac
2047 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2048 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
2029 case $host_os in
2030 mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
2031 *) lt_sed_strip_eq="s,=/,/,g" ;;
2032 esac
2033 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
2034 case $lt_search_path_spec in
2035 *\;*)
20492036 # if the path contains ";" then we assume it to be the separator
20502037 # otherwise default to the standard path separator (i.e. ":") - it is
20512038 # assumed that no part of a normal pathname contains ";" but that should
20522039 # okay in the real world where ";" in dirpaths is itself problematic.
2053 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
2054 else
2055 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2056 fi
2040 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
2041 ;;
2042 *)
2043 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
2044 ;;
2045 esac
20572046 # Ok, now we have the path, separated by spaces, we can step through it
20582047 # and add multilib dir if necessary.
20592048 lt_tmp_lt_search_path_spec=
20662055 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
20672056 fi
20682057 done
2069 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
2058 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
20702059 BEGIN {RS=" "; FS="/|\n";} {
20712060 lt_foo="";
20722061 lt_count=0;
20862075 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
20872076 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
20882077 }'`
2089 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
2078 # AWK program above erroneously prepends '/' to C:/dos/paths
2079 # for these hosts.
2080 case $host_os in
2081 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
2082 $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
2083 esac
2084 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
20902085 else
20912086 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20922087 fi])
21742169 m68k)
21752170 library_names_spec='$libname.ixlibrary $libname.a'
21762171 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2177 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'
2172 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
21782173 ;;
21792174 esac
21802175 ;;
22272222 cygwin*)
22282223 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22292224 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2230 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2225 m4_if([$1], [],[
2226 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
22312227 ;;
22322228 mingw* | cegcc*)
22332229 # MinGW DLLs use traditional 'lib' prefix
22342230 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2235 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2236 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2237 # It is most probably a Windows format PATH printed by
2238 # mingw gcc, but we are running on Cygwin. Gcc prints its search
2239 # path with ; separators, and with drive letters. We can handle the
2240 # drive letters (cygwin fileutils understands them), so leave them,
2241 # especially as we might pass files found there to a mingw objdump,
2242 # which wouldn't understand a cygwinified path. Ahh.
2243 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2244 else
2245 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2246 fi
22472231 ;;
22482232 pw32*)
22492233 # pw32 DLLs use 'pw' prefix rather than 'lib'
23002284 *) objformat=elf ;;
23012285 esac
23022286 fi
2303 # Handle Gentoo/FreeBSD as it was Linux
2304 case $host_vendor in
2305 gentoo)
2306 version_type=linux ;;
2307 *)
2308 version_type=freebsd-$objformat ;;
2309 esac
2310
2287 version_type=freebsd-$objformat
23112288 case $version_type in
23122289 freebsd-elf*)
23132290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23172294 freebsd-*)
23182295 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23192296 need_version=yes
2320 ;;
2321 linux)
2322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2323 soname_spec='${libname}${release}${shared_ext}$major'
2324 need_lib_prefix=no
2325 need_version=no
23262297 ;;
23272298 esac
23282299 shlibpath_var=LD_LIBRARY_PATH
23532324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23542325 soname_spec='${libname}${release}${shared_ext}$major'
23552326 shlibpath_var=LD_LIBRARY_PATH
2327 hardcode_into_libs=yes
2328 ;;
2329
2330 haiku*)
2331 version_type=linux
2332 need_lib_prefix=no
2333 need_version=no
2334 dynamic_linker="$host_os runtime_loader"
2335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2336 soname_spec='${libname}${release}${shared_ext}$major'
2337 shlibpath_var=LIBRARY_PATH
2338 shlibpath_overrides_runpath=yes
2339 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
23562340 hardcode_into_libs=yes
23572341 ;;
23582342
23982382 soname_spec='${libname}${release}${shared_ext}$major'
23992383 ;;
24002384 esac
2401 # HP-UX runs *really* slowly unless shared libraries are mode 555.
2385 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
24022386 postinstall_cmds='chmod 555 $lib'
2387 # or fails outright, so override atomically:
2388 install_override_mode=555
24032389 ;;
24042390
24052391 interix[[3-9]]*)
24572443 ;;
24582444
24592445 # This must be Linux ELF.
2460 linux* | k*bsd*-gnu)
2446 linux* | k*bsd*-gnu | kopensolaris*-gnu)
24612447 version_type=linux
24622448 need_lib_prefix=no
24632449 need_version=no
24662452 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
24672453 shlibpath_var=LD_LIBRARY_PATH
24682454 shlibpath_overrides_runpath=no
2455
24692456 # Some binutils ld are patched to set DT_RUNPATH
2470 save_LDFLAGS=$LDFLAGS
2471 save_libdir=$libdir
2472 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2473 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2474 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2475 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2476 [shlibpath_overrides_runpath=yes])])
2477 LDFLAGS=$save_LDFLAGS
2478 libdir=$save_libdir
2457 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
2458 [lt_cv_shlibpath_overrides_runpath=no
2459 save_LDFLAGS=$LDFLAGS
2460 save_libdir=$libdir
2461 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2462 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2463 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2464 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2465 [lt_cv_shlibpath_overrides_runpath=yes])])
2466 LDFLAGS=$save_LDFLAGS
2467 libdir=$save_libdir
2468 ])
2469 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
24792470
24802471 # This implies no fast_install, which is unacceptable.
24812472 # Some rework will be needed to allow for fast_install
24822473 # before this can be enabled.
24832474 hardcode_into_libs=yes
24842475
2476 # Add ABI-specific directories to the system library path.
2477 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2478
24852479 # Append ld.so.conf contents to the search path
24862480 if test -f /etc/ld.so.conf; then
2487 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
2488 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2481 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2482 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2483
24892484 fi
24902485
24912486 # We used to test for /lib/ld.so.1 and disable shared libraries on
27172712 The last name is the one that the linker finds with -lNAME]])
27182713 _LT_DECL([], [soname_spec], [1],
27192714 [[The coded name of the library, if different from the real name]])
2715 _LT_DECL([], [install_override_mode], [1],
2716 [Permission mode override for installation of shared libraries])
27202717 _LT_DECL([], [postinstall_cmds], [2],
27212718 [Command to use after installation of a shared archive])
27222719 _LT_DECL([], [postuninstall_cmds], [2],
28292826 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
28302827 m4_require([_LT_DECL_SED])dnl
28312828 m4_require([_LT_DECL_EGREP])dnl
2829 m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
28322830
28332831 AC_ARG_WITH([gnu-ld],
28342832 [AS_HELP_STRING([--with-gnu-ld],
29582956 fi
29592957 ;;
29602958 esac
2961 _LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
2962 _LT_DECL([], [reload_cmds], [2])dnl
2959 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
2960 _LT_TAGDECL([], [reload_cmds], [2])dnl
29632961 ])# _LT_CMD_RELOAD
29642962
29652963
30113009 # Base MSYS/MinGW do not provide the 'file' command needed by
30123010 # func_win32_libid shell function, so use a weaker test based on 'objdump',
30133011 # unless we find 'file', for example because we are cross-compiling.
3014 if ( file / ) >/dev/null 2>&1; then
3012 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
3013 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
30153014 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
30163015 lt_cv_file_magic_cmd='func_win32_libid'
30173016 else
3018 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3017 # Keep this pattern in sync with the one in func_win32_libid.
3018 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
30193019 lt_cv_file_magic_cmd='$OBJDUMP -f'
30203020 fi
30213021 ;;
30223022
3023 cegcc)
3023 cegcc*)
30243024 # use the weaker test based on 'objdump'. See mingw*.
30253025 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
30263026 lt_cv_file_magic_cmd='$OBJDUMP -f'
30503050 lt_cv_deplibs_check_method=pass_all
30513051 ;;
30523052
3053 haiku*)
3054 lt_cv_deplibs_check_method=pass_all
3055 ;;
3056
30533057 hpux10.20* | hpux11*)
30543058 lt_cv_file_magic_cmd=/usr/bin/file
30553059 case $host_cpu in
30583062 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
30593063 ;;
30603064 hppa*64*)
3061 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
3065 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
30623066 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
30633067 ;;
30643068 *)
3065 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3069 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
30663070 lt_cv_file_magic_test_file=/usr/lib/libc.sl
30673071 ;;
30683072 esac
30843088 ;;
30853089
30863090 # This must be Linux ELF.
3087 linux* | k*bsd*-gnu)
3091 linux* | k*bsd*-gnu | kopensolaris*-gnu)
30883092 lt_cv_deplibs_check_method=pass_all
30893093 ;;
30903094
32263230 NM="$lt_cv_path_NM"
32273231 else
32283232 # Didn't find any BSD compatible name lister, look for dumpbin.
3229 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
3233 if test -n "$DUMPBIN"; then :
3234 # Let the user override the test.
3235 else
3236 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3237 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
3238 *COFF*)
3239 DUMPBIN="$DUMPBIN -symbols"
3240 ;;
3241 *)
3242 DUMPBIN=:
3243 ;;
3244 esac
3245 fi
32303246 AC_SUBST([DUMPBIN])
32313247 if test "$DUMPBIN" != ":"; then
32323248 NM="$DUMPBIN"
32393255 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
32403256 [lt_cv_nm_interface="BSD nm"
32413257 echo "int some_variable = 0;" > conftest.$ac_ext
3242 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3258 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
32433259 (eval "$ac_compile" 2>conftest.err)
32443260 cat conftest.err >&AS_MESSAGE_LOG_FD
3245 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3261 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
32463262 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
32473263 cat conftest.err >&AS_MESSAGE_LOG_FD
3248 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
3264 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
32493265 cat conftest.out >&AS_MESSAGE_LOG_FD
32503266 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
32513267 lt_cv_nm_interface="MS dumpbin"
32683284 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
32693285 LIBM=
32703286 case $host in
3271 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3287 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
32723288 # These system don't have libm, or don't need it
32733289 ;;
32743290 *-ncr-sysv4.3*)
32963312 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
32973313
32983314 if test "$GCC" = yes; then
3299 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3315 case $cc_basename in
3316 nvcc*)
3317 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3318 *)
3319 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3320 esac
33003321
33013322 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
33023323 lt_cv_prog_compiler_rtti_exceptions,
33133334 m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
33143335 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
33153336 AC_REQUIRE([AC_PROG_CC])dnl
3337 AC_REQUIRE([AC_PROG_AWK])dnl
33163338 AC_REQUIRE([LT_PATH_NM])dnl
33173339 AC_REQUIRE([LT_PATH_LD])dnl
33183340 m4_require([_LT_DECL_SED])dnl
34383460 if AC_TRY_EVAL(ac_compile); then
34393461 # Now try to grab the symbols.
34403462 nlist=conftest.nm
3441 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
3463 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
34423464 # Try sorting and uniquifying the output.
34433465 if sort "$nlist" | uniq > "$nlist"T; then
34443466 mv -f "$nlist"T "$nlist"
35993621 *djgpp*)
36003622 # DJGPP does not support shared libraries at all
36013623 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3624 ;;
3625 haiku*)
3626 # PIC is the default for Haiku.
3627 # The "-static" flag exists, but is broken.
3628 _LT_TAGVAR(lt_prog_compiler_static, $1)=
36023629 ;;
36033630 interix[[3-9]]*)
36043631 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
37053732 ;;
37063733 esac
37073734 ;;
3708 linux* | k*bsd*-gnu)
3735 linux* | k*bsd*-gnu | kopensolaris*-gnu)
37093736 case $cc_basename in
37103737 KCC*)
37113738 # KAI C++ Compiler
37383765 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
37393766 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
37403767 ;;
3741 xlc* | xlC*)
3742 # IBM XL 8.0 on PPC
3768 xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
3769 # IBM XL 8.0, 9.0 on PPC and BlueGene
37433770 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
37443771 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
37453772 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
38013828 ;;
38023829 solaris*)
38033830 case $cc_basename in
3804 CC*)
3831 CC* | sunCC*)
38053832 # Sun C++ 4.2, 5.x and Centerline C++
38063833 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
38073834 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
39053932 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
39063933 ;;
39073934
3935 haiku*)
3936 # PIC is the default for Haiku.
3937 # The "-static" flag exists, but is broken.
3938 _LT_TAGVAR(lt_prog_compiler_static, $1)=
3939 ;;
3940
39083941 hpux*)
39093942 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
39103943 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
39453978
39463979 *)
39473980 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3981 ;;
3982 esac
3983
3984 case $cc_basename in
3985 nvcc*) # Cuda Compiler Driver 2.2
3986 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
3987 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
39483988 ;;
39493989 esac
39503990 else
39894029 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
39904030 ;;
39914031
3992 linux* | k*bsd*-gnu)
4032 linux* | k*bsd*-gnu | kopensolaris*-gnu)
39934033 case $cc_basename in
39944034 # old Intel for x86_64 which still supported -KPIC.
39954035 ecc*)
40104050 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
40114051 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
40124052 ;;
4013 pgcc* | pgf77* | pgf90* | pgf95*)
4053 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
40144054 # Portland Group compilers (*not* the Pentium gcc compiler,
40154055 # which looks to be a dead project)
40164056 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
40224062 # All Alpha code is PIC.
40234063 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
40244064 ;;
4025 xl*)
4026 # IBM XL C 8.0/Fortran 10.1 on PPC
4065 xl* | bgxl* | bgf* | mpixl*)
4066 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
40274067 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
40284068 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
40294069 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
40304070 ;;
40314071 *)
40324072 case `$CC -V 2>&1 | sed 5q` in
4073 *Sun\ F* | *Sun*Fortran*)
4074 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4075 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4076 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4077 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4078 ;;
40334079 *Sun\ C*)
40344080 # Sun C 5.9
40354081 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
40364082 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
40374083 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
40384084 ;;
4039 *Sun\ F*)
4040 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4041 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4042 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4043 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4044 ;;
40454085 esac
40464086 ;;
40474087 esac
40724112 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
40734113 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
40744114 case $cc_basename in
4075 f77* | f90* | f95*)
4115 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
40764116 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
40774117 *)
40784118 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
41824222 aix[[4-9]]*)
41834223 # If we're using GNU nm, then we don't want the "-C" option.
41844224 # -C means demangle to AIX nm, but means don't demangle with GNU nm
4225 # Also, AIX nm treats weak defined symbols like other global defined
4226 # symbols, whereas GNU nm marks them as "W".
41854227 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4186 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4228 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
41874229 else
41884230 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
41894231 fi
42614303 esac
42624304
42634305 _LT_TAGVAR(ld_shlibs, $1)=yes
4306
4307 # On some targets, GNU ld is compatible enough with the native linker
4308 # that we're better off using the native interface for both.
4309 lt_use_gnu_ld_interface=no
42644310 if test "$with_gnu_ld" = yes; then
4311 case $host_os in
4312 aix*)
4313 # The AIX port of GNU ld has always aspired to compatibility
4314 # with the native linker. However, as the warning in the GNU ld
4315 # block says, versions before 2.19.5* couldn't really create working
4316 # shared libraries, regardless of the interface used.
4317 case `$LD -v 2>&1` in
4318 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
4319 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
4320 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
4321 *)
4322 lt_use_gnu_ld_interface=yes
4323 ;;
4324 esac
4325 ;;
4326 *)
4327 lt_use_gnu_ld_interface=yes
4328 ;;
4329 esac
4330 fi
4331
4332 if test "$lt_use_gnu_ld_interface" = yes; then
42654333 # If archive_cmds runs LD, not CC, wlarc should be empty
42664334 wlarc='${wl}'
42674335
42794347 fi
42804348 supports_anon_versioning=no
42814349 case `$LD -v 2>&1` in
4350 *GNU\ gold*) supports_anon_versioning=yes ;;
42824351 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
42834352 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
42844353 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
42944363 _LT_TAGVAR(ld_shlibs, $1)=no
42954364 cat <<_LT_EOF 1>&2
42964365
4297 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
4366 *** Warning: the GNU linker, at least up to release 2.19, is reported
42984367 *** to be unable to reliably create shared libraries on AIX.
42994368 *** Therefore, libtool is disabling shared libraries support. If you
4300 *** really care for shared libraries, you may want to modify your PATH
4301 *** so that a non-GNU linker is found, and then restart.
4369 *** really care for shared libraries, you may want to install binutils
4370 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
4371 *** You will then need to restart the configuration process.
43024372
43034373 _LT_EOF
43044374 fi
43344404 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
43354405 # as there is no search path for DLLs.
43364406 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4407 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
43374408 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
43384409 _LT_TAGVAR(always_export_symbols, $1)=no
43394410 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
43554426 fi
43564427 ;;
43574428
4429 haiku*)
4430 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4431 _LT_TAGVAR(link_all_deplibs, $1)=yes
4432 ;;
4433
43584434 interix[[3-9]]*)
43594435 _LT_TAGVAR(hardcode_direct, $1)=no
43604436 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
43704446 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
43714447 ;;
43724448
4373 gnu* | linux* | tpf* | k*bsd*-gnu)
4449 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
43744450 tmp_diet=no
43754451 if test "$host_os" = linux-dietlibc; then
43764452 case $cc_basename in
43844460 tmp_sharedflag='-shared'
43854461 case $cc_basename,$host_cpu in
43864462 pgcc*) # Portland Group C compiler
4387 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
4463 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
43884464 tmp_addflag=' $pic_flag'
43894465 ;;
4390 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
4391 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
4466 pgf77* | pgf90* | pgf95* | pgfortran*)
4467 # Portland Group f77 and f90 compilers
4468 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
43924469 tmp_addflag=' $pic_flag -Mnomain' ;;
43934470 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
43944471 tmp_addflag=' -i_dynamic' ;;
43994476 lf95*) # Lahey Fortran 8.1
44004477 _LT_TAGVAR(whole_archive_flag_spec, $1)=
44014478 tmp_sharedflag='--shared' ;;
4402 xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
4479 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
44034480 tmp_sharedflag='-qmkshrobj'
44044481 tmp_addflag= ;;
4482 nvcc*) # Cuda Compiler Driver 2.2
4483 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
4484 _LT_TAGVAR(compiler_needs_object, $1)=yes
4485 ;;
44054486 esac
44064487 case `$CC -V 2>&1 | sed 5q` in
44074488 *Sun\ C*) # Sun C 5.9
4408 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
4489 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
44094490 _LT_TAGVAR(compiler_needs_object, $1)=yes
44104491 tmp_sharedflag='-G' ;;
44114492 *Sun\ F*) # Sun Fortran 8.3
44214502 fi
44224503
44234504 case $cc_basename in
4424 xlf*)
4505 xlf* | bgf* | bgxlf* | mpixlf*)
44254506 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
44264507 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
44274508 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
44284509 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4429 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
4510 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
44304511 if test "x$supports_anon_versioning" = xyes; then
44314512 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
44324513 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
44334514 echo "local: *; };" >> $output_objdir/$libname.ver~
4434 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
4515 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
44354516 fi
44364517 ;;
44374518 esac
45524633 else
45534634 # If we're using GNU nm, then we don't want the "-C" option.
45544635 # -C means demangle to AIX nm, but means don't demangle with GNU nm
4636 # Also, AIX nm treats weak defined symbols like other global
4637 # defined symbols, whereas GNU nm marks them as "W".
45554638 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4556 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4639 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
45574640 else
45584641 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
45594642 fi
46424725 # empty executable.
46434726 _LT_SYS_MODULE_PATH_AIX
46444727 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4645 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
4728 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
46464729 else
46474730 if test "$host_cpu" = ia64; then
46484731 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
46574740 # -berok will link without error, but may produce a broken library.
46584741 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
46594742 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4660 # Exported symbols can be pulled into shared objects from archives
4661 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
4743 if test "$with_gnu_ld" = yes; then
4744 # We only use this code for GNU lds that support --whole-archive.
4745 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
4746 else
4747 # Exported symbols can be pulled into shared objects from archives
4748 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
4749 fi
46624750 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
46634751 # This is similar to how AIX traditionally builds its shared libraries.
46644752 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
46974785 # Tell ltmain to make .dll files, not .so files.
46984786 shrext_cmds=".dll"
46994787 # FIXME: Setting linknames here is a bad hack.
4700 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
4788 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
47014789 # The linker will automatically build a .lib file if we build a DLL.
47024790 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
47034791 # FIXME: Should let the user specify the lib program.
47644852 ;;
47654853
47664854 hpux10*)
4767 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
4855 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
47684856 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
47694857 else
47704858 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
47834871 ;;
47844872
47854873 hpux11*)
4786 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
4874 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
47874875 case $host_cpu in
47884876 hppa*64*)
47894877 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
48044892 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
48054893 ;;
48064894 *)
4807 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4895 m4_if($1, [], [
4896 # Older versions of the 11.00 compiler do not understand -b yet
4897 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
4898 _LT_LINKER_OPTION([if $CC understands -b],
4899 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
4900 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
4901 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
4902 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
48084903 ;;
48094904 esac
48104905 fi
48324927
48334928 irix5* | irix6* | nonstopux*)
48344929 if test "$GCC" = yes; then
4835 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4930 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
48364931 # Try to use the -exported_symbol ld option, if it does not
48374932 # work, assume that -exports_file does not work either and
48384933 # implicitly export all symbols.
48394934 save_LDFLAGS="$LDFLAGS"
48404935 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
48414936 AC_LINK_IFELSE(int foo(void) {},
4842 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
4937 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
48434938 )
48444939 LDFLAGS="$save_LDFLAGS"
48454940 else
4846 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
4847 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
4941 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
4942 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
48484943 fi
48494944 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
48504945 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
49065001 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
49075002 _LT_TAGVAR(hardcode_minus_L, $1)=yes
49085003 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4909 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5004 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
49105005 _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
49115006 ;;
49125007
49135008 osf3*)
49145009 if test "$GCC" = yes; then
49155010 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4916 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5011 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
49175012 else
49185013 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4919 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5014 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
49205015 fi
49215016 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
49225017 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
49265021 osf4* | osf5*) # as osf3* with the addition of -msym flag
49275022 if test "$GCC" = yes; then
49285023 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4929 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5024 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
49305025 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
49315026 else
49325027 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4933 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5028 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
49345029 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
4935 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
5030 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
49365031
49375032 # Both c and cxx compiler support -rpath directly
49385033 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
51235218 # Test whether the compiler implicitly links with -lc since on some
51245219 # systems, -lgcc has to come before -lc. If gcc already passes -lc
51255220 # to ld, don't add -lc before -lgcc.
5126 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
5127 $RM conftest*
5128 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5129
5130 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5131 soname=conftest
5132 lib=conftest
5133 libobjs=conftest.$ac_objext
5134 deplibs=
5135 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5136 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5137 compiler_flags=-v
5138 linker_flags=-v
5139 verstring=
5140 output_objdir=.
5141 libname=conftest
5142 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
5143 _LT_TAGVAR(allow_undefined_flag, $1)=
5144 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
5145 then
5146 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5147 else
5148 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5149 fi
5150 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5151 else
5152 cat conftest.err 1>&5
5153 fi
5154 $RM conftest*
5155 AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
5221 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
5222 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
5223 [$RM conftest*
5224 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5225
5226 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5227 soname=conftest
5228 lib=conftest
5229 libobjs=conftest.$ac_objext
5230 deplibs=
5231 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5232 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5233 compiler_flags=-v
5234 linker_flags=-v
5235 verstring=
5236 output_objdir=.
5237 libname=conftest
5238 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
5239 _LT_TAGVAR(allow_undefined_flag, $1)=
5240 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
5241 then
5242 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
5243 else
5244 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5245 fi
5246 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5247 else
5248 cat conftest.err 1>&5
5249 fi
5250 $RM conftest*
5251 ])
5252 _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
51565253 ;;
51575254 esac
51585255 fi
53225419 ])# _LT_LANG_C_CONFIG
53235420
53245421
5325 # _LT_PROG_CXX
5326 # ------------
5327 # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
5328 # compiler, we have our own version here.
5329 m4_defun([_LT_PROG_CXX],
5330 [
5331 pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
5332 AC_PROG_CXX
5422 # _LT_LANG_CXX_CONFIG([TAG])
5423 # --------------------------
5424 # Ensure that the configuration variables for a C++ compiler are suitably
5425 # defined. These variables are subsequently used by _LT_CONFIG to write
5426 # the compiler configuration to `libtool'.
5427 m4_defun([_LT_LANG_CXX_CONFIG],
5428 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5429 m4_require([_LT_DECL_EGREP])dnl
53335430 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
53345431 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
53355432 (test "X$CXX" != "Xg++"))) ; then
53375434 else
53385435 _lt_caught_CXX_error=yes
53395436 fi
5340 popdef([AC_MSG_ERROR])
5341 ])# _LT_PROG_CXX
5342
5343 dnl aclocal-1.4 backwards compatibility:
5344 dnl AC_DEFUN([_LT_PROG_CXX], [])
5345
5346
5347 # _LT_LANG_CXX_CONFIG([TAG])
5348 # --------------------------
5349 # Ensure that the configuration variables for a C++ compiler are suitably
5350 # defined. These variables are subsequently used by _LT_CONFIG to write
5351 # the compiler configuration to `libtool'.
5352 m4_defun([_LT_LANG_CXX_CONFIG],
5353 [AC_REQUIRE([_LT_PROG_CXX])dnl
5354 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5355 m4_require([_LT_DECL_EGREP])dnl
53565437
53575438 AC_LANG_PUSH(C++)
53585439 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
53745455 _LT_TAGVAR(module_expsym_cmds, $1)=
53755456 _LT_TAGVAR(link_all_deplibs, $1)=unknown
53765457 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5458 _LT_TAGVAR(reload_flag, $1)=$reload_flag
5459 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
53775460 _LT_TAGVAR(no_undefined_flag, $1)=
53785461 _LT_TAGVAR(whole_archive_flag_spec, $1)=
53795462 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
54765559 # Commands to make compiler produce verbose output that lists
54775560 # what "hidden" libraries, object files and flags are used when
54785561 # linking a shared library.
5479 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
5562 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
54805563
54815564 else
54825565 GXX=no
55885671 _LT_SYS_MODULE_PATH_AIX
55895672 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
55905673
5591 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5674 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
55925675 else
55935676 if test "$host_cpu" = ia64; then
55945677 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
56035686 # -berok will link without error, but may produce a broken library.
56045687 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
56055688 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5606 # Exported symbols can be pulled into shared objects from archives
5607 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5689 if test "$with_gnu_ld" = yes; then
5690 # We only use this code for GNU lds that support --whole-archive.
5691 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5692 else
5693 # Exported symbols can be pulled into shared objects from archives
5694 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5695 fi
56085696 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
56095697 # This is similar to how AIX traditionally builds its shared
56105698 # libraries.
56375725 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
56385726 # as there is no search path for DLLs.
56395727 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5728 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
56405729 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
56415730 _LT_TAGVAR(always_export_symbols, $1)=no
56425731 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
56975786 gnu*)
56985787 ;;
56995788
5789 haiku*)
5790 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5791 _LT_TAGVAR(link_all_deplibs, $1)=yes
5792 ;;
5793
57005794 hpux9*)
57015795 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
57025796 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
57215815 # explicitly linking system object files so we need to strip them
57225816 # from the output so that they don't get included in the library
57235817 # dependencies.
5724 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
5818 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
57255819 ;;
57265820 *)
57275821 if test "$GXX" = yes; then
57865880 # explicitly linking system object files so we need to strip them
57875881 # from the output so that they don't get included in the library
57885882 # dependencies.
5789 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
5883 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
57905884 ;;
57915885 *)
57925886 if test "$GXX" = yes; then
58295923 case $cc_basename in
58305924 CC*)
58315925 # SGI C++
5832 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5926 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
58335927
58345928 # Archives containing C++ object files must be created using
58355929 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
58405934 *)
58415935 if test "$GXX" = yes; then
58425936 if test "$with_gnu_ld" = no; then
5843 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5937 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
58445938 else
5845 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
5939 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
58465940 fi
58475941 fi
58485942 _LT_TAGVAR(link_all_deplibs, $1)=yes
58535947 _LT_TAGVAR(inherit_rpath, $1)=yes
58545948 ;;
58555949
5856 linux* | k*bsd*-gnu)
5950 linux* | k*bsd*-gnu | kopensolaris*-gnu)
58575951 case $cc_basename in
58585952 KCC*)
58595953 # Kuck and Associates, Inc. (KAI) C++ Compiler
58715965 # explicitly linking system object files so we need to strip them
58725966 # from the output so that they don't get included in the library
58735967 # dependencies.
5874 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
5968 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
58755969
58765970 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
58775971 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
59086002 pgCC* | pgcpp*)
59096003 # Portland Group C++ compiler
59106004 case `$CC -V` in
5911 *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
6005 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
59126006 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
59136007 rm -rf $tpldir~
59146008 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
5915 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
6009 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
59166010 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
59176011 rm -rf $tpldir~
59186012 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
5919 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
6013 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
59206014 $RANLIB $oldlib'
59216015 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
59226016 rm -rf $tpldir~
59236017 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
5924 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6018 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
59256019 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
59266020 rm -rf $tpldir~
59276021 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
5928 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
6022 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
59296023 ;;
5930 *) # Version 6 will use weak symbols
6024 *) # Version 6 and above use weak symbols
59316025 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
59326026 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
59336027 ;;
59356029
59366030 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
59376031 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5938 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6032 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
59396033 ;;
59406034 cxx*)
59416035 # Compaq C++
59546048 # explicitly linking system object files so we need to strip them
59556049 # from the output so that they don't get included in the library
59566050 # dependencies.
5957 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6051 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
59586052 ;;
5959 xl*)
6053 xl* | mpixl* | bgxl*)
59606054 # IBM XL 8.0 on PPC, with GNU ld
59616055 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
59626056 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
59766070 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
59776071 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
59786072 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5979 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6073 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
59806074 _LT_TAGVAR(compiler_needs_object, $1)=yes
59816075
59826076 # Not sure whether something based on
59836077 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
59846078 # would be better.
5985 output_verbose_link_cmd='echo'
6079 output_verbose_link_cmd='func_echo_all'
59866080
59876081 # Archives containing C++ object files must be created using
59886082 # "CC -xar", where "CC" is the Sun C++ compiler. This is
60516145 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
60526146 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
60536147 fi
6054 output_verbose_link_cmd=echo
6148 output_verbose_link_cmd=func_echo_all
60556149 else
60566150 _LT_TAGVAR(ld_shlibs, $1)=no
60576151 fi
60866180 case $host in
60876181 osf3*)
60886182 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6089 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
6183 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
60906184 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
60916185 ;;
60926186 *)
60936187 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6094 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
6188 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
60956189 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
60966190 echo "-hidden">> $lib.exp~
6097 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
6191 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
60986192 $RM $lib.exp'
60996193 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
61006194 ;;
61106204 # explicitly linking system object files so we need to strip them
61116205 # from the output so that they don't get included in the library
61126206 # dependencies.
6113 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6207 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
61146208 ;;
61156209 *)
61166210 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
61176211 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
61186212 case $host in
61196213 osf3*)
6120 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6214 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
61216215 ;;
61226216 *)
6123 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6217 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
61246218 ;;
61256219 esac
61266220
61306224 # Commands to make compiler produce verbose output that lists
61316225 # what "hidden" libraries, object files and flags are used when
61326226 # linking a shared library.
6133 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6227 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
61346228
61356229 else
61366230 # FIXME: insert proper C++ library support
61666260
61676261 solaris*)
61686262 case $cc_basename in
6169 CC*)
6263 CC* | sunCC*)
61706264 # Sun C++ 4.2, 5.x and Centerline C++
61716265 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
61726266 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
61876281 esac
61886282 _LT_TAGVAR(link_all_deplibs, $1)=yes
61896283
6190 output_verbose_link_cmd='echo'
6284 output_verbose_link_cmd='func_echo_all'
61916285
61926286 # Archives containing C++ object files must be created using
61936287 # "CC -xar", where "CC" is the Sun C++ compiler. This is
62146308 # Commands to make compiler produce verbose output that lists
62156309 # what "hidden" libraries, object files and flags are used when
62166310 # linking a shared library.
6217 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6311 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
62186312 else
62196313 # g++ 2.7 appears to require `-G' NOT `-shared' on this
62206314 # platform.
62256319 # Commands to make compiler produce verbose output that lists
62266320 # what "hidden" libraries, object files and flags are used when
62276321 # linking a shared library.
6228 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6322 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
62296323 fi
62306324
62316325 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
62796373 CC*)
62806374 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
62816375 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6376 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
6377 '"$_LT_TAGVAR(old_archive_cmds, $1)"
6378 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
6379 '"$_LT_TAGVAR(reload_cmds, $1)"
62826380 ;;
62836381 *)
62846382 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
65256623
65266624 solaris*)
65276625 case $cc_basename in
6528 CC*)
6626 CC* | sunCC*)
65296627 # The more standards-conforming stlport4 library is
65306628 # incompatible with the Cstd library. Avoid specifying
65316629 # it if it's in CXXFLAGS. Ignore libCrun as
65696667 ])# _LT_SYS_HIDDEN_LIBDEPS
65706668
65716669
6572 # _LT_PROG_F77
6573 # ------------
6574 # Since AC_PROG_F77 is broken, in that it returns the empty string
6575 # if there is no fortran compiler, we have our own version here.
6576 m4_defun([_LT_PROG_F77],
6577 [
6578 pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
6579 AC_PROG_F77
6580 if test -z "$F77" || test "X$F77" = "Xno"; then
6581 _lt_disable_F77=yes
6582 fi
6583 popdef([AC_MSG_ERROR])
6584 ])# _LT_PROG_F77
6585
6586 dnl aclocal-1.4 backwards compatibility:
6587 dnl AC_DEFUN([_LT_PROG_F77], [])
6588
6589
65906670 # _LT_LANG_F77_CONFIG([TAG])
65916671 # --------------------------
65926672 # Ensure that the configuration variables for a Fortran 77 compiler are
65936673 # suitably defined. These variables are subsequently used by _LT_CONFIG
65946674 # to write the compiler configuration to `libtool'.
65956675 m4_defun([_LT_LANG_F77_CONFIG],
6596 [AC_REQUIRE([_LT_PROG_F77])dnl
6597 AC_LANG_PUSH(Fortran 77)
6676 [AC_LANG_PUSH(Fortran 77)
6677 if test -z "$F77" || test "X$F77" = "Xno"; then
6678 _lt_disable_F77=yes
6679 fi
65986680
65996681 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
66006682 _LT_TAGVAR(allow_undefined_flag, $1)=
66136695 _LT_TAGVAR(module_expsym_cmds, $1)=
66146696 _LT_TAGVAR(link_all_deplibs, $1)=unknown
66156697 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6698 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6699 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
66166700 _LT_TAGVAR(no_undefined_flag, $1)=
66176701 _LT_TAGVAR(whole_archive_flag_spec, $1)=
66186702 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
67126796 ])# _LT_LANG_F77_CONFIG
67136797
67146798
6715 # _LT_PROG_FC
6716 # -----------
6717 # Since AC_PROG_FC is broken, in that it returns the empty string
6718 # if there is no fortran compiler, we have our own version here.
6719 m4_defun([_LT_PROG_FC],
6720 [
6721 pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
6722 AC_PROG_FC
6723 if test -z "$FC" || test "X$FC" = "Xno"; then
6724 _lt_disable_FC=yes
6725 fi
6726 popdef([AC_MSG_ERROR])
6727 ])# _LT_PROG_FC
6728
6729 dnl aclocal-1.4 backwards compatibility:
6730 dnl AC_DEFUN([_LT_PROG_FC], [])
6731
6732
67336799 # _LT_LANG_FC_CONFIG([TAG])
67346800 # -------------------------
67356801 # Ensure that the configuration variables for a Fortran compiler are
67366802 # suitably defined. These variables are subsequently used by _LT_CONFIG
67376803 # to write the compiler configuration to `libtool'.
67386804 m4_defun([_LT_LANG_FC_CONFIG],
6739 [AC_REQUIRE([_LT_PROG_FC])dnl
6740 AC_LANG_PUSH(Fortran)
6805 [AC_LANG_PUSH(Fortran)
6806
6807 if test -z "$FC" || test "X$FC" = "Xno"; then
6808 _lt_disable_FC=yes
6809 fi
67416810
67426811 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
67436812 _LT_TAGVAR(allow_undefined_flag, $1)=
67566825 _LT_TAGVAR(module_expsym_cmds, $1)=
67576826 _LT_TAGVAR(link_all_deplibs, $1)=unknown
67586827 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6828 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6829 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
67596830 _LT_TAGVAR(no_undefined_flag, $1)=
67606831 _LT_TAGVAR(whole_archive_flag_spec, $1)=
67616832 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
69016972 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
69026973
69036974 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6975 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6976 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
69046977
69056978 ## CAVEAT EMPTOR:
69066979 ## There is no encapsulation within the following macros, do not change
72687341 func_dirname ()
72697342 {
72707343 # Extract subdirectory from the argument.
7271 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
7344 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
72727345 if test "X$func_dirname_result" = "X${1}"; then
72737346 func_dirname_result="${3}"
72747347 else
72797352 # func_basename file
72807353 func_basename ()
72817354 {
7282 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
7355 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
72837356 }
72847357
72857358 dnl func_dirname_and_basename
72957368 func_stripname ()
72967369 {
72977370 case ${2} in
7298 .*) func_stripname_result=`$ECHO "X${3}" \
7299 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
7300 *) func_stripname_result=`$ECHO "X${3}" \
7301 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
7371 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7372 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
73027373 esac
73037374 }
73047375
73097380 # func_opt_split
73107381 func_opt_split ()
73117382 {
7312 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
7313 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
7383 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
7384 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
73147385 }
73157386
73167387 # func_lo2o object
73177388 func_lo2o ()
73187389 {
7319 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
7390 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
73207391 }
73217392
73227393 # func_xform libobj-or-source
73237394 func_xform ()
73247395 {
7325 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
7396 func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
73267397 }
73277398
73287399 # func_arith arithmetic-term...
00 # Helper functions for option handling. -*- Autoconf -*-
11 #
2 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
2 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
3 # Inc.
34 # Written by Gary V. Vaughan, 2004
45 #
56 # This file is free software; the Free Software Foundation gives
67 # unlimited permission to copy and/or distribute it, with or without
78 # modifications, as long as this notice is preserved.
89
9 # serial 6 ltoptions.m4
10 # serial 7 ltoptions.m4
1011
1112 # This is to help aclocal find these macros, as it can't see m4_define.
1213 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
124125 [enable_win32_dll=yes
125126
126127 case $host in
127 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
128 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
128129 AC_CHECK_TOOL(AS, as, false)
129130 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
130131 AC_CHECK_TOOL(OBJDUMP, objdump, false)
132133 esac
133134
134135 test -z "$AS" && AS=as
135 _LT_DECL([], [AS], [0], [Assembler program])dnl
136 _LT_DECL([], [AS], [1], [Assembler program])dnl
136137
137138 test -z "$DLLTOOL" && DLLTOOL=dlltool
138 _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
139 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
139140
140141 test -z "$OBJDUMP" && OBJDUMP=objdump
141 _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
142 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
142143 ])# win32-dll
143144
144145 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
88
99 # Generated from ltversion.in.
1010
11 # serial 3017 ltversion.m4
11 # serial 3175 ltversion.m4
1212 # This file is part of GNU Libtool
1313
14 m4_define([LT_PACKAGE_VERSION], [2.2.6b])
15 m4_define([LT_PACKAGE_REVISION], [1.3017])
14 m4_define([LT_PACKAGE_VERSION], [2.2.10])
15 m4_define([LT_PACKAGE_REVISION], [1.3175])
1616
1717 AC_DEFUN([LTVERSION_VERSION],
18 [macro_version='2.2.6b'
19 macro_revision='1.3017'
18 [macro_version='2.2.10'
19 macro_revision='1.3175'
2020 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
2121 _LT_DECL(, macro_revision, 0)
2222 ])
00 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
2 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
33 # Written by Scott James Remnant, 2004.
44 #
55 # This file is free software; the Free Software Foundation gives
66 # unlimited permission to copy and/or distribute it, with or without
77 # modifications, as long as this notice is preserved.
88
9 # serial 4 lt~obsolete.m4
9 # serial 5 lt~obsolete.m4
1010
1111 # These exist entirely to fool aclocal when bootstrapping libtool.
1212 #
7676 m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
7777 m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
7878 m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
79 m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
8079 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
8180 m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
8281 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
8988 m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
9089 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
9190 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
91 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
92 m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
93 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
94 m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
95 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
96 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
97 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
308308 libexecdir = @libexecdir@
309309 localedir = @localedir@
310310 localstatedir = @localstatedir@
311 lt_ECHO = @lt_ECHO@
312311 mandir = @mandir@
313312 mkdir_p = @mkdir_p@
314313 oldincludedir = @oldincludedir@
289289 libexecdir = @libexecdir@
290290 localedir = @localedir@
291291 localstatedir = @localstatedir@
292 lt_ECHO = @lt_ECHO@
293292 mandir = @mandir@
294293 mkdir_p = @mkdir_p@
295294 oldincludedir = @oldincludedir@
434434 libexecdir = @libexecdir@
435435 localedir = @localedir@
436436 localstatedir = @localstatedir@
437 lt_ECHO = @lt_ECHO@
438437 mandir = @mandir@
439438 mkdir_p = @mkdir_p@
440439 oldincludedir = @oldincludedir@
2828 GstElement *funnel;
2929 GstPad *funnelsrc, *funnelsink11, *funnelsink22;
3030 GstPad *mysink, *mysrc1, *mysrc2;
31 GstCaps *mycaps;
3132 };
3233
3334 static void
34 setup_test_objects (struct TestData *td, GstPadChainFunction chain_func)
35 setup_test_objects (struct TestData *td, GstPadChainFunction chain_func, GstPadBufferAllocFunction alloc_func)
3536 {
36 GstCaps *caps = gst_caps_new_simple ("test/test", NULL);
37 td->mycaps = gst_caps_new_simple ("test/test", NULL);
3738
3839 td->funnel = gst_element_factory_make ("fsfunnel", NULL);
3940
5354
5455 td->mysink = gst_pad_new ("sink", GST_PAD_SINK);
5556 gst_pad_set_chain_function (td->mysink, chain_func);
57 gst_pad_set_bufferalloc_function (td->mysink, alloc_func);
5658 gst_pad_set_active (td->mysink, TRUE);
57 gst_pad_set_caps (td->mysink, caps);
59 gst_pad_set_caps (td->mysink, td->mycaps);
5860
5961 td->mysrc1 = gst_pad_new ("src1", GST_PAD_SRC);
6062 gst_pad_set_active (td->mysrc1, TRUE);
61 gst_pad_set_caps (td->mysrc1, caps);
63 gst_pad_set_caps (td->mysrc1, td->mycaps);
6264
6365 td->mysrc2 = gst_pad_new ("src2", GST_PAD_SRC);
6466 gst_pad_set_active (td->mysrc2, TRUE);
65 gst_pad_set_caps (td->mysrc2, caps);
67 gst_pad_set_caps (td->mysrc2, td->mycaps);
6668
6769 fail_unless (GST_PAD_LINK_SUCCESSFUL(
6870 gst_pad_link (td->funnelsrc, td->mysink)));
7375 fail_unless (GST_PAD_LINK_SUCCESSFUL(
7476 gst_pad_link (td->mysrc2, td->funnelsink22)));
7577
76 gst_caps_unref (caps);
7778 }
7879
7980 static void
9697 gst_object_unref (td->funnelsink22);
9798 gst_element_release_request_pad (td->funnel, td->funnelsink22);
9899
100 gst_caps_unref (td->mycaps);
99101 gst_object_unref (td->funnel);
100102 }
101103
102104 static gint bufcount = 0;
105 static gint alloccount = 0;
103106
104107 static GstFlowReturn
105108 chain_ok (GstPad *pad, GstBuffer *buffer)
111114 return GST_FLOW_OK;
112115 }
113116
117 static GstFlowReturn
118 alloc_ok (GstPad *pad,
119 guint64 offset,
120 guint size,
121 GstCaps *caps,
122 GstBuffer **buffer)
123 {
124 alloccount++;
125
126 fail_unless (buffer != NULL);
127 fail_unless (*buffer == NULL);
128
129 *buffer = gst_buffer_new_and_alloc(size);
130 gst_buffer_set_caps (*buffer, caps);
131 GST_BUFFER_OFFSET (*buffer) = offset;
132
133 return GST_FLOW_OK;
134 }
135
114136 GST_START_TEST (test_funnel_simple)
115137 {
116138 struct TestData td;
139 GstBuffer *buf1 = NULL;
140 GstBuffer *buf2 = NULL;
117141
118 setup_test_objects (&td, chain_ok);
142 setup_test_objects (&td, chain_ok, alloc_ok);
119143
120144 bufcount = 0;
145 alloccount = 0;
121146
122147 fail_unless (gst_pad_push (td.mysrc1, gst_buffer_new ()) == GST_FLOW_OK);
123148 fail_unless (gst_pad_push (td.mysrc2, gst_buffer_new ()) == GST_FLOW_OK);
124149
125150 fail_unless (bufcount == 2);
151
152 fail_unless (gst_pad_alloc_buffer (td.mysrc1, 0, 1024, td.mycaps, &buf1) == GST_FLOW_OK);
153 fail_unless (gst_pad_alloc_buffer (td.mysrc2, 1024, 1024, td.mycaps, &buf2) == GST_FLOW_OK);
154
155 fail_unless (alloccount == 2);
156
157 gst_buffer_unref (buf1);
158 gst_buffer_unref (buf2);
126159
127160 release_test_objects (&td);
128161 }
2828 #include "generic.h"
2929
3030 GMainLoop *loop = NULL;
31
32
33 GST_START_TEST (test_rtpcodecs_codec_base)
34 {
35 struct SimpleTestConference *dat = NULL;
36 GList *codecs = NULL, *item;
37 gboolean ready;
38 gboolean needs_ready = FALSE;
39
40 dat = setup_simple_conference_full (1, "fsrtpconference", "bob@127.0.0.1",
41 FS_MEDIA_TYPE_VIDEO);
42
43 g_object_get (dat->session, "codecs", &codecs, "codecs-ready", &ready, NULL);
44
45 fail_if (codecs == NULL);
46 for (item = codecs; item; item = item->next)
47 {
48 FsCodec *codec = item->data;
49
50 if (!g_ascii_strcasecmp (codec->encoding_name, "THEORA") ||
51 !g_ascii_strcasecmp (codec->encoding_name, "H264"))
52 needs_ready = TRUE;
53 }
54 if (!needs_ready)
55 GST_DEBUG ("No Theora and no H.264, so can't test codecs-ready");
56
57
58
59 /* make sure we're not already ready before starting the pipeline */
60 fail_if (needs_ready && ready);
61
62 fs_codec_list_destroy (codecs);
63 cleanup_simple_conference (dat);
64 }
65 GST_END_TEST;
66
3167
3268 void
3369 _notify_codecs (GObject *object, GParamSpec *param, gpointer user_data)
20482084 g_log_set_always_fatal (fatal_mask);
20492085
20502086
2087 tc_chain = tcase_create ("fsrtpcodecs_codec_base");
2088 tcase_add_test (tc_chain, test_rtpcodecs_codec_base);
2089 suite_add_tcase (s, tc_chain);
2090
20512091 tc_chain = tcase_create ("fsrtpcodecs_codec_preferences");
20522092 tcase_add_test (tc_chain, test_rtpcodecs_codec_preferences);
20532093 suite_add_tcase (s, tc_chain);
305305 libexecdir = @libexecdir@
306306 localedir = @localedir@
307307 localstatedir = @localstatedir@
308 lt_ECHO = @lt_ECHO@
309308 mandir = @mandir@
310309 mkdir_p = @mkdir_p@
311310 oldincludedir = @oldincludedir@
288288 libexecdir = @libexecdir@
289289 localedir = @localedir@
290290 localstatedir = @localstatedir@
291 lt_ECHO = @lt_ECHO@
292291 mandir = @mandir@
293292 mkdir_p = @mkdir_p@
294293 oldincludedir = @oldincludedir@
315315 libexecdir = @libexecdir@
316316 localedir = @localedir@
317317 localstatedir = @localstatedir@
318 lt_ECHO = @lt_ECHO@
319318 mandir = @mandir@
320319 mkdir_p = @mkdir_p@
321320 oldincludedir = @oldincludedir@
550550 {
551551 g_set_error (error, FS_ERROR, FS_ERROR_INVALID_ARGUMENTS,
552552 "The remote candidate is not of the right type, it should be"
553 " FS_ERROR_INVALID_ARGUMENTS, but it is %d", candidate->type);
553 " FS_CANDIDATE_TYPE_MULTICAST (%d), but it is %d",
554 FS_CANDIDATE_TYPE_MULTICAST,
555 candidate->type);
554556 return FALSE;
555557 }
556558
315315 libexecdir = @libexecdir@
316316 localedir = @localedir@
317317 localstatedir = @localstatedir@
318 lt_ECHO = @lt_ECHO@
319318 mandir = @mandir@
320319 mkdir_p = @mkdir_p@
321320 oldincludedir = @oldincludedir@
725725 }
726726
727727 if (self->priv->compatibility_mode != NICE_COMPATIBILITY_GOOGLE &&
728 self->priv->compatibility_mode != NICE_COMPATIBILITY_MSN)
728 self->priv->compatibility_mode != NICE_COMPATIBILITY_MSN &&
729 self->priv->compatibility_mode != NICE_COMPATIBILITY_OC2007)
729730 {
730731 if (!username)
731732 {
778779 }
779780
780781 if (self->priv->compatibility_mode != NICE_COMPATIBILITY_GOOGLE &&
781 self->priv->compatibility_mode != NICE_COMPATIBILITY_MSN)
782 self->priv->compatibility_mode != NICE_COMPATIBILITY_MSN &&
783 self->priv->compatibility_mode != NICE_COMPATIBILITY_OC2007)
782784 {
783785 username = g_strdup (username);
784786 password = g_strdup (password);
16801682 GError *error = NULL;
16811683
16821684 if (self->priv->compatibility_mode != NICE_COMPATIBILITY_GOOGLE &&
1683 self->priv->compatibility_mode != NICE_COMPATIBILITY_MSN)
1685 self->priv->compatibility_mode != NICE_COMPATIBILITY_MSN &&
1686 self->priv->compatibility_mode != NICE_COMPATIBILITY_OC2007)
16841687 {
16851688 if (!nice_agent_set_remote_credentials (self->priv->agent->agent,
16861689 self->priv->stream_id, self->priv->username,
889889 g_object_set (ns->recvonly_filters[c], "sending", TRUE, NULL);
890890 else
891891 {
892 GstStateChangeReturn ret;
892 GstPadLinkReturn ret;
893893 GstPad *elempad;
894894
895895 gst_element_set_locked_state (ns->nicesinks[c], FALSE);
329329 libexecdir = @libexecdir@
330330 localedir = @localedir@
331331 localstatedir = @localstatedir@
332 lt_ECHO = @lt_ECHO@
333332 mandir = @mandir@
334333 mkdir_p = @mkdir_p@
335334 oldincludedir = @oldincludedir@
14781478 }
14791479
14801480 FS_RAWUDP_COMPONENT_LOCK(self);
1481 stun_timer_start (&stun_timer);
1481 stun_timer_start (&stun_timer, STUN_TIMER_DEFAULT_TIMEOUT,
1482 STUN_TIMER_DEFAULT_MAX_RETRANSMISSIONS);
14821483
14831484 while (!self->priv->stun_stop &&
14841485 timeout_accum_ms < self->priv->stun_timeout * 1000)
14851486 {
14861487 if (self->priv->stun_server_changed)
14871488 {
1488 stun_timer_start (&stun_timer);
1489 stun_timer_start (&stun_timer, STUN_TIMER_DEFAULT_TIMEOUT,
1490 STUN_TIMER_DEFAULT_MAX_RETRANSMISSIONS);
14891491 self->priv->stun_server_changed = FALSE;
14901492 timer_ret = STUN_USAGE_TIMER_RETURN_RETRANSMIT;
14911493 }
314314 libexecdir = @libexecdir@
315315 localedir = @localedir@
316316 localstatedir = @localstatedir@
317 lt_ECHO = @lt_ECHO@
318317 mandir = @mandir@
319318 mkdir_p = @mkdir_p@
320319 oldincludedir = @oldincludedir@
4040 #include <gst/farsight/fs-plugin.h>
4141
4242 #include <string.h>
43 #include <sys/types.h>
44
45 #ifdef HAVE_UNISTD_H
46 # include <unistd.h>
47 #endif
48
49 #ifdef G_OS_WIN32
50 # include <ws2tcpip.h>
51 # define close closesocket
52 #else /*G_OS_WIN32*/
53 # include <netdb.h>
54 # include <sys/socket.h>
55 # include <netinet/ip.h>
56 # include <arpa/inet.h>
57 #endif /*G_OS_WIN32*/
5843
5944 GST_DEBUG_CATEGORY (fs_shm_transmitter_debug);
6045 #define GST_CAT_DEFAULT fs_shm_transmitter_debug