Imported Upstream version 0.0.23
Sjoerd Simons
13 years ago
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 | ||
0 | 154 | commit b356af11e71889eb64daa01553307dbbad4e4717 |
1 | 155 | Author: Olivier Crête <olivier.crete@collabora.co.uk> |
2 | 156 | Date: Mon Nov 1 16:06:58 2010 -0400 |
329 | 329 | libexecdir = @libexecdir@ |
330 | 330 | localedir = @localedir@ |
331 | 331 | localstatedir = @localstatedir@ |
332 | lt_ECHO = @lt_ECHO@ | |
333 | 332 | mandir = @mandir@ |
334 | 333 | mkdir_p = @mkdir_p@ |
335 | 334 | oldincludedir = @oldincludedir@ |
18 | 18 | - gst-plugins-base 0.10.26 |
19 | 19 | - glib 2.16 |
20 | 20 | - Python 2.4 |
21 | - libnice 0.0.9 | |
21 | - libnice 0.1.0 | |
22 | 22 | |
23 | 23 | For UPnP support: |
24 | 24 | - GUPnP-IGD |
17 | 17 | You have another version of autoconf. It may work, but is not guaranteed to. |
18 | 18 | If you have problems, you may need to regenerate the build system entirely. |
19 | 19 | 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])]) | |
119 | 20 | |
120 | 21 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
121 | 22 | # |
289 | 289 | libexecdir = @libexecdir@ |
290 | 290 | localedir = @localedir@ |
291 | 291 | localstatedir = @localstatedir@ |
292 | lt_ECHO = @lt_ECHO@ | |
293 | 292 | mandir = @mandir@ |
294 | 293 | mkdir_p = @mkdir_p@ |
295 | 294 | oldincludedir = @oldincludedir@ |
249 | 249 | libexecdir = @libexecdir@ |
250 | 250 | localedir = @localedir@ |
251 | 251 | localstatedir = @localstatedir@ |
252 | lt_ECHO = @lt_ECHO@ | |
253 | 252 | mandir = @mandir@ |
254 | 253 | mkdir_p = @mkdir_p@ |
255 | 254 | oldincludedir = @oldincludedir@ |
249 | 249 | libexecdir = @libexecdir@ |
250 | 250 | localedir = @localedir@ |
251 | 251 | localstatedir = @localstatedir@ |
252 | lt_ECHO = @lt_ECHO@ | |
253 | 252 | mandir = @mandir@ |
254 | 253 | mkdir_p = @mkdir_p@ |
255 | 254 | oldincludedir = @oldincludedir@ |
14 | 14 | |
15 | 15 | # update the stuff maintained by doc maintainers |
16 | 16 | update: |
17 | $(MAKE) inspect-update | |
18 | 17 | $(MAKE) scanobj-update |
18 | $(MAKE) check-outdated-docs | |
19 | 19 | |
20 | 20 | # We set GPATH here; this gives us semantics for GNU make |
21 | 21 | # which are more like other make's VPATH, when it comes to |
27 | 27 | # thomas: make docs parallel installable |
28 | 28 | TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@ |
29 | 29 | |
30 | MAINTAINER_DOC_STAMPS = \ | |
31 | scanobj-build.stamp \ | |
32 | scanobj-trans-build.stamp | |
33 | ||
30 | 34 | EXTRA_DIST = \ |
35 | $(MAINTAINER_DOC_STAMPS) \ | |
31 | 36 | $(srcdir)/inspect/*.xml \ |
32 | inspect.stamp \ | |
33 | inspect-build.stamp \ | |
34 | 37 | $(SCANOBJ_FILES) \ |
35 | 38 | $(content_files) \ |
36 | 39 | $(extra_files) \ |
39 | 42 | $(DOC_OVERRIDES) \ |
40 | 43 | $(DOC_MODULE)-sections.txt |
41 | 44 | |
45 | # we don't add scanobj-build.stamp here since they are built manually by docs | |
46 | # maintainers and result is commited to git | |
42 | 47 | DOC_STAMPS = \ |
43 | 48 | scan-build.stamp \ |
44 | 49 | tmpl-build.stamp \ |
47 | 52 | scan.stamp \ |
48 | 53 | tmpl.stamp \ |
49 | 54 | sgml.stamp \ |
50 | html.stamp \ | |
51 | scanobj-build.stamp \ | |
52 | scanobj-trans-build.stamp | |
55 | html.stamp | |
53 | 56 | |
54 | 57 | # files generated/updated by gtkdoc-scangobj |
55 | 58 | 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 \ | |
60 | 63 | $(DOC_MODULE).types \ |
61 | 64 | $(DOC_MODULE).args |
62 | 65 | |
90 | 93 | if ENABLE_GTK_DOC |
91 | 94 | all-local: html-build.stamp |
92 | 95 | |
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 | ||
93 | 110 | #### scan gobjects; done by documentation maintainer #### |
94 | 111 | scanobj-update: |
95 | 112 | -rm scanobj-build.stamp |
102 | 119 | # TODO: finish elite script that updates the output files of this step |
103 | 120 | # instead of rewriting them, so that multiple maintainers can generate |
104 | 121 | # a collective set of args and signals |
105 | scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) | |
122 | scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) inspect | |
106 | 123 | @echo '*** Scanning GObjects ***' |
107 | 124 | if test x"$(srcdir)" != x. ; then \ |
108 | 125 | for f in $(SCANOBJ_FILES); \ |
109 | 126 | do \ |
110 | cp $(srcdir)/$$f . ; \ | |
127 | cp $(srcdir)/$$f . ; \ | |
111 | 128 | done; \ |
112 | 129 | else \ |
113 | $(INSPECT_ENVIRONMENT) \ | |
130 | $(INSPECT_ENVIRONMENT) \ | |
114 | 131 | CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" \ |
115 | CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" \ | |
132 | CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS) $(WARNING_CFLAGS)" \ | |
116 | 133 | LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ |
117 | 134 | $(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" && \ | |
119 | 136 | $(PYTHON) \ |
120 | 137 | $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE); \ |
121 | 138 | fi |
122 | 139 | touch scanobj-build.stamp |
123 | 140 | |
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 | |
125 | 142 | @true |
126 | 143 | |
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 | ||
164 | 144 | ### 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 | |
166 | 146 | if test "x$(top_srcdir)" != "x$(top_builddir)" && \ |
167 | 147 | test -d "$(top_builddir)/gst"; \ |
168 | 148 | then \ |
185 | 165 | if test x"$(srcdir)" != x. ; then \ |
186 | 166 | for f in $(SCANOBJ_FILES) $(SCAN_FILES); \ |
187 | 167 | do \ |
188 | if test -e $(srcdir)/$$f; then cp $(srcdir)/$$f . ; fi; \ | |
168 | if test -e $(srcdir)/$$f; then cp $(srcdir)/$$f . ; fi; \ | |
189 | 169 | done; \ |
190 | 170 | fi |
191 | 171 | gtkdoc-mktmpl --module=$(DOC_MODULE) | tee tmpl-build.log |
201 | 181 | #### build xml; done on every build #### |
202 | 182 | |
203 | 183 | ### 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) | |
205 | 185 | @echo '*** Building XML ***' |
206 | 186 | @-mkdir -p xml |
207 | 187 | @for a in $(srcdir)/inspect/*.xml; do \ |
253 | 233 | rm -rf xml tmpl html |
254 | 234 | # clean files copied for nonsrcdir templates build |
255 | 235 | 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); \ | |
258 | 237 | fi |
259 | 238 | else |
260 | 239 | all-local: |
293 | 272 | $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp \ |
294 | 273 | $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \ |
295 | 274 | 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; \ | |
298 | 277 | fi; \ |
299 | fi) | |
278 | (which gtkdoc-rebase >/dev/null && \ | |
279 | gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \ | |
280 | fi) | |
300 | 281 | 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; \ | |
304 | 285 | 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; | |
331 | 288 | |
332 | 289 | # |
333 | 290 | # Checks |
381 | 338 | fi |
382 | 339 | touch scanobj-trans-build.stamp |
383 | 340 | |
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 | ||
384 | 364 | # |
385 | 365 | # Require gtk-doc when making dist |
386 | 366 | # |
393 | 373 | endif |
394 | 374 | |
395 | 375 | # 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 | |
396 | 379 | dist-hook: dist-check-gtkdoc dist-hook-local |
397 | 380 | mkdir $(distdir)/html |
398 | 381 | cp html/* $(distdir)/html |
399 | 382 | -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ |
400 | 383 | -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ |
401 | -cp $(srcdir)/html/$(DOC_MODULE).devhelp* $(distdir)/html | |
402 | 384 | 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 |
0 | 0 | #! /bin/sh |
1 | 1 | # 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. | |
3 | 3 | # |
4 | 4 | # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight>. |
5 | 5 | # |
172 | 172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | 173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
174 | 174 | 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 | |
175 | 183 | test \$(( 1 + 1 )) = 2 || exit 1" |
176 | 184 | if (eval "$as_required") 2>/dev/null; then : |
177 | 185 | as_have_required=yes |
528 | 536 | # Sed expression to map a string onto a valid variable name. |
529 | 537 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
530 | 538 | |
531 | ||
532 | ||
533 | # Check that we are running under the correct shell. | |
534 | 539 | 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 | ||
679 | 540 | |
680 | 541 | |
681 | 542 | test -n "$DJDIR" || exec 7<&0 </dev/null |
701 | 562 | # Identity of this package. |
702 | 563 | PACKAGE_NAME='Farsight2' |
703 | 564 | 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' | |
706 | 567 | PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight' |
707 | 568 | PACKAGE_URL='' |
708 | 569 | |
871 | 732 | LIPO |
872 | 733 | NMEDIT |
873 | 734 | DSYMUTIL |
874 | lt_ECHO | |
875 | 735 | RANLIB |
876 | 736 | AR |
877 | 737 | OBJDUMP |
1590 | 1450 | # Omit some internal or obsolete options to make the list less imposing. |
1591 | 1451 | # This message is too long to be a string in the A/UX 3.1 sh. |
1592 | 1452 | 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. | |
1594 | 1454 | |
1595 | 1455 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1596 | 1456 | |
1660 | 1520 | |
1661 | 1521 | if test -n "$ac_init_help"; then |
1662 | 1522 | 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:";; | |
1664 | 1524 | esac |
1665 | 1525 | cat <<\_ACEOF |
1666 | 1526 | |
1831 | 1691 | test -n "$ac_init_help" && exit $ac_status |
1832 | 1692 | if $ac_init_version; then |
1833 | 1693 | cat <<\_ACEOF |
1834 | Farsight2 configure 0.0.22 | |
1694 | Farsight2 configure 0.0.23 | |
1835 | 1695 | generated by GNU Autoconf 2.66 |
1836 | 1696 | |
1837 | 1697 | Copyright (C) 2010 Free Software Foundation, Inc. |
2303 | 2163 | This file contains any messages produced by compilers while |
2304 | 2164 | running configure, to aid debugging if configure makes a mistake. |
2305 | 2165 | |
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 | |
2307 | 2167 | generated by GNU Autoconf 2.66. Invocation command line was |
2308 | 2168 | |
2309 | 2169 | $ $0 $@ |
3123 | 2983 | |
3124 | 2984 | # Define the identity of the package. |
3125 | 2985 | PACKAGE='farsight2' |
3126 | VERSION='0.0.22' | |
2986 | VERSION='0.0.23' | |
3127 | 2987 | |
3128 | 2988 | |
3129 | 2989 | cat >>confdefs.h <<_ACEOF |
3165 | 3025 | |
3166 | 3026 | |
3167 | 3027 | |
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) | |
3171 | 3031 | |
3172 | 3032 | |
3173 | 3033 | |
3178 | 3038 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5 |
3179 | 3039 | $as_echo_n "checking nano version... " >&6; } |
3180 | 3040 | |
3181 | NANO=$(echo 0.0.22 | cut -d'.' -f4) | |
3041 | NANO=$(echo 0.0.23 | cut -d'.' -f4) | |
3182 | 3042 | |
3183 | 3043 | if test x"$NANO" = x || test "x$NANO" = "x0" ; then |
3184 | 3044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5 |
3305 | 3165 | |
3306 | 3166 | |
3307 | 3167 | FS2_CURRENT=5 |
3308 | FS2_REVISION=2 | |
3168 | FS2_REVISION=3 | |
3309 | 3169 | FS2_AGE=5 |
3310 | FS2_LIBVERSION=5:2:5 | |
3170 | FS2_LIBVERSION=5:3:5 | |
3311 | 3171 | |
3312 | 3172 | |
3313 | 3173 | |
3335 | 3195 | |
3336 | 3196 | |
3337 | 3197 | |
3338 | macro_version='2.2.6b' | |
3339 | macro_revision='1.3017' | |
3198 | macro_version='2.2.10' | |
3199 | macro_revision='1.3175' | |
3340 | 3200 | |
3341 | 3201 | |
3342 | 3202 | |
3351 | 3211 | |
3352 | 3212 | |
3353 | 3213 | 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 | ||
3354 | 3283 | |
3355 | 3284 | DEPDIR="${am__leading_dot}deps" |
3356 | 3285 | |
4796 | 4725 | NM="$lt_cv_path_NM" |
4797 | 4726 | else |
4798 | 4727 | # 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" | |
4801 | 4733 | do |
4802 | 4734 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4803 | 4735 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4841 | 4773 | fi |
4842 | 4774 | if test -z "$DUMPBIN"; then |
4843 | 4775 | ac_ct_DUMPBIN=$DUMPBIN |
4844 | for ac_prog in "dumpbin -symbols" "link -dump -symbols" | |
4776 | for ac_prog in dumpbin "link -dump" | |
4845 | 4777 | do |
4846 | 4778 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4847 | 4779 | set dummy $ac_prog; ac_word=$2 |
4896 | 4828 | fi |
4897 | 4829 | fi |
4898 | 4830 | |
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 | |
4899 | 4840 | |
4900 | 4841 | if test "$DUMPBIN" != ":"; then |
4901 | 4842 | NM="$DUMPBIN" |
4915 | 4856 | else |
4916 | 4857 | lt_cv_nm_interface="BSD nm" |
4917 | 4858 | 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) | |
4919 | 4860 | (eval "$ac_compile" 2>conftest.err) |
4920 | 4861 | 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) | |
4922 | 4863 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
4923 | 4864 | cat conftest.err >&5 |
4924 | (eval echo "\"\$as_me:4925: output\"" >&5) | |
4865 | (eval echo "\"\$as_me:$LINENO: output\"" >&5) | |
4925 | 4866 | cat conftest.out >&5 |
4926 | 4867 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
4927 | 4868 | lt_cv_nm_interface="MS dumpbin" |
4975 | 4916 | # the test eventually succeeds (with a max line length of 256k). |
4976 | 4917 | # Instead, let's just punt: use the minimum linelength reported by |
4977 | 4918 | # 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. | |
4978 | 4924 | lt_cv_sys_max_cmd_len=8192; |
4979 | 4925 | ;; |
4980 | 4926 | |
5042 | 4988 | # If test is not a shell built-in, we'll probably end up computing a |
5043 | 4989 | # maximum length that is only half of the actual maximum length, but |
5044 | 4990 | # 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 && | |
5047 | 4993 | test $i != 17 # 1/2 MB should be enough |
5048 | 4994 | do |
5049 | 4995 | i=`expr $i + 1` |
5314 | 5260 | # Base MSYS/MinGW do not provide the 'file' command needed by |
5315 | 5261 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
5316 | 5262 | # 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 | |
5318 | 5265 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5319 | 5266 | lt_cv_file_magic_cmd='func_win32_libid' |
5320 | 5267 | 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)' | |
5322 | 5270 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
5323 | 5271 | fi |
5324 | 5272 | ;; |
5325 | 5273 | |
5326 | cegcc) | |
5274 | cegcc*) | |
5327 | 5275 | # use the weaker test based on 'objdump'. See mingw*. |
5328 | 5276 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
5329 | 5277 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
5353 | 5301 | lt_cv_deplibs_check_method=pass_all |
5354 | 5302 | ;; |
5355 | 5303 | |
5304 | haiku*) | |
5305 | lt_cv_deplibs_check_method=pass_all | |
5306 | ;; | |
5307 | ||
5356 | 5308 | hpux10.20* | hpux11*) |
5357 | 5309 | lt_cv_file_magic_cmd=/usr/bin/file |
5358 | 5310 | case $host_cpu in |
5361 | 5313 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
5362 | 5314 | ;; |
5363 | 5315 | 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]' | |
5365 | 5317 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5366 | 5318 | ;; |
5367 | 5319 | *) |
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' | |
5369 | 5321 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5370 | 5322 | ;; |
5371 | 5323 | esac |
5387 | 5339 | ;; |
5388 | 5340 | |
5389 | 5341 | # This must be Linux ELF. |
5390 | linux* | k*bsd*-gnu) | |
5342 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
5391 | 5343 | lt_cv_deplibs_check_method=pass_all |
5392 | 5344 | ;; |
5393 | 5345 | |
5803 | 5755 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
5804 | 5756 | fi |
5805 | 5757 | |
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 | ||
5806 | 5770 | |
5807 | 5771 | |
5808 | 5772 | |
5972 | 5936 | test $ac_status = 0; }; then |
5973 | 5937 | # Now try to grab the symbols. |
5974 | 5938 | 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 | |
5977 | 5941 | ac_status=$? |
5978 | 5942 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5979 | 5943 | test $ac_status = 0; } && test -s "$nlist"; then |
6127 | 6091 | ;; |
6128 | 6092 | *-*-irix6*) |
6129 | 6093 | # Find out which ABI we are using. |
6130 | echo '#line 6131 "configure"' > conftest.$ac_ext | |
6094 | echo '#line '$LINENO' "configure"' > conftest.$ac_ext | |
6131 | 6095 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6132 | 6096 | (eval $ac_compile) 2>&5 |
6133 | 6097 | ac_status=$? |
6839 | 6803 | fi |
6840 | 6804 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
6841 | 6805 | $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; } | |
6842 | 6838 | case $host_os in |
6843 | 6839 | rhapsody* | darwin1.[012]) |
6844 | 6840 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
6866 | 6862 | else |
6867 | 6863 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
6868 | 6864 | fi |
6869 | if test "$DSYMUTIL" != ":"; then | |
6865 | if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | |
6870 | 6866 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
6871 | 6867 | else |
6872 | 6868 | _lt_dsymutil= |
7156 | 7152 | |
7157 | 7153 | |
7158 | 7154 | |
7155 | ||
7156 | ||
7159 | 7157 | # Set options |
7160 | 7158 | |
7161 | 7159 | |
7306 | 7304 | |
7307 | 7305 | |
7308 | 7306 | |
7307 | ||
7309 | 7308 | test -z "$LN_S" && LN_S="ln -s" |
7310 | 7309 | |
7311 | 7310 | |
7351 | 7350 | cat >>confdefs.h <<_ACEOF |
7352 | 7351 | #define LT_OBJDIR "$lt_cv_objdir/" |
7353 | 7352 | _ACEOF |
7354 | ||
7355 | ||
7356 | ||
7357 | ||
7358 | ||
7359 | ||
7360 | ||
7361 | ||
7362 | ||
7363 | ||
7364 | ||
7365 | ||
7366 | ||
7367 | 7353 | |
7368 | 7354 | |
7369 | 7355 | |
7380 | 7366 | ;; |
7381 | 7367 | esac |
7382 | 7368 | |
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 | ||
7400 | 7369 | # Global variables: |
7401 | 7370 | ofile=libtool |
7402 | 7371 | can_build_shared=yes |
7425 | 7394 | *) break;; |
7426 | 7395 | esac |
7427 | 7396 | 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-%%"` | |
7429 | 7398 | |
7430 | 7399 | |
7431 | 7400 | # Only perform the check for file, if the check method requires it |
7634 | 7603 | lt_prog_compiler_no_builtin_flag= |
7635 | 7604 | |
7636 | 7605 | 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 | |
7638 | 7612 | |
7639 | 7613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7640 | 7614 | $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
7654 | 7628 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7655 | 7629 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7656 | 7630 | -e 's:$: $lt_compiler_flag:'` |
7657 | (eval echo "\"\$as_me:7658: $lt_compile\"" >&5) | |
7631 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
7658 | 7632 | (eval "$lt_compile" 2>conftest.err) |
7659 | 7633 | ac_status=$? |
7660 | 7634 | cat conftest.err >&5 |
7661 | echo "$as_me:7662: \$? = $ac_status" >&5 | |
7635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7662 | 7636 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7663 | 7637 | # The compiler can only warn and ignore the option if not recognized |
7664 | 7638 | # 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 | |
7666 | 7640 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
7667 | 7641 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
7668 | 7642 | lt_cv_prog_compiler_rtti_exceptions=yes |
7740 | 7714 | lt_prog_compiler_pic='-fno-common' |
7741 | 7715 | ;; |
7742 | 7716 | |
7717 | haiku*) | |
7718 | # PIC is the default for Haiku. | |
7719 | # The "-static" flag exists, but is broken. | |
7720 | lt_prog_compiler_static= | |
7721 | ;; | |
7722 | ||
7743 | 7723 | hpux*) |
7744 | 7724 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
7745 | 7725 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
7780 | 7760 | |
7781 | 7761 | *) |
7782 | 7762 | 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' | |
7783 | 7770 | ;; |
7784 | 7771 | esac |
7785 | 7772 | else |
7823 | 7810 | lt_prog_compiler_static='-non_shared' |
7824 | 7811 | ;; |
7825 | 7812 | |
7826 | linux* | k*bsd*-gnu) | |
7813 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
7827 | 7814 | case $cc_basename in |
7828 | 7815 | # old Intel for x86_64 which still supported -KPIC. |
7829 | 7816 | ecc*) |
7844 | 7831 | lt_prog_compiler_pic='--shared' |
7845 | 7832 | lt_prog_compiler_static='--static' |
7846 | 7833 | ;; |
7847 | pgcc* | pgf77* | pgf90* | pgf95*) | |
7834 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | |
7848 | 7835 | # Portland Group compilers (*not* the Pentium gcc compiler, |
7849 | 7836 | # which looks to be a dead project) |
7850 | 7837 | lt_prog_compiler_wl='-Wl,' |
7856 | 7843 | # All Alpha code is PIC. |
7857 | 7844 | lt_prog_compiler_static='-non_shared' |
7858 | 7845 | ;; |
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 | |
7861 | 7848 | lt_prog_compiler_wl='-Wl,' |
7862 | 7849 | lt_prog_compiler_pic='-qpic' |
7863 | 7850 | lt_prog_compiler_static='-qstaticlink' |
7864 | 7851 | ;; |
7865 | 7852 | *) |
7866 | 7853 | 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 | ;; | |
7867 | 7860 | *Sun\ C*) |
7868 | 7861 | # Sun C 5.9 |
7869 | 7862 | lt_prog_compiler_pic='-KPIC' |
7870 | 7863 | lt_prog_compiler_static='-Bstatic' |
7871 | 7864 | lt_prog_compiler_wl='-Wl,' |
7872 | 7865 | ;; |
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 | ;; | |
7879 | 7866 | esac |
7880 | 7867 | ;; |
7881 | 7868 | esac |
7906 | 7893 | lt_prog_compiler_pic='-KPIC' |
7907 | 7894 | lt_prog_compiler_static='-Bstatic' |
7908 | 7895 | case $cc_basename in |
7909 | f77* | f90* | f95*) | |
7896 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | |
7910 | 7897 | lt_prog_compiler_wl='-Qoption ld ';; |
7911 | 7898 | *) |
7912 | 7899 | lt_prog_compiler_wl='-Wl,';; |
7993 | 7980 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7994 | 7981 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7995 | 7982 | -e 's:$: $lt_compiler_flag:'` |
7996 | (eval echo "\"\$as_me:7997: $lt_compile\"" >&5) | |
7983 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
7997 | 7984 | (eval "$lt_compile" 2>conftest.err) |
7998 | 7985 | ac_status=$? |
7999 | 7986 | cat conftest.err >&5 |
8000 | echo "$as_me:8001: \$? = $ac_status" >&5 | |
7987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8001 | 7988 | if (exit $ac_status) && test -s "$ac_outfile"; then |
8002 | 7989 | # The compiler can only warn and ignore the option if not recognized |
8003 | 7990 | # 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 | |
8005 | 7992 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8006 | 7993 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8007 | 7994 | lt_cv_prog_compiler_pic_works=yes |
8049 | 8036 | if test -s conftest.err; then |
8050 | 8037 | # Append any errors to the config.log. |
8051 | 8038 | 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 | |
8053 | 8040 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8054 | 8041 | if diff conftest.exp conftest.er2 >/dev/null; then |
8055 | 8042 | lt_cv_prog_compiler_static_works=yes |
8098 | 8085 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8099 | 8086 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8100 | 8087 | -e 's:$: $lt_compiler_flag:'` |
8101 | (eval echo "\"\$as_me:8102: $lt_compile\"" >&5) | |
8088 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
8102 | 8089 | (eval "$lt_compile" 2>out/conftest.err) |
8103 | 8090 | ac_status=$? |
8104 | 8091 | cat out/conftest.err >&5 |
8105 | echo "$as_me:8106: \$? = $ac_status" >&5 | |
8092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8106 | 8093 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8107 | 8094 | then |
8108 | 8095 | # The compiler can only warn and ignore the option if not recognized |
8109 | 8096 | # 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 | |
8111 | 8098 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8112 | 8099 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
8113 | 8100 | lt_cv_prog_compiler_c_o=yes |
8153 | 8140 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8154 | 8141 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8155 | 8142 | -e 's:$: $lt_compiler_flag:'` |
8156 | (eval echo "\"\$as_me:8157: $lt_compile\"" >&5) | |
8143 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
8157 | 8144 | (eval "$lt_compile" 2>out/conftest.err) |
8158 | 8145 | ac_status=$? |
8159 | 8146 | cat out/conftest.err >&5 |
8160 | echo "$as_me:8161: \$? = $ac_status" >&5 | |
8147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8161 | 8148 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8162 | 8149 | then |
8163 | 8150 | # The compiler can only warn and ignore the option if not recognized |
8164 | 8151 | # 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 | |
8166 | 8153 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8167 | 8154 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
8168 | 8155 | lt_cv_prog_compiler_c_o=yes |
8275 | 8262 | esac |
8276 | 8263 | |
8277 | 8264 | 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 | |
8278 | 8269 | 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 | |
8279 | 8292 | # If archive_cmds runs LD, not CC, wlarc should be empty |
8280 | 8293 | wlarc='${wl}' |
8281 | 8294 | |
8293 | 8306 | fi |
8294 | 8307 | supports_anon_versioning=no |
8295 | 8308 | case `$LD -v 2>&1` in |
8309 | *GNU\ gold*) supports_anon_versioning=yes ;; | |
8296 | 8310 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
8297 | 8311 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
8298 | 8312 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
8308 | 8322 | ld_shlibs=no |
8309 | 8323 | cat <<_LT_EOF 1>&2 |
8310 | 8324 | |
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 | |
8312 | 8326 | *** to be unable to reliably create shared libraries on AIX. |
8313 | 8327 | *** 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. | |
8316 | 8331 | |
8317 | 8332 | _LT_EOF |
8318 | 8333 | fi |
8348 | 8363 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
8349 | 8364 | # as there is no search path for DLLs. |
8350 | 8365 | hardcode_libdir_flag_spec='-L$libdir' |
8366 | export_dynamic_flag_spec='${wl}--export-all-symbols' | |
8351 | 8367 | allow_undefined_flag=unsupported |
8352 | 8368 | always_export_symbols=no |
8353 | 8369 | enable_shared_with_static_runtimes=yes |
8369 | 8385 | fi |
8370 | 8386 | ;; |
8371 | 8387 | |
8388 | haiku*) | |
8389 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
8390 | link_all_deplibs=yes | |
8391 | ;; | |
8392 | ||
8372 | 8393 | interix[3-9]*) |
8373 | 8394 | hardcode_direct=no |
8374 | 8395 | hardcode_shlibpath_var=no |
8384 | 8405 | 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' |
8385 | 8406 | ;; |
8386 | 8407 | |
8387 | gnu* | linux* | tpf* | k*bsd*-gnu) | |
8408 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
8388 | 8409 | tmp_diet=no |
8389 | 8410 | if test "$host_os" = linux-dietlibc; then |
8390 | 8411 | case $cc_basename in |
8398 | 8419 | tmp_sharedflag='-shared' |
8399 | 8420 | case $cc_basename,$host_cpu in |
8400 | 8421 | 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' | |
8402 | 8423 | tmp_addflag=' $pic_flag' |
8403 | 8424 | ;; |
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' | |
8406 | 8428 | tmp_addflag=' $pic_flag -Mnomain' ;; |
8407 | 8429 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
8408 | 8430 | tmp_addflag=' -i_dynamic' ;; |
8413 | 8435 | lf95*) # Lahey Fortran 8.1 |
8414 | 8436 | whole_archive_flag_spec= |
8415 | 8437 | 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) | |
8417 | 8439 | tmp_sharedflag='-qmkshrobj' |
8418 | 8440 | 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 | ;; | |
8419 | 8445 | esac |
8420 | 8446 | case `$CC -V 2>&1 | sed 5q` in |
8421 | 8447 | *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' | |
8423 | 8449 | compiler_needs_object=yes |
8424 | 8450 | tmp_sharedflag='-G' ;; |
8425 | 8451 | *Sun\ F*) # Sun Fortran 8.3 |
8435 | 8461 | fi |
8436 | 8462 | |
8437 | 8463 | case $cc_basename in |
8438 | xlf*) | |
8464 | xlf* | bgf* | bgxlf* | mpixlf*) | |
8439 | 8465 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
8440 | 8466 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
8441 | 8467 | hardcode_libdir_flag_spec= |
8442 | 8468 | 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' | |
8444 | 8470 | if test "x$supports_anon_versioning" = xyes; then |
8445 | 8471 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
8446 | 8472 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
8447 | 8473 | 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' | |
8449 | 8475 | fi |
8450 | 8476 | ;; |
8451 | 8477 | esac |
8566 | 8592 | else |
8567 | 8593 | # If we're using GNU nm, then we don't want the "-C" option. |
8568 | 8594 | # -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". | |
8569 | 8597 | 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' | |
8571 | 8599 | else |
8572 | 8600 | 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' |
8573 | 8601 | fi |
8685 | 8713 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
8686 | 8714 | |
8687 | 8715 | 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" | |
8689 | 8717 | else |
8690 | 8718 | if test "$host_cpu" = ia64; then |
8691 | 8719 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
8729 | 8757 | # -berok will link without error, but may produce a broken library. |
8730 | 8758 | no_undefined_flag=' ${wl}-bernotok' |
8731 | 8759 | 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 | |
8734 | 8767 | archive_cmds_need_lc=yes |
8735 | 8768 | # This is similar to how AIX traditionally builds its shared libraries. |
8736 | 8769 | 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' |
8769 | 8802 | # Tell ltmain to make .dll files, not .so files. |
8770 | 8803 | shrext_cmds=".dll" |
8771 | 8804 | # 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=' | |
8773 | 8806 | # The linker will automatically build a .lib file if we build a DLL. |
8774 | 8807 | old_archive_from_new_cmds='true' |
8775 | 8808 | # FIXME: Should let the user specify the lib program. |
8785 | 8818 | hardcode_direct=no |
8786 | 8819 | hardcode_automatic=yes |
8787 | 8820 | 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 | |
8789 | 8826 | link_all_deplibs=yes |
8790 | 8827 | allow_undefined_flag="$_lt_dar_allow_undefined" |
8791 | 8828 | case $cc_basename in |
8793 | 8830 | *) _lt_dar_can_shared=$GCC ;; |
8794 | 8831 | esac |
8795 | 8832 | if test "$_lt_dar_can_shared" = "yes"; then |
8796 | output_verbose_link_cmd=echo | |
8833 | output_verbose_link_cmd=func_echo_all | |
8797 | 8834 | archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
8798 | 8835 | module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
8799 | 8836 | 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}" |
8859 | 8896 | ;; |
8860 | 8897 | |
8861 | 8898 | hpux10*) |
8862 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
8899 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
8863 | 8900 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
8864 | 8901 | else |
8865 | 8902 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
8878 | 8915 | ;; |
8879 | 8916 | |
8880 | 8917 | hpux11*) |
8881 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
8918 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
8882 | 8919 | case $host_cpu in |
8883 | 8920 | hppa*64*) |
8884 | 8921 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8899 | 8936 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
8900 | 8937 | ;; |
8901 | 8938 | *) |
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 | ||
8903 | 8979 | ;; |
8904 | 8980 | esac |
8905 | 8981 | fi |
8927 | 9003 | |
8928 | 9004 | irix5* | irix6* | nonstopux*) |
8929 | 9005 | 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' | |
8931 | 9007 | # Try to use the -exported_symbol ld option, if it does not |
8932 | 9008 | # work, assume that -exports_file does not work either and |
8933 | 9009 | # implicitly export all symbols. |
8938 | 9014 | int foo(void) {} |
8939 | 9015 | _ACEOF |
8940 | 9016 | 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' | |
8942 | 9018 | |
8943 | 9019 | fi |
8944 | 9020 | rm -f core conftest.err conftest.$ac_objext \ |
8945 | 9021 | conftest$ac_exeext conftest.$ac_ext |
8946 | 9022 | LDFLAGS="$save_LDFLAGS" |
8947 | 9023 | 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' | |
8950 | 9026 | fi |
8951 | 9027 | archive_cmds_need_lc='no' |
8952 | 9028 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9008 | 9084 | hardcode_libdir_flag_spec='-L$libdir' |
9009 | 9085 | hardcode_minus_L=yes |
9010 | 9086 | 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' | |
9012 | 9088 | old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
9013 | 9089 | ;; |
9014 | 9090 | |
9015 | 9091 | osf3*) |
9016 | 9092 | if test "$GCC" = yes; then |
9017 | 9093 | 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' | |
9019 | 9095 | else |
9020 | 9096 | 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' | |
9022 | 9098 | fi |
9023 | 9099 | archive_cmds_need_lc='no' |
9024 | 9100 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9028 | 9104 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
9029 | 9105 | if test "$GCC" = yes; then |
9030 | 9106 | 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' | |
9032 | 9108 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9033 | 9109 | else |
9034 | 9110 | 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' | |
9036 | 9112 | 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' | |
9038 | 9114 | |
9039 | 9115 | # Both c and cxx compiler support -rpath directly |
9040 | 9116 | hardcode_libdir_flag_spec='-rpath $libdir' |
9237 | 9313 | # to ld, don't add -lc before -lgcc. |
9238 | 9314 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
9239 | 9315 | $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 | |
9244 | 9323 | (eval $ac_compile) 2>&5 |
9245 | 9324 | ac_status=$? |
9246 | 9325 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
9247 | 9326 | 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 | |
9262 | 9341 | (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
9263 | 9342 | ac_status=$? |
9264 | 9343 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
9265 | 9344 | 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 | |
9278 | 9360 | ;; |
9279 | 9361 | esac |
9280 | 9362 | fi |
9445 | 9527 | darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
9446 | 9528 | *) lt_awk_arg="/^libraries:/" ;; |
9447 | 9529 | 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 | *\;*) | |
9450 | 9537 | # if the path contains ";" then we assume it to be the separator |
9451 | 9538 | # otherwise default to the standard path separator (i.e. ":") - it is |
9452 | 9539 | # assumed that no part of a normal pathname contains ";" but that should |
9453 | 9540 | # 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 | |
9458 | 9547 | # Ok, now we have the path, separated by spaces, we can step through it |
9459 | 9548 | # and add multilib dir if necessary. |
9460 | 9549 | lt_tmp_lt_search_path_spec= |
9467 | 9556 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
9468 | 9557 | fi |
9469 | 9558 | 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 ' | |
9471 | 9560 | BEGIN {RS=" "; FS="/|\n";} { |
9472 | 9561 | lt_foo=""; |
9473 | 9562 | lt_count=0; |
9487 | 9576 | if (lt_foo != "") { lt_freq[lt_foo]++; } |
9488 | 9577 | if (lt_freq[lt_foo] == 1) { print lt_foo; } |
9489 | 9578 | }'` |
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` | |
9491 | 9586 | else |
9492 | 9587 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
9493 | 9588 | fi |
9575 | 9670 | m68k) |
9576 | 9671 | library_names_spec='$libname.ixlibrary $libname.a' |
9577 | 9672 | # 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' | |
9579 | 9674 | ;; |
9580 | 9675 | esac |
9581 | 9676 | ;; |
9628 | 9723 | cygwin*) |
9629 | 9724 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
9630 | 9725 | 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" | |
9632 | 9728 | ;; |
9633 | 9729 | mingw* | cegcc*) |
9634 | 9730 | # MinGW DLLs use traditional 'lib' prefix |
9635 | 9731 | 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 | |
9648 | 9732 | ;; |
9649 | 9733 | pw32*) |
9650 | 9734 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
9701 | 9785 | *) objformat=elf ;; |
9702 | 9786 | esac |
9703 | 9787 | 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 | |
9712 | 9789 | case $version_type in |
9713 | 9790 | freebsd-elf*) |
9714 | 9791 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
9718 | 9795 | freebsd-*) |
9719 | 9796 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
9720 | 9797 | 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 | |
9727 | 9798 | ;; |
9728 | 9799 | esac |
9729 | 9800 | shlibpath_var=LD_LIBRARY_PATH |
9754 | 9825 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
9755 | 9826 | soname_spec='${libname}${release}${shared_ext}$major' |
9756 | 9827 | 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' | |
9757 | 9841 | hardcode_into_libs=yes |
9758 | 9842 | ;; |
9759 | 9843 | |
9799 | 9883 | soname_spec='${libname}${release}${shared_ext}$major' |
9800 | 9884 | ;; |
9801 | 9885 | 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, ... | |
9803 | 9887 | postinstall_cmds='chmod 555 $lib' |
9888 | # or fails outright, so override atomically: | |
9889 | install_override_mode=555 | |
9804 | 9890 | ;; |
9805 | 9891 | |
9806 | 9892 | interix[3-9]*) |
9858 | 9944 | ;; |
9859 | 9945 | |
9860 | 9946 | # This must be Linux ELF. |
9861 | linux* | k*bsd*-gnu) | |
9947 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
9862 | 9948 | version_type=linux |
9863 | 9949 | need_lib_prefix=no |
9864 | 9950 | need_version=no |
9867 | 9953 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
9868 | 9954 | shlibpath_var=LD_LIBRARY_PATH |
9869 | 9955 | shlibpath_overrides_runpath=no |
9956 | ||
9870 | 9957 | # 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 | |
9876 | 9967 | /* end confdefs.h. */ |
9877 | 9968 | |
9878 | 9969 | int |
9885 | 9976 | _ACEOF |
9886 | 9977 | if ac_fn_c_try_link "$LINENO"; then : |
9887 | 9978 | 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 | |
9889 | 9980 | fi |
9890 | 9981 | fi |
9891 | 9982 | rm -f core conftest.err conftest.$ac_objext \ |
9892 | 9983 | 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 | |
9895 | 9990 | |
9896 | 9991 | # This implies no fast_install, which is unacceptable. |
9897 | 9992 | # Some rework will be needed to allow for fast_install |
9898 | 9993 | # before this can be enabled. |
9899 | 9994 | hardcode_into_libs=yes |
9900 | 9995 | |
9996 | # Add ABI-specific directories to the system library path. | |
9997 | sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" | |
9998 | ||
9901 | 9999 | # Append ld.so.conf contents to the search path |
9902 | 10000 | 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 | ||
9905 | 10004 | fi |
9906 | 10005 | |
9907 | 10006 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
10203 | 10302 | |
10204 | 10303 | |
10205 | 10304 | |
10305 | ||
10306 | ||
10307 | ||
10308 | ||
10309 | ||
10206 | 10310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
10207 | 10311 | $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
10208 | 10312 | hardcode_action= |
10533 | 10637 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10534 | 10638 | lt_status=$lt_dlunknown |
10535 | 10639 | cat > conftest.$ac_ext <<_LT_EOF |
10536 | #line 10537 "configure" | |
10640 | #line $LINENO "configure" | |
10537 | 10641 | #include "confdefs.h" |
10538 | 10642 | |
10539 | 10643 | #if HAVE_DLFCN_H |
10574 | 10678 | # endif |
10575 | 10679 | #endif |
10576 | 10680 | |
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; } | |
10578 | 10688 | int main () |
10579 | 10689 | { |
10580 | 10690 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
10583 | 10693 | if (self) |
10584 | 10694 | { |
10585 | 10695 | 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 | } | |
10587 | 10701 | /* dlclose (self); */ |
10588 | 10702 | } |
10589 | 10703 | else |
10629 | 10743 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10630 | 10744 | lt_status=$lt_dlunknown |
10631 | 10745 | cat > conftest.$ac_ext <<_LT_EOF |
10632 | #line 10633 "configure" | |
10746 | #line $LINENO "configure" | |
10633 | 10747 | #include "confdefs.h" |
10634 | 10748 | |
10635 | 10749 | #if HAVE_DLFCN_H |
10670 | 10784 | # endif |
10671 | 10785 | #endif |
10672 | 10786 | |
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; } | |
10674 | 10794 | int main () |
10675 | 10795 | { |
10676 | 10796 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
10679 | 10799 | if (self) |
10680 | 10800 | { |
10681 | 10801 | 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 | } | |
10683 | 10807 | /* dlclose (self); */ |
10684 | 10808 | } |
10685 | 10809 | else |
11487 | 11611 | |
11488 | 11612 | |
11489 | 11613 | |
11490 | NICE_REQUIRED=0.0.9 | |
11614 | NICE_REQUIRED=0.1.0 | |
11491 | 11615 | |
11492 | 11616 | |
11493 | 11617 | pkg_failed=no |
15814 | 15938 | # report actual input values of CONFIG_FILES etc. instead of their |
15815 | 15939 | # values after options handling. |
15816 | 15940 | 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 | |
15818 | 15942 | generated by GNU Autoconf 2.66. Invocation command line was |
15819 | 15943 | |
15820 | 15944 | CONFIG_FILES = $CONFIG_FILES |
15880 | 16004 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15881 | 16005 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15882 | 16006 | ac_cs_version="\\ |
15883 | Farsight2 config.status 0.0.22 | |
16007 | Farsight2 config.status 0.0.23 | |
15884 | 16008 | configured by $0, generated by GNU Autoconf 2.66, |
15885 | 16009 | with options \\"\$ac_cs_config\\" |
15886 | 16010 | |
16003 | 16127 | sed_quote_subst='$sed_quote_subst' |
16004 | 16128 | double_quote_subst='$double_quote_subst' |
16005 | 16129 | 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"`' | |
16124 | 16250 | |
16125 | 16251 | LTCC='$LTCC' |
16126 | 16252 | LTCFLAGS='$LTCFLAGS' |
16127 | 16253 | compiler='$compiler_DEFAULT' |
16128 | 16254 | |
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 | ||
16129 | 16263 | # Quote evaled strings. |
16130 | for var in SED \ | |
16264 | for var in SHELL \ | |
16265 | ECHO \ | |
16266 | SED \ | |
16131 | 16267 | GREP \ |
16132 | 16268 | EGREP \ |
16133 | 16269 | FGREP \ |
16151 | 16287 | lt_cv_sys_global_symbol_to_cdecl \ |
16152 | 16288 | lt_cv_sys_global_symbol_to_c_name_address \ |
16153 | 16289 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
16154 | SHELL \ | |
16155 | ECHO \ | |
16156 | 16290 | lt_prog_compiler_no_builtin_flag \ |
16157 | 16291 | lt_prog_compiler_wl \ |
16158 | 16292 | lt_prog_compiler_pic \ |
16182 | 16316 | libname_spec \ |
16183 | 16317 | library_names_spec \ |
16184 | 16318 | soname_spec \ |
16319 | install_override_mode \ | |
16185 | 16320 | finish_eval \ |
16186 | 16321 | old_striplib \ |
16187 | 16322 | striplib; do |
16188 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | |
16323 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
16189 | 16324 | *[\\\\\\\`\\"\\\$]*) |
16190 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
16325 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
16191 | 16326 | ;; |
16192 | 16327 | *) |
16193 | 16328 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
16214 | 16349 | finish_cmds \ |
16215 | 16350 | sys_lib_search_path_spec \ |
16216 | 16351 | sys_lib_dlsearch_path_spec; do |
16217 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | |
16352 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
16218 | 16353 | *[\\\\\\\`\\"\\\$]*) |
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\\"\\\`\\\\\\"" | |
16220 | 16355 | ;; |
16221 | 16356 | *) |
16222 | 16357 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
16223 | 16358 | ;; |
16224 | 16359 | esac |
16225 | 16360 | 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 | |
16232 | 16361 | |
16233 | 16362 | ac_aux_dir='$ac_aux_dir' |
16234 | 16363 | xsi_shell='$xsi_shell' |
17000 | 17129 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
17001 | 17130 | # |
17002 | 17131 | # 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. | |
17004 | 17134 | # Written by Gordon Matzigkeit, 1996 |
17005 | 17135 | # |
17006 | 17136 | # This file is part of GNU Libtool. |
17048 | 17178 | # Whether or not to optimize for fast installation. |
17049 | 17179 | fast_install=$enable_fast_install |
17050 | 17180 | |
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 | ||
17051 | 17187 | # The host system. |
17052 | 17188 | host_alias=$host_alias |
17053 | 17189 | host=$host |
17097 | 17233 | # turn newlines into spaces. |
17098 | 17234 | NL2SP=$lt_lt_NL2SP |
17099 | 17235 | |
17100 | # How to create reloadable object files. | |
17101 | reload_flag=$lt_reload_flag | |
17102 | reload_cmds=$lt_reload_cmds | |
17103 | ||
17104 | 17236 | # An object symbol dumper. |
17105 | 17237 | OBJDUMP=$lt_OBJDUMP |
17106 | 17238 | |
17122 | 17254 | old_postinstall_cmds=$lt_old_postinstall_cmds |
17123 | 17255 | old_postuninstall_cmds=$lt_old_postuninstall_cmds |
17124 | 17256 | |
17257 | # Whether to use a lock for old archive extraction. | |
17258 | lock_old_archive_extraction=$lock_old_archive_extraction | |
17259 | ||
17125 | 17260 | # A C compiler. |
17126 | 17261 | LTCC=$lt_CC |
17127 | 17262 | |
17142 | 17277 | |
17143 | 17278 | # The name of the directory that contains temporary libtool files. |
17144 | 17279 | 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 | |
17151 | 17280 | |
17152 | 17281 | # Used to examine libraries when file_magic_cmd begins with "file". |
17153 | 17282 | MAGIC_CMD=$MAGIC_CMD |
17211 | 17340 | # The coded name of the library, if different from the real name. |
17212 | 17341 | soname_spec=$lt_soname_spec |
17213 | 17342 | |
17343 | # Permission mode override for installation of shared libraries. | |
17344 | install_override_mode=$lt_install_override_mode | |
17345 | ||
17214 | 17346 | # Command to use after installation of a shared archive. |
17215 | 17347 | postinstall_cmds=$lt_postinstall_cmds |
17216 | 17348 | |
17249 | 17381 | |
17250 | 17382 | # The linker used to build libraries. |
17251 | 17383 | LD=$lt_LD |
17384 | ||
17385 | # How to create reloadable object files. | |
17386 | reload_flag=$lt_reload_flag | |
17387 | reload_cmds=$lt_reload_cmds | |
17252 | 17388 | |
17253 | 17389 | # Commands used to build an old-style archive. |
17254 | 17390 | old_archive_cmds=$lt_old_archive_cmds |
17509 | 17645 | func_dirname () |
17510 | 17646 | { |
17511 | 17647 | # Extract subdirectory from the argument. |
17512 | func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` | |
17648 | func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` | |
17513 | 17649 | if test "X$func_dirname_result" = "X${1}"; then |
17514 | 17650 | func_dirname_result="${3}" |
17515 | 17651 | else |
17520 | 17656 | # func_basename file |
17521 | 17657 | func_basename () |
17522 | 17658 | { |
17523 | func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` | |
17659 | func_basename_result=`$ECHO "${1}" | $SED "$basename"` | |
17524 | 17660 | } |
17525 | 17661 | |
17526 | 17662 | |
17533 | 17669 | func_stripname () |
17534 | 17670 | { |
17535 | 17671 | 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}\$%%"`;; | |
17540 | 17674 | esac |
17541 | 17675 | } |
17542 | 17676 | |
17547 | 17681 | # func_opt_split |
17548 | 17682 | func_opt_split () |
17549 | 17683 | { |
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"` | |
17552 | 17686 | } |
17553 | 17687 | |
17554 | 17688 | # func_lo2o object |
17555 | 17689 | func_lo2o () |
17556 | 17690 | { |
17557 | func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` | |
17691 | func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` | |
17558 | 17692 | } |
17559 | 17693 | |
17560 | 17694 | # func_xform libobj-or-source |
17561 | 17695 | func_xform () |
17562 | 17696 | { |
17563 | func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` | |
17697 | func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` | |
17564 | 17698 | } |
17565 | 17699 | |
17566 | 17700 | # func_arith arithmetic-term... |
4 | 4 | dnl initialize autoconf |
5 | 5 | dnl releases only do -Wall, cvs and prerelease does -Werror too |
6 | 6 | 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, | |
8 | 8 | https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight, |
9 | 9 | farsight2) |
10 | 10 | |
49 | 49 | dnl - interfaces added -> increment AGE |
50 | 50 | dnl - interfaces removed -> AGE = 0 |
51 | 51 | dnl sets FS2_LT_LDFLAGS |
52 | AS_LIBTOOL(FS2, 5, 2, 5) | |
52 | AS_LIBTOOL(FS2, 5, 3, 5) | |
53 | 53 | |
54 | 54 | dnl FIXME: this macro doesn't actually work; |
55 | 55 | dnl the generated libtool script has no support for the listed tags. |
160 | 160 | [FS2_TRANSMITTER_PLUGINS_SELECTED=$FS2_TRANSMITTER_PLUGINS_ALL]) |
161 | 161 | |
162 | 162 | |
163 | NICE_REQUIRED=0.0.9 | |
163 | NICE_REQUIRED=0.1.0 | |
164 | 164 | |
165 | 165 | PKG_CHECK_MODULES(NICE, \ |
166 | 166 | nice >= $NICE_REQUIRED,, AC_MSG_ERROR([Need libnice >= $NICE_REQUIRED])) |
290 | 290 | libexecdir = @libexecdir@ |
291 | 291 | localedir = @localedir@ |
292 | 292 | localstatedir = @localstatedir@ |
293 | lt_ECHO = @lt_ECHO@ | |
294 | 293 | mandir = @mandir@ |
295 | 294 | mkdir_p = @mkdir_p@ |
296 | 295 | oldincludedir = @oldincludedir@ |
258 | 258 | libexecdir = @libexecdir@ |
259 | 259 | localedir = @localedir@ |
260 | 260 | localstatedir = @localstatedir@ |
261 | lt_ECHO = @lt_ECHO@ | |
262 | 261 | mandir = @mandir@ |
263 | 262 | mkdir_p = @mkdir_p@ |
264 | 263 | oldincludedir = @oldincludedir@ |
91 | 91 | 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>. |
92 | 92 | </p> |
93 | 93 | <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> | |
95 | 95 | <div class="informalexample"> |
96 | 96 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
97 | 97 | <tbody> |
110 | 110 | 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>. |
111 | 111 | </p> |
112 | 112 | <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> | |
114 | 114 | <div class="informalexample"> |
115 | 115 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
116 | 116 | <tbody> |
130 | 130 | </div> |
131 | 131 | <hr> |
132 | 132 | <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> | |
134 | 134 | <div class="informalexample"> |
135 | 135 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
136 | 136 | <tbody> |
149 | 149 | </div> |
150 | 150 | <hr> |
151 | 151 | <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> | |
153 | 153 | <div class="informalexample"> |
154 | 154 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
155 | 155 | <tbody> |
175 | 175 | </div> |
176 | 176 | <hr> |
177 | 177 | <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> | |
179 | 179 | <div class="informalexample"> |
180 | 180 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
181 | 181 | <tbody> |
200 | 200 | </div> |
201 | 201 | <hr> |
202 | 202 | <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> | |
204 | 204 | <div class="informalexample"> |
205 | 205 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
206 | 206 | <tbody> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="Farsight GStreamer Interfaces"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl><dt> |
25 | 25 | <span class="refentrytitle"><a href="FsConference.html">FsConference</a></span><span class="refpurpose"> — Interface for farsight conference elements</span> |
26 | 26 | </dt></dl></div> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="Farsight Core Library"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="FsParticipant.html">FsParticipant</a></span><span class="refpurpose"> — A participant in a conference</span> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="Farsight Utility Functions and Objects"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="FsElementAddedNotifier.html">FsElementAddedNotifier</a></span><span class="refpurpose"> — Recursive element addition notifier</span> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="Farsight Classes Base Implementations"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl><dt> |
25 | 25 | <span class="refentrytitle"><a href="FsBaseConference.html">FsBaseConference</a></span><span class="refpurpose"> — Base class for Farsight Conference Gstreamer Elements</span> |
26 | 26 | </dt></dl></div> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="Farsight Transmitter Classes"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="FsTransmitter.html">FsTransmitter</a></span><span class="refpurpose"> — A transmitter object linked to a session</span> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="Farsight Plugins Infrastructure"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl><dt> |
25 | 25 | <span class="refentrytitle"><a href="farsight2-libs-FsPlugin.html">FsPlugin</a></span><span class="refpurpose"> — A class for defining Farsight plugins</span> |
26 | 26 | </dt></dl></div> |
121 | 121 | 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>. |
122 | 122 | </p> |
123 | 123 | <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>" | |
125 | 125 | message</h3> |
126 | 126 | <div class="informalexample"> |
127 | 127 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
147 | 147 | </div> |
148 | 148 | <hr> |
149 | 149 | <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>" | |
151 | 151 | message</h3> |
152 | 152 | <div class="informalexample"> |
153 | 153 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
31 | 31 | </sub> |
32 | 32 | </chapters> |
33 | 33 | <functions> |
34 | <function name="The "farsight-error" message" link="FsConference.html#id425722"/> | |
34 | <function name="The "farsight-error" message" link="FsConference.html#id459650"/> | |
35 | 35 | <function name="FsConference" link="FsConference.html#FsConference-struct"/> |
36 | 36 | <function name="fs_conference_new_session ()" link="FsConference.html#fs-conference-new-session"/> |
37 | 37 | <function name="fs_conference_new_participant ()" link="FsConference.html#fs-conference-new-participant"/> |
44 | 44 | <function name="FS_PARTICIPANT_DATA_UNLOCK()" link="FsParticipant.html#FS-PARTICIPANT-DATA-UNLOCK:CAPS"/> |
45 | 45 | <function name="The "cname" property" link="FsParticipant.html#FsParticipant--cname"/> |
46 | 46 | <function name="The "error" signal" link="FsParticipant.html#FsParticipant-error"/> |
47 | <function name="The "farsight-send-codec-changed" message" link="farsight2-libs-fs-session.html#id483606"/> | |
48 | <function name="The "farsight-codecs-changed" message" link="farsight2-libs-fs-session.html#id483666"/> | |
47 | <function name="The "farsight-send-codec-changed" message" link="farsight2-libs-fs-session.html#id517534"/> | |
48 | <function name="The "farsight-codecs-changed" message" link="farsight2-libs-fs-session.html#id517594"/> | |
49 | 49 | <function name="enum FsDTMFEvent" link="farsight2-libs-fs-session.html#FsDTMFEvent"/> |
50 | 50 | <function name="enum FsDTMFMethod" link="farsight2-libs-fs-session.html#FsDTMFMethod"/> |
51 | 51 | <function name="FsSession" link="farsight2-libs-fs-session.html#FsSession-struct"/> |
68 | 68 | <function name="The "sink-pad" property" link="farsight2-libs-fs-session.html#FsSession--sink-pad"/> |
69 | 69 | <function name="The "tos" property" link="farsight2-libs-fs-session.html#FsSession--tos"/> |
70 | 70 | <function name="The "error" signal" link="farsight2-libs-fs-session.html#FsSession-error"/> |
71 | <function name="The "farsight-new-local-candidate" message" link="FsStream.html#id505530"/> | |
72 | <function name="The "farsight-local-candidates-prepared" message" link="FsStream.html#id505566"/> | |
73 | <function name="The "farsight-new-active-candidate-pair" message" link="FsStream.html#id505595"/> | |
74 | <function name="The "farsight-recv-codecs-changed" message" link="FsStream.html#id505640"/> | |
75 | <function name="The "farsight-component-state-changed" message" link="FsStream.html#id505703"/> | |
71 | <function name="The "farsight-new-local-candidate" message" link="FsStream.html#id539458"/> | |
72 | <function name="The "farsight-local-candidates-prepared" message" link="FsStream.html#id539494"/> | |
73 | <function name="The "farsight-new-active-candidate-pair" message" link="FsStream.html#id539524"/> | |
74 | <function name="The "farsight-recv-codecs-changed" message" link="FsStream.html#id539568"/> | |
75 | <function name="The "farsight-component-state-changed" message" link="FsStream.html#id539632"/> | |
76 | 76 | <function name="FsStream" link="FsStream.html#FsStream-struct"/> |
77 | 77 | <function name="FsStreamClass" link="FsStream.html#FsStreamClass"/> |
78 | 78 | <function name="enum FsStreamDirection" link="FsStream.html#FsStreamDirection"/> |
31 | 31 | </sub> |
32 | 32 | </chapters> |
33 | 33 | <functions> |
34 | <keyword type="" name="The "farsight-error" message" link="FsConference.html#id425722"/> | |
34 | <keyword type="" name="The "farsight-error" message" link="FsConference.html#id459650"/> | |
35 | 35 | <keyword type="struct" name="FsConference" link="FsConference.html#FsConference-struct"/> |
36 | 36 | <keyword type="function" name="fs_conference_new_session ()" link="FsConference.html#fs-conference-new-session"/> |
37 | 37 | <keyword type="function" name="fs_conference_new_participant ()" link="FsConference.html#fs-conference-new-participant"/> |
44 | 44 | <keyword type="macro" name="FS_PARTICIPANT_DATA_UNLOCK()" link="FsParticipant.html#FS-PARTICIPANT-DATA-UNLOCK:CAPS"/> |
45 | 45 | <keyword type="property" name="The "cname" property" link="FsParticipant.html#FsParticipant--cname"/> |
46 | 46 | <keyword type="signal" name="The "error" signal" link="FsParticipant.html#FsParticipant-error"/> |
47 | <keyword type="" name="The "farsight-send-codec-changed" message" link="farsight2-libs-fs-session.html#id483606"/> | |
48 | <keyword type="" name="The "farsight-codecs-changed" message" link="farsight2-libs-fs-session.html#id483666"/> | |
47 | <keyword type="" name="The "farsight-send-codec-changed" message" link="farsight2-libs-fs-session.html#id517534"/> | |
48 | <keyword type="" name="The "farsight-codecs-changed" message" link="farsight2-libs-fs-session.html#id517594"/> | |
49 | 49 | <keyword type="enum" name="enum FsDTMFEvent" link="farsight2-libs-fs-session.html#FsDTMFEvent"/> |
50 | 50 | <keyword type="enum" name="enum FsDTMFMethod" link="farsight2-libs-fs-session.html#FsDTMFMethod"/> |
51 | 51 | <keyword type="struct" name="FsSession" link="farsight2-libs-fs-session.html#FsSession-struct"/> |
68 | 68 | <keyword type="property" name="The "sink-pad" property" link="farsight2-libs-fs-session.html#FsSession--sink-pad"/> |
69 | 69 | <keyword type="property" name="The "tos" property" link="farsight2-libs-fs-session.html#FsSession--tos"/> |
70 | 70 | <keyword type="signal" name="The "error" signal" link="farsight2-libs-fs-session.html#FsSession-error"/> |
71 | <keyword type="" name="The "farsight-new-local-candidate" message" link="FsStream.html#id505530"/> | |
72 | <keyword type="" name="The "farsight-local-candidates-prepared" message" link="FsStream.html#id505566"/> | |
73 | <keyword type="" name="The "farsight-new-active-candidate-pair" message" link="FsStream.html#id505595"/> | |
74 | <keyword type="" name="The "farsight-recv-codecs-changed" message" link="FsStream.html#id505640"/> | |
75 | <keyword type="" name="The "farsight-component-state-changed" message" link="FsStream.html#id505703"/> | |
71 | <keyword type="" name="The "farsight-new-local-candidate" message" link="FsStream.html#id539458"/> | |
72 | <keyword type="" name="The "farsight-local-candidates-prepared" message" link="FsStream.html#id539494"/> | |
73 | <keyword type="" name="The "farsight-new-active-candidate-pair" message" link="FsStream.html#id539524"/> | |
74 | <keyword type="" name="The "farsight-recv-codecs-changed" message" link="FsStream.html#id539568"/> | |
75 | <keyword type="" name="The "farsight-component-state-changed" message" link="FsStream.html#id539632"/> | |
76 | 76 | <keyword type="struct" name="FsStream" link="FsStream.html#FsStream-struct"/> |
77 | 77 | <keyword type="struct" name="FsStreamClass" link="FsStream.html#FsStreamClass"/> |
78 | 78 | <keyword type="enum" name="enum FsStreamDirection" link="FsStream.html#FsStreamDirection"/> |
14 | 14 | <div> |
15 | 15 | <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> |
16 | 16 | <div><p class="releaseinfo"> |
17 | for version 0.0.22. | |
17 | for version 0.0.22.1. | |
18 | 18 | The latest version of this documentation can be found on-line at |
19 | 19 | <a class="ulink" href="http://farsight.freedesktop.org/apidoc/farsight2/" target="_top">http://farsight.freedesktop.org/apidoc/farsight2/</a>. |
20 | 20 | The bases classes are implemented by multiple plugins described in |
20 | 20 | </tr></table> |
21 | 21 | <div class="part" title="Part I. User-oriented classes, interfaces and functions"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"> |
25 | 25 | <p><b>Table of Contents</b></p> |
26 | 26 | <dl> |
20 | 20 | </tr></table> |
21 | 21 | <div class="part" title="Part II. Classes used to implement Farsight plugins"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"> |
25 | 25 | <p><b>Table of Contents</b></p> |
26 | 26 | <dl> |
57 | 57 | $(top_builddir)/transmitters/multicast/libmulticast-transmitter.la \ |
58 | 58 | $(top_builddir)/transmitters/rawudp/librawudp-transmitter.la \ |
59 | 59 | $(top_builddir)/transmitters/nice/libnice-transmitter.la \ |
60 | $(top_builddir)/transmitters/shm/libshm-transmitter.la \ | |
60 | 61 | $(top_builddir)/gst/fsrtpconference/libfsrtpconference_doc.la \ |
61 | 62 | $(top_builddir)/gst/fsmsnconference/libfsmsnconference_doc.la \ |
62 | 63 | $(top_builddir)/gst/funnel/libfsfunnel.la \ |
92 | 93 | $(top_srcdir)/transmitters/multicast/fs-multicast-transmitter.h \ |
93 | 94 | $(top_srcdir)/transmitters/multicast/fs-multicast-stream-transmitter.h \ |
94 | 95 | $(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 | |
96 | 99 | |
97 | 100 | # Images to copy into HTML directory. |
98 | 101 | HTML_IMAGES = |
130 | 133 | #DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt |
131 | 134 | DOC_OVERRIDES = |
132 | 135 | |
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 | |
134 | 137 | |
135 | 138 | update-all: scanobj-trans-build.stamp update |
136 | 139 |
254 | 254 | libexecdir = @libexecdir@ |
255 | 255 | localedir = @localedir@ |
256 | 256 | localstatedir = @localstatedir@ |
257 | lt_ECHO = @lt_ECHO@ | |
258 | 257 | mandir = @mandir@ |
259 | 258 | mkdir_p = @mkdir_p@ |
260 | 259 | oldincludedir = @oldincludedir@ |
332 | 331 | $(top_builddir)/transmitters/multicast/libmulticast-transmitter.la \ |
333 | 332 | $(top_builddir)/transmitters/rawudp/librawudp-transmitter.la \ |
334 | 333 | $(top_builddir)/transmitters/nice/libnice-transmitter.la \ |
334 | $(top_builddir)/transmitters/shm/libshm-transmitter.la \ | |
335 | 335 | $(top_builddir)/gst/fsrtpconference/libfsrtpconference_doc.la \ |
336 | 336 | $(top_builddir)/gst/fsmsnconference/libfsmsnconference_doc.la \ |
337 | 337 | $(top_builddir)/gst/funnel/libfsfunnel.la \ |
367 | 367 | $(top_srcdir)/transmitters/multicast/fs-multicast-transmitter.h \ |
368 | 368 | $(top_srcdir)/transmitters/multicast/fs-multicast-stream-transmitter.h \ |
369 | 369 | $(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 | |
371 | 373 | |
372 | 374 | |
373 | 375 | # Images to copy into HTML directory. |
404 | 406 | # and uncomment this line. |
405 | 407 | #DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt |
406 | 408 | 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 | |
408 | 410 | |
409 | 411 | # We set GPATH here; this gives us semantics for GNU make |
410 | 412 | # which are more like other make's VPATH, when it comes to |
415 | 417 | |
416 | 418 | # thomas: make docs parallel installable |
417 | 419 | TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@ |
420 | MAINTAINER_DOC_STAMPS = \ | |
421 | scanobj-build.stamp \ | |
422 | scanobj-trans-build.stamp | |
423 | ||
418 | 424 | EXTRA_DIST = \ |
425 | $(MAINTAINER_DOC_STAMPS) \ | |
419 | 426 | $(srcdir)/inspect/*.xml \ |
420 | inspect.stamp \ | |
421 | inspect-build.stamp \ | |
422 | 427 | $(SCANOBJ_FILES) \ |
423 | 428 | $(content_files) \ |
424 | 429 | $(extra_files) \ |
427 | 432 | $(DOC_OVERRIDES) \ |
428 | 433 | $(DOC_MODULE)-sections.txt |
429 | 434 | |
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 | |
430 | 438 | DOC_STAMPS = \ |
431 | 439 | scan-build.stamp \ |
432 | 440 | tmpl-build.stamp \ |
435 | 443 | scan.stamp \ |
436 | 444 | tmpl.stamp \ |
437 | 445 | sgml.stamp \ |
438 | html.stamp \ | |
439 | scanobj-build.stamp \ | |
440 | scanobj-trans-build.stamp | |
446 | html.stamp | |
441 | 447 | |
442 | 448 | |
443 | 449 | # files generated/updated by gtkdoc-scangobj |
444 | 450 | 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 \ | |
449 | 455 | $(DOC_MODULE).types \ |
450 | 456 | $(DOC_MODULE).args |
451 | 457 | |
694 | 700 | |
695 | 701 | # update the stuff maintained by doc maintainers |
696 | 702 | update: |
697 | $(MAKE) inspect-update | |
698 | 703 | $(MAKE) scanobj-update |
704 | $(MAKE) check-outdated-docs | |
699 | 705 | |
700 | 706 | @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 | |
701 | 711 | |
702 | 712 | #### scan gobjects; done by documentation maintainer #### |
703 | 713 | @ENABLE_GTK_DOC_TRUE@scanobj-update: |
711 | 721 | # TODO: finish elite script that updates the output files of this step |
712 | 722 | # instead of rewriting them, so that multiple maintainers can generate |
713 | 723 | # 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 | |
715 | 725 | @ENABLE_GTK_DOC_TRUE@ @echo '*** Scanning GObjects ***' |
716 | 726 | @ENABLE_GTK_DOC_TRUE@ if test x"$(srcdir)" != x. ; then \ |
717 | 727 | @ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES); \ |
718 | 728 | @ENABLE_GTK_DOC_TRUE@ do \ |
719 | @ENABLE_GTK_DOC_TRUE@ cp $(srcdir)/$$f . ; \ | |
729 | @ENABLE_GTK_DOC_TRUE@ cp $(srcdir)/$$f . ; \ | |
720 | 730 | @ENABLE_GTK_DOC_TRUE@ done; \ |
721 | 731 | @ENABLE_GTK_DOC_TRUE@ else \ |
722 | @ENABLE_GTK_DOC_TRUE@ $(INSPECT_ENVIRONMENT) \ | |
732 | @ENABLE_GTK_DOC_TRUE@ $(INSPECT_ENVIRONMENT) \ | |
723 | 733 | @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)" \ | |
725 | 735 | @ENABLE_GTK_DOC_TRUE@ LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ |
726 | 736 | @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" && \ | |
728 | 738 | @ENABLE_GTK_DOC_TRUE@ $(PYTHON) \ |
729 | 739 | @ENABLE_GTK_DOC_TRUE@ $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE); \ |
730 | 740 | @ENABLE_GTK_DOC_TRUE@ fi |
731 | 741 | @ENABLE_GTK_DOC_TRUE@ touch scanobj-build.stamp |
732 | 742 | |
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 | |
734 | 744 | @ENABLE_GTK_DOC_TRUE@ @true |
735 | 745 | |
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 | ||
759 | 746 | ### 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 | |
761 | 748 | @ENABLE_GTK_DOC_TRUE@ if test "x$(top_srcdir)" != "x$(top_builddir)" && \ |
762 | 749 | @ENABLE_GTK_DOC_TRUE@ test -d "$(top_builddir)/gst"; \ |
763 | 750 | @ENABLE_GTK_DOC_TRUE@ then \ |
780 | 767 | @ENABLE_GTK_DOC_TRUE@ if test x"$(srcdir)" != x. ; then \ |
781 | 768 | @ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES) $(SCAN_FILES); \ |
782 | 769 | @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; \ | |
784 | 771 | @ENABLE_GTK_DOC_TRUE@ done; \ |
785 | 772 | @ENABLE_GTK_DOC_TRUE@ fi |
786 | 773 | @ENABLE_GTK_DOC_TRUE@ gtkdoc-mktmpl --module=$(DOC_MODULE) | tee tmpl-build.log |
796 | 783 | #### build xml; done on every build #### |
797 | 784 | |
798 | 785 | ### 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) | |
800 | 787 | @ENABLE_GTK_DOC_TRUE@ @echo '*** Building XML ***' |
801 | 788 | @ENABLE_GTK_DOC_TRUE@ @-mkdir -p xml |
802 | 789 | @ENABLE_GTK_DOC_TRUE@ @for a in $(srcdir)/inspect/*.xml; do \ |
848 | 835 | @ENABLE_GTK_DOC_TRUE@ rm -rf xml tmpl html |
849 | 836 | # clean files copied for nonsrcdir templates build |
850 | 837 | @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); \ | |
853 | 839 | @ENABLE_GTK_DOC_TRUE@ fi |
854 | 840 | @ENABLE_GTK_DOC_FALSE@all-local: |
855 | 841 | @ENABLE_GTK_DOC_FALSE@clean-local-gtkdoc: |
884 | 870 | $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp \ |
885 | 871 | $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \ |
886 | 872 | 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; \ | |
889 | 875 | fi; \ |
890 | fi) | |
876 | (which gtkdoc-rebase >/dev/null && \ | |
877 | gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \ | |
878 | fi) | |
891 | 879 | 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; \ | |
895 | 883 | 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; | |
922 | 886 | |
923 | 887 | # |
924 | 888 | # Checks |
969 | 933 | fi |
970 | 934 | touch scanobj-trans-build.stamp |
971 | 935 | |
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 | ||
972 | 959 | # |
973 | 960 | # Require gtk-doc when making dist |
974 | 961 | # |
978 | 965 | @ENABLE_GTK_DOC_FALSE@ @false |
979 | 966 | |
980 | 967 | # 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 | |
981 | 971 | dist-hook: dist-check-gtkdoc dist-hook-local |
982 | 972 | mkdir $(distdir)/html |
983 | 973 | cp html/* $(distdir)/html |
984 | 974 | -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ |
985 | 975 | -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ |
986 | -cp $(srcdir)/html/$(DOC_MODULE).devhelp* $(distdir)/html | |
987 | 976 | 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 | |
990 | 980 | |
991 | 981 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
992 | 982 | # Otherwise a system limit (for SysV at least) may be exceeded. |
30 | 30 | <xi:include href="xml/fs-rawudp-stream-transmitter.xml"/> |
31 | 31 | <xi:include href="xml/fs-multicast-stream-transmitter.xml"/> |
32 | 32 | <xi:include href="xml/fs-nice-stream-transmitter.xml"/> |
33 | <xi:include href="xml/fs-shm-stream-transmitter.xml"/> | |
33 | 34 | </chapter> |
34 | 35 | </part> |
35 | 36 |
43 | 43 | FS_RTP_CONFERENCE_GET_CLASS |
44 | 44 | <SUBSECTION Private> |
45 | 45 | 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 | |
47 | 48 | </SECTION> |
48 | 49 | |
49 | 50 | <SECTION> |
172 | 173 | fs_rtp_session_new_recv_pad |
173 | 174 | fs_rtp_session_request_pt_map |
174 | 175 | fs_rtp_session_ssrc_validated |
176 | fs_rtp_session_has_disposed_enter | |
177 | fs_rtp_session_has_disposed_exit | |
175 | 178 | </SECTION> |
176 | 179 | |
177 | 180 | <SECTION> |
262 | 265 | |
263 | 266 | |
264 | 267 | <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> | |
265 | 317 | <FILE>fs-msn-conference</FILE> |
266 | 318 | <TITLE>FsMsnConference</TITLE> |
267 | 319 | FsMsnConference |
417 | 417 | <DEFAULT>0</DEFAULT> |
418 | 418 | </ARG> |
419 | 419 | |
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 |
7 | 7 | <link rel="up" href="pt01.html" title="Part I. RTP Plugin"> |
8 | 8 | <link rel="prev" href="pt01.html" title="Part I. RTP Plugin"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="Core interface classes"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="farsight2-plugins-FsRtpConference.html">FsRtpConference</a></span><span class="refpurpose"> — Farsight RTP Conference Gstreamer Elements</span> |
38 | 38 | </div> |
39 | 39 | <div class="footer"> |
40 | 40 | <hr> |
41 | Generated by GTK-Doc V1.14</div> | |
41 | Generated by GTK-Doc V1.15</div> | |
42 | 42 | </body> |
43 | 43 | </html>⏎ |
7 | 7 | <link rel="up" href="pt01.html" title="Part I. RTP Plugin"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsRtpStream.html" title="FsRtpStream"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="Transmitters"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="farsight2-plugins-FsRawUdpStreamTransmitter.html">FsRawUdpStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for UDP with STUN</span> |
31 | 31 | <dt> |
32 | 32 | <span class="refentrytitle"><a href="farsight2-plugins-FsNiceStreamTransmitter.html">FsNiceStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for ICE using libnice</span> |
33 | 33 | </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> | |
34 | 37 | </dl></div> |
35 | 38 | </div> |
36 | 39 | <div class="footer"> |
37 | 40 | <hr> |
38 | Generated by GTK-Doc V1.14</div> | |
41 | Generated by GTK-Doc V1.15</div> | |
39 | 42 | </body> |
40 | 43 | </html>⏎ |
7 | 7 | <link rel="up" href="pt02.html" title="Part II. MSN plugins"> |
8 | 8 | <link rel="prev" href="pt02.html" title="Part II. MSN plugins"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="MSN Webcam plugin"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="farsight2-plugins-FsMsnCamSendConference.html">FsMsnCamSendConference</a></span><span class="refpurpose"> — Farsight MSN send Conference Gstreamer Element</span> |
44 | 44 | </div> |
45 | 45 | <div class="footer"> |
46 | 46 | <hr> |
47 | Generated by GTK-Doc V1.14</div> | |
47 | Generated by GTK-Doc V1.15</div> | |
48 | 48 | </body> |
49 | 49 | </html>⏎ |
7 | 7 | <link rel="up" href="pt03.html" title="Part III. Utility elements"> |
8 | 8 | <link rel="prev" href="pt03.html" title="Part III. Utility elements"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
61 | 61 | </div> |
62 | 62 | <div class="footer"> |
63 | 63 | <hr> |
64 | Generated by GTK-Doc V1.14</div> | |
64 | Generated by GTK-Doc V1.15</div> | |
65 | 65 | </body> |
66 | 66 | </html>⏎ |
7 | 7 | <link rel="up" href="ch03.html" title="MSN Webcam plugin"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsMsnCamSendConference.html" title="FsMsnCamSendConference"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
62 | 62 | </div> |
63 | 63 | <div class="footer"> |
64 | 64 | <hr> |
65 | Generated by GTK-Doc V1.14</div> | |
65 | Generated by GTK-Doc V1.15</div> | |
66 | 66 | </body> |
67 | 67 | </html>⏎ |
7 | 7 | <link rel="up" href="ch03.html" title="MSN Webcam plugin"> |
8 | 8 | <link rel="prev" href="ch03.html" title="MSN Webcam plugin"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
62 | 62 | </div> |
63 | 63 | <div class="footer"> |
64 | 64 | <hr> |
65 | Generated by GTK-Doc V1.14</div> | |
65 | Generated by GTK-Doc V1.15</div> | |
66 | 66 | </body> |
67 | 67 | </html>⏎ |
7 | 7 | <link rel="up" href="ch03.html" title="MSN Webcam plugin"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsMsnCamCamRecvConference.html" title="FsMsnCamCamRecvConference"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
44 | 44 | <div class="refsect1" title="Properties"> |
45 | 45 | <a name="farsight2-plugins-FsMsnConference.properties"></a><h2>Properties</h2> |
46 | 46 | <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 | |
48 | 48 | </pre> |
49 | 49 | </div> |
50 | 50 | <div class="refsect1" title="Description"> |
75 | 75 | <a name="farsight2-plugins-FsMsnConference.property-details"></a><h2>Property Details</h2> |
76 | 76 | <div class="refsect2" title='The "local-address" property'> |
77 | 77 | <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> | |
79 | 79 | <p>The local contact address for the MSN sessions.</p> |
80 | 80 | <p>Default value: NULL</p> |
81 | 81 | </div> |
83 | 83 | </div> |
84 | 84 | <div class="footer"> |
85 | 85 | <hr> |
86 | Generated by GTK-Doc V1.14</div> | |
86 | Generated by GTK-Doc V1.15</div> | |
87 | 87 | </body> |
88 | 88 | </html>⏎ |
7 | 7 | <link rel="up" href="ch03.html" title="MSN Webcam plugin"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsMsnConference.html" title="FsMsnConference"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
59 | 59 | </div> |
60 | 60 | <div class="footer"> |
61 | 61 | <hr> |
62 | Generated by GTK-Doc V1.14</div> | |
62 | Generated by GTK-Doc V1.15</div> | |
63 | 63 | </body> |
64 | 64 | </html>⏎ |
7 | 7 | <link rel="up" href="ch03.html" title="MSN Webcam plugin"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsMsnParticipant.html" title="FsMsnParticipant"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
57 | 57 | the <span class="type">"direction"</span> property. |
58 | 58 | </p> |
59 | 59 | <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 | |
61 | 61 | used to set the initial value of the construct properties of the stream |
62 | 62 | object. This plugin does not use transmitter plugins, so the transmitter |
63 | 63 | parameter itself is ignored. |
91 | 91 | </div> |
92 | 92 | <div class="footer"> |
93 | 93 | <hr> |
94 | Generated by GTK-Doc V1.14</div> | |
94 | Generated by GTK-Doc V1.15</div> | |
95 | 95 | </body> |
96 | 96 | </html>⏎ |
7 | 7 | <link rel="up" href="ch03.html" title="MSN Webcam plugin"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsMsnSession.html" title="FsMsnSession"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
45 | 45 | <a name="farsight2-plugins-FsMsnStream.properties"></a><h2>Properties</h2> |
46 | 46 | <pre class="synopsis"> |
47 | 47 | "<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 | |
50 | 50 | </pre> |
51 | 51 | </div> |
52 | 52 | <div class="refsect1" title="Description"> |
57 | 57 | is unidirectional. |
58 | 58 | </p> |
59 | 59 | <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" | |
61 | 61 | that must be transmitted to the peer. |
62 | 62 | </p> |
63 | 63 | <p> |
64 | 64 | 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. | |
66 | 66 | </p> |
67 | 67 | <p> |
68 | 68 | 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>. | |
71 | 71 | </p> |
72 | 72 | </div> |
73 | 73 | <div class="refsect1" title="Details"> |
90 | 90 | <hr> |
91 | 91 | <div class="refsect2" title='The "initial-port" property'> |
92 | 92 | <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> | |
94 | 94 | <p>The initial port to try to listen on for incoming connection. If already used, port+1 is tried until one succeeds.</p> |
95 | 95 | <p>Allowed values: [1025,65535]</p> |
96 | 96 | <p>Default value: 1025</p> |
98 | 98 | <hr> |
99 | 99 | <div class="refsect2" title='The "session-id" property'> |
100 | 100 | <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> | |
102 | 102 | <p>This is the session-id of the MSN session.</p> |
103 | 103 | <p>Allowed values: [1000,9999]</p> |
104 | 104 | <p>Default value: 9000</p> |
107 | 107 | </div> |
108 | 108 | <div class="footer"> |
109 | 109 | <hr> |
110 | Generated by GTK-Doc V1.14</div> | |
110 | Generated by GTK-Doc V1.15</div> | |
111 | 111 | </body> |
112 | 112 | </html>⏎ |
7 | 7 | <link rel="up" href="ch02.html" title="Transmitters"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsRawUdpStreamTransmitter.html" title="FsRawUdpStreamTransmitter"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
86 | 86 | <div class="variablelist"><table border="0"> |
87 | 87 | <col align="left" valign="top"> |
88 | 88 | <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> | |
90 | 90 | <td>Parent object |
91 | 91 | </td> |
92 | 92 | </tr></tbody> |
100 | 100 | </div> |
101 | 101 | <div class="footer"> |
102 | 102 | <hr> |
103 | Generated by GTK-Doc V1.14</div> | |
103 | Generated by GTK-Doc V1.15</div> | |
104 | 104 | </body> |
105 | 105 | </html>⏎ |
6 | 6 | <link rel="home" href="index.html" title="Farsight2 Plugins Manual"> |
7 | 7 | <link rel="up" href="ch02.html" title="Transmitters"> |
8 | 8 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
17 | 17 | <td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> |
18 | 18 | <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> |
19 | 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> | |
20 | <td><a accesskey="n" href="farsight2-plugins-FsShmStreamTransmitter.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> | |
21 | 21 | </tr> |
22 | 22 | <tr><td colspan="5" class="shortcuts"> |
23 | 23 | <a href="#farsight2-plugins-FsNiceStreamTransmitter.synopsis" class="shortcut">Top</a> |
44 | 44 | <div class="refsect1" title="Properties"> |
45 | 45 | <a name="farsight2-plugins-FsNiceStreamTransmitter.properties"></a><h2>Properties</h2> |
46 | 46 | <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 | |
54 | 54 | </pre> |
55 | 55 | </div> |
56 | 56 | <div class="refsect1" title="Description"> |
70 | 70 | <div class="variablelist"><table border="0"> |
71 | 71 | <col align="left" valign="top"> |
72 | 72 | <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> | |
74 | 74 | <td>Parent object |
75 | 75 | </td> |
76 | 76 | </tr></tbody> |
81 | 81 | <a name="farsight2-plugins-FsNiceStreamTransmitter.property-details"></a><h2>Property Details</h2> |
82 | 82 | <div class="refsect2" title='The "compatibility-mode" property'> |
83 | 83 | <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> | |
85 | 85 | <p>The id of the stream according to libnice.</p> |
86 | 86 | <p>Allowed values: <= 3</p> |
87 | 87 | <p>Default value: 0</p> |
89 | 89 | <hr> |
90 | 90 | <div class="refsect2" title='The "controlling-mode" property'> |
91 | 91 | <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> | |
93 | 93 | <p>Whether the agent is in controlling mode.</p> |
94 | 94 | <p>Default value: TRUE</p> |
95 | 95 | </div> |
96 | 96 | <hr> |
97 | 97 | <div class="refsect2" title='The "debug" property'> |
98 | 98 | <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> | |
100 | 100 | <p>Whether the agent should enable libnice and stun debug messages.</p> |
101 | 101 | <p>Default value: FALSE</p> |
102 | 102 | </div> |
103 | 103 | <hr> |
104 | 104 | <div class="refsect2" title='The "relay-info" property'> |
105 | 105 | <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> | |
107 | 107 | <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>. | |
109 | 109 | </p> |
110 | 110 | <p> |
111 | 111 | The fields in the structure are: |
112 | 112 | </p> |
113 | <table id="id505678"> | |
113 | <table id="id500976"> | |
114 | 114 | <tr><th colspan="2">Required</th></tr> |
115 | 115 | <tr> |
116 | 116 | <td nowrap>(gchar*)</td> |
154 | 154 | <hr> |
155 | 155 | <div class="refsect2" title='The "stream-id" property'> |
156 | 156 | <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> | |
158 | 158 | <p>The id of the stream according to libnice.</p> |
159 | 159 | <p>Allowed values: <= G_MAXINT</p> |
160 | 160 | <p>Default value: 0</p> |
162 | 162 | <hr> |
163 | 163 | <div class="refsect2" title='The "stun-ip" property'> |
164 | 164 | <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> | |
166 | 166 | <p>The STUN server used to obtain server-reflexive candidates.</p> |
167 | 167 | <p>Default value: NULL</p> |
168 | 168 | </div> |
169 | 169 | <hr> |
170 | 170 | <div class="refsect2" title='The "stun-port" property'> |
171 | 171 | <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> | |
173 | 173 | <p>The STUN server used to obtain server-reflexive candidates.</p> |
174 | 174 | <p>Allowed values: [1,65536]</p> |
175 | 175 | <p>Default value: 3478</p> |
182 | 182 | </div> |
183 | 183 | <div class="footer"> |
184 | 184 | <hr> |
185 | Generated by GTK-Doc V1.14</div> | |
185 | Generated by GTK-Doc V1.15</div> | |
186 | 186 | </body> |
187 | 187 | </html>⏎ |
7 | 7 | <link rel="up" href="ch02.html" title="Transmitters"> |
8 | 8 | <link rel="prev" href="ch02.html" title="Transmitters"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
44 | 44 | <div class="refsect1" title="Properties"> |
45 | 45 | <a name="farsight2-plugins-FsRawUdpStreamTransmitter.properties"></a><h2>Properties</h2> |
46 | 46 | <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 | |
55 | 55 | </pre> |
56 | 56 | </div> |
57 | 57 | <div class="refsect1" title="Description"> |
69 | 69 | </p> |
70 | 70 | <p> |
71 | 71 | 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>. | |
74 | 74 | These port and/or the ip can be set on these candidates to force them, |
75 | 75 | and this is per-component. If not all components have a port set, the |
76 | 76 | following components will be on the following ports. There is no guarantee |
105 | 105 | <div class="variablelist"><table border="0"> |
106 | 106 | <col align="left" valign="top"> |
107 | 107 | <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> | |
109 | 109 | <td>Parent object |
110 | 110 | </td> |
111 | 111 | </tr></tbody> |
116 | 116 | <a name="farsight2-plugins-FsRawUdpStreamTransmitter.property-details"></a><h2>Property Details</h2> |
117 | 117 | <div class="refsect2" title='The "stun-ip" property'> |
118 | 118 | <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> | |
120 | 120 | <p>The IPv4 address of the STUN server as a x.x.x.x string.</p> |
121 | 121 | <p>Default value: NULL</p> |
122 | 122 | </div> |
123 | 123 | <hr> |
124 | 124 | <div class="refsect2" title='The "stun-port" property'> |
125 | 125 | <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> | |
127 | 127 | <p>The IPv4 UDP port of the STUN server as a .</p> |
128 | 128 | <p>Allowed values: [1,65535]</p> |
129 | 129 | <p>Default value: 3478</p> |
131 | 131 | <hr> |
132 | 132 | <div class="refsect2" title='The "stun-timeout" property'> |
133 | 133 | <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> | |
135 | 135 | <p>How long to wait for for the STUN reply (in seconds) before giving up.</p> |
136 | 136 | <p>Allowed values: >= 1</p> |
137 | 137 | <p>Default value: 30</p> |
139 | 139 | <hr> |
140 | 140 | <div class="refsect2" title='The "upnp-discovery" property'> |
141 | 141 | <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> | |
143 | 143 | <p>Tries to discovery the external IP with UPnP if stun fails.</p> |
144 | 144 | <p>Default value: TRUE</p> |
145 | 145 | </div> |
146 | 146 | <hr> |
147 | 147 | <div class="refsect2" title='The "upnp-discovery-timeout" property'> |
148 | 148 | <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> | |
150 | 150 | <p>After this period, UPnP discovery is considered to have failed and the local IP is returned.</p> |
151 | 151 | <p>Default value: 10</p> |
152 | 152 | </div> |
153 | 153 | <hr> |
154 | 154 | <div class="refsect2" title='The "upnp-mapping" property'> |
155 | 155 | <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> | |
157 | 157 | <p>Tries to map ports using UPnP if enabled.</p> |
158 | 158 | <p>Default value: TRUE</p> |
159 | 159 | </div> |
160 | 160 | <hr> |
161 | 161 | <div class="refsect2" title='The "upnp-mapping-timeout" property'> |
162 | 162 | <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> | |
164 | 164 | <p>The UPnP port mappings expire after this period if the app has crashed (in seconds).</p> |
165 | 165 | <p>Default value: 600</p> |
166 | 166 | </div> |
167 | 167 | <hr> |
168 | 168 | <div class="refsect2" title='The "upnp-request-timeout" property'> |
169 | 169 | <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> | |
171 | 171 | <p>After this delay, UPnP requests fails.</p> |
172 | 172 | <p>Allowed values: [1,600]</p> |
173 | 173 | <p>Default value: 10</p> |
180 | 180 | </div> |
181 | 181 | <div class="footer"> |
182 | 182 | <hr> |
183 | Generated by GTK-Doc V1.14</div> | |
183 | Generated by GTK-Doc V1.15</div> | |
184 | 184 | </body> |
185 | 185 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Core interface classes"> |
8 | 8 | <link rel="prev" href="ch01.html" title="Core interface classes"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
44 | 44 | <div class="refsect1" title="Properties"> |
45 | 45 | <a name="farsight2-plugins-FsRtpConference.properties"></a><h2>Properties</h2> |
46 | 46 | <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 | |
55 | 55 | </pre> |
56 | 56 | </div> |
57 | 57 | <div class="refsect1" title="Description"> |
59 | 59 | <p> |
60 | 60 | This is the core gstreamer element for a RTP conference. It must be added |
61 | 61 | 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. | |
63 | 63 | </p> |
64 | 64 | <p> |
65 | 65 | The various sdes-* properties allow you to set the content of the SDES packet |
82 | 82 | <a name="farsight2-plugins-FsRtpConference.property-details"></a><h2>Property Details</h2> |
83 | 83 | <div class="refsect2" title='The "sdes-cname" property'> |
84 | 84 | <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> | |
86 | 86 | <p>The CNAME for the RTP sessions.</p> |
87 | 87 | <p>Default value: NULL</p> |
88 | 88 | </div> |
89 | 89 | <hr> |
90 | 90 | <div class="refsect2" title='The "sdes-email" property'> |
91 | 91 | <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> | |
93 | 93 | <p>The EMAIL to put in SDES messages of this session.</p> |
94 | 94 | <p>Default value: NULL</p> |
95 | 95 | </div> |
96 | 96 | <hr> |
97 | 97 | <div class="refsect2" title='The "sdes-location" property'> |
98 | 98 | <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> | |
100 | 100 | <p>The LOCATION to put in SDES messages of this session.</p> |
101 | 101 | <p>Default value: NULL</p> |
102 | 102 | </div> |
103 | 103 | <hr> |
104 | 104 | <div class="refsect2" title='The "sdes-name" property'> |
105 | 105 | <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> | |
107 | 107 | <p>The NAME to put in SDES messages of this session.</p> |
108 | 108 | <p>Default value: NULL</p> |
109 | 109 | </div> |
110 | 110 | <hr> |
111 | 111 | <div class="refsect2" title='The "sdes-note" property'> |
112 | 112 | <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> | |
114 | 114 | <p>The NOTE to put in SDES messages of this session.</p> |
115 | 115 | <p>Default value: NULL</p> |
116 | 116 | </div> |
117 | 117 | <hr> |
118 | 118 | <div class="refsect2" title='The "sdes-phone" property'> |
119 | 119 | <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> | |
121 | 121 | <p>The PHONE to put in SDES messages of this session.</p> |
122 | 122 | <p>Default value: NULL</p> |
123 | 123 | </div> |
124 | 124 | <hr> |
125 | 125 | <div class="refsect2" title='The "sdes-tool" property'> |
126 | 126 | <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> | |
128 | 128 | <p>The TOOL to put in SDES messages of this session.</p> |
129 | 129 | <p>Default value: NULL</p> |
130 | 130 | </div> |
131 | 131 | <hr> |
132 | 132 | <div class="refsect2" title='The "sdes" property'> |
133 | 133 | <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> | |
135 | 135 | <p>SDES items to use for sessions in this conference.</p> |
136 | 136 | </div> |
137 | 137 | </div> |
138 | 138 | </div> |
139 | 139 | <div class="footer"> |
140 | 140 | <hr> |
141 | Generated by GTK-Doc V1.14</div> | |
141 | Generated by GTK-Doc V1.15</div> | |
142 | 142 | </body> |
143 | 143 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Core interface classes"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsRtpConference.html" title="FsRtpConference"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
44 | 44 | <div class="refsect1" title="Properties"> |
45 | 45 | <a name="farsight2-plugins-FsRtpParticipant.properties"></a><h2>Properties</h2> |
46 | 46 | <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 | |
48 | 48 | </pre> |
49 | 49 | </div> |
50 | 50 | <div class="refsect1" title="Description"> |
68 | 68 | <a name="farsight2-plugins-FsRtpParticipant.property-details"></a><h2>Property Details</h2> |
69 | 69 | <div class="refsect2" title='The "cname" property'> |
70 | 70 | <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> | |
72 | 72 | <p>A string of the cname of the participant.</p> |
73 | 73 | <p>Default value: NULL</p> |
74 | 74 | </div> |
76 | 76 | </div> |
77 | 77 | <div class="footer"> |
78 | 78 | <hr> |
79 | Generated by GTK-Doc V1.14</div> | |
79 | Generated by GTK-Doc V1.15</div> | |
80 | 80 | </body> |
81 | 81 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Core interface classes"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsRtpParticipant.html" title="FsRtpParticipant"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
44 | 44 | <div class="refsect1" title="Properties"> |
45 | 45 | <a name="farsight2-plugins-FsRtpSession.properties"></a><h2>Properties</h2> |
46 | 46 | <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 | |
48 | 48 | "<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 | |
51 | 51 | </pre> |
52 | 52 | </div> |
53 | 53 | <div class="refsect1" title="Description"> |
54 | 54 | <a name="farsight2-plugins-FsRtpSession.description"></a><h2>Description</h2> |
55 | 55 | <p> |
56 | 56 | 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 | |
58 | 58 | Audio or Video. It also represents data send with one and only one |
59 | 59 | SSRC (although if there is a SSRC collision, that SSRC may change). |
60 | 60 | </p> |
61 | 61 | <div class="refsect2" title="Codec profiles"> |
62 | <a name="id500605"></a><h3>Codec profiles</h3> | |
62 | <a name="id502848"></a><h3>Codec profiles</h3> | |
63 | 63 | <p> |
64 | 64 | It is possible to define "codec profiles", that is non-autodetected |
65 | 65 | encoding and decoding pipelines for codecs. It is even possible to declare |
100 | 100 | <a name="farsight2-plugins-FsRtpSession.property-details"></a><h2>Property Details</h2> |
101 | 101 | <div class="refsect2" title='The "no-rtcp-timeout" property'> |
102 | 102 | <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> | |
104 | 104 | <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> |
105 | 105 | <p>Allowed values: >= G_MAXULONG</p> |
106 | 106 | <p>Default value: 7000</p> |
114 | 114 | <hr> |
115 | 115 | <div class="refsect2" title='The "ssrc" property'> |
116 | 116 | <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> | |
118 | 118 | <p>This is the current SSRC used to send data (defaults to a random value).</p> |
119 | 119 | <p>Default value: 0</p> |
120 | 120 | </div> |
121 | 121 | <hr> |
122 | 122 | <div class="refsect2" title='The "send-bitrate" property'> |
123 | 123 | <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> | |
125 | 125 | <p>The bitrate that the session will try to send at in bits/sec.</p> |
126 | 126 | <p>Default value: 0</p> |
127 | 127 | </div> |
129 | 129 | </div> |
130 | 130 | <div class="footer"> |
131 | 131 | <hr> |
132 | Generated by GTK-Doc V1.14</div> | |
132 | Generated by GTK-Doc V1.15</div> | |
133 | 133 | </body> |
134 | 134 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Core interface classes"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsRtpSession.html" title="FsRtpSession"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
44 | 44 | <div class="refsect1" title="Properties"> |
45 | 45 | <a name="farsight2-plugins-FsRtpStream.properties"></a><h2>Properties</h2> |
46 | 46 | <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 | |
48 | 48 | </pre> |
49 | 49 | </div> |
50 | 50 | <div class="refsect1" title="Description"> |
51 | 51 | <a name="farsight2-plugins-FsRtpStream.description"></a><h2>Description</h2> |
52 | 52 | <p> |
53 | 53 | 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 | |
55 | 55 | <a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession" title="FsRtpSession"><span class="type">FsRtpSession</span></a>. |
56 | 56 | </p> |
57 | 57 | </div> |
69 | 69 | <a name="farsight2-plugins-FsRtpStream.property-details"></a><h2>Property Details</h2> |
70 | 70 | <div class="refsect2" title='The "stream-transmitter" property'> |
71 | 71 | <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> | |
73 | 73 | <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. | |
75 | 75 | </p> |
76 | 76 | </div> |
77 | 77 | </div> |
78 | 78 | </div> |
79 | 79 | <div class="footer"> |
80 | 80 | <hr> |
81 | Generated by GTK-Doc V1.14</div> | |
81 | Generated by GTK-Doc V1.15</div> | |
82 | 82 | </body> |
83 | 83 | </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>⏎ |
6 | 6 | <link rel="home" href="index.html" title="Farsight2 Plugins Manual"> |
7 | 7 | <link rel="up" href="pt03.html" title="Part III. Utility elements"> |
8 | 8 | <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)"> | |
10 | 10 | <link rel="stylesheet" href="style.css" type="text/css"> |
11 | 11 | </head> |
12 | 12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
60 | 60 | </div> |
61 | 61 | <div class="footer"> |
62 | 62 | <hr> |
63 | Generated by GTK-Doc V1.14</div> | |
63 | Generated by GTK-Doc V1.15</div> | |
64 | 64 | </body> |
65 | 65 | </html>⏎ |
12 | 12 | <sub name="FsRawUdpStreamTransmitter" link="farsight2-plugins-FsRawUdpStreamTransmitter.html"/> |
13 | 13 | <sub name="FsMulticastStreamTransmitter" link="farsight2-plugins-FsMulticastStreamTransmitter.html"/> |
14 | 14 | <sub name="FsNiceStreamTransmitter" link="farsight2-plugins-FsNiceStreamTransmitter.html"/> |
15 | <sub name="FsShmStreamTransmitter" link="farsight2-plugins-FsShmStreamTransmitter.html"/> | |
15 | 16 | </sub> |
16 | 17 | </sub> |
17 | 18 | <sub name="MSN plugins" link="pt02.html"> |
41 | 42 | <function name="The "sdes" property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes"/> |
42 | 43 | <function name="FsRtpParticipant" link="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant"/> |
43 | 44 | <function name="The "cname" 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"/> | |
45 | 46 | <function name="FsRtpSession" link="farsight2-plugins-FsRtpSession.html#FsRtpSession"/> |
46 | 47 | <function name="The "no-rtcp-timeout" property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--no-rtcp-timeout"/> |
47 | 48 | <function name="The "conference" property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--conference"/> |
67 | 68 | <function name="The "stream-id" property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stream-id"/> |
68 | 69 | <function name="The "stun-ip" property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip"/> |
69 | 70 | <function name="The "stun-port" property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port"/> |
71 | <function name="FsShmStreamTransmitter" link="farsight2-plugins-FsShmStreamTransmitter.html#FsShmStreamTransmitter"/> | |
70 | 72 | <function name="FsMsnCamSendConference" link="farsight2-plugins-FsMsnCamSendConference.html#FsMsnCamSendConference"/> |
71 | 73 | <function name="FsMsnCamRecvConference" link="farsight2-plugins-FsMsnCamCamRecvConference.html#FsMsnCamRecvConference"/> |
72 | 74 | <function name="FsMsnConference" link="farsight2-plugins-FsMsnConference.html#FsMsnConference"/> |
12 | 12 | <sub name="FsRawUdpStreamTransmitter" link="farsight2-plugins-FsRawUdpStreamTransmitter.html"/> |
13 | 13 | <sub name="FsMulticastStreamTransmitter" link="farsight2-plugins-FsMulticastStreamTransmitter.html"/> |
14 | 14 | <sub name="FsNiceStreamTransmitter" link="farsight2-plugins-FsNiceStreamTransmitter.html"/> |
15 | <sub name="FsShmStreamTransmitter" link="farsight2-plugins-FsShmStreamTransmitter.html"/> | |
15 | 16 | </sub> |
16 | 17 | </sub> |
17 | 18 | <sub name="MSN plugins" link="pt02.html"> |
41 | 42 | <keyword type="property" name="The "sdes" property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes"/> |
42 | 43 | <keyword type="struct" name="FsRtpParticipant" link="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant"/> |
43 | 44 | <keyword type="property" name="The "cname" 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"/> | |
45 | 46 | <keyword type="struct" name="FsRtpSession" link="farsight2-plugins-FsRtpSession.html#FsRtpSession"/> |
46 | 47 | <keyword type="property" name="The "no-rtcp-timeout" property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--no-rtcp-timeout"/> |
47 | 48 | <keyword type="property" name="The "conference" property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--conference"/> |
67 | 68 | <keyword type="property" name="The "stream-id" property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stream-id"/> |
68 | 69 | <keyword type="property" name="The "stun-ip" property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip"/> |
69 | 70 | <keyword type="property" name="The "stun-port" property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port"/> |
71 | <keyword type="struct" name="FsShmStreamTransmitter" link="farsight2-plugins-FsShmStreamTransmitter.html#FsShmStreamTransmitter"/> | |
70 | 72 | <keyword type="struct" name="FsMsnCamSendConference" link="farsight2-plugins-FsMsnCamSendConference.html#FsMsnCamSendConference"/> |
71 | 73 | <keyword type="struct" name="FsMsnCamRecvConference" link="farsight2-plugins-FsMsnCamCamRecvConference.html#FsMsnCamRecvConference"/> |
72 | 74 | <keyword type="struct" name="FsMsnConference" link="farsight2-plugins-FsMsnConference.html#FsMsnConference"/> |
5 | 5 | <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> |
6 | 6 | <link rel="home" href="index.html" title="Farsight2 Plugins Manual"> |
7 | 7 | <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)"> | |
9 | 9 | <link rel="stylesheet" href="style.css" type="text/css"> |
10 | 10 | </head> |
11 | 11 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
14 | 14 | <div> |
15 | 15 | <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> |
16 | 16 | <div><p class="releaseinfo"> |
17 | for version 0.0.21.1. | |
17 | for version 0.0.22.1. | |
18 | 18 | The latest version of this documentation can be found on-line at |
19 | 19 | <a class="ulink" href="http://farsight.freedesktop.org/apidoc/farsight2-plugins/" target="_top">http://farsight.freedesktop.org/apidoc/farsight2-plugins/</a>. |
20 | 20 | These plugins are to be used with the base classes and other utility |
52 | 52 | </dt> |
53 | 53 | <dt> |
54 | 54 | <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> | |
55 | 58 | </dt> |
56 | 59 | </dl></dd> |
57 | 60 | </dl></dd> |
92 | 95 | </div> |
93 | 96 | <div class="footer"> |
94 | 97 | <hr> |
95 | Generated by GTK-Doc V1.14</div> | |
98 | Generated by GTK-Doc V1.15</div> | |
96 | 99 | </body> |
97 | 100 | </html>⏎ |
0 | <ONLINE href="http://farsight.freedesktop.org/apidoc/farsight2-plugins/"> | |
0 | 1 | <ANCHOR id="farsight2-plugins-FsRtpConference" href="farsight2-plugins-0.10/farsight2-plugins-FsRtpConference.html"> |
1 | 2 | <ANCHOR id="farsight2-plugins-FsRtpConference.synopsis" href="farsight2-plugins-0.10/farsight2-plugins-FsRtpConference.html#farsight2-plugins-FsRtpConference.synopsis"> |
2 | 3 | <ANCHOR id="farsight2-plugins-FsRtpConference.properties" href="farsight2-plugins-0.10/farsight2-plugins-FsRtpConference.html#farsight2-plugins-FsRtpConference.properties"> |
76 | 77 | <ANCHOR id="FsNiceStreamTransmitter--stun-ip" href="farsight2-plugins-0.10/farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip"> |
77 | 78 | <ANCHOR id="FsNiceStreamTransmitter--stun-port" href="farsight2-plugins-0.10/farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port"> |
78 | 79 | <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"> | |
79 | 85 | <ANCHOR id="farsight2-plugins-FsMsnCamSendConference" href="farsight2-plugins-0.10/farsight2-plugins-FsMsnCamSendConference.html"> |
80 | 86 | <ANCHOR id="farsight2-plugins-FsMsnCamSendConference.synopsis" href="farsight2-plugins-0.10/farsight2-plugins-FsMsnCamSendConference.html#farsight2-plugins-FsMsnCamSendConference.synopsis"> |
81 | 87 | <ANCHOR id="farsight2-plugins-FsMsnCamSendConference.description" href="farsight2-plugins-0.10/farsight2-plugins-FsMsnCamSendConference.html#farsight2-plugins-FsMsnCamSendConference.description"> |
7 | 7 | <link rel="up" href="index.html" title="Farsight2 Plugins Manual"> |
8 | 8 | <link rel="prev" href="index.html" title="Farsight2 Plugins Manual"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="part" title="Part I. RTP Plugin"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"> |
25 | 25 | <p><b>Table of Contents</b></p> |
26 | 26 | <dl> |
50 | 50 | <dt> |
51 | 51 | <span class="refentrytitle"><a href="farsight2-plugins-FsNiceStreamTransmitter.html">FsNiceStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for ICE using libnice</span> |
52 | 52 | </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> | |
53 | 56 | </dl></dd> |
54 | 57 | </dl> |
55 | 58 | </div> |
56 | 59 | </div> |
57 | 60 | <div class="footer"> |
58 | 61 | <hr> |
59 | Generated by GTK-Doc V1.14</div> | |
62 | Generated by GTK-Doc V1.15</div> | |
60 | 63 | </body> |
61 | 64 | </html>⏎ |
5 | 5 | <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> |
6 | 6 | <link rel="home" href="index.html" title="Farsight2 Plugins Manual"> |
7 | 7 | <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"> | |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
14 | 14 | <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> | |
16 | 16 | <td> </td> |
17 | 17 | <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> |
18 | 18 | <th width="100%" align="center">Farsight2 Plugins Manual</th> |
20 | 20 | </tr></table> |
21 | 21 | <div class="part" title="Part II. MSN plugins"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"> |
25 | 25 | <p><b>Table of Contents</b></p> |
26 | 26 | <dl> |
50 | 50 | </div> |
51 | 51 | <div class="footer"> |
52 | 52 | <hr> |
53 | Generated by GTK-Doc V1.14</div> | |
53 | Generated by GTK-Doc V1.15</div> | |
54 | 54 | </body> |
55 | 55 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Farsight2 Plugins Manual"> |
8 | 8 | <link rel="prev" href="farsight2-plugins-FsMsnStream.html" title="FsMsnStream"> |
9 | 9 | <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)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="part" title="Part III. Utility elements"> |
22 | 22 | <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> | |
24 | 24 | <div class="toc"> |
25 | 25 | <p><b>Table of Contents</b></p> |
26 | 26 | <dl> |
35 | 35 | </div> |
36 | 36 | <div class="footer"> |
37 | 37 | <hr> |
38 | Generated by GTK-Doc V1.14</div> | |
38 | Generated by GTK-Doc V1.15</div> | |
39 | 39 | </body> |
40 | 40 | </html>⏎ |
204 | 204 | float: right; |
205 | 205 | /* tango:aluminium 3 */ |
206 | 206 | color: #babdb6; |
207 | font-size: 80%; | |
208 | font-weight: normal; | |
209 | } | |
210 | ||
211 | .annotation | |
212 | { | |
213 | /* tango:aluminium 5 */ | |
214 | color: #555753; | |
207 | 215 | font-size: 80%; |
208 | 216 | font-weight: normal; |
209 | 217 | } |
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 <olivier.crete@collabora.co.uk></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 <olivier.crete@collabora.co.uk></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>⏎ |
2 | 2 | <description>Farsight Funnel plugin</description> |
3 | 3 | <filename>../../gst/funnel/.libs/libfsfunnel.so</filename> |
4 | 4 | <basename>libfsfunnel.so</basename> |
5 | <version>0.0.20.1</version> | |
5 | <version>0.0.22.1</version> | |
6 | 6 | <license>LGPL</license> |
7 | 7 | <source>farsight2</source> |
8 | 8 | <package>Farsight</package> |
16 | 16 | <author>Olivier Crete <olivier.crete@collabora.co.uk></author> |
17 | 17 | <pads> |
18 | 18 | <caps> |
19 | <name>sink%d</name> | |
20 | <direction>sink</direction> | |
21 | <presence>request</presence> | |
22 | <details>ANY</details> | |
23 | </caps> | |
24 | <caps> | |
19 | 25 | <name>src</name> |
20 | 26 | <direction>source</direction> |
21 | 27 | <presence>always</presence> |
22 | <details>ANY</details> | |
23 | </caps> | |
24 | <caps> | |
25 | <name>sink%d</name> | |
26 | <direction>sink</direction> | |
27 | <presence>request</presence> | |
28 | 28 | <details>ANY</details> |
29 | 29 | </caps> |
30 | 30 | </pads> |
2 | 2 | <description>Farsight MSN Conference plugin</description> |
3 | 3 | <filename>../../gst/fsmsnconference/.libs/libfsmsnconference.so</filename> |
4 | 4 | <basename>libfsmsnconference.so</basename> |
5 | <version>0.0.20.1</version> | |
5 | <version>0.0.22.1</version> | |
6 | 6 | <license>LGPL</license> |
7 | 7 | <source>farsight2</source> |
8 | 8 | <package>Farsight</package> |
16 | 16 | <author>Richard Spiers <richard.spiers@gmail.com>, Youness Alaoui <youness.alaoui@collabora.co.uk>, Olivier Crete <olivier.crete@collabora.co.uk></author> |
17 | 17 | <pads> |
18 | 18 | <caps> |
19 | <name>src_%d_%d_%d</name> | |
20 | <direction>source</direction> | |
19 | <name>sink_%d</name> | |
20 | <direction>sink</direction> | |
21 | 21 | <presence>sometimes</presence> |
22 | 22 | <details>ANY</details> |
23 | 23 | </caps> |
24 | 24 | <caps> |
25 | <name>sink_%d</name> | |
26 | <direction>sink</direction> | |
25 | <name>src_%d_%d_%d</name> | |
26 | <direction>source</direction> | |
27 | 27 | <presence>sometimes</presence> |
28 | 28 | <details>ANY</details> |
29 | 29 | </caps> |
37 | 37 | <author>Richard Spiers <richard.spiers@gmail.com>, Youness Alaoui <youness.alaoui@collabora.co.uk>, Olivier Crete <olivier.crete@collabora.co.uk></author> |
38 | 38 | <pads> |
39 | 39 | <caps> |
40 | <name>src_%d_%d_%d</name> | |
41 | <direction>source</direction> | |
40 | <name>sink_%d</name> | |
41 | <direction>sink</direction> | |
42 | 42 | <presence>sometimes</presence> |
43 | 43 | <details>ANY</details> |
44 | 44 | </caps> |
45 | 45 | <caps> |
46 | <name>sink_%d</name> | |
47 | <direction>sink</direction> | |
46 | <name>src_%d_%d_%d</name> | |
47 | <direction>source</direction> | |
48 | 48 | <presence>sometimes</presence> |
49 | 49 | <details>ANY</details> |
50 | 50 | </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 <omega@cse.ogi.edu>,Wim Taymans <wim.taymans@gmail.com></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>⏎ |
2 | 2 | <description>RtcpFilter</description> |
3 | 3 | <filename>../../gst/rtcpfilter/.libs/libfsrtcpfilter.so</filename> |
4 | 4 | <basename>libfsrtcpfilter.so</basename> |
5 | <version>0.0.20.1</version> | |
5 | <version>0.0.22.1</version> | |
6 | 6 | <license>LGPL</license> |
7 | 7 | <source>farsight2</source> |
8 | 8 | <package>Farsight</package> |
2 | 2 | <description>Farsight RTP Conference plugin</description> |
3 | 3 | <filename>../../gst/fsrtpconference/.libs/libfsrtpconference.so</filename> |
4 | 4 | <basename>libfsrtpconference.so</basename> |
5 | <version>0.0.20.1</version> | |
5 | <version>0.0.22.1</version> | |
6 | 6 | <license>LGPL</license> |
7 | 7 | <source>farsight2</source> |
8 | 8 | <package>Farsight</package> |
16 | 16 | <author>Olivier Crete <olivier.crete@collabora.co.uk></author> |
17 | 17 | <pads> |
18 | 18 | <caps> |
19 | <name>src_%d_%d_%d</name> | |
20 | <direction>source</direction> | |
19 | <name>sink_%d</name> | |
20 | <direction>sink</direction> | |
21 | 21 | <presence>sometimes</presence> |
22 | 22 | <details>ANY</details> |
23 | 23 | </caps> |
24 | 24 | <caps> |
25 | <name>sink_%d</name> | |
26 | <direction>sink</direction> | |
25 | <name>src_%d_%d_%d</name> | |
26 | <direction>source</direction> | |
27 | 27 | <presence>sometimes</presence> |
28 | 28 | <details>ANY</details> |
29 | 29 | </caps> |
2 | 2 | <description>Videoanyrate</description> |
3 | 3 | <filename>../../gst/videoanyrate/.libs/libfsvideoanyrate.so</filename> |
4 | 4 | <basename>libfsvideoanyrate.so</basename> |
5 | <version>0.0.20.1</version> | |
5 | <version>0.0.22.1</version> | |
6 | 6 | <license>LGPL</license> |
7 | 7 | <source>farsight2</source> |
8 | 8 | <package>Farsight</package> |
289 | 289 | libexecdir = @libexecdir@ |
290 | 290 | localedir = @localedir@ |
291 | 291 | localstatedir = @localstatedir@ |
292 | lt_ECHO = @lt_ECHO@ | |
293 | 292 | mandir = @mandir@ |
294 | 293 | mkdir_p = @mkdir_p@ |
295 | 294 | oldincludedir = @oldincludedir@ |
295 | 295 | libexecdir = @libexecdir@ |
296 | 296 | localedir = @localedir@ |
297 | 297 | localstatedir = @localstatedir@ |
298 | lt_ECHO = @lt_ECHO@ | |
299 | 298 | mandir = @mandir@ |
300 | 299 | mkdir_p = @mkdir_p@ |
301 | 300 | oldincludedir = @oldincludedir@ |
249 | 249 | libexecdir = @libexecdir@ |
250 | 250 | localedir = @localedir@ |
251 | 251 | localstatedir = @localstatedir@ |
252 | lt_ECHO = @lt_ECHO@ | |
253 | 252 | mandir = @mandir@ |
254 | 253 | mkdir_p = @mkdir_p@ |
255 | 254 | oldincludedir = @oldincludedir@ |
106 | 106 | def __init__(self, elementname="fsrtpconference"): |
107 | 107 | self.pipeline = gst.Pipeline() |
108 | 108 | 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) | |
112 | 112 | self.pipeline.get_bus().set_sync_handler(self.sync_handler) |
113 | 113 | self.pipeline.get_bus().add_watch(self.async_handler) |
114 | 114 | self.conf = gst.element_factory_make(elementname) |
248 | 248 | if element.get_factory().get_name() == "x264enc": |
249 | 249 | element.set_property("byte-stream", True) |
250 | 250 | element.set_property("bitrate", 128) |
251 | element.set_property("speed-preset", 2) | |
252 | element.set_property("profile", "baseline") | |
253 | element.set_property("tune", "zerolatency") | |
251 | 254 | elif element.get_factory().get_name() == "gstrtpbin": |
252 | 255 | element.set_property("latency", 100) |
253 | 256 |
294 | 294 | libexecdir = @libexecdir@ |
295 | 295 | localedir = @localedir@ |
296 | 296 | localstatedir = @localstatedir@ |
297 | lt_ECHO = @lt_ECHO@ | |
298 | 297 | mandir = @mandir@ |
299 | 298 | mkdir_p = @mkdir_p@ |
300 | 299 | oldincludedir = @oldincludedir@ |
338 | 338 | libexecdir = @libexecdir@ |
339 | 339 | localedir = @localedir@ |
340 | 340 | localstatedir = @localstatedir@ |
341 | lt_ECHO = @lt_ECHO@ | |
342 | 341 | mandir = @mandir@ |
343 | 342 | mkdir_p = @mkdir_p@ |
344 | 343 | oldincludedir = @oldincludedir@ |
351 | 351 | libexecdir = @libexecdir@ |
352 | 352 | localedir = @localedir@ |
353 | 353 | localstatedir = @localstatedir@ |
354 | lt_ECHO = @lt_ECHO@ | |
355 | 354 | mandir = @mandir@ |
356 | 355 | mkdir_p = @mkdir_p@ |
357 | 356 | oldincludedir = @oldincludedir@ |
739 | 739 | for (i = 0; ranges_strv[i]; i++) |
740 | 740 | { |
741 | 741 | struct event_range *er = g_slice_new (struct event_range); |
742 | gchar *p = NULL; | |
742 | 743 | |
743 | 744 | 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); | |
746 | 748 | else |
747 | 749 | er->last = er->first; |
748 | 750 | |
1480 | 1482 | local_level_idc = 0xFF & local_value; |
1481 | 1483 | nego_level_idc = MIN (remote_level_idc, local_level_idc); |
1482 | 1484 | |
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, | |
1484 | 1486 | nego_level_idc); |
1485 | 1487 | |
1486 | 1488 | fs_codec_add_optional_parameter (negotiated_codec, sdp_param->name, buf); |
485 | 485 | GList *item = NULL; |
486 | 486 | GstBin *conferencebin = NULL; |
487 | 487 | |
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 | ||
488 | 497 | conferencebin = GST_BIN (self->priv->conference); |
489 | 498 | |
490 | 499 | if (self->priv->rtpbin_internal_session) |
683 | 692 | g_hash_table_remove_all (self->priv->ssrc_streams); |
684 | 693 | g_hash_table_remove_all (self->priv->ssrc_streams_manual); |
685 | 694 | |
695 | ||
686 | 696 | G_OBJECT_CLASS (fs_rtp_session_parent_class)->dispose (G_OBJECT (self)); |
687 | 697 | } |
688 | 698 | |
691 | 701 | { |
692 | 702 | FsRtpSession *self = FS_RTP_SESSION (object); |
693 | 703 | |
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; | |
705 | 706 | |
706 | 707 | if (fs_rtp_conference_is_internal_thread (self->priv->conference)) |
707 | 708 | { |
708 | 709 | g_object_ref (self); |
709 | 710 | if (!g_thread_create (trigger_dispose, self, FALSE, NULL)) |
710 | 711 | g_error ("Could not create dispose thread"); |
712 | fs_rtp_session_has_disposed_exit (self); | |
711 | 713 | } |
712 | 714 | else |
713 | 715 | { |
716 | fs_rtp_session_has_disposed_exit (self); | |
714 | 717 | fs_rtp_session_real_dispose (self); |
715 | 718 | } |
716 | 719 | } |
970 | 973 | return; |
971 | 974 | } |
972 | 975 | |
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 | ||
985 | 976 | tmp = g_strdup_printf ("send_tee_%u", self->id); |
986 | 977 | tee = gst_element_factory_make ("tee", tmp); |
987 | 978 | g_free (tmp); |
1410 | 1401 | g_object_set (self->priv->rtpbin_internal_session, "favor-new", TRUE, |
1411 | 1402 | NULL); |
1412 | 1403 | |
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 | } | |
1416 | 1411 | |
1417 | 1412 | if (G_OBJECT_CLASS (fs_rtp_session_parent_class)->constructed) |
1418 | 1413 | G_OBJECT_CLASS (fs_rtp_session_parent_class)->constructed(object); |
4229 | 4224 | CodecAssociation *ca = NULL; |
4230 | 4225 | |
4231 | 4226 | 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 | } | |
4233 | 4231 | |
4234 | 4232 | g_mutex_lock (session->priv->discovery_pad_blocked_mutex); |
4235 | 4233 |
310 | 310 | libexecdir = @libexecdir@ |
311 | 311 | localedir = @localedir@ |
312 | 312 | localstatedir = @localstatedir@ |
313 | lt_ECHO = @lt_ECHO@ | |
314 | 313 | mandir = @mandir@ |
315 | 314 | mkdir_p = @mkdir_p@ |
316 | 315 | oldincludedir = @oldincludedir@ |
76 | 76 | GstPadTemplate * templ, const gchar * name); |
77 | 77 | static void fs_funnel_release_pad (GstElement * element, GstPad * pad); |
78 | 78 | |
79 | static GstFlowReturn fs_funnel_buffer_alloc (GstPad * pad, guint64 offset, | |
80 | guint size, GstCaps * caps, GstBuffer ** buf); | |
79 | 81 | static GstFlowReturn fs_funnel_chain (GstPad * pad, GstBuffer * buffer); |
80 | 82 | static gboolean fs_funnel_event (GstPad * pad, GstEvent * event); |
81 | 83 | static gboolean fs_funnel_src_event (GstPad * pad, GstEvent * event); |
144 | 146 | gst_element_add_pad (GST_ELEMENT (funnel), funnel->srcpad); |
145 | 147 | } |
146 | 148 | |
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 | ||
147 | 163 | |
148 | 164 | static GstPad * |
149 | 165 | fs_funnel_request_new_pad (GstElement * element, GstPadTemplate * templ, |
159 | 175 | gst_pad_set_chain_function (sinkpad, GST_DEBUG_FUNCPTR (fs_funnel_chain)); |
160 | 176 | gst_pad_set_event_function (sinkpad, GST_DEBUG_FUNCPTR (fs_funnel_event)); |
161 | 177 | 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)); | |
162 | 180 | |
163 | 181 | gst_segment_init (&priv->segment, GST_FORMAT_UNDEFINED); |
164 | 182 | gst_pad_set_element_private (sinkpad, priv); |
311 | 311 | libexecdir = @libexecdir@ |
312 | 312 | localedir = @localedir@ |
313 | 313 | localstatedir = @localstatedir@ |
314 | lt_ECHO = @lt_ECHO@ | |
315 | 314 | mandir = @mandir@ |
316 | 315 | mkdir_p = @mkdir_p@ |
317 | 316 | oldincludedir = @oldincludedir@ |
311 | 311 | libexecdir = @libexecdir@ |
312 | 312 | localedir = @localedir@ |
313 | 313 | localstatedir = @localstatedir@ |
314 | lt_ECHO = @lt_ECHO@ | |
315 | 314 | mandir = @mandir@ |
316 | 315 | mkdir_p = @mkdir_p@ |
317 | 316 | oldincludedir = @oldincludedir@ |
289 | 289 | libexecdir = @libexecdir@ |
290 | 290 | localedir = @localedir@ |
291 | 291 | localstatedir = @localstatedir@ |
292 | lt_ECHO = @lt_ECHO@ | |
293 | 292 | mandir = @mandir@ |
294 | 293 | mkdir_p = @mkdir_p@ |
295 | 294 | oldincludedir = @oldincludedir@ |
292 | 292 | libexecdir = @libexecdir@ |
293 | 293 | localedir = @localedir@ |
294 | 294 | localstatedir = @localstatedir@ |
295 | lt_ECHO = @lt_ECHO@ | |
296 | 295 | mandir = @mandir@ |
297 | 296 | mkdir_p = @mkdir_p@ |
298 | 297 | oldincludedir = @oldincludedir@ |
340 | 340 | libexecdir = @libexecdir@ |
341 | 341 | localedir = @localedir@ |
342 | 342 | localstatedir = @localstatedir@ |
343 | lt_ECHO = @lt_ECHO@ | |
344 | 343 | mandir = @mandir@ |
345 | 344 | mkdir_p = @mkdir_p@ |
346 | 345 | oldincludedir = @oldincludedir@ |
129 | 129 | FsMediaType media_type, |
130 | 130 | GError **error) |
131 | 131 | { |
132 | FsBaseConferenceClass *klass = FS_BASE_CONFERENCE_GET_CLASS (conf); | |
133 | FsBaseConference *base_conf = FS_BASE_CONFERENCE (conf); | |
134 | ||
132 | FsBaseConferenceClass *klass; | |
133 | FsBaseConference *baseconf; | |
135 | 134 | FsSession *new_session = NULL; |
136 | 135 | |
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); | |
139 | 140 | g_return_val_if_fail (klass->new_session, NULL); |
140 | 141 | |
141 | new_session = klass->new_session (base_conf, media_type, error); | |
142 | new_session = klass->new_session (baseconf, media_type, error); | |
142 | 143 | |
143 | 144 | if (!new_session) |
144 | 145 | return NULL; |
145 | 146 | |
146 | 147 | /* Let's catch all session errors and send them over the GstBus */ |
147 | 148 | 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); | |
149 | 150 | |
150 | 151 | return new_session; |
151 | 152 | } |
182 | 183 | const gchar *cname, |
183 | 184 | GError **error) |
184 | 185 | { |
185 | FsBaseConference *baseconf = FS_BASE_CONFERENCE (conf); | |
186 | FsBaseConferenceClass *klass = FS_BASE_CONFERENCE_GET_CLASS (conf); | |
186 | FsBaseConference *baseconf; | |
187 | FsBaseConferenceClass *klass; | |
187 | 188 | |
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); | |
190 | 193 | g_return_val_if_fail (klass->new_participant, NULL); |
191 | 194 | |
192 | 195 | return klass->new_participant (baseconf, cname, error); |
117 | 117 | fs_conference_new_session (FsConference *conference, FsMediaType media_type, |
118 | 118 | GError **error) |
119 | 119 | { |
120 | FsConferenceClass *iface = | |
121 | FS_CONFERENCE_GET_IFACE (conference); | |
120 | FsConferenceClass *iface; | |
122 | 121 | |
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); | |
124 | 125 | g_return_val_if_fail (iface->new_session, NULL); |
125 | 126 | |
126 | 127 | return iface->new_session (conference, media_type, error); |
142 | 143 | fs_conference_new_participant (FsConference *conference, const gchar *cname, |
143 | 144 | GError **error) |
144 | 145 | { |
145 | FsConferenceClass *iface = | |
146 | FS_CONFERENCE_GET_IFACE (conference); | |
146 | FsConferenceClass *iface; | |
147 | 147 | |
148 | g_return_val_if_fail (conference, NULL); | |
149 | iface = FS_CONFERENCE_GET_IFACE (conference); | |
148 | 150 | g_return_val_if_fail (iface, NULL); |
149 | 151 | g_return_val_if_fail (iface->new_participant, NULL); |
150 | 152 |
420 | 420 | GParameter *stream_transmitter_parameters, |
421 | 421 | GError **error) |
422 | 422 | { |
423 | FsSessionClass *klass = FS_SESSION_GET_CLASS (session); | |
423 | FsSessionClass *klass; | |
424 | 424 | FsStream *new_stream = NULL; |
425 | 425 | |
426 | 426 | 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); | |
428 | 429 | 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); | |
431 | 430 | |
432 | 431 | new_stream = klass->new_stream (session, participant, direction, |
433 | 432 | transmitter, stream_transmitter_n_parameters, |
465 | 464 | fs_session_start_telephony_event (FsSession *session, guint8 event, |
466 | 465 | guint8 volume, FsDTMFMethod method) |
467 | 466 | { |
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); | |
469 | 472 | |
470 | 473 | if (klass->start_telephony_event) { |
471 | 474 | return klass->start_telephony_event (session, event, volume, method); |
492 | 495 | gboolean |
493 | 496 | fs_session_stop_telephony_event (FsSession *session, FsDTMFMethod method) |
494 | 497 | { |
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); | |
496 | 503 | |
497 | 504 | if (klass->stop_telephony_event) { |
498 | 505 | return klass->stop_telephony_event (session, method); |
520 | 527 | fs_session_set_send_codec (FsSession *session, FsCodec *send_codec, |
521 | 528 | GError **error) |
522 | 529 | { |
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); | |
524 | 535 | |
525 | 536 | if (klass->set_send_codec) { |
526 | 537 | return klass->set_send_codec (session, send_codec, error); |
560 | 571 | GList *codec_preferences, |
561 | 572 | GError **error) |
562 | 573 | { |
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); | |
564 | 579 | |
565 | 580 | if (klass->set_codec_preferences) { |
566 | 581 | return klass->set_codec_preferences (session, codec_preferences, error); |
606 | 621 | gchar ** |
607 | 622 | fs_session_list_transmitters (FsSession *session) |
608 | 623 | { |
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); | |
610 | 629 | |
611 | 630 | if (klass->list_transmitters) { |
612 | 631 | return klass->list_transmitters (session); |
630 | 649 | fs_session_get_stream_transmitter_type (FsSession *session, |
631 | 650 | const gchar *transmitter) |
632 | 651 | { |
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); | |
634 | 657 | |
635 | 658 | if (klass->get_stream_transmitter_type) |
636 | 659 | return klass->get_stream_transmitter_type (session, transmitter); |
328 | 328 | GList *candidates, |
329 | 329 | GError **error) |
330 | 330 | { |
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); | |
333 | 336 | |
334 | 337 | if (klass->set_remote_candidates) { |
335 | 338 | return klass->set_remote_candidates (streamtransmitter, candidates, error); |
360 | 363 | GList *remote_candidates, |
361 | 364 | GError **error) |
362 | 365 | { |
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); | |
365 | 371 | |
366 | 372 | if (klass->force_remote_candidates) { |
367 | 373 | return klass->force_remote_candidates (streamtransmitter, |
391 | 397 | FsStreamTransmitter *streamtransmitter, |
392 | 398 | GError **error) |
393 | 399 | { |
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); | |
396 | 405 | |
397 | 406 | if (klass->gather_local_candidates) |
398 | 407 | return klass->gather_local_candidates (streamtransmitter, error); |
413 | 422 | void |
414 | 423 | fs_stream_transmitter_stop (FsStreamTransmitter *streamtransmitter) |
415 | 424 | { |
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); | |
418 | 430 | |
419 | 431 | if (klass->stop) |
420 | 432 | klass->stop (streamtransmitter); |
382 | 382 | GList *candidates, |
383 | 383 | GError **error) |
384 | 384 | { |
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); | |
386 | 390 | |
387 | 391 | if (klass->set_remote_candidates) { |
388 | 392 | return klass->set_remote_candidates (stream, candidates, error); |
412 | 416 | GList *remote_candidates, |
413 | 417 | GError **error) |
414 | 418 | { |
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); | |
416 | 424 | |
417 | 425 | if (klass->force_remote_candidates) { |
418 | 426 | return klass->force_remote_candidates (stream, |
444 | 452 | fs_stream_set_remote_codecs (FsStream *stream, |
445 | 453 | GList *remote_codecs, GError **error) |
446 | 454 | { |
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); | |
448 | 460 | |
449 | 461 | if (klass->set_remote_codecs) { |
450 | 462 | return klass->set_remote_codecs (stream, remote_codecs, error); |
479 | 491 | fs_stream_add_id (FsStream *stream, |
480 | 492 | guint id) |
481 | 493 | { |
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); | |
483 | 499 | |
484 | 500 | if (klass->add_id) |
485 | 501 | klass->add_id (stream, id); |
265 | 265 | GParameter *parameters, |
266 | 266 | GError **error) |
267 | 267 | { |
268 | FsTransmitterClass *klass = FS_TRANSMITTER_GET_CLASS (transmitter); | |
268 | FsTransmitterClass *klass; | |
269 | 269 | |
270 | 270 | 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); | |
272 | 273 | g_return_val_if_fail (klass->new_stream_transmitter, NULL); |
274 | ||
273 | 275 | |
274 | 276 | return klass->new_stream_transmitter (transmitter, participant, |
275 | 277 | n_parameters, parameters, error); |
333 | 335 | GType |
334 | 336 | fs_transmitter_get_stream_transmitter_type (FsTransmitter *transmitter) |
335 | 337 | { |
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); | |
339 | 343 | g_return_val_if_fail (klass->get_stream_transmitter_type, 0); |
340 | 344 | |
341 | 345 | return klass->get_stream_transmitter_type (transmitter); |
0 | 0 | # Generated from ltmain.m4sh. |
1 | 1 | |
2 | # ltmain.sh (GNU libtool) 2.2.6b | |
2 | # libtool (GNU libtool) 2.2.10 | |
3 | 3 | # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
4 | 4 | |
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. | |
6 | 7 | # This is free software; see the source for copying conditions. There is NO |
7 | 8 | # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
8 | 9 | |
31 | 32 | # |
32 | 33 | # Provide generalized library-building support services. |
33 | 34 | # |
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 | |
45 | 49 | # |
46 | 50 | # MODE must be one of the following: |
47 | 51 | # |
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 | |
55 | 59 | # |
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. | |
57 | 62 | # Try `$progname --help --mode=MODE' for a more detailed description of MODE. |
58 | 63 | # |
59 | 64 | # When reporting a bug, please describe a test case to reproduce it and |
60 | 65 | # include the following information: |
61 | 66 | # |
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 | |
70 | 75 | # |
71 | 76 | # Report bugs to <bug-libtool@gnu.org>. |
72 | 77 | |
73 | PROGRAM=ltmain.sh | |
78 | PROGRAM=libtool | |
74 | 79 | PACKAGE=libtool |
75 | VERSION=2.2.6b | |
80 | VERSION=2.2.10 | |
76 | 81 | TIMESTAMP="" |
77 | package_revision=1.3017 | |
82 | package_revision=1.3175 | |
78 | 83 | |
79 | 84 | # Be Bourne compatible |
80 | 85 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
90 | 95 | BIN_SH=xpg4; export BIN_SH # for Tru64 |
91 | 96 | DUALCASE=1; export DUALCASE # for MKS sh |
92 | 97 | |
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 | ||
93 | 106 | # 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). | |
97 | 107 | lt_user_locale= |
98 | 108 | lt_safe_locale= |
99 | 109 | for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES |
106 | 116 | lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" |
107 | 117 | fi" |
108 | 118 | done |
119 | LC_ALL=C | |
120 | LANGUAGE=C | |
121 | export LANGUAGE LC_ALL | |
109 | 122 | |
110 | 123 | $lt_unset CDPATH |
111 | 124 | |
112 | 125 | |
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" | |
113 | 132 | |
114 | 133 | |
115 | 134 | |
116 | 135 | : ${CP="cp -f"} |
117 | : ${ECHO="echo"} | |
136 | test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} | |
118 | 137 | : ${EGREP="/bin/grep -E"} |
119 | 138 | : ${FGREP="/bin/grep -F"} |
120 | 139 | : ${GREP="/bin/grep"} |
158 | 177 | func_dirname_and_basename () |
159 | 178 | { |
160 | 179 | # Extract subdirectory from the argument. |
161 | func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` | |
180 | func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` | |
162 | 181 | if test "X$func_dirname_result" = "X${1}"; then |
163 | 182 | func_dirname_result="${3}" |
164 | 183 | else |
165 | 184 | func_dirname_result="$func_dirname_result${2}" |
166 | 185 | fi |
167 | func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` | |
186 | func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` | |
168 | 187 | } |
169 | 188 | |
170 | 189 | # Generated shell functions inserted here. |
171 | 190 | |
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 | } | |
178 | 338 | |
179 | 339 | # 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: | |
182 | 340 | func_dirname_and_basename "$progpath" |
183 | 341 | progname=$func_basename_result |
184 | case $progname in | |
185 | -*) progname=./$progname ;; | |
186 | esac | |
187 | 342 | |
188 | 343 | # Make sure we have an absolute path for reexecution: |
189 | 344 | case $progpath in |
257 | 412 | : |
258 | 413 | } |
259 | 414 | |
415 | # func_echo_all arg... | |
416 | # Invoke $ECHO with all args, space-separated. | |
417 | func_echo_all () | |
418 | { | |
419 | $ECHO "$*" | |
420 | } | |
421 | ||
260 | 422 | # func_error arg... |
261 | 423 | # Echo program name prefixed message to standard error. |
262 | 424 | func_error () |
325 | 487 | case $my_directory_path in */*) ;; *) break ;; esac |
326 | 488 | |
327 | 489 | # ...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"` | |
329 | 491 | done |
330 | my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` | |
492 | my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` | |
331 | 493 | |
332 | 494 | save_mkdir_p_IFS="$IFS"; IFS=':' |
333 | 495 | for my_dir in $my_dir_list; do |
377 | 539 | func_fatal_error "cannot create temporary directory \`$my_tmpdir'" |
378 | 540 | fi |
379 | 541 | |
380 | $ECHO "X$my_tmpdir" | $Xsed | |
542 | $ECHO "$my_tmpdir" | |
381 | 543 | } |
382 | 544 | |
383 | 545 | |
391 | 553 | { |
392 | 554 | case $1 in |
393 | 555 | *[\\\`\"\$]*) |
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"` ;; | |
395 | 557 | *) |
396 | 558 | func_quote_for_eval_unquoted_result="$1" ;; |
397 | 559 | esac |
418 | 580 | { |
419 | 581 | case $1 in |
420 | 582 | *[\\\`\"]*) |
421 | my_arg=`$ECHO "X$1" | $Xsed \ | |
583 | my_arg=`$ECHO "$1" | $SED \ | |
422 | 584 | -e "$double_quote_subst" -e "$sed_double_backslash"` ;; |
423 | 585 | *) |
424 | 586 | my_arg="$1" ;; |
488 | 650 | } |
489 | 651 | |
490 | 652 | |
491 | ||
492 | ||
493 | ||
494 | 653 | # func_version |
495 | 654 | # Echo version message to standard output and exit. |
496 | 655 | func_version () |
497 | 656 | { |
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; / { | |
499 | 666 | s/^# // |
500 | 667 | s/^# *$// |
501 | 668 | s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ |
508 | 675 | # Echo short help message to standard output and exit. |
509 | 676 | func_usage () |
510 | 677 | { |
511 | $SED -n '/^# Usage:/,/# -h/ { | |
678 | $SED -n '/^# Usage:/,/^# *.*--help/ { | |
512 | 679 | s/^# // |
513 | 680 | s/^# *$// |
514 | 681 | s/\$progname/'$progname'/ |
515 | 682 | p |
516 | 683 | }' < "$progpath" |
517 | $ECHO | |
684 | echo | |
518 | 685 | $ECHO "run \`$progname --help | more' for full usage" |
519 | 686 | exit $? |
520 | 687 | } |
521 | 688 | |
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. | |
524 | 692 | func_help () |
525 | 693 | { |
526 | 694 | $SED -n '/^# Usage:/,/# Report bugs to/ { |
537 | 705 | s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ |
538 | 706 | p |
539 | 707 | }' < "$progpath" |
540 | exit $? | |
708 | ret=$? | |
709 | if test -z "$1"; then | |
710 | exit $ret | |
711 | fi | |
541 | 712 | } |
542 | 713 | |
543 | 714 | # func_missing_arg argname |
545 | 716 | # exit_cmd. |
546 | 717 | func_missing_arg () |
547 | 718 | { |
548 | func_error "missing argument for $1" | |
719 | func_error "missing argument for $1." | |
549 | 720 | exit_cmd=exit |
550 | 721 | } |
551 | 722 | |
555 | 726 | |
556 | 727 | |
557 | 728 | |
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 | |
581 | 729 | |
582 | 730 | magic="%%%MAGIC variable%%%" |
583 | 731 | magic_exe="%%%MAGIC EXE variable%%%" |
635 | 783 | # Display the features supported by this script. |
636 | 784 | func_features () |
637 | 785 | { |
638 | $ECHO "host: $host" | |
786 | echo "host: $host" | |
639 | 787 | if test "$build_libtool_libs" = yes; then |
640 | $ECHO "enable shared libraries" | |
788 | echo "enable shared libraries" | |
641 | 789 | else |
642 | $ECHO "disable shared libraries" | |
790 | echo "disable shared libraries" | |
643 | 791 | fi |
644 | 792 | if test "$build_old_libs" = yes; then |
645 | $ECHO "enable static libraries" | |
793 | echo "enable static libraries" | |
646 | 794 | else |
647 | $ECHO "disable static libraries" | |
795 | echo "disable static libraries" | |
648 | 796 | fi |
649 | 797 | |
650 | 798 | exit $? |
771 | 919 | |
772 | 920 | --quiet|--silent) preserve_args="$preserve_args $opt" |
773 | 921 | opt_silent=: |
922 | opt_verbose=false | |
923 | ;; | |
924 | ||
925 | --no-quiet|--no-silent) | |
926 | preserve_args="$preserve_args $opt" | |
927 | opt_silent=false | |
774 | 928 | ;; |
775 | 929 | |
776 | 930 | --verbose| -v) preserve_args="$preserve_args $opt" |
777 | 931 | opt_silent=false |
932 | opt_verbose=: | |
933 | ;; | |
934 | ||
935 | --no-verbose) preserve_args="$preserve_args $opt" | |
936 | opt_verbose=false | |
778 | 937 | ;; |
779 | 938 | |
780 | 939 | --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break |
792 | 951 | |
793 | 952 | -\?|-h) func_usage ;; |
794 | 953 | --help) opt_help=: ;; |
954 | --help-all) opt_help=': help-all' ;; | |
795 | 955 | --version) func_version ;; |
796 | 956 | |
797 | 957 | -*) func_fatal_help "unrecognized option \`$opt'" ;; |
1015 | 1175 | func_quote_for_eval "$arg" |
1016 | 1176 | CC_quoted="$CC_quoted $func_quote_for_eval_result" |
1017 | 1177 | done |
1178 | CC_expanded=`func_echo_all $CC` | |
1179 | CC_quoted_expanded=`func_echo_all $CC_quoted` | |
1018 | 1180 | case $@ in |
1019 | 1181 | # Blanks in the command may have been stripped by the calling shell, |
1020 | 1182 | # 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 "*) ;; | |
1022 | 1185 | # Blanks at the start of $base_compile will cause this to fail |
1023 | 1186 | # if we don't check for them as well. |
1024 | 1187 | *) |
1032 | 1195 | func_quote_for_eval "$arg" |
1033 | 1196 | CC_quoted="$CC_quoted $func_quote_for_eval_result" |
1034 | 1197 | done |
1198 | CC_expanded=`func_echo_all $CC` | |
1199 | CC_quoted_expanded=`func_echo_all $CC_quoted` | |
1035 | 1200 | 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 "*) | |
1037 | 1203 | # The compiler in the base compile command matches |
1038 | 1204 | # the one in the tagged configuration. |
1039 | 1205 | # Assume this is the tagged configuration we want. |
1212 | 1378 | *.[cCFSifmso] | \ |
1213 | 1379 | *.ada | *.adb | *.ads | *.asm | \ |
1214 | 1380 | *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ |
1215 | *.[fF][09]? | *.for | *.java | *.obj | *.sx) | |
1381 | *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup) | |
1216 | 1382 | func_xform "$libobj" |
1217 | 1383 | libobj=$func_xform_result |
1218 | 1384 | ;; |
1287 | 1453 | # Calculate the filename of the output object if compiler does |
1288 | 1454 | # not support -o with -c |
1289 | 1455 | 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} | |
1291 | 1457 | lockfile="$output_obj.lock" |
1292 | 1458 | else |
1293 | 1459 | output_obj= |
1444 | 1610 | } |
1445 | 1611 | |
1446 | 1612 | $opt_help || { |
1447 | test "$mode" = compile && func_mode_compile ${1+"$@"} | |
1613 | test "$mode" = compile && func_mode_compile ${1+"$@"} | |
1448 | 1614 | } |
1449 | 1615 | |
1450 | 1616 | func_mode_help () |
1481 | 1647 | |
1482 | 1648 | -o OUTPUT-FILE set the output file name to OUTPUT-FILE |
1483 | 1649 | -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 | |
1486 | 1652 | -shared do not build a \`.o' file suitable for static linking |
1487 | 1653 | -static only build a \`.o' file suitable for static linking |
1654 | -Wc,FLAG pass FLAG directly to the compiler | |
1488 | 1655 | |
1489 | 1656 | COMPILE-COMMAND is a command to be used in creating a \`standard' object file |
1490 | 1657 | from the given SOURCEFILE. |
1537 | 1704 | |
1538 | 1705 | The following components of INSTALL-COMMAND are treated specially: |
1539 | 1706 | |
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 | |
1541 | 1708 | |
1542 | 1709 | The rest of the components are interpreted as arguments to that command (only |
1543 | 1710 | BSD-compatible install options are recognized)." |
1557 | 1724 | |
1558 | 1725 | -all-static do not do any dynamic linking at all |
1559 | 1726 | -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) | |
1560 | 1729 | -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime |
1561 | 1730 | -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols |
1562 | 1731 | -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) |
1585 | 1754 | -version-info CURRENT[:REVISION[:AGE]] |
1586 | 1755 | specify library version info [each variable defaults to 0] |
1587 | 1756 | -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) | |
1588 | 1762 | |
1589 | 1763 | All other options (arguments beginning with \`-') are ignored. |
1590 | 1764 | |
1622 | 1796 | ;; |
1623 | 1797 | esac |
1624 | 1798 | |
1625 | $ECHO | |
1799 | echo | |
1626 | 1800 | $ECHO "Try \`$progname --help' for more information about other modes." |
1627 | ||
1628 | exit $? | |
1629 | 1801 | } |
1630 | 1802 | |
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 | |
1633 | 1833 | |
1634 | 1834 | |
1635 | 1835 | # func_mode_execute arg... |
1711 | 1911 | for file |
1712 | 1912 | do |
1713 | 1913 | case $file in |
1714 | -*) ;; | |
1914 | -* | *.la | *.lo ) ;; | |
1715 | 1915 | *) |
1716 | 1916 | # Do a test to see if this is really a libtool program. |
1717 | 1917 | if func_ltwrapper_script_p "$file"; then |
1753 | 1953 | # Display what would be done. |
1754 | 1954 | if test -n "$shlibpath_var"; then |
1755 | 1955 | eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" |
1756 | $ECHO "export $shlibpath_var" | |
1956 | echo "export $shlibpath_var" | |
1757 | 1957 | fi |
1758 | 1958 | $ECHO "$cmd$args" |
1759 | 1959 | exit $EXIT_SUCCESS |
1794 | 1994 | # Exit here if they wanted silent mode. |
1795 | 1995 | $opt_silent && exit $EXIT_SUCCESS |
1796 | 1996 | |
1797 | $ECHO "X----------------------------------------------------------------------" | $Xsed | |
1798 | $ECHO "Libraries have been installed in:" | |
1997 | echo "----------------------------------------------------------------------" | |
1998 | echo "Libraries have been installed in:" | |
1799 | 1999 | for libdir in $libdirs; do |
1800 | 2000 | $ECHO " $libdir" |
1801 | 2001 | 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:" | |
1807 | 2007 | 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" | |
1810 | 2010 | fi |
1811 | 2011 | 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" | |
1814 | 2014 | fi |
1815 | 2015 | if test -n "$hardcode_libdir_flag_spec"; then |
1816 | 2016 | libdir=LIBDIR |
1822 | 2022 | $ECHO " - have your system administrator run these commands:$admincmds" |
1823 | 2023 | fi |
1824 | 2024 | 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'" | |
1826 | 2026 | 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" | |
1830 | 2030 | case $host in |
1831 | 2031 | 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." | |
1834 | 2034 | ;; |
1835 | 2035 | *) |
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." | |
1837 | 2037 | ;; |
1838 | 2038 | esac |
1839 | $ECHO "X----------------------------------------------------------------------" | $Xsed | |
2039 | echo "----------------------------------------------------------------------" | |
1840 | 2040 | exit $EXIT_SUCCESS |
1841 | 2041 | } |
1842 | 2042 | |
1851 | 2051 | # install_prog (especially on Windows NT). |
1852 | 2052 | if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || |
1853 | 2053 | # 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 | |
1855 | 2055 | # Aesthetically quote it. |
1856 | 2056 | func_quote_for_eval "$nonopt" |
1857 | 2057 | install_prog="$func_quote_for_eval_result " |
1866 | 2066 | # Aesthetically quote it. |
1867 | 2067 | func_quote_for_eval "$arg" |
1868 | 2068 | 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 | |
1869 | 2074 | |
1870 | 2075 | # We need to accept at least all the BSD install flags. |
1871 | 2076 | dest= |
1875 | 2080 | install_type= |
1876 | 2081 | isdir=no |
1877 | 2082 | stripme= |
2083 | no_mode=: | |
1878 | 2084 | for arg |
1879 | 2085 | do |
2086 | arg2= | |
1880 | 2087 | if test -n "$dest"; then |
1881 | 2088 | files="$files $dest" |
1882 | 2089 | dest=$arg |
1886 | 2093 | case $arg in |
1887 | 2094 | -d) isdir=yes ;; |
1888 | 2095 | -f) |
1889 | case " $install_prog " in | |
1890 | *[\\\ /]cp\ *) ;; | |
1891 | *) prev=$arg ;; | |
1892 | esac | |
2096 | if $install_cp; then :; else | |
2097 | prev=$arg | |
2098 | fi | |
1893 | 2099 | ;; |
1894 | 2100 | -g | -m | -o) |
1895 | 2101 | prev=$arg |
1903 | 2109 | *) |
1904 | 2110 | # If the previous option needed an argument, then skip it. |
1905 | 2111 | 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 | |
1906 | 2116 | prev= |
1907 | 2117 | else |
1908 | 2118 | dest=$arg |
1914 | 2124 | # Aesthetically quote the argument. |
1915 | 2125 | func_quote_for_eval "$arg" |
1916 | 2126 | 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" | |
1917 | 2131 | done |
1918 | 2132 | |
1919 | 2133 | test -z "$install_prog" && \ |
1921 | 2135 | |
1922 | 2136 | test -n "$prev" && \ |
1923 | 2137 | 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 | |
1924 | 2145 | |
1925 | 2146 | if test -z "$files"; then |
1926 | 2147 | if test -z "$dest"; then |
2009 | 2230 | |
2010 | 2231 | if test -n "$relink_command"; then |
2011 | 2232 | # 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\$%%"` | |
2013 | 2234 | |
2014 | 2235 | # Don't allow the user to place us outside of our expected |
2015 | 2236 | # location b/c this prevents finding dependent libraries that |
2022 | 2243 | |
2023 | 2244 | if test -n "$inst_prefix_dir"; then |
2024 | 2245 | # 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%"` | |
2026 | 2247 | 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@%%"` | |
2028 | 2249 | fi |
2029 | 2250 | |
2030 | 2251 | func_warning "relinking \`$file'" |
2042 | 2263 | test -n "$relink_command" && srcname="$realname"T |
2043 | 2264 | |
2044 | 2265 | # 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" \ | |
2046 | 2267 | 'exit $?' |
2047 | 2268 | tstripme="$stripme" |
2048 | 2269 | case $host_os in |
2182 | 2403 | if test -f "$lib"; then |
2183 | 2404 | func_source "$lib" |
2184 | 2405 | 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 | |
2186 | 2407 | if test -n "$libdir" && test ! -f "$libfile"; then |
2187 | 2408 | func_warning "\`$lib' has not been installed in \`$libdir'" |
2188 | 2409 | finalize=no |
2201 | 2422 | file="$func_basename_result" |
2202 | 2423 | outputname="$tmpdir/$file" |
2203 | 2424 | # 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'` | |
2205 | 2426 | |
2206 | 2427 | $opt_silent || { |
2207 | 2428 | func_quote_for_expand "$relink_command" |
2220 | 2441 | } |
2221 | 2442 | else |
2222 | 2443 | # 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%"` | |
2224 | 2445 | fi |
2225 | 2446 | fi |
2226 | 2447 | |
2322 | 2543 | extern \"C\" { |
2323 | 2544 | #endif |
2324 | 2545 | |
2546 | #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) | |
2547 | #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" | |
2548 | #endif | |
2549 | ||
2325 | 2550 | /* External symbol declarations for the compiler. */\ |
2326 | 2551 | " |
2327 | 2552 | |
2331 | 2556 | $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" |
2332 | 2557 | |
2333 | 2558 | # 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` | |
2335 | 2560 | for progfile in $progfiles; do |
2336 | 2561 | func_verbose "extracting global C symbols from \`$progfile'" |
2337 | 2562 | $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" |
2370 | 2595 | eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' |
2371 | 2596 | eval '$MV "$nlist"T "$nlist"' |
2372 | 2597 | case $host in |
2373 | *cygwin | *mingw* | *cegcc* ) | |
2598 | *cygwin* | *mingw* | *cegcc* ) | |
2374 | 2599 | eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' |
2375 | 2600 | eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' |
2376 | 2601 | ;; |
2414 | 2639 | if test -f "$nlist"S; then |
2415 | 2640 | eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' |
2416 | 2641 | else |
2417 | $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" | |
2642 | echo '/* NONE */' >> "$output_objdir/$my_dlsyms" | |
2418 | 2643 | fi |
2419 | 2644 | |
2420 | $ECHO >> "$output_objdir/$my_dlsyms" "\ | |
2645 | echo >> "$output_objdir/$my_dlsyms" "\ | |
2421 | 2646 | |
2422 | 2647 | /* The mapping between symbol names and symbols. */ |
2423 | 2648 | typedef struct { |
2427 | 2652 | " |
2428 | 2653 | case $host in |
2429 | 2654 | *cygwin* | *mingw* | *cegcc* ) |
2430 | $ECHO >> "$output_objdir/$my_dlsyms" "\ | |
2655 | echo >> "$output_objdir/$my_dlsyms" "\ | |
2431 | 2656 | /* DATA imports from DLLs on WIN32 con't be const, because |
2432 | 2657 | runtime relocations are performed -- see ld's documentation |
2433 | 2658 | on pseudo-relocs. */" |
2440 | 2665 | lt_dlsym_const=const ;; |
2441 | 2666 | esac |
2442 | 2667 | |
2443 | $ECHO >> "$output_objdir/$my_dlsyms" "\ | |
2668 | echo >> "$output_objdir/$my_dlsyms" "\ | |
2444 | 2669 | extern $lt_dlsym_const lt_dlsymlist |
2445 | 2670 | lt_${my_prefix}_LTX_preloaded_symbols[]; |
2446 | 2671 | $lt_dlsym_const lt_dlsymlist |
2456 | 2681 | eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" |
2457 | 2682 | ;; |
2458 | 2683 | esac |
2459 | $ECHO >> "$output_objdir/$my_dlsyms" "\ | |
2684 | echo >> "$output_objdir/$my_dlsyms" "\ | |
2460 | 2685 | {0, (void *) 0} |
2461 | 2686 | }; |
2462 | 2687 | |
2514 | 2739 | case $host in |
2515 | 2740 | *cygwin* | *mingw* | *cegcc* ) |
2516 | 2741 | 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%"` | |
2519 | 2744 | 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%"` | |
2522 | 2747 | fi |
2523 | 2748 | ;; |
2524 | 2749 | *) |
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%"` | |
2527 | 2752 | ;; |
2528 | 2753 | esac |
2529 | 2754 | ;; |
2537 | 2762 | # really was required. |
2538 | 2763 | |
2539 | 2764 | # 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@%%"` | |
2542 | 2767 | fi |
2543 | 2768 | } |
2544 | 2769 | |
2548 | 2773 | # Need a lot of goo to handle *both* DLLs and import libs |
2549 | 2774 | # Has to be a shell function in order to 'eat' the argument |
2550 | 2775 | # that is supplied when $file_magic_command is called. |
2776 | # Despite the name, also deal with 64 bit binaries. | |
2551 | 2777 | func_win32_libid () |
2552 | 2778 | { |
2553 | 2779 | $opt_debug |
2558 | 2784 | win32_libid_type="x86 archive import" |
2559 | 2785 | ;; |
2560 | 2786 | *ar\ archive*) # could be an import, or static |
2787 | # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. | |
2561 | 2788 | 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 | |
2563 | 2790 | win32_nmres=`eval $NM -f posix -A $1 | |
2564 | 2791 | $SED -n -e ' |
2565 | 2792 | 1,100{ |
2597 | 2824 | $opt_debug |
2598 | 2825 | f_ex_an_ar_dir="$1"; shift |
2599 | 2826 | 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 | |
2601 | 2839 | if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then |
2602 | 2840 | : |
2603 | 2841 | else |
2668 | 2906 | darwin_file= |
2669 | 2907 | darwin_files= |
2670 | 2908 | 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` | |
2672 | 2910 | $LIPO -create -output "$darwin_file" $darwin_files |
2673 | 2911 | done # $darwin_filelist |
2674 | 2912 | $RM -rf unfat-$$ |
2683 | 2921 | func_extract_an_archive "$my_xdir" "$my_xabs" |
2684 | 2922 | ;; |
2685 | 2923 | 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` | |
2687 | 2925 | done |
2688 | 2926 | |
2689 | 2927 | func_extract_archives_result="$my_oldobjs" |
2690 | 2928 | } |
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 | |
2926 | 2929 | |
2927 | 2930 | |
2928 | 2931 | # func_emit_wrapper [arg=no] |
2941 | 2944 | # behavior. |
2942 | 2945 | func_emit_wrapper () |
2943 | 2946 | { |
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 | " | |
2947 | 3191 | fi |
2948 | 3192 | |
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 | " | |
2953 | 3233 | } |
2954 | 3234 | |
2955 | 3235 | |
2977 | 3257 | func_to_host_path () |
2978 | 3258 | { |
2979 | 3259 | func_to_host_path_result="$1" |
2980 | if test -n "$1" ; then | |
3260 | if test -n "$1"; then | |
2981 | 3261 | case $host in |
2982 | 3262 | *mingw* ) |
2983 | 3263 | lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' |
2984 | 3264 | case $build in |
2985 | 3265 | *mingw* ) # actually, msys |
2986 | 3266 | # 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"` | |
2992 | 3269 | ;; |
2993 | 3270 | *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"` | |
2997 | 3273 | ;; |
2998 | 3274 | * ) |
2999 | 3275 | # Unfortunately, winepath does not exit with a non-zero |
3005 | 3281 | # the odd construction: |
3006 | 3282 | func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` |
3007 | 3283 | 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" | | |
3009 | 3285 | $SED -e "$lt_sed_naive_backslashify"` |
3010 | 3286 | else |
3011 | 3287 | # Allow warning below. |
3012 | func_to_host_path_result="" | |
3288 | func_to_host_path_result= | |
3013 | 3289 | fi |
3014 | 3290 | ;; |
3015 | 3291 | esac |
3016 | 3292 | if test -z "$func_to_host_path_result" ; then |
3017 | 3293 | func_error "Could not determine host path corresponding to" |
3018 | func_error " '$1'" | |
3294 | func_error " \`$1'" | |
3019 | 3295 | func_error "Continuing, but uninstalled executables may not work." |
3020 | 3296 | # Fallback: |
3021 | 3297 | func_to_host_path_result="$1" |
3048 | 3324 | func_to_host_pathlist () |
3049 | 3325 | { |
3050 | 3326 | func_to_host_pathlist_result="$1" |
3051 | if test -n "$1" ; then | |
3327 | if test -n "$1"; then | |
3052 | 3328 | case $host in |
3053 | 3329 | *mingw* ) |
3054 | 3330 | lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' |
3055 | 3331 | # Remove leading and trailing path separator characters from |
3056 | 3332 | # ARG. msys behavior is inconsistent here, cygpath turns them |
3057 | 3333 | # 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 | |
3063 | 3336 | case $build in |
3064 | 3337 | *mingw* ) # Actually, msys. |
3065 | 3338 | # 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"` | |
3071 | 3342 | ;; |
3072 | 3343 | *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" | | |
3075 | 3345 | $SED -e "$lt_sed_naive_backslashify"` |
3076 | 3346 | ;; |
3077 | 3347 | * ) |
3087 | 3357 | if test -z "$func_to_host_pathlist_result" ; then |
3088 | 3358 | func_to_host_pathlist_result="$func_to_host_path_result" |
3089 | 3359 | 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" | |
3091 | 3361 | fi |
3092 | 3362 | fi |
3093 | 3363 | fi |
3094 | IFS=: | |
3095 | 3364 | done |
3096 | 3365 | IFS=$func_to_host_pathlist_oldIFS |
3097 | 3366 | ;; |
3098 | 3367 | esac |
3099 | if test -z "$func_to_host_pathlist_result" ; then | |
3368 | if test -z "$func_to_host_pathlist_result"; then | |
3100 | 3369 | func_error "Could not determine the host path(s) corresponding to" |
3101 | func_error " '$1'" | |
3370 | func_error " \`$1'" | |
3102 | 3371 | func_error "Continuing, but uninstalled executables may not work." |
3103 | 3372 | # Fallback. This may break if $1 contains DOS-style drive |
3104 | 3373 | # specifications. The fix is not to complicate the expression |
3115 | 3384 | ;; |
3116 | 3385 | esac |
3117 | 3386 | case "$1" in |
3118 | *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" | |
3387 | *: ) func_append func_to_host_pathlist_result ";" | |
3119 | 3388 | ;; |
3120 | 3389 | esac |
3121 | 3390 | ;; |
3140 | 3409 | |
3141 | 3410 | This wrapper executable should never be moved out of the build directory. |
3142 | 3411 | 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. | |
3147 | 3412 | */ |
3148 | 3413 | EOF |
3149 | 3414 | cat <<"EOF" |
3415 | #ifdef _MSC_VER | |
3416 | # define _CRT_SECURE_NO_DEPRECATE 1 | |
3417 | #endif | |
3150 | 3418 | #include <stdio.h> |
3151 | 3419 | #include <stdlib.h> |
3152 | 3420 | #ifdef _MSC_VER |
3153 | 3421 | # include <direct.h> |
3154 | 3422 | # include <process.h> |
3155 | 3423 | # include <io.h> |
3156 | # define setmode _setmode | |
3157 | 3424 | #else |
3158 | 3425 | # include <unistd.h> |
3159 | 3426 | # include <stdint.h> |
3160 | 3427 | # ifdef __CYGWIN__ |
3161 | 3428 | # 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 | |
3168 | 3429 | # endif |
3169 | 3430 | #endif |
3170 | 3431 | #include <malloc.h> |
3176 | 3437 | #include <fcntl.h> |
3177 | 3438 | #include <sys/stat.h> |
3178 | 3439 | |
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 | ||
3179 | 3478 | #if defined(PATH_MAX) |
3180 | 3479 | # define LT_PATHMAX PATH_MAX |
3181 | 3480 | #elif defined(MAXPATHLEN) |
3191 | 3490 | # define S_IXGRP 0 |
3192 | 3491 | #endif |
3193 | 3492 | |
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 */ | |
3202 | 3494 | #ifndef DIR_SEPARATOR |
3203 | 3495 | # define DIR_SEPARATOR '/' |
3204 | 3496 | # define PATH_SEPARATOR ':' |
3229 | 3521 | # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) |
3230 | 3522 | #endif /* PATH_SEPARATOR_2 */ |
3231 | 3523 | |
3232 | #ifdef __CYGWIN__ | |
3233 | # define FOPEN_WB "wb" | |
3234 | #endif | |
3235 | ||
3236 | 3524 | #ifndef FOPEN_WB |
3237 | 3525 | # define FOPEN_WB "w" |
3238 | 3526 | #endif |
3245 | 3533 | if (stale) { free ((void *) stale); stale = 0; } \ |
3246 | 3534 | } while (0) |
3247 | 3535 | |
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; | |
3259 | 3538 | #else |
3260 | # define LTWRAPPER_DEBUGPRINTF(args) | |
3539 | static int lt_debug = 0; | |
3261 | 3540 | #endif |
3262 | 3541 | |
3263 | const char *program_name = NULL; | |
3542 | const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ | |
3264 | 3543 | |
3265 | 3544 | void *xmalloc (size_t num); |
3266 | 3545 | char *xstrdup (const char *string); |
3270 | 3549 | int make_executable (const char *path); |
3271 | 3550 | int check_executable (const char *path); |
3272 | 3551 | 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); | |
3274 | 3556 | void lt_setenv (const char *name, const char *value); |
3275 | 3557 | 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); | |
3280 | 3558 | void lt_update_exe_path (const char *name, const char *value); |
3281 | 3559 | 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); | |
3284 | 3562 | 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 ";" | |
3298 | 3563 | |
3299 | 3564 | cat <<EOF |
3300 | 3565 | const char * MAGIC_EXE = "$magic_exe"; |
3339 | 3604 | cat <<"EOF" |
3340 | 3605 | |
3341 | 3606 | #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 | ||
3345 | 3608 | static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX; |
3346 | ||
3347 | 3609 | 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"; | |
3360 | 3611 | |
3361 | 3612 | int |
3362 | 3613 | main (int argc, char *argv[]) |
3373 | 3624 | int i; |
3374 | 3625 | |
3375 | 3626 | 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; | |
3380 | 3634 | for (i = 1; i < argc; i++) |
3381 | 3635 | { |
3382 | 3636 | if (strcmp (argv[i], dumpscript_opt) == 0) |
3390 | 3644 | esac |
3391 | 3645 | |
3392 | 3646 | cat <<"EOF" |
3393 | printf ("%s", script_text_part1); | |
3394 | printf ("%s", script_text_part2); | |
3647 | lt_dump_script (stdout); | |
3395 | 3648 | return 0; |
3396 | 3649 | } |
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]); | |
3397 | 3672 | } |
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 | ||
3400 | 3684 | tmp_pathspec = find_executable (argv[0]); |
3401 | 3685 | 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); | |
3405 | 3690 | |
3406 | 3691 | 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); | |
3409 | 3695 | XFREE (tmp_pathspec); |
3410 | 3696 | |
3411 | actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path)); | |
3697 | actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path)); | |
3412 | 3698 | strendzap (actual_cwrapper_path, actual_cwrapper_name); |
3413 | 3699 | |
3414 | 3700 | /* wrapper name transforms */ |
3426 | 3712 | target_name = tmp_pathspec; |
3427 | 3713 | tmp_pathspec = 0; |
3428 | 3714 | |
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); | |
3431 | 3718 | EOF |
3432 | 3719 | |
3433 | 3720 | cat <<EOF |
3480 | 3767 | lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); |
3481 | 3768 | lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE); |
3482 | 3769 | |
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)); | |
3551 | 3772 | for (i = 0; i < newargc; i++) |
3552 | 3773 | { |
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])); | |
3554 | 3776 | } |
3555 | 3777 | |
3556 | 3778 | EOF |
3559 | 3781 | mingw*) |
3560 | 3782 | cat <<"EOF" |
3561 | 3783 | /* execv doesn't actually work on mingw as expected on unix */ |
3784 | newargz = prepare_spawn (newargz); | |
3562 | 3785 | rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); |
3563 | 3786 | if (rval == -1) |
3564 | 3787 | { |
3565 | 3788 | /* 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))); | |
3567 | 3792 | return 127; |
3568 | 3793 | } |
3569 | 3794 | return rval; |
3585 | 3810 | { |
3586 | 3811 | void *p = (void *) malloc (num); |
3587 | 3812 | if (!p) |
3588 | lt_fatal ("Memory exhausted"); | |
3813 | lt_fatal (__FILE__, __LINE__, "memory exhausted"); | |
3589 | 3814 | |
3590 | 3815 | return p; |
3591 | 3816 | } |
3619 | 3844 | { |
3620 | 3845 | struct stat st; |
3621 | 3846 | |
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)); | |
3624 | 3849 | if ((!path) || (!*path)) |
3625 | 3850 | return 0; |
3626 | 3851 | |
3637 | 3862 | int rval = 0; |
3638 | 3863 | struct stat st; |
3639 | 3864 | |
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)); | |
3642 | 3867 | if ((!path) || (!*path)) |
3643 | 3868 | return 0; |
3644 | 3869 | |
3664 | 3889 | int tmp_len; |
3665 | 3890 | char *concat_name; |
3666 | 3891 | |
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)); | |
3669 | 3894 | |
3670 | 3895 | if ((wrapper == NULL) || (*wrapper == '\0')) |
3671 | 3896 | return NULL; |
3718 | 3943 | { |
3719 | 3944 | /* empty path: current directory */ |
3720 | 3945 | if (getcwd (tmp, LT_PATHMAX) == NULL) |
3721 | lt_fatal ("getcwd failed"); | |
3946 | lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", | |
3947 | nonnull (strerror (errno))); | |
3722 | 3948 | tmp_len = strlen (tmp); |
3723 | 3949 | concat_name = |
3724 | 3950 | XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); |
3743 | 3969 | } |
3744 | 3970 | /* Relative path | not found in path: prepend cwd */ |
3745 | 3971 | if (getcwd (tmp, LT_PATHMAX) == NULL) |
3746 | lt_fatal ("getcwd failed"); | |
3972 | lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", | |
3973 | nonnull (strerror (errno))); | |
3747 | 3974 | tmp_len = strlen (tmp); |
3748 | 3975 | concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); |
3749 | 3976 | memcpy (concat_name, tmp, tmp_len); |
3769 | 3996 | int has_symlinks = 0; |
3770 | 3997 | while (strlen (tmp_pathspec) && !has_symlinks) |
3771 | 3998 | { |
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); | |
3774 | 4002 | if (lstat (tmp_pathspec, &s) == 0) |
3775 | 4003 | { |
3776 | 4004 | if (S_ISLNK (s.st_mode) != 0) |
3792 | 4020 | } |
3793 | 4021 | else |
3794 | 4022 | { |
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))); | |
3797 | 4026 | } |
3798 | 4027 | } |
3799 | 4028 | XFREE (tmp_pathspec); |
3806 | 4035 | tmp_pathspec = realpath (pathspec, buf); |
3807 | 4036 | if (tmp_pathspec == 0) |
3808 | 4037 | { |
3809 | lt_fatal ("Could not follow symlinks for %s", pathspec); | |
4038 | lt_fatal (__FILE__, __LINE__, | |
4039 | "could not follow symlinks for %s", pathspec); | |
3810 | 4040 | } |
3811 | 4041 | return xstrdup (tmp_pathspec); |
3812 | 4042 | #endif |
3832 | 4062 | return str; |
3833 | 4063 | } |
3834 | 4064 | |
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 | ||
3835 | 4078 | 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, | |
3837 | 4081 | const char *message, va_list ap) |
3838 | 4082 | { |
3839 | fprintf (stderr, "%s: %s: ", program_name, mode); | |
4083 | fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); | |
3840 | 4084 | vfprintf (stderr, message, ap); |
3841 | 4085 | fprintf (stderr, ".\n"); |
3842 | 4086 | |
3845 | 4089 | } |
3846 | 4090 | |
3847 | 4091 | void |
3848 | lt_fatal (const char *message, ...) | |
4092 | lt_fatal (const char *file, int line, const char *message, ...) | |
3849 | 4093 | { |
3850 | 4094 | va_list ap; |
3851 | 4095 | va_start (ap, message); |
3852 | lt_error_core (EXIT_FAILURE, "FATAL", message, ap); | |
4096 | lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); | |
3853 | 4097 | 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); | |
3854 | 4110 | } |
3855 | 4111 | |
3856 | 4112 | void |
3857 | 4113 | lt_setenv (const char *name, const char *value) |
3858 | 4114 | { |
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)); | |
3862 | 4118 | { |
3863 | 4119 | #ifdef HAVE_SETENV |
3864 | 4120 | /* always make a copy, for consistency with !HAVE_SETENV */ |
3903 | 4159 | return new_value; |
3904 | 4160 | } |
3905 | 4161 | |
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 | ||
3989 | 4162 | void |
3990 | 4163 | lt_update_exe_path (const char *name, const char *value) |
3991 | 4164 | { |
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)); | |
3995 | 4168 | |
3996 | 4169 | if (name && *name && value && *value) |
3997 | 4170 | { |
4010 | 4183 | void |
4011 | 4184 | lt_update_lib_path (const char *name, const char *value) |
4012 | 4185 | { |
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)); | |
4016 | 4189 | |
4017 | 4190 | if (name && *name && value && *value) |
4018 | 4191 | { |
4022 | 4195 | } |
4023 | 4196 | } |
4024 | 4197 | |
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 | } | |
4026 | 4329 | EOF |
4027 | 4330 | } |
4028 | 4331 | # 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 | } | |
4029 | 4343 | |
4030 | 4344 | # func_mode_link arg... |
4031 | 4345 | func_mode_link () |
4071 | 4385 | new_inherited_linker_flags= |
4072 | 4386 | |
4073 | 4387 | avoid_version=no |
4388 | bindir= | |
4074 | 4389 | dlfiles= |
4075 | 4390 | dlprefiles= |
4076 | 4391 | dlself=no |
4163 | 4478 | esac |
4164 | 4479 | |
4165 | 4480 | case $prev in |
4481 | bindir) | |
4482 | bindir="$arg" | |
4483 | prev= | |
4484 | continue | |
4485 | ;; | |
4166 | 4486 | dlfiles|dlprefiles) |
4167 | 4487 | if test "$preload" = no; then |
4168 | 4488 | # Add the symbol object into the linking commands. |
4424 | 4744 | continue |
4425 | 4745 | ;; |
4426 | 4746 | |
4747 | -bindir) | |
4748 | prev=bindir | |
4749 | continue | |
4750 | ;; | |
4751 | ||
4427 | 4752 | -dlopen) |
4428 | 4753 | prev=dlfiles |
4429 | 4754 | continue |
4502 | 4827 | esac |
4503 | 4828 | case $host in |
4504 | 4829 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) |
4505 | testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` | |
4830 | testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` | |
4506 | 4831 | case :$dllsearchpath: in |
4507 | 4832 | *":$dir:"*) ;; |
4508 | 4833 | ::) dllsearchpath=$dir;; |
4521 | 4846 | -l*) |
4522 | 4847 | if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then |
4523 | 4848 | case $host in |
4524 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) | |
4849 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) | |
4525 | 4850 | # These systems don't actually have a C or math library (as such) |
4526 | 4851 | continue |
4527 | 4852 | ;; |
4707 | 5032 | for flag in $args; do |
4708 | 5033 | IFS="$save_ifs" |
4709 | 5034 | func_quote_for_eval "$flag" |
4710 | arg="$arg $wl$func_quote_for_eval_result" | |
5035 | arg="$arg $func_quote_for_eval_result" | |
4711 | 5036 | compiler_flags="$compiler_flags $func_quote_for_eval_result" |
4712 | 5037 | done |
4713 | 5038 | IFS="$save_ifs" |
4753 | 5078 | arg="$func_quote_for_eval_result" |
4754 | 5079 | ;; |
4755 | 5080 | |
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 | |
4766 | 5092 | -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=*) | |
4768 | 5094 | func_quote_for_eval "$arg" |
4769 | 5095 | arg="$func_quote_for_eval_result" |
4770 | 5096 | func_append compile_command " $arg" |
4924 | 5250 | |
4925 | 5251 | if test -n "$shlibpath_var"; then |
4926 | 5252 | # 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\'\` | |
4928 | 5254 | else |
4929 | 5255 | shlib_search_path= |
4930 | 5256 | fi |
5047 | 5373 | # Collect preopened libtool deplibs, except any this library |
5048 | 5374 | # has declared as weak libs |
5049 | 5375 | 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 | |
5051 | 5378 | case " $weak_libs " in |
5052 | 5379 | *" $deplib_base "*) ;; |
5053 | 5380 | *) deplibs="$deplibs $deplib" ;; |
5226 | 5553 | match_pattern*) |
5227 | 5554 | set dummy $deplibs_check_method; shift |
5228 | 5555 | 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 \ | |
5230 | 5557 | | $EGREP "$match_pattern_regex" > /dev/null; then |
5231 | 5558 | valid_a_lib=yes |
5232 | 5559 | fi |
5236 | 5563 | ;; |
5237 | 5564 | esac |
5238 | 5565 | if test "$valid_a_lib" != yes; then |
5239 | $ECHO | |
5566 | echo | |
5240 | 5567 | $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." | |
5246 | 5573 | else |
5247 | $ECHO | |
5574 | echo | |
5248 | 5575 | $ECHO "*** Warning: Linking the shared library $output against the" |
5249 | 5576 | $ECHO "*** static library $deplib is not portable!" |
5250 | 5577 | deplibs="$deplib $deplibs" |
5317 | 5644 | |
5318 | 5645 | # Convert "-framework foo" to "foo.ltframework" |
5319 | 5646 | 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'` | |
5321 | 5648 | for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do |
5322 | 5649 | case " $new_inherited_linker_flags " in |
5323 | 5650 | *" $tmp_inherited_linker_flag "*) ;; |
5325 | 5652 | esac |
5326 | 5653 | done |
5327 | 5654 | 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'` | |
5329 | 5656 | if test "$linkmode,$pass" = "lib,link" || |
5330 | 5657 | test "$linkmode,$pass" = "prog,scan" || |
5331 | 5658 | { test "$linkmode" != prog && test "$linkmode" != lib; }; then |
5579 | 5906 | fi |
5580 | 5907 | done |
5581 | 5908 | if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then |
5582 | $ECHO | |
5909 | echo | |
5583 | 5910 | if test "$linkmode" = prog; then |
5584 | 5911 | $ECHO "*** Warning: Linking the executable $output against the loadable module" |
5585 | 5912 | else |
5682 | 6009 | if test "X$dlopenmodule" != "X$lib"; then |
5683 | 6010 | $ECHO "*** Warning: lib $linklib is a module, not a shared library" |
5684 | 6011 | 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" | |
5688 | 6015 | else |
5689 | 6016 | add="$dir/$old_library" |
5690 | 6017 | fi |
5824 | 6151 | |
5825 | 6152 | # Just print a warning and add the library to dependency_libs so |
5826 | 6153 | # that the program can be linked against the static library. |
5827 | $ECHO | |
6154 | echo | |
5828 | 6155 | $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." | |
5832 | 6159 | 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." | |
5836 | 6163 | 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." | |
5842 | 6169 | fi |
5843 | 6170 | if test "$build_old_libs" = no; then |
5844 | 6171 | build_libtool_libs=module |
5892 | 6219 | if test "$link_all_deplibs" != no; then |
5893 | 6220 | # Add the search paths of all dependency libraries |
5894 | 6221 | for deplib in $dependency_libs; do |
6222 | path= | |
5895 | 6223 | case $deplib in |
5896 | 6224 | -L*) path="$deplib" ;; |
5897 | 6225 | *.la) |
5957 | 6285 | compile_deplibs="$new_inherited_linker_flags $compile_deplibs" |
5958 | 6286 | finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" |
5959 | 6287 | 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'` | |
5961 | 6289 | fi |
5962 | 6290 | fi |
5963 | 6291 | dependency_libs="$newdependency_libs" |
6125 | 6453 | if test "$deplibs_check_method" != pass_all; then |
6126 | 6454 | func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" |
6127 | 6455 | else |
6128 | $ECHO | |
6456 | echo | |
6129 | 6457 | $ECHO "*** Warning: Linking the shared library $output against the non-libtool" |
6130 | 6458 | $ECHO "*** objects $objs is not portable!" |
6131 | 6459 | libobjs="$libobjs $objs" |
6193 | 6521 | age="$number_minor" |
6194 | 6522 | revision="$number_revision" |
6195 | 6523 | ;; |
6196 | freebsd-aout|freebsd-elf|sunos) | |
6524 | freebsd-aout|freebsd-elf|qnx|sunos) | |
6197 | 6525 | current="$number_major" |
6198 | 6526 | revision="$number_minor" |
6199 | 6527 | age="0" |
6427 | 6755 | oldlibs="$oldlibs $output_objdir/$libname.$libext" |
6428 | 6756 | |
6429 | 6757 | # 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` | |
6431 | 6759 | fi |
6432 | 6760 | |
6433 | 6761 | # Eliminate all temporary directories. |
6434 | 6762 | #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"` | |
6438 | 6766 | #done |
6439 | 6767 | |
6440 | 6768 | if test -n "$xrpath"; then |
6475 | 6803 | if test "$build_libtool_libs" = yes; then |
6476 | 6804 | if test -n "$rpath"; then |
6477 | 6805 | case $host in |
6478 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) | |
6806 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) | |
6479 | 6807 | # these systems don't actually have a c library (as such)! |
6480 | 6808 | ;; |
6481 | 6809 | *-*-rhapsody* | *-*-darwin1.[012]) |
6560 | 6888 | newdeplibs="$newdeplibs $i" |
6561 | 6889 | else |
6562 | 6890 | droppeddeps=yes |
6563 | $ECHO | |
6891 | echo | |
6564 | 6892 | $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." | |
6570 | 6898 | fi |
6571 | 6899 | fi |
6572 | 6900 | ;; |
6603 | 6931 | newdeplibs="$newdeplibs $i" |
6604 | 6932 | else |
6605 | 6933 | droppeddeps=yes |
6606 | $ECHO | |
6934 | echo | |
6607 | 6935 | $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." | |
6613 | 6941 | fi |
6614 | 6942 | fi |
6615 | 6943 | else |
6616 | 6944 | droppeddeps=yes |
6617 | $ECHO | |
6945 | echo | |
6618 | 6946 | $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." | |
6622 | 6950 | fi |
6623 | 6951 | ;; |
6624 | 6952 | *) |
6664 | 6992 | potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` |
6665 | 6993 | case $potliblink in |
6666 | 6994 | [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; |
6667 | *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; | |
6995 | *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; | |
6668 | 6996 | esac |
6669 | 6997 | done |
6670 | 6998 | if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | |
6679 | 7007 | fi |
6680 | 7008 | if test -n "$a_deplib" ; then |
6681 | 7009 | droppeddeps=yes |
6682 | $ECHO | |
7010 | echo | |
6683 | 7011 | $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" | |
6688 | 7016 | if test -z "$potlib" ; then |
6689 | 7017 | $ECHO "*** with $libname but no candidates were found. (...for file magic test)" |
6690 | 7018 | else |
6722 | 7050 | potential_libs=`ls $i/$libname[.-]* 2>/dev/null` |
6723 | 7051 | for potent_lib in $potential_libs; do |
6724 | 7052 | 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 | \ | |
6726 | 7054 | $EGREP "$match_pattern_regex" > /dev/null; then |
6727 | 7055 | newdeplibs="$newdeplibs $a_deplib" |
6728 | 7056 | a_deplib="" |
6733 | 7061 | fi |
6734 | 7062 | if test -n "$a_deplib" ; then |
6735 | 7063 | droppeddeps=yes |
6736 | $ECHO | |
7064 | echo | |
6737 | 7065 | $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" | |
6742 | 7070 | if test -z "$potlib" ; then |
6743 | 7071 | $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" |
6744 | 7072 | else |
6756 | 7084 | ;; |
6757 | 7085 | none | unknown | *) |
6758 | 7086 | 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'` | |
6761 | 7088 | if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then |
6762 | 7089 | for i in $predeps $postdeps ; do |
6763 | 7090 | # 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,,"` | |
6765 | 7092 | done |
6766 | 7093 | 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 | |
6770 | 7097 | 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." | |
6772 | 7099 | 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." | |
6774 | 7101 | fi |
6775 | $ECHO "*** All declared inter-library dependencies are being dropped." | |
7102 | echo "*** All declared inter-library dependencies are being dropped." | |
6776 | 7103 | droppeddeps=yes |
6777 | fi | |
7104 | ;; | |
7105 | esac | |
6778 | 7106 | ;; |
6779 | 7107 | esac |
6780 | 7108 | versuffix=$versuffix_save |
6786 | 7114 | case $host in |
6787 | 7115 | *-*-rhapsody* | *-*-darwin1.[012]) |
6788 | 7116 | # 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 /'` | |
6790 | 7118 | ;; |
6791 | 7119 | esac |
6792 | 7120 | |
6793 | 7121 | if test "$droppeddeps" = yes; then |
6794 | 7122 | 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" | |
6797 | 7125 | $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." | |
6800 | 7128 | 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." | |
6806 | 7134 | fi |
6807 | 7135 | if test "$build_old_libs" = no; then |
6808 | 7136 | oldlibs="$output_objdir/$libname.$libext" |
6812 | 7140 | build_libtool_libs=no |
6813 | 7141 | fi |
6814 | 7142 | 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." | |
6818 | 7146 | |
6819 | 7147 | 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." | |
6825 | 7153 | if test "$build_old_libs" = no; then |
6826 | 7154 | oldlibs="$output_objdir/$libname.$libext" |
6827 | 7155 | build_libtool_libs=module |
6838 | 7166 | # Time to change all our "foo.ltframework" stuff back to "-framework foo" |
6839 | 7167 | case $host in |
6840 | 7168 | *-*-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'` | |
6844 | 7172 | ;; |
6845 | 7173 | esac |
6846 | 7174 | |
6962 | 7290 | done |
6963 | 7291 | |
6964 | 7292 | # 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` | |
6966 | 7294 | test "X$libobjs" = "X " && libobjs= |
6967 | 7295 | |
6968 | 7296 | delfiles= |
7028 | 7356 | if test -n "$export_symbols" && test -n "$include_expsyms"; then |
7029 | 7357 | tmp_export_symbols="$export_symbols" |
7030 | 7358 | 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"' | |
7032 | 7360 | fi |
7033 | 7361 | |
7034 | 7362 | if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then |
7129 | 7457 | save_libobjs=$libobjs |
7130 | 7458 | fi |
7131 | 7459 | save_output=$output |
7132 | output_la=`$ECHO "X$output" | $Xsed -e "$basename"` | |
7460 | func_basename "$output" | |
7461 | output_la=$func_basename_result | |
7133 | 7462 | |
7134 | 7463 | # Clear the reloadable object creation command queue and |
7135 | 7464 | # initialize k to one. |
7142 | 7471 | if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then |
7143 | 7472 | output=${output_objdir}/${output_la}.lnkscript |
7144 | 7473 | func_verbose "creating GNU ld script: $output" |
7145 | $ECHO 'INPUT (' > $output | |
7474 | echo 'INPUT (' > $output | |
7146 | 7475 | for obj in $save_libobjs |
7147 | 7476 | do |
7148 | 7477 | $ECHO "$obj" >> $output |
7149 | 7478 | done |
7150 | $ECHO ')' >> $output | |
7479 | echo ')' >> $output | |
7151 | 7480 | delfiles="$delfiles $output" |
7152 | 7481 | elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then |
7153 | 7482 | output=${output_objdir}/${output_la}.lnk |
7189 | 7518 | # command to the queue. |
7190 | 7519 | if test "$k" -eq 1 ; then |
7191 | 7520 | # 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\" | |
7193 | 7523 | else |
7194 | 7524 | # All subsequent reloadable object files will link in |
7195 | 7525 | # 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\" | |
7197 | 7528 | fi |
7198 | 7529 | last_robj=$output_objdir/$output_la-${k}.$objext |
7199 | 7530 | func_arith $k + 1 |
7200 | 7531 | k=$func_arith_result |
7201 | 7532 | output=$output_objdir/$output_la-${k}.$objext |
7202 | objlist=$obj | |
7533 | objlist=" $obj" | |
7203 | 7534 | func_len " $last_robj" |
7204 | 7535 | func_arith $len0 + $func_len_result |
7205 | 7536 | len=$func_arith_result |
7209 | 7540 | # reloadable object file. All subsequent reloadable object |
7210 | 7541 | # files will link in the last one created. |
7211 | 7542 | 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\" | |
7213 | 7545 | if test -n "$last_robj"; then |
7214 | 7546 | eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" |
7215 | 7547 | fi |
7268 | 7600 | if test -n "$export_symbols" && test -n "$include_expsyms"; then |
7269 | 7601 | tmp_export_symbols="$export_symbols" |
7270 | 7602 | 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"' | |
7272 | 7604 | fi |
7273 | 7605 | |
7274 | 7606 | if test -n "$orig_export_symbols"; then |
7433 | 7765 | if test -n "$convenience"; then |
7434 | 7766 | if test -n "$whole_archive_flag_spec"; then |
7435 | 7767 | 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'` | |
7437 | 7769 | else |
7438 | 7770 | gentop="$output_objdir/${obj}x" |
7439 | 7771 | generated="$generated $gentop" |
7444 | 7776 | fi |
7445 | 7777 | |
7446 | 7778 | # 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 | |
7448 | 7780 | |
7449 | 7781 | output="$obj" |
7450 | 7782 | func_execute_cmds "$reload_cmds" 'exit $?' |
7504 | 7836 | case $host in |
7505 | 7837 | *-*-rhapsody* | *-*-darwin1.[012]) |
7506 | 7838 | # 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 /'` | |
7509 | 7841 | ;; |
7510 | 7842 | esac |
7511 | 7843 | |
7522 | 7854 | esac |
7523 | 7855 | fi |
7524 | 7856 | # 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'` | |
7527 | 7859 | ;; |
7528 | 7860 | esac |
7529 | 7861 | |
7660 | 7992 | |
7661 | 7993 | if test -n "$libobjs" && test "$build_old_libs" = yes; then |
7662 | 7994 | # 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` | |
7665 | 7997 | fi |
7666 | 7998 | |
7667 | 7999 | func_generate_dlsyms "$outputname" "@PROGRAM@" "no" |
7673 | 8005 | |
7674 | 8006 | wrappers_required=yes |
7675 | 8007 | case $host in |
8008 | *cegcc* | *mingw32ce*) | |
8009 | # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. | |
8010 | wrappers_required=no | |
8011 | ;; | |
7676 | 8012 | *cygwin* | *mingw* ) |
7677 | 8013 | if test "$build_libtool_libs" != yes; then |
7678 | 8014 | wrappers_required=no |
7679 | 8015 | fi |
7680 | ;; | |
7681 | *cegcc) | |
7682 | # Disable wrappers for cegcc, we are cross compiling anyway. | |
7683 | wrappers_required=no | |
7684 | 8016 | ;; |
7685 | 8017 | *) |
7686 | 8018 | if test "$need_relink" = no || test "$build_libtool_libs" != yes; then |
7690 | 8022 | esac |
7691 | 8023 | if test "$wrappers_required" = no; then |
7692 | 8024 | # 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'` | |
7694 | 8026 | link_command="$compile_command$compile_rpath" |
7695 | 8027 | |
7696 | 8028 | # We have no uninstalled library dependencies, so finalize right now. |
7737 | 8069 | # We don't need to create a wrapper script. |
7738 | 8070 | link_command="$compile_var$compile_command$compile_rpath" |
7739 | 8071 | # 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'` | |
7741 | 8073 | # Delete the old output file. |
7742 | 8074 | $opt_dry_run || $RM $output |
7743 | 8075 | # Link the executable and exit |
7756 | 8088 | if test "$fast_install" != no; then |
7757 | 8089 | link_command="$finalize_var$compile_command$finalize_rpath" |
7758 | 8090 | 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'` | |
7760 | 8092 | else |
7761 | 8093 | # fast_install is set to needless |
7762 | 8094 | relink_command= |
7768 | 8100 | fi |
7769 | 8101 | |
7770 | 8102 | # 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'` | |
7772 | 8104 | |
7773 | 8105 | # Delete the old output files. |
7774 | 8106 | $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname |
7792 | 8124 | fi |
7793 | 8125 | done |
7794 | 8126 | 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"` | |
7807 | 8128 | fi |
7808 | 8129 | |
7809 | 8130 | # Only actually do things if not in dry run mode. |
7924 | 8245 | done | sort | sort -uc >/dev/null 2>&1); then |
7925 | 8246 | : |
7926 | 8247 | else |
7927 | $ECHO "copying selected object files to avoid basename conflicts..." | |
8248 | echo "copying selected object files to avoid basename conflicts..." | |
7928 | 8249 | gentop="$output_objdir/${outputname}x" |
7929 | 8250 | generated="$generated $gentop" |
7930 | 8251 | func_mkdir_p "$gentop" |
8035 | 8356 | done |
8036 | 8357 | # Quote the link command for shipping. |
8037 | 8358 | 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"` | |
8039 | 8360 | if test "$hardcode_automatic" = yes ; then |
8040 | 8361 | relink_command= |
8041 | 8362 | fi |
8120 | 8441 | fi |
8121 | 8442 | $RM $output |
8122 | 8443 | # 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. | |
8123 | 8452 | tdlname=$dlname |
8124 | 8453 | 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 | ;; | |
8126 | 8465 | esac |
8127 | 8466 | $ECHO > $output "\ |
8128 | 8467 | # $outputname - a libtool library file |
249 | 249 | libexecdir = @libexecdir@ |
250 | 250 | localedir = @localedir@ |
251 | 251 | localstatedir = @localstatedir@ |
252 | lt_ECHO = @lt_ECHO@ | |
253 | 252 | mandir = @mandir@ |
254 | 253 | mkdir_p = @mkdir_p@ |
255 | 254 | oldincludedir = @oldincludedir@ |
0 | 0 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
1 | 1 | # |
2 | 2 | # 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. | |
4 | 5 | # Written by Gordon Matzigkeit, 1996 |
5 | 6 | # |
6 | 7 | # This file is free software; the Free Software Foundation gives |
9 | 10 | |
10 | 11 | m4_define([_LT_COPYING], [dnl |
11 | 12 | # 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. | |
13 | 15 | # Written by Gordon Matzigkeit, 1996 |
14 | 16 | # |
15 | 17 | # This file is part of GNU Libtool. |
36 | 38 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
37 | 39 | ]) |
38 | 40 | |
39 | # serial 56 LT_INIT | |
41 | # serial 57 LT_INIT | |
40 | 42 | |
41 | 43 | |
42 | 44 | # LT_PREREQ(VERSION) |
65 | 67 | # ------------------ |
66 | 68 | AC_DEFUN([LT_INIT], |
67 | 69 | [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT |
70 | AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl | |
68 | 71 | AC_BEFORE([$0], [LT_LANG])dnl |
69 | 72 | AC_BEFORE([$0], [LT_OUTPUT])dnl |
70 | 73 | AC_BEFORE([$0], [LTDL_INIT])dnl |
80 | 83 | AC_REQUIRE([LTVERSION_VERSION])dnl |
81 | 84 | AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
82 | 85 | m4_require([_LT_PROG_LTMAIN])dnl |
86 | ||
87 | _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) | |
83 | 88 | |
84 | 89 | dnl Parse OPTIONS |
85 | 90 | _LT_SET_OPTIONS([$0], [$1]) |
117 | 122 | *) break;; |
118 | 123 | esac |
119 | 124 | 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-%%"` | |
121 | 126 | ]) |
122 | 127 | |
123 | 128 | |
137 | 142 | m4_defun([_LT_SETUP], |
138 | 143 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
139 | 144 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
145 | AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl | |
146 | AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl | |
147 | ||
140 | 148 | _LT_DECL([], [host_alias], [0], [The host system])dnl |
141 | 149 | _LT_DECL([], [host], [0])dnl |
142 | 150 | _LT_DECL([], [host_os], [0])dnl |
178 | 186 | _LT_CHECK_OBJDIR |
179 | 187 | |
180 | 188 | m4_require([_LT_TAG_COMPILER])dnl |
181 | _LT_PROG_ECHO_BACKSLASH | |
182 | 189 | |
183 | 190 | case $host_os in |
184 | 191 | aix3*) |
192 | 199 | ;; |
193 | 200 | esac |
194 | 201 | |
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 | ||
212 | 202 | # Global variables: |
213 | 203 | ofile=libtool |
214 | 204 | can_build_shared=yes |
248 | 238 | _LT_CONFIG_COMMANDS |
249 | 239 | ])# _LT_SETUP |
250 | 240 | |
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 | ]) | |
251 | 263 | |
252 | 264 | # _LT_PROG_LTMAIN |
253 | 265 | # --------------- |
407 | 419 | # declaration there will have the same value as in `configure'. VARNAME |
408 | 420 | # must have a single quote delimited value for this to work. |
409 | 421 | 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"`']) | |
411 | 423 | |
412 | 424 | |
413 | 425 | # _LT_CONFIG_STATUS_DECLARATIONS |
417 | 429 | # embedded single quotes properly. In configure, this macro expands |
418 | 430 | # each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
419 | 431 | # |
420 | # <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' | |
432 | # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' | |
421 | 433 | m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
422 | 434 | [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
423 | 435 | [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
516 | 528 | LTCFLAGS='$LTCFLAGS' |
517 | 529 | compiler='$compiler_DEFAULT' |
518 | 530 | |
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 | ||
519 | 539 | # Quote evaled strings. |
520 | 540 | for var in lt_decl_all_varnames([[ \ |
521 | 541 | ]], lt_decl_quote_varnames); do |
522 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | |
542 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
523 | 543 | *[[\\\\\\\`\\"\\\$]]*) |
524 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
544 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
525 | 545 | ;; |
526 | 546 | *) |
527 | 547 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
532 | 552 | # Double-quote double-evaled strings. |
533 | 553 | for var in lt_decl_all_varnames([[ \ |
534 | 554 | ]], lt_decl_dquote_varnames); do |
535 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | |
555 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
536 | 556 | *[[\\\\\\\`\\"\\\$]]*) |
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\\"\\\`\\\\\\"" | |
538 | 558 | ;; |
539 | 559 | *) |
540 | 560 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
542 | 562 | esac |
543 | 563 | done |
544 | 564 | |
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 | ||
552 | 565 | _LT_OUTPUT_LIBTOOL_INIT |
553 | 566 | ]) |
554 | 567 | |
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 | |
555 | 597 | |
556 | 598 | # LT_OUTPUT |
557 | 599 | # --------- |
561 | 603 | AC_DEFUN([LT_OUTPUT], |
562 | 604 | [: ${CONFIG_LT=./config.lt} |
563 | 605 | 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 | |
569 | 610 | 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 | |
578 | 611 | exec AS_MESSAGE_LOG_FD>>config.log |
579 | 612 | { |
580 | 613 | echo |
600 | 633 | m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
601 | 634 | configured by $[0], generated by m4_PACKAGE_STRING. |
602 | 635 | |
603 | Copyright (C) 2008 Free Software Foundation, Inc. | |
636 | Copyright (C) 2010 Free Software Foundation, Inc. | |
604 | 637 | This config.lt script is free software; the Free Software Foundation |
605 | 638 | gives unlimited permision to copy, distribute and modify it." |
606 | 639 | |
645 | 678 | # appending to config.log, which fails on DOS, as config.log is still kept |
646 | 679 | # open by configure. Here we exec the FD to /dev/null, effectively closing |
647 | 680 | # 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) | |
657 | 688 | ])# LT_OUTPUT |
658 | 689 | |
659 | 690 | |
830 | 861 | AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) |
831 | 862 | AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) |
832 | 863 | AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) |
864 | AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) | |
833 | 865 | dnl aclocal-1.4 backwards compatibility: |
834 | 866 | dnl AC_DEFUN([AC_LIBTOOL_CXX], []) |
835 | 867 | dnl AC_DEFUN([AC_LIBTOOL_F77], []) |
836 | 868 | dnl AC_DEFUN([AC_LIBTOOL_FC], []) |
837 | 869 | dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) |
870 | dnl AC_DEFUN([AC_LIBTOOL_RC], []) | |
838 | 871 | |
839 | 872 | |
840 | 873 | # _LT_TAG_COMPILER |
939 | 972 | [lt_cv_ld_exported_symbols_list=no]) |
940 | 973 | LDFLAGS="$save_LDFLAGS" |
941 | 974 | ]) |
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 | ]) | |
942 | 1000 | case $host_os in |
943 | 1001 | rhapsody* | darwin1.[[012]]) |
944 | 1002 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
966 | 1024 | else |
967 | 1025 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
968 | 1026 | fi |
969 | if test "$DSYMUTIL" != ":"; then | |
1027 | if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | |
970 | 1028 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
971 | 1029 | else |
972 | 1030 | _lt_dsymutil= |
986 | 1044 | _LT_TAGVAR(hardcode_direct, $1)=no |
987 | 1045 | _LT_TAGVAR(hardcode_automatic, $1)=yes |
988 | 1046 | _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 | |
990 | 1052 | _LT_TAGVAR(link_all_deplibs, $1)=yes |
991 | 1053 | _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
992 | 1054 | case $cc_basename in |
994 | 1056 | *) _lt_dar_can_shared=$GCC ;; |
995 | 1057 | esac |
996 | 1058 | if test "$_lt_dar_can_shared" = "yes"; then |
997 | output_verbose_link_cmd=echo | |
1059 | output_verbose_link_cmd=func_echo_all | |
998 | 1060 | _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}" |
999 | 1061 | _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
1000 | 1062 | _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}" |
1040 | 1102 | # _LT_SHELL_INIT(ARG) |
1041 | 1103 | # ------------------- |
1042 | 1104 | 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 | ||
1049 | 1108 | |
1050 | 1109 | |
1051 | 1110 | # _LT_PROG_ECHO_BACKSLASH |
1052 | 1111 | # ----------------------- |
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). | |
1055 | 1116 | 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]) ;; | |
1065 | 1150 | esac |
1066 | 1151 | |
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 | ||
1204 | 1162 | _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]) | |
1207 | 1164 | ])# _LT_PROG_ECHO_BACKSLASH |
1208 | 1165 | |
1209 | 1166 | |
1235 | 1192 | ;; |
1236 | 1193 | *-*-irix6*) |
1237 | 1194 | # Find out which ABI we are using. |
1238 | echo '[#]line __oline__ "configure"' > conftest.$ac_ext | |
1195 | echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext | |
1239 | 1196 | if AC_TRY_EVAL(ac_compile); then |
1240 | 1197 | if test "$lt_cv_prog_gnu_ld" = yes; then |
1241 | 1198 | case `/usr/bin/file conftest.$ac_objext` in |
1387 | 1344 | esac |
1388 | 1345 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
1389 | 1346 | fi |
1347 | ||
1348 | case $host_os in | |
1349 | darwin*) | |
1350 | lock_old_archive_extraction=yes ;; | |
1351 | *) | |
1352 | lock_old_archive_extraction=no ;; | |
1353 | esac | |
1390 | 1354 | _LT_DECL([], [old_postinstall_cmds], [2]) |
1391 | 1355 | _LT_DECL([], [old_postuninstall_cmds], [2]) |
1392 | 1356 | _LT_TAGDECL([], [old_archive_cmds], [2], |
1393 | 1357 | [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]) | |
1394 | 1360 | ])# _LT_CMD_OLD_ARCHIVE |
1395 | 1361 | |
1396 | 1362 | |
1415 | 1381 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1416 | 1382 | -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
1417 | 1383 | -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) | |
1419 | 1385 | (eval "$lt_compile" 2>conftest.err) |
1420 | 1386 | ac_status=$? |
1421 | 1387 | 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 | |
1423 | 1389 | if (exit $ac_status) && test -s "$ac_outfile"; then |
1424 | 1390 | # The compiler can only warn and ignore the option if not recognized |
1425 | 1391 | # 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 | |
1427 | 1393 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
1428 | 1394 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
1429 | 1395 | $2=yes |
1463 | 1429 | if test -s conftest.err; then |
1464 | 1430 | # Append any errors to the config.log. |
1465 | 1431 | 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 | |
1467 | 1433 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
1468 | 1434 | if diff conftest.exp conftest.er2 >/dev/null; then |
1469 | 1435 | $2=yes |
1523 | 1489 | # the test eventually succeeds (with a max line length of 256k). |
1524 | 1490 | # Instead, let's just punt: use the minimum linelength reported by |
1525 | 1491 | # 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. | |
1526 | 1497 | lt_cv_sys_max_cmd_len=8192; |
1527 | 1498 | ;; |
1528 | 1499 | |
1590 | 1561 | # If test is not a shell built-in, we'll probably end up computing a |
1591 | 1562 | # maximum length that is only half of the actual maximum length, but |
1592 | 1563 | # 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 && | |
1595 | 1566 | test $i != 17 # 1/2 MB should be enough |
1596 | 1567 | do |
1597 | 1568 | i=`expr $i + 1` |
1642 | 1613 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
1643 | 1614 | lt_status=$lt_dlunknown |
1644 | 1615 | cat > conftest.$ac_ext <<_LT_EOF |
1645 | [#line __oline__ "configure" | |
1616 | [#line $LINENO "configure" | |
1646 | 1617 | #include "confdefs.h" |
1647 | 1618 | |
1648 | 1619 | #if HAVE_DLFCN_H |
1683 | 1654 | # endif |
1684 | 1655 | #endif |
1685 | 1656 | |
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; } | |
1687 | 1664 | int main () |
1688 | 1665 | { |
1689 | 1666 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
1692 | 1669 | if (self) |
1693 | 1670 | { |
1694 | 1671 | 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 | } | |
1696 | 1677 | /* dlclose (self); */ |
1697 | 1678 | } |
1698 | 1679 | else |
1868 | 1849 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
1869 | 1850 | -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
1870 | 1851 | -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) | |
1872 | 1853 | (eval "$lt_compile" 2>out/conftest.err) |
1873 | 1854 | ac_status=$? |
1874 | 1855 | 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 | |
1876 | 1857 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
1877 | 1858 | then |
1878 | 1859 | # The compiler can only warn and ignore the option if not recognized |
1879 | 1860 | # 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 | |
1881 | 1862 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
1882 | 1863 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
1883 | 1864 | _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
2036 | 2017 | m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
2037 | 2018 | m4_require([_LT_DECL_OBJDUMP])dnl |
2038 | 2019 | m4_require([_LT_DECL_SED])dnl |
2020 | m4_require([_LT_CHECK_SHELL_FEATURES])dnl | |
2039 | 2021 | AC_MSG_CHECKING([dynamic linker characteristics]) |
2040 | 2022 | m4_if([$1], |
2041 | 2023 | [], [ |
2044 | 2026 | darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
2045 | 2027 | *) lt_awk_arg="/^libraries:/" ;; |
2046 | 2028 | 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 | *\;*) | |
2049 | 2036 | # if the path contains ";" then we assume it to be the separator |
2050 | 2037 | # otherwise default to the standard path separator (i.e. ":") - it is |
2051 | 2038 | # assumed that no part of a normal pathname contains ";" but that should |
2052 | 2039 | # 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 | |
2057 | 2046 | # Ok, now we have the path, separated by spaces, we can step through it |
2058 | 2047 | # and add multilib dir if necessary. |
2059 | 2048 | lt_tmp_lt_search_path_spec= |
2066 | 2055 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
2067 | 2056 | fi |
2068 | 2057 | 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 ' | |
2070 | 2059 | BEGIN {RS=" "; FS="/|\n";} { |
2071 | 2060 | lt_foo=""; |
2072 | 2061 | lt_count=0; |
2086 | 2075 | if (lt_foo != "") { lt_freq[[lt_foo]]++; } |
2087 | 2076 | if (lt_freq[[lt_foo]] == 1) { print lt_foo; } |
2088 | 2077 | }'` |
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` | |
2090 | 2085 | else |
2091 | 2086 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
2092 | 2087 | fi]) |
2174 | 2169 | m68k) |
2175 | 2170 | library_names_spec='$libname.ixlibrary $libname.a' |
2176 | 2171 | # 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' | |
2178 | 2173 | ;; |
2179 | 2174 | esac |
2180 | 2175 | ;; |
2227 | 2222 | cygwin*) |
2228 | 2223 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
2229 | 2224 | 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"]) | |
2231 | 2227 | ;; |
2232 | 2228 | mingw* | cegcc*) |
2233 | 2229 | # MinGW DLLs use traditional 'lib' prefix |
2234 | 2230 | 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 | |
2247 | 2231 | ;; |
2248 | 2232 | pw32*) |
2249 | 2233 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
2300 | 2284 | *) objformat=elf ;; |
2301 | 2285 | esac |
2302 | 2286 | 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 | |
2311 | 2288 | case $version_type in |
2312 | 2289 | freebsd-elf*) |
2313 | 2290 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
2317 | 2294 | freebsd-*) |
2318 | 2295 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
2319 | 2296 | 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 | |
2326 | 2297 | ;; |
2327 | 2298 | esac |
2328 | 2299 | shlibpath_var=LD_LIBRARY_PATH |
2353 | 2324 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
2354 | 2325 | soname_spec='${libname}${release}${shared_ext}$major' |
2355 | 2326 | 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' | |
2356 | 2340 | hardcode_into_libs=yes |
2357 | 2341 | ;; |
2358 | 2342 | |
2398 | 2382 | soname_spec='${libname}${release}${shared_ext}$major' |
2399 | 2383 | ;; |
2400 | 2384 | 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, ... | |
2402 | 2386 | postinstall_cmds='chmod 555 $lib' |
2387 | # or fails outright, so override atomically: | |
2388 | install_override_mode=555 | |
2403 | 2389 | ;; |
2404 | 2390 | |
2405 | 2391 | interix[[3-9]]*) |
2457 | 2443 | ;; |
2458 | 2444 | |
2459 | 2445 | # This must be Linux ELF. |
2460 | linux* | k*bsd*-gnu) | |
2446 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
2461 | 2447 | version_type=linux |
2462 | 2448 | need_lib_prefix=no |
2463 | 2449 | need_version=no |
2466 | 2452 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
2467 | 2453 | shlibpath_var=LD_LIBRARY_PATH |
2468 | 2454 | shlibpath_overrides_runpath=no |
2455 | ||
2469 | 2456 | # 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 | |
2479 | 2470 | |
2480 | 2471 | # This implies no fast_install, which is unacceptable. |
2481 | 2472 | # Some rework will be needed to allow for fast_install |
2482 | 2473 | # before this can be enabled. |
2483 | 2474 | hardcode_into_libs=yes |
2484 | 2475 | |
2476 | # Add ABI-specific directories to the system library path. | |
2477 | sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" | |
2478 | ||
2485 | 2479 | # Append ld.so.conf contents to the search path |
2486 | 2480 | 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 | ||
2489 | 2484 | fi |
2490 | 2485 | |
2491 | 2486 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
2717 | 2712 | The last name is the one that the linker finds with -lNAME]]) |
2718 | 2713 | _LT_DECL([], [soname_spec], [1], |
2719 | 2714 | [[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]) | |
2720 | 2717 | _LT_DECL([], [postinstall_cmds], [2], |
2721 | 2718 | [Command to use after installation of a shared archive]) |
2722 | 2719 | _LT_DECL([], [postuninstall_cmds], [2], |
2829 | 2826 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
2830 | 2827 | m4_require([_LT_DECL_SED])dnl |
2831 | 2828 | m4_require([_LT_DECL_EGREP])dnl |
2829 | m4_require([_LT_PROG_ECHO_BACKSLASH])dnl | |
2832 | 2830 | |
2833 | 2831 | AC_ARG_WITH([gnu-ld], |
2834 | 2832 | [AS_HELP_STRING([--with-gnu-ld], |
2958 | 2956 | fi |
2959 | 2957 | ;; |
2960 | 2958 | 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 | |
2963 | 2961 | ])# _LT_CMD_RELOAD |
2964 | 2962 | |
2965 | 2963 | |
3011 | 3009 | # Base MSYS/MinGW do not provide the 'file' command needed by |
3012 | 3010 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
3013 | 3011 | # 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 | |
3015 | 3014 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
3016 | 3015 | lt_cv_file_magic_cmd='func_win32_libid' |
3017 | 3016 | 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)' | |
3019 | 3019 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
3020 | 3020 | fi |
3021 | 3021 | ;; |
3022 | 3022 | |
3023 | cegcc) | |
3023 | cegcc*) | |
3024 | 3024 | # use the weaker test based on 'objdump'. See mingw*. |
3025 | 3025 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
3026 | 3026 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
3050 | 3050 | lt_cv_deplibs_check_method=pass_all |
3051 | 3051 | ;; |
3052 | 3052 | |
3053 | haiku*) | |
3054 | lt_cv_deplibs_check_method=pass_all | |
3055 | ;; | |
3056 | ||
3053 | 3057 | hpux10.20* | hpux11*) |
3054 | 3058 | lt_cv_file_magic_cmd=/usr/bin/file |
3055 | 3059 | case $host_cpu in |
3058 | 3062 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
3059 | 3063 | ;; |
3060 | 3064 | 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]'] | |
3062 | 3066 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
3063 | 3067 | ;; |
3064 | 3068 | *) |
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' | |
3066 | 3070 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
3067 | 3071 | ;; |
3068 | 3072 | esac |
3084 | 3088 | ;; |
3085 | 3089 | |
3086 | 3090 | # This must be Linux ELF. |
3087 | linux* | k*bsd*-gnu) | |
3091 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
3088 | 3092 | lt_cv_deplibs_check_method=pass_all |
3089 | 3093 | ;; |
3090 | 3094 | |
3226 | 3230 | NM="$lt_cv_path_NM" |
3227 | 3231 | else |
3228 | 3232 | # 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 | |
3230 | 3246 | AC_SUBST([DUMPBIN]) |
3231 | 3247 | if test "$DUMPBIN" != ":"; then |
3232 | 3248 | NM="$DUMPBIN" |
3239 | 3255 | AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], |
3240 | 3256 | [lt_cv_nm_interface="BSD nm" |
3241 | 3257 | 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) | |
3243 | 3259 | (eval "$ac_compile" 2>conftest.err) |
3244 | 3260 | 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) | |
3246 | 3262 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
3247 | 3263 | 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) | |
3249 | 3265 | cat conftest.out >&AS_MESSAGE_LOG_FD |
3250 | 3266 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
3251 | 3267 | lt_cv_nm_interface="MS dumpbin" |
3268 | 3284 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
3269 | 3285 | LIBM= |
3270 | 3286 | case $host in |
3271 | *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) | |
3287 | *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) | |
3272 | 3288 | # These system don't have libm, or don't need it |
3273 | 3289 | ;; |
3274 | 3290 | *-ncr-sysv4.3*) |
3296 | 3312 | _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= |
3297 | 3313 | |
3298 | 3314 | 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 | |
3300 | 3321 | |
3301 | 3322 | _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], |
3302 | 3323 | lt_cv_prog_compiler_rtti_exceptions, |
3313 | 3334 | m4_defun([_LT_CMD_GLOBAL_SYMBOLS], |
3314 | 3335 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
3315 | 3336 | AC_REQUIRE([AC_PROG_CC])dnl |
3337 | AC_REQUIRE([AC_PROG_AWK])dnl | |
3316 | 3338 | AC_REQUIRE([LT_PATH_NM])dnl |
3317 | 3339 | AC_REQUIRE([LT_PATH_LD])dnl |
3318 | 3340 | m4_require([_LT_DECL_SED])dnl |
3438 | 3460 | if AC_TRY_EVAL(ac_compile); then |
3439 | 3461 | # Now try to grab the symbols. |
3440 | 3462 | 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 | |
3442 | 3464 | # Try sorting and uniquifying the output. |
3443 | 3465 | if sort "$nlist" | uniq > "$nlist"T; then |
3444 | 3466 | mv -f "$nlist"T "$nlist" |
3599 | 3621 | *djgpp*) |
3600 | 3622 | # DJGPP does not support shared libraries at all |
3601 | 3623 | _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)= | |
3602 | 3629 | ;; |
3603 | 3630 | interix[[3-9]]*) |
3604 | 3631 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
3705 | 3732 | ;; |
3706 | 3733 | esac |
3707 | 3734 | ;; |
3708 | linux* | k*bsd*-gnu) | |
3735 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
3709 | 3736 | case $cc_basename in |
3710 | 3737 | KCC*) |
3711 | 3738 | # KAI C++ Compiler |
3738 | 3765 | _LT_TAGVAR(lt_prog_compiler_pic, $1)= |
3739 | 3766 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
3740 | 3767 | ;; |
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 | |
3743 | 3770 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
3744 | 3771 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' |
3745 | 3772 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
3801 | 3828 | ;; |
3802 | 3829 | solaris*) |
3803 | 3830 | case $cc_basename in |
3804 | CC*) | |
3831 | CC* | sunCC*) | |
3805 | 3832 | # Sun C++ 4.2, 5.x and Centerline C++ |
3806 | 3833 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
3807 | 3834 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
3905 | 3932 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
3906 | 3933 | ;; |
3907 | 3934 | |
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 | ||
3908 | 3941 | hpux*) |
3909 | 3942 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
3910 | 3943 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
3945 | 3978 | |
3946 | 3979 | *) |
3947 | 3980 | _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' | |
3948 | 3988 | ;; |
3949 | 3989 | esac |
3950 | 3990 | else |
3989 | 4029 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
3990 | 4030 | ;; |
3991 | 4031 | |
3992 | linux* | k*bsd*-gnu) | |
4032 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
3993 | 4033 | case $cc_basename in |
3994 | 4034 | # old Intel for x86_64 which still supported -KPIC. |
3995 | 4035 | ecc*) |
4010 | 4050 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' |
4011 | 4051 | _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' |
4012 | 4052 | ;; |
4013 | pgcc* | pgf77* | pgf90* | pgf95*) | |
4053 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | |
4014 | 4054 | # Portland Group compilers (*not* the Pentium gcc compiler, |
4015 | 4055 | # which looks to be a dead project) |
4016 | 4056 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4022 | 4062 | # All Alpha code is PIC. |
4023 | 4063 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
4024 | 4064 | ;; |
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 | |
4027 | 4067 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4028 | 4068 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' |
4029 | 4069 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
4030 | 4070 | ;; |
4031 | 4071 | *) |
4032 | 4072 | 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 | ;; | |
4033 | 4079 | *Sun\ C*) |
4034 | 4080 | # Sun C 5.9 |
4035 | 4081 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4036 | 4082 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
4037 | 4083 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4038 | 4084 | ;; |
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 | ;; | |
4045 | 4085 | esac |
4046 | 4086 | ;; |
4047 | 4087 | esac |
4072 | 4112 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4073 | 4113 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
4074 | 4114 | case $cc_basename in |
4075 | f77* | f90* | f95*) | |
4115 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | |
4076 | 4116 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; |
4077 | 4117 | *) |
4078 | 4118 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; |
4182 | 4222 | aix[[4-9]]*) |
4183 | 4223 | # If we're using GNU nm, then we don't want the "-C" option. |
4184 | 4224 | # -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". | |
4185 | 4227 | 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' | |
4187 | 4229 | else |
4188 | 4230 | _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' |
4189 | 4231 | fi |
4261 | 4303 | esac |
4262 | 4304 | |
4263 | 4305 | _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 | |
4264 | 4310 | 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 | |
4265 | 4333 | # If archive_cmds runs LD, not CC, wlarc should be empty |
4266 | 4334 | wlarc='${wl}' |
4267 | 4335 | |
4279 | 4347 | fi |
4280 | 4348 | supports_anon_versioning=no |
4281 | 4349 | case `$LD -v 2>&1` in |
4350 | *GNU\ gold*) supports_anon_versioning=yes ;; | |
4282 | 4351 | *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
4283 | 4352 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
4284 | 4353 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
4294 | 4363 | _LT_TAGVAR(ld_shlibs, $1)=no |
4295 | 4364 | cat <<_LT_EOF 1>&2 |
4296 | 4365 | |
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 | |
4298 | 4367 | *** to be unable to reliably create shared libraries on AIX. |
4299 | 4368 | *** 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. | |
4302 | 4372 | |
4303 | 4373 | _LT_EOF |
4304 | 4374 | fi |
4334 | 4404 | # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
4335 | 4405 | # as there is no search path for DLLs. |
4336 | 4406 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
4407 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' | |
4337 | 4408 | _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
4338 | 4409 | _LT_TAGVAR(always_export_symbols, $1)=no |
4339 | 4410 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
4355 | 4426 | fi |
4356 | 4427 | ;; |
4357 | 4428 | |
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 | ||
4358 | 4434 | interix[[3-9]]*) |
4359 | 4435 | _LT_TAGVAR(hardcode_direct, $1)=no |
4360 | 4436 | _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
4370 | 4446 | _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' |
4371 | 4447 | ;; |
4372 | 4448 | |
4373 | gnu* | linux* | tpf* | k*bsd*-gnu) | |
4449 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
4374 | 4450 | tmp_diet=no |
4375 | 4451 | if test "$host_os" = linux-dietlibc; then |
4376 | 4452 | case $cc_basename in |
4384 | 4460 | tmp_sharedflag='-shared' |
4385 | 4461 | case $cc_basename,$host_cpu in |
4386 | 4462 | 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' | |
4388 | 4464 | tmp_addflag=' $pic_flag' |
4389 | 4465 | ;; |
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' | |
4392 | 4469 | tmp_addflag=' $pic_flag -Mnomain' ;; |
4393 | 4470 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
4394 | 4471 | tmp_addflag=' -i_dynamic' ;; |
4399 | 4476 | lf95*) # Lahey Fortran 8.1 |
4400 | 4477 | _LT_TAGVAR(whole_archive_flag_spec, $1)= |
4401 | 4478 | 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) | |
4403 | 4480 | tmp_sharedflag='-qmkshrobj' |
4404 | 4481 | 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 | ;; | |
4405 | 4486 | esac |
4406 | 4487 | case `$CC -V 2>&1 | sed 5q` in |
4407 | 4488 | *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' | |
4409 | 4490 | _LT_TAGVAR(compiler_needs_object, $1)=yes |
4410 | 4491 | tmp_sharedflag='-G' ;; |
4411 | 4492 | *Sun\ F*) # Sun Fortran 8.3 |
4421 | 4502 | fi |
4422 | 4503 | |
4423 | 4504 | case $cc_basename in |
4424 | xlf*) | |
4505 | xlf* | bgf* | bgxlf* | mpixlf*) | |
4425 | 4506 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
4426 | 4507 | _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' |
4427 | 4508 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
4428 | 4509 | _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' | |
4430 | 4511 | if test "x$supports_anon_versioning" = xyes; then |
4431 | 4512 | _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
4432 | 4513 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
4433 | 4514 | 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' | |
4435 | 4516 | fi |
4436 | 4517 | ;; |
4437 | 4518 | esac |
4552 | 4633 | else |
4553 | 4634 | # If we're using GNU nm, then we don't want the "-C" option. |
4554 | 4635 | # -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". | |
4555 | 4638 | 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' | |
4557 | 4640 | else |
4558 | 4641 | _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' |
4559 | 4642 | fi |
4642 | 4725 | # empty executable. |
4643 | 4726 | _LT_SYS_MODULE_PATH_AIX |
4644 | 4727 | _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" | |
4646 | 4729 | else |
4647 | 4730 | if test "$host_cpu" = ia64; then |
4648 | 4731 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
4657 | 4740 | # -berok will link without error, but may produce a broken library. |
4658 | 4741 | _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
4659 | 4742 | _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 | |
4662 | 4750 | _LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
4663 | 4751 | # This is similar to how AIX traditionally builds its shared libraries. |
4664 | 4752 | _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' |
4697 | 4785 | # Tell ltmain to make .dll files, not .so files. |
4698 | 4786 | shrext_cmds=".dll" |
4699 | 4787 | # 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=' | |
4701 | 4789 | # The linker will automatically build a .lib file if we build a DLL. |
4702 | 4790 | _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
4703 | 4791 | # FIXME: Should let the user specify the lib program. |
4764 | 4852 | ;; |
4765 | 4853 | |
4766 | 4854 | hpux10*) |
4767 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
4855 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
4768 | 4856 | _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
4769 | 4857 | else |
4770 | 4858 | _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
4783 | 4871 | ;; |
4784 | 4872 | |
4785 | 4873 | hpux11*) |
4786 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
4874 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
4787 | 4875 | case $host_cpu in |
4788 | 4876 | hppa*64*) |
4789 | 4877 | _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
4804 | 4892 | _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
4805 | 4893 | ;; |
4806 | 4894 | *) |
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']) | |
4808 | 4903 | ;; |
4809 | 4904 | esac |
4810 | 4905 | fi |
4832 | 4927 | |
4833 | 4928 | irix5* | irix6* | nonstopux*) |
4834 | 4929 | 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' | |
4836 | 4931 | # Try to use the -exported_symbol ld option, if it does not |
4837 | 4932 | # work, assume that -exports_file does not work either and |
4838 | 4933 | # implicitly export all symbols. |
4839 | 4934 | save_LDFLAGS="$LDFLAGS" |
4840 | 4935 | LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
4841 | 4936 | 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' | |
4843 | 4938 | ) |
4844 | 4939 | LDFLAGS="$save_LDFLAGS" |
4845 | 4940 | 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' | |
4848 | 4943 | fi |
4849 | 4944 | _LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
4850 | 4945 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
4906 | 5001 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
4907 | 5002 | _LT_TAGVAR(hardcode_minus_L, $1)=yes |
4908 | 5003 | _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' | |
4910 | 5005 | _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
4911 | 5006 | ;; |
4912 | 5007 | |
4913 | 5008 | osf3*) |
4914 | 5009 | if test "$GCC" = yes; then |
4915 | 5010 | _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' | |
4917 | 5012 | else |
4918 | 5013 | _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' | |
4920 | 5015 | fi |
4921 | 5016 | _LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
4922 | 5017 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
4926 | 5021 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
4927 | 5022 | if test "$GCC" = yes; then |
4928 | 5023 | _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' | |
4930 | 5025 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
4931 | 5026 | else |
4932 | 5027 | _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' | |
4934 | 5029 | _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' | |
4936 | 5031 | |
4937 | 5032 | # Both c and cxx compiler support -rpath directly |
4938 | 5033 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
5123 | 5218 | # Test whether the compiler implicitly links with -lc since on some |
5124 | 5219 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
5125 | 5220 | # 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) | |
5156 | 5253 | ;; |
5157 | 5254 | esac |
5158 | 5255 | fi |
5322 | 5419 | ])# _LT_LANG_C_CONFIG |
5323 | 5420 | |
5324 | 5421 | |
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 | |
5333 | 5430 | if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
5334 | 5431 | ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
5335 | 5432 | (test "X$CXX" != "Xg++"))) ; then |
5337 | 5434 | else |
5338 | 5435 | _lt_caught_CXX_error=yes |
5339 | 5436 | 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 | |
5356 | 5437 | |
5357 | 5438 | AC_LANG_PUSH(C++) |
5358 | 5439 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
5374 | 5455 | _LT_TAGVAR(module_expsym_cmds, $1)= |
5375 | 5456 | _LT_TAGVAR(link_all_deplibs, $1)=unknown |
5376 | 5457 | _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 | |
5377 | 5460 | _LT_TAGVAR(no_undefined_flag, $1)= |
5378 | 5461 | _LT_TAGVAR(whole_archive_flag_spec, $1)= |
5379 | 5462 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
5476 | 5559 | # Commands to make compiler produce verbose output that lists |
5477 | 5560 | # what "hidden" libraries, object files and flags are used when |
5478 | 5561 | # 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"' | |
5480 | 5563 | |
5481 | 5564 | else |
5482 | 5565 | GXX=no |
5588 | 5671 | _LT_SYS_MODULE_PATH_AIX |
5589 | 5672 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
5590 | 5673 | |
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" | |
5592 | 5675 | else |
5593 | 5676 | if test "$host_cpu" = ia64; then |
5594 | 5677 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
5603 | 5686 | # -berok will link without error, but may produce a broken library. |
5604 | 5687 | _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
5605 | 5688 | _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 | |
5608 | 5696 | _LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
5609 | 5697 | # This is similar to how AIX traditionally builds its shared |
5610 | 5698 | # libraries. |
5637 | 5725 | # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
5638 | 5726 | # as there is no search path for DLLs. |
5639 | 5727 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
5728 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' | |
5640 | 5729 | _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
5641 | 5730 | _LT_TAGVAR(always_export_symbols, $1)=no |
5642 | 5731 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
5697 | 5786 | gnu*) |
5698 | 5787 | ;; |
5699 | 5788 | |
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 | ||
5700 | 5794 | hpux9*) |
5701 | 5795 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' |
5702 | 5796 | _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
5721 | 5815 | # explicitly linking system object files so we need to strip them |
5722 | 5816 | # from the output so that they don't get included in the library |
5723 | 5817 | # 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"' | |
5725 | 5819 | ;; |
5726 | 5820 | *) |
5727 | 5821 | if test "$GXX" = yes; then |
5786 | 5880 | # explicitly linking system object files so we need to strip them |
5787 | 5881 | # from the output so that they don't get included in the library |
5788 | 5882 | # 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"' | |
5790 | 5884 | ;; |
5791 | 5885 | *) |
5792 | 5886 | if test "$GXX" = yes; then |
5829 | 5923 | case $cc_basename in |
5830 | 5924 | CC*) |
5831 | 5925 | # 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' | |
5833 | 5927 | |
5834 | 5928 | # Archives containing C++ object files must be created using |
5835 | 5929 | # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
5840 | 5934 | *) |
5841 | 5935 | if test "$GXX" = yes; then |
5842 | 5936 | 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' | |
5844 | 5938 | 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' | |
5846 | 5940 | fi |
5847 | 5941 | fi |
5848 | 5942 | _LT_TAGVAR(link_all_deplibs, $1)=yes |
5853 | 5947 | _LT_TAGVAR(inherit_rpath, $1)=yes |
5854 | 5948 | ;; |
5855 | 5949 | |
5856 | linux* | k*bsd*-gnu) | |
5950 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
5857 | 5951 | case $cc_basename in |
5858 | 5952 | KCC*) |
5859 | 5953 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
5871 | 5965 | # explicitly linking system object files so we need to strip them |
5872 | 5966 | # from the output so that they don't get included in the library |
5873 | 5967 | # 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"' | |
5875 | 5969 | |
5876 | 5970 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
5877 | 5971 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
5908 | 6002 | pgCC* | pgcpp*) |
5909 | 6003 | # Portland Group C++ compiler |
5910 | 6004 | case `$CC -V` in |
5911 | *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) | |
6005 | *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) | |
5912 | 6006 | _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ |
5913 | 6007 | rm -rf $tpldir~ |
5914 | 6008 | $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`"' | |
5916 | 6010 | _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ |
5917 | 6011 | rm -rf $tpldir~ |
5918 | 6012 | $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`~ | |
5920 | 6014 | $RANLIB $oldlib' |
5921 | 6015 | _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ |
5922 | 6016 | rm -rf $tpldir~ |
5923 | 6017 | $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' | |
5925 | 6019 | _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ |
5926 | 6020 | rm -rf $tpldir~ |
5927 | 6021 | $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' | |
5929 | 6023 | ;; |
5930 | *) # Version 6 will use weak symbols | |
6024 | *) # Version 6 and above use weak symbols | |
5931 | 6025 | _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
5932 | 6026 | _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' |
5933 | 6027 | ;; |
5935 | 6029 | |
5936 | 6030 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' |
5937 | 6031 | _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' | |
5939 | 6033 | ;; |
5940 | 6034 | cxx*) |
5941 | 6035 | # Compaq C++ |
5954 | 6048 | # explicitly linking system object files so we need to strip them |
5955 | 6049 | # from the output so that they don't get included in the library |
5956 | 6050 | # 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' | |
5958 | 6052 | ;; |
5959 | xl*) | |
6053 | xl* | mpixl* | bgxl*) | |
5960 | 6054 | # IBM XL 8.0 on PPC, with GNU ld |
5961 | 6055 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
5962 | 6056 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
5976 | 6070 | _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
5977 | 6071 | _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' |
5978 | 6072 | _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' | |
5980 | 6074 | _LT_TAGVAR(compiler_needs_object, $1)=yes |
5981 | 6075 | |
5982 | 6076 | # Not sure whether something based on |
5983 | 6077 | # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
5984 | 6078 | # would be better. |
5985 | output_verbose_link_cmd='echo' | |
6079 | output_verbose_link_cmd='func_echo_all' | |
5986 | 6080 | |
5987 | 6081 | # Archives containing C++ object files must be created using |
5988 | 6082 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
6051 | 6145 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
6052 | 6146 | _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
6053 | 6147 | fi |
6054 | output_verbose_link_cmd=echo | |
6148 | output_verbose_link_cmd=func_echo_all | |
6055 | 6149 | else |
6056 | 6150 | _LT_TAGVAR(ld_shlibs, $1)=no |
6057 | 6151 | fi |
6086 | 6180 | case $host in |
6087 | 6181 | osf3*) |
6088 | 6182 | _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' | |
6090 | 6184 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
6091 | 6185 | ;; |
6092 | 6186 | *) |
6093 | 6187 | _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' | |
6095 | 6189 | _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
6096 | 6190 | 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~ | |
6098 | 6192 | $RM $lib.exp' |
6099 | 6193 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
6100 | 6194 | ;; |
6110 | 6204 | # explicitly linking system object files so we need to strip them |
6111 | 6205 | # from the output so that they don't get included in the library |
6112 | 6206 | # 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"' | |
6114 | 6208 | ;; |
6115 | 6209 | *) |
6116 | 6210 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
6117 | 6211 | _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
6118 | 6212 | case $host in |
6119 | 6213 | 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' | |
6121 | 6215 | ;; |
6122 | 6216 | *) |
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' | |
6124 | 6218 | ;; |
6125 | 6219 | esac |
6126 | 6220 | |
6130 | 6224 | # Commands to make compiler produce verbose output that lists |
6131 | 6225 | # what "hidden" libraries, object files and flags are used when |
6132 | 6226 | # 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"' | |
6134 | 6228 | |
6135 | 6229 | else |
6136 | 6230 | # FIXME: insert proper C++ library support |
6166 | 6260 | |
6167 | 6261 | solaris*) |
6168 | 6262 | case $cc_basename in |
6169 | CC*) | |
6263 | CC* | sunCC*) | |
6170 | 6264 | # Sun C++ 4.2, 5.x and Centerline C++ |
6171 | 6265 | _LT_TAGVAR(archive_cmds_need_lc,$1)=yes |
6172 | 6266 | _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' |
6187 | 6281 | esac |
6188 | 6282 | _LT_TAGVAR(link_all_deplibs, $1)=yes |
6189 | 6283 | |
6190 | output_verbose_link_cmd='echo' | |
6284 | output_verbose_link_cmd='func_echo_all' | |
6191 | 6285 | |
6192 | 6286 | # Archives containing C++ object files must be created using |
6193 | 6287 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
6214 | 6308 | # Commands to make compiler produce verbose output that lists |
6215 | 6309 | # what "hidden" libraries, object files and flags are used when |
6216 | 6310 | # 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"' | |
6218 | 6312 | else |
6219 | 6313 | # g++ 2.7 appears to require `-G' NOT `-shared' on this |
6220 | 6314 | # platform. |
6225 | 6319 | # Commands to make compiler produce verbose output that lists |
6226 | 6320 | # what "hidden" libraries, object files and flags are used when |
6227 | 6321 | # 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"' | |
6229 | 6323 | fi |
6230 | 6324 | |
6231 | 6325 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' |
6279 | 6373 | CC*) |
6280 | 6374 | _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
6281 | 6375 | _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)" | |
6282 | 6380 | ;; |
6283 | 6381 | *) |
6284 | 6382 | _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
6525 | 6623 | |
6526 | 6624 | solaris*) |
6527 | 6625 | case $cc_basename in |
6528 | CC*) | |
6626 | CC* | sunCC*) | |
6529 | 6627 | # The more standards-conforming stlport4 library is |
6530 | 6628 | # incompatible with the Cstd library. Avoid specifying |
6531 | 6629 | # it if it's in CXXFLAGS. Ignore libCrun as |
6569 | 6667 | ])# _LT_SYS_HIDDEN_LIBDEPS |
6570 | 6668 | |
6571 | 6669 | |
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 | ||
6590 | 6670 | # _LT_LANG_F77_CONFIG([TAG]) |
6591 | 6671 | # -------------------------- |
6592 | 6672 | # Ensure that the configuration variables for a Fortran 77 compiler are |
6593 | 6673 | # suitably defined. These variables are subsequently used by _LT_CONFIG |
6594 | 6674 | # to write the compiler configuration to `libtool'. |
6595 | 6675 | 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 | |
6598 | 6680 | |
6599 | 6681 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
6600 | 6682 | _LT_TAGVAR(allow_undefined_flag, $1)= |
6613 | 6695 | _LT_TAGVAR(module_expsym_cmds, $1)= |
6614 | 6696 | _LT_TAGVAR(link_all_deplibs, $1)=unknown |
6615 | 6697 | _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 | |
6616 | 6700 | _LT_TAGVAR(no_undefined_flag, $1)= |
6617 | 6701 | _LT_TAGVAR(whole_archive_flag_spec, $1)= |
6618 | 6702 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
6712 | 6796 | ])# _LT_LANG_F77_CONFIG |
6713 | 6797 | |
6714 | 6798 | |
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 | ||
6733 | 6799 | # _LT_LANG_FC_CONFIG([TAG]) |
6734 | 6800 | # ------------------------- |
6735 | 6801 | # Ensure that the configuration variables for a Fortran compiler are |
6736 | 6802 | # suitably defined. These variables are subsequently used by _LT_CONFIG |
6737 | 6803 | # to write the compiler configuration to `libtool'. |
6738 | 6804 | 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 | |
6741 | 6810 | |
6742 | 6811 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
6743 | 6812 | _LT_TAGVAR(allow_undefined_flag, $1)= |
6756 | 6825 | _LT_TAGVAR(module_expsym_cmds, $1)= |
6757 | 6826 | _LT_TAGVAR(link_all_deplibs, $1)=unknown |
6758 | 6827 | _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 | |
6759 | 6830 | _LT_TAGVAR(no_undefined_flag, $1)= |
6760 | 6831 | _LT_TAGVAR(whole_archive_flag_spec, $1)= |
6761 | 6832 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
6901 | 6972 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
6902 | 6973 | |
6903 | 6974 | _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 | |
6904 | 6977 | |
6905 | 6978 | ## CAVEAT EMPTOR: |
6906 | 6979 | ## There is no encapsulation within the following macros, do not change |
7268 | 7341 | func_dirname () |
7269 | 7342 | { |
7270 | 7343 | # Extract subdirectory from the argument. |
7271 | func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` | |
7344 | func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` | |
7272 | 7345 | if test "X$func_dirname_result" = "X${1}"; then |
7273 | 7346 | func_dirname_result="${3}" |
7274 | 7347 | else |
7279 | 7352 | # func_basename file |
7280 | 7353 | func_basename () |
7281 | 7354 | { |
7282 | func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` | |
7355 | func_basename_result=`$ECHO "${1}" | $SED "$basename"` | |
7283 | 7356 | } |
7284 | 7357 | |
7285 | 7358 | dnl func_dirname_and_basename |
7295 | 7368 | func_stripname () |
7296 | 7369 | { |
7297 | 7370 | 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}\$%%"`;; | |
7302 | 7373 | esac |
7303 | 7374 | } |
7304 | 7375 | |
7309 | 7380 | # func_opt_split |
7310 | 7381 | func_opt_split () |
7311 | 7382 | { |
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"` | |
7314 | 7385 | } |
7315 | 7386 | |
7316 | 7387 | # func_lo2o object |
7317 | 7388 | func_lo2o () |
7318 | 7389 | { |
7319 | func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` | |
7390 | func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` | |
7320 | 7391 | } |
7321 | 7392 | |
7322 | 7393 | # func_xform libobj-or-source |
7323 | 7394 | func_xform () |
7324 | 7395 | { |
7325 | func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` | |
7396 | func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'` | |
7326 | 7397 | } |
7327 | 7398 | |
7328 | 7399 | # func_arith arithmetic-term... |
0 | 0 | # Helper functions for option handling. -*- Autoconf -*- |
1 | 1 | # |
2 | # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. | |
2 | # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, | |
3 | # Inc. | |
3 | 4 | # Written by Gary V. Vaughan, 2004 |
4 | 5 | # |
5 | 6 | # This file is free software; the Free Software Foundation gives |
6 | 7 | # unlimited permission to copy and/or distribute it, with or without |
7 | 8 | # modifications, as long as this notice is preserved. |
8 | 9 | |
9 | # serial 6 ltoptions.m4 | |
10 | # serial 7 ltoptions.m4 | |
10 | 11 | |
11 | 12 | # This is to help aclocal find these macros, as it can't see m4_define. |
12 | 13 | AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) |
124 | 125 | [enable_win32_dll=yes |
125 | 126 | |
126 | 127 | case $host in |
127 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) | |
128 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) | |
128 | 129 | AC_CHECK_TOOL(AS, as, false) |
129 | 130 | AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
130 | 131 | AC_CHECK_TOOL(OBJDUMP, objdump, false) |
132 | 133 | esac |
133 | 134 | |
134 | 135 | test -z "$AS" && AS=as |
135 | _LT_DECL([], [AS], [0], [Assembler program])dnl | |
136 | _LT_DECL([], [AS], [1], [Assembler program])dnl | |
136 | 137 | |
137 | 138 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
138 | _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl | |
139 | _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl | |
139 | 140 | |
140 | 141 | test -z "$OBJDUMP" && OBJDUMP=objdump |
141 | _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl | |
142 | _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl | |
142 | 143 | ])# win32-dll |
143 | 144 | |
144 | 145 | AU_DEFUN([AC_LIBTOOL_WIN32_DLL], |
8 | 8 | |
9 | 9 | # Generated from ltversion.in. |
10 | 10 | |
11 | # serial 3017 ltversion.m4 | |
11 | # serial 3175 ltversion.m4 | |
12 | 12 | # This file is part of GNU Libtool |
13 | 13 | |
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]) | |
16 | 16 | |
17 | 17 | 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' | |
20 | 20 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) |
21 | 21 | _LT_DECL(, macro_revision, 0) |
22 | 22 | ]) |
0 | 0 | # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
1 | 1 | # |
2 | # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. | |
2 | # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. | |
3 | 3 | # Written by Scott James Remnant, 2004. |
4 | 4 | # |
5 | 5 | # This file is free software; the Free Software Foundation gives |
6 | 6 | # unlimited permission to copy and/or distribute it, with or without |
7 | 7 | # modifications, as long as this notice is preserved. |
8 | 8 | |
9 | # serial 4 lt~obsolete.m4 | |
9 | # serial 5 lt~obsolete.m4 | |
10 | 10 | |
11 | 11 | # These exist entirely to fool aclocal when bootstrapping libtool. |
12 | 12 | # |
76 | 76 | m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) |
77 | 77 | m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) |
78 | 78 | m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) |
79 | m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) | |
80 | 79 | m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) |
81 | 80 | m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) |
82 | 81 | m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) |
89 | 88 | m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) |
90 | 89 | m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) |
91 | 90 | 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])]) |
308 | 308 | libexecdir = @libexecdir@ |
309 | 309 | localedir = @localedir@ |
310 | 310 | localstatedir = @localstatedir@ |
311 | lt_ECHO = @lt_ECHO@ | |
312 | 311 | mandir = @mandir@ |
313 | 312 | mkdir_p = @mkdir_p@ |
314 | 313 | oldincludedir = @oldincludedir@ |
289 | 289 | libexecdir = @libexecdir@ |
290 | 290 | localedir = @localedir@ |
291 | 291 | localstatedir = @localstatedir@ |
292 | lt_ECHO = @lt_ECHO@ | |
293 | 292 | mandir = @mandir@ |
294 | 293 | mkdir_p = @mkdir_p@ |
295 | 294 | oldincludedir = @oldincludedir@ |
434 | 434 | libexecdir = @libexecdir@ |
435 | 435 | localedir = @localedir@ |
436 | 436 | localstatedir = @localstatedir@ |
437 | lt_ECHO = @lt_ECHO@ | |
438 | 437 | mandir = @mandir@ |
439 | 438 | mkdir_p = @mkdir_p@ |
440 | 439 | oldincludedir = @oldincludedir@ |
28 | 28 | GstElement *funnel; |
29 | 29 | GstPad *funnelsrc, *funnelsink11, *funnelsink22; |
30 | 30 | GstPad *mysink, *mysrc1, *mysrc2; |
31 | GstCaps *mycaps; | |
31 | 32 | }; |
32 | 33 | |
33 | 34 | 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) | |
35 | 36 | { |
36 | GstCaps *caps = gst_caps_new_simple ("test/test", NULL); | |
37 | td->mycaps = gst_caps_new_simple ("test/test", NULL); | |
37 | 38 | |
38 | 39 | td->funnel = gst_element_factory_make ("fsfunnel", NULL); |
39 | 40 | |
53 | 54 | |
54 | 55 | td->mysink = gst_pad_new ("sink", GST_PAD_SINK); |
55 | 56 | gst_pad_set_chain_function (td->mysink, chain_func); |
57 | gst_pad_set_bufferalloc_function (td->mysink, alloc_func); | |
56 | 58 | gst_pad_set_active (td->mysink, TRUE); |
57 | gst_pad_set_caps (td->mysink, caps); | |
59 | gst_pad_set_caps (td->mysink, td->mycaps); | |
58 | 60 | |
59 | 61 | td->mysrc1 = gst_pad_new ("src1", GST_PAD_SRC); |
60 | 62 | gst_pad_set_active (td->mysrc1, TRUE); |
61 | gst_pad_set_caps (td->mysrc1, caps); | |
63 | gst_pad_set_caps (td->mysrc1, td->mycaps); | |
62 | 64 | |
63 | 65 | td->mysrc2 = gst_pad_new ("src2", GST_PAD_SRC); |
64 | 66 | gst_pad_set_active (td->mysrc2, TRUE); |
65 | gst_pad_set_caps (td->mysrc2, caps); | |
67 | gst_pad_set_caps (td->mysrc2, td->mycaps); | |
66 | 68 | |
67 | 69 | fail_unless (GST_PAD_LINK_SUCCESSFUL( |
68 | 70 | gst_pad_link (td->funnelsrc, td->mysink))); |
73 | 75 | fail_unless (GST_PAD_LINK_SUCCESSFUL( |
74 | 76 | gst_pad_link (td->mysrc2, td->funnelsink22))); |
75 | 77 | |
76 | gst_caps_unref (caps); | |
77 | 78 | } |
78 | 79 | |
79 | 80 | static void |
96 | 97 | gst_object_unref (td->funnelsink22); |
97 | 98 | gst_element_release_request_pad (td->funnel, td->funnelsink22); |
98 | 99 | |
100 | gst_caps_unref (td->mycaps); | |
99 | 101 | gst_object_unref (td->funnel); |
100 | 102 | } |
101 | 103 | |
102 | 104 | static gint bufcount = 0; |
105 | static gint alloccount = 0; | |
103 | 106 | |
104 | 107 | static GstFlowReturn |
105 | 108 | chain_ok (GstPad *pad, GstBuffer *buffer) |
111 | 114 | return GST_FLOW_OK; |
112 | 115 | } |
113 | 116 | |
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 | ||
114 | 136 | GST_START_TEST (test_funnel_simple) |
115 | 137 | { |
116 | 138 | struct TestData td; |
139 | GstBuffer *buf1 = NULL; | |
140 | GstBuffer *buf2 = NULL; | |
117 | 141 | |
118 | setup_test_objects (&td, chain_ok); | |
142 | setup_test_objects (&td, chain_ok, alloc_ok); | |
119 | 143 | |
120 | 144 | bufcount = 0; |
145 | alloccount = 0; | |
121 | 146 | |
122 | 147 | fail_unless (gst_pad_push (td.mysrc1, gst_buffer_new ()) == GST_FLOW_OK); |
123 | 148 | fail_unless (gst_pad_push (td.mysrc2, gst_buffer_new ()) == GST_FLOW_OK); |
124 | 149 | |
125 | 150 | 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); | |
126 | 159 | |
127 | 160 | release_test_objects (&td); |
128 | 161 | } |
28 | 28 | #include "generic.h" |
29 | 29 | |
30 | 30 | 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 | ||
31 | 67 | |
32 | 68 | void |
33 | 69 | _notify_codecs (GObject *object, GParamSpec *param, gpointer user_data) |
2048 | 2084 | g_log_set_always_fatal (fatal_mask); |
2049 | 2085 | |
2050 | 2086 | |
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 | ||
2051 | 2091 | tc_chain = tcase_create ("fsrtpcodecs_codec_preferences"); |
2052 | 2092 | tcase_add_test (tc_chain, test_rtpcodecs_codec_preferences); |
2053 | 2093 | suite_add_tcase (s, tc_chain); |
305 | 305 | libexecdir = @libexecdir@ |
306 | 306 | localedir = @localedir@ |
307 | 307 | localstatedir = @localstatedir@ |
308 | lt_ECHO = @lt_ECHO@ | |
309 | 308 | mandir = @mandir@ |
310 | 309 | mkdir_p = @mkdir_p@ |
311 | 310 | oldincludedir = @oldincludedir@ |
288 | 288 | libexecdir = @libexecdir@ |
289 | 289 | localedir = @localedir@ |
290 | 290 | localstatedir = @localstatedir@ |
291 | lt_ECHO = @lt_ECHO@ | |
292 | 291 | mandir = @mandir@ |
293 | 292 | mkdir_p = @mkdir_p@ |
294 | 293 | oldincludedir = @oldincludedir@ |
315 | 315 | libexecdir = @libexecdir@ |
316 | 316 | localedir = @localedir@ |
317 | 317 | localstatedir = @localstatedir@ |
318 | lt_ECHO = @lt_ECHO@ | |
319 | 318 | mandir = @mandir@ |
320 | 319 | mkdir_p = @mkdir_p@ |
321 | 320 | oldincludedir = @oldincludedir@ |
550 | 550 | { |
551 | 551 | g_set_error (error, FS_ERROR, FS_ERROR_INVALID_ARGUMENTS, |
552 | 552 | "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); | |
554 | 556 | return FALSE; |
555 | 557 | } |
556 | 558 |
315 | 315 | libexecdir = @libexecdir@ |
316 | 316 | localedir = @localedir@ |
317 | 317 | localstatedir = @localstatedir@ |
318 | lt_ECHO = @lt_ECHO@ | |
319 | 318 | mandir = @mandir@ |
320 | 319 | mkdir_p = @mkdir_p@ |
321 | 320 | oldincludedir = @oldincludedir@ |
725 | 725 | } |
726 | 726 | |
727 | 727 | 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) | |
729 | 730 | { |
730 | 731 | if (!username) |
731 | 732 | { |
778 | 779 | } |
779 | 780 | |
780 | 781 | 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) | |
782 | 784 | { |
783 | 785 | username = g_strdup (username); |
784 | 786 | password = g_strdup (password); |
1680 | 1682 | GError *error = NULL; |
1681 | 1683 | |
1682 | 1684 | 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) | |
1684 | 1687 | { |
1685 | 1688 | if (!nice_agent_set_remote_credentials (self->priv->agent->agent, |
1686 | 1689 | self->priv->stream_id, self->priv->username, |
889 | 889 | g_object_set (ns->recvonly_filters[c], "sending", TRUE, NULL); |
890 | 890 | else |
891 | 891 | { |
892 | GstStateChangeReturn ret; | |
892 | GstPadLinkReturn ret; | |
893 | 893 | GstPad *elempad; |
894 | 894 | |
895 | 895 | gst_element_set_locked_state (ns->nicesinks[c], FALSE); |
329 | 329 | libexecdir = @libexecdir@ |
330 | 330 | localedir = @localedir@ |
331 | 331 | localstatedir = @localstatedir@ |
332 | lt_ECHO = @lt_ECHO@ | |
333 | 332 | mandir = @mandir@ |
334 | 333 | mkdir_p = @mkdir_p@ |
335 | 334 | oldincludedir = @oldincludedir@ |
1478 | 1478 | } |
1479 | 1479 | |
1480 | 1480 | 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); | |
1482 | 1483 | |
1483 | 1484 | while (!self->priv->stun_stop && |
1484 | 1485 | timeout_accum_ms < self->priv->stun_timeout * 1000) |
1485 | 1486 | { |
1486 | 1487 | if (self->priv->stun_server_changed) |
1487 | 1488 | { |
1488 | stun_timer_start (&stun_timer); | |
1489 | stun_timer_start (&stun_timer, STUN_TIMER_DEFAULT_TIMEOUT, | |
1490 | STUN_TIMER_DEFAULT_MAX_RETRANSMISSIONS); | |
1489 | 1491 | self->priv->stun_server_changed = FALSE; |
1490 | 1492 | timer_ret = STUN_USAGE_TIMER_RETURN_RETRANSMIT; |
1491 | 1493 | } |
314 | 314 | libexecdir = @libexecdir@ |
315 | 315 | localedir = @localedir@ |
316 | 316 | localstatedir = @localstatedir@ |
317 | lt_ECHO = @lt_ECHO@ | |
318 | 317 | mandir = @mandir@ |
319 | 318 | mkdir_p = @mkdir_p@ |
320 | 319 | oldincludedir = @oldincludedir@ |
40 | 40 | #include <gst/farsight/fs-plugin.h> |
41 | 41 | |
42 | 42 | #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*/ | |
58 | 43 | |
59 | 44 | GST_DEBUG_CATEGORY (fs_shm_transmitter_debug); |
60 | 45 | #define GST_CAT_DEFAULT fs_shm_transmitter_debug |