Imported Upstream version 0.4.0
Andreas Henriksson
13 years ago
0 | 0 | # Generated by Makefile. Do not edit. |
1 | ||
2 | commit 0f16b7b6eda00b5aca8df58426b9df903be6198e | |
3 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> | |
4 | Date: Mon Sep 27 23:44:03 2010 +0530 | |
5 | ||
6 | NEWS: Update list of contributors to the release | |
7 | ||
8 | NEWS | 2 ++ | |
9 | 1 files changed, 2 insertions(+), 0 deletions(-) | |
10 | ||
11 | commit 8215bc2f3f128d8dcfbcf0e73cd32ced7e25c601 | |
12 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> | |
13 | Date: Mon Sep 27 22:45:57 2010 +0530 | |
14 | ||
15 | doc: Update NEWS about linking against pbutils | |
16 | ||
17 | NEWS | 1 + | |
18 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
19 | ||
20 | commit a78e56cfa6d68de89b88e2f7319173e7cd3b2dfe | |
21 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> | |
22 | Date: Mon Sep 27 22:16:21 2010 +0530 | |
23 | ||
24 | tests: Don't build dlna-encoding temporarily | |
25 | ||
26 | This depends on pbutils, which, post gst-plugins-base 0.10.30, conflicts | |
27 | with our internal copy of GstDiscoverer. | |
28 | ||
29 | tests/Makefile.am | 2 +- | |
30 | 1 files changed, 1 insertions(+), 1 deletions(-) | |
31 | ||
32 | commit e6295e62314c00d15e9d9e2d0ef688559430f569 | |
33 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> | |
34 | Date: Mon Sep 27 22:12:32 2010 +0530 | |
35 | ||
36 | tools: Don't depend on pbutils | |
37 | ||
38 | Removes the dependency on pbutils temporarily since internal | |
39 | gst-convenience conflicts with the version merged into gst-plugins-base. | |
40 | ||
41 | tools/Makefile.am | 3 +-- | |
42 | tools/gupnp-dlna-info.c | 6 +----- | |
43 | 2 files changed, 2 insertions(+), 7 deletions(-) | |
44 | ||
45 | commit c25ecccf0c552b261e4029365df12082ca99a176 | |
46 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> | |
47 | Date: Fri Sep 24 19:46:32 2010 +0530 | |
48 | ||
49 | doc: Update NEWS for 0.4.0 | |
50 | ||
51 | NEWS | 10 ++++++++++ | |
52 | 1 files changed, 10 insertions(+), 0 deletions(-) | |
53 | ||
54 | commit 2c62c77fb7cc6954ab12f89d9f46445636656c05 | |
55 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> | |
56 | Date: Fri Sep 24 19:45:11 2010 +0530 | |
57 | ||
58 | build: Bump version to 0.4.0 | |
59 | ||
60 | configure.ac | 2 +- | |
61 | 1 files changed, 1 insertions(+), 1 deletions(-) | |
62 | ||
63 | commit d4689f1e94955db646ef663b5d6d9176a68cae6f | |
64 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> | |
65 | Date: Fri Sep 24 19:44:32 2010 +0530 | |
66 | ||
67 | build: Add library versioning | |
68 | ||
69 | configure.ac | 15 +++++++++++++++ | |
70 | 1 files changed, 15 insertions(+), 0 deletions(-) | |
71 | ||
72 | commit d86a8de582b80989f69791677c179fee50305564 | |
73 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> | |
74 | Date: Fri Sep 24 10:45:05 2010 +0530 | |
75 | ||
76 | tests: Allow the test harness to run out-of-tree | |
77 | ||
78 | Provides the option of picking up gupnp-dlna-info from any arbitrary | |
79 | location. | |
80 | ||
81 | tests/test-discoverer.sh.in | 4 +++- | |
82 | 1 files changed, 3 insertions(+), 1 deletions(-) | |
1 | 83 | |
2 | 84 | commit c662f88e3bf96540236f1cbb2bbe32268e07c504 |
3 | 85 | Author: Arun Raghavan <arun.raghavan@collabora.co.uk> |
39 | 39 | $(srcdir)/gupnp-dlna-1.0-uninstalled.pc.in \ |
40 | 40 | $(srcdir)/gupnp-dlna-1.0.pc.in $(top_srcdir)/configure AUTHORS \ |
41 | 41 | COPYING ChangeLog INSTALL NEWS TODO config.guess config.sub \ |
42 | depcomp install-sh ltmain.sh missing | |
42 | depcomp install-sh ltmain.sh missing mkinstalldirs | |
43 | 43 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
44 | 44 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
45 | 45 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
46 | 46 | $(ACLOCAL_M4) |
47 | 47 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
48 | 48 | configure.lineno config.status.lineno |
49 | mkinstalldirs = $(install_sh) -d | |
49 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
50 | 50 | CONFIG_HEADER = config.h |
51 | 51 | CONFIG_CLEAN_FILES = gupnp-dlna-1.0.pc gupnp-dlna-1.0-uninstalled.pc |
52 | 52 | CONFIG_CLEAN_VPATH_FILES = |
172 | 172 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
173 | 173 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
174 | 174 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
175 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
175 | 176 | HTML_DIR = @HTML_DIR@ |
176 | 177 | INSTALL = @INSTALL@ |
177 | 178 | INSTALL_DATA = @INSTALL_DATA@ |
0 | 0.4.0 | |
1 | ===== | |
2 | ||
3 | Changes since 0.3.1: | |
4 | ||
5 | - Don't link against pbutils to avoid conflicts with internal gstdiscoverer | |
6 | - Add library versioning | |
7 | - Minor test harness change | |
8 | ||
9 | Arun Raghavan <arun.raghavan@collabora.co.uk> | |
10 | Parthasarathi Susarla <partha.susarla@collabora.co.uk> | |
11 | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
12 | ||
0 | 13 | 0.3.1 |
1 | 14 | ===== |
2 | 15 |
12 | 12 | |
13 | 13 | m4_ifndef([AC_AUTOCONF_VERSION], |
14 | 14 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, | |
16 | [m4_warning([this file was generated for autoconf 2.65. | |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, | |
16 | [m4_warning([this file was generated for autoconf 2.67. | |
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 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
22 | # | |
23 | # This file is free software; the Free Software Foundation | |
24 | # gives unlimited permission to copy and/or distribute it, | |
25 | # with or without modifications, as long as this notice is preserved. | |
26 | ||
27 | # AM_AUTOMAKE_VERSION(VERSION) | |
28 | # ---------------------------- | |
29 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | |
30 | # generated from the m4 files accompanying Automake X.Y. | |
31 | # (This private macro should not be called outside this file.) | |
32 | AC_DEFUN([AM_AUTOMAKE_VERSION], | |
33 | [am__api_version='1.11' | |
34 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | |
35 | dnl require some minimum version. Point them to the right macro. | |
36 | m4_if([$1], [1.11.1], [], | |
37 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | |
38 | ]) | |
39 | ||
40 | # _AM_AUTOCONF_VERSION(VERSION) | |
41 | # ----------------------------- | |
42 | # aclocal traces this macro to find the Autoconf version. | |
43 | # This is a private macro too. Using m4_define simplifies | |
44 | # the logic in aclocal, which can simply ignore this definition. | |
45 | m4_define([_AM_AUTOCONF_VERSION], []) | |
46 | ||
47 | # AM_SET_CURRENT_AUTOMAKE_VERSION | |
48 | # ------------------------------- | |
49 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | |
50 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | |
51 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | |
52 | [AM_AUTOMAKE_VERSION([1.11.1])dnl | |
53 | m4_ifndef([AC_AUTOCONF_VERSION], | |
54 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
55 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | |
56 | ||
57 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | |
58 | ||
59 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
60 | # | |
61 | # This file is free software; the Free Software Foundation | |
62 | # gives unlimited permission to copy and/or distribute it, | |
63 | # with or without modifications, as long as this notice is preserved. | |
64 | ||
65 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | |
66 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
67 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
68 | # | |
69 | # Of course, Automake must honor this variable whenever it calls a | |
70 | # tool from the auxiliary directory. The problem is that $srcdir (and | |
71 | # therefore $ac_aux_dir as well) can be either absolute or relative, | |
72 | # depending on how configure is run. This is pretty annoying, since | |
73 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | |
74 | # source directory, any form will work fine, but in subdirectories a | |
75 | # relative path needs to be adjusted first. | |
76 | # | |
77 | # $ac_aux_dir/missing | |
78 | # fails when called from a subdirectory if $ac_aux_dir is relative | |
79 | # $top_srcdir/$ac_aux_dir/missing | |
80 | # fails if $ac_aux_dir is absolute, | |
81 | # fails when called from a subdirectory in a VPATH build with | |
82 | # a relative $ac_aux_dir | |
83 | # | |
84 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | |
85 | # are both prefixed by $srcdir. In an in-source build this is usually | |
86 | # harmless because $srcdir is `.', but things will broke when you | |
87 | # start a VPATH build or use an absolute $srcdir. | |
88 | # | |
89 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | |
90 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | |
91 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | |
92 | # and then we would define $MISSING as | |
93 | # MISSING="\${SHELL} $am_aux_dir/missing" | |
94 | # This will work as long as MISSING is not called from configure, because | |
95 | # unfortunately $(top_srcdir) has no meaning in configure. | |
96 | # However there are other variables, like CC, which are often used in | |
97 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | |
98 | # | |
99 | # Another solution, used here, is to always expand $ac_aux_dir to an | |
100 | # absolute PATH. The drawback is that using absolute paths prevent a | |
101 | # configured tree to be moved without reconfiguration. | |
102 | ||
103 | AC_DEFUN([AM_AUX_DIR_EXPAND], | |
104 | [dnl Rely on autoconf to set up CDPATH properly. | |
105 | AC_PREREQ([2.50])dnl | |
106 | # expand $ac_aux_dir to an absolute path | |
107 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
108 | ]) | |
109 | ||
110 | # AM_CONDITIONAL -*- Autoconf -*- | |
111 | ||
112 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
113 | # Free Software Foundation, Inc. | |
114 | # | |
115 | # This file is free software; the Free Software Foundation | |
116 | # gives unlimited permission to copy and/or distribute it, | |
117 | # with or without modifications, as long as this notice is preserved. | |
118 | ||
119 | # serial 9 | |
120 | ||
121 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | |
122 | # ------------------------------------- | |
123 | # Define a conditional. | |
124 | AC_DEFUN([AM_CONDITIONAL], | |
125 | [AC_PREREQ(2.52)dnl | |
126 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
127 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
128 | AC_SUBST([$1_TRUE])dnl | |
129 | AC_SUBST([$1_FALSE])dnl | |
130 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
131 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
132 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
133 | if $2; then | |
134 | $1_TRUE= | |
135 | $1_FALSE='#' | |
136 | else | |
137 | $1_TRUE='#' | |
138 | $1_FALSE= | |
139 | fi | |
140 | AC_CONFIG_COMMANDS_PRE( | |
141 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
142 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
143 | Usually this means the macro was only invoked conditionally.]]) | |
144 | fi])]) | |
145 | ||
146 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 | |
147 | # Free Software Foundation, Inc. | |
148 | # | |
149 | # This file is free software; the Free Software Foundation | |
150 | # gives unlimited permission to copy and/or distribute it, | |
151 | # with or without modifications, as long as this notice is preserved. | |
152 | ||
153 | # serial 10 | |
154 | ||
155 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
156 | # written in clear, in which case automake, when reading aclocal.m4, | |
157 | # will think it sees a *use*, and therefore will trigger all it's | |
158 | # C support machinery. Also note that it means that autoscan, seeing | |
159 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | |
160 | ||
161 | ||
162 | # _AM_DEPENDENCIES(NAME) | |
163 | # ---------------------- | |
164 | # See how the compiler implements dependency checking. | |
165 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
166 | # We try a few techniques and use that to set a single cache variable. | |
167 | # | |
168 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | |
169 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | |
170 | # dependency, and given that the user is not expected to run this macro, | |
171 | # just rely on AC_PROG_CC. | |
172 | AC_DEFUN([_AM_DEPENDENCIES], | |
173 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | |
174 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | |
175 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | |
176 | AC_REQUIRE([AM_DEP_TRACK])dnl | |
177 | ||
178 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
179 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
180 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
181 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
182 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
183 | [depcc="$$1" am_compiler_list=]) | |
184 | ||
185 | AC_CACHE_CHECK([dependency style of $depcc], | |
186 | [am_cv_$1_dependencies_compiler_type], | |
187 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
188 | # We make a subdir and do the tests there. Otherwise we can end up | |
189 | # making bogus files that we don't know about and never remove. For | |
190 | # instance it was reported that on HP-UX the gcc test will end up | |
191 | # making a dummy file named `D' -- because `-MD' means `put the output | |
192 | # in D'. | |
193 | mkdir conftest.dir | |
194 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
195 | # using a relative directory. | |
196 | cp "$am_depcomp" conftest.dir | |
197 | cd conftest.dir | |
198 | # We will build objects and dependencies in a subdirectory because | |
199 | # it helps to detect inapplicable dependency modes. For instance | |
200 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
201 | # side effect of compilation, but ICC will put the dependencies in | |
202 | # the current directory while Tru64 will put them in the object | |
203 | # directory. | |
204 | mkdir sub | |
205 | ||
206 | am_cv_$1_dependencies_compiler_type=none | |
207 | if test "$am_compiler_list" = ""; then | |
208 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | |
209 | fi | |
210 | am__universal=false | |
211 | m4_case([$1], [CC], | |
212 | [case " $depcc " in #( | |
213 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
214 | esac], | |
215 | [CXX], | |
216 | [case " $depcc " in #( | |
217 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
218 | esac]) | |
219 | ||
220 | for depmode in $am_compiler_list; do | |
221 | # Setup a source with many dependencies, because some compilers | |
222 | # like to wrap large dependency lists on column 80 (with \), and | |
223 | # we should not choose a depcomp mode which is confused by this. | |
224 | # | |
225 | # We need to recreate these files for each test, as the compiler may | |
226 | # overwrite some of them when testing with obscure command lines. | |
227 | # This happens at least with the AIX C compiler. | |
228 | : > sub/conftest.c | |
229 | for i in 1 2 3 4 5 6; do | |
230 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
231 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
232 | # Solaris 8's {/usr,}/bin/sh. | |
233 | touch sub/conftst$i.h | |
234 | done | |
235 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
236 | ||
237 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
238 | # mode. It turns out that the SunPro C++ compiler does not properly | |
239 | # handle `-M -o', and we need to detect this. Also, some Intel | |
240 | # versions had trouble with output in subdirs | |
241 | am__obj=sub/conftest.${OBJEXT-o} | |
242 | am__minus_obj="-o $am__obj" | |
243 | case $depmode in | |
244 | gcc) | |
245 | # This depmode causes a compiler race in universal mode. | |
246 | test "$am__universal" = false || continue | |
247 | ;; | |
248 | nosideeffect) | |
249 | # after this tag, mechanisms are not by side-effect, so they'll | |
250 | # only be used when explicitly requested | |
251 | if test "x$enable_dependency_tracking" = xyes; then | |
252 | continue | |
253 | else | |
254 | break | |
255 | fi | |
256 | ;; | |
257 | msvisualcpp | msvcmsys) | |
258 | # This compiler won't grok `-c -o', but also, the minuso test has | |
259 | # not run yet. These depmodes are late enough in the game, and | |
260 | # so weak that their functioning should not be impacted. | |
261 | am__obj=conftest.${OBJEXT-o} | |
262 | am__minus_obj= | |
263 | ;; | |
264 | none) break ;; | |
265 | esac | |
266 | if depmode=$depmode \ | |
267 | source=sub/conftest.c object=$am__obj \ | |
268 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
269 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
270 | >/dev/null 2>conftest.err && | |
271 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
272 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
273 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
274 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
275 | # icc doesn't choke on unknown options, it will just issue warnings | |
276 | # or remarks (even with -Werror). So we grep stderr for any message | |
277 | # that says an option was ignored or not supported. | |
278 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
279 | # icc: Command line warning: ignoring option '-M'; no argument required | |
280 | # The diagnosis changed in icc 8.0: | |
281 | # icc: Command line remark: option '-MP' not supported | |
282 | if (grep 'ignoring option' conftest.err || | |
283 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
284 | am_cv_$1_dependencies_compiler_type=$depmode | |
285 | break | |
286 | fi | |
287 | fi | |
288 | done | |
289 | ||
290 | cd .. | |
291 | rm -rf conftest.dir | |
292 | else | |
293 | am_cv_$1_dependencies_compiler_type=none | |
294 | fi | |
295 | ]) | |
296 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | |
297 | AM_CONDITIONAL([am__fastdep$1], [ | |
298 | test "x$enable_dependency_tracking" != xno \ | |
299 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | |
300 | ]) | |
301 | ||
302 | ||
303 | # AM_SET_DEPDIR | |
304 | # ------------- | |
305 | # Choose a directory name for dependency files. | |
306 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
307 | AC_DEFUN([AM_SET_DEPDIR], | |
308 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
309 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | |
310 | ]) | |
311 | ||
312 | ||
313 | # AM_DEP_TRACK | |
314 | # ------------ | |
315 | AC_DEFUN([AM_DEP_TRACK], | |
316 | [AC_ARG_ENABLE(dependency-tracking, | |
317 | [ --disable-dependency-tracking speeds up one-time build | |
318 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
319 | if test "x$enable_dependency_tracking" != xno; then | |
320 | am_depcomp="$ac_aux_dir/depcomp" | |
321 | AMDEPBACKSLASH='\' | |
322 | fi | |
323 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
324 | AC_SUBST([AMDEPBACKSLASH])dnl | |
325 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
326 | ]) | |
327 | ||
328 | # Generate code to set up dependency tracking. -*- Autoconf -*- | |
329 | ||
330 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
331 | # Free Software Foundation, Inc. | |
332 | # | |
333 | # This file is free software; the Free Software Foundation | |
334 | # gives unlimited permission to copy and/or distribute it, | |
335 | # with or without modifications, as long as this notice is preserved. | |
336 | ||
337 | #serial 5 | |
338 | ||
339 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | |
340 | # ------------------------------ | |
341 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | |
342 | [{ | |
343 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
344 | # are listed without --file. Let's play safe and only enable the eval | |
345 | # if we detect the quoting. | |
346 | case $CONFIG_FILES in | |
347 | *\'*) eval set x "$CONFIG_FILES" ;; | |
348 | *) set x $CONFIG_FILES ;; | |
349 | esac | |
350 | shift | |
351 | for mf | |
352 | do | |
353 | # Strip MF so we end up with the name of the file. | |
354 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
355 | # Check whether this is an Automake generated Makefile or not. | |
356 | # We used to match only the files named `Makefile.in', but | |
357 | # some people rename them; so instead we look at the file content. | |
358 | # Grep'ing the first line is not enough: some people post-process | |
359 | # each Makefile.in and add a new line on top of each file to say so. | |
360 | # Grep'ing the whole file is not good either: AIX grep has a line | |
361 | # limit of 2048, but all sed's we know have understand at least 4000. | |
362 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
363 | dirpart=`AS_DIRNAME("$mf")` | |
364 | else | |
365 | continue | |
366 | fi | |
367 | # Extract the definition of DEPDIR, am__include, and am__quote | |
368 | # from the Makefile without running `make'. | |
369 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
370 | test -z "$DEPDIR" && continue | |
371 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
372 | test -z "am__include" && continue | |
373 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
374 | # When using ansi2knr, U may be empty or an underscore; expand it | |
375 | U=`sed -n 's/^U = //p' < "$mf"` | |
376 | # Find all dependency output files, they are included files with | |
377 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
378 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
379 | # expansion. | |
380 | for file in `sed -n " | |
381 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
382 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
383 | # Make sure the directory exists. | |
384 | test -f "$dirpart/$file" && continue | |
385 | fdir=`AS_DIRNAME(["$file"])` | |
386 | AS_MKDIR_P([$dirpart/$fdir]) | |
387 | # echo "creating $dirpart/$file" | |
388 | echo '# dummy' > "$dirpart/$file" | |
389 | done | |
390 | done | |
391 | } | |
392 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | |
393 | ||
394 | ||
395 | # AM_OUTPUT_DEPENDENCY_COMMANDS | |
396 | # ----------------------------- | |
397 | # This macro should only be invoked once -- use via AC_REQUIRE. | |
398 | # | |
399 | # This code is only required when automatic dependency tracking | |
400 | # is enabled. FIXME. This creates each `.P' file that we will | |
401 | # need in order to bootstrap the dependency handling code. | |
402 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | |
403 | [AC_CONFIG_COMMANDS([depfiles], | |
404 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | |
405 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
406 | ]) | |
407 | ||
408 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 | |
409 | # Free Software Foundation, Inc. | |
410 | # | |
411 | # This file is free software; the Free Software Foundation | |
412 | # gives unlimited permission to copy and/or distribute it, | |
413 | # with or without modifications, as long as this notice is preserved. | |
414 | ||
415 | # serial 8 | |
416 | ||
417 | # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. | |
418 | AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) | |
419 | ||
420 | # Do all the work for Automake. -*- Autoconf -*- | |
421 | ||
422 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
423 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
424 | # | |
425 | # This file is free software; the Free Software Foundation | |
426 | # gives unlimited permission to copy and/or distribute it, | |
427 | # with or without modifications, as long as this notice is preserved. | |
428 | ||
429 | # serial 16 | |
430 | ||
431 | # This macro actually does too much. Some checks are only needed if | |
432 | # your package does certain things. But this isn't really a big deal. | |
433 | ||
434 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | |
435 | # AM_INIT_AUTOMAKE([OPTIONS]) | |
436 | # ----------------------------------------------- | |
437 | # The call with PACKAGE and VERSION arguments is the old style | |
438 | # call (pre autoconf-2.50), which is being phased out. PACKAGE | |
439 | # and VERSION should now be passed to AC_INIT and removed from | |
440 | # the call to AM_INIT_AUTOMAKE. | |
441 | # We support both call styles for the transition. After | |
442 | # the next Automake release, Autoconf can make the AC_INIT | |
443 | # arguments mandatory, and then we can depend on a new Autoconf | |
444 | # release and drop the old call support. | |
445 | AC_DEFUN([AM_INIT_AUTOMAKE], | |
446 | [AC_PREREQ([2.62])dnl | |
447 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | |
448 | dnl the ones we care about. | |
449 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | |
450 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | |
451 | AC_REQUIRE([AC_PROG_INSTALL])dnl | |
452 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
453 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
454 | # is not polluted with repeated "-I." | |
455 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | |
456 | # test to see if srcdir already configured | |
457 | if test -f $srcdir/config.status; then | |
458 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | |
459 | fi | |
460 | fi | |
461 | ||
462 | # test whether we have cygpath | |
463 | if test -z "$CYGPATH_W"; then | |
464 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
465 | CYGPATH_W='cygpath -w' | |
466 | else | |
467 | CYGPATH_W=echo | |
468 | fi | |
469 | fi | |
470 | AC_SUBST([CYGPATH_W]) | |
471 | ||
472 | # Define the identity of the package. | |
473 | dnl Distinguish between old-style and new-style calls. | |
474 | m4_ifval([$2], | |
475 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
476 | AC_SUBST([PACKAGE], [$1])dnl | |
477 | AC_SUBST([VERSION], [$2])], | |
478 | [_AM_SET_OPTIONS([$1])dnl | |
479 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | |
480 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
481 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | |
482 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | |
483 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | |
484 | ||
485 | _AM_IF_OPTION([no-define],, | |
486 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
487 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
488 | ||
489 | # Some tools Automake needs. | |
490 | AC_REQUIRE([AM_SANITY_CHECK])dnl | |
491 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | |
492 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
493 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
494 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
495 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
496 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
497 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
498 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | |
499 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
500 | # We need awk for the "check" target. The system "awk" is bad on | |
501 | # some platforms. | |
502 | AC_REQUIRE([AC_PROG_AWK])dnl | |
503 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | |
504 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
505 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | |
506 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
507 | [_AM_PROG_TAR([v7])])]) | |
508 | _AM_IF_OPTION([no-dependencies],, | |
509 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | |
510 | [_AM_DEPENDENCIES(CC)], | |
511 | [define([AC_PROG_CC], | |
512 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
513 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | |
514 | [_AM_DEPENDENCIES(CXX)], | |
515 | [define([AC_PROG_CXX], | |
516 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
517 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
518 | [_AM_DEPENDENCIES(OBJC)], | |
519 | [define([AC_PROG_OBJC], | |
520 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
521 | ]) | |
522 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | |
523 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
524 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
525 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
526 | AC_CONFIG_COMMANDS_PRE(dnl | |
527 | [m4_provide_if([_AM_COMPILER_EXEEXT], | |
528 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | |
529 | ]) | |
530 | ||
531 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
532 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | |
533 | dnl mangled by Autoconf and run in a shell conditional statement. | |
534 | m4_define([_AC_COMPILER_EXEEXT], | |
535 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | |
536 | ||
537 | ||
538 | # When config.status generates a header, we must update the stamp-h file. | |
539 | # This file resides in the same directory as the config header | |
540 | # that is generated. The stamp files are numbered to have different names. | |
541 | ||
542 | # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | |
543 | # loop where config.status creates the headers, so we can generate | |
544 | # our stamp files there. | |
545 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | |
546 | [# Compute $1's index in $config_headers. | |
547 | _am_arg=$1 | |
548 | _am_stamp_count=1 | |
549 | for _am_header in $config_headers :; do | |
550 | case $_am_header in | |
551 | $_am_arg | $_am_arg:* ) | |
552 | break ;; | |
553 | * ) | |
554 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
555 | esac | |
556 | done | |
557 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | |
558 | ||
559 | # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. | |
560 | # | |
561 | # This file is free software; the Free Software Foundation | |
562 | # gives unlimited permission to copy and/or distribute it, | |
563 | # with or without modifications, as long as this notice is preserved. | |
564 | ||
565 | # AM_PROG_INSTALL_SH | |
566 | # ------------------ | |
567 | # Define $install_sh. | |
568 | AC_DEFUN([AM_PROG_INSTALL_SH], | |
569 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
570 | if test x"${install_sh}" != xset; then | |
571 | case $am_aux_dir in | |
572 | *\ * | *\ *) | |
573 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
574 | *) | |
575 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
576 | esac | |
577 | fi | |
578 | AC_SUBST(install_sh)]) | |
579 | ||
580 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
581 | # | |
582 | # This file is free software; the Free Software Foundation | |
583 | # gives unlimited permission to copy and/or distribute it, | |
584 | # with or without modifications, as long as this notice is preserved. | |
585 | ||
586 | # serial 2 | |
587 | ||
588 | # Check whether the underlying file-system supports filenames | |
589 | # with a leading dot. For instance MS-DOS doesn't. | |
590 | AC_DEFUN([AM_SET_LEADING_DOT], | |
591 | [rm -rf .tst 2>/dev/null | |
592 | mkdir .tst 2>/dev/null | |
593 | if test -d .tst; then | |
594 | am__leading_dot=. | |
595 | else | |
596 | am__leading_dot=_ | |
597 | fi | |
598 | rmdir .tst 2>/dev/null | |
599 | AC_SUBST([am__leading_dot])]) | |
600 | ||
601 | # Check to see how 'make' treats includes. -*- Autoconf -*- | |
602 | ||
603 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
604 | # | |
605 | # This file is free software; the Free Software Foundation | |
606 | # gives unlimited permission to copy and/or distribute it, | |
607 | # with or without modifications, as long as this notice is preserved. | |
608 | ||
609 | # serial 4 | |
610 | ||
611 | # AM_MAKE_INCLUDE() | |
612 | # ----------------- | |
613 | # Check to see how make treats includes. | |
614 | AC_DEFUN([AM_MAKE_INCLUDE], | |
615 | [am_make=${MAKE-make} | |
616 | cat > confinc << 'END' | |
617 | am__doit: | |
618 | @echo this is the am__doit target | |
619 | .PHONY: am__doit | |
620 | END | |
621 | # If we don't find an include directive, just comment out the code. | |
622 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
623 | am__include="#" | |
624 | am__quote= | |
625 | _am_result=none | |
626 | # First try GNU make style include. | |
627 | echo "include confinc" > confmf | |
628 | # Ignore all kinds of additional output from `make'. | |
629 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
630 | *the\ am__doit\ target*) | |
631 | am__include=include | |
632 | am__quote= | |
633 | _am_result=GNU | |
634 | ;; | |
635 | esac | |
636 | # Now try BSD make style include. | |
637 | if test "$am__include" = "#"; then | |
638 | echo '.include "confinc"' > confmf | |
639 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
640 | *the\ am__doit\ target*) | |
641 | am__include=.include | |
642 | am__quote="\"" | |
643 | _am_result=BSD | |
644 | ;; | |
645 | esac | |
646 | fi | |
647 | AC_SUBST([am__include]) | |
648 | AC_SUBST([am__quote]) | |
649 | AC_MSG_RESULT([$_am_result]) | |
650 | rm -f confinc confmf | |
651 | ]) | |
652 | ||
653 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | |
654 | ||
655 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
656 | # Free Software Foundation, Inc. | |
657 | # | |
658 | # This file is free software; the Free Software Foundation | |
659 | # gives unlimited permission to copy and/or distribute it, | |
660 | # with or without modifications, as long as this notice is preserved. | |
661 | ||
662 | # serial 6 | |
663 | ||
664 | # AM_MISSING_PROG(NAME, PROGRAM) | |
665 | # ------------------------------ | |
666 | AC_DEFUN([AM_MISSING_PROG], | |
667 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | |
668 | $1=${$1-"${am_missing_run}$2"} | |
669 | AC_SUBST($1)]) | |
670 | ||
671 | ||
672 | # AM_MISSING_HAS_RUN | |
673 | # ------------------ | |
674 | # Define MISSING if not defined so far and test if it supports --run. | |
675 | # If it does, set am_missing_run to use it, otherwise, to nothing. | |
676 | AC_DEFUN([AM_MISSING_HAS_RUN], | |
677 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
678 | AC_REQUIRE_AUX_FILE([missing])dnl | |
679 | if test x"${MISSING+set}" != xset; then | |
680 | case $am_aux_dir in | |
681 | *\ * | *\ *) | |
682 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
683 | *) | |
684 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
685 | esac | |
686 | fi | |
687 | # Use eval to expand $SHELL | |
688 | if eval "$MISSING --run true"; then | |
689 | am_missing_run="$MISSING --run " | |
690 | else | |
691 | am_missing_run= | |
692 | AC_MSG_WARN([`missing' script is too old or missing]) | |
693 | fi | |
694 | ]) | |
695 | ||
696 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
697 | # | |
698 | # This file is free software; the Free Software Foundation | |
699 | # gives unlimited permission to copy and/or distribute it, | |
700 | # with or without modifications, as long as this notice is preserved. | |
701 | ||
702 | # AM_PROG_MKDIR_P | |
703 | # --------------- | |
704 | # Check for `mkdir -p'. | |
705 | AC_DEFUN([AM_PROG_MKDIR_P], | |
706 | [AC_PREREQ([2.60])dnl | |
707 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
708 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
709 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
710 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
711 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
712 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
713 | dnl adjustment using top_builddir (which is defined more often than | |
714 | dnl MKDIR_P). | |
715 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
716 | case $mkdir_p in | |
717 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
718 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
719 | esac | |
720 | ]) | |
721 | ||
722 | # Helper functions for option handling. -*- Autoconf -*- | |
723 | ||
724 | # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | |
725 | # | |
726 | # This file is free software; the Free Software Foundation | |
727 | # gives unlimited permission to copy and/or distribute it, | |
728 | # with or without modifications, as long as this notice is preserved. | |
729 | ||
730 | # serial 4 | |
731 | ||
732 | # _AM_MANGLE_OPTION(NAME) | |
733 | # ----------------------- | |
734 | AC_DEFUN([_AM_MANGLE_OPTION], | |
735 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | |
736 | ||
737 | # _AM_SET_OPTION(NAME) | |
738 | # ------------------------------ | |
739 | # Set option NAME. Presently that only means defining a flag for this option. | |
740 | AC_DEFUN([_AM_SET_OPTION], | |
741 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
742 | ||
743 | # _AM_SET_OPTIONS(OPTIONS) | |
744 | # ---------------------------------- | |
745 | # OPTIONS is a space-separated list of Automake options. | |
746 | AC_DEFUN([_AM_SET_OPTIONS], | |
747 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | |
748 | ||
749 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | |
750 | # ------------------------------------------- | |
751 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | |
752 | AC_DEFUN([_AM_IF_OPTION], | |
753 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | |
754 | ||
755 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | |
756 | ||
757 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
758 | # Free Software Foundation, Inc. | |
759 | # | |
760 | # This file is free software; the Free Software Foundation | |
761 | # gives unlimited permission to copy and/or distribute it, | |
762 | # with or without modifications, as long as this notice is preserved. | |
763 | ||
764 | # serial 5 | |
765 | ||
766 | # AM_SANITY_CHECK | |
767 | # --------------- | |
768 | AC_DEFUN([AM_SANITY_CHECK], | |
769 | [AC_MSG_CHECKING([whether build environment is sane]) | |
770 | # Just in case | |
771 | sleep 1 | |
772 | echo timestamp > conftest.file | |
773 | # Reject unsafe characters in $srcdir or the absolute working directory | |
774 | # name. Accept space and tab only in the latter. | |
775 | am_lf=' | |
776 | ' | |
777 | case `pwd` in | |
778 | *[[\\\"\#\$\&\'\`$am_lf]]*) | |
779 | AC_MSG_ERROR([unsafe absolute working directory name]);; | |
780 | esac | |
781 | case $srcdir in | |
782 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | |
783 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
784 | esac | |
785 | ||
786 | # Do `set' in a subshell so we don't clobber the current shell's | |
787 | # arguments. Must try -L first in case configure is actually a | |
788 | # symlink; some systems play weird games with the mod time of symlinks | |
789 | # (eg FreeBSD returns the mod time of the symlink's containing | |
790 | # directory). | |
791 | if ( | |
792 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
793 | if test "$[*]" = "X"; then | |
794 | # -L didn't work. | |
795 | set X `ls -t "$srcdir/configure" conftest.file` | |
796 | fi | |
797 | rm -f conftest.file | |
798 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
799 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
800 | ||
801 | # If neither matched, then we have a broken ls. This can happen | |
802 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
803 | # broken ls alias from the environment. This has actually | |
804 | # happened. Such a system could not be considered "sane". | |
805 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
806 | alias in your environment]) | |
807 | fi | |
808 | ||
809 | test "$[2]" = conftest.file | |
810 | ) | |
811 | then | |
812 | # Ok. | |
813 | : | |
814 | else | |
815 | AC_MSG_ERROR([newly created file is older than distributed files! | |
816 | Check your system clock]) | |
817 | fi | |
818 | AC_MSG_RESULT(yes)]) | |
819 | ||
820 | # Copyright (C) 2009 Free Software Foundation, Inc. | |
821 | # | |
822 | # This file is free software; the Free Software Foundation | |
823 | # gives unlimited permission to copy and/or distribute it, | |
824 | # with or without modifications, as long as this notice is preserved. | |
825 | ||
826 | # serial 1 | |
827 | ||
828 | # AM_SILENT_RULES([DEFAULT]) | |
829 | # -------------------------- | |
830 | # Enable less verbose build rules; with the default set to DEFAULT | |
831 | # (`yes' being less verbose, `no' or empty being verbose). | |
832 | AC_DEFUN([AM_SILENT_RULES], | |
833 | [AC_ARG_ENABLE([silent-rules], | |
834 | [ --enable-silent-rules less verbose build output (undo: `make V=1') | |
835 | --disable-silent-rules verbose build output (undo: `make V=0')]) | |
836 | case $enable_silent_rules in | |
837 | yes) AM_DEFAULT_VERBOSITY=0;; | |
838 | no) AM_DEFAULT_VERBOSITY=1;; | |
839 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
840 | esac | |
841 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | |
842 | AM_BACKSLASH='\' | |
843 | AC_SUBST([AM_BACKSLASH])dnl | |
844 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | |
845 | ]) | |
846 | ||
847 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
848 | # | |
849 | # This file is free software; the Free Software Foundation | |
850 | # gives unlimited permission to copy and/or distribute it, | |
851 | # with or without modifications, as long as this notice is preserved. | |
852 | ||
853 | # AM_PROG_INSTALL_STRIP | |
854 | # --------------------- | |
855 | # One issue with vendor `install' (even GNU) is that you can't | |
856 | # specify the program used to strip binaries. This is especially | |
857 | # annoying in cross-compiling environments, where the build's strip | |
858 | # is unlikely to handle the host's binaries. | |
859 | # Fortunately install-sh will honor a STRIPPROG variable, so we | |
860 | # always use install-sh in `make install-strip', and initialize | |
861 | # STRIPPROG with the value of the STRIP variable (set by the user). | |
862 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | |
863 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
864 | # Installed binaries are usually stripped using `strip' when the user | |
865 | # run `make install-strip'. However `strip' might not be the right | |
866 | # tool to use in cross-compilation environments, therefore Automake | |
867 | # will honor the `STRIP' environment variable to overrule this program. | |
868 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
869 | if test "$cross_compiling" != no; then | |
870 | AC_CHECK_TOOL([STRIP], [strip], :) | |
871 | fi | |
872 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
873 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | |
874 | ||
875 | # Copyright (C) 2006, 2008 Free Software Foundation, Inc. | |
876 | # | |
877 | # This file is free software; the Free Software Foundation | |
878 | # gives unlimited permission to copy and/or distribute it, | |
879 | # with or without modifications, as long as this notice is preserved. | |
880 | ||
881 | # serial 2 | |
882 | ||
883 | # _AM_SUBST_NOTMAKE(VARIABLE) | |
884 | # --------------------------- | |
885 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
886 | # This macro is traced by Automake. | |
887 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
888 | ||
889 | # AM_SUBST_NOTMAKE(VARIABLE) | |
890 | # --------------------------- | |
891 | # Public sister of _AM_SUBST_NOTMAKE. | |
892 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
893 | ||
894 | # Check how to create a tarball. -*- Autoconf -*- | |
895 | ||
896 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
897 | # | |
898 | # This file is free software; the Free Software Foundation | |
899 | # gives unlimited permission to copy and/or distribute it, | |
900 | # with or without modifications, as long as this notice is preserved. | |
901 | ||
902 | # serial 2 | |
903 | ||
904 | # _AM_PROG_TAR(FORMAT) | |
905 | # -------------------- | |
906 | # Check how to create a tarball in format FORMAT. | |
907 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
908 | # | |
909 | # Substitute a variable $(am__tar) that is a command | |
910 | # writing to stdout a FORMAT-tarball containing the directory | |
911 | # $tardir. | |
912 | # tardir=directory && $(am__tar) > result.tar | |
913 | # | |
914 | # Substitute a variable $(am__untar) that extract such | |
915 | # a tarball read from stdin. | |
916 | # $(am__untar) < result.tar | |
917 | AC_DEFUN([_AM_PROG_TAR], | |
918 | [# Always define AMTAR for backward compatibility. | |
919 | AM_MISSING_PROG([AMTAR], [tar]) | |
920 | m4_if([$1], [v7], | |
921 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
922 | [m4_case([$1], [ustar],, [pax],, | |
923 | [m4_fatal([Unknown tar format])]) | |
924 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
925 | # Loop over all known methods to create a tar archive until one works. | |
926 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
927 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
928 | # Do not fold the above two line into one, because Tru64 sh and | |
929 | # Solaris sh will not grok spaces in the rhs of `-'. | |
930 | for _am_tool in $_am_tools | |
931 | do | |
932 | case $_am_tool in | |
933 | gnutar) | |
934 | for _am_tar in tar gnutar gtar; | |
935 | do | |
936 | AM_RUN_LOG([$_am_tar --version]) && break | |
937 | done | |
938 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
939 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
940 | am__untar="$_am_tar -xf -" | |
941 | ;; | |
942 | plaintar) | |
943 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
944 | # ustar tarball either. | |
945 | (tar --version) >/dev/null 2>&1 && continue | |
946 | am__tar='tar chf - "$$tardir"' | |
947 | am__tar_='tar chf - "$tardir"' | |
948 | am__untar='tar xf -' | |
949 | ;; | |
950 | pax) | |
951 | am__tar='pax -L -x $1 -w "$$tardir"' | |
952 | am__tar_='pax -L -x $1 -w "$tardir"' | |
953 | am__untar='pax -r' | |
954 | ;; | |
955 | cpio) | |
956 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
957 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
958 | am__untar='cpio -i -H $1 -d' | |
959 | ;; | |
960 | none) | |
961 | am__tar=false | |
962 | am__tar_=false | |
963 | am__untar=false | |
964 | ;; | |
965 | esac | |
966 | ||
967 | # If the value was cached, stop now. We just wanted to have am__tar | |
968 | # and am__untar set. | |
969 | test -n "${am_cv_prog_tar_$1}" && break | |
970 | ||
971 | # tar/untar a dummy directory, and stop if the command works | |
972 | rm -rf conftest.dir | |
973 | mkdir conftest.dir | |
974 | echo GrepMe > conftest.dir/file | |
975 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
976 | rm -rf conftest.dir | |
977 | if test -s conftest.tar; then | |
978 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
979 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
980 | fi | |
981 | done | |
982 | rm -rf conftest.dir | |
983 | ||
984 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
985 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
986 | AC_SUBST([am__tar]) | |
987 | AC_SUBST([am__untar]) | |
988 | ]) # _AM_PROG_TAR | |
989 | 20 | |
990 | 21 | dnl -*- mode: autoconf -*- |
991 | 22 | |
9253 | 8284 | fi[]dnl |
9254 | 8285 | ])# PKG_CHECK_MODULES |
9255 | 8286 | |
8287 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
8288 | # | |
8289 | # This file is free software; the Free Software Foundation | |
8290 | # gives unlimited permission to copy and/or distribute it, | |
8291 | # with or without modifications, as long as this notice is preserved. | |
8292 | ||
8293 | # AM_AUTOMAKE_VERSION(VERSION) | |
8294 | # ---------------------------- | |
8295 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | |
8296 | # generated from the m4 files accompanying Automake X.Y. | |
8297 | # (This private macro should not be called outside this file.) | |
8298 | AC_DEFUN([AM_AUTOMAKE_VERSION], | |
8299 | [am__api_version='1.11' | |
8300 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | |
8301 | dnl require some minimum version. Point them to the right macro. | |
8302 | m4_if([$1], [1.11.1], [], | |
8303 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | |
8304 | ]) | |
8305 | ||
8306 | # _AM_AUTOCONF_VERSION(VERSION) | |
8307 | # ----------------------------- | |
8308 | # aclocal traces this macro to find the Autoconf version. | |
8309 | # This is a private macro too. Using m4_define simplifies | |
8310 | # the logic in aclocal, which can simply ignore this definition. | |
8311 | m4_define([_AM_AUTOCONF_VERSION], []) | |
8312 | ||
8313 | # AM_SET_CURRENT_AUTOMAKE_VERSION | |
8314 | # ------------------------------- | |
8315 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | |
8316 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | |
8317 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | |
8318 | [AM_AUTOMAKE_VERSION([1.11.1])dnl | |
8319 | m4_ifndef([AC_AUTOCONF_VERSION], | |
8320 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
8321 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | |
8322 | ||
8323 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | |
8324 | ||
8325 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
8326 | # | |
8327 | # This file is free software; the Free Software Foundation | |
8328 | # gives unlimited permission to copy and/or distribute it, | |
8329 | # with or without modifications, as long as this notice is preserved. | |
8330 | ||
8331 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | |
8332 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
8333 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
8334 | # | |
8335 | # Of course, Automake must honor this variable whenever it calls a | |
8336 | # tool from the auxiliary directory. The problem is that $srcdir (and | |
8337 | # therefore $ac_aux_dir as well) can be either absolute or relative, | |
8338 | # depending on how configure is run. This is pretty annoying, since | |
8339 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | |
8340 | # source directory, any form will work fine, but in subdirectories a | |
8341 | # relative path needs to be adjusted first. | |
8342 | # | |
8343 | # $ac_aux_dir/missing | |
8344 | # fails when called from a subdirectory if $ac_aux_dir is relative | |
8345 | # $top_srcdir/$ac_aux_dir/missing | |
8346 | # fails if $ac_aux_dir is absolute, | |
8347 | # fails when called from a subdirectory in a VPATH build with | |
8348 | # a relative $ac_aux_dir | |
8349 | # | |
8350 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | |
8351 | # are both prefixed by $srcdir. In an in-source build this is usually | |
8352 | # harmless because $srcdir is `.', but things will broke when you | |
8353 | # start a VPATH build or use an absolute $srcdir. | |
8354 | # | |
8355 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | |
8356 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | |
8357 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | |
8358 | # and then we would define $MISSING as | |
8359 | # MISSING="\${SHELL} $am_aux_dir/missing" | |
8360 | # This will work as long as MISSING is not called from configure, because | |
8361 | # unfortunately $(top_srcdir) has no meaning in configure. | |
8362 | # However there are other variables, like CC, which are often used in | |
8363 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | |
8364 | # | |
8365 | # Another solution, used here, is to always expand $ac_aux_dir to an | |
8366 | # absolute PATH. The drawback is that using absolute paths prevent a | |
8367 | # configured tree to be moved without reconfiguration. | |
8368 | ||
8369 | AC_DEFUN([AM_AUX_DIR_EXPAND], | |
8370 | [dnl Rely on autoconf to set up CDPATH properly. | |
8371 | AC_PREREQ([2.50])dnl | |
8372 | # expand $ac_aux_dir to an absolute path | |
8373 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
8374 | ]) | |
8375 | ||
8376 | # AM_CONDITIONAL -*- Autoconf -*- | |
8377 | ||
8378 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
8379 | # Free Software Foundation, Inc. | |
8380 | # | |
8381 | # This file is free software; the Free Software Foundation | |
8382 | # gives unlimited permission to copy and/or distribute it, | |
8383 | # with or without modifications, as long as this notice is preserved. | |
8384 | ||
8385 | # serial 9 | |
8386 | ||
8387 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | |
8388 | # ------------------------------------- | |
8389 | # Define a conditional. | |
8390 | AC_DEFUN([AM_CONDITIONAL], | |
8391 | [AC_PREREQ(2.52)dnl | |
8392 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
8393 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
8394 | AC_SUBST([$1_TRUE])dnl | |
8395 | AC_SUBST([$1_FALSE])dnl | |
8396 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
8397 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
8398 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
8399 | if $2; then | |
8400 | $1_TRUE= | |
8401 | $1_FALSE='#' | |
8402 | else | |
8403 | $1_TRUE='#' | |
8404 | $1_FALSE= | |
8405 | fi | |
8406 | AC_CONFIG_COMMANDS_PRE( | |
8407 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
8408 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
8409 | Usually this means the macro was only invoked conditionally.]]) | |
8410 | fi])]) | |
8411 | ||
8412 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 | |
8413 | # Free Software Foundation, Inc. | |
8414 | # | |
8415 | # This file is free software; the Free Software Foundation | |
8416 | # gives unlimited permission to copy and/or distribute it, | |
8417 | # with or without modifications, as long as this notice is preserved. | |
8418 | ||
8419 | # serial 10 | |
8420 | ||
8421 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
8422 | # written in clear, in which case automake, when reading aclocal.m4, | |
8423 | # will think it sees a *use*, and therefore will trigger all it's | |
8424 | # C support machinery. Also note that it means that autoscan, seeing | |
8425 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | |
8426 | ||
8427 | ||
8428 | # _AM_DEPENDENCIES(NAME) | |
8429 | # ---------------------- | |
8430 | # See how the compiler implements dependency checking. | |
8431 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
8432 | # We try a few techniques and use that to set a single cache variable. | |
8433 | # | |
8434 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | |
8435 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | |
8436 | # dependency, and given that the user is not expected to run this macro, | |
8437 | # just rely on AC_PROG_CC. | |
8438 | AC_DEFUN([_AM_DEPENDENCIES], | |
8439 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | |
8440 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | |
8441 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | |
8442 | AC_REQUIRE([AM_DEP_TRACK])dnl | |
8443 | ||
8444 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
8445 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
8446 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
8447 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
8448 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
8449 | [depcc="$$1" am_compiler_list=]) | |
8450 | ||
8451 | AC_CACHE_CHECK([dependency style of $depcc], | |
8452 | [am_cv_$1_dependencies_compiler_type], | |
8453 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
8454 | # We make a subdir and do the tests there. Otherwise we can end up | |
8455 | # making bogus files that we don't know about and never remove. For | |
8456 | # instance it was reported that on HP-UX the gcc test will end up | |
8457 | # making a dummy file named `D' -- because `-MD' means `put the output | |
8458 | # in D'. | |
8459 | mkdir conftest.dir | |
8460 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
8461 | # using a relative directory. | |
8462 | cp "$am_depcomp" conftest.dir | |
8463 | cd conftest.dir | |
8464 | # We will build objects and dependencies in a subdirectory because | |
8465 | # it helps to detect inapplicable dependency modes. For instance | |
8466 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
8467 | # side effect of compilation, but ICC will put the dependencies in | |
8468 | # the current directory while Tru64 will put them in the object | |
8469 | # directory. | |
8470 | mkdir sub | |
8471 | ||
8472 | am_cv_$1_dependencies_compiler_type=none | |
8473 | if test "$am_compiler_list" = ""; then | |
8474 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | |
8475 | fi | |
8476 | am__universal=false | |
8477 | m4_case([$1], [CC], | |
8478 | [case " $depcc " in #( | |
8479 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
8480 | esac], | |
8481 | [CXX], | |
8482 | [case " $depcc " in #( | |
8483 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
8484 | esac]) | |
8485 | ||
8486 | for depmode in $am_compiler_list; do | |
8487 | # Setup a source with many dependencies, because some compilers | |
8488 | # like to wrap large dependency lists on column 80 (with \), and | |
8489 | # we should not choose a depcomp mode which is confused by this. | |
8490 | # | |
8491 | # We need to recreate these files for each test, as the compiler may | |
8492 | # overwrite some of them when testing with obscure command lines. | |
8493 | # This happens at least with the AIX C compiler. | |
8494 | : > sub/conftest.c | |
8495 | for i in 1 2 3 4 5 6; do | |
8496 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
8497 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
8498 | # Solaris 8's {/usr,}/bin/sh. | |
8499 | touch sub/conftst$i.h | |
8500 | done | |
8501 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
8502 | ||
8503 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
8504 | # mode. It turns out that the SunPro C++ compiler does not properly | |
8505 | # handle `-M -o', and we need to detect this. Also, some Intel | |
8506 | # versions had trouble with output in subdirs | |
8507 | am__obj=sub/conftest.${OBJEXT-o} | |
8508 | am__minus_obj="-o $am__obj" | |
8509 | case $depmode in | |
8510 | gcc) | |
8511 | # This depmode causes a compiler race in universal mode. | |
8512 | test "$am__universal" = false || continue | |
8513 | ;; | |
8514 | nosideeffect) | |
8515 | # after this tag, mechanisms are not by side-effect, so they'll | |
8516 | # only be used when explicitly requested | |
8517 | if test "x$enable_dependency_tracking" = xyes; then | |
8518 | continue | |
8519 | else | |
8520 | break | |
8521 | fi | |
8522 | ;; | |
8523 | msvisualcpp | msvcmsys) | |
8524 | # This compiler won't grok `-c -o', but also, the minuso test has | |
8525 | # not run yet. These depmodes are late enough in the game, and | |
8526 | # so weak that their functioning should not be impacted. | |
8527 | am__obj=conftest.${OBJEXT-o} | |
8528 | am__minus_obj= | |
8529 | ;; | |
8530 | none) break ;; | |
8531 | esac | |
8532 | if depmode=$depmode \ | |
8533 | source=sub/conftest.c object=$am__obj \ | |
8534 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
8535 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
8536 | >/dev/null 2>conftest.err && | |
8537 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
8538 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
8539 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
8540 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
8541 | # icc doesn't choke on unknown options, it will just issue warnings | |
8542 | # or remarks (even with -Werror). So we grep stderr for any message | |
8543 | # that says an option was ignored or not supported. | |
8544 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
8545 | # icc: Command line warning: ignoring option '-M'; no argument required | |
8546 | # The diagnosis changed in icc 8.0: | |
8547 | # icc: Command line remark: option '-MP' not supported | |
8548 | if (grep 'ignoring option' conftest.err || | |
8549 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
8550 | am_cv_$1_dependencies_compiler_type=$depmode | |
8551 | break | |
8552 | fi | |
8553 | fi | |
8554 | done | |
8555 | ||
8556 | cd .. | |
8557 | rm -rf conftest.dir | |
8558 | else | |
8559 | am_cv_$1_dependencies_compiler_type=none | |
8560 | fi | |
8561 | ]) | |
8562 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | |
8563 | AM_CONDITIONAL([am__fastdep$1], [ | |
8564 | test "x$enable_dependency_tracking" != xno \ | |
8565 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | |
8566 | ]) | |
8567 | ||
8568 | ||
8569 | # AM_SET_DEPDIR | |
8570 | # ------------- | |
8571 | # Choose a directory name for dependency files. | |
8572 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
8573 | AC_DEFUN([AM_SET_DEPDIR], | |
8574 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
8575 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | |
8576 | ]) | |
8577 | ||
8578 | ||
8579 | # AM_DEP_TRACK | |
8580 | # ------------ | |
8581 | AC_DEFUN([AM_DEP_TRACK], | |
8582 | [AC_ARG_ENABLE(dependency-tracking, | |
8583 | [ --disable-dependency-tracking speeds up one-time build | |
8584 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
8585 | if test "x$enable_dependency_tracking" != xno; then | |
8586 | am_depcomp="$ac_aux_dir/depcomp" | |
8587 | AMDEPBACKSLASH='\' | |
8588 | fi | |
8589 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
8590 | AC_SUBST([AMDEPBACKSLASH])dnl | |
8591 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
8592 | ]) | |
8593 | ||
8594 | # Generate code to set up dependency tracking. -*- Autoconf -*- | |
8595 | ||
8596 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
8597 | # Free Software Foundation, Inc. | |
8598 | # | |
8599 | # This file is free software; the Free Software Foundation | |
8600 | # gives unlimited permission to copy and/or distribute it, | |
8601 | # with or without modifications, as long as this notice is preserved. | |
8602 | ||
8603 | #serial 5 | |
8604 | ||
8605 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | |
8606 | # ------------------------------ | |
8607 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | |
8608 | [{ | |
8609 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
8610 | # are listed without --file. Let's play safe and only enable the eval | |
8611 | # if we detect the quoting. | |
8612 | case $CONFIG_FILES in | |
8613 | *\'*) eval set x "$CONFIG_FILES" ;; | |
8614 | *) set x $CONFIG_FILES ;; | |
8615 | esac | |
8616 | shift | |
8617 | for mf | |
8618 | do | |
8619 | # Strip MF so we end up with the name of the file. | |
8620 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
8621 | # Check whether this is an Automake generated Makefile or not. | |
8622 | # We used to match only the files named `Makefile.in', but | |
8623 | # some people rename them; so instead we look at the file content. | |
8624 | # Grep'ing the first line is not enough: some people post-process | |
8625 | # each Makefile.in and add a new line on top of each file to say so. | |
8626 | # Grep'ing the whole file is not good either: AIX grep has a line | |
8627 | # limit of 2048, but all sed's we know have understand at least 4000. | |
8628 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
8629 | dirpart=`AS_DIRNAME("$mf")` | |
8630 | else | |
8631 | continue | |
8632 | fi | |
8633 | # Extract the definition of DEPDIR, am__include, and am__quote | |
8634 | # from the Makefile without running `make'. | |
8635 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
8636 | test -z "$DEPDIR" && continue | |
8637 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
8638 | test -z "am__include" && continue | |
8639 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
8640 | # When using ansi2knr, U may be empty or an underscore; expand it | |
8641 | U=`sed -n 's/^U = //p' < "$mf"` | |
8642 | # Find all dependency output files, they are included files with | |
8643 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
8644 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
8645 | # expansion. | |
8646 | for file in `sed -n " | |
8647 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
8648 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
8649 | # Make sure the directory exists. | |
8650 | test -f "$dirpart/$file" && continue | |
8651 | fdir=`AS_DIRNAME(["$file"])` | |
8652 | AS_MKDIR_P([$dirpart/$fdir]) | |
8653 | # echo "creating $dirpart/$file" | |
8654 | echo '# dummy' > "$dirpart/$file" | |
8655 | done | |
8656 | done | |
8657 | } | |
8658 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | |
8659 | ||
8660 | ||
8661 | # AM_OUTPUT_DEPENDENCY_COMMANDS | |
8662 | # ----------------------------- | |
8663 | # This macro should only be invoked once -- use via AC_REQUIRE. | |
8664 | # | |
8665 | # This code is only required when automatic dependency tracking | |
8666 | # is enabled. FIXME. This creates each `.P' file that we will | |
8667 | # need in order to bootstrap the dependency handling code. | |
8668 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | |
8669 | [AC_CONFIG_COMMANDS([depfiles], | |
8670 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | |
8671 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
8672 | ]) | |
8673 | ||
8674 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 | |
8675 | # Free Software Foundation, Inc. | |
8676 | # | |
8677 | # This file is free software; the Free Software Foundation | |
8678 | # gives unlimited permission to copy and/or distribute it, | |
8679 | # with or without modifications, as long as this notice is preserved. | |
8680 | ||
8681 | # serial 8 | |
8682 | ||
8683 | # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. | |
8684 | AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) | |
8685 | ||
8686 | # Do all the work for Automake. -*- Autoconf -*- | |
8687 | ||
8688 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
8689 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
8690 | # | |
8691 | # This file is free software; the Free Software Foundation | |
8692 | # gives unlimited permission to copy and/or distribute it, | |
8693 | # with or without modifications, as long as this notice is preserved. | |
8694 | ||
8695 | # serial 16 | |
8696 | ||
8697 | # This macro actually does too much. Some checks are only needed if | |
8698 | # your package does certain things. But this isn't really a big deal. | |
8699 | ||
8700 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | |
8701 | # AM_INIT_AUTOMAKE([OPTIONS]) | |
8702 | # ----------------------------------------------- | |
8703 | # The call with PACKAGE and VERSION arguments is the old style | |
8704 | # call (pre autoconf-2.50), which is being phased out. PACKAGE | |
8705 | # and VERSION should now be passed to AC_INIT and removed from | |
8706 | # the call to AM_INIT_AUTOMAKE. | |
8707 | # We support both call styles for the transition. After | |
8708 | # the next Automake release, Autoconf can make the AC_INIT | |
8709 | # arguments mandatory, and then we can depend on a new Autoconf | |
8710 | # release and drop the old call support. | |
8711 | AC_DEFUN([AM_INIT_AUTOMAKE], | |
8712 | [AC_PREREQ([2.62])dnl | |
8713 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | |
8714 | dnl the ones we care about. | |
8715 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | |
8716 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | |
8717 | AC_REQUIRE([AC_PROG_INSTALL])dnl | |
8718 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
8719 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
8720 | # is not polluted with repeated "-I." | |
8721 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | |
8722 | # test to see if srcdir already configured | |
8723 | if test -f $srcdir/config.status; then | |
8724 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | |
8725 | fi | |
8726 | fi | |
8727 | ||
8728 | # test whether we have cygpath | |
8729 | if test -z "$CYGPATH_W"; then | |
8730 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
8731 | CYGPATH_W='cygpath -w' | |
8732 | else | |
8733 | CYGPATH_W=echo | |
8734 | fi | |
8735 | fi | |
8736 | AC_SUBST([CYGPATH_W]) | |
8737 | ||
8738 | # Define the identity of the package. | |
8739 | dnl Distinguish between old-style and new-style calls. | |
8740 | m4_ifval([$2], | |
8741 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
8742 | AC_SUBST([PACKAGE], [$1])dnl | |
8743 | AC_SUBST([VERSION], [$2])], | |
8744 | [_AM_SET_OPTIONS([$1])dnl | |
8745 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | |
8746 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
8747 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | |
8748 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | |
8749 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | |
8750 | ||
8751 | _AM_IF_OPTION([no-define],, | |
8752 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
8753 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
8754 | ||
8755 | # Some tools Automake needs. | |
8756 | AC_REQUIRE([AM_SANITY_CHECK])dnl | |
8757 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | |
8758 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
8759 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
8760 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
8761 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
8762 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
8763 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
8764 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | |
8765 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
8766 | # We need awk for the "check" target. The system "awk" is bad on | |
8767 | # some platforms. | |
8768 | AC_REQUIRE([AC_PROG_AWK])dnl | |
8769 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | |
8770 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
8771 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | |
8772 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
8773 | [_AM_PROG_TAR([v7])])]) | |
8774 | _AM_IF_OPTION([no-dependencies],, | |
8775 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | |
8776 | [_AM_DEPENDENCIES(CC)], | |
8777 | [define([AC_PROG_CC], | |
8778 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
8779 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | |
8780 | [_AM_DEPENDENCIES(CXX)], | |
8781 | [define([AC_PROG_CXX], | |
8782 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
8783 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
8784 | [_AM_DEPENDENCIES(OBJC)], | |
8785 | [define([AC_PROG_OBJC], | |
8786 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
8787 | ]) | |
8788 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | |
8789 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
8790 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
8791 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
8792 | AC_CONFIG_COMMANDS_PRE(dnl | |
8793 | [m4_provide_if([_AM_COMPILER_EXEEXT], | |
8794 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | |
8795 | ]) | |
8796 | ||
8797 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
8798 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | |
8799 | dnl mangled by Autoconf and run in a shell conditional statement. | |
8800 | m4_define([_AC_COMPILER_EXEEXT], | |
8801 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | |
8802 | ||
8803 | ||
8804 | # When config.status generates a header, we must update the stamp-h file. | |
8805 | # This file resides in the same directory as the config header | |
8806 | # that is generated. The stamp files are numbered to have different names. | |
8807 | ||
8808 | # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | |
8809 | # loop where config.status creates the headers, so we can generate | |
8810 | # our stamp files there. | |
8811 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | |
8812 | [# Compute $1's index in $config_headers. | |
8813 | _am_arg=$1 | |
8814 | _am_stamp_count=1 | |
8815 | for _am_header in $config_headers :; do | |
8816 | case $_am_header in | |
8817 | $_am_arg | $_am_arg:* ) | |
8818 | break ;; | |
8819 | * ) | |
8820 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
8821 | esac | |
8822 | done | |
8823 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | |
8824 | ||
8825 | # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. | |
8826 | # | |
8827 | # This file is free software; the Free Software Foundation | |
8828 | # gives unlimited permission to copy and/or distribute it, | |
8829 | # with or without modifications, as long as this notice is preserved. | |
8830 | ||
8831 | # AM_PROG_INSTALL_SH | |
8832 | # ------------------ | |
8833 | # Define $install_sh. | |
8834 | AC_DEFUN([AM_PROG_INSTALL_SH], | |
8835 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
8836 | if test x"${install_sh}" != xset; then | |
8837 | case $am_aux_dir in | |
8838 | *\ * | *\ *) | |
8839 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
8840 | *) | |
8841 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
8842 | esac | |
8843 | fi | |
8844 | AC_SUBST(install_sh)]) | |
8845 | ||
8846 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
8847 | # | |
8848 | # This file is free software; the Free Software Foundation | |
8849 | # gives unlimited permission to copy and/or distribute it, | |
8850 | # with or without modifications, as long as this notice is preserved. | |
8851 | ||
8852 | # serial 2 | |
8853 | ||
8854 | # Check whether the underlying file-system supports filenames | |
8855 | # with a leading dot. For instance MS-DOS doesn't. | |
8856 | AC_DEFUN([AM_SET_LEADING_DOT], | |
8857 | [rm -rf .tst 2>/dev/null | |
8858 | mkdir .tst 2>/dev/null | |
8859 | if test -d .tst; then | |
8860 | am__leading_dot=. | |
8861 | else | |
8862 | am__leading_dot=_ | |
8863 | fi | |
8864 | rmdir .tst 2>/dev/null | |
8865 | AC_SUBST([am__leading_dot])]) | |
8866 | ||
8867 | # Check to see how 'make' treats includes. -*- Autoconf -*- | |
8868 | ||
8869 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
8870 | # | |
8871 | # This file is free software; the Free Software Foundation | |
8872 | # gives unlimited permission to copy and/or distribute it, | |
8873 | # with or without modifications, as long as this notice is preserved. | |
8874 | ||
8875 | # serial 4 | |
8876 | ||
8877 | # AM_MAKE_INCLUDE() | |
8878 | # ----------------- | |
8879 | # Check to see how make treats includes. | |
8880 | AC_DEFUN([AM_MAKE_INCLUDE], | |
8881 | [am_make=${MAKE-make} | |
8882 | cat > confinc << 'END' | |
8883 | am__doit: | |
8884 | @echo this is the am__doit target | |
8885 | .PHONY: am__doit | |
8886 | END | |
8887 | # If we don't find an include directive, just comment out the code. | |
8888 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
8889 | am__include="#" | |
8890 | am__quote= | |
8891 | _am_result=none | |
8892 | # First try GNU make style include. | |
8893 | echo "include confinc" > confmf | |
8894 | # Ignore all kinds of additional output from `make'. | |
8895 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
8896 | *the\ am__doit\ target*) | |
8897 | am__include=include | |
8898 | am__quote= | |
8899 | _am_result=GNU | |
8900 | ;; | |
8901 | esac | |
8902 | # Now try BSD make style include. | |
8903 | if test "$am__include" = "#"; then | |
8904 | echo '.include "confinc"' > confmf | |
8905 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
8906 | *the\ am__doit\ target*) | |
8907 | am__include=.include | |
8908 | am__quote="\"" | |
8909 | _am_result=BSD | |
8910 | ;; | |
8911 | esac | |
8912 | fi | |
8913 | AC_SUBST([am__include]) | |
8914 | AC_SUBST([am__quote]) | |
8915 | AC_MSG_RESULT([$_am_result]) | |
8916 | rm -f confinc confmf | |
8917 | ]) | |
8918 | ||
8919 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | |
8920 | ||
8921 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
8922 | # Free Software Foundation, Inc. | |
8923 | # | |
8924 | # This file is free software; the Free Software Foundation | |
8925 | # gives unlimited permission to copy and/or distribute it, | |
8926 | # with or without modifications, as long as this notice is preserved. | |
8927 | ||
8928 | # serial 6 | |
8929 | ||
8930 | # AM_MISSING_PROG(NAME, PROGRAM) | |
8931 | # ------------------------------ | |
8932 | AC_DEFUN([AM_MISSING_PROG], | |
8933 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | |
8934 | $1=${$1-"${am_missing_run}$2"} | |
8935 | AC_SUBST($1)]) | |
8936 | ||
8937 | ||
8938 | # AM_MISSING_HAS_RUN | |
8939 | # ------------------ | |
8940 | # Define MISSING if not defined so far and test if it supports --run. | |
8941 | # If it does, set am_missing_run to use it, otherwise, to nothing. | |
8942 | AC_DEFUN([AM_MISSING_HAS_RUN], | |
8943 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
8944 | AC_REQUIRE_AUX_FILE([missing])dnl | |
8945 | if test x"${MISSING+set}" != xset; then | |
8946 | case $am_aux_dir in | |
8947 | *\ * | *\ *) | |
8948 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
8949 | *) | |
8950 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
8951 | esac | |
8952 | fi | |
8953 | # Use eval to expand $SHELL | |
8954 | if eval "$MISSING --run true"; then | |
8955 | am_missing_run="$MISSING --run " | |
8956 | else | |
8957 | am_missing_run= | |
8958 | AC_MSG_WARN([`missing' script is too old or missing]) | |
8959 | fi | |
8960 | ]) | |
8961 | ||
8962 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
8963 | # | |
8964 | # This file is free software; the Free Software Foundation | |
8965 | # gives unlimited permission to copy and/or distribute it, | |
8966 | # with or without modifications, as long as this notice is preserved. | |
8967 | ||
8968 | # AM_PROG_MKDIR_P | |
8969 | # --------------- | |
8970 | # Check for `mkdir -p'. | |
8971 | AC_DEFUN([AM_PROG_MKDIR_P], | |
8972 | [AC_PREREQ([2.60])dnl | |
8973 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
8974 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
8975 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
8976 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
8977 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
8978 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
8979 | dnl adjustment using top_builddir (which is defined more often than | |
8980 | dnl MKDIR_P). | |
8981 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
8982 | case $mkdir_p in | |
8983 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
8984 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
8985 | esac | |
8986 | ]) | |
8987 | ||
8988 | # Helper functions for option handling. -*- Autoconf -*- | |
8989 | ||
8990 | # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | |
8991 | # | |
8992 | # This file is free software; the Free Software Foundation | |
8993 | # gives unlimited permission to copy and/or distribute it, | |
8994 | # with or without modifications, as long as this notice is preserved. | |
8995 | ||
8996 | # serial 4 | |
8997 | ||
8998 | # _AM_MANGLE_OPTION(NAME) | |
8999 | # ----------------------- | |
9000 | AC_DEFUN([_AM_MANGLE_OPTION], | |
9001 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | |
9002 | ||
9003 | # _AM_SET_OPTION(NAME) | |
9004 | # ------------------------------ | |
9005 | # Set option NAME. Presently that only means defining a flag for this option. | |
9006 | AC_DEFUN([_AM_SET_OPTION], | |
9007 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
9008 | ||
9009 | # _AM_SET_OPTIONS(OPTIONS) | |
9010 | # ---------------------------------- | |
9011 | # OPTIONS is a space-separated list of Automake options. | |
9012 | AC_DEFUN([_AM_SET_OPTIONS], | |
9013 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | |
9014 | ||
9015 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | |
9016 | # ------------------------------------------- | |
9017 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | |
9018 | AC_DEFUN([_AM_IF_OPTION], | |
9019 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | |
9020 | ||
9021 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | |
9022 | ||
9023 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
9024 | # Free Software Foundation, Inc. | |
9025 | # | |
9026 | # This file is free software; the Free Software Foundation | |
9027 | # gives unlimited permission to copy and/or distribute it, | |
9028 | # with or without modifications, as long as this notice is preserved. | |
9029 | ||
9030 | # serial 5 | |
9031 | ||
9032 | # AM_SANITY_CHECK | |
9033 | # --------------- | |
9034 | AC_DEFUN([AM_SANITY_CHECK], | |
9035 | [AC_MSG_CHECKING([whether build environment is sane]) | |
9036 | # Just in case | |
9037 | sleep 1 | |
9038 | echo timestamp > conftest.file | |
9039 | # Reject unsafe characters in $srcdir or the absolute working directory | |
9040 | # name. Accept space and tab only in the latter. | |
9041 | am_lf=' | |
9042 | ' | |
9043 | case `pwd` in | |
9044 | *[[\\\"\#\$\&\'\`$am_lf]]*) | |
9045 | AC_MSG_ERROR([unsafe absolute working directory name]);; | |
9046 | esac | |
9047 | case $srcdir in | |
9048 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | |
9049 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
9050 | esac | |
9051 | ||
9052 | # Do `set' in a subshell so we don't clobber the current shell's | |
9053 | # arguments. Must try -L first in case configure is actually a | |
9054 | # symlink; some systems play weird games with the mod time of symlinks | |
9055 | # (eg FreeBSD returns the mod time of the symlink's containing | |
9056 | # directory). | |
9057 | if ( | |
9058 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
9059 | if test "$[*]" = "X"; then | |
9060 | # -L didn't work. | |
9061 | set X `ls -t "$srcdir/configure" conftest.file` | |
9062 | fi | |
9063 | rm -f conftest.file | |
9064 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
9065 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
9066 | ||
9067 | # If neither matched, then we have a broken ls. This can happen | |
9068 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
9069 | # broken ls alias from the environment. This has actually | |
9070 | # happened. Such a system could not be considered "sane". | |
9071 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
9072 | alias in your environment]) | |
9073 | fi | |
9074 | ||
9075 | test "$[2]" = conftest.file | |
9076 | ) | |
9077 | then | |
9078 | # Ok. | |
9079 | : | |
9080 | else | |
9081 | AC_MSG_ERROR([newly created file is older than distributed files! | |
9082 | Check your system clock]) | |
9083 | fi | |
9084 | AC_MSG_RESULT(yes)]) | |
9085 | ||
9086 | # Copyright (C) 2009 Free Software Foundation, Inc. | |
9087 | # | |
9088 | # This file is free software; the Free Software Foundation | |
9089 | # gives unlimited permission to copy and/or distribute it, | |
9090 | # with or without modifications, as long as this notice is preserved. | |
9091 | ||
9092 | # serial 1 | |
9093 | ||
9094 | # AM_SILENT_RULES([DEFAULT]) | |
9095 | # -------------------------- | |
9096 | # Enable less verbose build rules; with the default set to DEFAULT | |
9097 | # (`yes' being less verbose, `no' or empty being verbose). | |
9098 | AC_DEFUN([AM_SILENT_RULES], | |
9099 | [AC_ARG_ENABLE([silent-rules], | |
9100 | [ --enable-silent-rules less verbose build output (undo: `make V=1') | |
9101 | --disable-silent-rules verbose build output (undo: `make V=0')]) | |
9102 | case $enable_silent_rules in | |
9103 | yes) AM_DEFAULT_VERBOSITY=0;; | |
9104 | no) AM_DEFAULT_VERBOSITY=1;; | |
9105 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
9106 | esac | |
9107 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | |
9108 | AM_BACKSLASH='\' | |
9109 | AC_SUBST([AM_BACKSLASH])dnl | |
9110 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | |
9111 | ]) | |
9112 | ||
9113 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
9114 | # | |
9115 | # This file is free software; the Free Software Foundation | |
9116 | # gives unlimited permission to copy and/or distribute it, | |
9117 | # with or without modifications, as long as this notice is preserved. | |
9118 | ||
9119 | # AM_PROG_INSTALL_STRIP | |
9120 | # --------------------- | |
9121 | # One issue with vendor `install' (even GNU) is that you can't | |
9122 | # specify the program used to strip binaries. This is especially | |
9123 | # annoying in cross-compiling environments, where the build's strip | |
9124 | # is unlikely to handle the host's binaries. | |
9125 | # Fortunately install-sh will honor a STRIPPROG variable, so we | |
9126 | # always use install-sh in `make install-strip', and initialize | |
9127 | # STRIPPROG with the value of the STRIP variable (set by the user). | |
9128 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | |
9129 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
9130 | # Installed binaries are usually stripped using `strip' when the user | |
9131 | # run `make install-strip'. However `strip' might not be the right | |
9132 | # tool to use in cross-compilation environments, therefore Automake | |
9133 | # will honor the `STRIP' environment variable to overrule this program. | |
9134 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
9135 | if test "$cross_compiling" != no; then | |
9136 | AC_CHECK_TOOL([STRIP], [strip], :) | |
9137 | fi | |
9138 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
9139 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | |
9140 | ||
9141 | # Copyright (C) 2006, 2008 Free Software Foundation, Inc. | |
9142 | # | |
9143 | # This file is free software; the Free Software Foundation | |
9144 | # gives unlimited permission to copy and/or distribute it, | |
9145 | # with or without modifications, as long as this notice is preserved. | |
9146 | ||
9147 | # serial 2 | |
9148 | ||
9149 | # _AM_SUBST_NOTMAKE(VARIABLE) | |
9150 | # --------------------------- | |
9151 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
9152 | # This macro is traced by Automake. | |
9153 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
9154 | ||
9155 | # AM_SUBST_NOTMAKE(VARIABLE) | |
9156 | # --------------------------- | |
9157 | # Public sister of _AM_SUBST_NOTMAKE. | |
9158 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
9159 | ||
9160 | # Check how to create a tarball. -*- Autoconf -*- | |
9161 | ||
9162 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
9163 | # | |
9164 | # This file is free software; the Free Software Foundation | |
9165 | # gives unlimited permission to copy and/or distribute it, | |
9166 | # with or without modifications, as long as this notice is preserved. | |
9167 | ||
9168 | # serial 2 | |
9169 | ||
9170 | # _AM_PROG_TAR(FORMAT) | |
9171 | # -------------------- | |
9172 | # Check how to create a tarball in format FORMAT. | |
9173 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
9174 | # | |
9175 | # Substitute a variable $(am__tar) that is a command | |
9176 | # writing to stdout a FORMAT-tarball containing the directory | |
9177 | # $tardir. | |
9178 | # tardir=directory && $(am__tar) > result.tar | |
9179 | # | |
9180 | # Substitute a variable $(am__untar) that extract such | |
9181 | # a tarball read from stdin. | |
9182 | # $(am__untar) < result.tar | |
9183 | AC_DEFUN([_AM_PROG_TAR], | |
9184 | [# Always define AMTAR for backward compatibility. | |
9185 | AM_MISSING_PROG([AMTAR], [tar]) | |
9186 | m4_if([$1], [v7], | |
9187 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
9188 | [m4_case([$1], [ustar],, [pax],, | |
9189 | [m4_fatal([Unknown tar format])]) | |
9190 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
9191 | # Loop over all known methods to create a tar archive until one works. | |
9192 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
9193 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
9194 | # Do not fold the above two line into one, because Tru64 sh and | |
9195 | # Solaris sh will not grok spaces in the rhs of `-'. | |
9196 | for _am_tool in $_am_tools | |
9197 | do | |
9198 | case $_am_tool in | |
9199 | gnutar) | |
9200 | for _am_tar in tar gnutar gtar; | |
9201 | do | |
9202 | AM_RUN_LOG([$_am_tar --version]) && break | |
9203 | done | |
9204 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
9205 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
9206 | am__untar="$_am_tar -xf -" | |
9207 | ;; | |
9208 | plaintar) | |
9209 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
9210 | # ustar tarball either. | |
9211 | (tar --version) >/dev/null 2>&1 && continue | |
9212 | am__tar='tar chf - "$$tardir"' | |
9213 | am__tar_='tar chf - "$tardir"' | |
9214 | am__untar='tar xf -' | |
9215 | ;; | |
9216 | pax) | |
9217 | am__tar='pax -L -x $1 -w "$$tardir"' | |
9218 | am__tar_='pax -L -x $1 -w "$tardir"' | |
9219 | am__untar='pax -r' | |
9220 | ;; | |
9221 | cpio) | |
9222 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
9223 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
9224 | am__untar='cpio -i -H $1 -d' | |
9225 | ;; | |
9226 | none) | |
9227 | am__tar=false | |
9228 | am__tar_=false | |
9229 | am__untar=false | |
9230 | ;; | |
9231 | esac | |
9232 | ||
9233 | # If the value was cached, stop now. We just wanted to have am__tar | |
9234 | # and am__untar set. | |
9235 | test -n "${am_cv_prog_tar_$1}" && break | |
9236 | ||
9237 | # tar/untar a dummy directory, and stop if the command works | |
9238 | rm -rf conftest.dir | |
9239 | mkdir conftest.dir | |
9240 | echo GrepMe > conftest.dir/file | |
9241 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
9242 | rm -rf conftest.dir | |
9243 | if test -s conftest.tar; then | |
9244 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
9245 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
9246 | fi | |
9247 | done | |
9248 | rm -rf conftest.dir | |
9249 | ||
9250 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
9251 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
9252 | AC_SUBST([am__tar]) | |
9253 | AC_SUBST([am__untar]) | |
9254 | ]) # _AM_PROG_TAR | |
9255 |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.65 for gupnp-dlna 0.3.1. | |
2 | # Generated by GNU Autoconf 2.67 for gupnp-dlna 0.4.0. | |
3 | 3 | # |
4 | 4 | # Report bugs to <http://www.gupnp.org/>. |
5 | 5 | # |
6 | 6 | # |
7 | 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
9 | # Inc. | |
8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
9 | # Foundation, Inc. | |
10 | 10 | # |
11 | 11 | # |
12 | 12 | # This configure script is free software; the Free Software Foundation |
326 | 326 | test -d "$as_dir" && break |
327 | 327 | done |
328 | 328 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
329 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
329 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
330 | 330 | |
331 | 331 | |
332 | 332 | } # as_fn_mkdir_p |
366 | 366 | fi # as_fn_arith |
367 | 367 | |
368 | 368 | |
369 | # as_fn_error ERROR [LINENO LOG_FD] | |
370 | # --------------------------------- | |
369 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
370 | # ---------------------------------------- | |
371 | 371 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
372 | 372 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
373 | # script with status $?, using 1 if that was 0. | |
373 | # script with STATUS, using 1 if that was 0. | |
374 | 374 | as_fn_error () |
375 | 375 | { |
376 | as_status=$?; test $as_status -eq 0 && as_status=1 | |
377 | if test "$3"; then | |
378 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
379 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
380 | fi | |
381 | $as_echo "$as_me: error: $1" >&2 | |
376 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
377 | if test "$4"; then | |
378 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
379 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
380 | fi | |
381 | $as_echo "$as_me: error: $2" >&2 | |
382 | 382 | as_fn_exit $as_status |
383 | 383 | } # as_fn_error |
384 | 384 | |
542 | 542 | exec 6>&1 |
543 | 543 | |
544 | 544 | # Name of the host. |
545 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
545 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
546 | 546 | # so uname gets run too. |
547 | 547 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
548 | 548 | |
561 | 561 | # Identity of this package. |
562 | 562 | PACKAGE_NAME='gupnp-dlna' |
563 | 563 | PACKAGE_TARNAME='gupnp-dlna' |
564 | PACKAGE_VERSION='0.3.1' | |
565 | PACKAGE_STRING='gupnp-dlna 0.3.1' | |
564 | PACKAGE_VERSION='0.4.0' | |
565 | PACKAGE_STRING='gupnp-dlna 0.4.0' | |
566 | 566 | PACKAGE_BUGREPORT='http://www.gupnp.org/' |
567 | 567 | PACKAGE_URL='' |
568 | 568 | |
683 | 683 | CC |
684 | 684 | AM_BACKSLASH |
685 | 685 | AM_DEFAULT_VERBOSITY |
686 | GUPNP_DLNA_VERSION_INFO | |
686 | 687 | am__untar |
687 | 688 | am__tar |
688 | 689 | AMTAR |
845 | 846 | fi |
846 | 847 | |
847 | 848 | case $ac_option in |
848 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
849 | *) ac_optarg=yes ;; | |
849 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
850 | *=) ac_optarg= ;; | |
851 | *) ac_optarg=yes ;; | |
850 | 852 | esac |
851 | 853 | |
852 | 854 | # Accept the important Cygnus configure options, so we can diagnose typos. |
891 | 893 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
892 | 894 | # Reject names that are not valid shell variable names. |
893 | 895 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
894 | as_fn_error "invalid feature name: $ac_useropt" | |
896 | as_fn_error $? "invalid feature name: $ac_useropt" | |
895 | 897 | ac_useropt_orig=$ac_useropt |
896 | 898 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
897 | 899 | case $ac_user_opts in |
917 | 919 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
918 | 920 | # Reject names that are not valid shell variable names. |
919 | 921 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
920 | as_fn_error "invalid feature name: $ac_useropt" | |
922 | as_fn_error $? "invalid feature name: $ac_useropt" | |
921 | 923 | ac_useropt_orig=$ac_useropt |
922 | 924 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
923 | 925 | case $ac_user_opts in |
1121 | 1123 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1122 | 1124 | # Reject names that are not valid shell variable names. |
1123 | 1125 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1124 | as_fn_error "invalid package name: $ac_useropt" | |
1126 | as_fn_error $? "invalid package name: $ac_useropt" | |
1125 | 1127 | ac_useropt_orig=$ac_useropt |
1126 | 1128 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1127 | 1129 | case $ac_user_opts in |
1137 | 1139 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1138 | 1140 | # Reject names that are not valid shell variable names. |
1139 | 1141 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1140 | as_fn_error "invalid package name: $ac_useropt" | |
1142 | as_fn_error $? "invalid package name: $ac_useropt" | |
1141 | 1143 | ac_useropt_orig=$ac_useropt |
1142 | 1144 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1143 | 1145 | case $ac_user_opts in |
1167 | 1169 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1168 | 1170 | x_libraries=$ac_optarg ;; |
1169 | 1171 | |
1170 | -*) as_fn_error "unrecognized option: \`$ac_option' | |
1171 | Try \`$0 --help' for more information." | |
1172 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1173 | Try \`$0 --help' for more information" | |
1172 | 1174 | ;; |
1173 | 1175 | |
1174 | 1176 | *=*) |
1176 | 1178 | # Reject names that are not valid shell variable names. |
1177 | 1179 | case $ac_envvar in #( |
1178 | 1180 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1179 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | |
1181 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1180 | 1182 | esac |
1181 | 1183 | eval $ac_envvar=\$ac_optarg |
1182 | 1184 | export $ac_envvar ;; |
1194 | 1196 | |
1195 | 1197 | if test -n "$ac_prev"; then |
1196 | 1198 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1197 | as_fn_error "missing argument to $ac_option" | |
1199 | as_fn_error $? "missing argument to $ac_option" | |
1198 | 1200 | fi |
1199 | 1201 | |
1200 | 1202 | if test -n "$ac_unrecognized_opts"; then |
1201 | 1203 | case $enable_option_checking in |
1202 | 1204 | no) ;; |
1203 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1205 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1204 | 1206 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1205 | 1207 | esac |
1206 | 1208 | fi |
1223 | 1225 | [\\/$]* | ?:[\\/]* ) continue;; |
1224 | 1226 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1225 | 1227 | esac |
1226 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | |
1228 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1227 | 1229 | done |
1228 | 1230 | |
1229 | 1231 | # There might be people who depend on the old broken behavior: `$host' |
1237 | 1239 | if test "x$host_alias" != x; then |
1238 | 1240 | if test "x$build_alias" = x; then |
1239 | 1241 | cross_compiling=maybe |
1240 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1241 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
1242 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | |
1243 | If a cross compiler is detected then cross compile mode will be used" >&2 | |
1242 | 1244 | elif test "x$build_alias" != "x$host_alias"; then |
1243 | 1245 | cross_compiling=yes |
1244 | 1246 | fi |
1253 | 1255 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1254 | 1256 | ac_ls_di=`ls -di .` && |
1255 | 1257 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1256 | as_fn_error "working directory cannot be determined" | |
1258 | as_fn_error $? "working directory cannot be determined" | |
1257 | 1259 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1258 | as_fn_error "pwd does not report name of working directory" | |
1260 | as_fn_error $? "pwd does not report name of working directory" | |
1259 | 1261 | |
1260 | 1262 | |
1261 | 1263 | # Find the source files, if location was not specified. |
1294 | 1296 | fi |
1295 | 1297 | if test ! -r "$srcdir/$ac_unique_file"; then |
1296 | 1298 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1297 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | |
1299 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1298 | 1300 | fi |
1299 | 1301 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1300 | 1302 | ac_abs_confdir=`( |
1301 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | |
1303 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1302 | 1304 | pwd)` |
1303 | 1305 | # When building in place, set srcdir=. |
1304 | 1306 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1324 | 1326 | # Omit some internal or obsolete options to make the list less imposing. |
1325 | 1327 | # This message is too long to be a string in the A/UX 3.1 sh. |
1326 | 1328 | cat <<_ACEOF |
1327 | \`configure' configures gupnp-dlna 0.3.1 to adapt to many kinds of systems. | |
1329 | \`configure' configures gupnp-dlna 0.4.0 to adapt to many kinds of systems. | |
1328 | 1330 | |
1329 | 1331 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1330 | 1332 | |
1338 | 1340 | --help=short display options specific to this package |
1339 | 1341 | --help=recursive display the short help of all the included packages |
1340 | 1342 | -V, --version display version information and exit |
1341 | -q, --quiet, --silent do not print \`checking...' messages | |
1343 | -q, --quiet, --silent do not print \`checking ...' messages | |
1342 | 1344 | --cache-file=FILE cache test results in FILE [disabled] |
1343 | 1345 | -C, --config-cache alias for \`--cache-file=config.cache' |
1344 | 1346 | -n, --no-create do not create output files |
1394 | 1396 | |
1395 | 1397 | if test -n "$ac_init_help"; then |
1396 | 1398 | case $ac_init_help in |
1397 | short | recursive ) echo "Configuration of gupnp-dlna 0.3.1:";; | |
1399 | short | recursive ) echo "Configuration of gupnp-dlna 0.4.0:";; | |
1398 | 1400 | esac |
1399 | 1401 | cat <<\_ACEOF |
1400 | 1402 | |
1522 | 1524 | test -n "$ac_init_help" && exit $ac_status |
1523 | 1525 | if $ac_init_version; then |
1524 | 1526 | cat <<\_ACEOF |
1525 | gupnp-dlna configure 0.3.1 | |
1526 | generated by GNU Autoconf 2.65 | |
1527 | ||
1528 | Copyright (C) 2009 Free Software Foundation, Inc. | |
1527 | gupnp-dlna configure 0.4.0 | |
1528 | generated by GNU Autoconf 2.67 | |
1529 | ||
1530 | Copyright (C) 2010 Free Software Foundation, Inc. | |
1529 | 1531 | This configure script is free software; the Free Software Foundation |
1530 | 1532 | gives unlimited permission to copy, distribute and modify it. |
1531 | 1533 | _ACEOF |
1641 | 1643 | mv -f conftest.er1 conftest.err |
1642 | 1644 | fi |
1643 | 1645 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1644 | test $ac_status = 0; } >/dev/null && { | |
1646 | test $ac_status = 0; } > conftest.i && { | |
1645 | 1647 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1646 | 1648 | test ! -s conftest.err |
1647 | 1649 | }; then : |
1708 | 1710 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1709 | 1711 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1710 | 1712 | $as_echo_n "checking for $2... " >&6; } |
1711 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1713 | if eval "test \"\${$3+set}\"" = set; then : | |
1712 | 1714 | $as_echo_n "(cached) " >&6 |
1713 | 1715 | else |
1714 | 1716 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1738 | 1740 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1739 | 1741 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1740 | 1742 | $as_echo_n "checking for $2... " >&6; } |
1741 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1743 | if eval "test \"\${$3+set}\"" = set; then : | |
1742 | 1744 | $as_echo_n "(cached) " >&6 |
1743 | 1745 | else |
1744 | 1746 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1800 | 1802 | This file contains any messages produced by compilers while |
1801 | 1803 | running configure, to aid debugging if configure makes a mistake. |
1802 | 1804 | |
1803 | It was created by gupnp-dlna $as_me 0.3.1, which was | |
1804 | generated by GNU Autoconf 2.65. Invocation command line was | |
1805 | It was created by gupnp-dlna $as_me 0.4.0, which was | |
1806 | generated by GNU Autoconf 2.67. Invocation command line was | |
1805 | 1807 | |
1806 | 1808 | $ $0 $@ |
1807 | 1809 | |
1911 | 1913 | { |
1912 | 1914 | echo |
1913 | 1915 | |
1914 | cat <<\_ASBOX | |
1915 | ## ---------------- ## | |
1916 | $as_echo "## ---------------- ## | |
1916 | 1917 | ## Cache variables. ## |
1917 | ## ---------------- ## | |
1918 | _ASBOX | |
1918 | ## ---------------- ##" | |
1919 | 1919 | echo |
1920 | 1920 | # The following way of writing the cache mishandles newlines in values, |
1921 | 1921 | ( |
1949 | 1949 | ) |
1950 | 1950 | echo |
1951 | 1951 | |
1952 | cat <<\_ASBOX | |
1953 | ## ----------------- ## | |
1952 | $as_echo "## ----------------- ## | |
1954 | 1953 | ## Output variables. ## |
1955 | ## ----------------- ## | |
1956 | _ASBOX | |
1954 | ## ----------------- ##" | |
1957 | 1955 | echo |
1958 | 1956 | for ac_var in $ac_subst_vars |
1959 | 1957 | do |
1966 | 1964 | echo |
1967 | 1965 | |
1968 | 1966 | if test -n "$ac_subst_files"; then |
1969 | cat <<\_ASBOX | |
1970 | ## ------------------- ## | |
1967 | $as_echo "## ------------------- ## | |
1971 | 1968 | ## File substitutions. ## |
1972 | ## ------------------- ## | |
1973 | _ASBOX | |
1969 | ## ------------------- ##" | |
1974 | 1970 | echo |
1975 | 1971 | for ac_var in $ac_subst_files |
1976 | 1972 | do |
1984 | 1980 | fi |
1985 | 1981 | |
1986 | 1982 | if test -s confdefs.h; then |
1987 | cat <<\_ASBOX | |
1988 | ## ----------- ## | |
1983 | $as_echo "## ----------- ## | |
1989 | 1984 | ## confdefs.h. ## |
1990 | ## ----------- ## | |
1991 | _ASBOX | |
1985 | ## ----------- ##" | |
1992 | 1986 | echo |
1993 | 1987 | cat confdefs.h |
1994 | 1988 | echo |
2043 | 2037 | ac_site_file1=NONE |
2044 | 2038 | ac_site_file2=NONE |
2045 | 2039 | if test -n "$CONFIG_SITE"; then |
2046 | ac_site_file1=$CONFIG_SITE | |
2040 | # We do not want a PATH search for config.site. | |
2041 | case $CONFIG_SITE in #(( | |
2042 | -*) ac_site_file1=./$CONFIG_SITE;; | |
2043 | */*) ac_site_file1=$CONFIG_SITE;; | |
2044 | *) ac_site_file1=./$CONFIG_SITE;; | |
2045 | esac | |
2047 | 2046 | elif test "x$prefix" != xNONE; then |
2048 | 2047 | ac_site_file1=$prefix/share/config.site |
2049 | 2048 | ac_site_file2=$prefix/etc/config.site |
2058 | 2057 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2059 | 2058 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2060 | 2059 | sed 's/^/| /' "$ac_site_file" >&5 |
2061 | . "$ac_site_file" | |
2060 | . "$ac_site_file" \ | |
2061 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2062 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2063 | as_fn_error $? "failed to load site script $ac_site_file | |
2064 | See \`config.log' for more details" "$LINENO" 5; } | |
2062 | 2065 | fi |
2063 | 2066 | done |
2064 | 2067 | |
2134 | 2137 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2135 | 2138 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2136 | 2139 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2137 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
2140 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
2138 | 2141 | fi |
2139 | 2142 | ## -------------------- ## |
2140 | 2143 | ## Main body of script. ## |
2151 | 2154 | |
2152 | 2155 | ac_aux_dir= |
2153 | 2156 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2154 | for ac_t in install-sh install.sh shtool; do | |
2155 | if test -f "$ac_dir/$ac_t"; then | |
2156 | ac_aux_dir=$ac_dir | |
2157 | ac_install_sh="$ac_aux_dir/$ac_t -c" | |
2158 | break 2 | |
2159 | fi | |
2160 | done | |
2157 | if test -f "$ac_dir/install-sh"; then | |
2158 | ac_aux_dir=$ac_dir | |
2159 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
2160 | break | |
2161 | elif test -f "$ac_dir/install.sh"; then | |
2162 | ac_aux_dir=$ac_dir | |
2163 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
2164 | break | |
2165 | elif test -f "$ac_dir/shtool"; then | |
2166 | ac_aux_dir=$ac_dir | |
2167 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
2168 | break | |
2169 | fi | |
2161 | 2170 | done |
2162 | 2171 | if test -z "$ac_aux_dir"; then |
2163 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
2172 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
2164 | 2173 | fi |
2165 | 2174 | |
2166 | 2175 | # These three variables are undocumented and unsupported, |
2276 | 2285 | ' |
2277 | 2286 | case `pwd` in |
2278 | 2287 | *[\\\"\#\$\&\'\`$am_lf]*) |
2279 | as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | |
2288 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
2280 | 2289 | esac |
2281 | 2290 | case $srcdir in |
2282 | 2291 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2283 | as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2292 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2284 | 2293 | esac |
2285 | 2294 | |
2286 | 2295 | # Do `set' in a subshell so we don't clobber the current shell's |
2302 | 2311 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
2303 | 2312 | # broken ls alias from the environment. This has actually |
2304 | 2313 | # happened. Such a system could not be considered "sane". |
2305 | as_fn_error "ls -t appears to fail. Make sure there is not a broken | |
2314 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2306 | 2315 | alias in your environment" "$LINENO" 5 |
2307 | 2316 | fi |
2308 | 2317 | |
2312 | 2321 | # Ok. |
2313 | 2322 | : |
2314 | 2323 | else |
2315 | as_fn_error "newly created file is older than distributed files! | |
2324 | as_fn_error $? "newly created file is older than distributed files! | |
2316 | 2325 | Check your system clock" "$LINENO" 5 |
2317 | 2326 | fi |
2318 | 2327 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2550 | 2559 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2551 | 2560 | set x ${MAKE-make} |
2552 | 2561 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2553 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2562 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | |
2554 | 2563 | $as_echo_n "(cached) " >&6 |
2555 | 2564 | else |
2556 | 2565 | cat >conftest.make <<\_ACEOF |
2558 | 2567 | all: |
2559 | 2568 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2560 | 2569 | _ACEOF |
2561 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
2570 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
2562 | 2571 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2563 | 2572 | *@@@%%%=?*=@@@%%%*) |
2564 | 2573 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2592 | 2601 | am__isrc=' -I$(srcdir)' |
2593 | 2602 | # test to see if srcdir already configured |
2594 | 2603 | if test -f $srcdir/config.status; then |
2595 | as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
2604 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
2596 | 2605 | fi |
2597 | 2606 | fi |
2598 | 2607 | |
2608 | 2617 | |
2609 | 2618 | # Define the identity of the package. |
2610 | 2619 | PACKAGE='gupnp-dlna' |
2611 | VERSION='0.3.1' | |
2620 | VERSION='0.4.0' | |
2612 | 2621 | |
2613 | 2622 | |
2614 | 2623 | cat >>confdefs.h <<_ACEOF |
2650 | 2659 | |
2651 | 2660 | |
2652 | 2661 | ac_config_headers="$ac_config_headers config.h" |
2662 | ||
2663 | ||
2664 | GUPNP_DLNA_CURRENT=0 | |
2665 | ||
2666 | GUPNP_DLNA_REVISION=0 | |
2667 | ||
2668 | GUPNP_DLNA_AGE=0 | |
2669 | ||
2670 | GUPNP_DLNA_VERSION_INFO="$GUPNP_DLNA_CURRENT:$GUPNP_DLNA_REVISION:$GUPNP_DLNA_AGE" | |
2653 | 2671 | |
2654 | 2672 | |
2655 | 2673 | # Check whether --enable-silent-rules was given. |
3027 | 3045 | |
3028 | 3046 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3029 | 3047 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3030 | as_fn_error "no acceptable C compiler found in \$PATH | |
3031 | See \`config.log' for more details." "$LINENO" 5; } | |
3048 | as_fn_error $? "no acceptable C compiler found in \$PATH | |
3049 | See \`config.log' for more details" "$LINENO" 5; } | |
3032 | 3050 | |
3033 | 3051 | # Provide some information about the compiler. |
3034 | 3052 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3142 | 3160 | |
3143 | 3161 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3144 | 3162 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3145 | { as_fn_set_status 77 | |
3146 | as_fn_error "C compiler cannot create executables | |
3147 | See \`config.log' for more details." "$LINENO" 5; }; } | |
3163 | as_fn_error 77 "C compiler cannot create executables | |
3164 | See \`config.log' for more details" "$LINENO" 5; } | |
3148 | 3165 | else |
3149 | 3166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3150 | 3167 | $as_echo "yes" >&6; } |
3186 | 3203 | else |
3187 | 3204 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3188 | 3205 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3189 | as_fn_error "cannot compute suffix of executables: cannot compile and link | |
3190 | See \`config.log' for more details." "$LINENO" 5; } | |
3206 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
3207 | See \`config.log' for more details" "$LINENO" 5; } | |
3191 | 3208 | fi |
3192 | 3209 | rm -f conftest conftest$ac_cv_exeext |
3193 | 3210 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3244 | 3261 | else |
3245 | 3262 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3246 | 3263 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3247 | as_fn_error "cannot run C compiled programs. | |
3264 | as_fn_error $? "cannot run C compiled programs. | |
3248 | 3265 | If you meant to cross compile, use \`--host'. |
3249 | See \`config.log' for more details." "$LINENO" 5; } | |
3266 | See \`config.log' for more details" "$LINENO" 5; } | |
3250 | 3267 | fi |
3251 | 3268 | fi |
3252 | 3269 | fi |
3297 | 3314 | |
3298 | 3315 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3299 | 3316 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3300 | as_fn_error "cannot compute suffix of object files: cannot compile | |
3301 | See \`config.log' for more details." "$LINENO" 5; } | |
3317 | as_fn_error $? "cannot compute suffix of object files: cannot compile | |
3318 | See \`config.log' for more details" "$LINENO" 5; } | |
3302 | 3319 | fi |
3303 | 3320 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3304 | 3321 | fi |
4002 | 4019 | |
4003 | 4020 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4004 | 4021 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4005 | as_fn_error "no acceptable C compiler found in \$PATH | |
4006 | See \`config.log' for more details." "$LINENO" 5; } | |
4022 | as_fn_error $? "no acceptable C compiler found in \$PATH | |
4023 | See \`config.log' for more details" "$LINENO" 5; } | |
4007 | 4024 | |
4008 | 4025 | # Provide some information about the compiler. |
4009 | 4026 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
4411 | 4428 | # Broken: fails on valid input. |
4412 | 4429 | continue |
4413 | 4430 | fi |
4414 | rm -f conftest.err conftest.$ac_ext | |
4431 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4415 | 4432 | |
4416 | 4433 | # OK, works on sane cases. Now check whether nonexistent headers |
4417 | 4434 | # can be detected and how. |
4427 | 4444 | ac_preproc_ok=: |
4428 | 4445 | break |
4429 | 4446 | fi |
4430 | rm -f conftest.err conftest.$ac_ext | |
4447 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4431 | 4448 | |
4432 | 4449 | done |
4433 | 4450 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4434 | rm -f conftest.err conftest.$ac_ext | |
4451 | rm -f conftest.i conftest.err conftest.$ac_ext | |
4435 | 4452 | if $ac_preproc_ok; then : |
4436 | 4453 | break |
4437 | 4454 | fi |
4470 | 4487 | # Broken: fails on valid input. |
4471 | 4488 | continue |
4472 | 4489 | fi |
4473 | rm -f conftest.err conftest.$ac_ext | |
4490 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4474 | 4491 | |
4475 | 4492 | # OK, works on sane cases. Now check whether nonexistent headers |
4476 | 4493 | # can be detected and how. |
4486 | 4503 | ac_preproc_ok=: |
4487 | 4504 | break |
4488 | 4505 | fi |
4489 | rm -f conftest.err conftest.$ac_ext | |
4506 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4490 | 4507 | |
4491 | 4508 | done |
4492 | 4509 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4493 | rm -f conftest.err conftest.$ac_ext | |
4510 | rm -f conftest.i conftest.err conftest.$ac_ext | |
4494 | 4511 | if $ac_preproc_ok; then : |
4495 | 4512 | |
4496 | 4513 | else |
4497 | 4514 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4498 | 4515 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4499 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | |
4500 | See \`config.log' for more details." "$LINENO" 5; } | |
4516 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
4517 | See \`config.log' for more details" "$LINENO" 5; } | |
4501 | 4518 | fi |
4502 | 4519 | |
4503 | 4520 | ac_ext=c |
4558 | 4575 | done |
4559 | 4576 | IFS=$as_save_IFS |
4560 | 4577 | if test -z "$ac_cv_path_GREP"; then |
4561 | as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4578 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4562 | 4579 | fi |
4563 | 4580 | else |
4564 | 4581 | ac_cv_path_GREP=$GREP |
4624 | 4641 | done |
4625 | 4642 | IFS=$as_save_IFS |
4626 | 4643 | if test -z "$ac_cv_path_EGREP"; then |
4627 | as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4644 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4628 | 4645 | fi |
4629 | 4646 | else |
4630 | 4647 | ac_cv_path_EGREP=$EGREP |
4751 | 4768 | |
4752 | 4769 | # Make sure we can run config.sub. |
4753 | 4770 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
4754 | as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
4771 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
4755 | 4772 | |
4756 | 4773 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
4757 | 4774 | $as_echo_n "checking build system type... " >&6; } |
4762 | 4779 | test "x$ac_build_alias" = x && |
4763 | 4780 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4764 | 4781 | test "x$ac_build_alias" = x && |
4765 | as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | |
4782 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | |
4766 | 4783 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4767 | as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | |
4784 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | |
4768 | 4785 | |
4769 | 4786 | fi |
4770 | 4787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4771 | 4788 | $as_echo "$ac_cv_build" >&6; } |
4772 | 4789 | case $ac_cv_build in |
4773 | 4790 | *-*-*) ;; |
4774 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | |
4791 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | |
4775 | 4792 | esac |
4776 | 4793 | build=$ac_cv_build |
4777 | 4794 | ac_save_IFS=$IFS; IFS='-' |
4796 | 4813 | ac_cv_host=$ac_cv_build |
4797 | 4814 | else |
4798 | 4815 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
4799 | as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
4816 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
4800 | 4817 | fi |
4801 | 4818 | |
4802 | 4819 | fi |
4804 | 4821 | $as_echo "$ac_cv_host" >&6; } |
4805 | 4822 | case $ac_cv_host in |
4806 | 4823 | *-*-*) ;; |
4807 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | |
4824 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
4808 | 4825 | esac |
4809 | 4826 | host=$ac_cv_host |
4810 | 4827 | ac_save_IFS=$IFS; IFS='-' |
5274 | 5291 | done |
5275 | 5292 | IFS=$as_save_IFS |
5276 | 5293 | if test -z "$ac_cv_path_SED"; then |
5277 | as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 | |
5294 | as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 | |
5278 | 5295 | fi |
5279 | 5296 | else |
5280 | 5297 | ac_cv_path_SED=$SED |
5353 | 5370 | done |
5354 | 5371 | IFS=$as_save_IFS |
5355 | 5372 | if test -z "$ac_cv_path_FGREP"; then |
5356 | as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
5373 | as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
5357 | 5374 | fi |
5358 | 5375 | else |
5359 | 5376 | ac_cv_path_FGREP=$FGREP |
5469 | 5486 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5470 | 5487 | $as_echo "no" >&6; } |
5471 | 5488 | fi |
5472 | test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 | |
5489 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | |
5473 | 5490 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
5474 | 5491 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
5475 | 5492 | if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
7700 | 7717 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7701 | 7718 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7702 | 7719 | " |
7703 | eval as_val=\$$as_ac_Header | |
7704 | if test "x$as_val" = x""yes; then : | |
7720 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
7705 | 7721 | cat >>confdefs.h <<_ACEOF |
7706 | 7722 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7707 | 7723 | _ACEOF |
11736 | 11752 | # Put the nasty error message in config.log where it belongs |
11737 | 11753 | echo "$LIBXML_PKG_ERRORS" >&5 |
11738 | 11754 | |
11739 | as_fn_error "Package requirements (libxml-2.0 >= 2.5.0) were not met: | |
11755 | as_fn_error $? "Package requirements (libxml-2.0 >= 2.5.0) were not met: | |
11740 | 11756 | |
11741 | 11757 | $LIBXML_PKG_ERRORS |
11742 | 11758 | |
11751 | 11767 | $as_echo "no" >&6; } |
11752 | 11768 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
11753 | 11769 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
11754 | as_fn_error "The pkg-config script could not be found or is too old. Make sure it | |
11770 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it | |
11755 | 11771 | is in your PATH or set the PKG_CONFIG environment variable to the full |
11756 | 11772 | path to pkg-config. |
11757 | 11773 | |
11760 | 11776 | See the pkg-config man page for more details. |
11761 | 11777 | |
11762 | 11778 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
11763 | See \`config.log' for more details." "$LINENO" 5; } | |
11779 | See \`config.log' for more details" "$LINENO" 5; } | |
11764 | 11780 | else |
11765 | 11781 | LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS |
11766 | 11782 | LIBXML_LIBS=$pkg_cv_LIBXML_LIBS |
11831 | 11847 | # Put the nasty error message in config.log where it belongs |
11832 | 11848 | echo "$GST_PKG_ERRORS" >&5 |
11833 | 11849 | |
11834 | as_fn_error "Package requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQ) were not met: | |
11850 | as_fn_error $? "Package requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQ) were not met: | |
11835 | 11851 | |
11836 | 11852 | $GST_PKG_ERRORS |
11837 | 11853 | |
11846 | 11862 | $as_echo "no" >&6; } |
11847 | 11863 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
11848 | 11864 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
11849 | as_fn_error "The pkg-config script could not be found or is too old. Make sure it | |
11865 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it | |
11850 | 11866 | is in your PATH or set the PKG_CONFIG environment variable to the full |
11851 | 11867 | path to pkg-config. |
11852 | 11868 | |
11855 | 11871 | See the pkg-config man page for more details. |
11856 | 11872 | |
11857 | 11873 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
11858 | See \`config.log' for more details." "$LINENO" 5; } | |
11874 | See \`config.log' for more details" "$LINENO" 5; } | |
11859 | 11875 | else |
11860 | 11876 | GST_CFLAGS=$pkg_cv_GST_CFLAGS |
11861 | 11877 | GST_LIBS=$pkg_cv_GST_LIBS |
11920 | 11936 | # Put the nasty error message in config.log where it belongs |
11921 | 11937 | echo "$GST_BASE_PKG_ERRORS" >&5 |
11922 | 11938 | |
11923 | as_fn_error "Package requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQ) were not met: | |
11939 | as_fn_error $? "Package requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQ) were not met: | |
11924 | 11940 | |
11925 | 11941 | $GST_BASE_PKG_ERRORS |
11926 | 11942 | |
11935 | 11951 | $as_echo "no" >&6; } |
11936 | 11952 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
11937 | 11953 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
11938 | as_fn_error "The pkg-config script could not be found or is too old. Make sure it | |
11954 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it | |
11939 | 11955 | is in your PATH or set the PKG_CONFIG environment variable to the full |
11940 | 11956 | path to pkg-config. |
11941 | 11957 | |
11944 | 11960 | See the pkg-config man page for more details. |
11945 | 11961 | |
11946 | 11962 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
11947 | See \`config.log' for more details." "$LINENO" 5; } | |
11963 | See \`config.log' for more details" "$LINENO" 5; } | |
11948 | 11964 | else |
11949 | 11965 | GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS |
11950 | 11966 | GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS |
12009 | 12025 | # Put the nasty error message in config.log where it belongs |
12010 | 12026 | echo "$GST_VIDEO_PKG_ERRORS" >&5 |
12011 | 12027 | |
12012 | as_fn_error "Package requirements (gstreamer-video-$GST_MAJORMINOR >= $GSTVID_REQ) were not met: | |
12028 | as_fn_error $? "Package requirements (gstreamer-video-$GST_MAJORMINOR >= $GSTVID_REQ) were not met: | |
12013 | 12029 | |
12014 | 12030 | $GST_VIDEO_PKG_ERRORS |
12015 | 12031 | |
12024 | 12040 | $as_echo "no" >&6; } |
12025 | 12041 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12026 | 12042 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12027 | as_fn_error "The pkg-config script could not be found or is too old. Make sure it | |
12043 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it | |
12028 | 12044 | is in your PATH or set the PKG_CONFIG environment variable to the full |
12029 | 12045 | path to pkg-config. |
12030 | 12046 | |
12033 | 12049 | See the pkg-config man page for more details. |
12034 | 12050 | |
12035 | 12051 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
12036 | See \`config.log' for more details." "$LINENO" 5; } | |
12052 | See \`config.log' for more details" "$LINENO" 5; } | |
12037 | 12053 | else |
12038 | 12054 | GST_VIDEO_CFLAGS=$pkg_cv_GST_VIDEO_CFLAGS |
12039 | 12055 | GST_VIDEO_LIBS=$pkg_cv_GST_VIDEO_LIBS |
12098 | 12114 | # Put the nasty error message in config.log where it belongs |
12099 | 12115 | echo "$GST_PBU_PKG_ERRORS" >&5 |
12100 | 12116 | |
12101 | as_fn_error "Package requirements (gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ) were not met: | |
12117 | as_fn_error $? "Package requirements (gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ) were not met: | |
12102 | 12118 | |
12103 | 12119 | $GST_PBU_PKG_ERRORS |
12104 | 12120 | |
12113 | 12129 | $as_echo "no" >&6; } |
12114 | 12130 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12115 | 12131 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12116 | as_fn_error "The pkg-config script could not be found or is too old. Make sure it | |
12132 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it | |
12117 | 12133 | is in your PATH or set the PKG_CONFIG environment variable to the full |
12118 | 12134 | path to pkg-config. |
12119 | 12135 | |
12122 | 12138 | See the pkg-config man page for more details. |
12123 | 12139 | |
12124 | 12140 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
12125 | See \`config.log' for more details." "$LINENO" 5; } | |
12141 | See \`config.log' for more details" "$LINENO" 5; } | |
12126 | 12142 | else |
12127 | 12143 | GST_PBU_CFLAGS=$pkg_cv_GST_PBU_CFLAGS |
12128 | 12144 | GST_PBU_LIBS=$pkg_cv_GST_PBU_LIBS |
12308 | 12324 | test $ac_status = 0; }; then |
12309 | 12325 | : |
12310 | 12326 | else |
12311 | as_fn_error "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5 | |
12327 | as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5 | |
12312 | 12328 | fi |
12313 | 12329 | fi |
12314 | 12330 | |
12464 | 12480 | |
12465 | 12481 | ac_libobjs= |
12466 | 12482 | ac_ltlibobjs= |
12483 | U= | |
12467 | 12484 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
12468 | 12485 | # 1. Remove the extension, and $U if already installed. |
12469 | 12486 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
12487 | 12504 | fi |
12488 | 12505 | |
12489 | 12506 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
12490 | as_fn_error "conditional \"AMDEP\" was never defined. | |
12507 | as_fn_error $? "conditional \"AMDEP\" was never defined. | |
12491 | 12508 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12492 | 12509 | fi |
12493 | 12510 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
12494 | as_fn_error "conditional \"am__fastdepCC\" was never defined. | |
12511 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
12495 | 12512 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12496 | 12513 | fi |
12497 | 12514 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
12498 | as_fn_error "conditional \"am__fastdepCC\" was never defined. | |
12515 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
12499 | 12516 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12500 | 12517 | fi |
12501 | 12518 | if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then |
12502 | as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined. | |
12519 | as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. | |
12503 | 12520 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12504 | 12521 | fi |
12505 | 12522 | if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then |
12506 | as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined. | |
12523 | as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. | |
12507 | 12524 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12508 | 12525 | fi |
12509 | 12526 | if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then |
12510 | as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined. | |
12527 | as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. | |
12511 | 12528 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12512 | 12529 | fi |
12513 | 12530 | if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then |
12514 | as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. | |
12531 | as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. | |
12515 | 12532 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12516 | 12533 | fi |
12517 | 12534 | if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then |
12518 | as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined. | |
12535 | as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. | |
12519 | 12536 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12520 | 12537 | fi |
12521 | 12538 | |
12665 | 12682 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
12666 | 12683 | |
12667 | 12684 | |
12668 | # as_fn_error ERROR [LINENO LOG_FD] | |
12669 | # --------------------------------- | |
12685 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
12686 | # ---------------------------------------- | |
12670 | 12687 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
12671 | 12688 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
12672 | # script with status $?, using 1 if that was 0. | |
12689 | # script with STATUS, using 1 if that was 0. | |
12673 | 12690 | as_fn_error () |
12674 | 12691 | { |
12675 | as_status=$?; test $as_status -eq 0 && as_status=1 | |
12676 | if test "$3"; then | |
12677 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
12678 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
12679 | fi | |
12680 | $as_echo "$as_me: error: $1" >&2 | |
12692 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
12693 | if test "$4"; then | |
12694 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
12695 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
12696 | fi | |
12697 | $as_echo "$as_me: error: $2" >&2 | |
12681 | 12698 | as_fn_exit $as_status |
12682 | 12699 | } # as_fn_error |
12683 | 12700 | |
12873 | 12890 | test -d "$as_dir" && break |
12874 | 12891 | done |
12875 | 12892 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
12876 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
12893 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
12877 | 12894 | |
12878 | 12895 | |
12879 | 12896 | } # as_fn_mkdir_p |
12926 | 12943 | # report actual input values of CONFIG_FILES etc. instead of their |
12927 | 12944 | # values after options handling. |
12928 | 12945 | ac_log=" |
12929 | This file was extended by gupnp-dlna $as_me 0.3.1, which was | |
12930 | generated by GNU Autoconf 2.65. Invocation command line was | |
12946 | This file was extended by gupnp-dlna $as_me 0.4.0, which was | |
12947 | generated by GNU Autoconf 2.67. Invocation command line was | |
12931 | 12948 | |
12932 | 12949 | CONFIG_FILES = $CONFIG_FILES |
12933 | 12950 | CONFIG_HEADERS = $CONFIG_HEADERS |
12992 | 13009 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
12993 | 13010 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
12994 | 13011 | ac_cs_version="\\ |
12995 | gupnp-dlna config.status 0.3.1 | |
12996 | configured by $0, generated by GNU Autoconf 2.65, | |
13012 | gupnp-dlna config.status 0.4.0 | |
13013 | configured by $0, generated by GNU Autoconf 2.67, | |
12997 | 13014 | with options \\"\$ac_cs_config\\" |
12998 | 13015 | |
12999 | Copyright (C) 2009 Free Software Foundation, Inc. | |
13016 | Copyright (C) 2010 Free Software Foundation, Inc. | |
13000 | 13017 | This config.status script is free software; the Free Software Foundation |
13001 | 13018 | gives unlimited permission to copy, distribute and modify it." |
13002 | 13019 | |
13014 | 13031 | while test $# != 0 |
13015 | 13032 | do |
13016 | 13033 | case $1 in |
13017 | --*=*) | |
13034 | --*=?*) | |
13018 | 13035 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
13019 | 13036 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
13037 | ac_shift=: | |
13038 | ;; | |
13039 | --*=) | |
13040 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
13041 | ac_optarg= | |
13020 | 13042 | ac_shift=: |
13021 | 13043 | ;; |
13022 | 13044 | *) |
13040 | 13062 | $ac_shift |
13041 | 13063 | case $ac_optarg in |
13042 | 13064 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
13065 | '') as_fn_error $? "missing file argument" ;; | |
13043 | 13066 | esac |
13044 | 13067 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
13045 | 13068 | ac_need_defaults=false;; |
13052 | 13075 | ac_need_defaults=false;; |
13053 | 13076 | --he | --h) |
13054 | 13077 | # Conflict between --help and --header |
13055 | as_fn_error "ambiguous option: \`$1' | |
13078 | as_fn_error $? "ambiguous option: \`$1' | |
13056 | 13079 | Try \`$0 --help' for more information.";; |
13057 | 13080 | --help | --hel | -h ) |
13058 | 13081 | $as_echo "$ac_cs_usage"; exit ;; |
13061 | 13084 | ac_cs_silent=: ;; |
13062 | 13085 | |
13063 | 13086 | # This is an error. |
13064 | -*) as_fn_error "unrecognized option: \`$1' | |
13087 | -*) as_fn_error $? "unrecognized option: \`$1' | |
13065 | 13088 | Try \`$0 --help' for more information." ;; |
13066 | 13089 | |
13067 | 13090 | *) as_fn_append ac_config_targets " $1" |
13398 | 13421 | "gupnp-dlna-1.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-1.0.pc" ;; |
13399 | 13422 | "gupnp-dlna-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-1.0-uninstalled.pc" ;; |
13400 | 13423 | |
13401 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
13424 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
13402 | 13425 | esac |
13403 | 13426 | done |
13404 | 13427 | |
13436 | 13459 | { |
13437 | 13460 | tmp=./conf$$-$RANDOM |
13438 | 13461 | (umask 077 && mkdir "$tmp") |
13439 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | |
13462 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
13440 | 13463 | |
13441 | 13464 | # Set up the scripts for CONFIG_FILES section. |
13442 | 13465 | # No need to generate them if there are no CONFIG_FILES. |
13453 | 13476 | fi |
13454 | 13477 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
13455 | 13478 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
13456 | ac_cs_awk_cr='\r' | |
13479 | ac_cs_awk_cr='\\r' | |
13457 | 13480 | else |
13458 | 13481 | ac_cs_awk_cr=$ac_cr |
13459 | 13482 | fi |
13467 | 13490 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
13468 | 13491 | echo "_ACEOF" |
13469 | 13492 | } >conf$$subs.sh || |
13470 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
13471 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
13493 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
13494 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
13472 | 13495 | ac_delim='%!_!# ' |
13473 | 13496 | for ac_last_try in false false false false false :; do |
13474 | 13497 | . ./conf$$subs.sh || |
13475 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
13498 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
13476 | 13499 | |
13477 | 13500 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
13478 | 13501 | if test $ac_delim_n = $ac_delim_num; then |
13479 | 13502 | break |
13480 | 13503 | elif $ac_last_try; then |
13481 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
13504 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
13482 | 13505 | else |
13483 | 13506 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
13484 | 13507 | fi |
13567 | 13590 | else |
13568 | 13591 | cat |
13569 | 13592 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
13570 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 | |
13593 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
13571 | 13594 | _ACEOF |
13572 | 13595 | |
13573 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
13574 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
13596 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
13597 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
13575 | 13598 | # trailing colons and then remove the whole line if VPATH becomes empty |
13576 | 13599 | # (actually we leave an empty line to preserve line numbers). |
13577 | 13600 | if test "x$srcdir" = x.; then |
13578 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
13579 | s/:*\$(srcdir):*/:/ | |
13580 | s/:*\${srcdir}:*/:/ | |
13581 | s/:*@srcdir@:*/:/ | |
13582 | s/^\([^=]*=[ ]*\):*/\1/ | |
13601 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
13602 | h | |
13603 | s/// | |
13604 | s/^/:/ | |
13605 | s/[ ]*$/:/ | |
13606 | s/:\$(srcdir):/:/g | |
13607 | s/:\${srcdir}:/:/g | |
13608 | s/:@srcdir@:/:/g | |
13609 | s/^:*// | |
13583 | 13610 | s/:*$// |
13611 | x | |
13612 | s/\(=[ ]*\).*/\1/ | |
13613 | G | |
13614 | s/\n// | |
13584 | 13615 | s/^[^=]*=[ ]*$// |
13585 | 13616 | }' |
13586 | 13617 | fi |
13608 | 13639 | if test -z "$ac_t"; then |
13609 | 13640 | break |
13610 | 13641 | elif $ac_last_try; then |
13611 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
13642 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
13612 | 13643 | else |
13613 | 13644 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
13614 | 13645 | fi |
13693 | 13724 | _ACAWK |
13694 | 13725 | _ACEOF |
13695 | 13726 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13696 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 | |
13727 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | |
13697 | 13728 | fi # test -n "$CONFIG_HEADERS" |
13698 | 13729 | |
13699 | 13730 | |
13706 | 13737 | esac |
13707 | 13738 | case $ac_mode$ac_tag in |
13708 | 13739 | :[FHL]*:*);; |
13709 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
13740 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
13710 | 13741 | :[FH]-) ac_tag=-:-;; |
13711 | 13742 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
13712 | 13743 | esac |
13734 | 13765 | [\\/$]*) false;; |
13735 | 13766 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
13736 | 13767 | esac || |
13737 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
13768 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
13738 | 13769 | esac |
13739 | 13770 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
13740 | 13771 | as_fn_append ac_file_inputs " '$ac_f'" |
13761 | 13792 | |
13762 | 13793 | case $ac_tag in |
13763 | 13794 | *:-:* | *:-) cat >"$tmp/stdin" \ |
13764 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | |
13795 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
13765 | 13796 | esac |
13766 | 13797 | ;; |
13767 | 13798 | esac |
13898 | 13929 | $ac_datarootdir_hack |
13899 | 13930 | " |
13900 | 13931 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
13901 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
13932 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
13902 | 13933 | |
13903 | 13934 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
13904 | 13935 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
13905 | 13936 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
13906 | 13937 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
13907 | which seems to be undefined. Please make sure it is defined." >&5 | |
13938 | which seems to be undefined. Please make sure it is defined" >&5 | |
13908 | 13939 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
13909 | which seems to be undefined. Please make sure it is defined." >&2;} | |
13940 | which seems to be undefined. Please make sure it is defined" >&2;} | |
13910 | 13941 | |
13911 | 13942 | rm -f "$tmp/stdin" |
13912 | 13943 | case $ac_file in |
13913 | 13944 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
13914 | 13945 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
13915 | 13946 | esac \ |
13916 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
13947 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
13917 | 13948 | ;; |
13918 | 13949 | :H) |
13919 | 13950 | # |
13924 | 13955 | $as_echo "/* $configure_input */" \ |
13925 | 13956 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
13926 | 13957 | } >"$tmp/config.h" \ |
13927 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
13958 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
13928 | 13959 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
13929 | 13960 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
13930 | 13961 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
13931 | 13962 | else |
13932 | 13963 | rm -f "$ac_file" |
13933 | 13964 | mv "$tmp/config.h" "$ac_file" \ |
13934 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
13965 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
13935 | 13966 | fi |
13936 | 13967 | else |
13937 | 13968 | $as_echo "/* $configure_input */" \ |
13938 | 13969 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
13939 | || as_fn_error "could not create -" "$LINENO" 5 | |
13970 | || as_fn_error $? "could not create -" "$LINENO" 5 | |
13940 | 13971 | fi |
13941 | 13972 | # Compute "$ac_file"'s index in $config_headers. |
13942 | 13973 | _am_arg="$ac_file" |
14732 | 14763 | ac_clean_files=$ac_clean_files_save |
14733 | 14764 | |
14734 | 14765 | test $ac_write_fail = 0 || |
14735 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
14766 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
14736 | 14767 | |
14737 | 14768 | |
14738 | 14769 | # configure is writing to config.log, and then calls config.status. |
14753 | 14784 | exec 5>>config.log |
14754 | 14785 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
14755 | 14786 | # would make configure fail if this is the last instruction. |
14756 | $ac_cs_success || as_fn_exit $? | |
14787 | $ac_cs_success || as_fn_exit 1 | |
14757 | 14788 | fi |
14758 | 14789 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
14759 | 14790 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
0 | 0 | AC_PREREQ(2.53) |
1 | AC_INIT(gupnp-dlna, 0.3.1, http://www.gupnp.org/) | |
1 | AC_INIT(gupnp-dlna, 0.4.0, http://www.gupnp.org/) | |
2 | 2 | AM_INIT_AUTOMAKE() |
3 | 3 | AC_CONFIG_SRCDIR(libgupnp-dlna/gupnp-dlna-profile.h) |
4 | 4 | AM_CONFIG_HEADER(config.h) |
5 | ||
6 | dnl library versioning | |
7 | dnl Increase when changing the API | |
8 | GUPNP_DLNA_CURRENT=0 | |
9 | ||
10 | dnl Update when changing implementation of current API, | |
11 | dnl reset to 0 when changing CURRENT. This is the revision of | |
12 | dnl current API version | |
13 | GUPNP_DLNA_REVISION=0 | |
14 | ||
15 | dnl Increase if API change is ABI compatible, otherwise reset to 0 | |
16 | GUPNP_DLNA_AGE=0 | |
17 | ||
18 | GUPNP_DLNA_VERSION_INFO="$GUPNP_DLNA_CURRENT:$GUPNP_DLNA_REVISION:$GUPNP_DLNA_AGE" | |
19 | AC_SUBST(GUPNP_DLNA_VERSION_INFO) | |
5 | 20 | |
6 | 21 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],) |
7 | 22 |
39 | 39 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
40 | 40 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
41 | 41 | $(ACLOCAL_M4) |
42 | mkinstalldirs = $(install_sh) -d | |
42 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
43 | 43 | CONFIG_HEADER = $(top_builddir)/config.h |
44 | 44 | CONFIG_CLEAN_FILES = |
45 | 45 | CONFIG_CLEAN_VPATH_FILES = |
115 | 115 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
116 | 116 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
117 | 117 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
118 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
118 | 119 | HTML_DIR = @HTML_DIR@ |
119 | 120 | INSTALL = @INSTALL@ |
120 | 121 | INSTALL_DATA = @INSTALL_DATA@ |
45 | 45 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
46 | 46 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
47 | 47 | $(ACLOCAL_M4) |
48 | mkinstalldirs = $(install_sh) -d | |
48 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
49 | 49 | CONFIG_HEADER = $(top_builddir)/config.h |
50 | 50 | CONFIG_CLEAN_FILES = version.xml |
51 | 51 | CONFIG_CLEAN_VPATH_FILES = |
98 | 98 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
99 | 99 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
100 | 100 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
101 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
101 | 102 | HTML_DIR = @HTML_DIR@ |
102 | 103 | INSTALL = @INSTALL@ |
103 | 104 | INSTALL_DATA = @INSTALL_DATA@ |
2 | 2 | <head> |
3 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
4 | 4 | <title>GUPnPDLNADiscoverer</title> |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> | |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.0"> | |
6 | 6 | <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual"> |
7 | 7 | <link rel="up" href="ch01.html" title="GUPnP DLNA"> |
8 | 8 | <link rel="prev" href="ch01.html" title="GUPnP DLNA"> |
45 | 45 | <a name="GUPnPDLNADiscoverer.synopsis"></a><h2>Synopsis</h2> |
46 | 46 | <pre class="synopsis"> <a class="link" href="GUPnPDLNADiscoverer.html#GUPnPDLNADiscoverer-struct" title="GUPnPDLNADiscoverer">GUPnPDLNADiscoverer</a>; |
47 | 47 | <a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="returnvalue">GUPnPDLNADiscoverer</span></a> * <a class="link" href="GUPnPDLNADiscoverer.html#gupnp-dlna-discoverer-new" title="gupnp_dlna_discoverer_new ()">gupnp_dlna_discoverer_new</a> (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timeout</code></em>, |
48 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> relaxed_mode</code></em>, | |
49 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extended_mode</code></em>); | |
48 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> relaxed_mode</code></em>, | |
49 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extended_mode</code></em>); | |
50 | 50 | #define <a class="link" href="GUPnPDLNADiscoverer.html#gupnp-dlna-discoverer-start" title="gupnp_dlna_discoverer_start()">gupnp_dlna_discoverer_start</a> (discoverer) |
51 | 51 | #define <a class="link" href="GUPnPDLNADiscoverer.html#gupnp-dlna-discoverer-stop" title="gupnp_dlna_discoverer_stop()">gupnp_dlna_discoverer_stop</a> (discoverer) |
52 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GUPnPDLNADiscoverer.html#gupnp-dlna-discoverer-discover-uri" title="gupnp_dlna_discoverer_discover_uri ()">gupnp_dlna_discoverer_discover_uri</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> *discoverer</code></em>, | |
53 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>); | |
52 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GUPnPDLNADiscoverer.html#gupnp-dlna-discoverer-discover-uri" title="gupnp_dlna_discoverer_discover_uri ()">gupnp_dlna_discoverer_discover_uri</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> *discoverer</code></em>, | |
53 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>); | |
54 | 54 | <a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="returnvalue">GUPnPDLNAInformation</span></a> * <a class="link" href="GUPnPDLNADiscoverer.html#gupnp-dlna-discoverer-discover-uri-sync" title="gupnp_dlna_discoverer_discover_uri_sync ()">gupnp_dlna_discoverer_discover_uri_sync</a> |
55 | 55 | (<em class="parameter"><code><a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> *discoverer</code></em>, |
56 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>, | |
57 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
56 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>, | |
57 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
58 | 58 | </pre> |
59 | 59 | </div> |
60 | 60 | <div class="refsect1" title="Object Hierarchy"> |
61 | 61 | <a name="GUPnPDLNADiscoverer.object-hierarchy"></a><h2>Object Hierarchy</h2> |
62 | 62 | <pre class="synopsis"> |
63 | <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
63 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
64 | 64 | +----<a href="../gst-convenience-0.10/gst-convenience-gstdiscoverer.html#GstDiscoverer">GstDiscoverer</a> |
65 | 65 | +----GUPnPDLNADiscoverer |
66 | 66 | </pre> |
68 | 68 | <div class="refsect1" title="Properties"> |
69 | 69 | <a name="GUPnPDLNADiscoverer.properties"></a><h2>Properties</h2> |
70 | 70 | <pre class="synopsis"> |
71 | "<a class="link" href="GUPnPDLNADiscoverer.html#GUPnPDLNADiscoverer--extended-mode" title='The "extended-mode" property'>extended-mode</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only | |
72 | "<a class="link" href="GUPnPDLNADiscoverer.html#GUPnPDLNADiscoverer--relaxed-mode" title='The "relaxed-mode" property'>relaxed-mode</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only | |
71 | "<a class="link" href="GUPnPDLNADiscoverer.html#GUPnPDLNADiscoverer--extended-mode" title='The "extended-mode" property'>extended-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 Only | |
72 | "<a class="link" href="GUPnPDLNADiscoverer.html#GUPnPDLNADiscoverer--relaxed-mode" title='The "relaxed-mode" property'>relaxed-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 Only | |
73 | 73 | </pre> |
74 | 74 | </div> |
75 | 75 | <div class="refsect1" title="Signals"> |
92 | 92 | are possible. |
93 | 93 | </p> |
94 | 94 | <p> |
95 | The asynchronous mode requires a running <a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> in the default | |
96 | <a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>, where one connects to the various signals, appends the | |
95 | The asynchronous mode requires a running <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> in the default | |
96 | <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>, where one connects to the various signals, appends the | |
97 | 97 | URIs to be processed and then asks for the discovery to begin. |
98 | 98 | </p> |
99 | 99 | </div> |
110 | 110 | <div class="refsect2" title="gupnp_dlna_discoverer_new ()"> |
111 | 111 | <a name="gupnp-dlna-discoverer-new"></a><h3>gupnp_dlna_discoverer_new ()</h3> |
112 | 112 | <pre class="programlisting"><a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="returnvalue">GUPnPDLNADiscoverer</span></a> * gupnp_dlna_discoverer_new (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timeout</code></em>, |
113 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> relaxed_mode</code></em>, | |
114 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extended_mode</code></em>);</pre> | |
113 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> relaxed_mode</code></em>, | |
114 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extended_mode</code></em>);</pre> | |
115 | 115 | <p> |
116 | 116 | Creates a new <a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> object with the given default timeout |
117 | 117 | value. |
169 | 169 | <hr> |
170 | 170 | <div class="refsect2" title="gupnp_dlna_discoverer_discover_uri ()"> |
171 | 171 | <a name="gupnp-dlna-discoverer-discover-uri"></a><h3>gupnp_dlna_discoverer_discover_uri ()</h3> |
172 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gupnp_dlna_discoverer_discover_uri (<em class="parameter"><code><a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> *discoverer</code></em>, | |
173 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre> | |
172 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gupnp_dlna_discoverer_discover_uri (<em class="parameter"><code><a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> *discoverer</code></em>, | |
173 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre> | |
174 | 174 | <p> |
175 | 175 | Queues <em class="parameter"><code>uri</code></em> for metadata discovery. When discovery is completed, the |
176 | 176 | "discovered" signal is emitted on <em class="parameter"><code>discoverer</code></em>. |
202 | 202 | <a name="gupnp-dlna-discoverer-discover-uri-sync"></a><h3>gupnp_dlna_discoverer_discover_uri_sync ()</h3> |
203 | 203 | <pre class="programlisting"><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="returnvalue">GUPnPDLNAInformation</span></a> * gupnp_dlna_discoverer_discover_uri_sync |
204 | 204 | (<em class="parameter"><code><a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> *discoverer</code></em>, |
205 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>, | |
206 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
205 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>, | |
206 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
207 | 207 | <p> |
208 | 208 | Synchronously gathers metadata for <em class="parameter"><code>uri</code></em>. |
209 | 209 | </p> |
240 | 240 | <a name="GUPnPDLNADiscoverer.property-details"></a><h2>Property Details</h2> |
241 | 241 | <div class="refsect2" title='The "extended-mode" property'> |
242 | 242 | <a name="GUPnPDLNADiscoverer--extended-mode"></a><h3>The <code class="literal">"extended-mode"</code> property</h3> |
243 | <pre class="programlisting"> "extended-mode" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre> | |
243 | <pre class="programlisting"> "extended-mode" <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> | |
244 | 244 | <p>Indicates support for profiles that are not part of the DLNA specification.</p> |
245 | 245 | <p>Default value: FALSE</p> |
246 | 246 | </div> |
247 | 247 | <hr> |
248 | 248 | <div class="refsect2" title='The "relaxed-mode" property'> |
249 | 249 | <a name="GUPnPDLNADiscoverer--relaxed-mode"></a><h3>The <code class="literal">"relaxed-mode"</code> property</h3> |
250 | <pre class="programlisting"> "relaxed-mode" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre> | |
250 | <pre class="programlisting"> "relaxed-mode" <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> | |
251 | 251 | <p>Indicates that profile matching shouldbe strictly compliant with the DLNA specification.</p> |
252 | 252 | <p>Default value: FALSE</p> |
253 | 253 | </div> |
258 | 258 | <a name="GUPnPDLNADiscoverer-done"></a><h3>The <code class="literal">"done"</code> signal</h3> |
259 | 259 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> *discoverer, |
260 | 260 | <a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *dlna, |
261 | <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *err, | |
262 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre> | |
261 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *err, | |
262 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre> | |
263 | 263 | <p> |
264 | 264 | Will be emitted when all information on a URI could be discovered. |
265 | 265 | </p> |
2 | 2 | <head> |
3 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
4 | 4 | <title>GUPnPDLNAInformation</title> |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> | |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.0"> | |
6 | 6 | <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual"> |
7 | 7 | <link rel="up" href="ch01.html" title="GUPnP DLNA"> |
8 | 8 | <link rel="prev" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"> |
42 | 42 | <div class="refsynopsisdiv" title="Synopsis"> |
43 | 43 | <a name="GUPnPDLNAInformation.synopsis"></a><h2>Synopsis</h2> |
44 | 44 | <pre class="synopsis"> <a class="link" href="GUPnPDLNAInformation.html#GUPnPDLNAInformation-struct" title="GUPnPDLNAInformation">GUPnPDLNAInformation</a>; |
45 | <a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="returnvalue">GUPnPDLNAInformation</span></a> * <a class="link" href="GUPnPDLNAInformation.html#gupnp-dlna-information-new" title="gupnp_dlna_information_new ()">gupnp_dlna_information_new</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, | |
46 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, | |
45 | <a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="returnvalue">GUPnPDLNAInformation</span></a> * <a class="link" href="GUPnPDLNAInformation.html#gupnp-dlna-information-new" title="gupnp_dlna_information_new ()">gupnp_dlna_information_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, | |
47 | 47 | <em class="parameter"><code><a href="../gst-convenience-0.10/gst-convenience-gstdiscoverer.html#GstDiscovererInformation"><span class="type">GstDiscovererInformation</span></a> *info</code></em>); |
48 | const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GUPnPDLNAInformation.html#gupnp-dlna-information-get-name" title="gupnp_dlna_information_get_name ()">gupnp_dlna_information_get_name</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>); | |
49 | const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GUPnPDLNAInformation.html#gupnp-dlna-information-get-mime" title="gupnp_dlna_information_get_mime ()">gupnp_dlna_information_get_mime</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>); | |
48 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GUPnPDLNAInformation.html#gupnp-dlna-information-get-name" title="gupnp_dlna_information_get_name ()">gupnp_dlna_information_get_name</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>); | |
49 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GUPnPDLNAInformation.html#gupnp-dlna-information-get-mime" title="gupnp_dlna_information_get_mime ()">gupnp_dlna_information_get_mime</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>); | |
50 | 50 | const <a href="../gst-convenience-0.10/gst-convenience-gstdiscoverer.html#GstDiscovererInformation"><span class="returnvalue">GstDiscovererInformation</span></a> * <a class="link" href="GUPnPDLNAInformation.html#gupnp-dlna-information-get-info" title="gupnp_dlna_information_get_info ()">gupnp_dlna_information_get_info</a> |
51 | 51 | (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>); |
52 | 52 | </pre> |
54 | 54 | <div class="refsect1" title="Object Hierarchy"> |
55 | 55 | <a name="GUPnPDLNAInformation.object-hierarchy"></a><h2>Object Hierarchy</h2> |
56 | 56 | <pre class="synopsis"> |
57 | <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
57 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
58 | 58 | +----GUPnPDLNAInformation |
59 | 59 | </pre> |
60 | 60 | </div> |
62 | 62 | <a name="GUPnPDLNAInformation.properties"></a><h2>Properties</h2> |
63 | 63 | <pre class="synopsis"> |
64 | 64 | "<a class="link" href="GUPnPDLNAInformation.html#GUPnPDLNAInformation--info" title='The "info" property'>info</a>" <a href="../gst-convenience-0.10/gst-convenience-gstdiscoverer.html#GstDiscovererInformation"><span class="type">GstDiscovererInformation</span></a>* : Read / Write / Construct Only |
65 | "<a class="link" href="GUPnPDLNAInformation.html#GUPnPDLNAInformation--mime" title='The "mime" property'>mime</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only | |
66 | "<a class="link" href="GUPnPDLNAInformation.html#GUPnPDLNAInformation--name" title='The "name" property'>name</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only | |
65 | "<a class="link" href="GUPnPDLNAInformation.html#GUPnPDLNAInformation--mime" title='The "mime" property'>mime</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 | |
66 | "<a class="link" href="GUPnPDLNAInformation.html#GUPnPDLNAInformation--name" title='The "name" property'>name</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 | |
67 | 67 | </pre> |
68 | 68 | </div> |
69 | 69 | <div class="refsect1" title="Description"> |
84 | 84 | <hr> |
85 | 85 | <div class="refsect2" title="gupnp_dlna_information_new ()"> |
86 | 86 | <a name="gupnp-dlna-information-new"></a><h3>gupnp_dlna_information_new ()</h3> |
87 | <pre class="programlisting"><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="returnvalue">GUPnPDLNAInformation</span></a> * gupnp_dlna_information_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, | |
88 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, | |
87 | <pre class="programlisting"><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="returnvalue">GUPnPDLNAInformation</span></a> * gupnp_dlna_information_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, | |
88 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, | |
89 | 89 | <em class="parameter"><code><a href="../gst-convenience-0.10/gst-convenience-gstdiscoverer.html#GstDiscovererInformation"><span class="type">GstDiscovererInformation</span></a> *info</code></em>);</pre> |
90 | 90 | <p> |
91 | 91 | Creates a new <a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> object with the given properties. |
121 | 121 | <hr> |
122 | 122 | <div class="refsect2" title="gupnp_dlna_information_get_name ()"> |
123 | 123 | <a name="gupnp-dlna-information-get-name"></a><h3>gupnp_dlna_information_get_name ()</h3> |
124 | <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gupnp_dlna_information_get_name (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>);</pre> | |
124 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gupnp_dlna_information_get_name (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>);</pre> | |
125 | 125 | <div class="variablelist"><table border="0"> |
126 | 126 | <col align="left" valign="top"> |
127 | 127 | <tbody> |
142 | 142 | <hr> |
143 | 143 | <div class="refsect2" title="gupnp_dlna_information_get_mime ()"> |
144 | 144 | <a name="gupnp-dlna-information-get-mime"></a><h3>gupnp_dlna_information_get_mime ()</h3> |
145 | <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gupnp_dlna_information_get_mime (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>);</pre> | |
145 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gupnp_dlna_information_get_mime (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>);</pre> | |
146 | 146 | <div class="variablelist"><table border="0"> |
147 | 147 | <col align="left" valign="top"> |
148 | 148 | <tbody> |
193 | 193 | <hr> |
194 | 194 | <div class="refsect2" title='The "mime" property'> |
195 | 195 | <a name="GUPnPDLNAInformation--mime"></a><h3>The <code class="literal">"mime"</code> property</h3> |
196 | <pre class="programlisting"> "mime" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre> | |
196 | <pre class="programlisting"> "mime" <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> | |
197 | 197 | <p>The DLNA MIME type of the stream.</p> |
198 | 198 | <p>Default value: NULL</p> |
199 | 199 | </div> |
200 | 200 | <hr> |
201 | 201 | <div class="refsect2" title='The "name" property'> |
202 | 202 | <a name="GUPnPDLNAInformation--name"></a><h3>The <code class="literal">"name"</code> property</h3> |
203 | <pre class="programlisting"> "name" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre> | |
203 | <pre class="programlisting"> "name" <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> | |
204 | 204 | <p>The name of the DLNA profile corresponding to the strream.</p> |
205 | 205 | <p>Default value: NULL</p> |
206 | 206 | </div> |
2 | 2 | <head> |
3 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
4 | 4 | <title>GUPnPDLNAProfile</title> |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> | |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.0"> | |
6 | 6 | <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual"> |
7 | 7 | <link rel="up" href="ch01.html" title="GUPnP DLNA"> |
8 | 8 | <link rel="prev" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"> |
41 | 41 | <a name="GUPnPDLNAProfile.synopsis"></a><h2>Synopsis</h2> |
42 | 42 | <pre class="synopsis"> <a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile-struct" title="GUPnPDLNAProfile">GUPnPDLNAProfile</a>; |
43 | 43 | <a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfileClass" title="GUPnPDLNAProfileClass">GUPnPDLNAProfileClass</a>; |
44 | <a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="returnvalue">GUPnPDLNAProfile</span></a>* <a class="link" href="GUPnPDLNAProfile.html#gupnp-dlna-profile-new" title="gupnp_dlna_profile_new ()">gupnp_dlna_profile_new</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, | |
45 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, | |
44 | <a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="returnvalue">GUPnPDLNAProfile</span></a>* <a class="link" href="GUPnPDLNAProfile.html#gupnp-dlna-profile-new" title="gupnp_dlna_profile_new ()">gupnp_dlna_profile_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, | |
45 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, | |
46 | 46 | <em class="parameter"><code><a href="../gst-convenience-0.10/gst-convenience-gstprofile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> *enc_profile</code></em>, |
47 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extended</code></em>); | |
48 | const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GUPnPDLNAProfile.html#gupnp-dlna-profile-get-name" title="gupnp_dlna_profile_get_name ()">gupnp_dlna_profile_get_name</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>); | |
49 | const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GUPnPDLNAProfile.html#gupnp-dlna-profile-get-mime" title="gupnp_dlna_profile_get_mime ()">gupnp_dlna_profile_get_mime</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>); | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extended</code></em>); | |
48 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GUPnPDLNAProfile.html#gupnp-dlna-profile-get-name" title="gupnp_dlna_profile_get_name ()">gupnp_dlna_profile_get_name</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>); | |
49 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GUPnPDLNAProfile.html#gupnp-dlna-profile-get-mime" title="gupnp_dlna_profile_get_mime ()">gupnp_dlna_profile_get_mime</a> (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>); | |
50 | 50 | const <a href="../gst-convenience-0.10/gst-convenience-gstprofile.html#GstEncodingProfile"><span class="returnvalue">GstEncodingProfile</span></a> * <a class="link" href="GUPnPDLNAProfile.html#gupnp-dlna-profile-get-encoding-profile" title="gupnp_dlna_profile_get_encoding_profile ()">gupnp_dlna_profile_get_encoding_profile</a> |
51 | 51 | (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>); |
52 | 52 | </pre> |
54 | 54 | <div class="refsect1" title="Object Hierarchy"> |
55 | 55 | <a name="GUPnPDLNAProfile.object-hierarchy"></a><h2>Object Hierarchy</h2> |
56 | 56 | <pre class="synopsis"> |
57 | <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
57 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
58 | 58 | +----GUPnPDLNAProfile |
59 | 59 | </pre> |
60 | 60 | </div> |
62 | 62 | <a name="GUPnPDLNAProfile.properties"></a><h2>Properties</h2> |
63 | 63 | <pre class="synopsis"> |
64 | 64 | "<a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile--encoding-profile" title='The "encoding-profile" property'>encoding-profile</a>" <a href="../gst-convenience-0.10/gst-convenience-gstprofile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a>* : Read / Write / Construct Only |
65 | "<a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile--extended" title='The "extended" property'>extended</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only | |
66 | "<a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile--mime" title='The "mime" property'>mime</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only | |
67 | "<a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile--name" title='The "name" property'>name</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only | |
65 | "<a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile--extended" title='The "extended" property'>extended</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 | |
66 | "<a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile--mime" title='The "mime" property'>mime</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 | |
67 | "<a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile--name" title='The "name" property'>name</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 | |
68 | 68 | </pre> |
69 | 69 | </div> |
70 | 70 | <div class="refsect1" title="Description"> |
94 | 94 | <hr> |
95 | 95 | <div class="refsect2" title="gupnp_dlna_profile_new ()"> |
96 | 96 | <a name="gupnp-dlna-profile-new"></a><h3>gupnp_dlna_profile_new ()</h3> |
97 | <pre class="programlisting"><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="returnvalue">GUPnPDLNAProfile</span></a>* gupnp_dlna_profile_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, | |
98 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, | |
97 | <pre class="programlisting"><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="returnvalue">GUPnPDLNAProfile</span></a>* gupnp_dlna_profile_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, | |
98 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, | |
99 | 99 | <em class="parameter"><code><a href="../gst-convenience-0.10/gst-convenience-gstprofile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> *enc_profile</code></em>, |
100 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extended</code></em>);</pre> | |
100 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extended</code></em>);</pre> | |
101 | 101 | <p> |
102 | 102 | Creates a new <a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> object. |
103 | 103 | </p> |
113 | 113 | <hr> |
114 | 114 | <div class="refsect2" title="gupnp_dlna_profile_get_name ()"> |
115 | 115 | <a name="gupnp-dlna-profile-get-name"></a><h3>gupnp_dlna_profile_get_name ()</h3> |
116 | <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gupnp_dlna_profile_get_name (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>);</pre> | |
116 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gupnp_dlna_profile_get_name (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>);</pre> | |
117 | 117 | <div class="variablelist"><table border="0"> |
118 | 118 | <col align="left" valign="top"> |
119 | 119 | <tbody> |
133 | 133 | <hr> |
134 | 134 | <div class="refsect2" title="gupnp_dlna_profile_get_mime ()"> |
135 | 135 | <a name="gupnp-dlna-profile-get-mime"></a><h3>gupnp_dlna_profile_get_mime ()</h3> |
136 | <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gupnp_dlna_profile_get_mime (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>);</pre> | |
136 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gupnp_dlna_profile_get_mime (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>);</pre> | |
137 | 137 | <div class="variablelist"><table border="0"> |
138 | 138 | <col align="left" valign="top"> |
139 | 139 | <tbody> |
184 | 184 | <hr> |
185 | 185 | <div class="refsect2" title='The "extended" property'> |
186 | 186 | <a name="GUPnPDLNAProfile--extended"></a><h3>The <code class="literal">"extended"</code> property</h3> |
187 | <pre class="programlisting"> "extended" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre> | |
187 | <pre class="programlisting"> "extended" <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> | |
188 | 188 | <p>Indicates that this profile is not part of the DLNA specification.</p> |
189 | 189 | <p>Default value: FALSE</p> |
190 | 190 | </div> |
191 | 191 | <hr> |
192 | 192 | <div class="refsect2" title='The "mime" property'> |
193 | 193 | <a name="GUPnPDLNAProfile--mime"></a><h3>The <code class="literal">"mime"</code> property</h3> |
194 | <pre class="programlisting"> "mime" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre> | |
194 | <pre class="programlisting"> "mime" <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> | |
195 | 195 | <p>The MIME type of the DLNA profile.</p> |
196 | 196 | <p>Default value: NULL</p> |
197 | 197 | </div> |
198 | 198 | <hr> |
199 | 199 | <div class="refsect2" title='The "name" property'> |
200 | 200 | <a name="GUPnPDLNAProfile--name"></a><h3>The <code class="literal">"name"</code> property</h3> |
201 | <pre class="programlisting"> "name" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre> | |
201 | <pre class="programlisting"> "name" <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> | |
202 | 202 | <p>The name of the DLNA profile .</p> |
203 | 203 | <p>Default value: NULL</p> |
204 | 204 | </div> |
2 | 2 | <head> |
3 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
4 | 4 | <title>GUPnP DLNA</title> |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> | |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.0"> | |
6 | 6 | <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual"> |
7 | 7 | <link rel="up" href="index.html" title="GUPnP DLNA Reference Manual"> |
8 | 8 | <link rel="prev" href="index.html" title="GUPnP DLNA Reference Manual"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter" title="GUPnP DLNA"> |
22 | 22 | <div class="titlepage"><div><div><h2 class="title"> |
23 | <a name="id528815"></a>GUPnP DLNA</h2></div></div></div> | |
23 | <a name="id438573"></a>GUPnP DLNA</h2></div></div></div> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="GUPnPDLNADiscoverer.html">GUPnPDLNADiscoverer</a></span><span class="refpurpose"> — Utility API for discovering DLNA profile/mime type and |
2 | 2 | <head> |
3 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
4 | 4 | <title>GUPnP DLNA Reference Manual</title> |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> | |
5 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.0"> | |
6 | 6 | <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual"> |
7 | 7 | <link rel="next" href="ch01.html" title="GUPnP DLNA"> |
8 | 8 | <meta name="generator" content="GTK-Doc V1.15 (XML mode)"> |
13 | 13 | <div class="titlepage"> |
14 | 14 | <div> |
15 | 15 | <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GUPnP DLNA Reference Manual</p></th></tr></table></div> |
16 | <div><p class="releaseinfo">Version 0.3.1 | |
16 | <div><p class="releaseinfo">Version 0.4.0 | |
17 | 17 | </p></div> |
18 | 18 | <div><p class="copyright">Copyright © 2010 Arun Raghavan <arun.raghavan@collabora.co.uk></p></div> |
19 | 19 | <div><p class="copyright">Copyright © 2010 Collabora Multimedia</p></div> |
20 | 20 | <div><p class="copyright">Copyright © 2010 Nokia Corporation</p></div> |
21 | 21 | <div><div class="legalnotice" title="Legal Notice"> |
22 | <a name="id503819"></a><p> | |
22 | <a name="id413574"></a><p> | |
23 | 23 | Permission is granted to copy, distribute and/or modify this |
24 | 24 | document under the terms of the <em class="citetitle">GNU Free |
25 | 25 | Documentation License</em>, Version 1.1 or any later |
38 | 38 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
39 | 39 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
40 | 40 | $(ACLOCAL_M4) |
41 | mkinstalldirs = $(install_sh) -d | |
41 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
42 | 42 | CONFIG_HEADER = $(top_builddir)/config.h |
43 | 43 | CONFIG_CLEAN_FILES = |
44 | 44 | CONFIG_CLEAN_VPATH_FILES = |
131 | 131 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
132 | 132 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
133 | 133 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
134 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
134 | 135 | HTML_DIR = @HTML_DIR@ |
135 | 136 | INSTALL = @INSTALL@ |
136 | 137 | INSTALL_DATA = @INSTALL_DATA@ |
38 | 38 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
39 | 39 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
40 | 40 | $(ACLOCAL_M4) |
41 | mkinstalldirs = $(install_sh) -d | |
41 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
42 | 42 | CONFIG_HEADER = $(top_builddir)/config.h |
43 | 43 | CONFIG_CLEAN_FILES = |
44 | 44 | CONFIG_CLEAN_VPATH_FILES = |
131 | 131 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
132 | 132 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
133 | 133 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
134 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
134 | 135 | HTML_DIR = @HTML_DIR@ |
135 | 136 | INSTALL = @INSTALL@ |
136 | 137 | INSTALL_DATA = @INSTALL_DATA@ |
40 | 40 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
41 | 41 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
42 | 42 | $(ACLOCAL_M4) |
43 | mkinstalldirs = $(install_sh) -d | |
43 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
44 | 44 | CONFIG_HEADER = $(top_builddir)/config.h |
45 | 45 | CONFIG_CLEAN_FILES = |
46 | 46 | CONFIG_CLEAN_VPATH_FILES = |
134 | 134 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
135 | 135 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
136 | 136 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
137 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
137 | 138 | HTML_DIR = @HTML_DIR@ |
138 | 139 | INSTALL = @INSTALL@ |
139 | 140 | INSTALL_DATA = @INSTALL_DATA@ |
41 | 41 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
42 | 42 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
43 | 43 | $(ACLOCAL_M4) |
44 | mkinstalldirs = $(install_sh) -d | |
44 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
45 | 45 | CONFIG_HEADER = $(top_builddir)/config.h |
46 | 46 | CONFIG_CLEAN_FILES = |
47 | 47 | CONFIG_CLEAN_VPATH_FILES = |
170 | 170 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
171 | 171 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
172 | 172 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
173 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
173 | 174 | HTML_DIR = @HTML_DIR@ |
174 | 175 | INSTALL = @INSTALL@ |
175 | 176 | INSTALL_DATA = @INSTALL_DATA@ |
42 | 42 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
43 | 43 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
44 | 44 | $(ACLOCAL_M4) |
45 | mkinstalldirs = $(install_sh) -d | |
45 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
46 | 46 | CONFIG_HEADER = $(top_builddir)/config.h |
47 | 47 | CONFIG_CLEAN_FILES = |
48 | 48 | CONFIG_CLEAN_VPATH_FILES = |
171 | 171 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
172 | 172 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
173 | 173 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
174 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
174 | 175 | HTML_DIR = @HTML_DIR@ |
175 | 176 | INSTALL = @INSTALL@ |
176 | 177 | INSTALL_DATA = @INSTALL_DATA@ |
41 | 41 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
42 | 42 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
43 | 43 | $(ACLOCAL_M4) |
44 | mkinstalldirs = $(install_sh) -d | |
44 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
45 | 45 | CONFIG_HEADER = $(top_builddir)/config.h |
46 | 46 | CONFIG_CLEAN_FILES = |
47 | 47 | CONFIG_CLEAN_VPATH_FILES = |
157 | 157 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
158 | 158 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
159 | 159 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
160 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
160 | 161 | HTML_DIR = @HTML_DIR@ |
161 | 162 | INSTALL = @INSTALL@ |
162 | 163 | INSTALL_DATA = @INSTALL_DATA@ |
0 | #! /bin/sh | |
1 | # mkinstalldirs --- make directory hierarchy | |
2 | # Author: Noah Friedman <friedman@prep.ai.mit.edu> | |
3 | # Created: 1993-05-16 | |
4 | # Public domain | |
5 | ||
6 | errstatus=0 | |
7 | dirmode="" | |
8 | ||
9 | usage="\ | |
10 | Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." | |
11 | ||
12 | # process command line arguments | |
13 | while test $# -gt 0 ; do | |
14 | case $1 in | |
15 | -h | --help | --h*) # -h for help | |
16 | echo "$usage" 1>&2 | |
17 | exit 0 | |
18 | ;; | |
19 | -m) # -m PERM arg | |
20 | shift | |
21 | test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } | |
22 | dirmode=$1 | |
23 | shift | |
24 | ;; | |
25 | --) # stop option processing | |
26 | shift | |
27 | break | |
28 | ;; | |
29 | -*) # unknown option | |
30 | echo "$usage" 1>&2 | |
31 | exit 1 | |
32 | ;; | |
33 | *) # first non-opt arg | |
34 | break | |
35 | ;; | |
36 | esac | |
37 | done | |
38 | ||
39 | for file | |
40 | do | |
41 | if test -d "$file"; then | |
42 | shift | |
43 | else | |
44 | break | |
45 | fi | |
46 | done | |
47 | ||
48 | case $# in | |
49 | 0) exit 0 ;; | |
50 | esac | |
51 | ||
52 | case $dirmode in | |
53 | '') | |
54 | if mkdir -p -- . 2>/dev/null; then | |
55 | echo "mkdir -p -- $*" | |
56 | exec mkdir -p -- "$@" | |
57 | fi | |
58 | ;; | |
59 | *) | |
60 | if mkdir -m "$dirmode" -p -- . 2>/dev/null; then | |
61 | echo "mkdir -m $dirmode -p -- $*" | |
62 | exec mkdir -m "$dirmode" -p -- "$@" | |
63 | fi | |
64 | ;; | |
65 | esac | |
66 | ||
67 | for file | |
68 | do | |
69 | set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` | |
70 | shift | |
71 | ||
72 | pathcomp= | |
73 | for d | |
74 | do | |
75 | pathcomp="$pathcomp$d" | |
76 | case $pathcomp in | |
77 | -*) pathcomp=./$pathcomp ;; | |
78 | esac | |
79 | ||
80 | if test ! -d "$pathcomp"; then | |
81 | echo "mkdir $pathcomp" | |
82 | ||
83 | mkdir "$pathcomp" || lasterr=$? | |
84 | ||
85 | if test ! -d "$pathcomp"; then | |
86 | errstatus=$lasterr | |
87 | else | |
88 | if test ! -z "$dirmode"; then | |
89 | echo "chmod $dirmode $pathcomp" | |
90 | lasterr="" | |
91 | chmod "$dirmode" "$pathcomp" || lasterr=$? | |
92 | ||
93 | if test ! -z "$lasterr"; then | |
94 | errstatus=$lasterr | |
95 | fi | |
96 | fi | |
97 | fi | |
98 | fi | |
99 | ||
100 | pathcomp="$pathcomp/" | |
101 | done | |
102 | done | |
103 | ||
104 | exit $errstatus | |
105 | ||
106 | # Local Variables: | |
107 | # mode: shell-script | |
108 | # sh-indentation: 2 | |
109 | # End: | |
110 | # mkinstalldirs ends here |
0 | noinst_PROGRAMS = dlna-profile-parser dlna-encoding | |
0 | noinst_PROGRAMS = dlna-profile-parser | |
1 | 1 | |
2 | 2 | AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/gst-convenience/gst-libs $(GST_CFLAGS) |
3 | 3 | LIBS = $(GST_LIBS) \ |
33 | 33 | POST_UNINSTALL = : |
34 | 34 | build_triplet = @build@ |
35 | 35 | host_triplet = @host@ |
36 | noinst_PROGRAMS = dlna-profile-parser$(EXEEXT) dlna-encoding$(EXEEXT) | |
36 | noinst_PROGRAMS = dlna-profile-parser$(EXEEXT) | |
37 | 37 | subdir = tests |
38 | 38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ |
39 | 39 | $(srcdir)/test-discoverer.sh.in |
41 | 41 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
42 | 42 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
43 | 43 | $(ACLOCAL_M4) |
44 | mkinstalldirs = $(install_sh) -d | |
44 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
45 | 45 | CONFIG_HEADER = $(top_builddir)/config.h |
46 | 46 | CONFIG_CLEAN_FILES = test-discoverer.sh |
47 | 47 | CONFIG_CLEAN_VPATH_FILES = |
48 | 48 | PROGRAMS = $(noinst_PROGRAMS) |
49 | am_dlna_encoding_OBJECTS = dlna-encoding.$(OBJEXT) | |
50 | dlna_encoding_OBJECTS = $(am_dlna_encoding_OBJECTS) | |
51 | dlna_encoding_DEPENDENCIES = $(top_builddir)/gst-convenience/gst-libs/gst/discoverer/.libs/libgstdiscoverer-gupnp-dlna-@GST_MAJORMINOR@.la | |
49 | am_dlna_profile_parser_OBJECTS = dlna-profile-parser.$(OBJEXT) | |
50 | dlna_profile_parser_OBJECTS = $(am_dlna_profile_parser_OBJECTS) | |
51 | dlna_profile_parser_LDADD = $(LDADD) | |
52 | 52 | AM_V_lt = $(am__v_lt_$(V)) |
53 | 53 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) |
54 | 54 | am__v_lt_0 = --silent |
55 | am_dlna_profile_parser_OBJECTS = dlna-profile-parser.$(OBJEXT) | |
56 | dlna_profile_parser_OBJECTS = $(am_dlna_profile_parser_OBJECTS) | |
57 | dlna_profile_parser_LDADD = $(LDADD) | |
58 | 55 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
59 | 56 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
60 | 57 | am__depfiles_maybe = depfiles |
81 | 78 | AM_V_GEN = $(am__v_GEN_$(V)) |
82 | 79 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) |
83 | 80 | am__v_GEN_0 = @echo " GEN " $@; |
84 | SOURCES = $(dlna_encoding_SOURCES) $(dlna_profile_parser_SOURCES) | |
85 | DIST_SOURCES = $(dlna_encoding_SOURCES) $(dlna_profile_parser_SOURCES) | |
81 | SOURCES = $(dlna_profile_parser_SOURCES) | |
82 | DIST_SOURCES = $(dlna_profile_parser_SOURCES) | |
86 | 83 | ETAGS = etags |
87 | 84 | CTAGS = ctags |
88 | 85 | am__tty_colors = \ |
128 | 125 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
129 | 126 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
130 | 127 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
128 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
131 | 129 | HTML_DIR = @HTML_DIR@ |
132 | 130 | INSTALL = @INSTALL@ |
133 | 131 | INSTALL_DATA = @INSTALL_DATA@ |
276 | 274 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
277 | 275 | echo " rm -f" $$list; \ |
278 | 276 | rm -f $$list |
279 | dlna-encoding$(EXEEXT): $(dlna_encoding_OBJECTS) $(dlna_encoding_DEPENDENCIES) | |
280 | @rm -f dlna-encoding$(EXEEXT) | |
281 | $(AM_V_CCLD)$(LINK) $(dlna_encoding_OBJECTS) $(dlna_encoding_LDADD) $(LIBS) | |
282 | 277 | dlna-profile-parser$(EXEEXT): $(dlna_profile_parser_OBJECTS) $(dlna_profile_parser_DEPENDENCIES) |
283 | 278 | @rm -f dlna-profile-parser$(EXEEXT) |
284 | 279 | $(AM_V_CCLD)$(LINK) $(dlna_profile_parser_OBJECTS) $(dlna_profile_parser_LDADD) $(LIBS) |
289 | 284 | distclean-compile: |
290 | 285 | -rm -f *.tab.c |
291 | 286 | |
292 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlna-encoding.Po@am__quote@ | |
293 | 287 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlna-profile-parser.Po@am__quote@ |
294 | 288 | |
295 | 289 | .c.o: |
0 | /* Example application for using GstProfile and encodebin | |
1 | * Copyright (C) 2009 Edward Hervey <edward.hervey@collabora.co.uk> | |
2 | * | |
3 | * This library is free software; you can redistribute it and/or | |
4 | * modify it under the terms of the GNU Lesser General Public | |
5 | * License as published by the Free Software Foundation; either | |
6 | * version 2 of the License, or (at your option) any later version. | |
7 | * | |
8 | * This library is distributed in the hope that it will be useful, | |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
11 | * Lesser General Public License for more details. | |
12 | * | |
13 | * You should have received a copy of the GNU Lesser General Public | |
14 | * License along with this library; if not, write to the | |
15 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
16 | * Boston, MA 02111-1307, USA. | |
17 | */ | |
18 | ||
19 | #ifdef HAVE_CONFIG_H | |
20 | #include "config.h" | |
21 | #endif | |
22 | ||
23 | #include <stdlib.h> | |
24 | #include <glib.h> | |
25 | #include <gst/gst.h> | |
26 | #include <gst/profile/gstprofile.h> | |
27 | #include <gst/pbutils/pbutils.h> | |
28 | #include <libgupnp-dlna/gupnp-dlna-discoverer.h> | |
29 | ||
30 | static gboolean silent = FALSE; | |
31 | ||
32 | static void | |
33 | pad_added_cb (GstElement * uridecodebin, GstPad * pad, GstElement * encodebin) | |
34 | { | |
35 | GstPad *sinkpad; | |
36 | ||
37 | sinkpad = gst_element_get_compatible_pad (encodebin, pad, NULL); | |
38 | ||
39 | if (sinkpad == NULL) { | |
40 | GstCaps *caps; | |
41 | ||
42 | /* Ask encodebin for a compatible pad */ | |
43 | caps = gst_pad_get_caps (pad); | |
44 | g_signal_emit_by_name (encodebin, "request-pad", caps, &sinkpad); | |
45 | if (caps) | |
46 | gst_caps_unref (caps); | |
47 | } | |
48 | if (sinkpad == NULL) { | |
49 | g_print ("Couldn't get an encoding channel for pad %s:%s\n", | |
50 | GST_DEBUG_PAD_NAME (pad)); | |
51 | return; | |
52 | } | |
53 | ||
54 | if (G_UNLIKELY (gst_pad_link (pad, sinkpad) != GST_PAD_LINK_OK)) { | |
55 | g_print ("Couldn't link pads\n"); | |
56 | } | |
57 | ||
58 | return; | |
59 | } | |
60 | ||
61 | static gboolean | |
62 | autoplug_continue_cb (GstElement * uridecodebin, GstPad * somepad, | |
63 | GstCaps * caps, GstElement * encodebin) | |
64 | { | |
65 | GstPad *sinkpad; | |
66 | ||
67 | g_signal_emit_by_name (encodebin, "request-pad", caps, &sinkpad); | |
68 | ||
69 | if (sinkpad == NULL) | |
70 | return TRUE; | |
71 | ||
72 | return FALSE; | |
73 | } | |
74 | ||
75 | static void | |
76 | bus_message_cb (GstBus * bus, GstMessage * message, GMainLoop * mainloop) | |
77 | { | |
78 | switch (GST_MESSAGE_TYPE (message)) { | |
79 | case GST_MESSAGE_ERROR: | |
80 | g_print ("ERROR\n"); | |
81 | g_main_loop_quit (mainloop); | |
82 | break; | |
83 | case GST_MESSAGE_EOS: | |
84 | g_print ("Done\n"); | |
85 | g_main_loop_quit (mainloop); | |
86 | break; | |
87 | default: | |
88 | break; | |
89 | } | |
90 | } | |
91 | ||
92 | static void | |
93 | transcode_file (gchar * uri, gchar * outputuri, const GstEncodingProfile * prof) | |
94 | { | |
95 | GstElement *pipeline; | |
96 | GstElement *src; | |
97 | GstElement *ebin; | |
98 | GstElement *sink; | |
99 | GstBus *bus; | |
100 | GstCaps *profilecaps, *rescaps; | |
101 | GMainLoop *mainloop; | |
102 | ||
103 | g_print (" Input URI : %s\n", uri); | |
104 | g_print (" Output URI : %s\n", outputuri); | |
105 | ||
106 | sink = gst_element_make_from_uri (GST_URI_SINK, outputuri, "sink"); | |
107 | if (G_UNLIKELY (sink == NULL)) { | |
108 | g_print ("Can't create output sink, most likely invalid output URI !\n"); | |
109 | return; | |
110 | } | |
111 | ||
112 | src = gst_element_factory_make ("uridecodebin", NULL); | |
113 | if (G_UNLIKELY (src == NULL)) { | |
114 | g_print ("Can't create uridecodebin for input URI, aborting!\n"); | |
115 | return; | |
116 | } | |
117 | ||
118 | /* Figure out the streams that can be passed as-is to encodebin */ | |
119 | g_object_get (src, "caps", &rescaps, NULL); | |
120 | rescaps = gst_caps_copy (rescaps); | |
121 | profilecaps = gst_encoding_profile_get_codec_caps ((GstEncodingProfile *) prof); | |
122 | gst_caps_append (rescaps, profilecaps); | |
123 | ||
124 | /* Set properties */ | |
125 | g_object_set (src, "uri", uri, "caps", rescaps, NULL); | |
126 | ||
127 | ebin = gst_element_factory_make ("encodebin", NULL); | |
128 | g_object_set (ebin, "profile", prof, NULL); | |
129 | ||
130 | g_signal_connect (src, "autoplug-continue", G_CALLBACK (autoplug_continue_cb), | |
131 | ebin); | |
132 | g_signal_connect (src, "pad-added", G_CALLBACK (pad_added_cb), ebin); | |
133 | ||
134 | pipeline = gst_pipeline_new ("encoding-pipeline"); | |
135 | ||
136 | gst_bin_add_many (GST_BIN (pipeline), src, ebin, sink, NULL); | |
137 | ||
138 | gst_element_link (ebin, sink); | |
139 | ||
140 | mainloop = g_main_loop_new (NULL, FALSE); | |
141 | ||
142 | bus = gst_pipeline_get_bus ((GstPipeline *) pipeline); | |
143 | gst_bus_add_signal_watch (bus); | |
144 | g_signal_connect (bus, "message", G_CALLBACK (bus_message_cb), mainloop); | |
145 | ||
146 | if (gst_element_set_state (pipeline, | |
147 | GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) { | |
148 | g_print ("Failed to start the encoding\n"); | |
149 | return; | |
150 | } | |
151 | ||
152 | g_main_loop_run (mainloop); | |
153 | ||
154 | gst_element_set_state (pipeline, GST_STATE_NULL); | |
155 | } | |
156 | ||
157 | static gchar * | |
158 | ensure_uri (gchar * location) | |
159 | { | |
160 | gchar *res; | |
161 | gchar *path; | |
162 | ||
163 | if (gst_uri_is_valid (location)) | |
164 | return g_strdup (location); | |
165 | ||
166 | if (!g_path_is_absolute (location)) { | |
167 | gchar *cur_dir; | |
168 | cur_dir = g_get_current_dir (); | |
169 | path = g_build_filename (cur_dir, location, NULL); | |
170 | g_free (cur_dir); | |
171 | } else | |
172 | path = g_strdup (location); | |
173 | ||
174 | res = g_filename_to_uri (path, NULL, NULL); | |
175 | g_free (path); | |
176 | ||
177 | return res; | |
178 | } | |
179 | ||
180 | int | |
181 | main (int argc, char **argv) | |
182 | { | |
183 | GError *err = NULL; | |
184 | gchar *outputuri = NULL; | |
185 | gchar *format = NULL; | |
186 | GOptionEntry options[] = { | |
187 | {"silent", 's', 0, G_OPTION_ARG_NONE, &silent, | |
188 | "Don't output the information structure", NULL}, | |
189 | {"outputuri", 'o', 0, G_OPTION_ARG_STRING, &outputuri, | |
190 | "URI to encode to", "URI (<protocol>://<location>)"}, | |
191 | {"format", 'f', 0, G_OPTION_ARG_STRING, &format, | |
192 | "DLNA profile to use", NULL}, | |
193 | {NULL} | |
194 | }; | |
195 | GOptionContext *ctx; | |
196 | GUPnPDLNADiscoverer *discoverer; | |
197 | GUPnPDLNAProfile *profile; | |
198 | gchar *inputuri; | |
199 | ||
200 | if (!g_thread_supported ()) | |
201 | g_thread_init (NULL); | |
202 | ||
203 | ctx = g_option_context_new ("- encode URIs with GstProfile and encodebin"); | |
204 | g_option_context_add_main_entries (ctx, options, NULL); | |
205 | g_option_context_add_group (ctx, gst_init_get_option_group ()); | |
206 | ||
207 | if (!g_option_context_parse (ctx, &argc, &argv, &err)) { | |
208 | g_print ("Error initializing: %s\n", err->message); | |
209 | exit (1); | |
210 | } | |
211 | ||
212 | g_option_context_free (ctx); | |
213 | ||
214 | if (outputuri == NULL || argc != 2) { | |
215 | g_print ("usage: %s <inputuri> -o <outputuri> --format <profile>\n", | |
216 | argv[0]); | |
217 | exit (-1); | |
218 | } | |
219 | ||
220 | gst_init(&argc, &argv); | |
221 | ||
222 | /* Create the profile */ | |
223 | discoverer = gupnp_dlna_discoverer_new ((GstClockTime) GST_SECOND, | |
224 | FALSE, | |
225 | FALSE); | |
226 | profile = gupnp_dlna_discoverer_get_profile (discoverer, format); | |
227 | if (G_UNLIKELY (profile == NULL)) { | |
228 | g_print ("Encoding arguments are not valid !\n"); | |
229 | return 1; | |
230 | } | |
231 | ||
232 | /* Fixup outputuri to be a URI */ | |
233 | inputuri = ensure_uri (argv[1]); | |
234 | outputuri = ensure_uri (outputuri); | |
235 | ||
236 | /* Trancode file */ | |
237 | transcode_file (inputuri, | |
238 | outputuri, | |
239 | gupnp_dlna_profile_get_encoding_profile (profile)); | |
240 | ||
241 | /* cleanup */ | |
242 | g_object_unref (profile); | |
243 | g_object_unref (discoverer); | |
244 | ||
245 | return 0; | |
246 | } |
18 | 18 | # both on the command line). |
19 | 19 | # |
20 | 20 | |
21 | GUPNP_DLNA_INFO=@abs_top_builddir@/tools/gupnp-dlna-info | |
21 | if [[ "x${GUPNP_DLNA_INFO}" = "x" ]]; then | |
22 | GUPNP_DLNA_INFO=@abs_top_builddir@/tools/gupnp-dlna-info | |
23 | fi | |
22 | 24 | |
23 | 25 | # See if params are available in the environment - if yes, carry on, else read |
24 | 26 | # them from the command line |
3 | 3 | LIBS = $(GST_LIBS) \ |
4 | 4 | $(top_builddir)/libgupnp-dlna/libgupnp-dlna-1.0.la |
5 | 5 | |
6 | gupnp_dlna_info_LDADD = $(GST_PBU_LIBS) \ | |
7 | $(top_builddir)/gst-convenience/gst-libs/gst/discoverer/.libs/libgstdiscoverer-gupnp-dlna-@GST_MAJORMINOR@.la | |
6 | gupnp_dlna_info_LDADD = $(top_builddir)/gst-convenience/gst-libs/gst/discoverer/.libs/libgstdiscoverer-gupnp-dlna-@GST_MAJORMINOR@.la | |
8 | 7 | |
9 | 8 | gupnp_dlna_ls_profiles_LDADD = \ |
10 | 9 | $(top_builddir)/gst-convenience/gst-libs/gst/profile/.libs/libgstprofile-gupnp-dlna-@GST_MAJORMINOR@.la |
41 | 41 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
42 | 42 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
43 | 43 | $(ACLOCAL_M4) |
44 | mkinstalldirs = $(install_sh) -d | |
44 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
45 | 45 | CONFIG_HEADER = $(top_builddir)/config.h |
46 | 46 | CONFIG_CLEAN_FILES = |
47 | 47 | CONFIG_CLEAN_VPATH_FILES = |
49 | 49 | PROGRAMS = $(bin_PROGRAMS) |
50 | 50 | gupnp_dlna_info_SOURCES = gupnp-dlna-info.c |
51 | 51 | gupnp_dlna_info_OBJECTS = gupnp-dlna-info.$(OBJEXT) |
52 | am__DEPENDENCIES_1 = | |
53 | gupnp_dlna_info_DEPENDENCIES = $(am__DEPENDENCIES_1) \ | |
54 | $(top_builddir)/gst-convenience/gst-libs/gst/discoverer/.libs/libgstdiscoverer-gupnp-dlna-@GST_MAJORMINOR@.la | |
52 | gupnp_dlna_info_DEPENDENCIES = $(top_builddir)/gst-convenience/gst-libs/gst/discoverer/.libs/libgstdiscoverer-gupnp-dlna-@GST_MAJORMINOR@.la | |
55 | 53 | AM_V_lt = $(am__v_lt_$(V)) |
56 | 54 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) |
57 | 55 | am__v_lt_0 = --silent |
129 | 127 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
130 | 128 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
131 | 129 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
130 | GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@ | |
132 | 131 | HTML_DIR = @HTML_DIR@ |
133 | 132 | INSTALL = @INSTALL@ |
134 | 133 | INSTALL_DATA = @INSTALL_DATA@ |
224 | 223 | top_builddir = @top_builddir@ |
225 | 224 | top_srcdir = @top_srcdir@ |
226 | 225 | AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/gst-convenience/gst-libs $(GST_CFLAGS) |
227 | gupnp_dlna_info_LDADD = $(GST_PBU_LIBS) \ | |
228 | $(top_builddir)/gst-convenience/gst-libs/gst/discoverer/.libs/libgstdiscoverer-gupnp-dlna-@GST_MAJORMINOR@.la | |
229 | ||
226 | gupnp_dlna_info_LDADD = $(top_builddir)/gst-convenience/gst-libs/gst/discoverer/.libs/libgstdiscoverer-gupnp-dlna-@GST_MAJORMINOR@.la | |
230 | 227 | gupnp_dlna_ls_profiles_LDADD = \ |
231 | 228 | $(top_builddir)/gst-convenience/gst-libs/gst/profile/.libs/libgstprofile-gupnp-dlna-@GST_MAJORMINOR@.la |
232 | 229 |
38 | 38 | #include <gst/gst.h> |
39 | 39 | #include <gst/profile/gstprofile.h> |
40 | 40 | #include <gst/discoverer/gstdiscoverer.h> |
41 | #include <gst/pbutils/pbutils.h> | |
42 | 41 | |
43 | 42 | #include <libgupnp-dlna/gupnp-dlna-load.h> |
44 | 43 | #include <libgupnp-dlna/gupnp-dlna-profile.h> |
207 | 206 | gchar *desc = NULL; |
208 | 207 | |
209 | 208 | if (info->caps) { |
210 | if (gst_caps_is_fixed (info->caps)) | |
211 | desc = gst_pb_utils_get_codec_description (info->caps); | |
212 | else | |
213 | desc = gst_caps_to_string (info->caps); | |
209 | desc = gst_caps_to_string (info->caps); | |
214 | 210 | } |
215 | 211 | |
216 | 212 | g_print ("%*s%s: %s\n", 2 * GPOINTER_TO_INT (depth), " ", |